]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
nptl: Convert various tests to use libsupport
[thirdparty/glibc.git] / ChangeLog
CommitLineData
db13e32c
MC
12019-06-20 Mike Crowe <mac@mcrowe.com>
2
ce5b73a7
MC
3 * nptl/eintr.c: Use libsupport.
4 * nptl/tst-eintr1.c: Likewise.
5 * nptl/tst-eintr2.c: Likewise.
6 * nptl/tst-eintr3.c: Likewise.
7 * nptl/tst-eintr4.c: Likewise.
8 * nptl/tst-eintr5.c: Likewise.
9 * nptl/tst-mutex-errorcheck.c: Likewise.
10 * nptl/tst-mutex5.c: Likewise.
11
8bf225d5
MC
12 * support/test-driver.h: Add verbose_printf macro.
13
db13e32c
MC
14 * support/xtime.h: Add xclock_now() helper function.
15
21cc130b
DL
162019-06-20 Dmitry V. Levin <ldv@altlinux.org>
17 Florian Weimer <fweimer@redhat.com>
18
19 [BZ #24228]
20 * libio/genops.c (_IO_unbuffer_all)
21 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
22 buffers and access _IO_FILE_complete members of legacy libio streams.
23 * libio/tst-bz24228.c: New file.
24 * libio/tst-bz24228.map: Likewise.
25 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
26 [build-shared] (generated): Add tst-bz24228.mtrace and
27 tst-bz24228.check.
28 [run-built-tests && build-shared] (tests-special): Add
29 $(objpfx)tst-bz24228-mem.out.
30 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
31 ($(objpfx)tst-bz24228-mem.out): New rule.
32
49bc41b6
PC
332019-06-19 Paul A. Clarke <pc@us.ibm.com>
34
35 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
36 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
37 (__FPU_MFFSL): Likewise.
38 (_FPU_SETCW): Likewise.
39
335c1007
SS
402019-06-19 Stan Shebs <stanshebs@google.com>
41 Raoni Fassina Firmino <raoni@linux.ibm.com>
42
43 [BZ #24640]
44 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
45 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
46 static-linking version.
47 * sysdeps/unix/sysv/linux/powerpc/Makefile
48 (tests-static): Add test-gettimebasefreq-static.
49 (tests): Likewise.
50 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
51 New file.
52
f59a54ab
RL
532019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
54
55 [BZ #24614]
56 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
57 between the currency symbol and the minus sign).
58 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
59
f0c5a803
SL
602019-06-19 Stefan Liebler <stli@linux.ibm.com>
61
62 [BZ #24556]
63 * string/test-strcasestr.c (check_result): Add NULL check.
64 * nss/tst-field.c (check_rewrite): Likewise.
65 * benchtests/bench-strstr.c (do_one_test): Likewise.
66 * string/test-strstr.c (check_result): Likewise.
67 * argp/argp-test.c (popt): Increase size of buf to 12.
68 * benchtests/bench-malloc-simple.c (bench):
69 Do not initialize tests array out of bounds.
70
fabf5e49
FW
712019-06-19 Florian Weimer <fweimer@redhat.com>
72
73 [BZ #24166]
74 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
75 dls_serpath field.
76
2c75b545
FW
772019-06-18 Florian Weimer <fweimer@redhat.com>
78
79 [BZ #24323]
80 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
81 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
82 fail when called from dlopen.
83 * elf/Makefile [have-fpie && build-shared] (tests): Add
84 tst-dlopen-pie.
85 (tst-dlopen-pie): Link with -ldl.
86 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
87 * elf/tst-dlopen-pie.c (do_test): New file.
88
02d8b5ab
RL
892019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
90
91 [BZ #24614]
92 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
93 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
94 between the currency symbol and the minus sign).
95 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
96 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
97
78049de0
AZ
982019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
99
112a0ae1
AZ
100 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
101 sysdep-rtld-routines): Remove rules.
102 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
103 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
104 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
105 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
106 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
107 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
108 vDSO path for SHARED.
109 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
110 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
111 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
112 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
113 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
114 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
115
dee07df1
AZ
116 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
117 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
118 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
119 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
120 CFLAGS-s_llround-power5+.c): New rule.
121 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
122 New file.
123 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
124 Likewise.
125 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
126 Likewise.
127 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
128 Likewise.
129 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
130 Likewise.
131 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
132 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
134 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
136 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
137 * sysdeps/powerpc/powerpc64/fpu/Makefile
138 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
140 (libm-sysdep_routines): Remove s_llround-* objects.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
142 file.
143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
144 Likewise.
145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
146 Likewise.
147 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
148 Likewise.
149 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
150 Likewise.
151 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
152 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
153 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
154 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
155 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
156 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
157 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
158 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
159 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
160 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
161 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
162 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
163 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
164 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
165
2166283f
AZ
166 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
167 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
168 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
169 * sysdeps/powerpc/powerpc32/fpu/Makefile
170 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
171 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
172 optimization.
173 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
174 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
175 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
177 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
178 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
179 CFLAGS-s_lrint-ppc32.c): New rule.
180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
181 Remove file.
182 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
183 Likewise.
184 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
185 Likewise.
186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
187 Likewise.
188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
189 Likewise.
190 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
191 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
192 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
193 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
195 New file.
196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
197 Likewise.
198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
199 Likewise.
200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
201 Likewise.
202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
203 Likewise.
204
78049de0
AZ
205 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
206 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
207 s_llrint-ppc64.
208 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
209 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
210 file.
211 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
212 Likewise.
213 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
214 Likewise.
215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
216 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
218 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
220 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
221 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
222 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
223 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
224 (libm-sysdep_routines): Remove s_llrint-* objects.
225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
226 file.
227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
228 Likewise.
229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
230 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
231 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
232 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
233 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
234 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
235 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
236 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
237 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
238 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
239
48c3c123
FW
2402019-06-14 Florian Weimer <fweimer@redhat.com>
241
242 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
243 argument to __glibc_has_include to inhibit macro expansion.
244
8d141877
FW
2452019-06-14 Florian Weimer <fweimer@redhat.com>
246
247 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
248 function-like macro, so that __has_include can inhibit expansion
249 of its argument.
250
a26e2e9f
JM
2512019-06-13 Joseph Myers <joseph@codesourcery.com>
252
cf274686
JM
253 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
254 New macro.
255
a26e2e9f
JM
256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
257 Allow memset in libc.so.
258
82bc69c0
SN
2592019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
260
261 * sysdeps/aarch64/dl-dtprocnum.h: New file.
262 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
263 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
264 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
265 symbols at load time.
266 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
267
55f82d32
SN
2682019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
269
270 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
271 (DT_AARCH64_VARIANT_PCS): Define.
272
21bd039b
AZ
2732019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
274
11926960
AZ
275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
276 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
277 objects.
278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
279 Remove file.
280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
281 Likewise.
282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
284 Likewise.
285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
286 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
287 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
288 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
289 Remove s_finite* objects.
290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
296 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
297 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
298 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
299 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
300
a7218676
AZ
301 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
302 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
303
6427a6ac
AZ
304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
305 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
306 objects.
307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
308 Remove file.
309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
310 Likewise.
311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
313 Likewise.
314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
315 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
316 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
318 Remove s_isinf* and s_isinf* objects.
319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
325 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
326 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
327 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
328 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
329
a8c590f7
AZ
330 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
331 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
332
2666f963
AZ
333 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
334 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
335 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
337 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
338 s_isnanf-* objects.
339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
340 Remove file
341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
342 Likewise.
343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
344 Likewise.
345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
346 Likewise.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
349 Likewise.
350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
351 Likewise.
352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
353 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
354 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
355 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
356 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
357 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
358 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
359 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
360 Remove s_isnan-* and s_isnanf-* objects.
361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
362 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
363 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
364 Likewise.
365 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
370 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
371 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
372 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
373 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
374 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
375 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
376 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
377 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
378
197dbda1
AZ
379 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
380 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
381
2731a326
AZ
382 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
383 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
384 CFLAGS-bench-isfinite.c): New rule.
385 * benchtests/isnan-input: New file.
386 * benchtests/isinf-input: New file.
387 * benchtests/isfinite-input: New file.
388
e41d66e4
AZ
389 * sysdeps/powerpc/fpu/s_copysign.c: New file.
390 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
391 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
392 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
393 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
394 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
395 s_copysign-ppc32.
396 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
397 Remove file.
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
399 Likewise.
400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
401 Likewise.
402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
403 Likewise.
404 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
405 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
406 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
407 Remove s_copysign-power6 s_copysign-ppc64.
408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
409 Remove file.
410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
411 Likewise.
412 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
414 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
415 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
416 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
417 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
418
21bd039b
AZ
419 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
420 round_to_integer_float, round_mode): Add RINT handling.
421 (reset_fenv_mode): New symbol.
422 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
423 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
424 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
425 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
426 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
427 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
428
cfa61144
FW
4292019-06-12 Florian Weimer <fweimer@redhat.com>
430
431 [BZ #24632]
432 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
433 * libio/freopen.c (freopen): Use it.
434
744e8296
FW
4352019-06-12 Florian Weimer <fweimer@redhat.com>
436
437 Linux: Deprecate sysctl.
438 * include/sysctl.h (__sysctl): Remove declaration.
439 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
440 check.
441 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
442 (sysctl): Add deprecation attribute.
443 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
444 directly, to avoid the deprecation warning. Do not include
445 <string.h>.
446 (__sysctl): Remove hidden alias.
447
5dad6ffb
FW
4482019-06-12 Florian Weimer <fweimer@redhat.com>
449
450 Linux: Use kernel headers for statx definitions if available.
451 * include/bits/statx-generic.h: New file.
452 * include/bits/types/struct_statx.h: Likewise.
453 * include/bits/types/struct_statx_timestamp.h: Likewise.
454 * io/Makefile (headers): Add bits/statx-generic.h.
455 * io/bits/statx-generic.h: New file. Partly copied from
456 io/bits/statx.h.
457 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
458 define original_statx.
459 * io/bits/types/struct_statx.h: Likewise.
460 * io/bits/types/struct_statx_timestamp.h: Likewise.
461 (statx_generic): Use original_statx.
462 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
463 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
464
4e75c2a4
FW
4652019-06-12 Florian Weimer <fweimer@redhat.com>
466
467 * misc/sys/cdefs.h (__glibc_has_include): Define.
468
680942b0
WD
4692019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
470
471 * string/memmem.c (__memmem): Rewrite to improve performance.
472
5e0a7ecb
WD
4732019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
474
475 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
476 warning.
477 (two_way_long_needle): Block inlining.
478 * string/strstr.c (strstr2): Add new function.
479 (strstr3): Likewise.
480 (STRSTR): Completely rewrite strstr to improve performance.
481
80b2bfb5
WD
4822019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
483
484 * benchtests/bench-strstr.c (test_hard_needle): New function.
485
e6e24243
JM
4862019-06-10 Joseph Myers <joseph@codesourcery.com>
487
488 * malloc/tst-calloc.c: Include <libc-diag.h>.
489 (null_test): Ignore -Wunused-result around calls to calloc.
490 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
491 (do_test): Ignore -Wunused-result around call to malloc.
492
51ea67d5
FW
4932019-06-07 Florian Weimer <fweimer@redhat.com>
494
495 Linux: Add getdents64 system call.
496 * include/dirnent.h (getdents): Add comment and change buffer
497 argument type to void *.
498 (getdents64): Likewise. Add hidden prototype.
499 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
500 getdents64.
501 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
502 Add tst-getdents64.
503 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
504 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
505 argument type to void *.
506 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
507 Add hidden definition and getdents64 alias.
508 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
509 Likewise.
510 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
511 * manual/filesys.texi (Accessing Directories): Add Low-level
512 Directory Access node reference.
513 (Opening a Directory): Cross-reference it.
514 (Low-level Directory Access): New node.
515 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
516 getdents64.
517 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
518 Likewise.
519 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
520 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
521 Likewise.
522 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
523 Likewise.
524 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
525 Likewise.
526 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
527 Likewise.
528 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
529 Likewise.
530 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
531 Likewise.
532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
533 Likewise.
534 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
535 (GLIBC_2.30): Likewise.
536 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
537 (GLIBC_2.30): Likewise.
538 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
539 (GLIBC_2.30): Likewise.
540 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
541 (GLIBC_2.30): Likewise.
542 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
543 Likewise.
544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
545 (GLIBC_2.30): Likewise.
546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
547 (GLIBC_2.30): Likewise.
548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
549 (GLIBC_2.30): Likewise.
550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
551 (GLIBC_2.30): Likewise.
552 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
553 Likewise.
554 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
555 Likewise.
556 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
557 Likewise.
558 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
559 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
560 Likewise.
561 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
562 Likewise.
563 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
564 Likewise.
565 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
566 Likewise.
567
de751ebc
PC
5682019-06-06 Paul A. Clarke <pc@us.ibm.com>
569
570 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
571 (__FPU_MFFS): New.
572 (__FPU_MFFSL): New.
573 (_FPU_GET_RC): New.
574 (_FPU_GETCW): Use __FPU_MFFS().
575 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
576
28dd3939
FW
5772019-06-06 Florian Weimer <fweimer@redhat.com>
578
579 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
580 internal GCC preprocessor identifier __has_include__.
581
0158473d
PC
5822019-06-05 Paul A. Clarke <pc@us.ibm.com>
583
584 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
585 with call to equivalent function.
586
e863dbf6
FW
5872019-06-04 Florian Weimer <fweimer@redhat.com>
588
589 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
590 (do_release_shlib): Adjust for __twalk_r.
591 (__gconv_release_shlib): Call __twalk_r.
592
4802be92
AS
5932019-06-04 Andreas Schwab <schwab@suse.de>
594
595 [BZ #18830]
596 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
597 no irreversible characters occurred.
598 * iconv/gconv_simple.c (internal_ucs4_loop)
599 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
600 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
601 (ucs4_internal_loop_single, internal_ucs4le_loop)
602 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
603 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
604 (ucs4le_internal_loop_single): Add const to outend.
605 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
606 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
607 * iconv/Makefile (tests): Add tst-iconv7.
608 * iconv/tst-iconv7.c: New file.
609
dc91a19e
JM
6102019-06-03 Joseph Myers <joseph@codesourcery.com>
611
612 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
613
6a1a9a49 6142019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
615
616 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
617 * sysdeps/unix/sysv/linux/arm/Makefile
618 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
619 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
620 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
621 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
622 compatibility symbols.
623
0bb8f8c7
FW
6242019-05-31 Florian Weimer <fweimer@redhat.com>
625
626 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
627 system calls for the arm architecture: breakpoint, get_tls,
628 set_tls, usr26, usr32.
629
9250e661
GG
6302019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
631
632 * sysdeps/powerpc/Makefile
633 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
634 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
635 Declare '.machine power7' to get support for ldbrx.
636 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
637 directive based on the directory of the file.
638 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
639 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
640 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
641 '.machine' directive.
642 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
643 (VADDUQM_V7_V8): Remove.
644 (__STRCASECMP): Replace macros with actual instructions.
645 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
646 '.machine' directive.
647 (VCLZD_V8_v7): Remove.
648 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
649
fbd6c928
AZ
6502019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
651
652 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
653 Remove file.
654 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
655
e47308c9
AZ
6562019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
657
658 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
659 NEARBYINT handling.
660 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
661 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
662 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
663 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
664 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
665 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
666
157cda1f 6672019-05-28 mansayk <6688000@gmail.com>
668
669 [BZ #24370]
670 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
671
182a3746 6722019-05-28 mansayk <6688000@gmail.com>
673
674 [BZ #24369]
675 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
676 (abmon): Likewise, but remove the trailing dots.
677
c6df1ce3
JM
6782019-05-28 Joseph Myers <joseph@codesourcery.com>
679
680 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
681
85188d82
FW
6822019-05-27 Florian Weimer <fweimer@redhat.com>
683
684 * nptl/nptl-init.c: Add comment.
685
5c23c821
FW
6862019-05-24 Florian Weimer <fweimer@redhat.com>
687
688 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
689 struct in_addr/struct in6_addr alignment.
690
bee1f2c4
JM
6912019-05-23 Joseph Myers <joseph@codesourcery.com>
692
693 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
694 (F_SEAL_FUTURE_WRITE): New macro.
695
481c30cb
AH
6962019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
697
698 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
699 * elf/tst-ldconfig-bad-aux-cache.c: New file.
700 * elf/tst-ldconfig_aux-cache.root: New directory.
701 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
702 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
703 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
704
cb755eed
ZW
7052019-05-22 Zack Weinberg <zackw@panix.com>
706
707 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
708 host type.
709 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
710 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
711
712 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
715 Delete.
716
717 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
718 Issue an #error if used with a compiler in SPE-float mode.
719 * sysdeps/powerpc/powerpc32/__longjmp_common.S
720 * sysdeps/powerpc/powerpc32/setjmp_common.S
721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
727 Remove code to preserve SPE register state.
728
729 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
730 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
731 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
732 Remove __SPE__ ifndefs.
733
46ae0732
WD
7342019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
735
736 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
737 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
738 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
739 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
740 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
741 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
742 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
743 (INNER_LOOP_ITERS_MEDIUM): New define.
744 (INNER_LOOP_ITERS_SMALL): New define.
745 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
746 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
747 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
748 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
749 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
750
004e52fe
AZ
7512019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
752
753 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
754 New define.
755 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
756 (SEMTIMEDOP_IPC_ARGS): Likewise.
757
c9c15ac3
FW
7582019-05-21 Florian Weimer <fweimer@redhat.com>
759
760 [BZ #24584]
761 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
762 before updating __counter field and release it afterwards. Add
763 overflow check.
764 * iconv/gconv.h (struct __gconv_step): Mention synchronization
765 requirement for __counter member.
766
7e740ab2
FW
7672019-05-21 Florian Weimer <fweimer@redhat.com>
768
769 [BZ #24583]
770 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
771 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
772 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
773 instead of __gconv_release_step.
774 * libio/Makefile (tests): Add tst-wfile-gconv.
775 (tests-container): Add tst-wfile-ascii.
776 (tst-wfile-gconv-ENV): Enable mtrace.
777 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
778 (tests-special): Add tst-wfile-gconv-mem.out.
779 (tst-wfile-gconv.out): Depend on locales.
780 (tst-wfile-gconv-mem.out): Add mtrace rule.
781 * libio/tst-wfile-ascii.c: New file.
782 * libio/tst-wfile-gconv.c: Likewise.
783
09e1b0e3
FW
7842019-05-20 Florian Weimer <fweimer@redhat.com>
785
786 [BZ #24588]
787 libio: Remove codecvt vtable.
788 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
789 __libio_codecvt.
790 * libio/iofgetpos.c (_IO_new_fgetpos): Call
791 __libio_codecvt_encoding.
792 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
793 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
794 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
795 * libio/iofwide.c (__libio_codecvt): Remove variable.
796 (_IO_fwide): Do not copy __libio_codecvt.
797 (__libio_codecvt_out): Rename from do_out and export.
798 (do_unshift): Remove function.
799 (__libio_codecvt_in): Rename from do_in and export.
800 (__libio_codecvt_encoding): Rename from do_encoding and export.
801 (do_always_noconv): Remove function.
802 (__libio_codecvt_length): Rename from do_length and export.
803 (do_max_length): Remove function.
804 * libio/libio.h (enum __codecvt_result): Remove definition; moved
805 to libioP.h.
806 (struct _IO_codecvt): Remove fields __codecvt_destr,
807 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
808 __codecvt_do_encoding, __codecvt_do_always_noconv,
809 __codecvt_do_length, __codecvt_do_max_length.
810 * libio/libioP.h (enum __codecvt_result): Define; moved from
811 libio.h.
812 (__libio_codecvt_out, __libio_codecvt_in)
813 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
814 functions.
815 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
816 (_IO_wfile_underflow): Call __libio_codecvt_in.
817 (_IO_wfile_underflow): Likewise.
818 (_IO_wfile_underflow_mmap): Likewise.
819 (_IO_wfile_sync): Call __libio_codecvt_encoding,
820 __libio_codecvt_length.
821 (adjust_wide_data): Call __libio_codecvt_encoding,
822 __libio_codecvt_in.
823 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
824 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
825 __libio_codecvt_length.
826
75c51570
FW
8272019-05-20 Florian Weimer <fweimer@redhat.com>
828
829 * support/support.h (support_sbindir_prefix): Declare.
830 (support_install_rootsbindir): Update comment.
831 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
832 * support/support_paths.c (support_sbindir_prefix): Define.
833
ff6bec7d
MC
8342019-05-20 Mike Crowe <mac@mcrowe.com>
835
b62bb3bc
MC
836 * support/timespec.c: Add backslash to correct newline in failure
837 message.
838
ff6bec7d
MC
839 * support/timespec.h: Correct confusing comment.
840
dfba907f
AZ
8412019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
842
236c18e5
AZ
843 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
844 define.
845 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
846 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
847 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
848 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
849
dfba907f
AZ
850 [BZ #24570]
851 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
852 usage.
853
13886008
JM
8542019-05-20 Joseph Myers <joseph@codesourcery.com>
855
856 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
857 (NT_ARM_PACG_KEYS): Likewise.
858
1f50f2ad
WD
8592019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
860
861 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
862 (tcache_put): Remove redundant assert.
863 (tcache_get): Remove redundant asserts.
864 (__libc_malloc): Check tcache count is not zero.
865 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
866
fef7c63c
FW
8672019-05-17 Florian Weimer <fweimer@redhat.com>
868
869 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
870
5f161b23
JM
8712019-05-16 Joseph Myers <joseph@codesourcery.com>
872
873 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
874 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
875 0x050100].
876 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
877 Likewise.
878 * sysdeps/unix/sysv/linux/sh/kernel-features.h
879 (__ASSUME_STATX): Likewise.
880
ec255a97
FW
8812019-05-16 Florian Weimer <fweimer@redhat.com>
882
883 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
884 flags argument.
885 (LINE_PARSER): Do not map IPv4 addresses.
886 (internal_nis_gethostent_r): Remove flags argument. Adjust call
887 to parse_line.
888 (_nss_nis_gethostent_r): Always pass AF_INET to
889 internal_nis_gethostent_r.
890 (internal_gethostbyname2_r): Remove flags argument. Adjust call
891 to parse_line.
892 (_nss_nis_gethostbyname2_r): Adjust call to
893 internal_nis_gethostent_r.
894 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
895 call to internal_nis_gethostent_r.
896 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
897 from parse_line.
898 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
899 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
900 Remove flags argument. Do not map IPv4 addresses.
901 (internal_nisplus_gethostent_r): Adjust call to
902 _nss_nisplus_parse_hostent.
903 (internal_gethostbyname2_r): Remove flags argument. Adjust call
904 to _nss_nisplus_parse_hostent.
905 (_nss_nisplus_gethostbyname2_r): Adjust call to
906 internal_gethostbyname2_r.
907 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
908 Adjust call to internal_gethostbyname2_r.
909 (_nss_nisplus_gethostbyaddr_r): Adjust call to
910 _nss_nisplus_parse_hostent.
911 (_nss_nisplus_gethostbyname4_r): Adjust call to
912 internal_gethostbyname2_r.
913
9c02d078
FW
9142019-05-16 Florian Weimer <fweimer@redhat.com>
915
916 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
917 Remove flags.
918 (LINE_PARSER): Remove address mapping.
919 (EXTRA_ARGS_VALUE): Remove flags argument.
920 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
921 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
922 gethostbyname3_multi.
923 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
924 _nss_files_gethostbyname3_r.
925 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
926
85b0e1e8
FW
9272019-05-16 Florian Weimer <fweimer@redhat.com>
928
929 * support/support_test_compare_blob.c (report_blob): Report
930 incorrect NULL blobs.
931
11b451c8
MW
9322019-05-15 Mark Wielaard <mark@klomp.org>
933
934 [BZ# 24476]
935 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
936 __libc_once_get (once) and static_buf == NULL.
937 (__dlerror): Check we have a valid key, set result to static_buf
938 otherwise.
939
32ff3975
AS
9402019-05-15 Andreas Schwab <schwab@suse.de>
941
942 [BZ #20568]
943 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
944 __codecvt_do_length.
945 * libio/Makefile (tests): Add tst-wfile-sync.
946 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
947 * libio/tst-wfile-sync.c: New file.
948 * libio/tst-wfile-sync.input: New file.
949
a9368c34
FW
9502019-05-15 Florian Weimer <fweimer@redhat.com>
951
952 nss: Turn __nss_database_lookup into a compatibility symbol.
953 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
954 __nss_database_lookup.
955 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
956 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
957 __nss_database_lookup.
958 (__nss_next): Move to …
959 * nss/compat-lookup.c (nss_next): … here. Change it to fail
960 unconditionally.
961 (__nss_database_lookup): New function.
962 * nss/Versions (GLIBC_2.0): Update comment.
963 (GLIBC_PRIVATE): Export __nss_database_lookup2.
964 * grp/initgroups.c (internal_getgrouplist): Call
965 __nss_database_lookup2 instead of __nss_database_lookup.
966 * nscd/aicache.c (addhstaiX): Likewise.
967 * nscd/initgrcache.c (addinitgroupsX): Likewise.
968 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
969 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
970 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
971 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
972 Likewise.
973 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
974 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
975 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
976
d50f0918 9772019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 978
d50f0918
AH
979 * support/support.h (support_install_rootsbindir): New variable.
980 * support/support_paths.c: Likewise.
981 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
982
7ac6fad9
FW
9832019-05-15 Florian Weimer <fweimer@redhat.com>
984
985 * iconv/gconv.h (__gconv_transliterate): Move declaration …
986 * iconv/gconv_int.h (__gconv_transliterate): … here.
987 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
988 * iconv/skeleton.c: Likewise.
989
04b261bd
FW
9902019-05-14 Florian Weimer <fweimer@redhat.com>
991
992 Linux: Add the tgkill function.
993 * bits/signal_ext.h: New file.
994 * manual/signal.texi (Signaling Another Process): Document tgkill.
995 * signal/Makefile (headers): Add bits/signal_ext.h.
996 * signal/signal.h: Include <bits/signal_ext.h>.
997 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
998 (tst-tgkill): Link with libpthread.
999 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1000 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1001 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1002 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1003 tgkill.
1004 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1005 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1006 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1007 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1008 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1009 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1010 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1011 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1012 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1013 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1014 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1015 Likewise.
1016 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1017 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1018 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1020 Likewise.
1021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1022 Likewise.
1023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1024 Likewise.
1025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1026 Likewise.
1027 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1028 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1029 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1030 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1031 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1032 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1033 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1034 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1035
6807f47b
CD
10362019-05-14 Carlos O'Donell <carlos@redhat.com>
1037
1038 * manual/search.texi (Tree Search Function): Adjust twalk_r
1039 documentation.
1040
fdb8a0be
AZ
10412019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1042
da2b83ef
AZ
1043 [BZ #24544]
1044 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1045 pre-defined value.
1046
c7ac9caa
AZ
1047 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1048 * support/support.h (support_bindir_prefix): New variable.
1049 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1050
91f043ae
AZ
1051 * config.make.in (bindir): New variable.
1052
c50e1c26
AZ
1053 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1054 (lll_trylock): Call __lll_trylock.
1055 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1056 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1057 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1058 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1059 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1060 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1061 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1062 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1063 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1064 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1065 lowlevellock-futex.h.
1066
959aff9f
AZ
1067 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1068 initialization for LLL_LOCK_INITIALIZER different than 0.
1069 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1070 Assume LLL_LOCK_INITIALIZER being 0.
1071 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1072 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1073 Likewise.
1074 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1075 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1076
d7e4c642
AZ
1077 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1078 Optimize futex call and add systemtap probe.
1079
fdb8a0be
AZ
1080 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1081 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1082 __libc_disable_asynccancel, __librt_enable_asynccancel,
1083 __libc_disable_asynccancel, __librt_enable_asynccancel,
1084 __librt_disable_asynccancel): Move to ...
1085 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1086 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1087 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1088 * sysdeps/generic/single-thread.h: New file.
1089 * sysdeps/unix/sysdep.h: Include single-thread.h.
1090 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1091 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1092
f6efec90
MF
10932019-05-08 Mike FABIAN <mfabian@redhat.com>
1094
1095 [BZ #24535]
1096 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1097 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1098 Unicode 12.1.0.
1099 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1100 * localedata/unicode-gen/PropList.txt: Likewise.
1101 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1102 * localedata/charmaps/UTF-8: Regenerate.
1103 * localedata/locales/i18n_ctype: Likewise.
1104 * localedata/locales/tr_TR: Likewise.
1105 * localedata/locales/translit_circle: Likewise.
1106 * localedata/locales/translit_cjk_compat: Likewise.
1107 * localedata/locales/translit_combining: Likewise.
1108 * localedata/locales/translit_compat: Likewise.
1109 * localedata/locales/translit_font: Likewise.
1110 * localedata/locales/translit_fraction: Likewise.
1111
5ad533e8
WD
11122019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1113
1114 [BZ #24531]
1115 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1116 (do_set_tcache_count): Only update if count is small enough.
1117 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1118
4aee85f9
FW
11192019-05-10 Florian Weimer <fweimer@redhat.com>
1120
1121 * nptl/sem_close.c (struct walk_closure): Define.
1122 (walker): Adjust for __twalk_r.
1123 (sem_close): Call __twalk_r.
1124
eb669ff5
AZ
11252019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1126
1127 * support/timespec.c (test_timespec_before_impl,
1128 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1129 insted of long int.
1130
51983996
MC
11312019-05-09 Mike Crowe <mac@mcrowe.com>
1132
44ac6ee9
MC
1133 * nptl/tst-abstime.c: Use libsupport.
1134
495514ee
MC
1135 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1136 small bug where only tv.tv_usec was checked which could cause an
1137 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1138 than a second.
1139
1140 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1141 libsupport.
1142
40d0816f
MC
1143 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1144 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1145
d8e0b901
MC
1146 * nptl/tst-cond11.c: Use libsupport.
1147
51983996
MC
1148 * support/timespec.h: New file. Provide timespec helper functions
1149 along with macros in the style of those in check.h.
1150 * support/timespec.c: New file. Implement check functions declared
1151 in support/timespec.h.
1152 * support/timespec-add.c: New file from gnulib containing
1153 timespec_add implementation that handles overflow.
1154 * support/timespec-sub.c: New file from gnulib containing
1155 timespec_sub implementation that handles overflow.
1156 * support/README: Mention timespec.h.
1157
18aa51ee
SN
11582019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1159
1160 [BZ #24537]
1161 * nptl/Makefile: Move tst-eintr1 to xtests.
1162
252296c6
AZ
11632019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1164
ae45cf84
AZ
1165 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1166 TRUNC handling.
1167 (round_mode): Add definition for TRUNC.
1168 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1169 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1170 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1171 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1172 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1173 Likewise.
1174 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1175 Likewise.
1176 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1177 Likewise.
1178 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1179 Likewise.
1180 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1181 file.
1182 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1183 Likewise.
1184 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1185 Likewise.
1186 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1187 Likewise.
1188 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1189 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1190 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1191 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1192 s_truncf-power5+, and s_truncf-ppc64.
1193 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1194 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1195 file.
1196 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1198 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1199 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1200 file.
1201 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1202 Likewise.
1203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1204 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1206 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1207 s_truncf-power5+, and s_truncf-ppc64.
1208 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1209 file.
1210 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1211 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1212 Likewise.
1213 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1214 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1215 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1216 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1217 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1218
a1cb1888
AZ
1219 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1220 ROUND handling.
1221 (round_mode): Add definition for ROUND.
1222 (round_to_integer_float): Likewise.
1223 * sysdeps/powerpc/fpu/s_round.c: New file.
1224 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1225 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1226 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1227 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1228 Likewise.
1229 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1230 Likewise.
1231 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1232 Likewise.
1233 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1234 Likewise.
1235 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1236 file.
1237 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1238 Likewise.
1239 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1240 Likewise.
1241 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1242 Likewise.
1243 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1244 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1245 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1246 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1247 s_roundf-power5+, and s_roundf-ppc64.
1248 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1249 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1250 file.
1251 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1253 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1254 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1255 file.
1256 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1257 Likewise.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1259 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1260 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1261 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1262 s_roundf-power5+, and s_roundf-ppc64.
1263 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1264 file.
1265 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1266 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1267 Likewise.
1268 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1271 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1272 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1273
252296c6
AZ
1274 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1275 Add FLOOR option.
1276 (round_mode): Add definition for FLOOR.
1277 * sysdeps/powerpc/fpu/s_floor.c: New file.
1278 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1279 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1280 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1282 Remove file.
1283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1284 Likewise
1285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1286 Likewise.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1288 Likewise.
1289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1290 New file.
1291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1292 Likewise.
1293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1294 Likewise.
1295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1296 Likewise.
1297 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1298 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1299 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1300 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1301 s_floorf-power5+, and s_floorf-ppc64.
1302 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1303 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1304 file.
1305 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1307 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1308 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1309 file.
1310 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1311 Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1313 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1315 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1316 s_floorf-power5+, and s_floorf-ppc64.
1317 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1318 file.
1319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1320 file.
1321 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1322 Likewise.
1323 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1324 Likewise.
1325 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1326 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1327 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1328 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1329
33647a72
MC
13302019-05-08 Mike Crowe <mac@mcrowe.com>
1331
1332 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1333 clock_gettime wrapper for use in tests that fails the test rather
1334 than returning failure.
1335
1336 * support/xtime.h: New file to declare xclock_gettime.
1337
1338 * support/Makefile: Add xclock_gettime.c.
1339
1340 * support/README: Mention xtime.h.
1341
b2f601ba
FW
13422019-05-08 Florian Weimer <fweimer@redhat.com>
1343
1344 malloc/tst-mallocfork2: Use process-shared barriers.
1345 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1346 (signal_count, sigusr1_sender_pid): Remove.
1347 (iterations): Define constant.
1348 (shared): New variable.
1349 (sigusr1_received): Update comment.
1350 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1351 (signal_sender): Optional use barriers to avoid sending signals
1352 during irrelevant times.
1353 (do_it): Initialize variable shared. Use xfork for error
1354 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1355 the iteration count, independent of signal delivery. Check for
1356 deadlocks in fork. Introduce barriers for reducing signal
1357 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1358 replaced by the barriers. Count signals during fork/free/malloc
1359 and report them.
1360 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1361
c4a392cf
JM
13622019-05-07 Joseph Myers <joseph@codesourcery.com>
1363
7621676f
JM
1364 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1365 version to 5.1.
1366 (clock_adjtime64) New syscall.
1367 (clock_getres_time64) Likewise.
1368 (clock_gettime64) Likewise.
1369 (clock_nanosleep_time64) Likewise.
1370 (clock_settime64) Likewise.
1371 (futex_time64) Likewise.
1372 (io_pgetevents_time64) Likewise.
1373 (io_uring_enter) Likewise.
1374 (io_uring_register) Likewise.
1375 (io_uring_setup) Likewise.
1376 (mq_timedreceive_time64) Likewise.
1377 (mq_timedsend_time64) Likewise.
1378 (pidfd_send_signal) Likewise.
1379 (ppoll_time64) Likewise.
1380 (pselect6_time64) Likewise.
1381 (recvmmsg_time64) Likewise.
1382 (rt_sigtimedwait_time64) Likewise.
1383 (sched_rr_get_interval_time64) Likewise.
1384 (semtimedop_time64) Likewise.
1385 (timer_gettime64) Likewise.
1386 (timer_settime64) Likewise.
1387 (timerfd_gettime64) Likewise.
1388 (timerfd_settime64) Likewise.
1389 (utimensat_time64) Likewise.
1390
c4a392cf
JM
1391 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1392 version to 9 branch.
1393
32e902a9
AY
13942019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1395
1396 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1397 __memmove_thunderx2 to the list of implementations
1398 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1399 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1400 (__memmove_thunderx2): Rewritten using SIMD ld/st
1401 (__memcpy_thunderx2): Fixed handling overlapping cases.
1402 Used ldp/stp instead of ldr/str if possible. Made loops
1403 tails branchless.
1404
ac3da35d
FW
14052019-05-03 Florian Weimer <fweimer@redhat.com>
1406
1407 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1408
b2af6fb2
AZ
14092019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1410
7dfde28a 1411 [BZ #24506]
b2af6fb2
AZ
1412 * elf/tst-pldd.c (in_str_list): New function.
1413 (do_test): Add default names for ld and libc as one option.
1414
7b807a35
FW
14152019-05-02 Florian Weimer <fweimer@redhat.com>
1416
1417 misc: Add twalk_r function.
1418 * include/search.h (__twalk_r): Declare.
1419 * manual/examples/twalk.c: New file.
1420 * manual/search.texi (Tree Search Function): Document twalk_r.
1421 * misc/Versions (2.30): Export twalk_r.
1422 (GLIBC_PRIVATE): Export __twalk_r.
1423 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1424 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1425 (twalk_r): Add weak alias.
1426 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1427 (walk_trace): New variable.
1428 (struct twalk_with_twalk_r_closure): Define.
1429 (twalk_with_twalk_r_action): New function.
1430 (twalk_with_twalk_r): Likewise.
1431 (walk_action): Call walk_trace_add.
1432 (walk_tree_with): Rename from walk_tree. Add walk argument.
1433 (walk_tree): New function.
1434 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1435 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1436 Likewise.
1437 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1438 Likewise.
1439 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1440 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1441 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1442 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1443 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1444 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1445 Likewise.
1446 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1447 Likewise.
1448 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1449 Likewise.
1450 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1451 (GLIBC_2.30): Likewise.
1452 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1453 (GLIBC_2.30): Likewise.
1454 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1455 (GLIBC_2.30): Likewise.
1456 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1457 (GLIBC_2.30): Likewise.
1458 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1459 Likewise.
1460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1461 (GLIBC_2.30): Likewise.
1462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1463 (GLIBC_2.30): Likewise.
1464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1465 (GLIBC_2.30): Likewise.
1466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1467 (GLIBC_2.30): Likewise.
1468 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1469 Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1471 Likewise.
1472 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1473 Likewise.
1474 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1475 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1476 Likewise.
1477 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1478 Likewise.
1479 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1480 Likewise.
1481 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1482 Likewise.
1483
20aa5819
PE
14842019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1485
1486 Make mktime etc. compatible with __time64_t
1487 Keep these functions compatible with Gnulib while adding
1488 __time64_t support. The basic idea is to move private API
1489 declarations from include/time.h to time/mktime-internal.h, since
1490 the former file cannot easily be shared with Gnulib whereas the
1491 latter can.
1492 Also, do some other minor cleanup while in the neighborhood.
1493 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1494 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1495 since Gnulib needs it.
1496 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1497 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1498 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1499 (in_time_t_range): New static function.
1500 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1501 so that glibc users are not tempted to use __time64_t.
1502 * time/mktime-internal.h: Rewrite so that it does both glibc
1503 and Gnulib work. Include time.h if not _LIBC.
1504 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1505 (__time64_t): New type or macro, moved here from
1506 posix/bits/types.h.
1507 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1508 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1509 from include/time.h.
1510 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1511 New macros, taken from GNulib.
1512 (__mktime_internal): New prototype, moved here from include/time.h.
1513 * time/mktime.c (mktime_min, mktime_max, convert_time)
1514 (ranged_convert, __mktime_internal, __mktime64):
1515 * time/timegm.c (__timegm64):
1516 Use __time64_t, not time_t.
1517 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1518 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1519 Rename from mktime.
1520 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1521 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1522 for libc_hidden_def.
1523 Include errno.h.
1524 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1525 Rename from timegm.
1526 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1527
87c266d7
MR
15282019-04-30 Maciej W. Rozycki <macro@wdc.com>
1529
1530 [BZ #19444]
1531 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1532 from `-Wmaybe-uninitialized'.
1533 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1534
c4c0848b
AZ
15352019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1536
6cac323c
AZ
1537 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1538 function.
1539 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1540 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1541 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1542 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1543 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1545 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1547 Remove file.
1548 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1549 Likewise.
1550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1551 Likewise.
1552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1553 Likewise.
1554 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1555 New file.
1556 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1557 Likewise.
1558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1559 Likewise.
1560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1561 Likewise.
1562 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1564 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1565 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1566 Likewise.
1567 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1568 Likewise.
1569 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1570 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1571 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1572 file.
1573 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1574 Likewise.
1575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1576 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1577 * here.
1578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1579 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1580 s_ceilf-power5+, and s_ceilf-ppc64.
1581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1582 file.
1583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1584 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1586 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1587 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1588 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1589 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1590
c4c0848b
AZ
1591 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1592 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1593 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1594
f492fc99
YD
15952019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1596
1597 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1598 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1599 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1600 (sem_getvalue): Likewise.
1601
c57afec0
FW
16022019-04-26 Florian Weimer <fweimer@redhat.com>
1603
1604 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1605 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1606
a8ff215e
FW
16072019-04-26 Florian Weimer <fweimer@redhat.com>
1608
1609 Makeconfig: Move -Wl,-rpath-link options before library references.
1610 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1611 (link-libc): Remove $(link-libc-rpath-link).
1612
16132019-04-25 Florian Weimer <fweimer@redhat.com>
1614
1615 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1616 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1617 (+link-static-before-libc): Remove $(CC).
1618 (+link-static, +link-static-tests): Add $(CC).
1619 (+link-before-libc): Remove $(CC).
1620 (+link, +link-pie, +link-pie-printers): Add $(CC).
1621
e30fb31c
FW
16222019-04-26 Florian Weimer <fweimer@redhat.com>
1623
1624 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1625 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1626 (+link-static-before-libc): Remove $(CC).
1627 (+link-static, +link-static-tests): Add $(CC).
1628 (+link-before-libc): Remove $(CC).
1629 (+link, +link-pie, +link-pie-printers): Add $(CC).
1630
deacca00
DA
16312019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1632
1633 [BZ#24484]
1634 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1635
b5ffdc48
FW
16362019-04-25 Florian Weimer <fweimer@redhat.com>
1637
1638 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1639 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1640 (bench-link-targets): New variable.
1641 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1642
94a4e9e4
FW
16432019-04-25 Florian Weimer <fweimer@redhat.com>
1644
1645 Also enable BIND_NOW for programs if --enable-bind-now.
1646 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1647 (+link-pie): Use $(link-extra-flags).
1648 (+link-static): Likewise.
1649 [! $(build-pie-default)] (+link): Likewise.
1650 * manual/install.texi (Configuring and compiling): Update
1651 --enable-bind-now description.
1652 * INSTALL: Regenerated.
1653
fe92a91f
WD
16542019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1655
1656 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1657 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1658
f9b645b4
MF
16592019-04-24 Mike Frysinger <vapier@gentoo.org>
1660
1661 [BZ #18465]
1662 * malloc/Makefile (others): Add memusagestat.
1663 ($(objpfx)memusagestat): Delete rule.
1664 (LDLIBS-memusagestat): New variable.
1665
439bf534
FW
16662019-04-24 Florian Weimer <fweimer@redhat.com>
1667
1668 * locale/Makefile (tests-special): Guard setting by
1669 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1670 to run while cross-compiling.
1671
1a4c2735
AZ
16722019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1673
1674 [BZ #18035]
1675 * elf/Makefile (tests-container): Add tst-pldd.
1676 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1677 (E(find_maps)): Avoid use alloca, use default read file operations
1678 instead of explicit LFS names, and fix infinite loop.
1679 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1680 (get_process_info): Use _Static_assert instead of assert, use default
1681 directory operations instead of explicit LFS names, and free some
1682 leadek pointers.
1683 * elf/tst-pldd.c: New file.
1684
2d398aa2
L
16852019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1686
1687 * malloc/arena.c (do_set_mallopt_check): Removed.
1688
e485b2b6
FW
16892019-04-23 Florian Weimer <fweimer@redhat.com>
1690
1691 locale: Add LOCPATH diagnostics to the locale program.
1692 * locale/programs/locale.c (setlocale_failed): New variable.
1693 (try_setlocale): New function.
1694 (quote_string): Likewise.
1695 (setlocale_diagnostics): Likewise.
1696 (main): Call try_setlocale instead of setlocale. Call
1697 setlocale_diagnostics.
1698 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1699 (tst-locale-locpath.out): New target.
1700 * locale/tst-locale-locpath.sh: New file.
1701
25f7a3c9
AZ
17022019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1703
1704 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1705 to 2.30 notes.
1706
9bf8e29c
AZ
17072019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1708
1709 [BZ #23741]
1710 * malloc/hooks.c (malloc_check, realloc_check): Use
1711 __builtin_add_overflow on overflow check and adapt to
1712 checked_request2size change.
1713 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1714 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1715 allocation size to PTRDIFF_MAX.
1716 (REQUEST_OUT_OF_RANGE): Remove macro.
1717 (checked_request2size): Change to inline function and limit maximum
1718 requested size to PTRDIFF_MAX.
1719 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1720 maximum allocation size to PTRDIFF_MAX.
1721 (_mid_memalign): Use _int_memalign call for overflow check.
1722 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1723 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1724 limit maximum requested size to PTRDIFF_MAX.
1725 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1726 valloc, pvalloc): Add __attribute_alloc_size__.
1727 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1728 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1729 larger than PTRDIFF_MAX.
1730 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1731 around tests of malloc with negative sizes.
1732 * malloc/tst-posix_memalign.c (do_test): Likewise.
1733 * malloc/tst-pvalloc.c (do_test): Likewise.
1734 * malloc/tst-valloc.c (do_test): Likewise.
1735 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1736 with resulting size allocation larger than PTRDIFF_MAX with
1737 reallocarray_nowarn.
1738 (reallocarray_nowarn): New function.
1739 * NEWS: Mention the malloc function semantic change.
1740
0e169691
AZ
17412019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1742
52faba65
AZ
1743 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1744 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1745
3a16dd78
AZ
1746 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1747 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1748 * sysdeps/powerpc/fpu/s_fma.c: New file.
1749 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1750
1dac8bd6
AZ
1751 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1752 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1753
a3ae315a
AZ
1754 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1755 the magic flag store.
1756 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1757 Likewise.
1758 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1759 Likewise.
1760 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1761 Remove rt_sigreturn call.
1762
ffe8a9a8
AZ
1763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1764 Remove rt_sigreturn call.
1765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1766 Likewise.
1767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1769
0e169691
AZ
1770 * support/Makefile (libsupport-routines): Add support_subprocess,
1771 xposix_spawn, xposix_spawn_file_actions_addclose, and
1772 xposix_spawn_file_actions_adddup2.
1773 (tst-support_capture_subprocess-ARGS): New rule.
1774 * support/capture_subprocess.h (support_capture_subprogram): New
1775 prototype.
1776 * support/support_capture_subprocess.c (support_capture_subprocess):
1777 Refactor to use support_subprocess and support_capture_poll.
1778 (support_capture_subprogram): New function.
1779 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1780 str_to_write_mode, test_common, parse_int, handle_restart,
1781 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1782 (do_test): Add support_capture_subprogram tests.
1783 * support/subprocess.h: New file.
1784 * support/support_subprocess.c: Likewise.
1785 * support/xposix_spawn.c: Likewise.
1786 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1787 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1788 * support/xspawn.h: Likewise.
1789
bae8cf0e
MG
17902019-04-17 Mike Gerow <gerow@google.com>
1791
1792 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1793 groups limit.
1794
e3f454ba
FW
17952019-04-11 Florian Weimer <fweimer@redhat.com>
1796
1797 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1798 domain with empty string.
1799 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1800
32d85c11
FW
18012019-04-11 Florian Weimer <fweimer@redhat.com>
1802
1803 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1804 comment.
1805 (alloc_buffer_next): Change return type to non-const. Update
1806 comment.
1807
221710af
FW
18082019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1809
1810 * manual/time.texi (Formatting Calendar Time): Add missing percent
1811 sign to conversion specifier.
1812
e621246e
CD
18132019-04-09 Carlos O'Donell <carlos@redhat.com>
1814 Kwok Cheung Yeung <kcy@codesourcery.com>
1815
1816 [BZ #16573]
1817 * malloc/mtrace.c: Define prototypes for all hooks.
1818 (set_default_hooks): New function.
1819 (set_trace_hooks): Likewise.
1820 (save_default_hooks): Likewise.
1821 (tr_freehook): Use new s*_hooks functions.
1822 (tr_mallochook): Likewise.
1823 (tr_reallochook): Likewise.
1824 (tr_memalignhook): Likewise.
1825 (mtrace): Likewise.
1826 (muntrace): Likewise.
1827
648279f4
WD
18282019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1829
1830 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1831 (generic_stpcpy): New function.
1832 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1833 (generic_stpncpy): New function.
1834 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1835 (generic_strcat): New function.
1836 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1837 (generic_strcpy): New function.
1838 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1839 (STUPID_STRNCAT): Remove function.
1840 (generic_strncat): New function.
1841 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1842 (STUPID_STRNCPY): Remove function.
1843 (generic_strncpy): New function.
1844 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1845 (generic_strnlen): New function.
1846 (memchr_strnlen): New function.
1847 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1848 (memchr_strlen): Likewise.
1849
93eebae5
WD
18502019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1851
1852 * benchtests/bench-strstr.c (input): Add realistic input text.
1853 (stupid_strstr): Remove function.
1854 (basic_strstr): Add function.
1855 (twoway_strstr): Add function.
1856 (do_one_test): Add result checking.
1857 (do_test): Use new input text. Remove accidental early matches.
1858 (test_main): Improve range of tests, reduce unaligned cases.
1859
a173d09f
WD
18602019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1861
1862 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1863 (basic_memmem): Add function.
1864 (twoway_memmem): Add function.
1865
6103c0a8
WD
18662019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1867
1868 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1869 * benchtests/bench-malloc-thread.c: Likewise.
1870 * benchtests/bench-skeleton.c: Likewise.
1871 * benchtests/bench-strtod.c: Likewise.
1872 * benchtests/bench-timing.h: Likewise.
1873
33322186
FW
18742019-04-08 Florian Weimer <fweimer@redhat.com>
1875
1876 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1877 definitions.
1878 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1879 RES_INSECURE2 security checks.
1880 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1881 RES_INSECURE2 handling.
1882
3f8b44be
FW
18832019-04-08 Florian Weimer <fweimer@redhat.com>
1884
1885 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1886 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1887 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1888 GETHOSTBYNAME.
1889 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1890 (tests-internal): Update justification for tst-resolv-res_init,
1891 tst-resolv-res_init-thread.
1892 (tst-res_use_inet6): Remove target.
1893 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1894 * resolv/res_debug.c (p_option): Remove "inet6" support.
1895 * resolv/res_init.c (res_setoptions): Likewise.
1896 * resolv/res_use_inet6.h: Remove file.
1897 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1898 definition.
1899 (res_use_inet6): Always return false.
1900 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1901 * resolv/resolv_context.h: Adjust file comment.
1902 (struct resolv_context): Update comment on __next field.
1903 (__resolv_context_put): Update comment.
1904 * resolv/tst-res_use_inet6.c: Remove file.
1905 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1906 "inet6" support.
1907 (test_cases): Adjust test case.
1908 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1909 (thread_byname2_af_inet6): Use old byname_inet6 code.
1910 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1911 (gai): Remove do_inet6 argument.
1912 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1913 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1914 (thread_gai_unspec_inet6): Remove functions.
1915 (do_test): Adjust thread_funcs.
1916 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1917 RES_USE_INET6 flag.
1918 (gaih_inet): Do not disable RES_USE_INET6 flag.
1919
6b5c8607 19202019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1921
1922 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1923 and remove redundant code.
1924
e3fd0b0e
AZ
19252019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1926
f82ed45d
AZ
1927 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1928 New rule.
1929 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1930 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1931 Likewise.
1932 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1933 Likewise.
1934 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1935 Likewise.
1936 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1937 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1938 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1939 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1940 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1941 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1942 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1943 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1944 wcsrchr-power7.
1945 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1946 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1948 Remove wcsrchr optimizations.
1949 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1950
662c2cc4
AZ
1951 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1952 the loop unroll.
1953
421e3005
AZ
1954 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1955 New rule.
1956 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1957 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1958 Likewise.
1959 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1960 Likewise.
1961 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1962 Likewise.
1963 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1964 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1965 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1966 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1967 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1968 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1969 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1970 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1971 wcschr-power7.
1972 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1974 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1975 Remove wcschr optimizations.
1976 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1977
7ba0100c
AZ
1978 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1979 the loop unroll.
1980
447a1306
AZ
1981 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1982 New rule.
1983 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1984 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1985 Likewise.
1986 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1987 Likewise.
1988 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1989 Likewise.
1990 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1991 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1992 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1993 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1994 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1995 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1997 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1998 wcscpy-power7.
1999 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2001 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2002 Remove wcscpy optimizations.
2003 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2004
e3fd0b0e
AZ
2005 * include/loop_unroll.h: New file.
2006 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2007 besides generic implementation.
2008
8260f236
DD
20092019-04-03 DJ Delorie <dj@redhat.com>
2010
2011 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2012 snprintf truncating output.
2013
0bd545ee
DD
20142019-04-02 DJ Delorie <dj@redhat.com>
2015
2016 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2017 warning.
2018
466afec3
TS
20192019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2020
2021 [BZ #22964]
2022 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2023 era.
2024 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2025 (mkreftable): Add rules for the new Japanese era and the new dates.
2026
2f1d6155
TS
20272019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2028 Rafal Luzynski <digitalfreak@lingonborough.com>
2029
2030 * time/tst-strftime2.c (date_t): Explicitly define the type.
2031 (dates): Use natural month and year numbers to express a date.
2032 (is_before): New function to compare dates.
2033 (mkreftable): Minor improvements to simplify maintenance.
2034 (do_test): Reflect the changes in dates array.
2035
84aea169
TS
2036 [BZ #24293]
2037 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2038 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2039 * time/tst-strftime2.c (locales): Likewise.
2040 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2041 2010-04-01, and 2011-04-01.
2042 (mkreftable): Add rules for the new locales and the new dates.
2043
62449176
CD
20442019-04-01 Carlos O'Donell <carlos@redhat.com>
2045
2046 * localedata/locales/ja_JP: Add comments to era entries.
2047
e0e4c321
DD
20482019-04-01 DJ Delorie <dj@redhat.com>
2049
2050 [BZ #24394]
2051 * time/strptime_l.c (%Ey): Fix fencepost error.
2052 * time/tst-strftime3.c: New.
2053 * time/Makefile (tests): Add tst-strftime3.
2054
6b5c8607 20552019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
2056
2057 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2058 conditional branch to DIVBYZERO. Fix unwind info.
2059 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2060 excb after conditional branch to $powerof2. Add missing unop
2061 instructions and .align directives and reorder instructions to
2062 match __divqu.
2063
d5ecee82
RH
20642019-04-01 Richard Henderson <rth@twiddle.net>
2065
2066 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2067 Do not redefine.
2068 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2069 Do not redefine.
2070
656dd306
MR
20712019-03-30 Maciej W. Rozycki <macro@wdc.com>
2072
2073 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2074 $libc_cv_riscv_float_abi in `test' invocation.
2075 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2076
10cce669
PC
20772019-03-29 Paul A. Clarke <pc@us.ibm.com>
2078
2079 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2080 asm with builtin.
2081 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2082 Likewise.
2083 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2084 (_GET_SI_FPSCR): Likewise.
2085 (_SET_SI_FPSCR): Likewise.
2086
5e67e4bf 20872019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2088
2089 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2090 clang 2.8.
2091 (signbit): Use builtin for clang 3.3.
2092 (isinf): Use builtin for clang 3.7.
2093
01963891
AZ
20942019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2095
2096 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2097
67112f7a
AH
20982019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2099
2100 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2101 quote in printf.
2102
7a773abf
MC
21032019-03-25 Mike Crowe <mac@mcrowe.com>
2104
82849fde
MC
2105 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2106 pthread_rwlock_timedrdlock with calls to
2107 pthread_rwlock_timedwrlock to ensure that the latter is tested
2108 too. Use new function name in diagnostic messages too.
2109
7a773abf
MC
2110 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2111 (do_test) Use libsupport test macros rather than hand-coded
2112 conditionals and error messages. Ensure that sem_init returns zero
2113 rather than not -1. Use <support/test-driver.c> rather than
2114 test-skeleton.c.
2115
2116 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2117 test macros rather than hand-coded conditionals and error messages.
2118 Use <support/test-driver.c> rather than test-skeleton.c.
2119
9ac2de69
JM
21202019-03-25 Joseph Myers <joseph@codesourcery.com>
2121
d7563e62
JM
2122 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2123
9ac2de69
JM
2124 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2125 (NT_MIPS_MSA): Likewise.
2126
38cc11da
AZ
21272019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2128
7621e38b
WD
2129 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2130 * benchtests/README: Update description.
2131 * benchtests/bench-timing.h: Default to hp-timing.
2132 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2133 HP_TIMING_PRINT): Remove.
2134 (HP_TIMING_NOW): Add generic implementation.
2135 (hp_timing_t): Change to uint64_t.
2136
1e372ded
AZ
2137 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2138 HP_TIMING_INLINE.
2139 * nptl/descr.h: Likewise.
2140 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2141 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2142 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2143 Abstract hp-timing usage with RTLD_* macros.
2144 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2145 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2146 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2147 HP_TIMING_NONAVAIL): Likewise.
2148 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2149 Likewise.
2150 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2151 HP_SMALL_TIMING_AVAIL): Likewise.
2152 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2153 HP_SMALL_TIMING_AVAIL): Likewise.
2154 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2155 HP_SMALL_TIMING_AVAIL): Likewise.
2156 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2157 HP_SMALL_TIMING_AVAIL): Likewise.
2158 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2159 Likewise.
2160 * sysdeps/generic/hp-timing-common.h: Update comment with
2161 HP_TIMING_AVAIL removal.
2162
359653aa
AZ
2163 * include/random-bits.h: New file.
2164 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2165 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2166 random_bits.
2167 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2168 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2169 Likewise.
2170
6e8ba7fd
AZ
2171 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2172 * rt/Makefile (clock-routines): Remove get_clockfreq.
2173 * rt/get_clockfreq.c: Remove file.
2174 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2175 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2176 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2177 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2178 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2179
77b6f553
AZ
2180 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2181 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2182 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2183 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2184 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2185
38cc11da
AZ
2186 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2187 pthread_clock_settime.
2188 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2189 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2190 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2191 * elf/rtld.c (_dl_start_final): Likewise.
2192 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2193 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2194 Remove.
2195 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2196 (_dl_cpuclock_offset): Remove.
2197 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2198 cpuclock_offset_ununsed.
2199 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2200 cpuclock_offset set.
2201 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2202 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2203 * nptl/pthread_clock_gettime.c: Remove file.
2204 * nptl/pthread_clock_settime.c: Likewise.
2205 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2206 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2207 and CLOCK_PROCESS_CPUTIME_ID support.
2208 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2209 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2210 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2211 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2212 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2213 Likewise.
2214 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2215
421749d6
SL
22162019-03-22 Stefan Liebler <stli@linux.ibm.com>
2217
2218 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2219 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2220 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2221 New defines.
2222 * sysdeps/s390/memmem-arch13.S: New file.
2223 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2224 if it is only used as fallback.
2225 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2226 * sysdeps/s390/multiarch/ifunc-impl-list.c
2227 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2228
6f47401b
SL
22292019-03-22 Stefan Liebler <stli@linux.ibm.com>
2230
2231 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2232 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2233 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2234 New defines.
2235 * sysdeps/s390/multiarch/ifunc-impl-list.c
2236 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2237 * sysdeps/s390/strstr-arch13.S: New file.
2238 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2239 if it is only used as fallback.
2240 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2241
96fbb9a3
SL
22422019-03-22 Stefan Liebler <stli@linux.ibm.com>
2243
2244 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2245 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2246 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2247 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2248 ifunc selector.
2249 * sysdeps/s390/multiarch/ifunc-impl-list.c
2250 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2251 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2252 S390_IS_ARCH13_MIE3): New defines.
2253
a899a551
SL
22542019-03-22 Stefan Liebler <stli@linux.ibm.com>
2255
2256 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2257 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2258 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2259 * sysdeps/s390/configure: Regenerated.
2260
1a7df49c
SL
22612019-03-22 Stefan Liebler <stli@linux.ibm.com>
2262
2263 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2264 Add vxe2, vxp, dflt, sort flags.
2265 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2266 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2267 capabilities.
2268 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2269 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2270 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2271 HWCAP_S390_DFLT): Define.
2272
5e67e4bf 22732019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2274
2275 [BZ #24372]
2276 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2277 of compiler warning.
2278 * locale/programs/ld-collate.c (collate_output): Likewise.
2279
ac64195c
DD
22802019-03-21 DJ Delorie <dj@redhat.com>
2281
2282 [BZ #24372]
2283 * iconv/iconvconfig.c (write_output): Replace floating point math
2284 with integer math to avoid imprecise results.
2285 * locale/programs/ld-collate.c (collate_output): Likewise.
2286
61f5e947
SL
22872019-03-21 Stefan Liebler <stli@linux.ibm.com>
2288
2289 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2290 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2291
57ada43c 22922019-03-20 mansayk <6688000@gmail.com>
2293
2294 [BZ #24296]
2295 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2296 (abday): Likewise, but remove the trailing dots.
2297
a2e57f89
JM
22982019-03-19 Joseph Myers <joseph@codesourcery.com>
2299
2300 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2301 macro.
2302 (HWCAP_PACA): Likewise.
2303 (HWCAP_PACG): Likewise.
2304 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2305 Increase to 32.
2306 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2307
e87d8ada
ST
23082019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2309
2310 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2311 should be handled.
2312
477e739b
JM
23132019-03-15 Joseph Myers <joseph@codesourcery.com>
2314
2315 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2316 version to 5.0.
2317 (old_getpagesize): New syscall.
2318
238d60a1
FY
23192019-03-15 Felix Yan <felixonmars@archlinux.org>
2320
2321 [BZ #24293]
2322 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2323 * localedata/locales/cmn_TW (era): Likewise.
2324 * localedata/locales/hak_TW (era): Likewise.
2325 * localedata/locales/lzh_TW (era): Likewise.
2326 * localedata/locales/nan_TW (era): Likewise.
2327
5dde9ef7
DD
23282019-03-14 Adam Maris <amaris@redhat.com>
2329
2330 * malloc/malloc.c (_int_malloc): Check for large bin list
2331 corruption when inserting unsorted chunk.
2332
a0a0dc83
FW
23332019-03-14 Florian Weimer <fweimer@redhat.com>
2334
2335 Remove obsolete, never-implemented XSI STREAMS declarations.
2336 * manual/terminal.texi (Allocation): Remove portability note and
2337 adjust example.
2338 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2339 _SC_STREAMS.
2340 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2341 * sysdeps/unix/inet/Subdirs (streams): Remove.
2342 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2343 (conformtest-headers-UNIX98): Likewise.
2344 (conformtest-headers-XOPEN2K): Likewise.
2345 (conformtest-headers-POSIX2008): Likewise.
2346 * posix/compat-streams.c: New file.
2347 * posix/Makefile (routines): Add it.
2348 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2349 getpmsg, isastream, putmsg, putpmsg.
2350 (GLIBC_2.30): New section.
2351 * bits/stropts.h: Remove file.
2352 * bits/xtitypes.h: Likewise.
2353 * conform/data/stropts.h-data: Likewise.
2354 * include/stropts.h: Likewise.
2355 * include/sys/stropts.h: Likewise.
2356 * include/xtitypes.h: Likewise.
2357 * streams/Makefile: Likewise.
2358 * streams/fattach.c: Likewise.
2359 * streams/fdetach.c: Likewise.
2360 * streams/getmsg.c: Likewise.
2361 * streams/getpmsg.c: Likewise.
2362 * streams/isastream.c: Likewise.
2363 * streams/putmsg.c: Likewise.
2364 * streams/putpmsg.c: Likewise.
2365 * streams/stropts.h: Likewise.
2366 * streams/sys/stropts.h: Likewise.
2367 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2368 * sysdeps/s390/bits/xtitypes.h: Likewise.
2369 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2370 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2371 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2372 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2373 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2374 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2375 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2377 * sysdeps/x86/bits/xtitypes.h: Likewise.
2378
081bdf94
FW
23792019-03-14 Florian Weimer <fweimer@redhat.com>
2380
2381 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2382 libnss_files.
2383 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2384 but not with libnss_files.
2385 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2386
97f8225d
ZW
23872019-03-14 Zack Weinberg <zackw@panix.com>
2388
2389 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2390 Specify encoding="utf-8" when opening headers to check.
2391
0c1041ee
JM
23922019-03-13 Joseph Myers <joseph@codesourcery.com>
2393
2394 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2395 version to 5.0.
2396 (Context.checkout_tar): Handle variable major version for Linux
2397 kernel.
2398
043440e7
FW
23992019-03-13 Florian Weimer <fweimer@redhat.com>
2400
2401 [BZ #24047]
2402 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2403
29218b26
ZW
24042019-03-13 Zack Weinberg <zackw@panix.com>
2405
2406 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2407 Move to stdlib.
2408 * include/inttypes.h: Adjust to match.
2409 * include/stdint.h: New wrapper.
2410
711a322a
ZW
24112019-03-13 Zack Weinberg <zackw@panix.com>
2412
2413 * scripts/check-obsolete-constructs.py: New test script.
2414 * scripts/check-installed-headers.sh: Remove tests for
2415 obsolete typedefs, superseded by check-obsolete-constructs.py.
2416 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2417 as a special test. Update commentary.
2418 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2419 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2420 Update commentary.
2421 * posix/sys/types.h (__u_intN_t): Remove.
2422 (u_int8_t): Typedef using __uint8_t.
2423 (u_int16_t): Typedef using __uint16_t.
2424 (u_int32_t): Typedef using __uint32_t.
2425 (u_int64_t): Typedef using __uint64_t.
2426
7c651308
SL
24272019-03-13 Stefan Liebler <stli@linux.ibm.com>
2428
2429 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2430 call _dl_procinfo.
2431 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2432 Ignore types other than AT_HWCAP.
2433 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2434 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2435 Likewise.
2436 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2437 in the case of falling back to generic output mechanism.
2438 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2439 Likewise.
2440
38b52865
FW
24412019-03-12 Florian Weimer <fweimer@redhat.com>
2442
2443 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2444
08504de7
FW
24452019-03-12 Florian Weimer <fweimer@redhat.com>
2446
2447 [BZ #24047]
2448 resolv: Enable full ICMP errors for UDP DNS sockets
2449 * resolv/res_enable_icmp.c: New file.
2450 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2451 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2452 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2453 socket.
2454
5fbcd763
MH
24552019-03-11 Mao Han <han_mao@c-sky.com>
2456
2457 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2458 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2459
c4e5f34b
MH
24602019-03-11 Mao Han <han_mao@c-sky.com>
2461
2462 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2463 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2464 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2465
827e30f3
MH
24662019-03-11 Mao Han <han_mao@c-sky.com>
2467
2468 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2469 directly.
2470 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2471 definition.
2472
6229c9bf
MH
24732019-03-11 Mao Han <han_mao@c-sky.com>
2474
2475 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2476 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2477 in mcontext_t
2478
86bdd49d
MF
24792019-03-08 Mike FABIAN <mfabian@redhat.com>
2480
2481 [BZ #24307]
2482 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2483 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2484 Unicode 12.0.0.
2485 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2486 * localedata/unicode-gen/PropList.txt: Likewise.
2487 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2488 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2489 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2490 * localedata/charmaps/UTF-8: Regenerate.
2491 * localedata/locales/i18n_ctype: Likewise.
2492 * localedata/locales/tr_TR: Likewise.
2493 * localedata/locales/translit_circle: Likewise.
2494 * localedata/locales/translit_cjk_compat: Likewise.
2495 * localedata/locales/translit_combining: Likewise.
2496 * localedata/locales/translit_compat: Likewise.
2497 * localedata/locales/translit_font: Likewise.
2498 * localedata/locales/translit_fraction: Likewise.
2499
c5f65462
JM
25002019-03-07 Joseph Myers <joseph@codesourcery.com>
2501
2502 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2503 than after operators.
2504 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2505 (setitimer_locked): Likewise.
2506 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2507 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2508 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2509 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2510 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2511 (PPC_CPU_SUPPORTED): Likewise.
2512 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2513 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2514 (stat_overflow): Likewise.
2515 (statfs_overflow): Likewise.
2516 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2517 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2518 (eq_ttyname_r): Likewise.
2519 (run_chroot_tests): Likewise.
2520
27a2f2f3
FW
25212019-03-07 Florian Weimer <fweimer@redhat.com>
2522
2523 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2524 header check.
2525
ae514971 25262019-03-07 Martin Liska <mliska@suse.cz>
2527
2528 * math/Makefile: Change location where math-vector-fortran.h is
2529 installed.
2530 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2531 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2532 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2533 * scripts/check-installed-headers.sh: Skip Fortran header files.
2534 * scripts/check-wrapper-headers.py: Likewise.
2535
0ddb7ea8
AZ
25362019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2537
2538 * nptl/nptl-init.c (__have_futex_clock_realtime,
2539 __have_futex_clock_realtime): Remove definition.
2540 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2541 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2542 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2543 __ASSUME_FUTEX_CLOCK_REALTIME support.
2544 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2545 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2546 * sysdeps/unix/sysv/linux/kernel-features.h
2547 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2548 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2549 Adjust comment.
2550
590675c0
GG
25512019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2552
2553 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2554 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2555 __GI___wcscpy and wcscpy.
2556
de71ee7b
FW
25572019-03-04 Florian Weimer <fweimer@redhat.com>
2558
2559 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2560 declaration.
2561 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2562 defined.
2563
ce6ddae0
SL
25642019-03-04 Stefan Liebler <stli@linux.ibm.com>
2565
2566 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2567 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2568
31efface
TS
25692019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2570
2571 [BZ #24162]
2572 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2573 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2574
f0eaf862
GG
25752019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2576
2577 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2578 tests.
2579 (do_test): Likewise.
2580 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2581 (do_test_call_varg): Likewise.
2582 (do_test_call_rarg): Likewise.
2583 * sysdeps/ieee754/ldbl-opt/Makefile
2584 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2585 tst-nldbl-error.
2586 ($(objpfx)tst-nldbl-warn.c): New rule.
2587 ($(objpfx)tst-nldbl-error.c): Likewise.
2588 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2589 New variables.
2590
d11086a9
GG
25912019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2592
2593 [BZ #23984]
2594 * include/bits/error-ldbl.h: New file.
2595 * include/error.h: Include stdarg.h. Declare internal functions
2596 __error_internal and __error_at_line_internal.
2597 * misc/Makefile (headers): Add bits/error-ldbl.h.
2598 * misc/bits/error-ldbl.h: New file.
2599 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2600 avoid the inclusion of bits/error.h.
2601 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2602 and __nldbl_error_at_line.
2603 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2604 (__nldbl_error, __ndlbl_error_at_line): New functions.
2605 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2606 Redirect error and error_at_line.
2607 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2609 Likewise.
2610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2611 Likewise.
2612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2613 Likewise.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2615 Likewise.
2616 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2617 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2618 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2619
90188e7d
GG
26202019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2621
2622 [BZ #23984]
2623 * include/bits/err-ldbl.h: New file.
2624 * include/err.h: Add prototypes for the internal functions:
2625 __vwarnx_internal and __vwarn_internal.
2626 * misc/Makefile (headers): Add bits/err-ldbl.h.
2627 * misc/bits/err-ldbl.h: New file.
2628 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2629 defined, i.e.: when -mlong-double-64 is in use.
2630 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2631 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2632 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2633 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2634 (VA_CALL): New macro.
2635 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2636 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2637 functions.
2638 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2639 declare prototypes for the new functions.
2640 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2642 Likewise.
2643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2644 Likewise.
2645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2646 Likewise.
2647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2648 Likewise.
2649 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2650 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2651 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2652
ea2d89d0
GG
26532019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2654
2655 * sysdeps/ieee754/ldbl-opt/Makefile
2656 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2657 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2658 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2659
6e1f6440
GG
26602019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2661
2662 [BZ #23983]
2663 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2664 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2665 * argp/bits/argp-ldbl.h: New file.
2666 * include/argp.h: Include stdarg.h. Add prototypes for internal
2667 functions: __argp_error_internal and __argp_failure_internal.
2668 * include/bits/argp-ldbl.h: New file.
2669 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2670 __nldbl_argp_error and __nldbl_argp_failure.
2671 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2672 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2673 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2674 Redirect argp_error and argp_failure calls.
2675 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2677 Likewise.
2678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2679 Likewise.
2680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2681 Likewise.
2682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2683 Likewise.
2684 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2685 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2686 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2687
c259196b
FW
26882019-03-01 Florian Weimer <fweimer@redhat.com>
2689
2690 [BZ #20419]
2691 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2692 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2693 code, to avoid creating an ABI tag note.
2694 (modules-names-nobuild): Add tst-big-note-lib.
2695
928b305d
SL
26962019-03-01 Stefan Liebler <stli@linux.ibm.com>
2697
2698 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2699 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2700
36f30c10
FW
27012019-03-01 Florian Weimer <fweimer@redhat.com>
2702
2703 [BZ #20271]
2704 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2705 (__netlink_assert_response): Add additional missing newlines.
2706
462e83a4
JM
27072019-02-28 Joseph Myers <joseph@codesourcery.com>
2708
2709 * sysdeps/powerpc/powerpc32/dl-machine.c
2710 (__elf_machine_fixup_plt): Use space before '('.
2711 (__process_machine_rela): Likewise.
2712 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2713 Likewise.
2714 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2715 Likewise.
2716 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2717 Likewise.
2718 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2719 (pattern): Likewise.
2720 (delta): Likewise.
2721 (check_result): Likewise.
2722 (check_excepts): Likewise.
2723 (check_op): Likewise.
2724 (fail_xr): Likewise.
2725 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2726 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2727 (SCNHSZ): Likewise.
2728 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2729 Likewise.
2730 (ARGS): Likewise.
2731 (__makecontext): Likewise.
2732 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2733 Likewise.
2734
cc3e573c
FW
27352019-02-28 Florian Weimer <fweimer@redhat.com>
2736
2737 [BZ #23937]
2738 elf: Add test with a local IFUNC resolver.
2739 * elf/ifuncmain9.c: New file.
2740 * elf/ifuncmain9pic.c: Likewise.
2741 * elf/ifuncmain9picstatic.c: Likewise.
2742 * elf/ifuncmain9pie.c: Likewise.
2743 * elf/ifuncmain9static.c: Likewise.
2744 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2745 ifuncmain9static, ifuncmain9picstatic.
2746 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2747 Add ifuncmain9, ifuncmain9pic.
2748 * elf/Makefile [multi-arch && build-shared && have-fpie]
2749 (ifunc-pie-tests): Add ifuncmain9pie.
2750 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2751 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2752 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2753
92ad88fe
L
27542019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2755
2756 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2757 * configure: Regenerated.
2758 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2759
6bd4d02e
AZ
27602019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2761
2762 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2763 symbol as __wcspcy instead of wcscpy.
2764
1b218417
ST
27652019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2766
2767 * include/stdio.h (__renameat2): New hidden prototype.
2768 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2769 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2770 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2771 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2772
c4f50205
JM
27732019-02-27 Joseph Myers <joseph@codesourcery.com>
2774
f627dd4d
JM
2775 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2776 if statement.
2777
c4f50205
JM
2778 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2779 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2780 * benchtests/bench-strlen.c (do_test): Likewise.
2781 (test_main): Likewise.
2782 * catgets/gencat.c (read_old): Likewise.
2783 * elf/cache.c (load_aux_cache): Likewise.
2784 * iconvdata/bug-iconv8.c (do_test): Likewise.
2785 * math/test-tgmath-ret.c (do_test): Likewise.
2786 * nis/nis_call.c (rec_dirsearch): Likewise.
2787 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2788 * nptl/tst-audit-threads.c (do_test): Likewise.
2789 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2790 * nss/nss_test1.c (init): Likewise.
2791 * nss/test-netdb.c (test_hosts): Likewise.
2792 * posix/execvpe.c (maybe_script_execute): Likewise.
2793 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2794 * stdio-common/tst-printf.c (do_test): Likewise.
2795 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2796 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2797 * stdlib/qsort.c (STACK_SIZE): Likewise.
2798 * stdlib/test-canon.c (do_test): Likewise.
2799 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2800 * string/memcmp.c (OPSIZ): Likewise.
2801 * string/test-strcpy.c (do_test): Likewise.
2802 (do_random_tests): Likewise.
2803 * string/test-strlen.c (do_test): Likewise.
2804 (test_main): Likewise.
2805 * string/test-strrchr.c (do_test): Likewise.
2806 (do_random_tests): Likewise.
2807 * string/tester.c (test_memrchr): Likewise.
2808 (test_memchr): Likewise.
2809 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2810 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2811 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2812 (read_encoded_value_with_base): Likewise.
2813 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2814 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2815 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2816 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2817 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2818 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2819 Likewise.
2820 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2821 Likewise.
2822 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2823 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2824 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2825 Likewise.
2826 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2827 Likewise.
2828 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2829 Likewise.
2830 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2831 Likewise.
2832 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2833 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2834 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2835 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2836 * time/test_time.c (main): Likewise.
2837
7b3fb620
AZ
28382019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2839
457208b1
AZ
2840 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2841
30a7e208
AZ
2842 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2843 wmemcpy.
2844
ddf21ec7
AZ
2845 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2846 wmemcpy.
2847
4d801563
AZ
2848 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2849
81a14439
AZ
2850 * include/wchar.h (__wcscpy): New prototype.
2851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2852 (__wcscpy): Route internal symbol to generic implementation.
2853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2854 Add internal __wcscpy alias.
2855 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2856 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2857 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2858 * wcsmbs/wcscpy.c (wcscpy): Add
2859 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2860 use generic implementation.
2861 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2862
39ef0744
AZ
2863 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2864 wmemset.
2865
7b3fb620
AZ
2866 * sysdeps/m68k/wcpcpy.c: Remove file.
2867 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2868
e0cb7b61
JM
28692019-02-26 Joseph Myers <joseph@codesourcery.com>
2870
aa0e4663
JM
2871 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2872 than after operators.
2873 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2874 * sysdeps/mach/hurd/getcwd.c
2875 (__hurd_canonicalize_directory_name_internal): Likewise.
2876 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2877 (pthread_mutex_consistent): Likewise.
2878 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2879 Likewise.
2880 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2881 (__pthread_mutex_transfer_np): Likewise.
2882 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2883 (__pthread_mutex_unlock): Likewise.
2884 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2885 (mtx_owned_p): Likewise.
2886 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2887 (pthread_mutexattr_getrobust): Likewise.
2888 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2889 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2890 Likewise.
2891 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2892 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2893 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2894 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2895 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2896 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2897 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2898 Likewise.
2899 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2900 Likewise.
2901 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2902 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2903 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2904 (____longjmp_chk): Likewise.
2905 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2906 Likewise.
2907 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2908 (INTERNAL_SYSCALL): Likewise.
2909 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2910 (INTERNAL_SYSCALL): Likewise.
2911 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2912 (__get_clockfreq_via_cpuinfo): Likewise.
2913
e0cb7b61
JM
2914 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2915 comments.
2916 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2917 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2918 (WORD_COPY_BWD): Likewise.
2919 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2920 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2921 Likewise.
2922 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2923 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2924 comment.
2925 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2926
a04549c1
JM
29272019-02-25 Joseph Myers <joseph@codesourcery.com>
2928
2929 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2930 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2931 rather than after operators.
2932 * elf/cache.c (print_cache): Likewise.
2933 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2934 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2935 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2936 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2937 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2938 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2939 (reauth_proc): Likewise.
2940 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2941 (__file_name_split_at): Likewise.
2942 (__directory_name_split_at): Likewise.
2943 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2944 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2945 * iconv/gconv_dl.c (do_print): Likewise.
2946 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2947 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2948 * locale/setlocale.c (new_composite_name): Likewise.
2949 * malloc/memusagestat.c (main): Likewise.
2950 * misc/fstab.c (fstab_convert): Likewise.
2951 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2952 Likewise.
2953 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2954 (getgrent_next_file): Likewise.
2955 (internal_getgrnam_r): Likewise.
2956 (internal_getgrgid_r): Likewise.
2957 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2958 Likewise.
2959 (internal_getgrent_r): Likewise.
2960 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2961 (getpwent_next_nss): Likewise.
2962 (getpwent_next_file): Likewise.
2963 (internal_getpwnam_r): Likewise.
2964 (internal_getpwuid_r): Likewise.
2965 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2966 Likewise.
2967 (getspent_next_nss): Likewise.
2968 (internal_getspnam_r): Likewise.
2969 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2970 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2971 * string/strchr.c (STRCHR): Likewise.
2972 * string/strchrnul.c (STRCHRNUL): Likewise.
2973 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2974 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2975 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2976 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2977 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2978 Likewise.
2979 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2980 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2981 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2982 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2983 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2984 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2985 (open_file): Likewise.
2986 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2987 (pthread_mutexattr_setprotocol): Likewise.
2988 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2989 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2990 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2991 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2992 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2993 Likewise.
2994 (elf_machine_rela): Likewise.
2995 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2996 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2997 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2998 * sysdeps/posix/rename.c (rename): Likewise.
2999 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3000 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3001 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3002 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3003 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3004 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3005 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3006 Likewise.
3007 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3008 Likewise.
3009 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3010 * time/tzfile.c (__tzfile_compute): Likewise.
3011
34a5a146
JM
30122019-02-22 Joseph Myers <joseph@codesourcery.com>
3013
3014 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3015 rather than after operators.
3016 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3017 * crypt/md5.c (md5_finish_ctx): Likewise.
3018 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3019 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3020 * elf/cache.c (load_aux_cache): Likewise.
3021 * elf/dl-load.c (open_verify): Likewise.
3022 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3023 * elf/readelflib.c (process_elf_file): Likewise.
3024 * elf/rtld.c (dl_main): Likewise.
3025 * elf/sprof.c (generate_call_graph): Likewise.
3026 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3027 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3028 * hurd/dtable.c (reauth_dtable): Likewise.
3029 * hurd/getdport.c (__getdport): Likewise.
3030 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3031 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3032 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3033 Likewise.
3034 * hurd/hurdioctl.c (fioctl): Likewise.
3035 * hurd/hurdselect.c (_hurd_select): Likewise.
3036 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3037 (STOPSIGS): Likewise.
3038 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3039 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3040 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3041 * hurd/msgportdemux.c (msgport_server): Likewise.
3042 * hurd/setauth.c (_hurd_setauth): Likewise.
3043 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3044 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3045 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3046 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3047 * login/tst-utmp.c (do_check): Likewise.
3048 (simulate_login): Likewise.
3049 * mach/lowlevellock.h (lll_lock): Likewise.
3050 (lll_trylock): Likewise.
3051 * math/test-fenv.c (ALL_EXC): Likewise.
3052 * math/test-fenvinline.c (ALL_EXC): Likewise.
3053 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3054 * nis/nis_call.c (__do_niscall3): Likewise.
3055 * nis/nis_callback.c (cb_prog_1): Likewise.
3056 * nis/nis_defaults.c (searchaccess): Likewise.
3057 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3058 * nis/nis_ismember.c (internal_ismember): Likewise.
3059 * nis/nis_local_names.c (nis_local_principal): Likewise.
3060 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3061 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3062 Likewise.
3063 * nis/ypclnt.c (yp_match): Likewise.
3064 (yp_first): Likewise.
3065 (yp_next): Likewise.
3066 (yp_master): Likewise.
3067 (yp_order): Likewise.
3068 * nscd/hstcache.c (cache_addhst): Likewise.
3069 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3070 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3071 (internal_getpwuid_r): Likewise.
3072 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3073 * posix/glob.h (__GLOB_FLAGS): Likewise.
3074 * posix/regcomp.c (peek_token): Likewise.
3075 (peek_token_bracket): Likewise.
3076 (parse_expression): Likewise.
3077 * posix/regexec.c (sift_states_iter_mb): Likewise.
3078 (check_node_accept_bytes): Likewise.
3079 * posix/tst-spawn3.c (do_test): Likewise.
3080 * posix/wordexp-test.c (testit): Likewise.
3081 * posix/wordexp.c (parse_tilde): Likewise.
3082 (exec_comm): Likewise.
3083 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3084 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3085 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3086 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3087 * stdio-common/tst-fileno.c (do_test): Likewise.
3088 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3089 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3090 * stdlib/strtod_l.c (round_and_return): Likewise.
3091 (____STRTOF_INTERNAL): Likewise.
3092 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3093 * string/strcspn.c (STRCSPN): Likewise.
3094 * string/test-memmem.c (simple_memmem): Likewise.
3095 * termios/tcsetattr.c (tcsetattr): Likewise.
3096 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3097 * time/asctime.c (asctime_internal): Likewise.
3098 * time/strptime_l.c (__strptime_internal): Likewise.
3099 * time/sys/time.h (timercmp): Likewise.
3100 * time/tzfile.c (__tzfile_compute): Likewise.
3101
b0b50fe0
PF
31022019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3103
b39d961c
TS
3104 [BZ #21915]
3105 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3106
f43b8dd5
GG
31072019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3108
3109 * argp/argp-help.c (__argp_error_internal): New function,
3110 renamed from __argp_error, but that takes a 'mode_flags'
3111 parameter to control the format of long double parameters.
3112 (__argp_error): Converted into a call __argp_error_internal.
3113 (__argp_failure_internal): New function, renamed from
3114 __argp_failure, but that takes a 'mode_flags' parameter.
3115 (__argp_failure): Converted into a call __argp_failure_internal.
3116 * misc/err.c (__vwarnx_internal): New function, renamed from
3117 vwarnx, but that takes a 'mode_flags' parameter.
3118 (vwarnx): Converted into a call to __vwarnx_internal.
3119 (__vwarn_internal): New function, renamed from vwarn, but that
3120 takes a 'mode_flags' parameter.
3121 (vwarn): Converted into a call to __vwarn_internal.
3122 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3123 call to __vfxprintf with 'mode_flags'.
3124 (__error_internal): New function, renamed from error, but that
3125 takes a 'mode_flags' parameter.
3126 (error): Converted into a call to __error_internal.
3127 (__error_at_line_internal): New function, renamed from
3128 error_at_line, but that takes a 'mode_flags' parameter.
3129 (error_at_line): Converted into a call to
3130 __error_at_line_internal.
3131 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3132 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3133 Likewise.
3134
dc0afac3 31352019-02-20 Martin Liska <mliska@suse.cz>
3136
3137 * math/Makefile: Install math-vector-fortran.h.
3138 * bits/math-vector-fortran.h: New file.
3139 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3140
4a2dd41c
GG
31412019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3142
3143 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3144 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3145
04de9302
WS
31462019-02-19 Wolfram Sang <wsa@the-dreams.de>
3147
3148 * nptl/pthread_mutex_trylock.c: Fix comment.
3149
b026ce1e
CD
31502019-02-19 Carlos O'Donell <carlos@redhat.com>
3151
3152 * nptl/pthread_tryjoin.c: Fix comment.
3153
8c9289b6
JM
31542019-02-18 Joseph Myers <joseph@codesourcery.com>
3155
3156 [BZ #24231]
3157 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3158 after R_SPARC_H34 case.
3159
308e022f
FW
31602019-02-18 Florian Weimer <fweimer@redhat.com>
3161
3162 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3163 (getanswer): Do not call Dprintf.
3164 (res_gethostbyname2_context): Likewise.
3165 (res_gethostbyaddr_context): Likewise.
3166
a5406364
FW
31672019-02-18 Florian Weimer <fweimer@redhat.com>
3168
3169 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3170 declaration.
3171 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3172 Remove definitions.
3173 * libio/stdfiles.c: Update comment.
3174 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3175 set _IO_stdin, _IO_stdout, _IO_stderr.
3176 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3177 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3178 inline function.
3179 (_IO_deallocate_file): New inline function.
3180 * libio/iolibio.h (_IO_vprintf): Remove definition.
3181 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3182 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3183 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3184 _IO_legacy_file.
3185 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3186 __builtin_expect. Use _IO_legacy_file.
3187
6c29942c
SL
31882019-02-18 Stefan Liebler <stli@linux.ibm.com>
3189
3190 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3191 Initialize ctid with a known value and remove update of ctid
3192 after clone.
3193 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3194 as assumed current value of ctid_ptr.
3195
225d9445 31962019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3197
3198 Check that non-sysdeps headers have wrapper headers.
3199 * scripts/check-wrapper-headers.py: New file.
3200 * Makefile (tests-special): Add check-wrapper-headers.out.
3201 (check-wrapper-headers.out): New target.
3202 * Rules (tests-special): Add check-wrapper-headers.out.
3203 (check-wrapper-headers.out): New target.
3204
225d9445 32052019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3206
3207 Add missing header wrappers under include/.
3208 * include/ar.h: New file.
3209 * include/bits/mqueue2.h: Likewise.
3210 * include/bits/stdio.h: Likewise.
3211 * include/bits/stdio2.h: Likewise.
3212 * include/fstab.h: Likewise.
3213 * include/fts.h: Likewise.
3214 * include/lastlog.h: Likewise.
3215 * include/netinet/icmp6.h: Likewise.
3216 * include/netinet/igmp.h: Likewise.
3217 * include/netinet/ip6.h: Likewise.
3218 * include/re_comp.h: Likewise.
3219 * include/regexp.h: Likewise.
3220 * include/rpcsvc/bootparam.h: Likewise.
3221 * include/rpcsvc/yp_prot.h: Likewise.
3222 * include/sys/random.h: Likewise.
3223 * include/sys/stropts.h: Likewise.
3224 * include/sys/ttychars.h: Likewise.
3225 * include/sys/vfs.h: Likewise.
3226 * include/wait.h: Likewise.
3227
225d9445 32282019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3229
3230 * nptl_db/proc_service.h: Move to ...
3231 * sysdeps/nptl/proc_service.h: ... here.
3232 * nptl_db/thread_db.h: Move to ...
3233 * sysdeps/nptl/thread_db.h: ... here.
3234 * nptl/descr.h: Include <thread_db.h>.
3235
e442e40d
AZ
32362019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3237
3238 * io/Makefile (tests): Add tst-lockf.
3239 * io/lockf.c (lockf): Use __fcntl and only define for
3240 !__OFF_T_MATCHES_OFF64_T.
3241 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3242 __OFF_T_MATCHES_OFF64_T case.
3243 * io/tst-lockf.c: New file.
3244 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3245 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3246 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3247 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3248 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3250 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3251 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3252 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3253
bc10e22c
FW
32542019-02-15 Florian Weimer <fweimer@redhat.com>
3255
3256 [BZ #24211]
3257 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3258 pd->result after the thread descriptor has been freed.
3259
365f05c7
JM
32602019-02-15 Joseph Myers <joseph@codesourcery.com>
3261
8a11f970
JM
3262 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3263 from function return type.
3264
365f05c7
JM
3265 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3266
6b5c8607 32672019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3268
3269 * scripts/test_printers_common.py: Set TERM to a known harmless
3270 value.
3271
712182c8
JM
32722019-02-14 Joseph Myers <joseph@codesourcery.com>
3273
3274 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3275 (xdr_u_int): Likewise.
3276 (xdr_enum): Likewise.
3277 (xdr_bytes): Reword fall-through comment.
3278 (xdr_string): Likewise.
3279
eb76e5b4
AZ
32802019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3281
3282 [BZ #2421]
3283 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3284 (tests): Add tst-join8 tst-join9.
3285 * nptl/lll_timedwait_tid.c: Remove file.
3286 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3287 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3288 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3289 * nptl/pthread_join_common.c (timedwait_tid): New function.
3290 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3291 is set.
3292 * nptl/tst-join5.c (thread_join): New function.
3293 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3294 check.
3295 * nptl/tst-join8.c: New file.
3296 * nptl/tst-join9.c: Likewise.
3297 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3298 lll_futex_timed_wait_cancel): Add generic macros.
3299 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3300 Remove definitions.
3301 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3302 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3303 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3304 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3305 Remove function.
3306 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3307 Likewise.
3308 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3309 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3310 (lll_futex_timed_wait_cancel): New macro.
3311
3904fd85
WD
33122019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3313
3314 * benchtests/Makefile: Add malloc-simple benchmark.
3315 * benchtests/bench-malloc-simple.c: New benchmark.
3316
24ca04fe
SP
33172019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3318
3319 * benchtests/bench-memmove.c (do_one_test): Remove unused
3320 ORIG_SRC.
3321 (do_test): Adjust.
3322 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3323 ORIG_SRC.
3324 (do_test): Adjust.
3325
85bd1ddb
JW
33262019-01-13 Jim Wilson <jimw@sifive.com>
3327
3328 [BZ #24040]
3329 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3330 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3331 (func): New.
3332 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3333 call func directly.
3334 * nptl/Makefile (tests): Add tst-unwind-thread.
3335 (CFLAGS-tst-unwind-thread.c): Define.
3336 * nptl/tst-unwind-thread.c: New file.
3337 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3338 as undefined.
3339
86140c62
JM
33402019-02-13 Joseph Myers <joseph@codesourcery.com>
3341
10756268
JM
3342 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3343 comment wording.
3344 * nis/nis_call.c (__do_niscall3): Likewise.
3345
05383720
JM
3346 * catgets/gencat.c (normalize_line): Use braces around empty
3347 'else' body.
3348 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3349 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3350 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3351 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3352 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3353 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3354 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3355 definition.
3356
86140c62
JM
3357 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3358 execlp returns.
3359
16f87cfd
WD
33602019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3361
3362 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3363 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3364 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3365 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3366 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3367 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3368 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3369 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3370 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3371 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3372 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3373 * benchtests/bench-bcopy.c: Delete file.
3374 * benchtests/bench-bzero.c: Likewise.
3375 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3376 (simple_memccpy): Remove.
3377 (generic_memccpy): Add function.
3378 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3379 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3380 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3381 (generic_mempcpy): Add new function.
3382 * benchtests/bench-memset.c (simple_bzero): Remove.
3383 (builtin_bzero): Remove.
3384 (builtin_memset): Remove.
3385 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3386 (generic_rawmemchr): Add new function.
3387
0c6d82e9
FW
33882019-02-12 Florian Weimer <fweimer@redhat.com>
3389
3390 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3391
b3fbfe81
AZ
33922019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3393
3394 [BZ #24122]
3395 * elf/Makefile (tests): Add tst-audit13.
3396 (modules-names): Add tst-audit13mod1.
3397 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3398 rule.
3399 * elf/tst-audit13.c: New file.
3400 * elf/tst-audit13mod1.c: Likewise.
3401
3b856d09
FW
34022019-02-12 Florian Weimer <fweimer@redhat.com>
3403
3404 [BZ #24122]
3405 * elf/rtld.c (unload_audit_module): New function.
3406 (report_audit_module_load_error): Likewise.
3407 (load_audit_module): Likewise. Extracted from dl_main. Call
3408 _dl_close if the laversion symbol cannot be found. Use early
3409 returns for error handling. Add malloc error check. Check for a
3410 zero return value from la_version. Remove spurious comment about
3411 static TLS initialization. Remove useless casts.
3412 (notify_audit_modules_of_loaded_object): New function. Extracted
3413 from dl_main.
3414 (load_audit_module): Likewise.
3415 (dl_main): Call load_audit_modules.
3416
32db86d5
JM
34172019-02-12 Joseph Myers <joseph@codesourcery.com>
3418
3419 * elf/dl-exception.c (_dl_exception_create_format): Add
3420 fall-through comments.
3421 * elf/ldconfig.c (parse_conf_include): Likewise.
3422 * elf/rtld.c (print_statistics): Likewise.
3423 * locale/programs/charmap.c (parse_charmap): Likewise.
3424 * misc/mntent_r.c (__getmntent_r): Likewise.
3425 * posix/wordexp.c (parse_arith): Likewise.
3426 (parse_backtick): Likewise.
3427 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3428 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3430
a51bc4fe
PC
34312019-02-11 Paul A. Clarke <pc@us.ibm.com>
3432
3433 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3434 Use float instead of double.
3435
fb25b135
TS
34362019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3437
3438 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3439
32ea7299
JM
34402019-02-08 Joseph Myers <joseph@codesourcery.com>
3441
3442 * sysdeps/powerpc/bits/mathinline.h: Remove.
3443
eef4d4f8
FW
34442019-02-08 Florian Weimer <fweimer@redhat.com>
3445
3446 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3447 * math/bits/math-finite.h: Move to ...
3448 * bits/math-finite.h: ... here.
3449
fdfbd47d
FW
34502019-02-08 Florian Weimer <fweimer@redhat.com>
3451
3452 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3453 * bits/unistd_ext.h: here.
3454
11eb21c4
PF
34552019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3456
3457 [BZ #21915]
3458 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3459 * nss/tst-nss-files-hosts-long.c: New file.
3460 * nss/tst-nss-files-hosts-long.root: New directory.
3461 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3462 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3463
e47d82c9
FW
34642019-02-08 Florian Weimer <fweimer@redhat.com>
3465
3466 * include/bits/unistd_ext.h: Remove file.
3467 * posix/bits/unistd_ext.h: Move to ...
3468 * sysdeps/generic/bits/unistd_ext.h: ... here.
3469
8f89ab21
FW
34702019-02-08 Florian Weimer <fweimer@redhat.com>
3471
3472 * include/bits/unistd_ext.h: New file.
3473
144a794e
TS
34742019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3475
3476 * time/tst-strftime2.c: Use array_length macros instead of magic
3477 numbers.
3478
669ff911
FW
34792019-02-08 Florian Weimer <fweimer@redhat.com>
3480
3481 [BZ #24161]
3482 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3483 argument.
3484 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3485 locking if the new do_locking argument is true.
3486 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3487 __run_fork_handlers.
3488
d0bd87d4 34892019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3490
3491 [BZ #6399]
3492 Linux: Add gettid system call wrapper.
3493 * posix/Makefile (headers): Add bits/unistd_ext.h.
3494 * posix/bits/unistd_ext.h: New file.
3495 * posix/unistd.h: Include it.
3496 * manual/process.texi (Process Identification): Document gettid.
3497 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3498 tst-gettid, tst-gettid-kill.
3499 (tst-gettid): Link with $(shared-thread-library).
3500 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3501 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3502 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3503 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3504 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3505 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3506 Add gettid.
3507 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3508 Likewise.
3509 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3510 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3511 Likewise.
3512 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3513 Likewise.
3514 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3515 Likewise.
3516 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3517 Likewise.
3518 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3519 Likewise.
3520 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3521 Likewise.
3522 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3523 Likewise.
3524 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3525 (GLIBC_2.30): Likewise.
3526 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3527 (GLIBC_2.30): Likewise.
3528 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3529 (GLIBC_2.30): Likewise.
3530 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3531 (GLIBC_2.30): Likewise.
3532 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3533 Likewise.
3534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3535 (GLIBC_2.30): Likewise.
3536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3537 (GLIBC_2.30): Likewise.
3538 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3539 (GLIBC_2.30): Likewise.
3540 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3541 (GLIBC_2.30): Likewise.
3542 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3543 Likewise.
3544 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3545 Likewise.
3546 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3547 Likewise.
3548 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3549 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3550 Likewise.
3551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3552 Likewise.
3553 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3554 Likewise.
3555 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3556 Likewise.
3557 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3558
225d9445 35592019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3560
3561 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3562 compatibility symbols.
3563
823624bd
SL
35642019-02-07 Stefan Liebler <stli@linux.ibm.com>
3565
3566 [BZ #24180]
3567 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3568 Add compiler barriers and comments.
3569
8311c83f
FW
35702019-02-07 Florian Weimer <fweimer@redhat.com>
3571
3572 * include/array_length.h (array_length): Do not use a statement
3573 expression and _Static_assert, so that array_length can be used at
3574 file scope and as a constant expression.
3575
94b63e66
FW
35762019-02-07 Florian Weimer <fweimer@redhat.com>
3577
3578 * support/xdlfcn.h (xdlmopen): Declare.
3579 * support/xdlmopen.c: New file.
3580 * support/Makefile (libsupport-routines): Add xdlmopen.
3581
c2d8f0b7
JM
35822019-02-06 Joseph Myers <joseph@codesourcery.com>
3583
3584 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3585 before return type, without separate inline.
3586 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3587 * elf/dl-tunables.h (tunable_is_name): Likewise.
3588 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3589 (do_set_top_pad): Likewise.
3590 (do_set_mmap_threshold): Likewise.
3591 (do_set_mmaps_max): Likewise.
3592 (do_set_mallopt_check): Likewise.
3593 (do_set_perturb_byte): Likewise.
3594 (do_set_arena_test): Likewise.
3595 (do_set_arena_max): Likewise.
3596 (do_set_tcache_max): Likewise.
3597 (do_set_tcache_count): Likewise.
3598 (do_set_tcache_unsorted_limit): Likewise.
3599 * nis/nis_subr.c (count_dots): Likewise.
3600 * nptl/allocatestack.c (advise_stack_range): Likewise.
3601 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3602 (do_sin): Likewise.
3603 (reduce_sincos): Likewise.
3604 (do_sincos): Likewise.
3605 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3606 (do_set_elision_enable): Likewise.
3607 (TUNABLE_CALLBACK_FNDECL): Likewise.
3608
3b935595
FW
36092019-02-06 Florian Weimer <fweimer@redhat.com>
3610
3611 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3612 (xdlsym): Use dlerror to detect a NULL symbol.
3613
b4333340
FW
36142019-02-06 Florian Weimer <fweimer@redhat.com>
3615
3616 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3617 <stap-probe.h>.
3618 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3619
b6d8a999
SL
36202019-02-06 Stefan Liebler <stli@linux.ibm.com>
3621
3622 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3623
94eeeec0
SL
36242019-02-06 Stefan Liebler <stli@linux.ibm.com>
3625
3626 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3627 __wmemcmp and weak alias to wmemcmp.
3628
bc79db3f
SL
36292019-02-06 Stefan Liebler <stli@linux.ibm.com>
3630
3631 [BZ #23403]
3632 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3633 TLS_TCB_AT_TP tls variant.
3634 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3635 Add alignment checks.
3636 * support/Makefile (libsupport-routines): Add xposix_memalign and
3637 xpthread_setstack.
3638 * support/support.h: Add xposix_memalign.
3639 * support/xthread.h: Add xpthread_attr_setstack.
3640 * support/xposix_memalign.c: New File.
3641 * support/xpthread_attr_setstack.c: Likewise.
3642
f1ac7455
FW
36432019-02-05 Florian Weimer <fweimer@redhat.com>
3644
3645 [BZ #24164]
3646 arm: Use "nr" constraint for Systemtap probes, to avoid the
3647 compiler using memory operands for constants, due to the "o"
3648 alternative in the default "nor" constraint.
3649 * include/stap-probe.h [USE_STAP_PROBE]: Include
3650 <stap-probe-machine.h>
3651 * sysdeps/generic/stap-probe-machine.h: New file.
3652 * sysdeps/arm/stap-probe-machine.h: Likewise.
3653
7a0dcfc6
JM
36542019-02-04 Joseph Myers <joseph@codesourcery.com>
3655
77dc0d86
JM
3656 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3657 with 0, not tcache->entries[tc_idx].
3658
7a0dcfc6
JM
3659 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3660 once.
3661
65f7767a
AS
36622019-02-04 Andreas Schwab <schwab@suse.de>
3663
3664 [BZ #16976]
3665 [BZ #17396]
3666 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3667 looking up collating elements match against (wide) character
3668 sequence instead of name. Correct alignment adjustment.
3669 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3670 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3671 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3672 (LOCALES): Add cs_CZ.ISO-8859-2.
3673 * posix/tst-fnmatch4.c: New file.
3674 * posix/tst-fnmatch5.c: New file.
3675 * include/wchar.h (__wmemcmp): Declare.
3676 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3677 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3678 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3679 * sysdeps/s390/wmemcmp.c: Likewise.
3680
3f635fb4
L
36812019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3682
3683 [BZ #24155]
3684 CVE-2019-7309
3685 * NEWS: Updated for CVE-2019-7309.
3686 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3687 upper 32 bits of RDX register for x32. Use unsigned Jcc
3688 instructions, instead of signed.
3689 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3690 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3691
2ab5741b
FW
36922019-02-04 Florian Weimer <fweimer@redhat.com>
3693
3694 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3695 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3696 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3697 Likewise.
3698 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3699 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3700 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3701 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3702 Likewise.
3703 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3704 Likewise.
3705 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3706 Likewise.
3707 (posix_spawn_file_actions_addopen): Likewise.
3708 (posix_spawn_file_actions_addclose): Likewise.
3709 (posix_spawn_file_actions_adddup2): Likewise.
3710 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3711 qualifiers.
3712 (posix_spawn_file_actions_addfchdir_np): Likewise.
3713
8692ebdb
DN
37142019-02-04 David Newall <glibc@davidnewall.com>
3715
3716 elf: Implement --preload option for the dynamic linker.
3717 * elf/rtld.c (preloadarg): New variable.
3718 (handle_preload_list): Pass through “where” argument to
3719 do_preload.
3720 (dl_main): Handle "--preload" and add second call to
3721 handle_preload_list.
3722 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3723 (tst-rtld-preload-OBJS): Set variable.
3724 (tst-rtld-preload.out): New target.
3725 * elf/tst-rtld-preload.sh: New file.
3726
5e10136b
MM
37272019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3728
3729 * Makefile (testrun.sh): Exit in case of incorrect argument.
3730
221baae0
FW
37312019-02-04 Florian Weimer <fweimer@redhat.com>
3732
3733 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3734 alignment gaps.
3735
b8c72381
FW
37362019-02-03 Florian Weimer <fweimer@redhat.com>
3737
3738 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3739 implicit overflow checks.
3740
11f382ee
AJ
37412019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3742
3743 * stdlib/isomac.c: Include <unistd.h>.
3744
77c7d55e
FW
37452019-02-03 Florian Weimer <fweimer@redhat.com>
3746
3747 * include/time.h (__tzfile_default): Use int, not long int, for
3748 the GMT offsets.
3749 * time/tzfile.c (struct ttinfo): Change type of the offset member
3750 to int.
3751 (__tzfile_read): Remove useless cast.
3752 (__tzfile_default): Adjust prototype.
3753 * time/tzset.c (tz_rule): Change type of the offset member to int.
3754 (parse_offset): Change the type of the sign variable to int.
3755
ee9941f9
FW
37562019-02-03 Florian Weimer <fweimer@redhat.com>
3757
3758 [BZ #24153]
3759 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3760 * libio/getchar.c (getchar): Likewise.
3761 * libio/getchar_u.c (getchar_unlocked): Likewise.
3762 * libio/getwchar.c (getwchar): Likewise.
3763 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3764 * libio/iogets.c (_IO_gets): Likewise.
3765 * libio/vscanf.c (_IO_vscanf): Likewise.
3766 * libio/vwscanf.c (__vwscanf): Likewise.
3767 * libio/tst-bz24153.c: New file.
3768 * libio/Makefile (tests): Add it.
3769
c70824b9
FW
37702019-02-02 Florian Weimer <fweimer@redhat.com>
3771
3772 [BZ #14829]
3773 * manual/resource.texi (Basic Scheduling Functions): Add
3774 portability note. Change process to task throughout the section.
3775 Remove incorrect comment about sched_yield as it affects
3776 tasks/threads, not entire processes.
3777 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3778 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3779
4dcbbc3b
JM
37802019-02-01 Joseph Myers <joseph@codesourcery.com>
3781
3782 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3783 * configure: Regenerated.
3784 * manual/install.texi (Tools for Compilation): Update minimum GCC
3785 version.
3786 * INSTALL: Regenerated.
3787
6175507c
FW
37882019-02-01 Florian Weimer <fweimer@redhat.com>
3789
3790 * support/support_test_compare_string.c
3791 (support_test_compare_string): Use "string" in error message.
3792 * support/tst-test_compare_string.c (do_test): Adjust.
3793
baef1943
FW
37942019-02-01 Florian Weimer <fweimer@redhat.com>
3795
3796 * support/support_format_address_family.c
3797 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3798
395599f0
FW
37992019-02-01 Florian Weimer <fweimer@redhat.com>
3800
3801 * manual/socket.texi (Internet Address Formats): Clarify the byte
3802 order of struct sockaddr_in, struct sockaddr_in6. Document
3803 sin6_flowinfo and sin6_scope_id.
3804
b06f4c00
WD
38052019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3806
3807 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3808 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3809 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3810 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3811 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3812 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3813
83d1cc42
FX
38142019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3815
3816 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3817 [!MEMCHR](MEMCHR): Set to __memchr.
3818 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3819 Add memchr_generic and memchr_nosimd.
3820 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3821 (__libc_ifunc_impl_list): Add memchr ifuncs.
3822 * sysdeps/aarch64/multiarch/memchr.c: New file.
3823 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3824 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3825
c7d3890f
FX
38262019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3827
3828 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3829 Add memset_emag.
3830 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3831 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3832 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3833 Add IS_EMAG check for ifunc dispatch.
3834 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3835 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3836
07c3d1ec
FX
38372019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3838
3839 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3840 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3841 Add emag.
3842 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3843 New macro.
3844
114f792e
SL
38452019-02-01 Stefan Liebler <stli@linux.ibm.com>
3846
3847 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3848
d5627550
VG
38492019-01-31 Vineet Gupta <vgupta@synopsys.com>
3850
3851 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3852 syscall-template file.
3853
5fc9ed4c
CD
38542019-01-31 Carlos O'Donell <carlos@redhat.com>
3855 Torvald Riegel <triegel@redhat.com>
3856 Rik Prohaska <prohaska7@gmail.com>
3857
3858 [BZ# 23844]
3859 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3860 tst-rwlock-trywrlock-stall.
3861 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3862 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3863 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3864 Set __wrphase_fute to 1 only if we started the write phase.
3865 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3866 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3867 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3868 * support/xpthread_rwlock_destroy.c: New file.
3869 * support/xthread.h: Declare xpthread_rwlock_destroy.
3870
932329a5
JM
38712019-02-01 Joseph Myers <joseph@codesourcery.com>
3872
3873 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3874 version to 4.0.2.
3875
5f10701f
PP
38762019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3877
3878 [BZ #24051]
3879 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3880 * libio/fileops.c (_IO_new_file_underflow): Likewise
3881 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3882 * libio/putchar.c (putchar): Likewise.
3883 * libio/putchar_u.c (putchar_unlocked): Likewise.
3884 * libio/putwchar.c (putchar): Likewise.
3885 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3886 * libio/tst-bz24051.c: New test.
3887 * libio/Makefile (tests): Add tst-bz24051
3888
583dd860
PE
38892019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3890
b626c5aa 3891 CVE-2019-9169
583dd860
PE
3892 regex: fix read overrun [BZ #24114]
3893 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3894 https://debbugs.gnu.org/34140
3895 * posix/regexec.c (proceed_next_node):
3896 Do not read past end of input buffer.
3897
2bac7daa
FW
38982019-01-31 Florian Weimer <fweimer@redhat.com>
3899
3900 [BZ #24059]
3901 * nss/nss_files/files-alias.c (get_next_alias): Handle
3902 continuation line without newline at the end.
3903 * nss/tst-nss-files-alias-truncated.c: New file.
3904 * nss/Makefile [$(build-shared)] (tests): Add
3905 tst-nss-files-alias-truncated.
3906 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3907 * support/namespace.h (struct support_chroot_configuration): Add
3908 aliases member.
3909 (struct support_chroot): Add path_aliases member.
3910 * support/support_chroot.c (support_chroot_create): Handle
3911 aliases.
3912 (support_chroot_free): Free path_aliases.
3913
330c9d0d
SP
39142019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3915
de44ab67
SP
3916 * version.h (RELEASE): Set to "development".
3917 (VERSION): Set to "2.29.9000".
3918 * NEWS: Add section for 2.30.
3919
56c86f5d
SP
3920 * version.h (RELEASE): Set to "stable".
3921 (VERSION): Set to "2.29".
3922 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3923
330c9d0d
SP
3924 * NEWS: Add the list of bugs fixed in 2.29.
3925 * manual/contrib.texi: Update contributors list with some more
3926 names.
3927 * manual/install.texi: Update latest versions of packages
3928 tested.
3929 * INSTALL: Regenerated.
3930
e1e47c91
SP
39312019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3932
3933 * po/be.po: Update translations.
3934 * po/bg.po: Likewise.
3935 * po/ca.po: Likewise.
3936 * po/cs.po: Likewise.
3937 * po/da.po: Likewise.
3938 * po/de.po: Likewise.
3939 * po/el.po: Likewise.
3940 * po/eo.po: Likewise.
3941 * po/es.po: Likewise.
3942 * po/fi.po: Likewise.
3943 * po/fr.po: Likewise.
3944 * po/gl.po: Likewise.
3945 * po/hr.po: Likewise.
3946 * po/hu.po: Likewise.
3947 * po/ia.po: Likewise.
3948 * po/id.po: Likewise.
3949 * po/it.po: Likewise.
3950 * po/ja.po: Likewise.
3951 * po/ko.po: Likewise.
3952 * po/lt.po: Likewise.
3953 * po/nb.po: Likewise.
3954 * po/nl.po: Likewise.
3955 * po/pl.po: Likewise.
3956 * po/pt_BR.po: Likewise.
3957 * po/ru.po: Likewise.
3958 * po/rw.po: Likewise.
3959 * po/sk.po: Likewise.
3960 * po/sl.po: Likewise.
3961 * po/sv.po: Likewise.
3962 * po/tr.po: Likewise.
3963 * po/uk.po: Likewise.
3964 * po/vi.po: Likewise.
3965 * po/zh_CN.po: Likewise.
3966 * po/zh_TW.po: Likewise.
3967
8d016826
UB
39682019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3969
3970 [BZ #24130]
3971 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3972 of $f3 register on $y_is_neg path.
3973
a0bb5abd
ST
39742019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3975
b96e22d0 3976 [BZ #24110]
a0bb5abd
ST
3977 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3978 sigaltstack.ss_flags.
3979
b22eed37
TS
39802019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3981
3982 [BZ #23758]
3983 * manual/time.texi (strftime): Document "%Ey".
3984 * time/strftime_l.c (__strftime_internal): Set the default width
3985 padding with zero of "%Ey" to 2.
3986
32f600a2
TS
3987 [BZ #24096]
3988 * manual/time.texi (strftime): Document "%EC" and "%EY".
3989 * time/Makefile (tests): Add tst-strftime2.
3990 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3991 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3992 override padding for "%Ey".
3993 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3994 "%Ey" in the subformat as if decorated with that flag.
3995 * time/tst-strftime2.c: New file.
3996
8e889c5d
AZ
39972019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3998
3367acdb
AZ
3999 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4000 are not defined.
4001
8e889c5d
AZ
4002 [BZ #24122]
4003 * elf/Makefile (tests): Add tst-audit13.
4004 (modules-names): Add tst-audit13mod1.
4005 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4006 rule.
4007 * elf/rtld.c (dl_main): Handle invalid audit module version.
4008 * elf/tst-audit13.c: New file.
4009 * elf/tst-audit13mod1.c: Likewise.
4010
a95dc01c
ST
40112019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4012
4013 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4014 returned by __hurd_at_flags.
ee4d7902
ST
4015 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4016 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4017 directly instead of __hurd_file_name_lookup.
a95dc01c 4018
712f1167
JM
40192019-01-21 Joseph Myers <joseph@codesourcery.com>
4020
4021 * scripts/build-many-glibcs.py (Context.checkout): Default
4022 binutils version to 2.32 branch.
4023
108bc404
FW
40242019-01-21 Florian Weimer <fweimer@redhat.com>
4025
4026 [BZ #20018]
4027 CVE-2016-10739
4028 resolv: Reject trailing characters in host names
4029 * include/arpa/inet.h (__inet_aton_exact): Declare.
4030 (inet_aton): Remove hidden prototype. No longer used internally.
4031 * nscd/gai.c (__inet_aton): Do not define.
4032 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4033 * nss/digits_dots.c (__inet_aton): Likewise.
4034 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4035 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4036 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4037 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4038 (tst-resolv-trailing): Likewise.
4039 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4040 libc.
4041 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4042 Make static. Add endp parameter.
4043 (__inet_aton_exact): New function.
4044 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4045 (__inet_addr): Call inet_aton_end.
4046 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4047 not just IPv6. Call __inet_aton_exact.
4048 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4049 (tests): Make const. Add additional test cases with trailing
4050 characters.
4051 (do_test): Use array_length.
4052 * resolv/tst-inet_aton_exact.c: New file.
4053 * resolv/tst-resolv-trailing.c: Likewise.
4054 * resolv/tst-resolv-nondecimal.c: Likewise.
4055 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4056
5165de69
L
40572019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4058
4059 [BZ# 24097]
4060 CVE-2019-6488
4061 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4062 Clear the upper 32 bits of RSI register.
4063 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4064 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4065 and tst-size_t-wcsnlen.
4066 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4067 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4068
c7c54f65
L
40692019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4070
4071 [BZ# 24097]
4072 CVE-2019-6488
4073 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4074 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4075 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4076 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4077 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4078
ee915088
L
40792019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4080
4081 [BZ# 24097]
4082 CVE-2019-6488
4083 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4084 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4085 * sysdeps/x86_64/strcmp.S: Likewise.
4086 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4087 tst-size_t-strncmp and tst-size_t-wcsncmp.
4088 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4089 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4090 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4091
82d0b4a4
L
40922019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4093
4094 [BZ# 24097]
4095 CVE-2019-6488
4096 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4097 RDX_LP for length. Clear the upper 32 bits of RDX register.
4098 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4099 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4100 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4101 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4102
ecd8b842
L
41032019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4104
4105 [BZ# 24097]
4106 CVE-2019-6488
4107 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4108 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4109 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4110 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4111
231c5676
L
41122019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4113
4114 [BZ# 24097]
4115 CVE-2019-6488
4116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4117 length. Clear the upper 32 bits of RDX register.
4118 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4119 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4120 Likewise.
4121 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4122 Likewise.
4123 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4124 tst-size_t-wmemchr.
4125 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4126
b304fc20
L
41272019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4128
4129 [BZ# 24097]
4130 CVE-2019-6488
4131 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4132 length. Clear the upper 32 bits of RDX register.
4133 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4134 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4135 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4136 tst-size_t-wmemcmp.
4137 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4138 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4139
97700a34
L
41402019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4141
4142 [BZ# 24097]
4143 CVE-2019-6488
4144 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4145 upper 32 bits of RDX register.
4146 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4147 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4148 tst-size_t-wmemchr.
4149 * sysdeps/x86_64/x32/test-size_t.h: New file.
4150 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4151 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4152
6ca53a24
FW
41532019-01-18 Florian Weimer <fweimer@redhat.com>
4154
4155 [BZ #24112]
4156 resolv: Do not send queries for non-host-names in nss_dns.
4157 * resolv/nss_dns/dns-host.c (check_name): New function.
4158 (_nss_dns_gethostbyname2_r): Use it.
4159 (_nss_dns_gethostbyname_r): Likewise.
4160 (_nss_dns_gethostbyname4_r): Likewise.
4161
5e30b8ef
FW
41622019-01-21 Florian Weimer <fweimer@redhat.com>
4163
4164 * resolv/inet_addr.c: Reformat to GNU style.
4165 (__inet_addr, __inet_aton): Update comment.
4166
71effcea
FW
41672019-01-18 Florian Weimer <fweimer@redhat.com>
4168
4169 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4170 ("malloc: Use current (C11-style) atomics for fastbin access").
4171 This commit introduces a substantial performance regression on
4172 POWER and Aarch64.
4173 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4174 (REMOVE_FB): Define.
4175 (_int_malloc): Use it and reindent.
4176 (_int_free): Use CAS loop with
4177 catomic_compare_and_exchange_val_rel.
4178 (malloc_consolidate): Use atomic_exchange_acq.
4179
4180
562f4362
L
41812019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4182
4183 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4184 -Wl,-z,now.
4185 (LDFLAGS-tst-minsigstksz-2): Likewise.
4186 (LDFLAGS-tst-minsigstksz-3): Likewise.
4187 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4188 (LDFLAGS-tst-minsigstksz-4): Likewise.
4189
80dfa298
TS
41902019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4191
4192 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4193 than "alternate".
4194
008b598e
PC
41952019-01-16 Paul A. Clarke <pc@us.ibm.com>
4196
4197 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4198
fbbc9a4e
ZW
41992019-01-16 Zack Weinberg <zackw@panix.com>
4200
6b5c8607
TS
4201 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4202 (xget_sigstack_location): New test support functions.
4203 * support/xsigstack.c: New file, implementing them.
4204 * support/tst-xsigstack.c: New test for them.
4205 * support/Makefile: Update.
fbbc9a4e 4206
6b5c8607
TS
4207 * signal/tst-minsigstksz-1.c
4208 * signal/tst-minsigstksz-2.c
4209 * signal/tst-minsigstksz-3.c
4210 * signal/tst-minsigstksz-3a.c
4211 * signal/tst-minsigstksz-4.c: New tests.
4212 * signal/Makefile: Run them.
fbbc9a4e 4213
5f1135e4
SP
42142019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4215
4216 * po/libc.pot: Regenerate.
4217
ecdacd34
TMQMF
42182019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4219
4220 * math/libm-test-fma.inc (fma_test_data): Set
4221 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4222
56054664
RA
42232019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4224
4225 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4226 (do_test): Changed __vector __int128_t to __vector unsigned int.
4227
1a153e47
LS
42282019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4229
4230 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4231 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4232 stpcpy-avx2 and stpncpy-avx2.
4233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4234 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4235 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4236 and __stpncpy_avx2.
4237 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4238 ifunc-strcpy.h}: rename header for a more generic name.
4239 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4240 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4241 AVX unaligned load is fast and vzeroupper is preferred.
4242 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4243 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4244 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4245 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4246 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4247 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4248
a1b02ae7
DL
42492019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4250
4251 * argp/argp-help.c: Fix typo in comment.
4252 * misc/sys/cdefs.h: Likewise.
4253 * posix/regexec.c (sift_states_iter_mb): Likewise.
4254 * socket/sockatmark.c: Likewise.
4255 * socket/sys/socket.h: Likewise.
4256 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4257 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4258 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4259 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4260 * sysdeps/unix/sockatmark.c: Likewise.
4261 * time/strptime_l.c: Likewise.
4262
5cbbf01e
TS
42632019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4264
4265 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4266 missing space after the cast of "_NL_CURRENT".
4267
0bc9bdf1
RA
42682019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4269
4270 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4271 ifdef to fix read of VSCR.
4272 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4273 tst-ucontext-ppc64-vscr.c to test list.
4274 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4275
5494af04
AH
42762019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4277
4278 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4279 fall-through.
4280
e17f63ff
JW
42812019-01-09 Jim Wilson <jimw@sifive.com>
4282
4283 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4284
02f440c1
WD
42852019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4286
4287 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4288 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4289 __memcpy_falkor for ares.
4290 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4291 Add new define.
4292 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4293 Add ares cpu.
4294
69da3c9e
L
42952019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4296
4297 [BZ #24066]
4298 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4299 4_FP_W_TYPEs are used for IEEE quad precision.
4300 * soft-fp/extendhftf2.c: Likewise.
4301 * soft-fp/extendsftf2.c: Likewise.
4302 * soft-fp/extendxftf2.c: Likewise.
4303 * soft-fp/trunctfdf2.c: Likewise.
4304 * soft-fp/trunctfhf2.c: Likewise.
4305 * soft-fp/trunctfsf2.c: Likewise.
4306 * soft-fp/trunctfxf2.c: Likewise.
4307 * sysdeps/alpha/ots_cvttx.c: Likewise.
4308 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4309 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4310 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4311 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4312 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4313 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4314 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4315 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4316 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4317 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4318 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4319 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4320 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4321 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4322 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4323 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4324 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4325
2ef42716
AJ
43262019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4327
4328 [BZ #24024]
4329 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4330 code with -fmath-errno.
4331 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4332 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4333 * string/test-strerror-errno.c: New file.
4334
7395f3a0
AJ
43352019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4336
4337 [BZ #24046]
4338 * localedata/locales/en_US (date_fmt): Add, set to
4339 "%a %d %b %Y %r %Z".
4340
010fe231
FW
43412019-01-07 Florian Weimer <fweimer@redhat.com>
4342
4343 [BZ #24063]
4344 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4345 instead of @var{errno}.
4346 (Parsing of Integers): Likewise.
4347 (Parsing of Floats): Likewise.
4348 * manual/filesys.texi (Working with Directory Trees): Likewise.
4349 (Temporary Files): Likewise.
4350 * manual/job.texi (Terminal Access Functions): Likewise.
4351 * manual/llio.texi (Synchronizing I/O): Likewise.
4352 * manual/math.texi (SVID Random): Likewise.
4353 * manual/message.texi (The catgets Functions): Likewise.
4354 (Translation with gettext): Likewise.
4355 (Locating gettext catalog): Likewise.
4356 (Charset conversion in gettext): Likewise.
4357 * manual/nss.texi (NSS Module Function Internals): Likewise.
4358 * manual/search.texi (Hash Search Function): Likewise.
4359 * manual/setjmp.texi (System V contexts): Likewise.
4360 * manual/time.texi (Sleeping): Likewise.
4361 * manual/users.texi (Lookup User): Likewise.
4362 (Lookup Group): Likewise.
4363
b79dc8d0
AZ
43642019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4365
4366 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4367 fix typo.
4368
890461fe 43692019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4370
4371 [BZ #19444]
4372 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4373 __builtin_unreachable for default case in switch.
4374 (__ieee754_yn): Likewise.
4375 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4376 (__ieee754_ynl): Likewise.
4377 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4378 (__ieee754_ynl): Likewise.
4379 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4380 (__ieee754_ynl): Likewise.
4381
8b18d418
SN
43822019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4383
4384 * manual/maint.texi: Use @{ and @}.
4385
4392898d
FW
43862019-01-04 Florian Weimer <fweimer@redhat.com>
4387
4388 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4389 function.
4390 (do_in_chroot_1): Call it.
4391 (run_chroot_tests):
4392 Improve error reporting in case it is not possible to create a
4393 collision for the PTY name required by the test.
4394
17cc27d5
AZ
43952019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4396
ce7eb0e9
AZ
4397 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4398 lll_wait_tid with timeout.
4399 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4400 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4401 futex_reltimed_wait_cancelable for cancelabla mode.
4402 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4403 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4404 macros.
4405 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4406 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4407 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4408 SYSCALL_CANCEL_NCS): New macro.
4409 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4410 (lll_timedwait_tid): Remove macro.
4411 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4412 Likewise.
4413 (lll_timedwait_tid): Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4415 Likewise.
4416 (lll_timedwait_tid): Likewise.
4417 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4418 Likewise.
4419 (lll_timedwait_tid): Likewise.
4420 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4421 Use INTERNAL_SYSCALL_CANCEL.
4422 * sysdeps/unix/sysv/linux/futex-internal.h
4423 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4424 instead of __pthread_{enable,disable}_asynccancel.
4425 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4426 (lll_futex_wait_cancel): New macro.
4427
0b13e255
AZ
4428 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4429 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4430
85c828a4
AZ
4431 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4432 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4433
d0d7f85f
AZ
4434 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4435 in backtrace analysis.
4436 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4437 side-effects.
4438 (tf_send): Likewise.
4439
17cc27d5
AZ
4440 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4441 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4442 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4443 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4444 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4445 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4446 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4447 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4448 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4449 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4450 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4451 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4452 Likewise.
4453 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4454 tst-cancel-wrappers.sh.
4455 (generated): Remove tst-cancel-wrappers.out.
4456 (tst-cancel-wrappers.out): Remove rule.
4457 * nptl/tst-cancel-wrappers.sh: Remove file.
4458
7d7af8f1
SN
44592019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4460
4461 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4462 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4463 Update.
4464
805334b2
AZ
44652019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4466
4467 [BZ #23640]
4468 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4469 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4470 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4471 close-on-exec reset for adddup2 file action.
4472 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4473
03992356
ZW
44742019-01-03 Zack Weinberg <zackw@panix.com>
4475
4476 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4477 parameter. Only use deprecated scanf when __USE_GNU is defined
4478 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4479 than 201103L, whichever is relevant for the language being compiled.
4480
4481 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4482 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4483 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4484 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4485 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4486
4487 * libio/iovsscanf.c
4488 * libio/fwscanf.c
4489 * libio/iovswscanf.c
4490 * libio/swscanf.c
4491 * libio/vscanf.c
4492 * libio/vwscanf.c
4493 * libio/wscanf.c
4494 * stdio-common/fscanf.c
4495 * stdio-common/scanf.c
4496 * stdio-common/vfscanf.c
4497 * stdio-common/vfwscanf.c
4498 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4499 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4500 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4501 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4502 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4503 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4504 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4505 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4506 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4507 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4508 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4509 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4510 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4511 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4512 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4513
4514 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4515 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4516 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4517 not sscanf.
4518 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4519 with a preprocessor macro.
4520
4521 * stdio-common/bug21.c, stdio-common/scanf14.c:
4522 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4523 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4524 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4525 to xscanf, xfscanf, xsscanf.
4526
4527 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4528 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4529 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4530 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4531 xfscanf, xsscanf.
4532 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4533 override feature selection macros or provide definitions of u_char etc.
4534 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4535 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4536 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4537 with -std=gnu89.
4538
8083afa5
AZ
45392019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4540
6f343c1f
AZ
4541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4542 bits/termios-misc.h.
4543 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4544 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4545 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4546 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4547 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4548 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4549
51f4beb0
AZ
4550 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4551 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4552 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4553 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4554 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4555 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4556 termios-misc.h.
4557 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4558 (sysdep_headers): Add termios-misc.h.
4559
f69c5cb2
AZ
4560 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4561 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4562 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4563
3aa4a07e
AZ
4564 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4565 termios-tcflow.h.
4566 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4567 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4568 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4569 TCSAFLUSH): Move to termios-tcflow.h.
4570 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4571 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4572 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4573 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4574
22679ddf
AZ
4575 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4576 termios-c_lflag.h.
4577 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4578 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4579 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4580 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4581 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4582 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4583 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4584 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4585 Likewise.
4586 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4587 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4588 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4589 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4590
72eb6ecc
AZ
4591 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4592 termios-c_cflag.h.
4593 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4594 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4595 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4596 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4597 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4598 termios-c_cflag.h.
4599 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4600 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4601 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4602 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4603
9c5d0d02
AZ
4604 [BZ #23783]
4605 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4606 termios-baud.h.
4607 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4608 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4609 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4610 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4611 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4612 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4613 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4614 __MAX_BAUD): Move to termios-baud.h.
4615 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4616 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4617 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4618 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4619 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4620
7b832018
AZ
4621 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4622 termios-c_oflag.h.
4623 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4624 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4625 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4626 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4627 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4628 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4629 termios-c_oflag.h.
4630 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4631 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4632 FFR1): Likewise.
4633 [USE_MISC] (XTABS): Likewise.
4634 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4635 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4636 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4637 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4638
3127003e
AZ
4639 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4640 termios-c_iflag.h.
4641 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4642 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4643 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4644 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4645 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4646 IUTF8): Move to termios-c_iflag.h.
4647 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4648 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4649 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4650 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4651
48c1dd96
AZ
4652 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4653 termios-cc.h.
4654 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4655 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4656 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4659 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4660 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4661 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4662 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4663 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4664 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4665 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4666
e5a50db3
AZ
4667 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4668 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4669 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4670 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4671 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4672 termios-struct.h.
4673 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4674 termios-struct.h.
4675 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4676 Likewise.
4677 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4678 Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4680 Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4682 Likewise.
4683 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4684 _HAVE_C_OSPEED): Define.
4685 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4686 _HAVE_C_OSPEED): Likewise.
4687 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4688 _HAVE_C_OSPEED): Likewise.
4689 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4690 (cfsetospeed): Check for define value instead of existence.
4691 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4692 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4693 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4694 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4695 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4696
8083afa5
AZ
4697 [BZ #17783]
4698 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4699 Define.
4700 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4701 (TIOCSER_TEMT): Likewise.
4702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4703 (TEOCSER_TEMT): Likewise.
4704
4d7d7dc6
P
47052019-01-02 PanderMusubi <pander@users.sourceforge.net>
4706
4707 [BZ #24011]
4708 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4709
8e291a29
JM
47102019-01-02 Joseph Myers <joseph@codesourcery.com>
4711
4712 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4713
55137f7d
ST
47142019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4715
4716 * sysdeps/htl/pt-barrierattr-setpshared.c
4717 (pthread_barrierattr_setpshared): Add stub warning.
4718 * sysdeps/htl/pt-condattr-setpshared.c
4719 (pthread_condattr_setpshared): Likewise.
4720 * sysdeps/htl/pt-mutexattr-setpshared.c
4721 (pthread_mutexattr_setpshared): Likewise.
4722 * sysdeps/htl/pt-rwlockattr-setpshared.c
4723 (pthread_rwlockattr_setpshared): Likewise.
4724 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4725 (pthread_mutexattr_setpshared): Likewise.
4726
2ce09e01
JM
47272019-01-02 Joseph Myers <joseph@codesourcery.com>
4728
acb55dcb
JM
4729 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4730 constants to match with Linux 4.20.
4731
2ce09e01
JM
4732 * sysdeps/mips/mips32/libm-test-ulps: Update.
4733 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4734
fe20bb1d
AJ
47352019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4736
4737 [BZ #24034]
4738 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4739 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4740 than __typeof (...) for the a_ptr variable.
4741
2d9837c1
GG
47422019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4743
4744 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4745 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4746 * libio/Makefile (tests): Add tst-sprintf-ub and
4747 tst-sprintf-chk-ub.
4748 (CFLAGS-tst-sprintf-ub.c): New variable.
4749 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4750 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4751 destination buffer and check for overflows in fortified mode.
4752 * libio/libioP.h (PRINTF_CHK): New macro.
4753 * libio/tst-sprintf-chk-ub.c: New file.
4754 * libio/tst-sprintf-ub.c: Likewise.
4755
d5c6df0b 47562019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4757
4758 [BZ #24018]
4759 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4760 failure.
4761
66081e38
FW
47622019-01-02 Florian Weimer <fweimer@redhat.com>
4763
4764 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4765
04277e02
JM
47662019-01-01 Joseph Myers <joseph@codesourcery.com>
4767
6ef3d225
JM
4768 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4769 macro.
4770
e3d4e292
JM
4771 * sysdeps/unix/sysv/linux/netpacket/packet.h
4772 (PACKET_IGNORE_OUTGOING): New macro.
4773
f4507797
JM
4774 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4775 macro.
4776
47ad5e1a
JM
4777 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4778 version to 4.20.
4779 (riscv_flush_icache): New syscall.
4780
7628a1b0
JM
4781 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4782 trailing whitespace removed.
4783 * scripts/config.guess: Update to version 2019-01-01.
4784 * scripts/config.sub: Update to version 2019-01-01.
4785 * scripts/move-if-change: Update from gnulib.
4786
c9123888
JM
4787 * NEWS: Update copyright dates.
4788 * catgets/gencat.c (print_version): Likewise.
4789 * csu/version.c (banner): Likewise.
4790 * debug/catchsegv.sh: Likewise.
4791 * debug/pcprofiledump.c (print_version): Likewise.
4792 * debug/xtrace.sh (do_version): Likewise.
4793 * elf/ldconfig.c (print_version): Likewise.
4794 * elf/ldd.bash.in: Likewise.
4795 * elf/pldd.c (print_version): Likewise.
4796 * elf/sotruss.sh: Likewise.
4797 * elf/sprof.c (print_version): Likewise.
4798 * iconv/iconv_prog.c (print_version): Likewise.
4799 * iconv/iconvconfig.c (print_version): Likewise.
4800 * locale/programs/locale.c (print_version): Likewise.
4801 * locale/programs/localedef.c (print_version): Likewise.
4802 * login/programs/pt_chown.c (print_version): Likewise.
4803 * malloc/memusage.sh (do_version): Likewise.
4804 * malloc/memusagestat.c (print_version): Likewise.
4805 * malloc/mtrace.pl: Likewise.
4806 * manual/libc.texinfo: Likewise.
4807 * nptl/version.c (banner): Likewise.
4808 * nscd/nscd.c (print_version): Likewise.
4809 * nss/getent.c (print_version): Likewise.
4810 * nss/makedb.c (print_version): Likewise.
4811 * posix/getconf.c (main): Likewise.
4812 * scripts/test-installation.pl: Likewise.
4813 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4814
04277e02
JM
4815 * All files with FSF copyright notices: Update copyright dates
4816 using scripts/update-copyrights.
4817 * locale/programs/charmap-kw.h: Regenerated.
4818 * locale/programs/locfile-kw.h: Likewise.
4819
e740e5b1
JM
48202018-12-31 Joseph Myers <joseph@codesourcery.com>
4821
4822 * timezone/zdump.c: Update from tzcode 2018i.
4823 * timezone/zic.c: Likewise.
4824
9b7f98b3
PE
48252018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4826
4827 regex: improve Gnulib port to AIX
4828 From the glibc point of view, this removes duplicate macro
4829 definitions and is obviously safe.
4830 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4831 * posix/regex_internal.h:
4832 (__attribute__, __attribute_warn_unused_result__):
4833 Remove; already defined elsewhere.
4834
b50dd3bc
FW
48352018-12-31 Florian Weimer <fw@deneb.enyo.de>
4836
4837 [BZ #24027]
4838 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4839 copying operation. (ncopies had the wrong type, resulting in an
4840 integer wraparound and too few elements being copied.)
4841
0b9c8490
L
48422018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4843
4844 [BZ #24022]
4845 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4846 <asm/syscalls.h> exists with __has_include__ before including it.
4847
01047fa6
JM
48482018-12-31 Joseph Myers <joseph@codesourcery.com>
4849
4850 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4851 version to 4.20.
4852
6b5c8607 48532018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4854
4855 * hurd/lookup-retry: Include <unistd.h>.
4856 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4857 Release it on return. Handle "pid" magical lookup retry.
4858
989182c4
RL
48592018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4860
4861 [BZ #10496]
4862 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4863 (t_fmt_ampm): Likewise.
4864 * localedata/locales/aa_ER (t_fmt): Likewise.
4865 (t_fmt_ampm): Likewise.
4866 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4867 (t_fmt_ampm): Likewise.
4868 * localedata/locales/aa_ET (t_fmt): Likewise.
4869 (t_fmt_ampm): Likewise.
4870 * localedata/locales/am_ET (t_fmt): Likewise.
4871 (t_fmt_ampm): Likewise.
4872 * localedata/locales/byn_ER (t_fmt): Likewise.
4873 (t_fmt_ampm): Likewise.
4874 * localedata/locales/om_ET (t_fmt): Likewise.
4875 (t_fmt_ampm): Likewise.
4876 * localedata/locales/sid_ET (t_fmt): Likewise.
4877 (t_fmt_ampm): Likewise.
4878 * localedata/locales/so_DJ (t_fmt): Likewise.
4879 (t_fmt_ampm): Likewise.
4880 * localedata/locales/so_ET (t_fmt): Likewise.
4881 (t_fmt_ampm): Likewise.
4882 * localedata/locales/so_SO (t_fmt): Likewise.
4883 (t_fmt_ampm): Likewise.
4884 * localedata/locales/ti_ER (t_fmt): Likewise.
4885 (t_fmt_ampm): Likewise.
4886 * localedata/locales/ti_ET (t_fmt): Likewise.
4887 (t_fmt_ampm): Likewise.
4888 * localedata/locales/tig_ER (t_fmt): Likewise.
4889 (t_fmt_ampm): Likewise.
4890 * localedata/locales/wal_ET (t_fmt): Likewise.
4891 (t_fmt_ampm): Likewise.
4892
4893 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4894 * localedata/locales/ar_IN (t_fmt): Likewise.
4895 * localedata/locales/bhb_IN (t_fmt): Likewise.
4896 * localedata/locales/bho_IN (t_fmt): Likewise.
4897 * localedata/locales/bi_VU (t_fmt): Likewise.
4898 * localedata/locales/bn_BD (t_fmt): Likewise.
4899 * localedata/locales/bn_IN (t_fmt): Likewise.
4900 * localedata/locales/brx_IN (t_fmt): Likewise.
4901 * localedata/locales/doi_IN (t_fmt): Likewise.
4902 * localedata/locales/en_HK (t_fmt): Likewise.
4903 (t_fmt_ampm): Likewise.
4904 * localedata/locales/en_IN (t_fmt): Likewise.
4905 * localedata/locales/en_PH (t_fmt): Likewise.
4906 * localedata/locales/gu_IN (t_fmt): Likewise.
4907 * localedata/locales/hi_IN (t_fmt): Likewise.
4908 * localedata/locales/hif_FJ (t_fmt): Likewise.
4909 * localedata/locales/hne_IN (t_fmt): Likewise.
4910 * localedata/locales/kn_IN (t_fmt): Likewise.
4911 * localedata/locales/kok_IN (t_fmt): Likewise.
4912 * localedata/locales/ks_IN (t_fmt): Likewise.
4913 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4914 * localedata/locales/mag_IN (t_fmt): Likewise.
4915 * localedata/locales/mai_IN (t_fmt): Likewise.
4916 * localedata/locales/mjw_IN (t_fmt): Likewise.
4917 * localedata/locales/ml_IN (t_fmt): Likewise.
4918 * localedata/locales/mni_IN (t_fmt): Likewise.
4919 * localedata/locales/mr_IN (t_fmt): Likewise.
4920 * localedata/locales/ms_MY (t_fmt): Likewise.
4921 * localedata/locales/pa_IN (t_fmt): Likewise.
4922 * localedata/locales/raj_IN (t_fmt): Likewise.
4923 * localedata/locales/sa_IN (t_fmt): Likewise.
4924 * localedata/locales/sat_IN (t_fmt): Likewise.
4925 * localedata/locales/sd_IN (t_fmt): Likewise.
4926 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4927 * localedata/locales/tcy_IN (t_fmt): Likewise.
4928 * localedata/locales/the_NP (t_fmt): Likewise.
4929 * localedata/locales/to_TO (t_fmt): Likewise.
4930 * localedata/locales/ur_IN (t_fmt): Likewise.
4931
4932 * localedata/locales/hif_FJ (d_t_fmt): Set to
4933 "%A %d %b %Y %I:%M:%S %p".
4934 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4935
4936 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4937 * localedata/locales/ar_BH (t_fmt): Likewise.
4938 * localedata/locales/ar_DZ (t_fmt): Likewise.
4939 * localedata/locales/ar_EG (t_fmt): Likewise.
4940 * localedata/locales/ar_IQ (t_fmt): Likewise.
4941 * localedata/locales/ar_JO (t_fmt): Likewise.
4942 * localedata/locales/ar_KW (t_fmt): Likewise.
4943 * localedata/locales/ar_LB (t_fmt): Likewise.
4944 * localedata/locales/ar_LY (t_fmt): Likewise.
4945 * localedata/locales/ar_OM (t_fmt): Likewise.
4946 * localedata/locales/ar_QA (t_fmt): Likewise.
4947 * localedata/locales/ar_SD (t_fmt): Likewise.
4948 * localedata/locales/ar_SS (t_fmt): Likewise.
4949 * localedata/locales/ar_SY (t_fmt): Likewise.
4950 * localedata/locales/ar_TN (t_fmt): Likewise.
4951 * localedata/locales/ar_YE (t_fmt): Likewise.
4952
4953 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4954 (t_fmt_ampm): Likewise.
4955 * localedata/locales/gez_ET (t_fmt): Likewise.
4956 (t_fmt_ampm): Likewise.
4957
4958 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4959 (t_fmt_ampm): Likewise.
4960 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4961
4962 * localedata/locales/zh_HK (t_fmt):
4963 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4964
4965 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4966 because this locale does not use the 12-hour clock.
4967 (t_fmt): Set to "%Z %H:%M:%S".
4968 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4969
4970 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4971 because this locale does not use the 12-hour clock.
4972 (t_fmt): Set to "%H:%M:%S %Z".
4973 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4974
4975 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4976 because this locale does not use the 12-hour clock.
4977 (t_fmt): Set to "%T".
4978 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4979 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4980
4981 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4982 because this locale does not use the 12-hour clock.
4983 (t_fmt): Set to "%H:%M:%S %Z".
4984 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4985
4986 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4987 because this locale does not use the 12-hour clock.
4988 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4989 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4990
27841a7d
RL
49912018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4992
4993 [BZ #10496]
4994 [BZ #23724]
4995 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4996 (t_fmt_ampm): Likewise.
4997 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4998 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4999 (d_fmt): Set to "%-d.%-m.%y".
5000
0253580a
AZ
50012018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5002
5003 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5004 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5005 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5006 Likewise.
5007 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5008 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5009 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5010 function.
5011 * support/blob_repeat.c (check_mul_overflow_size_t,
5012 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5013
09104e5b
AJ
50142018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5015
5016 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5017
c0feb731
PE
50182018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5019
5020 regex: simplify Gnulib port
5021 This simplifies the code, by removing stuff intended for porting
5022 to Gnulib but no longer needed there.
5023 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5024 uses of libc_hidden_def, weak_alias.
5025 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5026 _Restrict_ except for public-facing headers.
5027 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5028 Remove; already defined elsewhere.
5029 * posix/regex.c, posix/regex_internal.h:
5030 Use __GNUC_PREREQ instead of rolling our own.
5031 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5032
5289f1f5
WD
50332018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5034
5035 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 5036 (memchr_strlen): New function.
5289f1f5 5037
ba4b8fab
L
50382018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5039
5040 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5041 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5042 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5043
9412979a
L
50442018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5045
5046 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5047
8700a785
L
50482018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5049
5050 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5051 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5052 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5053 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5054 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5055 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5056 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5057
57b3ff8e
JM
50582018-12-21 Joseph Myers <joseph@codesourcery.com>
5059
5060 [BZ #24023]
5061 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5062 PLT reference in libc.so.
5063 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5064 _Q_lltoq and _Q_qtod PLT references in libc.so.
5065
90d3320d
WD
50662018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5067
5068 * benchtests/bench-memchr.c: Cleanup defines.
5069 * benchtests/bench-memcmp.c: Likewise.
5070 * benchtests/bench-memset.c: Likewise.
5071 * benchtests/bench-memset-large.c: Likewise.
5072 * benchtests/bench-memset-walk.c: Likewise.
5073 * benchtests/bench-stpcpy.c: Likewise.
5074 * benchtests/bench-stpncpy.c: Likewise.
5075 * benchtests/bench-strcat.c: Likewise.
5076 * benchtests/bench-strchr.c: Likewise.
5077 * benchtests/bench-strcmp.c: Likewise.
5078 * benchtests/bench-strcpy.c: Likewise.
5079 * benchtests/bench-strcspn.c: Likewise.
5080 * benchtests/bench-string.h: Likewise.
5081 * benchtests/bench-strlen.c: Likewise.
5082 * benchtests/bench-strncat.c: Likewise.
5083 * benchtests/bench-strncmp.c: Likewise.
5084 * benchtests/bench-strncpy.c: Likewise.
5085 * benchtests/bench-strnlen.c: Likewise.
5086 * benchtests/bench-strpbrk.c: Likewise.
5087 * benchtests/bench-strrchr.c: Likewise.
5088 * benchtests/bench-strspn.c: Likewise.
5089
192963be
JM
50902018-12-21 Joseph Myers <joseph@codesourcery.com>
5091
5d025ea6
JM
5092 * stdlib/longlong.h: Update from GCC.
5093
192963be
JM
5094 [BZ #23993]
5095 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5096 * configure: Regenerated.
5097 * manual/install.texi (Tools for Compilation): Update minimum GCC
5098 version.
5099 * INSTALL: Regenerated.
5100
6b5c8607 51012018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5102
5103 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5104
6b5c8607 51052018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5106
5107 * malloc/malloc.c (mremap_chunk): Additional checks.
5108
5f72b005
MH
51092018-12-21 Mao Han <han_mao@c-sky.com>
5110
5111 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5112 * scripts/build-many-glibcs.py: Add C-SKY targets.
5113 * sysdeps/csky/Implies: New file.
5114 * sysdeps/csky/Makefile: Likewise.
5115 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5116 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5117 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5118 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5119 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5120 * sysdeps/csky/abiv2/memmove.S: Likewise.
5121 * sysdeps/csky/abiv2/memset.S: Likewise.
5122 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5123 * sysdeps/csky/abiv2/start.S: Likewise.
5124 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5125 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5126 * sysdeps/csky/abiv2/strlen.S: Likewise.
5127 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5128 * sysdeps/csky/abort-instr.h: Likewise.
5129 * sysdeps/csky/atomic-machine.h: Likewise.
5130 * sysdeps/csky/bits/endian.h: Likewise.
5131 * sysdeps/csky/bits/fenv.h: Likewise.
5132 * sysdeps/csky/bits/link.h: Likewise.
5133 * sysdeps/csky/bits/setjmp.h: Likewise.
5134 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5135 * sysdeps/csky/bsd-setjmp.S: Likewise.
5136 * sysdeps/csky/configure: Likewise.
5137 * sysdeps/csky/configure.ac: Likewise.
5138 * sysdeps/csky/dl-machine.h: Likewise.
5139 * sysdeps/csky/dl-procinfo.c: Likewise.
5140 * sysdeps/csky/dl-procinfo.h: Likewise.
5141 * sysdeps/csky/dl-sysdep.h: Likewise.
5142 * sysdeps/csky/dl-tls.h: Likewise.
5143 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5144 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5145 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5146 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5147 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5148 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5149 * sysdeps/csky/fpu/fegetround.c: Likewise.
5150 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5151 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5152 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5153 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5154 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5155 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5156 * sysdeps/csky/fpu/fesetround.c: Likewise.
5157 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5158 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5159 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5160 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5161 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5162 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5163 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5164 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5165 * sysdeps/csky/fpu_control.h: Likewise.
5166 * sysdeps/csky/gccframe.h: Likewise.
5167 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5168 * sysdeps/csky/ldsodefs.h: Likewise.
5169 * sysdeps/csky/libc-tls.c: Likewise.
5170 * sysdeps/csky/linkmap.h: Likewise.
5171 * sysdeps/csky/machine-gmon.h: Likewise.
5172 * sysdeps/csky/memusage.h: Likewise.
5173 * sysdeps/csky/nofpu/Implies: Likewise.
5174 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5175 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5176 * sysdeps/csky/nptl/Makefile: Likewise.
5177 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5178 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5179 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5180 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5181 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5182 * sysdeps/csky/nptl/tls.h: Likewise.
5183 * sysdeps/csky/preconfigure: Likewise.
5184 * sysdeps/csky/sfp-machine.h: Likewise.
5185 * sysdeps/csky/sotruss-lib.c: Likewise.
5186 * sysdeps/csky/stackinfo.h: Likewise.
5187 * sysdeps/csky/sysdep.h: Likewise.
5188 * sysdeps/csky/tininess.h: Likewise.
5189 * sysdeps/csky/tst-audit.h: Likewise.
5190 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5191 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5192 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5193 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5194 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5195 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5196 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5197 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5198 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5199 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5200 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5201 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5202 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5203 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5204 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5205 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5206 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5207 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5208 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5209 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5210 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5211 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5212 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5213 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5214 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5215 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5216 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5217 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5218 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5219 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5220 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5221 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5222 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5223 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5224 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5225 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5226 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5227 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5228 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5229 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5230 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5231 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5232 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5233 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5234
6b5c8607 52352018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5236
5237 * include/time.h (__difftime64): Add.
5238 * time/difftime.c (subtract): convert to 64-bit time.
5239 * time/difftime.c (__difftime64): Add.
5240 * time/difftime.c (__difftime): Wrap around __difftime64.
5241
ab416931
L
52422018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5243
5244 * manual/examples/add.c: Remove redundant "if not".
5245 * manual/examples/argp-ex1.c: Likewise.
5246 * manual/examples/argp-ex2.c: Likewise.
5247 * manual/examples/argp-ex3.c: Likewise.
5248 * manual/examples/argp-ex4.c: Likewise.
5249 * manual/examples/atexit.c: Likewise.
5250 * manual/examples/db.c: Likewise.
5251 * manual/examples/dir.c: Likewise.
5252 * manual/examples/dir2.c: Likewise.
5253 * manual/examples/execinfo.c: Likewise.
5254 * manual/examples/filecli.c: Likewise.
5255 * manual/examples/filesrv.c: Likewise.
5256 * manual/examples/fmtmsgexpl.c: Likewise.
5257 * manual/examples/genpass.c: Likewise.
5258 * manual/examples/inetcli.c: Likewise.
5259 * manual/examples/inetsrv.c: Likewise.
5260 * manual/examples/isockad.c: Likewise.
5261 * manual/examples/longopt.c: Likewise.
5262 * manual/examples/memopen.c: Likewise.
5263 * manual/examples/memstrm.c: Likewise.
5264 * manual/examples/mkdirent.c: Likewise.
5265 * manual/examples/mkfsock.c: Likewise.
5266 * manual/examples/mkisock.c: Likewise.
5267 * manual/examples/mygetpass.c: Likewise.
5268 * manual/examples/pipe.c: Likewise.
5269 * manual/examples/popen.c: Likewise.
5270 * manual/examples/rprintf.c: Likewise.
5271 * manual/examples/search.c: Likewise.
5272 * manual/examples/select.c: Likewise.
5273 * manual/examples/setjmp.c: Likewise.
5274 * manual/examples/sigh1.c: Likewise.
5275 * manual/examples/sigusr.c: Likewise.
5276 * manual/examples/stpcpy.c: Likewise.
5277 * manual/examples/strdupa.c: Likewise.
5278 * manual/examples/strftim.c: Likewise.
5279 * manual/examples/subopt.c: Likewise.
5280 * manual/examples/swapcontext.c: Likewise.
5281 * manual/examples/termios.c: Likewise.
5282 * manual/examples/testopt.c: Likewise.
5283 * manual/examples/testpass.c: Likewise.
5284 * manual/examples/timeval_subtract.c: Likewise.
5285
515f463f
JM
52862018-12-19 Joseph Myers <joseph@codesourcery.com>
5287
da75c1b1
JM
5288 * sysdeps/x86/fpu/math_private.h: New file.
5289 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5290
515f463f
JM
5291 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5292 definition.
5293 (cosh): Likewise.
5294 (tanh): Likewise.
5295
1616d034
TMQMF
52962018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5297
5298 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5299 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5300 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5301 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5302 fields.
5303 (_dl_show_auxv): Give a special treatment to
5304 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5305 and AT_L3_CACHEGEOMETRY.
5306 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5307 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5308 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5309 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5310
61595e3d
AS
53112018-12-19 Andreas Schwab <schwab@suse.de>
5312
5313 * nscd/connections.c (check_use): Don't abort on invalid len.
5314
bbb7dc84
ST
53152018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5316
5317 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5318 values in the 64bit value cases.
5319
6b5c8607 53202018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5321
c4c2836a
AA
5322 * include/time.h
5323 (__ctime64_r): Add.
5324 * time/ctime_r.c
5325 (__ctime64_r): Add.
5326 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5327
7755e504
AA
5328 * include/time.h
5329 (__ctime64): Add.
5330 * time/gmtime.c
5331 (__ctime64): Add.
5332 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5333
a1d346ce
AA
5334 * include/time.h
5335 (__gmtime64_r): Add.
5336 * time/gmtime.c
5337 (__gmtime64_r): Add.
5338 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5339
131db8b0
AA
5340 * include/time.h
5341 (__gmtime64): Add.
5342 * time/gmtime.c
5343 (__gmtime64): Add.
5344 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5345
64c2277d
AA
5346 * include/time.h
5347 (__localtime64_r): Add.
5348 * time/localtime.c
5349 (__localtime64_r): Add.
5350 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5351
56b98bf1
AZ
53522018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5353
64dd7a16
AZ
5354 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5355 kernel_sigction definition.
5356
8b1d5da5
AZ
5357 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5358
f9eabb19
AZ
5359 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5360
56b98bf1
AZ
5361 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5362 __syscall_rt_sigaction.
5363 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5364 (kernel_sigaction): Use Linux generic defintion.
5365 (STUB): Define.
5366 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5367 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5368 (__syscall_rt_sigaction): Remove implementation.
5369 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5370 hidden.
5371 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5372 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5373 INTERNAL_SYSCALL): Remove definitions.
5374 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5375 action and signal set size.
5376 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5378
43a45c2d
AZ
53792018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5380 James Clarke <jrtc27@jrtc27.com>
5381
dfa6216f 5382 [BZ #23967]
43a45c2d
AZ
5383 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5384 Define if SA_RESTORER is defined.
5385 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5386 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5387 already defined.
5388 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5389 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5390 definitions.
5391 (HAS_SA_RESTORER): Define.
5392 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5393 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5394 (HAS_SA_RESTORER): Define.
5395 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5396 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5397 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5398 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5399 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5400
646ce7e0
JM
54012018-12-18 Joseph Myers <joseph@codesourcery.com>
5402
5403 * sysdeps/unix/sysv/linux/kernel-features.h
5404 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5405 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5406 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5407 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5408 (__ASSUME_ST_INO_64_BIT): Likewise.
5409 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5410 <kernel-features.h>.
5411 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5412 Remove conditional code.
5413 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5414 <kernel-features.h>.
5415 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5416 Remove conditional code.
5417 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5418 <kernel-features.h>.
5419 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5420 Remove conditional code.
5421 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5422 <kernel-features.h>.
5423 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5424 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5425
80190d2b
SL
54262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5427
5428 * sysdeps/s390/multiarch/ifunc-resolve.h
5429 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5430 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5431 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5432 Delete macro definition.
5433 (s390_libc_ifunc_init): Rename to
5434 s390_libc_ifunc_expr_stfle_init.
5435 * sysdeps/s390/bzero: Use
5436 s390_libc_ifunc_expr_stfle_init instead of
5437 s390_libc_ifunc_init.
5438 * sysdeps/s390/memcmp.c: Likewise.
5439 * sysdeps/s390/memcpy.c: Likewise.
5440 * sysdeps/s390/mempcpy.c: Likewise.
5441 * sysdeps/s390/memset.c: Likewise.
5442
12f0dcb8
SL
54432018-12-18 Stefan Liebler <stli@linux.ibm.com>
5444
5445 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5446 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5447
25654a8c
SL
54482018-12-18 Stefan Liebler <stli@linux.ibm.com>
5449
5450 * sysdeps/s390/multiarch/Makefile
5451 (sysdep_routines): Remove wmemcmp variants.
5452 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5453 * sysdeps/s390/multiarch/ifunc-impl-list.c
5454 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5455 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5456 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5457 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5458 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5459 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5460 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5461 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5462
d2a7436c
SL
54632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5464
5465 * sysdeps/s390/multiarch/Makefile
5466 (sysdep_routines): Remove wmemset variants.
5467 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5468 * sysdeps/s390/multiarch/ifunc-impl-list.c
5469 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5470 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5471 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5472 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5473 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5474 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5475 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5476 * sysdeps/s390/ifunc-wmemset.h: New file.
5477
c62534ae
SL
54782018-12-18 Stefan Liebler <stli@linux.ibm.com>
5479
5480 * sysdeps/s390/multiarch/Makefile
5481 (sysdep_routines): Remove wmemchr variants.
5482 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5483 * sysdeps/s390/multiarch/ifunc-impl-list.c
5484 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5485 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5486 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5487 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5488 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5489 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5490 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5491 * sysdeps/s390/ifunc-wmemchr.h: New file.
5492
79b44cf6
SL
54932018-12-18 Stefan Liebler <stli@linux.ibm.com>
5494
5495 * sysdeps/s390/multiarch/Makefile
5496 (sysdep_routines): Remove wcscspn variants.
5497 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5498 * sysdeps/s390/multiarch/ifunc-impl-list.c
5499 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5500 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5501 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5502 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5503 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5504 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5505 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5506 * sysdeps/s390/ifunc-wcscspn.h: New file.
5507
8e87c1f6
SL
55082018-12-18 Stefan Liebler <stli@linux.ibm.com>
5509
5510 * sysdeps/s390/multiarch/Makefile
5511 (sysdep_routines): Remove wcspbrk variants.
5512 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5513 * sysdeps/s390/multiarch/ifunc-impl-list.c
5514 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5515 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5516 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5517 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5518 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5519 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5520 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5521 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5522
8507e831
SL
55232018-12-18 Stefan Liebler <stli@linux.ibm.com>
5524
5525 * sysdeps/s390/multiarch/Makefile
5526 (sysdep_routines): Remove wcsspn variants.
5527 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5528 * sysdeps/s390/multiarch/ifunc-impl-list.c
5529 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5530 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5531 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5532 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5533 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5534 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5535 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5536 * sysdeps/s390/ifunc-wcsspn.h: New file.
5537
4753713a
SL
55382018-12-18 Stefan Liebler <stli@linux.ibm.com>
5539
5540 * sysdeps/s390/multiarch/Makefile
5541 (sysdep_routines): Remove wcsrchr variants.
5542 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5543 * sysdeps/s390/multiarch/ifunc-impl-list.c
5544 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5545 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5546 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5547 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5548 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5549 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5550 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5551 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5552
c09c1b6f
SL
55532018-12-18 Stefan Liebler <stli@linux.ibm.com>
5554
5555 * sysdeps/s390/multiarch/Makefile
5556 (sysdep_routines): Remove wcschrnul variants.
5557 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5558 * sysdeps/s390/multiarch/ifunc-impl-list.c
5559 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5560 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5561 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5562 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5563 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5564 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5565 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5566 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5567
cf3ccc31
SL
55682018-12-18 Stefan Liebler <stli@linux.ibm.com>
5569
5570 * sysdeps/s390/multiarch/Makefile
5571 (sysdep_routines): Remove wcschr variants.
5572 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5573 * sysdeps/s390/multiarch/ifunc-impl-list.c
5574 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5575 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5576 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5577 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5578 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5579 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5580 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5581 * sysdeps/s390/ifunc-wcschr.h: New file.
5582
e9873e1d
SL
55832018-12-18 Stefan Liebler <stli@linux.ibm.com>
5584
5585 * sysdeps/s390/multiarch/Makefile
5586 (sysdep_routines): Remove wcsncmp variants.
5587 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5588 * sysdeps/s390/multiarch/ifunc-impl-list.c
5589 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5590 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5591 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5592 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5593 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5594 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5595 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5596 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5597
3459e23d
SL
55982018-12-18 Stefan Liebler <stli@linux.ibm.com>
5599
5600 * sysdeps/s390/multiarch/Makefile
5601 (sysdep_routines): Remove wcscmp variants.
5602 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5603 * sysdeps/s390/multiarch/ifunc-impl-list.c
5604 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5605 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5606 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5607 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5608 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5609 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5610 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5611 * sysdeps/s390/ifunc-wcscmp.h: New file.
5612
814a76e1
SL
56132018-12-18 Stefan Liebler <stli@linux.ibm.com>
5614
5615 * sysdeps/s390/multiarch/Makefile
5616 (sysdep_routines): Remove wcsncat variants.
5617 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5618 * sysdeps/s390/multiarch/ifunc-impl-list.c
5619 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5620 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5621 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5622 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5623 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5624 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5625 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5626 * sysdeps/s390/ifunc-wcsncat.h: New file.
5627
3389cae4
SL
56282018-12-18 Stefan Liebler <stli@linux.ibm.com>
5629
5630 * sysdeps/s390/multiarch/Makefile
5631 (sysdep_routines): Remove wcscat variants.
5632 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5633 * sysdeps/s390/multiarch/ifunc-impl-list.c
5634 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5635 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5636 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5637 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5638 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5639 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5640 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5641 * sysdeps/s390/ifunc-wcscat.h: New file.
5642
c3081bcb
SL
56432018-12-18 Stefan Liebler <stli@linux.ibm.com>
5644
5645 * sysdeps/s390/multiarch/Makefile
5646 (sysdep_routines): Remove wcpncpy variants.
5647 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5648 * sysdeps/s390/multiarch/ifunc-impl-list.c
5649 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5650 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5651 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5652 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5653 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5654 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5655 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5656 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5657
0966dd86
SL
56582018-12-18 Stefan Liebler <stli@linux.ibm.com>
5659
5660 * sysdeps/s390/multiarch/Makefile
5661 (sysdep_routines): Remove wcsncpy variants.
5662 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5663 * sysdeps/s390/multiarch/ifunc-impl-list.c
5664 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5665 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5666 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5667 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5668 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5669 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5670 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5671 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5672
0582e428
SL
56732018-12-18 Stefan Liebler <stli@linux.ibm.com>
5674
5675 * sysdeps/s390/multiarch/Makefile
5676 (sysdep_routines): Remove wcpcpy variants.
5677 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5678 * sysdeps/s390/multiarch/ifunc-impl-list.c
5679 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5680 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5681 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5682 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5683 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5684 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5685 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5686 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5687
804f2e5c
SL
56882018-12-18 Stefan Liebler <stli@linux.ibm.com>
5689
5690 * sysdeps/s390/multiarch/Makefile
5691 (sysdep_routines): Remove wcscpy variants.
5692 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5693 * sysdeps/s390/multiarch/ifunc-impl-list.c
5694 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5695 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5696 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5697 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5698 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5699 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5700 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5701 * sysdeps/s390/ifunc-wcscpy.h: New file.
5702
c7e7cd26
SL
57032018-12-18 Stefan Liebler <stli@linux.ibm.com>
5704
5705 * sysdeps/s390/multiarch/Makefile
5706 (sysdep_routines): Remove wcsnlen variants.
5707 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5708 * sysdeps/s390/multiarch/ifunc-impl-list.c
5709 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5710 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5711 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5712 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5713 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5714 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5715 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5716 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5717
2e02d0b7
SL
57182018-12-18 Stefan Liebler <stli@linux.ibm.com>
5719
5720 * sysdeps/s390/multiarch/Makefile
5721 (sysdep_routines): Remove wcslen variants.
5722 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5723 * sysdeps/s390/multiarch/ifunc-impl-list.c
5724 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5725 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5726 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5727 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5728 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5729 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5730 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5731 * sysdeps/s390/ifunc-wcslen.h: New file.
5732
89bfcbdf
SL
57332018-12-18 Stefan Liebler <stli@linux.ibm.com>
5734
5735 * sysdeps/s390/multiarch/Makefile
5736 (sysdep_routines): Remove memrchr variants.
5737 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5738 * sysdeps/s390/multiarch/ifunc-impl-list.c
5739 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5740 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5741 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5742 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5743 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5744 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5745 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5746 * sysdeps/s390/ifunc-memrchr.h: New file.
5747
196655ba
SL
57482018-12-18 Stefan Liebler <stli@linux.ibm.com>
5749
5750 * sysdeps/s390/multiarch/Makefile
5751 (sysdep_routines): Remove memccpy variants.
5752 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5753 * sysdeps/s390/multiarch/ifunc-impl-list.c
5754 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5755 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5756 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5757 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5758 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5759 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5760 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5761 * sysdeps/s390/ifunc-memccpy.h: New file.
5762
4c7b3cec
SL
57632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5764
5765 * sysdeps/s390/multiarch/Makefile
5766 (sysdep_routines): Remove rawmemchr variants.
5767 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5768 * sysdeps/s390/multiarch/ifunc-impl-list.c
5769 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5770 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5771 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5772 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5773 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5774 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5775 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5776 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5777
581a051c
SL
57782018-12-18 Stefan Liebler <stli@linux.ibm.com>
5779
5780 * sysdeps/s390/multiarch/Makefile
5781 (sysdep_routines): Remove memchr variants.
5782 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5783 * sysdeps/s390/multiarch/ifunc-impl-list.c
5784 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5785 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5786 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5787 * sysdeps/s390/multiarch/memchr.c: Move to ...
5788 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5789 * sysdeps/s390/ifunc-memchr.h: New file.
5790 * sysdeps/s390/s390-64/memchr.S: Move to ...
5791 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5792 for 31/64bit and ifunc handling.
5793 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5794 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5795 * sysdeps/s390/s390-32/memchr.S: Likewise.
5796
5d2ec20a
SL
57972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5798
5799 * sysdeps/s390/multiarch/Makefile
5800 (sysdep_routines): Remove strcspn variants.
5801 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5802 * sysdeps/s390/multiarch/ifunc-impl-list.c
5803 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5804 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5805 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5806 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5807 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5808 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5809 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5810 * sysdeps/s390/ifunc-strcspn.h: New file.
5811
572cca93
SL
58122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5813
5814 * sysdeps/s390/multiarch/Makefile
5815 (sysdep_routines): Remove strpbrk variants.
5816 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5817 * sysdeps/s390/multiarch/ifunc-impl-list.c
5818 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5819 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5820 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5821 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5822 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5823 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5824 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5825 * sysdeps/s390/ifunc-strpbrk.h: New file.
5826
483fc569
SL
58272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5828
5829 * sysdeps/s390/multiarch/Makefile
5830 (sysdep_routines): Remove strspn variants.
5831 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5832 * sysdeps/s390/multiarch/ifunc-impl-list.c
5833 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5834 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5835 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5836 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5837 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5838 * sysdeps/s390/multiarch/strspn.c: Move to ...
5839 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5840 * sysdeps/s390/ifunc-strspn.h: New file.
5841
26ea8760
SL
58422018-12-18 Stefan Liebler <stli@linux.ibm.com>
5843
5844 * sysdeps/s390/multiarch/Makefile
5845 (sysdep_routines): Remove strrchr variants.
5846 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5847 * sysdeps/s390/multiarch/ifunc-impl-list.c
5848 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5849 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5850 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5851 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5852 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5853 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5854 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5855 * sysdeps/s390/ifunc-strrchr.h: New file.
5856
a1361e65
SL
58572018-12-18 Stefan Liebler <stli@linux.ibm.com>
5858
5859 * sysdeps/s390/multiarch/Makefile
5860 (sysdep_routines): Remove strchrnul variants.
5861 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5862 * sysdeps/s390/multiarch/ifunc-impl-list.c
5863 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5864 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5865 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5866 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5867 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5868 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5869 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5870 * sysdeps/s390/ifunc-strchrnul.h: New file.
5871
32f12653
SL
58722018-12-18 Stefan Liebler <stli@linux.ibm.com>
5873
5874 * sysdeps/s390/multiarch/Makefile
5875 (sysdep_routines): Remove strchr variants.
5876 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5877 * sysdeps/s390/multiarch/ifunc-impl-list.c
5878 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5879 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5880 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5881 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5882 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5883 * sysdeps/s390/multiarch/strchr.c: Move to ...
5884 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5885 * sysdeps/s390/ifunc-strchr.h: New file.
5886
316b8842
SL
58872018-12-18 Stefan Liebler <stli@linux.ibm.com>
5888
5889 * sysdeps/s390/multiarch/Makefile
5890 (sysdep_routines): Remove strncmp variants.
5891 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5892 * sysdeps/s390/multiarch/ifunc-impl-list.c
5893 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5894 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5895 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5896 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5897 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5898 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5899 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5900 * sysdeps/s390/ifunc-strncmp.h: New file.
5901
cdab85fe
SL
59022018-12-18 Stefan Liebler <stli@linux.ibm.com>
5903
5904 * sysdeps/s390/multiarch/Makefile
5905 (sysdep_routines): Remove strcmp variants.
5906 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5907 * sysdeps/s390/multiarch/ifunc-impl-list.c
5908 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5909 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5910 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5911 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5912 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5913 * sysdeps/s390/ifunc-strcmp.h: New file.
5914 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5915 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5916 for 31/64bit and ifunc handling.
5917 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5918 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5919 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5920
b9353351
SL
59212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5922
5923 * sysdeps/s390/multiarch/Makefile
5924 (sysdep_routines): Remove strncat variants.
5925 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5926 * sysdeps/s390/multiarch/ifunc-impl-list.c
5927 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5928 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5929 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5930 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5931 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5932 * sysdeps/s390/multiarch/strncat.c: Move to ...
5933 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5934 * sysdeps/s390/ifunc-strncat.h: New file.
5935
8e5a0afb
SL
59362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5937
5938 * sysdeps/s390/multiarch/Makefile
5939 (sysdep_routines): Remove strcat variants.
5940 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5941 * sysdeps/s390/multiarch/ifunc-impl-list.c
5942 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5943 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5944 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5945 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5946 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5947 * sysdeps/s390/multiarch/strcat.c: Move to ...
5948 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5949 * sysdeps/s390/ifunc-strcat.h: New file.
5950
25218822
SL
59512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5952
5953 * sysdeps/s390/multiarch/Makefile
5954 (sysdep_routines): Remove stpncpy variants.
5955 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5956 * sysdeps/s390/multiarch/ifunc-impl-list.c
5957 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5958 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5959 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5960 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5961 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5962 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5963 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5964 * sysdeps/s390/ifunc-stpncpy.h: New file.
5965
d1bdbf38
SL
59662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5967
5968 * sysdeps/s390/multiarch/Makefile
5969 (sysdep_routines): Remove strncpy variants.
5970 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5971 * sysdeps/s390/multiarch/ifunc-impl-list.c
5972 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5973 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5974 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5975 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5976 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5977 * sysdeps/s390/ifunc-strncpy.h: New file.
5978 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5979 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5980 and adjust ifunc handling.
5981 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5982 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5983 and adjust ifunc handling.
5984 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5985 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5986
97044931
SL
59872018-12-18 Stefan Liebler <stli@linux.ibm.com>
5988
5989 * sysdeps/s390/multiarch/Makefile
5990 (sysdep_routines): Remove stpcpy variants.
5991 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5992 * sysdeps/s390/multiarch/ifunc-impl-list.c
5993 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5994 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5995 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5996 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5997 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5998 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5999 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6000 * sysdeps/s390/ifunc-stpcpy.h: New file.
6001
914a4e05
SL
60022018-12-18 Stefan Liebler <stli@linux.ibm.com>
6003
6004 * sysdeps/s390/multiarch/Makefile
6005 (sysdep_routines): Remove strcpy variants.
6006 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6007 * sysdeps/s390/multiarch/ifunc-impl-list.c
6008 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6009 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6010 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6011 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6012 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6013 * sysdeps/s390/ifunc-strcpy.h: New file.
6014 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6015 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6016 for 31/64bit and ifunc handling.
6017 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6018 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6019 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6020
de10e44d
SL
60212018-12-18 Stefan Liebler <stli@linux.ibm.com>
6022
6023 * sysdeps/s390/multiarch/Makefile
6024 (sysdep_routines): Remove strnlen variants.
6025 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6026 * sysdeps/s390/multiarch/ifunc-impl-list.c
6027 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6028 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6029 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6030 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6031 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6032 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6033 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6034 * sysdeps/s390/ifunc-strnlen.h: New file.
6035
ff3ca374
SL
60362018-12-18 Stefan Liebler <stli@linux.ibm.com>
6037
6038 * sysdeps/s390/multiarch/Makefile
6039 (sysdep_routines): Remove strlen variants.
6040 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6041 * sysdeps/s390/multiarch/ifunc-impl-list.c
6042 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6043 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6044 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6045 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6046 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6047 * sysdeps/s390/multiarch/strlen.c: Move to ...
6048 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6049 * sysdeps/s390/ifunc-strlen.h: New file.
6050
d2c4c403
SL
60512018-12-18 Stefan Liebler <stli@linux.ibm.com>
6052
6053 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6054 * sysdeps/s390/multiarch/ifunc-impl-list.c
6055 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6056 * sysdeps/s390/ifunc-memmem.h: New file.
6057 * sysdeps/s390/memmem.c: Likewise.
6058 * sysdeps/s390/memmem-c.c: Likewise.
6059 * sysdeps/s390/memmem-vx.c: Likewise.
6060
8c25dddd
SL
60612018-12-18 Stefan Liebler <stli@linux.ibm.com>
6062
6063 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6064 * sysdeps/s390/multiarch/ifunc-impl-list.c
6065 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6066 * sysdeps/s390/ifunc-strstr.h: New file.
6067 * sysdeps/s390/strstr.c: Likewise.
6068 * sysdeps/s390/strstr-c.c: Likewise.
6069 * sysdeps/s390/strstr-vx.c: Likewise.
6070
cdd927d9
SL
60712018-12-18 Stefan Liebler <stli@linux.ibm.com>
6072
6073 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6074 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6075 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6076 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6077 New defines.
6078 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6079 * sysdeps/s390/memmove-c.c: New file.
6080 * sysdeps/s390/memmove.c: Likewise.
6081 * sysdeps/s390/multiarch/ifunc-impl-list.c
6082 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6083
2ee1bc57
SL
60842018-12-18 Stefan Liebler <stli@linux.ibm.com>
6085
6086 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6087 * sysdeps/s390/configure.ac: Add check for z13 support.
6088 * sysdeps/s390/configure: Regenerated.
6089
d097d976
SL
60902018-12-18 Stefan Liebler <stli@linux.ibm.com>
6091
6092 * sysdeps/s390/memcopy.h: New file.
6093
e099aab0
SL
60942018-12-18 Stefan Liebler <stli@linux.ibm.com>
6095
6096 * sysdeps/s390/s390-32/bcopy.S: Remove.
6097 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6098
18eb862d
SL
60992018-12-18 Stefan Liebler <stli@linux.ibm.com>
6100
6101 * sysdeps/s390/ifunc-memcpy.h: New File.
6102 * sysdeps/s390/memcpy.S: Move to ...
6103 * sysdeps/s390/memcpy-z900.S ... here.
6104 Move implementations from memcpy-s390x.s to here.
6105 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6106 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6107 Remove memcpy/mempcpy variants.
6108 * sysdeps/s390/Makefile (sysdep_routines):
6109 Add memcpy/mempcpy variants.
6110 * sysdeps/s390/multiarch/ifunc-impl-list.c
6111 (__libc_ifunc_impl_list): Adjust ifunc variants for
6112 memcpy and mempcpy.
6113 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6114 to ...
6115 * sysdeps/s390/memcpy.c: ... here.
6116 Adjust ifunc variants for memcpy.
6117 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6118 * sysdeps/s390/mempcpy.c: ... here.
6119 Adjust ifunc variants for mempcpy.
6120 * sysdeps/s390/mempcpy.S: Delete file.
6121
df3eb8de
SL
61222018-12-18 Stefan Liebler <stli@linux.ibm.com>
6123
6124 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6125 * sysdeps/s390/memcpy.S: ... here.
6126 Adjust to be usable for 31/64bit.
6127 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6128 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6129 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6130 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6131 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6132 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6133 Adjust to be usable for 31/64bit.
6134 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6135 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6136 * sysdeps/s390/multiarch/memcpy.c: ... here.
6137 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6138
b7e024a8
SL
61392018-12-18 Stefan Liebler <stli@linux.ibm.com>
6140
6141 * sysdeps/s390/ifunc-memcmp.h: New File.
6142 * sysdeps/s390/memcmp.S: Move to ...
6143 * sysdeps/s390/memcmp-z900.S ... here.
6144 Move implementations from memcmp-s390x.s to here.
6145 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6146 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6147 Remove memcmp variants.
6148 * sysdeps/s390/Makefile (sysdep_routines):
6149 Add memcmp variants.
6150 * sysdeps/s390/multiarch/ifunc-impl-list.c
6151 (__libc_ifunc_impl_list): Adjust ifunc variants for
6152 memcmp.
6153 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6154 to ...
6155 * sysdeps/s390/memcmp.c: ... here.
6156 Adjust ifunc variants for memcmp.
6157
6c6b8c74
SL
61582018-12-18 Stefan Liebler <stli@linux.ibm.com>
6159
6160 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6161 * sysdeps/s390/memcmp.S: ... here.
6162 Adjust to be usable for 31/64bit.
6163 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6164 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6165 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6166 Remove memcmp.
6167 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6168 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6169 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6170 Adjust to be usable for 31/64bit.
6171 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6172 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6173 * sysdeps/s390/multiarch/memcmp.c: ... here.
6174 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6175
07be3928
SL
61762018-12-18 Stefan Liebler <stli@linux.ibm.com>
6177
6178 * sysdeps/s390/s390-32/bzero.S: Delete file.
6179 * sysdeps/s390/s390-64/bzero.S: Likewise.
6180 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6181 * sysdeps/s390/bzero.c: New file.
6182 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6183 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6184 * sysdeps/s390/multiarch/ifunc-impl-list.c
6185 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6186
712a254a
SL
61872018-12-18 Stefan Liebler <stli@linux.ibm.com>
6188
6189 * sysdeps/s390/ifunc-memset.h: New File.
6190 * sysdeps/s390/memset.S: Move to ...
6191 * sysdeps/s390/memset-z900.S ... here.
6192 Move implementations from memset-s390x.s to here.
6193 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6194 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6195 Remove memset variants.
6196 * sysdeps/s390/Makefile (sysdep_routines):
6197 Add memset variants.
6198 * sysdeps/s390/multiarch/ifunc-impl-list.c
6199 (__libc_ifunc_impl_list): Adjust ifunc variants for
6200 memset.
6201 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6202 to ...
6203 * sysdeps/s390/memset.c: ... here.
6204 Adjust ifunc variants for memset.
6205
5f1743d1
SL
62062018-12-18 Stefan Liebler <stli@linux.ibm.com>
6207
6208 * sysdeps/s390/s390-64/memset.S: Move to ...
6209 * sysdeps/s390/memset.S: ... here.
6210 Adjust to be usable for 31/64bit.
6211 * sysdeps/s390/s390-32/memset.S: Delete File.
6212 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6213 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6214 Remove memset.
6215 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6216 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6217 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6218 Adjust to be usable for 31/64bit.
6219 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6220 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6221 * sysdeps/s390/multiarch/memset.c: ... here.
6222 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6223
e8023f26
SL
62242018-12-18 Stefan Liebler <stli@linux.ibm.com>
6225
6226 * sysdeps/s390/multiarch/ifunc-resolve.h
6227 (s390_libc_ifunc_init, s390_libc_ifunc,
6228 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6229
b8686c0d
SL
62302018-12-18 Stefan Liebler <stli@linux.ibm.com>
6231
6232 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6233 * sysdeps/s390/configure.ac: Add check for z10 support.
6234 * sysdeps/s390/configure: Regenerated.
6235
cd815050
L
62362018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6237
6238 * sysdeps/i386/atomic-machine.h: Merged with ...
6239 * sysdeps/x86_64/atomic-machine.h: To ...
6240 * sysdeps/x86/atomic-machine.h: This. New file.
6241
053c52b1
FW
62422018-12-18 Florian Weimer <fweimer@redhat.com>
6243
6244 Rewrite locale/gen-translit.pl in Python.
6245 * locale/Makefile (generated): Add C-translit.h.
6246 (before-compile): Add $(objpfx)C-translit.h.
6247 (C-translit.h): Move to $(objpfx). Create target directory.
6248 Build using Python script.
6249 * locale/gen-translit.py: New file.
6250 * locale/gen-translit.pl: Remove file.
6251 * locale/C-translit.h.in: Change comment character to '#' for
6252 easier parsing without a C preprocessor.
6253 * locale/C-translit.h: Remove generated file.
6254 * manual/install.texi (Tools for Compilation): Do not mention
6255 C-translit.h.
6256 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6257 Remove locale/C-translit.h.
6258 * scripts/update-copyrights: Likewise.
6259 * INSTALL: Regenerate.
6260
40e6c1ec
FW
62612018-12-18 Florian Weimer <fweimer@redhat.com>
6262
6263 [BZ #23995]
6264 * localedata/locales/bi_VU: Remove executable bit from file.
6265
6b5c8607 62662018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6267
6268 * include/time.h
6269 (__localtime64): Add.
6270 * manual/maint.texi: Document Y2038 symbol handling.
6271 * time/localtime.c
6272 (__localtime64): Add.
bfb79db4 6273 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6274
df648905
JM
62752018-12-17 Joseph Myers <joseph@codesourcery.com>
6276
551e81d9
JM
6277 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6278 Do not clobber r12.
6279
df648905
JM
6280 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6281 to allow extra macros from first or second sources.
6282 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6283 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6284 (tests-special): Add $(objpfx)tst-mman-consts.out.
6285 ($(objpfx)tst-mman-consts.out): New makefile target.
6286
6bbfc5c0
MH
62872018-12-17 Mao Han <han_mao@c-sky.com>
6288
6289 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6290 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6291 without stat64 system call support.
6292 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6293 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6294 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6295 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6296 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6297 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6298 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6299 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6300 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6301 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6302 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6303
ef202e53
PE
63042018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6305
6306 regex: fix storage-exhaustion error
6307 [BZ #18040]
6308 * posix/regexec.c (get_subexp):
6309 Do not continue if storage is exhausted.
6310
077caf61
AG
63112018-12-15 Assaf Gordon <assafgordon@gmail.com>
6312
6313 regex: fix heap-use-after-free error
6314 [BZ #18040]
6315 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6316 https://debbugs.gnu.org/32592
6317 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6318 call extend_buffers which reallocates the re_string_t internal buffer.
6319 Local variable 'buf' was not updated in such case, resulting in
6320 use-after-free.
6321 * posix/regexec.c (get_subexp): Update 'buf' after call to
6322 get_subexp_sub.
6323
0c1719e6
FW
63242018-12-15 Florian Weimer <fweimer@redhat.com>
6325
6326 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6327 (minimum_stride_size): Use it.
6328 (support_blob_repeat_allocate): Likewise.
6329
033a2c0a
JM
63302018-12-14 Joseph Myers <joseph@codesourcery.com>
6331
6332 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6333 definition.
6334 (acosh): Likewise.
6335 (atanh): Likewise.
6336
e361dc04
FW
63372018-12-14 Florian Weimer <fweimer@redhat.com>
6338
6339 * manual/process.texi (Process Creation Concepts): Remove
6340 documentation of process (ID) lifetime. List more process
6341 creation functions. Reference Process Identification section.
6342 (Process Identification): Add information about process ID
6343 lifetime. Describe Linux thread/task IDs.
6344 * manual/signal.texi (Signaling Another Process): Mention that the
6345 signal is always sent to the process.
6346
bd51ff5e
GG
63472018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6348
6349 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6350 and tst-ldbl-efgcvt.
6351 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6352 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6353 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6354 (fcvt_tests, output_error, output_r_error, do_test): Use the
6355 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6356 select the type of floating-point variables and arguments; to
6357 produce extra tests for double and conversion specifiers for
6358 printf; and to set the names of called functions.
6359 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6360 in tst-efgcvt-template.c.
6361 * misc/tst-ldbl-efgcvt.c: Likewise.
6362
268bb71e
SL
63632018-12-14 Stefan Liebler <stli@linux.ibm.com>
6364
6365 * nss/Makefile (tst-nss-test3.out): New rule.
6366
db6df070
JM
63672018-12-13 Joseph Myers <joseph@codesourcery.com>
6368
6369 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6370 clobber sp.
6371
ade8b817
CD
63722018-12-13 fanjinke <fanjinke@hygon.cn>
6373
6374 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6375 "HygonGenuine".
6376
3d265911
AS
63772018-12-13 Andreas Schwab <schwab@suse.de>
6378
f21e8f8c 6379 [BZ #23861]
3d265911 6380 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6381 (__pthread_rwlock_rdlock_full): Update expected value for
6382 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6383 * nptl/tst-rwlock-pwn.c: New file.
6384 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6385
bf8ae8c0
JM
63862018-12-12 Joseph Myers <joseph@codesourcery.com>
6387
6388 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6389 definition.
6390
de099757
LS
63912018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6392
6393 * benchtests/scripts/compare_bench.py (do_compare): write to
6394 stderr in casestat is not present.
6395 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6396 stderr in case timings field is not present. Also string showing
6397 the output filename goes into the stderr.
6398
1990185f
LS
63992018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6400
6401 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6402 and ZeroDivisorError exceptions.
6403 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6404 argument to loop through user provided statistics.
6405 * benchtests/scripts/compare_bench.py (main): Include the --stats
6406 argument.
6407
587426d4
LS
64082018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6409
6410 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6411 instead of return.
6412
46703efa
FW
64132018-12-12 Florian Weimer <fweimer@redhat.com>
6414
6415 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6416 clause to copyright header.
6417
1d880d4a
TMQMF
64182018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6419
6420 [BZ #23614]
6421 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6422 registers saved in the stack frame.
6423 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6424 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6425
1a502f52
GG
64262018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6427
6428 * include/bits/monetary-ldbl.h: New file.
6429 * include/bits/printf-ldbl.h: Likewise.
6430 * include/bits/stdio-ldbl.h: Likewise.
6431 * include/bits/stdlib-ldbl.h: Likewise.
6432 * include/bits/syslog-ldbl.h: Likewise.
6433 * include/bits/wchar-ldbl.h: Likewise.
6434
df682d1d
GG
64352018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6436
6437 * libio/libio.h: Remove redirection for _IO_vfprintf.
6438
c2c082c1
AS
64392018-12-11 Andreas Schwab <schwab@suse.de>
6440
6441 * Makerules: Remove all references to abilist-pattern.
6442 (update-all-abi): Simplify find expression.
6443
505b5b29
SN
64442018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6445
6446 [BZ #23961]
6447 * math/auto-libm-test-in: Add new test case.
6448 * math/auto-libm-test-out-pow: Regenerated.
6449 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6450
304c61a2
DD
64512018-12-10 DJ Delorie <dj@redhat.com>
6452
6453 [BZ #23948]
6454 * support/test-container.c: Move postclean step to before we
6455 change namespaces.
6456
a8110b72
JM
64572018-12-10 Joseph Myers <joseph@codesourcery.com>
6458
cb7be159
JM
6459 * scripts/gen-as-const.py (main): Handle --python option.
6460 * scripts/gen-py-const.awk: Remove.
6461 * Makerules (py-const-script): Use gen-as-const.py.
6462 ($(py-const)): Likewise.
6463 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6464 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6465 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6466 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6467 ~PTHREAD_MUTEX_NO_ELISION_NP.
6468 * manual/README.pretty-printers: Update reference to
6469 gen-py-const.awk.
6470
a8110b72
JM
6471 * scripts/glibcextract.py: New file.
6472 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6473 or tempfile. Import glibcexctract.
6474 (compute_c_consts): Remove. Moved to glibcextract.py.
6475 (gen_test): Update reference to compute_c_consts.
6476 (main): Likewise.
6477 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6478 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6479 * sysdeps/unix/sysv/linux/Makefile
6480 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6481 Redirect stderr as well as stdout.
6482
f9ba9eb8
RÁE
64832018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6484
6485 [BZ #19767]
6486 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6487 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6488 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6489 ALWAYS_USE_VSYSCALL.
b39d961c 6490 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6491 ALWAYS_USE_VSYSCALL.
6492 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6493 ALWAYS_USE_VSYSCALL.
6494
8d20a2f4
FW
64952018-12-10 Florian Weimer <fweimer@redhat.com>
6496
6497 [BZ #23972]
6498 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6499 offset instead of count for clarity. Fix typo in comment.
6500 (__old_getdents64): Keep track of previous offset. Use it to call
6501 handle_overflow.
6502 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6503 that d_off is never zero.
6504
80472e2f
AS
65052018-12-10 Andreas Schwab <schwab@suse.de>
6506
6507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6508 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6509 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6510 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6511 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6512
0afcb29d
JM
65132018-12-10 Joseph Myers <joseph@codesourcery.com>
6514
6515 * timezone/private.h: Update from tzcode 2018g.
6516 * timezone/tzfile.h: Likewise.
6517 * timezone/tzselect.ksh: Likewise.
6518 * timezone/zdump.c: Likewise.
6519 * timezone/zic.c: Likewise.
6520
b93f4052
PP
65212018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6522
6523 [BZ #23490]
6524 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6525 (do_test): Adjust buffer size and fix format.
6526
7c9a7c68
DD
65272018-12-07 DJ Delorie <dj@redhat.com>
6528
6529 [BZ #23907]
6530 * malloc/tst-tcfree3.c: New.
6531 * malloc/Makefile: Add it.
6532
37caec3a
L
65332018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6534
6535 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6536
10446f5d
GG
65372018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6538
6539 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6540 used as a mask for the mode argument of __vfscanf_internal and
6541 __vfwscanf_internal.
6542 * stdio-common/vfscanf-internal.c
6543 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6544 (__strtof128_internal): Define to __wcstof128_internal.
6545 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6546 __strtof128_internal or __wcstof128_internal when the format of
6547 long double is the same as _Float128.
6548
45f33aac
ST
65492018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6550
6551 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6552 * posix/confstr.c (confstr): Rename to __confstr.
6553 (__confstr): Add hidden def.
6554 (confstr): Add weak alias for __confstr.
6555 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6556 confstr.
6557
a092ca94
L
65582018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6559
6560 * NEWS: Mention getcpu.
6561 * include/sched.h (__getcpu): New libc_hidden_proto.
6562 * manual/resource.texi: Document getcpu.
6563 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6564 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6565 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6566 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6567 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6568 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6569 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6570 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6571 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6572 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6573 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6574 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6575 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6576 Likewise.
6577 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6578 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6579 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6581 Likewise.
6582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6583 Likewise.
6584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6585 Likewise.
6586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6587 Likewise.
6588 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6589 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6590 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6591 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6592 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6593 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6594 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6595 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6596 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6597 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6598 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6599 Also check getcpu.
6600
7c857b6f
ST
66012018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6602
6603 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6604 functions.
6605 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6606
3a3fb755
FW
66072018-12-07 Florian Weimer <fweimer@redhat.com>
6608
6609 [BZ #17405]
6610 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6611 * posix/Versions (GLIBC_2.29): Export
6612 posix_spawn_file_actions_addfchdir_np.
6613 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6614 * posix/spawn_faction_destroy.c
6615 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6616 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6617 and the field action.fchdir_action.
6618 * posix/tst-spawn-chdir.c (add_chdir): New function.
6619 (do_test): Add do_fchdir loop. Call add_chdir.
6620 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6621 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6622 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6623 posix_spawn_file_actions_addfchdir_np.
6624 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6625 Likewise.
6626 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6627 Likewise.
6628 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6629 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6630 Likewise.
6631 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6632 Likewise.
6633 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6634 Likewise.
6635 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6636 Likewise.
6637 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6638 Likewise.
6639 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6640 Likewise.
6641 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6642 (GLIBC_2.29): Likewise.
6643 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6644 (GLIBC_2.29): Likewise.
6645 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6646 (GLIBC_2.29): Likewise.
6647 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6648 (GLIBC_2.29): Likewise.
6649 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6650 Likewise.
6651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6652 (GLIBC_2.29): Likewise.
6653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6654 (GLIBC_2.29): Likewise.
6655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6656 (GLIBC_2.29): Likewise.
6657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6658 (GLIBC_2.29): Likewise.
6659 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6660 Likewise.
6661 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6662 Likewise.
6663 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6664 Likewise.
6665 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6666 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6667 Likewise.
6668 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6669 Likewise.
6670 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6671 Likewise.
6672 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6673 Likewise.
6674
c37cd439
JM
66752018-12-06 Joseph Myers <joseph@codesourcery.com>
6676
6677 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6678 trailing whitespace removed.
6679 * scripts/config.guess: Update to version 2018-11-28.
6680 * scripts/config.sub: Update to version 2018-11-28.
6681 * scripts/install-sh: Update to version 2018-03-11.20.
6682 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6683 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6684
899478c2
FW
66852018-12-07 Florian Weimer <fweimer@redhat.com>
6686
6687 [BZ #23927]
6688 CVE-2018-19591
6689 * inet/tst-if_index-long.c: New file.
6690 * inet/Makefile (tests): Add tst-if_index-long.
6691
f255336a
FW
66922018-12-07 Florian Weimer <fweimer@redhat.com>
6693
6694 * support/check.h (support_record_failure_is_failed): Declare.
6695 * support/descriptors.h: New file.
6696 * support/support_descriptors.c: Likewise.
6697 * support/tst-support_descriptors.c: Likewise.
6698 * support/support_record_failure.c
6699 (support_record_failure_is_failed): New function.
6700 * support/Makefile (libsupport-routines): Add support_descriptors.
6701 (tests): Add tst-support_descriptors.
6702
35caceb1
ZW
67032018-12-05 Zack Weinberg <zackw@panix.com>
6704 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6705
6706 * stdio-common/vfprintf-internal.c
6707 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6708 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6709 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6710 and __no_long_double.
6711 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6712 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6713 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6714 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6715 and __nldbl_*syslog* functions.
6716 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6717 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6718 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6719 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6720 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6721 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6722 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6723 (__nldbl_vwprintf, __nldbl_wprintf):
6724 Directly call the appropriate __v*printf_internal routine, passing
6725 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6726 variable names.
6727 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6728 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6729 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6730 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6731 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6732 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6733 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6734 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6735 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6736 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6737 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6738 (__nldbl_syslog, __nldbl_vsyslog):
6739 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6740 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6741 appropriate.
6742 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6743 appropriate.
6744
4e2f43f8
ZW
67452018-12-05 Zack Weinberg <zackw@panix.com>
6746 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6747
6748 [BZ #11319]
6749 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6750 Moved here from debug/vsprintf_chk.c.
6751 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6752 and completion logic for the strfile to match exactly what
6753 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6754 _IO_str_init_static_internal instead of maxlen-1.
6755 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6756 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6757 __vsprintf_internal.
6758
6759 * debug/vsprintf_chk.c (__vsprintf_chk)
6760 * debug/sprintf_chk.c (__sprintf_chk):
6761 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6762 'flags' argument is positive, and slen as maxlen. No need to lock
6763 the FILE and/or construct a temporary FILE. Minimize and normalize
6764 header inclusions and variable names. Do not libc_hidden_def anything.
6765
6766 * debug/asprintf_chk.c (__asprintf_chk)
6767 * debug/dprintf_chk.c (__dprintf_chk)
6768 * debug/fprintf_chk.c (__fprintf_chk)
6769 * debug/fwprintf_chk.c (__fwprintf_chk)
6770 * debug/printf_chk.c (__printf_chk)
6771 * debug/snprintf_chk.c (__snprintf_chk)
6772 * debug/swprintf_chk.c (__swprintf_chk)
6773 * debug/vasprintf_chk.c (__vasprintf_chk)
6774 * debug/vdprintf_chk.c (__vdprintf_chk)
6775 * debug/vfprintf_chk.c (__vfprintf_chk)
6776 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6777 * debug/vprintf_chk.c (__vprintf_chk)
6778 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6779 * debug/vswprintf_chk.c (__vswprintf_chk)
6780 * debug/vwprintf_chk.c (__vwprintf_chk)
6781 * debug/wprintf_chk.c (__wprintf_chk):
6782 Directly call the corresponding vxxprintf_internal function, passing
6783 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6784 the FILE and/or construct a temporary FILE. Minimize and normalize
6785 header inclusions and variable names. Do not libc_hidden_def anything.
6786
6787 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6788 __obstack_vprintf_internal.
6789 (__obstack_vprintf_chk): Convert into a wrapper that calls
6790 __obstack_vprintf_internal (these two functions already had the
6791 same code) and move to new file...
6792 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6793 file.
6794 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6795 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6796 * debug/Makefile (routines): Add vobprintf_chk.
6797
6798 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6799 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6800 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6801 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6802 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6803 (__nldbl___obstack_vfprintf_chk):
6804 Directly call the corresponding vxxprintf_internal function,
6805 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6806 duplicate comparison of slen with 0 or maxlen from the corresponding
6807 non-__nldbl function.
6808
6809 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6810 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6811 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6812 Remove libc_hidden_proto.
6813
6814 * stdio-common/vfprintf-internal.c
6815 (__vfprintf_internal, __vfwprintf_internal):
6816 Do not check _IO_FLAGS2_FORTIFY.
6817 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6818 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6819 a comment explaining why it has the maxlen argument.
6820 (_IO_acquire_lock_clear_flags2_fct): Remove.
6821 (_IO_acquire_lock_clear_flags2): Remove.
6822 (_IO_release_lock): Remove conditional statement which will
6823 now never execute.
6824 (_IO_acquire_lock): Remove variable which is now unused.
6825 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6826 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6827
6828 * stdio-common/Makefile (tests): Add tst-bz11319 and
6829 tst-bz11319-fortify2.
6830 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6831 * stdio-common/tst-bz11319-fortify2.c: New file.
6832 * stdio-common/tst-bz11319.c: Likewise.
6833
124fc732
ZW
68342018-12-05 Zack Weinberg <zackw@panix.com>
6835 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6836
6837 * misc/syslog.c: Include libioP.h, not iolibio.h.
6838 (__vsyslog_internal): New function with the former body of
6839 __vsyslog_chk; takes mode_flags argument same as
6840 __v*printf_internal. Call __vfprintf_internal directly.
6841
6842 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6843 Remove libc_hidden_def.
6844 (__syslog, __syslog_chk): Use __vsyslog_internal.
6845 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6846
6847 * include/sys/syslog.h: Add multiple inclusion guard.
6848 Add prototype for __vsyslog_internal.
6849 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6850
6851 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6852 Use __vsyslog_internal.
6853
698fb75b
ZW
68542018-12-05 Zack Weinberg <zackw@panix.com>
6855 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6856
6857 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6858 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6859 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6860 New functions.
6861 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6862 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6863
6864 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6865 Include wctype.h here if COMPILE_WPRINTF is defined.
6866 Define __vfprintf_internal or __vfwprintf_internal, depending
6867 on COMPILE_WPRINTF.
6868 Temporarily, on entry to this function, update mode_flags
6869 according to the environmental settings corresponding to
6870 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6871 Throughout, check mode_flags instead of __ldbl_is_dbl and
6872 _IO_FLAGS2_FORTIFY on the destination FILE.
6873 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6874 Include vfprintf-internal.c. Don't include wctype.h.
6875 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6876 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6877 and vfprintf.
6878 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6879 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6880 and vfwprintf.
6881 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6882
6883 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6884 and add mode_flags argument; use __vfprintf_internal.
6885 (__vdprintf): New function. Alias vdprintf to this.
6886 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6887 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6888 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6889 (__obstack_printf): Use __obstack_printf_internal.
6890 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6891 public aliases __vsnprintf and vsnprintf.
6892 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6893 called internally.
6894 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6895 public aliases _IO_vsprintf and vsprintf.
6896 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6897 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6898 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6899 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6900 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6901
6902 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6903 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6904 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6905 * stdio-common/printf.c: Use __vfprintf_internal.
6906
6907 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6908 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6909 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6910
6911 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6912 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6913 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6914 __vfwprintf_internal.
6915
6916 * libio/libio.h: Remove libc_hidden_proto and declaration for
6917 _IO_vfprintf.
6918 Remove declaration of _IO_vfwprintf.
6919 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6920 _IO_vsprintf.
6921 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6922 _IO_obstack_printf.
6923 * include/stdio.h: Add prototype for __vasprintf.
6924 (__vsnprintf): Remove declaration, because there are no more
6925 internal calls.
6926 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6927 declaration, because there are no more internal calls.
6928
6929 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6930 __vsnprintf_internal, instead of _IO_vsnprintf.
6931 * argp/argp-help.c (__argp_error, __argp_failure): Use
6932 __vasprintf_internal, instead of _IO_vasprintf.
6933 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6934 redefine, because there are no more internal calls.
6935
d91798b3
ZW
69362018-12-05 Zack Weinberg <zackw@panix.com>
6937 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6938
6939 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6940 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6941 Include libio/strfile.h instead of libioP.h.
6942 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6943 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6944 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6945 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6946 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6947 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6948 necessary. Do not set __no_long_double. Normalize variable names.
6949 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6950 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6951 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6952 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6953 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6954 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6955 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6956 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6957 Do not set __no_long_double. Normalize variable names.
6958
b87eb3f8
ZW
69592018-12-05 Zack Weinberg <zackw@panix.com>
6960 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6961
6962 * stdio-common/isoc99_scanf.c
6963 * stdio-common/isoc99_fscanf.c
6964 * stdio-common/isoc99_sscanf.c
6965 * stdio-common/isoc99_vscanf.c
6966 * stdio-common/isoc99_vfscanf.c
6967 * stdio-common/isoc99_vsscanf.c
6968 * wcsmbs/isoc99_wscanf.c
6969 * wcsmbs/isoc99_fwscanf.c
6970 * wcsmbs/isoc99_swscanf.c
6971 * wcsmbs/isoc99_vwscanf.c
6972 * wcsmbs/isoc99_vfwscanf.c
6973 * wcsmbs/isoc99_vswscanf.c:
6974 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6975 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6976 No need to lock and unlock the FILE passed to that function.
6977
6978 * stdio-common/vfscanf-internal.c
6979 (__vfscanf_internal, __vfwscanf_internal):
6980 Don't look at _IO_FLAGS2_SCANF_STD.
6981 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6982 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6983 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6984
349718d4
ZW
69852018-12-05 Zack Weinberg <zackw@panix.com>
6986 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6987
6988 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6989 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6990 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6991 * libio/strfile.h: Add multiple inclusion guard.
6992 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6993
6994 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6995 consistency with the other version of this file.
6996 (ldbl_compat_symbol): New macro.
6997 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6998 New macro.
6999
7000 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7001 Define __vfscanf_internal or __vfwscanf_internal, depending on
7002 COMPILE_WSCANF; don't define any other public symbols.
7003 Remove errval and code to set errp.
7004 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7005 as the mode_flags argument.
7006 (encode_error, conv_error, input_error): Don't set errval.
7007 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7008 Include vfscanf-internal.c.
7009 * stdio-common/vfscanf.c: New file defining the public entry
7010 point vfscanf, which calls __vfscanf_internal.
7011 * stdio-common/vfwscanf.c: New file defining the public entry
7012 point vfwscanf, which calls __vfwscanf_internal.
7013
7014 * stdio-common/iovfscanf.c: New file.
7015 * stdio-common/iovfwscanf.c: Likewise.
7016
7017 * stdio-common/Makefile (routines): Add vfscanf-internal,
7018 vfwscanf-internal, iovfscanf, iovfwscanf.
7019 * stdio-common/Versions: Mention GLIBC_2.29, so that
7020 it can be used in SHLIB_COMPAT expressions.
7021 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7022 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7023 Call __vfscanf_internal, instead of _IO_vfscanf.
7024 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7025 _IO_vfscanf.
7026 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7027 _IO_vfwscanf.
7028
7029 * libio/iovsscanf.c: Clean up includes, when possible. Use
7030 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7031 __vfscanf_internal or __vfwscanf_internal directly.
7032 * libio/iovswscanf.c: Likewise.
7033 * libio/swscanf.c: Likewise.
7034 * libio/vscanf.c: Likewise.
7035 * libio/vwscanf.c: Likewise.
7036 * libio/wscanf.c: Likewise.
7037 * stdio-common/isoc99_fscanf.c: Likewise.
7038 * stdio-common/isoc99_scanf.c: Likewise.
7039 * stdio-common/isoc99_sscanf.c: Likewise.
7040 * stdio-common/isoc99_vfscanf.c: Likewise.
7041 * stdio-common/isoc99_vscanf.c: Likewise.
7042 * stdio-common/isoc99_vsscanf.c: Likewise.
7043 * stdio-common/scanf.c: Likewise.
7044 * stdio-common/sscanf.c: Likewise.
7045 * wcsmbs/isoc99_fwscanf.c: Likewise.
7046 * wcsmbs/isoc99_swscanf.c: Likewise.
7047 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7048 * wcsmbs/isoc99_vswscanf.c: Likewise.
7049 * wcsmbs/isoc99_vwscanf.c: Likewise.
7050 * wcsmbs/isoc99_wscanf.c: Likewise.
7051
6b5c8607 70522018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
7053
7054 * include/time.h
7055 (__tz_compute): Replace time_t with __time64_t.
7056 (__tz_convert): Replace time_t* with __time64_t.
7057 (__offtime): Replace time_t* with __time64_t.
7058 * time/gmtime.c
7059 (__gmtime_r): Adjust call to __tz_convert.
7060 (gmtime): Likewise.
7061 * time/localtime.c
7062 (__localtime_r): Likewise.
7063 (localtime): Likewise.
7064 * time/offtime.c: Replace time_t with __time64_t.
7065 * time/tzset.c: Likewise.
7066
bd598da9
JM
70672018-12-04 Joseph Myers <joseph@codesourcery.com>
7068
7069 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7070 dynamic linker unless [$(run-built-tests) = yes].
7071
b2e93de0
DD
70722018-12-03 DJ Delorie <dj@delorie.com>
7073
7074 * support/test-container.c (check_for_unshare_hints): New.
7075 (main): Call it if unshare fails. Add support for "su" scriptlet
7076 command.
7077
477a02f6
JM
70782018-12-03 Joseph Myers <joseph@codesourcery.com>
7079
7080 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7081 'START' to indicate that start text should be output.
7082 (gen_test): Likewise.
7083 (main): Generate 'START' for first symbol or '--' line, or at end
7084 of input if not previously generated.
7085
6af956e5
RÁE
70862018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7087
7088 [BZ #19767]
7089 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7090 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7091 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7092 ALWAYS_USE_VSYSCALL.
7093
f5ec0ea9
AZ
70942018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7095
7096 [BZ #23913]
7097 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7098 new_argv by one.
7099
8cebd4ff
CD
71002018-12-03 Carlos O'Donell <carlos@redhat.com>
7101
7102 [BZ #23923]
7103 * locale/programs/localedef.c: Declare boolean hard_links default true.
7104 (options): Add --no-hard-links option.
7105 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7106 * locale/programs/localedef.h: Declare prototype for hard_links.
7107 * locale/programs/locfile.c (write_locale_data): Don't use hard
7108 links if hard_links is false.
7109
c22e4c2a
L
71102018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7113 cpu_features_basic.
7114 (__cache_sysconf): Likewise.
7115 (init_cacheinfo): Likewise.
7116 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7117 populate COMMON_CPUID_INDEX_80000007 and
7118 COMMON_CPUID_INDEX_80000008.
7119 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7120 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7121 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7122 (init_cpu_features): Use _Static_assert on
7123 index_arch_Fast_Unaligned_Load.
7124 __get_cpuid_registers and __get_arch_feature. Updated for
7125 cpu_features_basic. Set stepping in cpu_features.
7126 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7127 (FEATURE_INDEX_2): New.
7128 (FEATURE_INDEX_MAX): Changed to enum.
7129 (COMMON_CPUID_INDEX_D_ECX_1): New.
7130 (COMMON_CPUID_INDEX_80000007): Likewise.
7131 (COMMON_CPUID_INDEX_80000008): Likewise.
7132 (cpuid_registers): Likewise.
7133 (cpu_features_basic): Likewise.
7134 (CPU_FEATURE_USABLE): Likewise.
7135 (bit_arch_XXX_Usable): Likewise.
7136 (cpu_features): Use cpuid_registers and cpu_features_basic.
7137 (bit_arch_XXX): Reweritten.
7138 (bit_cpu_XXX): Likewise.
7139 (index_cpu_XXX): Likewise.
7140 (reg_XXX): Likewise.
7141 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7142 <support/check.h>.
7143 (CHECK_CPU_FEATURE): New.
7144 (CHECK_CPU_FEATURE_USABLE): Likewise.
7145 (cpu_kinds): Likewise.
7146 (do_test): Print vendor, family, model and stepping. Check
7147 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7148 (TEST_FUNCTION): Removed.
7149 Include <support/test-driver.c> instead of
7150 "../../test-skeleton.c".
7151 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7152 Check POPCNT instead of POPCOUNT.
7153 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7154
7b36d26b
ST
71552018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7156
7157 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7158 there is no element in `consts'.
7159
02cd5c1a
FW
71602018-12-01 Florian Weimer <fweimer@redhat.com>
7161
7162 * support/support_capture_subprocess.c
7163 (support_capture_subprocess): Check that pipe descriptors have
7164 expected values. Close original pipe descriptors in subprocess.
7165
fc493bc9
ST
71662018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7167
7168 [BZ #23032]
7169 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7170 attr with __pthread_default_barrierattr.
7171 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7172 attr with __pthread_default_condattr.
7173 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7174 attr with __pthread_default_mutexattr.
7175 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7176 attr with __pthread_default_rwlockattr.
7177
6310e6be
KW
71782018-12-01 Kemi Wang <kemi.wang@intel.com>
7179
7180 * manual/tunables.texi (POSIX Thread Tunables): New node.
7181 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7182 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7183 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7184 __pthread_tunables_init.
7185 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7186 (max_adaptive_count): Define.
7187 * nptl/pthread_mutex_conf.c: New file.
7188 * nptl/pthread_mutex_conf.h: New file.
7189 * sysdeps/generic/adaptive_spin_count.h: New file.
7190 * sysdeps/nptl/dl-tunables.list: New file.
7191 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7192 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7193 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7194 Likewise.
7195
8e67b39e
PP
71962018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7197
7198 [BZ #20544]
7199 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7200 * stdlib/on_exit.c (__on_exit): Likewise.
7201 * stdlib/Makefile (tests): Add tst-bz20544.
7202 * stdlib/tst-bz20544.c: New test.
7203
15b8d67e
RÁE
72042018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7205
7206 [BZ #19767]
7207 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7208 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7209 New.
7210
5e63c240
FW
72112018-11-30 Florian Weimer <fweimer@redhat.com>
7212
7213 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7214 Extend error logging.
7215 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7216 symbol.
7217
71058602 72182018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7219
5fb7fc96
AZ
7220 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7221 __sigismember instead of sigismember.
7222 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7223 cancel_handler): New definitions.
7224 (do_system): Use posix_spawn instead of fork and execl and remove
7225 reentracy code.
7226 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7227 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7228 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7229 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7230 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7231 * sysdeps/unix/sysv/linux/system.c: Likewise.
7232
14d0e87d
AZ
7233 [BZ #22834]
7234 [BZ #17490]
7235 * NEWS: Add new semantic for atfork with popen and system.
7236 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7237 fork and execl.
7238
e5d262ef
TMQMF
72392018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7240
7241 [BZ #23690]
7242 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7243 modification order when accessing reloc_result->addr.
7244 * include/link.h (reloc_result): Add field init.
7245 * nptl/Makefile (tests): Add tst-audit-threads.
7246 (modules-names): Add tst-audit-threads-mod1 and
7247 tst-audit-threads-mod2.
7248 Add rules to build tst-audit-threads.
7249 * nptl/tst-audit-threads-mod1.c: New file.
7250 * nptl/tst-audit-threads-mod2.c: Likewise.
7251 * nptl/tst-audit-threads.c: Likewise.
7252 * nptl/tst-audit-threads.h: Likewise.
7253
7e1d4240
JM
72542018-11-30 Joseph Myers <joseph@codesourcery.com>
7255
7256 * scripts/gen-as-const.py: New file.
7257 * scripts/gen-as-const.awk: Remove.
7258 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7259 gen-as-const.py.
7260 ($(objpfx)test-as-const-%.c): Likewise.
7261
ce7387cc
L
72622018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7263
7264 * elf/dl-exception.c: Include <_itoa.h>.
7265
c6a5bdc1
ST
72662018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7267
7268 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7269 returned by __f_setlk.
7270
a5275ba5
L
72712018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7272 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7273
7274 * elf/Makefile (tests-internal): Add tst-create_format1.
7275 * elf/dl-exception.c (_dl_exception_create_format): Support
7276 %x, %lx and %zx.
7277 * elf/tst-create_format1.c: New file.
7278
3a67e81d
CAC
72792018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7280
7281 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7282 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7283 gnulib.)
7284 * argp/argp-help.c (__argp_failure): Likewise.
7285
4975f0c3
MH
72862018-11-29 Mao Han <han_mao@c-sky.com>
7287
7288 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7289 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7290 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7291 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7292 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7293 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7294 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7295 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7296 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7297 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7298 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7299 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7300 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7301 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7302 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7303 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7304 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7305 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7306 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7307 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7308 (R_CKCORE_TLS_TPOFF32): New defines.
7309
250102c8
FW
73102018-11-29 Florian Weimer <fweimer@redhat.com>
7311
7312 * posix/Makefile (before-compile): Remove testcases.h and
7313 ptestcases.h.
7314 (generated): Add testcases.h and ptestcases.h.
7315 (testcases.h, ptestcases.h): Move to $(objpfx).
7316 (runtests.o): Add dependency on testcases.h.
7317 (runptests.o): Add dependency on ptestcases.h.
7318 * posix/testcases.h, posix/ptestcases.h: Remove files.
7319 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7320 not touch posix/testcases.h and posix/ptestcases.h.
7321
96cd0558
FW
73222018-11-28 Florian Weimer <fweimer@redhat.com>
7323
7324 support: Add signal support to support_capture_subprocess_check.
7325 * support/capture_subprocess.h (support_capture_subprocess_check):
7326 Adjust comment and rename parameter.
7327 * support/support_capture_subprocess_check.c
7328 (print_actual_status): New function.
7329 (support_capture_subprocess_check): Support negative
7330 status_or_signal. Call print_actual_status.
7331 * support/tst-support_capture_subprocess.c (do_test): Call
7332 support_capture_subprocess_check.
7333 * libio/tst-vtables-common.c (termination_status)
7334 (init_termination_status): Remove.
7335 (check_for_termination): Adjust support_capture_subprocess_check
7336 call.
7337 (do_test): Remove call to init_termination_status.
7338
530504e3
JM
73392018-11-28 Joseph Myers <joseph@codesourcery.com>
7340
7341 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7342 source directory instead of a copy.
7343 (CommandList.create_copy_dir): Remove.
7344
9a0b6970
SL
73452018-11-28 Stefan Liebler <stli@linux.ibm.com>
7346
7347 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7348
47d8d9a2
FW
73492018-11-28 Florian Weimer <fweimer@redhat.com>
7350
7351 * support/support.h (support_quote_string): Do not use str
7352 parameter name.
7353
b473b7d8
JM
73542018-11-27 Joseph Myers <joseph@codesourcery.com>
7355
7356 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7357 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7358
c74a91de
FW
73592018-11-27 Florian Weimer <fweimer@redhat.com>
7360
7361 * support/support.h (support_quote_string): Declare.
7362 * support/support_quote_string.c: New file.
7363 * support/tst-support_quote_string.c: Likewise.
7364 * support/Makefile (libsupport-routines): Add
7365 support_quote_string.
7366 (tests): Add tst-support_quote_string.
7367
d527c860
FW
73682018-11-27 Florian Weimer <fweimer@redhat.com>
7369
7370 [BZ #23927]
7371 CVE-2018-19591
7372 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7373 descriptor leak in case of ENODEV error.
7374
979cfed0
RÁE
73752018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7376
7377 [BZ #19767]
7378 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7379 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7380 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7381
ce035c6e
CD
73822018-11-26 Carlos O'Donell <carlos@redhat.com>
7383
7384 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7385 Error for unknown lines.
7386
2bd0bfcc
JM
73872018-11-26 Joseph Myers <joseph@codesourcery.com>
7388
7389 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7390 Touch additional files.
7391
affec03b
FW
73922018-11-26 Florian Weimer <fweimer@redhat.com>
7393
7394 [BZ #23907]
7395 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7396 double-frees.
7397
8ae74ead
RÁE
73982018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7399
7400 [BZ #19767]
7401 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7402 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7403 SHARED. Include sysdep.h.
7404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7405 ALWAYS_USE_VSYSCALL.
7406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7407 ALWAYS_USE_VSYSCALL.
7408
1e8bdc3a
RÁE
74092018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7410
7411 [BZ #19767]
7412 * nptl/Makefile (tests-static): Add tst-cond11-static.
7413 (tests): Likewise.
7414 * nptl/tst-cond11-static.c: New File.
7415 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7416 tst-affinity-static.
7417 (tests): Likewise.
7418 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7419 instead of SHARED.
7420 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7421 (USE_VSYSCALL): Likewise.
7422 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7423 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7424 instead of SHARED.
7425 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7426 SHARED.
7427 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7428 New.
7429
1283c478
JM
74302018-11-23 Joseph Myers <joseph@codesourcery.com>
7431
7432 [BZ #23915]
7433 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7434 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7435 Undefine.
7436
c089fd80
L
74372018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7438
7439 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7440 (tst-cet-legacy-1a-ARGS): New.
7441 ($(objpfx)tst-cet-legacy-1a): New target.
7442 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7443
cc6c89fa
JM
74442018-11-22 Joseph Myers <joseph@codesourcery.com>
7445
95edd05c
JM
7446 * conform/conformtest.py (CompileSubTest.__init__): Set
7447 self.run_early to False.
7448 (ExecuteSubTest.__init__): Likewise.
7449 (HeaderTests.run): Try running all non-optional, non-XFAILed
7450 compilation tests in a single execution of the compiler.
7451
cc6c89fa
JM
7452 * conform/conformtest.py (CompileSubTest): New class.
7453 (ExecuteSubTest): Likewise.
7454 (ElementTest.run): Rename to gen_subtests. Append tests to
7455 self.subtests instead of running them.
7456 (ConstantTest.run): Likewise.
7457 (SymbolTest.run): Likewise.
7458 (TypeTest.run): Likewise.
7459 (TagTest.run): Likewise.
7460 (FunctionTest.run): Likewise.
7461 (VariableTest.run): Likewise.
7462 (MacroFunctionTest.run): Likewise.
7463 (MacroStrTest.run): Likewise.
7464 (HeaderTests.handle_test_line): Generate subtests for tests.
7465 (HeaderTests.run): Run subtests for tests.
7466
a502c529
SN
74672018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7468
7469 * math/Versions (GLIBC_2.29): Add pow.
7470 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7471 symbol.
7472 * math/w_pow.c: New file.
7473 * sysdeps/i386/fpu/w_pow.c: New file.
7474 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7475 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7476 and add necessary aliases.
7477 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7478 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7479 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7480 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7481 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7482 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7483 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7484 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7485 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7486 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7487 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7488 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7489 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7490 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7491 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7496 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7497 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7498 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7499 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7500 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7501 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7502 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7503 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7504 __pow.
7505 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7506 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7507 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7508
718d6542
SN
75092018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7510
7511 * math/Versions (GLIBC_2.29): Add log2.
7512 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7513 symbol.
7514 * math/w_log2.c: New file.
7515 * sysdeps/i386/fpu/w_log2.c: New file.
7516 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7517 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7518 and add necessary aliases.
7519 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7520 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7521 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7522 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7523 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7524 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7525 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7526 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7527 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7528 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7529 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7530 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7531 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7532 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7533 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7538 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7539 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7540 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7541 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7542 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7543 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7544 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7545
f29b7c49
SN
75462018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7547
7548 * math/Versions (GLIBC_2.29): Add log.
7549 * math/w_log_compat.c (__log_compat): Change to versioned compat
7550 symbol.
7551 * math/w_log.c: New file.
7552 * sysdeps/i386/fpu/w_log.c: New file.
7553 * sysdeps/ia64/fpu/e_log.S: Update.
7554 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7555 and add necessary aliases.
7556 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7557 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7558 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7559 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7560 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7561 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7562 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7563 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7564 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7565 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7566 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7567 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7568 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7569 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7570 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7576 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7577 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7578 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7580 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7581 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7582 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7583 __log.
7584 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7585 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7586 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7587 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7588
c20a1056
SN
75892018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7590
7591 * math/Versions (GLIBC_2.29): Add exp and exp2.
7592 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7593 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7594 * math/w_exp_compat.c (__exp_compat): Likewise.
7595 * math/w_exp.c: New file.
7596 * math/w_exp2.c: New file.
7597 * sysdeps/i386/fpu/w_exp.c: New file.
7598 * sysdeps/i386/fpu/w_exp2.c: New file.
7599 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7600 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7601 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7602 and add necessary aliases.
7603 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7604 and add necessary aliases.
7605 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7606 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7607 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7608 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7609 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7610 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7611 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7612 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7613 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7614 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7615 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7616 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7617 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7618 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7619 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7620 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7621 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7626 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7627 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7628 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7629 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7630 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7631 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7632 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7633 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7634 (__ieee754_exp): Rename to __exp.
7635 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7636 (__ieee754_exp): Rename to __exp.
7637 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7638 (__ieee754_exp): Rename to __exp.
7639 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7640 __exp.
7641 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7642
bcdaad21
DD
76432018-11-20 DJ Delorie <dj@redhat.com>
7644
7645 * malloc/malloc.c (tcache_entry): Add key field.
7646 (tcache_put): Set it.
7647 (tcache_get): Likewise.
7648 (_int_free): Check for double free in tcache.
7649 * malloc/tst-tcfree1.c: New.
7650 * malloc/tst-tcfree2.c: New.
7651 * malloc/Makefile: Run the new tests.
7652 * manual/probes.texi: Document memory_tcache_double_free probe.
7653
7654 * dlfcn/dlerror.c (check_free): Prevent double frees.
7655
5770c0ad
WD
76562018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7657
7658 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7659
9a62a939
JM
76602018-11-20 Joseph Myers <joseph@codesourcery.com>
7661
7662 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7663 in tests. Use names for format arguments.
7664 (ConstantTest.run): Likewise.
7665 (SymbolTest.run): Likewise.
7666 (TypeTest.run): Likewise.
7667 (TagTest.run): Likewise.
7668 (FunctionTest.run): Likewise.
7669 (VariableTest.run): Likewise.
7670 (MacroFunctionTest.run): Likewise.
7671 (MacroStrTest.run): Likewise.
7672 (HeaderTests.__init__): Set self.num_tests.
7673 (HeaderTests.handle_test_line): Set test.num. Increment
7674 self.num_tests.
7675
b15b1a95
ST
76762018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7677
7678 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7679 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7680 SEEK_SET.
7681
0c7f97ae
MH
76822018-11-19 Mao Han <han_mao@c-sky.com>
7683
7684 * scripts/config.guess: Update to version 2018-08-29.
7685 * scripts/config.sub: Update to version 2018-08-29.
7686
35e3fbc4
FW
76872018-11-19 Florian Weimer <fweimer@redhat.com>
7688
7689 support: Print timestamps in timeout handler.
7690 * support/support_test_main.c (print_timestamp): New function.
7691 (signal_handler): Use it to print the termination time and the
7692 time of the last write to standard output.
7693
c75772e3
ZW
76942018-11-16 Zack Weinberg <zackw@panix.com>
7695 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7696
7697 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7698 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7699 argument.
7700 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7701 and add flags argument. Check flags instead of __ldbl_is_dbl when
7702 deciding whether to set is_long_double.
7703 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7704 passing zero for flags argument.
7705 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7706
7707 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7708 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7709 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7710 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7711 variable names. Remove libc_hidden_def/libc_hidden_proto from
7712 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7713 longer called from within the library.
7714 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7715 for __nldbl___vstrfmon_l, declare it explicitly.
7716
7717 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7718
346ef23f
ST
77192018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7720
7721 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7722 macros
7723 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7724 F_SETLK64, F_SETLKW64, respectively.
7725 * sysdeps/mach/hurd/f_setlk.c: New file.
7726 * sysdeps/mach/hurd/f_setlk.h: New file.
7727 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7728 f_setlk.
7729 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7730 (__libc_fcntl): Move non-flock operations to...
7731 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7732 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7733
de20b81a
PE
77342018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7735
5d8af156
PE
7736 mktime: DEBUG_MKTIME cleanup
7737 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7738 And it’s no longer needed now that glibc and Gnulib both have
7739 their own testing mechanisms for mktime.
7740 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7741
86aece3b
PE
7742 mktime: fix non-EOVERFLOW errno handling
7743 [BZ#23789]
7744 mktime was not properly reporting failures when the underlying
7745 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7746 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7747 The problem could happen on non-glibc platforms, with Gnulib.
7748 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7749 (tm_diff): ... this simpler function, which does not change errno.
7750 All callers changed to deal with errno themselves.
7751 (ranged_convert, __mktime_internal): Return failure immediately if
7752 the underlying function reports any failure other than EOVERFLOW.
7753 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7754 gap code fails.
7755
f6b3331b
PE
7756 mktime: fix bug with Y2038 DST transition
7757 [BZ#23789]
7758 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7759 mishandle a DST transition that jumps over the Y2038 boundary.
7760 No such DST transitions are known so this is only a theoretical
7761 bug, but we might as well do things right.
7762
efbdddc3
PE
7763 mktime: make more room for overflow
7764 [BZ#23789]
7765 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7766 This is so that we can add tm_diff results to a previous guess,
7767 which will be useful in a later patch.
7768
6c90d759
PE
7769 mktime: simplify offset guess
7770 [BZ#23789]
7771 * time/mktime.c (__mktime_internal): Omit excess precision.
7772
32c12f3f
PE
7773 mktime: new test for mktime failure
7774 [BZ#23789]
7775 Based on a test suggested by Albert Aribaud in:
7776 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7777 * time/Makefile (tests): Add bug-mktime4.
7778 * time/bug-mktime4.c: New file.
7779
de20b81a
PE
7780 mktime: fix EOVERFLOW bug
7781 [BZ#23789]
7782 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7783 Include libc-config.h, not config.h, for __set_errno.
7784 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7785
8c6c3fb0
ST
77862018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7787
7788 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7789 __attribute_copy__ to copy attributes from name. Drop static qualifier
7790 to avoid warnings about leaf attribute not having effect on static
7791 functions.
7792
6923f6db
FW
77932018-11-13 Florian Weimer <fweimer@redhat.com>
7794
7795 * malloc/malloc.c (fastbin_push_entry): New function.
7796 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7797 (REMOVE_FB): Remove macro.
7798 (_int_malloc): Use fastbin_pop_entry and reindent.
7799 (_int_free): Use fastbin_push_entry.
7800 (malloc_consolidate): Use atomic_exchange_acquire.
7801
53f5c659
JM
78022018-11-13 Joseph Myers <joseph@codesourcery.com>
7803
0c096dcf
JM
7804 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7805 alias attribute, not with strong_alias.
7806
9c4b457e
JM
7807 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7808 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7809 with additional parameter thread.
7810 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7811 in terms of __hidden_ver2.
7812 (hidden_tls_def): New macro.
7813 (libc_hidden_tls_def): Likewise.
7814 (rtld_hidden_tls_def): Likewise.
7815 (libm_hidden_tls_def): Likewise.
7816 (libmvec_hidden_tls_def): Likewise.
7817 (libresolv_hidden_tls_def): Likewise.
7818 (librt_hidden_tls_def): Likewise.
7819 (libdl_hidden_tls_def): Likewise.
7820 (libnss_files_hidden_tls_def): Likewise.
7821 (libnsl_hidden_tls_def): Likewise.
7822 (libnss_nisplus_hidden_tls_def): Likewise.
7823 (libutil_hidden_tls_def): Likewise.
7824 (libutil_hidden_tls_def): Likweise.
7825 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7826 libc_hidden_tls_def.
7827 (__sim_disabled_exceptions_thread): Likewise.
7828 (__sim_round_mode_thread): Likewise.
7829
53f5c659
JM
7830 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7831 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7832 copy attributes from name.
7833
092dfde6
JM
78342018-11-12 Joseph Myers <joseph@codesourcery.com>
7835
f578f97b
JM
7836 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7837 Use __attribute_copy__ to copy attributes from name.
7838
9a7c643a
JM
7839 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7840 with __hidden_ver1 call.
7841 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7842 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7843 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7844 (__cosf): Do not declare here.
7845 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7846 (__sincosf): Do not declare here.
7847 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7848 (__sinf): Do not declare here.
7849
092dfde6
JM
7850 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7851 (__BIG_ENDIAN): Likewise.
7852 (__BYTE_ORDER): Likewise.
7853 (strong_alias): Likewise.
7854 (_strong_alias): Likewise.
7855
1ecba1fa
FW
78562018-11-12 Florian Weimer <fweimer@redhat.com>
7857
7858 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7859 function. Move after the definition of in_smallbin_range. Do not
7860 use __builtin_expect for paths that lead to a noreturn function.
7861 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7862 because it is unclear whether this is in fact an unlikely
7863 condition.
7864 (_int_malloc, _int_free): Adjust.
7865 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7866 variables.
7867 * malloc/arena.c (heap_trim): Likewise.
7868
434c34bd
ST
78692018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7870
7871 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7872 it, free it if needed.
7873 (reauthenticate): Test and use ccwdir.
7874 (child_init_port): In non-resetids case, test and use ccwdir.
7875 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7876 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7877 * hurd/hurd/port.h (_hurd_port_move): New function.
7878 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7879 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7880 * hurd/Versions (_hurd_port_move): Export function.
7881 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7882 symbol.
58bb655a
ST
7883 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7884 of dtablesize for allocating dtable_cloexec.
434c34bd 7885
1626a1cf
MS
78862018-11-09 Martin Sebor <msebor@redhat.com>
7887
7888 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7889 it's already defined.
7890 (_strong_alias): Use __attribute_copy__.
7891 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7892 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7893 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7894 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7895 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7896 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7897 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7898 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7899 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7900 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7901 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7902 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7903 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7904 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7905 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7906 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7907 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7908 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7909 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7910
968ed530
GG
79112018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7912
7913 * misc/tst-efgcvt.c: Include support/check.h and
7914 support/test-driver.c. Do not include test-skeleton.c.
7915 (error_count): Remove.
7916 (output_error): Replace increments to error_count with calls to
7917 support_record_failure.
7918 (output_r_error): Likewise.
7919 (special): Likewise.
7920 (do_test): Unconditionally return zero.
7921 (TEST_FUNCTION): Remove.
7922
c3ec0972
JM
79232018-11-09 Joseph Myers <joseph@codesourcery.com>
7924
91faaa93
JM
7925 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7926 not $(@D)/scratch.
7927 ($(linknamespace-header-tests)): Likewise.
7928
c3ec0972
JM
7929 * conform/conformtest.py: New file.
7930 * conform/conformtest.pl: Remove.
7931 * conform/GlibcConform.pm: Likewise.
7932 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7933 (KEYWORDS_C99): Likewise.
7934 (KEYWORDS): Likewise.
7935 * conform/Makefile ($(conformtest-header-tests)): Use
7936 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7937 option. Use --header instead of --headers.
7938 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7939 function entries.
7940 * conform/data/spawn.h-data: Likewise.
7941 * conform/data/fcntl.h-data (openat): Add space after function
7942 name.
7943 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7944 (wcscasecmp_l): Likewise.
7945 * conform/data/termios.h-data (c_cc): Add space after element
7946 name.
7947
43257c33
GG
79482018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7949
7950 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7951 instead of manually comparing and reporting mismatching strings.
7952 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7953 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7954
e5de3b5b
JM
79552018-11-08 Joseph Myers <joseph@codesourcery.com>
7956
7957 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7958 __ASSUME_SOCKETCALL.
7959 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7960 (__ASSUME_SOCKETCALL): Remove.
7961 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7962 (__ASSUME_SOCKETCALL): Likewise.
7963 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7964 (__ASSUME_SOCKETCALL): Likewise.
7965 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7966 (__ASSUME_SOCKETCALL): Likewise.
7967 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7968 (__ASSUME_SOCKETCALL): Likewise.
7969 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7970 (__ASSUME_SOCKETCALL): Likewise.
7971 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7972 (__ASSUME_SOCKETCALL): Likewise.
7973
d524fa6c
L
79742018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7975
7976 [BZ #23509]
7977 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7978 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7979 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7980 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7981 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7982 lc_unknown.
7983
ac806026
AH
79842018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7985
7986 [BZ #17630]
7987 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7988
596cc360
JM
79892018-11-07 Joseph Myers <joseph@codesourcery.com>
7990
7991 [BZ #23867]
7992 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7993 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7994 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7995 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7996
00c86a37
AZ
79972018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7998
7999 * support/support_test_compare_string.c
8000 (support_test_compare_string): Fix printf format.
8001
1df872fd
FW
80022018-11-07 Florian Weimer <fweimer@redhat.com>
8003
8004 Implement TEST_COMPARE_STRING.
8005 * support/check.h (TEST_COMPARE_STRING): Define.
8006 (support_test_compare_string): Declare.
8007 * support/Makefile (libsupport-routines): Add
8008 support_test_compare_string.
8009 (tests): Add tst-test_compare_string.
8010 * support/support_test_compare_string.c: New file.
8011 * support/tst-test_compare_string.c: Likewise.
8012
295132ff
AS
80132018-11-07 Andreas Schwab <schwab@suse.de>
8014
8015 [BZ #23864]
8016 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8017 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8018 Undef.
8019
e143ceba
JM
80202018-11-06 Joseph Myers <joseph@codesourcery.com>
8021
8022 [BZ #23862]
8023 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8024 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8025 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8026 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8027 Likewise.
8028
4a938cb2
FW
80292018-11-06 Florian Weimer <fweimer@redhat.com>
8030
8031 [BZ #17405]
8032 * posix/Makefile (routines): Add spawn_faction_addchdir.
8033 (tests): Add tst-spawn-chdir.
8034 * posix/Versions (GLIBC_2.29): Add
8035 posix_spawn_file_actions_addchdir_np.
8036 * posix/spawn_faction_addchdir.c: New file.
8037 * posix/spawn_faction_destroy.c
8038 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8039 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8040 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8041 chdir_action.
8042 * posix/tst-spawn-chdir.c: New file.
8043 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8044 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8045 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8046 posix_spawn_file_actions_addchdir_np.
8047 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8048 Likewise.
8049 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8050 Likewise.
8051 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8052 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8053 Likewise.
8054 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8055 Likewise.
8056 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8057 Likewise.
8058 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8059 Likewise.
8060 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8061 Likewise.
8062 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8063 Likewise.
8064 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8065 (GLIBC_2.29): Likewise.
8066 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8067 (GLIBC_2.29): Likewise.
8068 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8069 (GLIBC_2.29): Likewise.
8070 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8071 (GLIBC_2.29): Likewise.
8072 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8073 Likewise.
8074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8075 (GLIBC_2.29): Likewise.
8076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8077 (GLIBC_2.29): Likewise.
8078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8079 (GLIBC_2.29): Likewise.
8080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8081 (GLIBC_2.29): Likewise.
8082 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8083 Likewise.
8084 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8085 Likewise.
8086 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8087 Likewise.
8088 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8090 Likewise.
8091 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8092 Likewise.
8093 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8094 Likewise.
8095 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8096 Likewise.
8097
7597b0c7
GG
80982018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8099
8100 * misc/Makefile (tests): Add tst-ldbl-error.
8101 * misc/tst-ldbl-error.c: New file.
8102
9771e6cb
GG
81032018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8104
8105 * misc/Makefile (tests): Add tst-ldbl-warn.
8106 * misc/tst-ldbl-warn.c: New file.
8107
2c03961f
GG
81082018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8109
8110 * argp/Makefile (tests): Add tst-ldbl-argp.
8111 * argp/tst-ldbl-argp.c: New file.
8112
6d6ee046
AS
81132018-11-05 Arjun Shankar <arjun@redhat.com>
8114
8115 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8116 __gconv_path_elem and call __gconv_get_path unconditionally.
8117
bd3b0fba
AS
81182018-11-05 Andreas Schwab <schwab@suse.de>
8119
8120 [BZ #22927]
8121 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8122 creating the first helper thread failed.
8123
2e96e980
ST
81242018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8125
8126 * sysdeps/mach/hurd/msync.c: New file.
8127
6e36266c
FW
81282018-11-02 Florian Weimer <fweimer@redhat.com>
8129
8130 * support/shell-container.c (copy_func): Call
8131 support_copy_file_range instead of copy_file_range to support
8132 cross-device copies.
8133
599f7bee
FW
81342018-11-02 Florian Weimer <fweimer@redhat.com>
8135
8136 * support/test-container.c: Include <libc-pointer-arith.h> for
8137 ALIGN_UP.
8138
ff48ea67
ZL
81392018-11-01 Zong Li <zong@andestech.com>
8140
af1d5782
ZL
8141 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8142 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8143 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8144 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8145
ff48ea67
ZL
8146 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8147 variable to avoid overlap arguments.
8148
daea71c2
JM
81492018-11-01 Joseph Myers <joseph@codesourcery.com>
8150
eac4405a
JM
8151 * posix/bug-regex22.c (main): Use puts with distinct error
8152 messages for unexpected success of re_compile_pattern, not printf
8153 with NULL argument to %s.
8154
6f30e59f
JM
8155 * stdio-common/bug22.c: Include <libc-diag.h>.
8156 (do_test): Disable -Wformat-overflow= warnings around fprintf
8157 calls outputting more than INT_MAX characters.
8158 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8159 around printf call with NULL %s argument.
8160
daea71c2
JM
8161 [BZ #23848]
8162 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8163 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8164 Undefine.
8165 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8166 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8167 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8168 (__ASSUME_SENDTO_SYSCALL): Likewise.
8169 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8170 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8171 [!__arch64__].
8172 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8173 (__ASSUME_CONNECT_SYSCALL): Likewise.
8174 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8175 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8176 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8177 Define.
8178 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8179 Likewise.
8180 [__LINUX_KERNEL_VERSION >= 0x040400]
8181 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8182 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8183 Remove.
8184 (listen): Likewise.
8185 (setsockopt): Likewise.
8186
8e3c00db
FN
81872018-11-01 Fredrik Noring <noring@nocrew.org>
8188
8189 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8190 with the ISA override.
8191
9c3dbdbe
RAE
81922018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8193
8194 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8195 #endif.
8196
e3a88b3e
ST
81972018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8198
a67377e7 8199 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8200 translate the error message.
a67377e7
ST
8201 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8202 printing trailing whitespaces refused by git.
8203 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8204 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8205 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8206
3ca235ed
JM
82072018-10-30 Joseph Myers <joseph@codesourcery.com>
8208
8209 * conform/linknamespace.py: New file.
8210 * conform/linknamespace.pl: Remove file.
8211 * conform/Makefile ($(linknamespace-header-tests)): Use
8212 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8213 option.
8214
60708030
FW
82152018-10-30 Florian Weimer <fweimer@redhat.com>
8216
8217 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8218 memory leaks.
8219
a91e9301
FW
82202018-10-30 Florian Weimer <fweimer@redhat.com>
8221
8222 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8223
07da99aa
FW
82242018-10-30 Florian Weimer <fweimer@redhat.com>
8225
8226 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8227 support_blob_repeat.
8228
f5e7e959
FW
82292018-10-30 Florian Weimer <fweimer@redhat.com>
8230
8231 Avoid spurious test failures in stdlib/test-bz22786.
8232 * support/Makefile (libsupport-routines): Add blob_repeat.
8233 (tests): Add tst-support_blob_repeat.
8234 * support/blob_repeat.h: New file.
8235 * support/blob_repeat.c: Likewise.
8236 * support/tst-support_blob_repeat.c: Likewise.
8237 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8238 support_blob_repeat_allocate.
8239
2dd12baa
AS
82402018-10-30 Andreas Schwab <schwab@suse.de>
8241
8242 [BZ #23125]
8243 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8244 Don't use tail call.
8245 * elf/tst-unwind-main.c: New file.
8246 * elf/Makefile (tests): Add tst-unwind-main.
8247 (CFLAGS-tst-unwind-main.c): Define.
8248
6b5c8607 82492018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8250
8251 [BZ #23791]
8252 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8253 n_cs_precedes to 0.
8254 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8255
c6982f7e
JM
82562018-10-29 Joseph Myers <joseph@codesourcery.com>
8257
954cf3c2
JM
8258 * conform/glibcconform.py: Do not import shutil.
8259 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8260 of mkdtemp.
8261
c6982f7e
JM
8262 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8263 critic_missing for versions before 3.4.
8264 * configure: Regenerated.
8265 * manual/install.texi (Tools for Compilation): Document
8266 requirement for Python to build glibc.
8267 * INSTALL: Regenerated.
8268 * Rules [PYTHON]: Make code unconditional.
8269 * benchtests/Makefile [PYTHON]: Likewise.
8270 * conform/Makefile [PYTHON]: Likewise.
8271 * manual/Makefile [PYTHON]: Likewise.
8272 * math/Makefile [PYTHON]: Likewise.
8273
46a7f24c
ST
82742018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8275
8276 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8277 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8278 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8279 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8280 _hurd_intr_rpc_msg_about_to global point to start of controlled
8281 assembly snippet. Make it check canceled flag.
8282 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8283 the _hurd_intr_rpc_msg_about_to point.
8284 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8285 issue, remove cancel flag check.
46a7f24c 8286
e5b8756d
JM
82872018-10-26 Joseph Myers <joseph@codesourcery.com>
8288
8289 * scripts/build-many-glibcs.py: Remove compatibility for missing
8290 os.cpu_count and re.fullmatch.
8291
ba5b14c7
SN
82922018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8293
8294 [BZ #23822]
8295 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8296 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8297 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8298
fe61f17c
JM
82992018-10-25 Joseph Myers <joseph@codesourcery.com>
8300
8301 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8302 macro.
8303
7c5e34d7
FW
83042018-10-25 Florian Weimer <fweimer@redhat.com>
8305
8306 [BZ #23562]
8307 [BZ #23821]
8308 XFAIL siginfo_t si_band conform test on sparc64.
8309 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8310 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8312 (conformtest-xfail-conds): Add sparc64-linux.
8313 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8314 sparc64.
8315 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8316
5b784e88
JM
83172018-10-25 Joseph Myers <joseph@codesourcery.com>
8318
8319 * elf/elf.h (NT_MIPS_DSP): New macro.
8320 (NT_MIPS_FP_MODE): Likewise.
8321
41432ebe
ZL
83222018-10-25 Zong Li <zong@andestech.com>
8323
8324 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8325 name by adding the file extension (.so).
8326
d026efea
ST
83272018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8328
8329 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8330 (test-xfail-ISO11/threads.h/linknamespace,
8331 test-xfail-ISO11/threads.h/conform): Add.
8332
b71ac2b9
JM
83332018-10-24 Joseph Myers <joseph@codesourcery.com>
8334
8335 * math/gen-libm-test.py: Import os.
8336 (ALL_FLOATS_MANUAL): New constant.
8337 (ALL_FLOATS_SUFFIX): Likewise.
8338 (Ulps.all_functions): New function.
8339 (real_all_ulps): Likewise.
8340 (generate_err_table_sub): Likewise.
8341 (generate_err_table): Likewise.
8342 (main): Handle -s and -m options.
8343 * manual/libm-err-tab.pl: Remove.
8344 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8345 instead of libm-err-tab.pl.
8346 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8347 != no].
8348 * manual/install.texi (Tools for Compilation): Document
8349 requirement for Python to build manual.
8350 * INSTALL: Regenerated.
8351
6b5c8607 83522018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8353
8354 * bits/time64.h: New file.
8355 * include/time.h: Replace internal_time_t with __time64_t.
8356 * posix/bits/types (__time64_t): Add.
8357 * stdlib/Makefile: Add bits/time64.h to includes.
8358 * time/tzfile.c: Replace internal_time_t with __time64_t.
8359
97d91fcc 83602018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8361
8362 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8363 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8364 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8365 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8366 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8367 prototype.
8368 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8369 * posix/spawn_faction_addclose.c
8370 (__posix_spawn_file_actions_addclose): Add hidden definition.
8371 * posix/spawn_faction_adddup2.c
8372 (__posix_spawn_file_actions_adddup2): Likewise.
8373 * posix/spawn_faction_destroy.c
8374 (__posix_spawn_file_actions_destroy): Likewise.
8375 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8376 Likewise.
8377 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8378 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8379 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8380 Likewise.
8381 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8382 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8383 Likewise.
8384
2954daf0
AS
83852018-10-24 Andreas Schwab <schwab@suse.de>
8386
8387 [BZ #18093]
8388 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8389 format cache.
8390 * elf/cache.c (print_cache): Likewise.
8391
6b5c8607 83922018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8393
8394 * bits/timesize.h: New file.
8395 * stdlib/Makefile (headers): Add bits/timesize.h.
8396 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8397 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8398 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8399 (__SEM_PAD_AFTER_TIME): Likewise.
8400 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8401 (__SHM_PAD_AFTER_TIME): Likewise.
8402 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8403 (__MSQ_PAD_BEFORE_TIME): Likewise.
8404 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8405 (__SEM_PAD_BEFORE_TIME): Likewise.
8406 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8407 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8408 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8409 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8410 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8411 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8412 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8413 (__SEM_PAD_BEFORE_TIME): Likewise.
8414 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8415 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8417 (__MSQ_PAD_BEFORE_TIME): Likewise.
8418 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8419 (__SEM_PAD_BEFORE_TIME): Likewise.
8420 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8421 (__SHM_PAD_BEFORE_TIME): Likewise.
8422 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8423 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8424 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8425
7cc65773
L
84262018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8427
8428 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8429 USE_RDTSCP is defined.
8430 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8431 USE_RDTSCP is defined.
8432
c3d8dc45
AZ
84332018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8434
18ad0de6
AZ
8435 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8436 defined.
8437
c3d8dc45
AZ
8438 [BZ #23709]
8439 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8440 independently of other flags.
8441
f1034472
FW
84422018-10-23 Florian Weimer <fweimer@redhat.com>
8443
8444 * time/tst-mktime2.c (N_STRINGS): Remove.
8445 (set_timezone): New function.
8446 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8447 (mktime_test1): Report localtime failure and check errno value.
8448 Use TEST_COMPARE.
8449 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8450 (do_test): Remove alarm call. Use set_timezone and array_length.
8451
367d7cc2
AS
84522018-10-23 Andreas Schwab <schwab@suse.de>
8453
8454 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8455 (__start_context): Use END instead of PSEUDO_END.
8456
be8ff03f
JM
84572018-10-22 Joseph Myers <joseph@codesourcery.com>
8458
029ad711
JM
8459 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8460 version to 4.19.
8461
8190520f
JM
8462 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8463 version to 4.19.
8464
be8ff03f
JM
8465 [BZ #23793]
8466 * wcsmbs/c32rtomb.c: New file.
8467 * wcsmbs/mbrtoc32.c: Likewise.
8468 * wcsmbs/tst-c32-state.c: Likewise.
8469 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8470 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8471 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8472 (tests): Add tst-c32-state.
8473 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8474 $(gen-locales).
8475
2dd8e58c
L
84762018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8477
8478 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8479 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8480
d0a74159
JM
84812018-10-19 Joseph Myers <joseph@codesourcery.com>
8482
8483 [BZ #23794]
8484 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8485 pair and return 0 in that case, and use saved character to
8486 interpret following character.
8487 * wcsmbs/tst-c16-surrogate.c: New file.
8488 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8489 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8490 Depend on $(gen-locales)
8491
f997b4be
IYM
84922018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8493
8494 [BZ #23562]
8495 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8496 (struct siginfo_t): Use correct type for si_band.
8497
53b2bb87
FW
84982018-10-19 Florian Weimer <fweimer@redhat.com>
8499
8500 [BZ #23689]
8501 * resource/bits/types/struct_rusage.h (struct rusage): Update
8502 comment on struct. Remove extraneous field comment.
8503
0a271c8f
DM
85042018-10-18 David S. Miller <davem@davemloft.net>
8505
94a3a27f
DM
8506 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8507 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8508 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8509 sysdep_routines in subdir elf.
8510 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8511 version for __vdso_clock_gettime.
8512 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8513 Define.
8514 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8515 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8516
0a271c8f
DM
8517 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8518
72771e53
L
85192018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8520
8521 * sysdeps/i386/init-arch.h: Removed.
8522 * sysdeps/i386/i586/init-arch.h: Likewise.
8523 * sysdeps/i386/i686/init-arch.h: Likewise.
8524 * sysdeps/i386/i686/hp-timing.h: Likewise.
8525 * sysdeps/x86_64/hp-timing.h: Likewise.
8526 * sysdeps/i386/isa.h: New file.
8527 * sysdeps/i386/i586/isa.h: Likewise.
8528 * sysdeps/i386/i686/isa.h: Likewise.
8529 * sysdeps/x86_64/isa.h: Likewise.
8530 * sysdeps/x86/hp-timing.h: New file.
8531 * sysdeps/x86/init-arch.h: Include <isa.h>.
8532
c2b7ccad
JM
85332018-10-17 Joseph Myers <joseph@codesourcery.com>
8534
8535 * math/libm-test-pow.inc (pow_test_data): Do not allow
8536 divide-by-zero exception for pow(+/- 0, -Inf).
8537
26756e57
ZW
85382018-10-17 Zack Weinberg <zackw@panix.com>
8539
8540 * manual/job.texi (Job Control is Optional): Remove node, as
8541 job control has not been optional in quite some time.
8542 (Job Control): Mention briefly that systems older than
8543 POSIX.1-2001 might not support job control.
8544 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8545 defined on systems conforming to POSIX.1-2001.
8546
c5288d37
AS
85472018-10-17 Arjun Shankar <arjun@redhat.com>
8548
8549 [BZ #22062]
8550 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8551 indentation.
8552 * (__gconv_read_conf): Mark function static.
8553 * (once): New static variable.
8554 * (__gconv_load_conf): New function.
8555 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8556 * iconv/gconv_db.c (once): Remove static variable.
8557 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8558 __gconv_read_conf.
8559 * (__gconv_find_transform): Likewise.
8560 * iconv/tst-iconv-mt.c: New test.
8561 * iconv/Makefile: Add tst-iconv_mt.
8562
8c8d2a8a
JM
85632018-10-17 Joseph Myers <joseph@codesourcery.com>
8564
8565 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8566 bits/shm-pad.h.
8567 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8568 (shmatt_t): Define as __syscall_ulong_t.
8569 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8570 and [__SHM_PAD_AFTER_TIME].
8571 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8572 Define shm_segsz and associated padding based on
8573 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8574 Use __syscall_ulong_t instead of unsigned long int.
8575 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8576 unsigned long int.
8577 [__USE_MISC] (struct shm_info): Likewise.
8578 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8579 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8580 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8581 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8582 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8583 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8584 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8585 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8586 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8587 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8588 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8589
8590 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8591 bits/shmlba.h.
8592 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8593 (SHMLBA): Remove macro.
8594 (__getpagesize): Remove function declaration.
8595 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8596 <bits/shmlba.h>.
8597 (SHMLBA): Remove macro.
8598 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8599 <bits/shmlba.h>.
8600 (SHMLBA): Remove macro.
8601 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8602 <bits/shmlba.h>.
8603 (SHMLBA): Remove macro.
8604 (__getpagesize): Remove function declaration.
8605 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8606 <bits/shmlba.h>.
8607 (SHMLBA): Remove macro.
8608 (__getshmlba): Remove function declaration.
8609 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8610 (SHMLBA): Remove macro.
8611 (__getpagesize): Remove function declaration.
8612 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8613 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8614 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8615 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8616 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8617 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8618 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8619 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8620 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8621 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8622
403b4feb
SL
86232018-10-17 Stefan Liebler <stli@linux.ibm.com>
8624
8625 [BZ #23275]
8626 * nptl/tst-mutex10.c: New File.
8627 * nptl/Makefile (tests): Add tst-mutex10.
8628 (tst-mutex10-ENV): New variable.
8629 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8630 Ensure that elision path is used if elision is available.
8631 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8632 Likewise.
8633 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8634 Likewise.
8635 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8636 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8637 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8638 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8639 Likewise.
8640 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8641 (__pthread_mutex_cond_lock_adjust): Likewise.
8642 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8643 Likewise.
8644 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8645 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8646 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8647 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8648 Add comments.
8649 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8650 Use atomic_load_relaxed and atomic_store_relaxed.
8651 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8652 Use atomic_store_relaxed.
8653
ce5a7de6
AS
86542018-10-17 Andreas Schwab <schwab@suse.de>
8655
8656 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8657 * crypt/badsalttest.c (TIMEOUT): Likewise.
8658 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8659 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8660 * io/test-lfs.c (TIMEOUT): Likewise.
8661 * libio/tst-atime.c (TIMEOUT): Likewise.
8662 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8663 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8664 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8665 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8666 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8667 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8668 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8669 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8670 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8671 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8672 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8673 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8674 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8675 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8676 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8677 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8678 * nptl/tst-once2.c (TIMEOUT): Likewise.
8679 * nptl/tst-once3.c (TIMEOUT): Likewise.
8680 * nptl/tst-once4.c (TIMEOUT): Likewise.
8681 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8682 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8683 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8684 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8685 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8686 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8687 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8688 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8689 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8690 * posix/tst-chmod.c (TIMEOUT): Likewise.
8691 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8692 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8693 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8694 * posix/tst-regex2.c (TIMEOUT): Likewise.
8695 * posix/tst-waitid.c (TIMEOUT): Likewise.
8696 * rt/tst-aio.c (TIMEOUT): Likewise.
8697 * rt/tst-aio10.c (TIMEOUT): Likewise.
8698 * rt/tst-aio4.c (TIMEOUT): Likewise.
8699 * rt/tst-aio5.c (TIMEOUT): Likewise.
8700 * rt/tst-aio6.c (TIMEOUT): Likewise.
8701 * rt/tst-aio64.c (TIMEOUT): Likewise.
8702 * rt/tst-aio7.c (TIMEOUT): Likewise.
8703 * rt/tst-aio9.c (TIMEOUT): Likewise.
8704 * rt/tst-clock.c (TIMEOUT): Likewise.
8705 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8706 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8707 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8708 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8709 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8710 * rt/tst-timer4.c (TIMEOUT): Likewise.
8711 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8712 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8713 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8714 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8715 * time/tst-ftime.c (TIMEOUT): Likewise.
8716 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8717
6b5c8607 87182018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8719
8720 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8721 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8722 for thunderX2.
8723
bcdb1bfa
JM
87242018-10-15 Joseph Myers <joseph@codesourcery.com>
8725
8726 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8727 bits/sem-pad.h.
8728 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8729 instead of <bits/wordsize.h>.
8730 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8731 and [__SEM_PAD_AFTER_TIME].
8732 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8733 __syscall_ulong_t instead of unsigned long int.
8734 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8735 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8736 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8737 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8738 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8739 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8740 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8741 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8742 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8743 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8744 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8745
f4efbdfb
PE
87462018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8747
620a5d4c
PE
8748 regex: simplify by using intprops.h
8749 [BZ#23744]
8750 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8751 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8752 intprops.h defines them.
8753
f4efbdfb
PE
8754 regex: __builtin_expect → __glibc_unlikely
8755 [BZ#23744]
8756 This refactoring was prompted by a problem when the regex code is
8757 used as part of Gnulib and when the builder’s compiler does not grok
8758 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8759 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8760 Although this refactoring does not fix the problem directly,
8761 we might as well have Gawk use the now-preferred glibc style for when
8762 __builtin_expect is unavailable.
8763 * posix/regex_internal.h (BE): Remove.
8764 All uses replaced by __glibc_unlikely or __glibc_likely.
8765
9f9feb6d
JM
87662018-10-11 Joseph Myers <joseph@codesourcery.com>
8767
8768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8769 bits/msq-pad.h.
8770 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8771 instead of <bits/wordsize.h>.
8772 (msgqnum_t): Define as __syscall_ulong_t.
8773 (msglen_t): Likewise.
8774 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8775 and [__MSQ_PAD_AFTER_TIME].
8776 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8777 __syscall_ulong_t instead of unsigned long int.
8778 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8779 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8780 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8781 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8782 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8783 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8784 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8785 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8786 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8787 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8788 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8789
b9c0f6c1
JM
87902018-10-10 Joseph Myers <joseph@codesourcery.com>
8791
2a4b25fa
JM
8792 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8793 (struct shmid_ds): Condition padding after time fields on
8794 [__WORDSIZE == 32].
8795 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8796 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8797 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8798
19e62f26
JM
8799 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8800 (struct semid_ds): Condition padding after time fields on
8801 [__WORDSIZE == 32].
8802 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8803 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8804 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8805 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8806
b9c0f6c1
JM
8807 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8808 (struct msqid_ds): Condition padding after time fields on
8809 [__WORDSIZE == 32].
8810 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8811 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8812 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8813 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8814
97785a61
SN
88152018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8816
8817 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8818
ed643089
SN
88192018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8820
8821 * libio/tst-readline.c (TIMEOUT): Define.
8822
5a580643
PE
88232018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8824
8825 mktime fix for Gnulib + coreutils
8826 [BZ#23745]
8827 This fix affects only Gnulib. Problem discovered when
8828 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8829 * time/mktime.c:
8830 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8831 Do not define since it is not used. Defining an unused static
8832 function prompts a warning from GCC when Coreutils is configured
8833 with --enable-gcc-warnings.
8834
c892ae04
LS
88352018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8836
8837 * benchtests/scripts/compare_bench.py (main): set float type on
8838 threshold argument.
8839
a68ec8ea
RL
88402018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8841
8842 [BZ #23740]
8843 * localedata/locales/kl_GL (mon): Update, the relative case.
8844 (alt_mon): Add, fill with month names in the nominative case.
8845 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8846 (d_fmt): Set to "%b %d %Y".
8847
a1987621
JM
88482018-10-04 Joseph Myers <joseph@codesourcery.com>
8849
47c49251
JM
8850 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8851 <bits/mman-linux.h>.
8852 (PROT_READ): Don't define here.
8853 (PROT_WRITE): Likewise.
8854 (PROT_EXEC): Likewise.
8855 (PROT_NONE): Likewise.
8856 (PROT_GROWSDOWN): Likewise.
8857 (PROT_GROWSUP): Likewise.
8858 (MAP_SHARED): Likewise.
8859 (MAP_PRIVATE): Likewise.
8860 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8861 [__USE_MISC] (MAP_FILE): Likewise.
8862 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8863 [__USE_MISC] (MAP_ANON): Likewise.
8864 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8865 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8866 (MCL_CURRENT): Likewise.
8867 (MCL_FUTURE): Likewise.
8868 (MCL_ONFAULT): Likewise.
8869 [__USE_MISC] (MADV_NORMAL): Likewise.
8870 [__USE_MISC] (MADV_RANDOM): Likewise.
8871 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8872 [__USE_MISC] (MADV_WILLNEED): Likewise.
8873 [__USE_MISC] (MADV_DONTNEED): Likewise.
8874 [__USE_MISC] (MADV_FREE): Likewise.
8875 [__USE_MISC] (MADV_REMOVE): Likewise.
8876 [__USE_MISC] (MADV_DONTFORK): Likewise.
8877 [__USE_MISC] (MADV_DOFORK): Likewise.
8878 [__USE_MISC] (MADV_HWPOISON): Likewise.
8879 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8880 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8881 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8882 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8883 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8884 (__MAP_ANONYMOUS): New macro.
8885 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8886 <bits/mman-linux.h> inclusion.
8887 (MAP_FIXED): Likewise.
8888 (MS_SYNC): Likewise.
8889 (MS_ASYNC): Likewise.
8890 (MS_INVALIDATE): Likewise.
8891 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8892 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8893 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8894 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8895 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8896 [__USE_MISC] (MADV_DODUMP): Likewise.
8897 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8898 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8899
a1987621
JM
8900 [BZ #23735]
8901 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8902 Define.
8903 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8904 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8905 Add test-nldbl-redirect.
8906 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8907 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8908 $(objpfx)libnldbl_nonshared.a.
8909
e7624d70
SL
89102018-10-04 Stefan Liebler <stli@linux.ibm.com>
8911
8912 * support/support.h (support_objdir_elf_ldso): New variable.
8913 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8914 * support/Makefile (CFLAGS-support_paths.c): Add definition
8915 for OBJDIR_ELF_LDSO_PATH.
8916 * support/test-container.c (main): Search for the ld.so
8917 which is also used by the testsuite.
8918
dae3ed95
RL
89192018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8920
8921 [BZ #20209]
8922 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8923 should be "sap" rather than "sab".
8924 (day): Fix spelling of Sunday, should be "sapaat" rather than
8925 "sabaat".
8926
f346b5b3
JM
89272018-10-02 Joseph Myers <joseph@codesourcery.com>
8928
8929 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8930
4a06ceea
MJ
89312018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8932
8933 [BZ #19444]
8934 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8935 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8936 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8937
a06fc4a5
AZ
89382018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8939
8940 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8941
a1ccc065
L
89422018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8943
8944 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8945 Add -mrtm.
8946 (CFLAGS-elision-unlock.c): Likewise.
8947 (CFLAGS-elision-timed.c): Likewise.
8948 (CFLAGS-elision-trylock.c): Likewise.
8949 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8950
0b727ed4
AZ
89512018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8952
8953 [BZ #21037]
8954 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8955 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8956 new fd_to_filename interface.
8957 * libio/freopen64.c (freopen64): Likewise.
8958 * libio/tst-memstream.h: New file.
8959 * libio/tst-memstream4.c: Likewise.
8960 * libio/tst-wmemstream4.c: Likewise.
8961 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8962 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8963 and remove internal dynamic allocation.
8964
d0e91e8c
JM
89652018-10-01 Joseph Myers <joseph@codesourcery.com>
8966
8967 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8968 (MREMAP_MAYMOVE): Do not define here.
8969 [__USE_GNU] (MREMAP_FIXED): Likewise.
8970 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8971 (MREMAP_MAYMOVE): Define here instead.
8972 [__USE_GNU] (MREMAP_FIXED): Likewise.
8973 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8974 (MREMAP_MAYMOVE): Remove.
8975 [__USE_GNU] (MREMAP_FIXED): Likewise.
8976
c52944e8
JM
89772018-09-28 Joseph Myers <joseph@codesourcery.com>
8978
8979 * math/fromfp.h: Do not include <math_private.h>.
8980 * math/s_cacosh_template.c: Likewise.
8981 * math/s_casin_template.c: Likewise.
8982 * math/s_casinh_template.c: Likewise.
8983 * math/s_ccos_template.c: Likewise.
8984 * math/s_cproj_template.c: Likewise.
8985 * math/s_fdim_template.c: Likewise.
8986 * math/s_fmaxmag_template.c: Likewise.
8987 * math/s_fminmag_template.c: Likewise.
8988 * math/s_iseqsig_template.c: Likewise.
8989 * math/s_ldexp_template.c: Likewise.
8990 * math/s_nextdown_template.c: Likewise.
8991 * math/w_log1p_template.c: Likewise.
8992 * math/w_scalbln_template.c: Likewise.
8993 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8994 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8995 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8996 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8997 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8998 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8999 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9000 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9001 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9002 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9003 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9004 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9005 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9006 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9007 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9008 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9009 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9010 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9011 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9012 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9013 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9014 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9015 * sysdeps/ieee754/k_standardf.c: Likewise.
9016 * sysdeps/ieee754/k_standardl.c: Likewise.
9017 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9018 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9019 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9020 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9021 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9022 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9023 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9024 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9025 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9026 * sysdeps/ieee754/s_signgam.c: Likewise.
9027 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9028 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9029 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9030 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9031 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9032 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9033 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9034 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9035 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9036 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9037 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9038 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9039 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9040 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9041 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9042 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9043 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9044 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9045 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9046 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9047 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9048 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9049 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9050 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9051 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9052 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9053 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9054 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9055 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9056 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9057 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9058 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9059 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9060 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9061 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9062 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9063 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9064 <math_private.h>.
9065 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9066
7b1f9406
L
90672018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9068
9069 [BZ #23716]
9070 * sysdeps/i386/dl-cet.c: Removed.
9071 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9072 prototype.
9073 (_dl_runtime_profile_shstk): Likewise.
9074 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9075 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9076
7a16bdbb
AZ
90772018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9078
9079 [BZ #23579]
9080 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9081 do_test_with_invalid_iov): New tests.
9082 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9083 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9084 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9085 errno is ENOSYS.
9086 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9087 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9088 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9089
9755bc46
JM
90902018-09-27 Joseph Myers <joseph@codesourcery.com>
9091
81dca813
JM
9092 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9093 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9094 (MATH_REDIRECT_BINARY_ARGS): New macro.
9095 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9096 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9097 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9098 header inclusion.
9099 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9100 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9101 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9102 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9103 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9104 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9105 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9106 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9107 Likewise.
9108 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9109 Likewise.
9110 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9112 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9113 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9115 Likewise.
9116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9117 Likewise.
9118 * sysdeps/generic/math_private_calls.h
9119 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9120 Do not declare and define as an inline function.
9121 * math/divtc3.c (__divtc3): Use copysign functions instead of
9122 __copysign variants.
9123 * math/multc3.c (__multc3): Likewise.
9124 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9125 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9126 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9127 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9128 Likewise.
9129 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9130 (__ieee754_yn): Likewise.
9131 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9132 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9133 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9134 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9135 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9136 (__sin): Likewise.
9137 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9138 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9139 Likewise.
9140 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9141 Likewise.
9142 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9143 Likewise.
9144 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9145 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9146 Likewise.
9147 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9148 (__ieee754_ynf): Likewise.
9149 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9150 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9151 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9152 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9153 Likewise.
9154 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9155 (__ieee754_ynl): Likewise.
9156 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9157 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9158 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9159 Likewise.
9160 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9161 (__ieee754_ynl): Likewise.
9162 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9165 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9166 Likewise.
9167 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9168 (__ieee754_ynl)
9169 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9170 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9171 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9172 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9173 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9174
9755bc46
JM
9175 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9176 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9177 using MATH_REDIRECT.
9178 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9179 header inclusion.
9180 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9181 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9182 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9183 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9184 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9185 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9186 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9189 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9191 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9192 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9193 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9194 (round): Redirect to __round.
9195 (__roundl): Call round instead of __round.
9196 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9197 Remove macro.
9198 [_ARCH_PWR5X] (__roundf): Likewise.
9199 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9200 functions instead of __round variants.
9201 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9202 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9203 Likewise.
9204 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9205 Likewise.
9206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9207 Likewise.
9208 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9209 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9210 __lroundl.
9211 (__ieee754_expl): Call roundl instead of __roundl.
9212
f841c97e
AS
92132018-09-27 Andreas Schwab <schwab@suse.de>
9214
9215 [BZ #23717]
9216 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9217 (do_test): Make st1 static.
9218
6ca8284e
AS
92192018-09-26 Andreas Schwab <schwab@suse.de>
9220
9221 [BZ #23707]
9222 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9223 * elf/Makefile (tests): Add tst-unwind-ctor.
9224 (modules-names): Add tst-unwind-ctor-lib.
9225 ($(objpfx)tst-unwind-ctor): Depend on
9226 $(objpfx)tst-unwind-ctor-lib.so.
9227
61d8b5fe
JM
92282018-09-26 Joseph Myers <joseph@codesourcery.com>
9229
9230 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9231 file. Most contents moved from ....
9232 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9233 and include <bits/mman-map-flags-generic.h>.
9234 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9235 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9236 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9237 <bits/mman-map-flags-generic.h>.
9238 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9239 macros defined in <bits/mman-map-flags-generic.h>.
9240 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9241 <bits/mman-map-flags-generic.h>.
9242 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9243 defined in <bits/mman-map-flags-generic.h>.
9244
46341286
AS
92452018-09-26 Andreas Schwab <schwab@suse.de>
9246
9247 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9248 output.
9249
b5c45e83
AZ
92502018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9251 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9252 Fangrui Song <maskray@google.com>
9253
9254 [BZ #20480]
9255 * config.make.in (have-textrel_ifunc): New define.
9256 * configure.ac: Add check if linker supports textrel relocation with
9257 ifunc.
9258 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9259 tst-ifunc-textrel.
9260 (CFLAGS-tst-ifunc-textrel.c): New rule.
9261 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9262 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9263 * elf/tst-ifunc-textrel.c: New file.
9264
8ea4d2b7
JM
92652018-09-25 Joseph Myers <joseph@codesourcery.com>
9266
d62f9ec0
JM
9267 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9268 <bits/procfs-prregset.h>.
9269 (prgregset_t): Define using __prgregset_t.
9270 (prfpregset_t): Define using __prfpregset_t.
9271 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9272 (sysdep_headers): Add bits/procfs-prregset.h.
9273 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9274 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9275 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9276 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9277
d0d8eb43
JM
9278 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9279 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9280 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9281 pr_uid and pr_gid.
9282 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9283 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9284 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9285 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9286 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9287 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9288 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9289 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9290 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9291 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9292 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9293 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9294 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9295 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9296 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9297 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9298 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9299 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9300 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9301 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9302 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9303 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9304 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9305 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9306
8ea4d2b7
JM
9307 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9308 AArch64 version. Include <bits/procfs.h>.
9309 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9310 (sysdep_headers): Add bits/procfs.h.
9311 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9312 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9313 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9314 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9315 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9316 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9317 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9318 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9319 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9320 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9321 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9322 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9323 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9324 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9325 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9326 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9327 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9328
c7027166
AZ
93292018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9330
9331 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9332 Use libsupport.
9333
335a3b0a
AS
93342018-09-25 Arjun Shankar <arjun@redhat.com>
9335
9336 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9337 (__gconv_max_path_elem_len): Likewise.
9338 (__gconv_nmodules): Likewise.
9339 (__gconv_get_path): Likewise.
9340 (path_elem): Move to ...
9341 * iconv/gconv_conf.c: ... here.
9342 (__gconv_get_path): Mark function static.
9343 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9344 * iconv/gconv_open.c: ... here.
9345
462d348c
AS
93462018-09-24 Andreas Schwab <schwab@suse.de>
9347
9348 * scripts/haveversions.awk: New file.
9349 * Makerules ($(common-objpfx)Versions.def)
9350 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9351 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9352 Move rules ...
9353 * Makeconfig ($(common-objpfx)Versions.def)
9354 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9355 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9356 ... here.
9357 ($(common-objpfx)Versions.mk): New rule. Include it.
9358 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9359 Emit error if build-obsolete-nsl = yes.
9360 * manual/install.texi (Configuring and compiling): Describe
9361 --enable-obsolete-nsl as unavaiable after version 2.28.
9362 * INSTALL: Regenerate.
9363
f0458cf4
AZ
93642018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9365
9366 * NEWS: Add note about new TLE support on powerpc64le.
9367 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9368 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9369 __ununsed1.
9370 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9371 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9372 * sysdeps/powerpc/powerpc32/sysdep.h,
9373 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9374 ABORT_TRANSACTION): Remove macros.
9375 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9376 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9377 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9378 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9379 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9380 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9381 usage.
9382 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9383
434d45fd
RL
93842018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9385
9386 [BZ #10425]
9387 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9388 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9389 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9390 which is the same as in it_IT.
9391 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9392 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9393
d90c9b1a
JM
93942018-09-20 Joseph Myers <joseph@codesourcery.com>
9395
7abf97be
JM
9396 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9397 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9398 using MATH_REDIRECT.
9399 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9400 header inclusion.
9401 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9402 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9403 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9404 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9405 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9406 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9409 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9411 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9412 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9413 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9414 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9415 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9416 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9417 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9418 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9419 (ceil): Redirect to __ceil.
9420 (floor): Redirect to __floor.
9421 (trunc): Redirect to __trunc.
9422 (__truncl): Call trunc instead of __trunc.
9423 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9424 Remove macro.
9425 [_ARCH_PWR5X] (__truncf): Likewise.
9426 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9427 trunc functions instead of __trunc variants.
9428 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9429 Likewise.
9430 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9431 Likewise.
9432 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9433 Likewise.
9434 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9435 Likewise.
9436
d90c9b1a
JM
9437 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9438 [__i586__ || __pentium__].
9439 [__i486__]: Handle explicitly.
9440 (HAS_CPUID): Define to 1 if above macros are undefined.
9441 (HAS_I586): Likewise.
9442 (HAS_I686): Likewise.
9443
db9a8ad4
FW
94442018-09-20 Florian Weimer <fweimer@redhat.com>
9445
9446 * misc/tst-gethostid.c: New file.
9447 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9448 (tst-gethostid): Link with -ldl.
9449
1214ba06
MY
94502018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9451
9452 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9453 value from gethostbyname_r.
9454
791b350d
CD
94552018-09-19 Carlos O'Donell <carlos@redhat.com>
9456
9457 * stdlib/tst-setcontext9.c (f1): Rename to...
9458 (f1a): ... this.
9459 (f1b): New function implementing lower half of f1 in alternate stack.
9460
8e6fd2bd
PE
94612018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9462
e1080e7e
PE
9463 Fix mktime localtime offset confusion
9464 [BZ #23603]
9465 * include/time.h (__mktime_internal): The localtime offset is now
9466 of type long int instead of time_t. This is the longstanding type
9467 in glibc, and it is more than enough to represent difference
9468 between localtime and gmtime even if it is 32 bits and time_t is
9469 64. Changing it now will let us avoid an unnecessary change when
9470 time_t is widened to 64 bits on 32-bit platforms.
9471 * time/mktime-internal.h (mktime_offset_t): Now long int.
9472
8e6fd2bd
PE
9473 Merge mktime, timegm from upstream Gnulib
9474 [BZ #23603][BZ #16346]
9475 This fixes some obscure problems with integer overflow.
9476 Although it looks scary, it is almost all a byte-for-byte copy
9477 from Gnulib, and the Gnulib code has been tested reasonably well.
9478 * include/intprops.h: New file, copied from Gnulib.
9479 * include/verify.h, time/mktime-internal.h:
9480 New tiny files, simplified from Gnulib.
9481 * time/mktime.c: Copy from Gnulib. This has the following changes:
9482 Do not include config.h if DEBUG_MKTIME is nonzero.
9483 Include stdbool.h, intprops.h, verify.h.
9484 Include string.h only if needed.
9485 Include stdlib.h on MS-Windows.
9486 Include mktime-internal.h.
9487 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9488 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9489 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9490 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9491 simplify later conditionals; default the others to zero. Use
9492 these conditionals to express only the code needed on the current
9493 platform. In uses of these conditionals, explicitly spell out how
9494 _LIBC affects things, so it’s easier to review from a glibc
9495 viewpoint.
9496 (WRAPV): Remove; no longer needed now that we have
9497 systematic overflow checking.
9498 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9499 compartmentalize tzset issues. Move system-dependent tzsettish
9500 code here from mktime.
9501 (verify): Remove; now done by verify.h. All uses changed.
9502 (long_int): Use a more-conservative definition, to avoid
9503 integer overflow.
9504 (SHR): Remove, replacing with ...
9505 (shr): New function, which means we needn’t worry about side
9506 effects in args, and conversion analysis is simpler.
9507 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9508 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9509 (time_t_avg, time_t_add_ok): Remove.
9510 (mktime_min, mktime_max): New constants.
9511 (leapyear, isdst_differ): Use bool for booleans.
9512 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9513 Use long_int, not time_t, for mktime differences.
9514 (long_int_avg): New function, replacing time_t_avg.
9515 INT_ADD_WRAPV replaces time_t_add_ok.
9516 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9517 All uses changed.
9518 (convert_time): New function.
9519 (ranged_convert): Use it.
9520 (__mktime_internal): Last arg now points to mktime_offset_t, not
9521 time_t. All uses changed. This is a no-op on glibc, where
9522 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9523 offset guess. Directly check for integer overflow instead of
9524 using a heuristic that works only 99.9...% of the time.
9525 Access *OFFSET only once, to avoid an unlikely race if the
9526 compiler delays a load and if this cascades into a signed integer
9527 overflow.
9528 (mktime): Move tzsettish code to my_tzset, and move
9529 localtime_offset to within mktime so that it doesn’t
9530 need a separate ifdef.
9531 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9532 instead of localtime.
9533 * time/timegm.c: Copy from Gnulib. This has the following changes:
9534 Include mktime-internal.h.
9535 [!_LIBC]: Include config.h and time.h. Do not include
9536 timegm.h or time_r.h. Make __mktime_internal a macro,
9537 and include mktime-internal.h to get its declaration.
9538 (timegm): Temporary is now mktime_offset_t, not time_t.
9539 This affects only Gnulib.
9540
83a552b0
WD
95412018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9542
9543 [BZ #23637]
9544 * string/test-strstr.c (pr23637): New function.
9545 (test_main): Add tests with longer needles.
9546 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9547 * string/strstr.c (AVAILABLE): Likewise.
9548
d7347278
SN
95492018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9550
9551 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9552
424c4f60
SN
95532018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9554
9555 * NEWS: Mention pow improvements.
9556 * math/Makefile (type-double-routines): Add e_pow_log_data.
9557 * sysdeps/generic/math_private.h (__exp1): Remove.
9558 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9559 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9560 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9561 contraction.
9562 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9563 (exp_inline): Remove.
9564 (__ieee754_exp): Only single double input is handled.
9565 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9566 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9567 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9568 (__pow_log_data): Define.
9569 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9570 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9571 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9572 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9573 contraction.
9574 (CFLAGS-e_pow-fma4.c): Likewise.
9575
e4e4fde5
PE
95762018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9577
dab9c348
PE
9578 Simplify tzfile fstat failure code
9579 [BZ #21716]
9580 * time/tzfile.c (__tzfile_read): Simplify slightly.
9581
e4e4fde5
PE
9582 Fix tzfile low-memory assertion failure
9583 [BZ #21716]
9584 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9585 when registering time zone abbreviations.
9586
50bc59ca
JM
95872018-09-18 Joseph Myers <joseph@codesourcery.com>
9588
d3a43e49
JM
9589 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9590 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9591 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9592 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9593 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9594 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9595 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9596 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9597 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9598
50bc59ca
JM
9599 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9600 __ceil.
9601 (__ceill): Call ceil instead of __ceil.
9602 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9603 __floor.
9604 (__floorl): Call floor instead of __floor.
9605
89983cb3
JM
96062018-09-17 Joseph Myers <joseph@codesourcery.com>
9607
71223ef9
JM
9608 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9609 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9610 using MATH_REDIRECT.
9611 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9612 header inclusion.
9613 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9614 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9615 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9616 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9617 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9618 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9619 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9620 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9625 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9626 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9627 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9628 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9629 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9630 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9631 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9632 Remove macro.
9633 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9634 functions instead of __ceil variants.
9635 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9636 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9637 Likewise.
9638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9639 Likewise.
9640 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9641 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9642 Likewise.
9643 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9644 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9645
89983cb3
JM
9646 [BZ #21286]
9647 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9648 constant.
9649 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9650 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9651 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9652 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9653 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9654 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9655 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9656 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9657 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9658 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9659 (ILL_BADIADDR): Remove constant.
9660 (TRAP_BRANCH): Likewise.
9661 (TRAP_HWBKPT): Likewise.
9662
e44acb20
JM
96632018-09-14 Joseph Myers <joseph@codesourcery.com>
9664
3f7f1d18
JM
9665 [BZ #23656]
9666 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9667 Remove [_MIPS_SIM = _ABIN32] conditional case.
9668 (struct elf_prpsinfo): Likewise.
9669
d59f3e5e
JM
9670 [BZ #23649]
9671 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9672 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9673 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9674 Likewise.
9675 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9676 elf_prpsinfo): Likewise.
9677 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9678 elf_prpsinfo): Likewise.
9679 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9680 Likewise.
9681
f29b6f17
JM
9682 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9683 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9684 using MATH_REDIRECT.
9685 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9686 header inclusion.
9687 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9688 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9689 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9690 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9691 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9692 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9693 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9694 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9697 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9698 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9699 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9700 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9701 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9702 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9703 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9704 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9705 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9708 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9709 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9710 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9711 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9712 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9713 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9714 __rint variants.
9715 * math/e_scalbf.c (invalid_fn): Likewise.
9716 * math/e_scalbl.c (invalid_fn): Likewise.
9717 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9718 Likewise.
9719 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9720 Likewise.
9721 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9722 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9723 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9724 Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9726 Likewise.
9727 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9728 Likewise.
9729 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9730 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9731
e44acb20
JM
9732 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9733 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9734 New macro.
9735 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9736 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9737 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9738 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9739 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9740 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9741 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9742 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9743 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9744 && !NO_MATH_REDIRECT] (floor): Likewise.
9745 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9746 header inclusion.
9747 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9750 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9751 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9754 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9755 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9759 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9760 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9761 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9763 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9764 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9765 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9766 Remove macro.
9767 [_ARCH_PWR5X] (__floorf): Likewise.
9768 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9769 inline function.
9770 [__SSE4_1__] (__floorf): Likewise.
9771 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9772 instead of __floor variants.
9773 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9774 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9775 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9776 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9777 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9778 * math/w_tgamma_compat.c (__tgamma): Likewise.
9779 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9780 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9781 * math/w_tgammal_compat.c (__tgammal): Likewise.
9782 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9783 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9784 Likewise.
9785 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9786 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9787 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9788 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9789 Likewise.
9790 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9791 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9792 Likewise.
9793 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9795 Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9798 Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9801 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9802 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9803 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9804 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9805
221e4bab
JM
98062018-09-12 Joseph Myers <joseph@codesourcery.com>
9807
9808 * elf/Makefile (modules-names-tests): New variable.
9809
3e08ff54
SN
98102018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9811
9812 * NEWS: Mention log2 improvements.
9813 * math/Makefile (type-double-routines): Add e_log2_data.
9814 * sysdeps/i386/fpu/e_log2_data.c: New file.
9815 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9816 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9817 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9818 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9819 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9820 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9821
f41b0a43
SN
98222018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9823
9824 * NEWS: Mention log improvement.
9825 * math/Makefile (type-double-routines): Add e_log_data.
9826 * sysdeps/i386/fpu/e_log_data.c: New file.
9827 * sysdeps/ia64/fpu/e_log_data.c: New file.
9828 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9829 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9830 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9831 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9832 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9833 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9834
5a274db4
L
98352018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9836 Xuepeng Guo <xuepeng.guo@intel.com>
9837
9838 [BZ #23606]
9839 * sysdeps/i386/start.S: Include <sysdep.h>
9840 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9841 enabled. Add cfi_undefined (eip).
9842
b1176270
JM
98432018-09-11 Joseph Myers <joseph@codesourcery.com>
9844
4e7fbdd7
JM
9845 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9846 (MOVQ): Likewise.
9847 (EXTRACT_WORDS64): Likewise.
9848 (INSERT_WORDS64): Likewise.
9849 (GET_FLOAT_WORD): Likewise.
9850 (SET_FLOAT_WORD): Likewise.
9851
b1176270
JM
9852 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9853 argument.
9854 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9855 build, but not for second build if --full-gcc. Use
9856 --enable-languages=all for second build if --full-gcc.
9857 (get_parser): Add --full-gcc option.
9858 (main): Update call to Context.
9859
527f355e
RL
98602018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9861
9862 [BZ #10797]
9863 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9864 Single Quotation Mark).
9865 (thousands_sep): Likewise.
9866 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9867 * localedata/locales/it_IT (thousands_sep): Use ".".
9868 (grouping): Use "3;3".
9869
7244f13d
JM
98702018-09-10 Joseph Myers <joseph@codesourcery.com>
9871
9872 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9873 x86_64 and i686 configs using --enable-obsolete-rpc
9874 --enable-obsolete-nsl.
9875
38245425
SL
98762018-09-06 Stefan Liebler <stli@linux.ibm.com>
9877
9878 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9879
28669f86
SL
98802018-09-06 Stefan Liebler <stli@linux.ibm.com>
9881
9882 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9883 Increment size of new_argv by one.
9884
a33650d1
RL
98852018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9886
9887 [BZ #17426]
9888 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9889 * localedata/locales/ar_IN (d_fmt): Likewise.
9890 * localedata/locales/bhb_IN (d_fmt): Likewise.
9891 * localedata/locales/bho_IN (d_fmt): Likewise.
9892 * localedata/locales/bn_BD (d_fmt): Likewise.
9893 * localedata/locales/bn_IN (d_fmt): Likewise.
9894 * localedata/locales/doi_IN (d_fmt): Likewise.
9895 * localedata/locales/gu_IN (d_fmt): Likewise.
9896 * localedata/locales/hi_IN (d_fmt): Likewise.
9897 * localedata/locales/hne_IN (d_fmt): Likewise.
9898 * localedata/locales/kn_IN (d_fmt): Likewise.
9899 * localedata/locales/mag_IN (d_fmt): Likewise.
9900 * localedata/locales/mai_IN (d_fmt): Likewise.
9901 * localedata/locales/mjw_IN (d_fmt): Likewise.
9902 * localedata/locales/ml_IN (d_fmt): Likewise.
9903 * localedata/locales/mni_IN (d_fmt): Likewise.
9904 * localedata/locales/mr_IN (d_fmt): Likewise.
9905 * localedata/locales/pa_IN (d_fmt): Likewise.
9906 * localedata/locales/raj_IN (d_fmt): Likewise.
9907 * localedata/locales/sat_IN (d_fmt): Likewise.
9908 * localedata/locales/sd_IN (d_fmt): Likewise.
9909 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9910 * localedata/locales/ta_IN (d_fmt): Likewise.
9911 * localedata/locales/ta_LK (d_fmt): Likewise.
9912 * localedata/locales/tcy_IN (d_fmt): Likewise.
9913 * localedata/locales/ur_IN (d_fmt): Likewise.
9914
9915 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9916 * localedata/locales/ks_IN (d_fmt): Likewise.
9917 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9918
9919 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9920 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9921 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9922 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9923
d114e6a7
SN
99242018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9925
9926 * NEWS: Mention exp and exp2 improvements.
9927 * math/Makefile (libm-support): Remove t_exp.
9928 (type-double-routines): Add math_err and e_exp_data.
9929 * sysdeps/aarch64/libm-test-ulps: Update.
9930 * sysdeps/arm/libm-test-ulps: Update.
9931 * sysdeps/i386/fpu/e_exp_data.c: New file.
9932 * sysdeps/i386/fpu/math_err.c: New file.
9933 * sysdeps/i386/fpu/t_exp.c: Remove.
9934 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9935 * sysdeps/ia64/fpu/math_err.c: New file.
9936 * sysdeps/ia64/fpu/t_exp.c: Remove.
9937 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9938 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9939 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9941 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9942 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9943 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9944 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9945 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9946 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9947 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9948 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9949 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9950 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9952 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9953
b9d8c474
JM
99542018-09-05 Joseph Myers <joseph@codesourcery.com>
9955
b7cdc2ae
JM
9956 * sysdeps/alpha/fpu/math_private.h: Remove.
9957
b9d8c474
JM
9958 * sysdeps/generic/math_private.h
9959 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9960 Move this inline function ....
9961 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9962 * include/math.h [!_ISOMAC]: To here....
9963
418d99e6
JM
99642018-09-04 Joseph Myers <joseph@codesourcery.com>
9965
9966 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9967 code ....
9968 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9969 * include/fenv.h [!_ISOMAC]: ... to here.
9970 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9971 (feraiseexcept): Likewise.
9972 * math/fromfp.h: Do not include <fenv_private.h>.
9973 * math/s_cexp_template.c: Likewise.
9974 * math/s_csin_template.c: Likewise.
9975 * math/s_csinh_template.c: Likewise.
9976 * math/s_ctan_template.c: Likewise.
9977 * math/s_ctanh_template.c: Likewise.
9978 * math/s_iseqsig_template.c: Likewise.
9979 * math/w_acos_compat.c: Likewise.
9980 * math/w_acosf_compat.c: Likewise.
9981 * math/w_acosl_compat.c: Likewise.
9982 * math/w_asin_compat.c: Likewise.
9983 * math/w_asinf_compat.c: Likewise.
9984 * math/w_asinl_compat.c: Likewise.
9985 * math/w_j0_compat.c: Likewise.
9986 * math/w_j0f_compat.c: Likewise.
9987 * math/w_j0l_compat.c: Likewise.
9988 * math/w_j1_compat.c: Likewise.
9989 * math/w_j1f_compat.c: Likewise.
9990 * math/w_j1l_compat.c: Likewise.
9991 * math/w_jn_compat.c: Likewise.
9992 * math/w_jnf_compat.c: Likewise.
9993 * math/w_log10_compat.c: Likewise.
9994 * math/w_log10f_compat.c: Likewise.
9995 * math/w_log10l_compat.c: Likewise.
9996 * math/w_log2_compat.c: Likewise.
9997 * math/w_log2f_compat.c: Likewise.
9998 * math/w_log2l_compat.c: Likewise.
9999 * math/w_log_compat.c: Likewise.
10000 * math/w_logf_compat.c: Likewise.
10001 * math/w_logl_compat.c: Likewise.
10002 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10003 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10004 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10005 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10006 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10007 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10008 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10009 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10010 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10011 * sysdeps/ieee754/k_standardl.c: Likewise.
10012 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10013 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10014 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10015 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10016 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10017 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10018 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10019 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10020 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10021 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10022 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10023 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10024 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10025 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10026 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10027 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10028 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10029 * math/w_ilogb_template.c: Include <fenv.h> instead of
10030 <fenv_private.h>.
10031 * math/w_llogb_template.c: Likewise.
10032 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10033 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10034
70e2ba33
JM
100352018-09-03 Joseph Myers <joseph@codesourcery.com>
10036
10037 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10038 * math/fromfp.h: Include <fenv_private.h>.
10039 * math/math-narrow.h: Likewise.
10040 * math/s_cexp_template.c: Likewise.
10041 * math/s_csin_template.c: Likewise.
10042 * math/s_csinh_template.c: Likewise.
10043 * math/s_ctan_template.c: Likewise.
10044 * math/s_ctanh_template.c: Likewise.
10045 * math/s_iseqsig_template.c: Likewise.
10046 * math/w_acos_compat.c: Likewise.
10047 * math/w_acosf_compat.c: Likewise.
10048 * math/w_acosl_compat.c: Likewise.
10049 * math/w_asin_compat.c: Likewise.
10050 * math/w_asinf_compat.c: Likewise.
10051 * math/w_asinl_compat.c: Likewise.
10052 * math/w_ilogb_template.c: Likewise.
10053 * math/w_j0_compat.c: Likewise.
10054 * math/w_j0f_compat.c: Likewise.
10055 * math/w_j0l_compat.c: Likewise.
10056 * math/w_j1_compat.c: Likewise.
10057 * math/w_j1f_compat.c: Likewise.
10058 * math/w_j1l_compat.c: Likewise.
10059 * math/w_jn_compat.c: Likewise.
10060 * math/w_jnf_compat.c: Likewise.
10061 * math/w_llogb_template.c: Likewise.
10062 * math/w_log10_compat.c: Likewise.
10063 * math/w_log10f_compat.c: Likewise.
10064 * math/w_log10l_compat.c: Likewise.
10065 * math/w_log2_compat.c: Likewise.
10066 * math/w_log2f_compat.c: Likewise.
10067 * math/w_log2l_compat.c: Likewise.
10068 * math/w_log_compat.c: Likewise.
10069 * math/w_logf_compat.c: Likewise.
10070 * math/w_logl_compat.c: Likewise.
10071 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10072 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10073 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10074 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10075 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10076 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10077 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10078 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10079 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10080 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10081 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10082 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10083 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10084 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10085 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10086 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10087 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10088 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10089 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10090 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10091 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10092 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10093 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10094 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10095 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10096 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10097 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10098 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10099 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10100 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10101 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10102 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10103 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10104 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10105 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10106 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10107 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10108 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10109 * sysdeps/ieee754/k_standardl.c: Likewise.
10110 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10111 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10114 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10115 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10116 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10117 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10118 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10119 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10120 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10121 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10122 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10123 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10124 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10125 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10127 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10128 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10129 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10130 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10131 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10132 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10133 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10134 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10135 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10136 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10137 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10138 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10139 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10140 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10141 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10142 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10143 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10144 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10145 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10146 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10147 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10148 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10149 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10150 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10151 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10152 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10153 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10154 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10155 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10156 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10157 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10158 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10159 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10160 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10161 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10162 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10163 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10164 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10165 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10166 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10167 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10168 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10169 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10170 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10171 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10172 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10173 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10174 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10175 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10176 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10177 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10178 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10179 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10180 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10181
a6e8926f
PP
101822018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10183
10184 [BZ #20271]
10185 * include/stdio.h (__libc_fatal): Mention newline in comment.
10186 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10187 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10188 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10189 * nss/nsswitch.c (__nss_next2): Likewise.
10190 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10191 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10192 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10193 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10194 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10195 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10196 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10197 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10198 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10199 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10200 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10201 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10202 (__netlink_assert_response): Likewise.
10203
2bbd06bc
JM
102042018-08-31 Joseph Myers <joseph@codesourcery.com>
10205
10206 * conform/glibcconform.py: New file.
10207 * conform/list-header-symbols.py: Likewise.
10208 * conform/list-header-symbols.pl: Remove.
10209 * conform/Makefile (tests-special): Only add linknamespace tests
10210 if [PYTHON].
10211 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10212
81b9d87b
L
102132018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10214
10215 [BZ #23597]
10216 * support/Makefile (libsupport-routines): Add
10217 support_copy_file_range and xcopy_file_range.
10218 * support/support.h: Include <sys/types.h>.
10219 (support_copy_file_range): New prototype.
10220 * support/support_copy_file_range.c: New file. Copied and
10221 modified from io/copy_file_range-compat.c.
10222 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10223 instead of copy_file_range.
10224 * support/xcopy_file_range.c: New file.
10225 * support/xunistd.h (xcopy_file_range): New prototype.
10226
d330f31a
CD
102272018-08-30 Carlos O'Donell <carlos@redhat.com>
10228
10229 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10230 xpthread_create and xpthread_join.
10231
2bda273a
FW
102322018-08-30 Florian Weimer <fweimer@redhat.com>
10233
10234 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10235
3bad2358
SL
102362018-08-30 Stefan Liebler <stli@linux.ibm.com>
10237
10238 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10239 if malloc fails.
10240
09c12efc
JM
102412018-08-29 Joseph Myers <joseph@codesourcery.com>
10242
10243 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10244 and minus_oflow as non-finite.
10245
ff6b2450
JM
102462018-08-28 Joseph Myers <joseph@codesourcery.com>
10247
10248 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10249 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10250 moved to fenv_private.h except for ...
10251 (TOINT_INTRINSICS): Kept in math_private.h.
10252 (roundtoint): Likewise.
10253 (converttoint): Likewise.
10254 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10255 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10256 * sysdeps/arm/math_private.h: Remove.
10257 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10258 ....
10259 * sysdeps/generic/math_private.h: ... this file. Include
10260 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10261 Include <fenv_private.h>. Remove functions and macros moved to
10262 fenv_private.h.
10263 * sysdeps/i386/fpu/math_private.h: Remove.
10264 * sysdeps/mips/math_private.h: Move to ....
10265 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10266 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10267 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10268 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10269 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10270 * sysdeps/powerpc/fpu/math_private.h: Do not include
10271 <fenv_private.h>.
10272 * sysdeps/riscv/rvf/math_private.h: Move to ....
10273 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10274 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10275 <fenv_private.h>.
10276 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10277 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10278 * sysdeps/sparc/fpu/math_private.h: Remove.
10279 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10280 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10281 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10282 <fenv_private.h>.
10283 * sysdeps/x86_64/fpu/math_private.h: Do not include
10284 <sysdeps/i386/fpu/fenv_private.h>.
10285
761404b7
FW
102862018-08-28 Florian Weimer <fweimer@redhat.com>
10287
10288 [BZ #23578]
10289 * posix/tst-regcomp-truncated.c: New file.
10290 * posix/Makefile (tests): Add it.
10291 (tst-regcomp-truncated.out): Depend on generated locales.
10292
d6c44c3d
FW
102932018-08-28 Florian Weimer <fweimer@redhat.com>
10294
10295 * support/test-container.c (main): Treat unshare failure with
10296 EPERM as an unsupported test.
10297
745664bd
FW
102982018-08-28 Florian Weimer <fweimer@redhat.com>
10299
10300 [BZ #23520]
10301 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10302 * nscd/netgroupcache.c
10303 (addgetnetgrentX): Add tofreep parameter. Do not free
10304 heap-allocated buffer.
10305 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10306 (addgetnetgrentX_ignore): New function.
10307 (addgetnetgrent): Call it.
10308 (readdgetnetgrent): Likewise.
10309
c8dd67e7
RS
103102018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10311
10312 * string/memmem.c: Use memcmp for first match.
10313
5abedf97
RL
103142018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10315
10316 [BZ #17426]
10317 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10318
86de0499
DD
103192018-08-27 DJ Delorie <dj@redhat.com>
10320
10321 * support/Makefile (others): Don't list programs explicitly as a
10322 dependency of "others".
10323
c3ab2110
JM
103242018-08-27 Joseph Myers <joseph@codesourcery.com>
10325
10326 * sysdeps/generic/math-tests-trap-force.h: New file.
10327 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10328 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10329 * sysdeps/powerpc/math-tests.h: Remove file.
10330 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10331
6b5c8607
TS
103322018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10333 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10334
10335 [BZ #23538]
10336 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10337 Update r to include the set wake-request flag if waiters are
10338 remaining after spinning.
10339
4061791f
JM
103402018-08-27 Joseph Myers <joseph@codesourcery.com>
10341
10342 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10343
bc680b33
PE
103442018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10345
761404b7 10346 [BZ #23578]
bc680b33
PE
10347 regex: fix uninitialized memory access
10348 I introduced this bug into gnulib in commit
10349 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10350 eventually it was merged into glibc. The bug was found by
10351 project-repo <bugs@feusi.co> and reported here:
10352 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10353 Diagnosis and draft fix reported by Assaf Gordon here:
10354 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10355 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10356 * posix/regex_internal.c (build_wcs_upper_buffer):
10357 Fix bug when mbrtowc returns 0.
10358
02458a52
CD
103592018-08-24 Carlos O'Donell <carlos@redhat.com>
10360
10361 * po/be.po: Update translation.
10362
acc2842a
DD
103632018-08-24 DJ Delorie <dj@delorie.com>
10364
10365 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10366 $(libunwind).
10367
6c3a8a9d
PP
103682018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10369
b39d961c
TS
10370 [BZ #23400]
10371 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10372 create temporary files in source tree.
6c3a8a9d 10373
895ef79e
JM
103742018-08-24 Joseph Myers <joseph@codesourcery.com>
10375
10376 * sysdeps/generic/math-tests-trap.h: New file.
10377 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10378 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10379 * sysdeps/aarch64/math-tests.h: Remove file.
10380 * sysdeps/arm/math-tests.h: Likewise.
10381 * sysdeps/riscv/math-tests.h: Likewise.
10382 * sysdeps/aarch64/math-tests-trap.h: New file.
10383 * sysdeps/arm/math-tests-trap.h: Likewise.
10384 * sysdeps/riscv/math-tests-trap.h: Likewise.
10385
ca3aac57
WD
103862018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10387
10388 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10389 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10390 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10391 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10392 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10393 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10394 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10395 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10396 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10397 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10398 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10400 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10401 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10402 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10403 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10404 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10405 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10406
60bcac09
JM
104072018-08-23 Joseph Myers <joseph@codesourcery.com>
10408
10409 * sysdeps/generic/math-tests-exceptions.h: New file.
10410 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10411 (EXCEPTION_TESTS_float): Do not define here.
10412 (EXCEPTION_TESTS_double): Likewise.
10413 (EXCEPTION_TESTS_long_double): Likewise.
10414 (EXCEPTION_TESTS_float128): Likewise.
10415 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10416 Likewise.
10417 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10418 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10419 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10420 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10421 * sysdeps/mips/math-tests.h: Likewise.
10422 * sysdeps/nios2/math-tests.h: Likewise.
10423 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10424 (EXCEPTION_TESTS_float): Do not define here.
10425 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10426 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10427 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10428
3bded567
WD
104292018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10430
10431 * NEWS: Move optimized sinf entry to 2.29.
10432
900fb446
WD
104332018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10434
10435 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10436
561b0bec
DD
104372018-08-22 DJ Delorie <dj@redhat.com>
10438
10439 * Makefile (testroot.pristine): New rules to initialize the
10440 test-in-container "testroot".
10441 * Makerules (all-testsuite): Add tests-container.
10442 * Rules (tests-expected): Add tests-container.
10443 (binaries-all-tests): Likewise.
10444 (tests-container): New, run these tests in the testroot container.
10445 * support/Makefile (others): Add *-container, support_paths.c,
10446 xmkdirp, and links-dso-program.
10447 * support/links-dso-program-c.c: New.
10448 * support/links-dso-program.cc: New.
10449 * support/test-container.c: New.
10450 * support/shell-container.c: New.
10451 * support/echo-container.c: New.
10452 * support/true-container.c: New.
10453 * support/xmkdirp.c: New.
10454 * support/xsymlink.c: New.
10455 * support/support_paths.c: New.
10456 * support/support.h: Add support paths prototypes.
10457 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10458
10459 * nss/tst-nss-test3.c: Convert to test-in-container.
10460 * nss/tst-nss-test3.root/: New.
10461
b35d3509
PE
104622018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10463
10464 regex: port Gnulib code to z/OS POSIX environment
10465 Problem reported by Arnold Robbins in:
10466 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10467 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10468 Undef.
10469
16a25138
JM
104702018-08-22 Joseph Myers <joseph@codesourcery.com>
10471
debc4c98
JM
10472 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10473 (ROUNDING_TESTS_double): Remove.
10474 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10475 (ROUNDING_TESTS_double): Remove.
10476 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10477 (ROUNDING_TESTS_double): Remove.
10478 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10479 (ROUNDING_TESTS_float): Remove.
10480 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10481 (ROUNDING_TESTS_float): Remove.
10482 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10483 (ROUNDING_TESTS_float): Remove.
10484 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10485 !TEST_MATHVEC here.
10486 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10487 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10488
16a25138
JM
10489 * sysdeps/generic/math-tests-rounding.h: New file.
10490 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10491 (ROUNDING_TESTS_float): Do not define here.
10492 (ROUNDING_TESTS_double): Likewise.
10493 (ROUNDING_TESTS_long_double): Likewise.
10494 (ROUNDING_TESTS_float128): Likewise.
10495 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10496 (ROUNDING_TESTS_double): Undefine before defining.
10497 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10498 (ROUNDING_TESTS_double): Undefine before defining.
10499 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10500 (ROUNDING_TESTS_double): Undefine before defining.
10501 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10502 (ROUNDING_TESTS_float): Undefine before defining.
10503 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10504 (ROUNDING_TESTS_float): Undefine before defining.
10505 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10506 (ROUNDING_TESTS_float): Undefine before defining.
10507 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10508 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10509 not define here.
10510 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10511 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10512 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10513 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10514 (ROUNDING_TESTS_float): Do not define here.
10515 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10516 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10517 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10518 (ROUNDING_TESTS_float): Likewise.
10519 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10520 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10521 * sysdeps/mips/math-tests.h [__mips_soft_float]
10522 (ROUNDING_TESTS_float): Likewise.
10523 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10524 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10525 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10526 (ROUNDING_TESTS_double): Likewise.
10527 (ROUNDING_TESTS_long_double): Likewise.
10528
38b0593e
TK
105292018-08-21 Tobias Klauser <tklauser@distanz.ch>
10530
10531 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10532 (PF_XDP): New macro.
10533 (AF_XDP): New macro.
10534 (SOL_XDP): New macro.
10535
5cd7dbde
JM
105362018-08-21 Joseph Myers <joseph@codesourcery.com>
10537
10538 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10539 (TCP_INQ): Likewise.
10540 (TCP_CM_INQ): Likewise.
10541 (TCP_REPAIR_ON): Likewise.
10542 (TCP_REPAIR_OFF): Likewise.
10543 (TCP_REPAIR_OFF_NO_WP): Likewise.
10544 (struct tcp_zerocopy_receive): New type.
10545
aa42b3db
FW
105462018-08-21 Florian Weimer <fweimer@redhat.com>
10547
10548 * support/support.h (support_descriptor_supports_holes): Declare.
10549 * support/Makefile (libsupport-routines): Add
10550 support_descriptor_supports_holes.
10551 * support/support_descriptor_supports_holes.c: New file.
10552 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10553 and stop testing if holes are not supported.
10554 * io/test-lfs.c (do_prepare): Likewise.
10555 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10556 Likewise.
10557 * timezone/tst-tzset.c (create_tz_file): Likewise.
10558 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10559 variable.
10560 (do_prepare): Set it.
10561 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10562
c7627f41
FW
105632018-08-21 Florian Weimer <fweimer@redhat.com>
10564
10565 [BZ #17248]
10566 * Makeconfig (+cflags): Do not sort (and deduplicate).
10567
ef939d92
FW
105682018-08-21 Florian Weimer <fweimer@redhat.com>
10569
10570 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10571 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10572
88ffb39d
FW
105732018-08-20 Florian Weimer <fweimer@redhat.com>
10574
10575 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10576 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10577
17419540
JM
105782018-08-20 Joseph Myers <joseph@codesourcery.com>
10579
e6edd40d
JM
10580 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10581 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10582 and ssi_arch members.
10583
17419540
JM
10584 * elf/elf.c (NT_VMCOREDD): New macro.
10585 (AT_MINSIGSTKSZ): Likewise.
10586
fa78896b
RS
105872018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10588
10589 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10590 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10591 s_cosf-ppc64 and s_cosf-power8.
10592 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10593 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10594 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10595 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10596 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10598 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10600 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10601 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10602 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10603 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10604
86a6c75a
FW
106052018-08-17 Florian Weimer <fweimer@redhat.com>
10606
10607 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10608
35cfefd9
FW
106092018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10610
10611 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10612
6413fcde
FW
106132018-08-16 Florian Weimer <fweimer@redhat.com>
10614
10615 * configure.ac: Add --with-nonshared-cflags option.
10616 * config.make.in (extra-nonshared-cflags): Set variable.
10617 * Makeconfig (CFLAGS-.oS): Use it.
10618 * manual/install.texi (Configuring and compiling): Document
10619 --with-nonshared-cflags.
10620 * configure: Regenerate.
10621 * INSTALL: Likewise.
10622
93a2584c
FW
106232018-08-16 Florian Weimer <fweimer@redhat.com>
10624
10625 * Makeconfig (ASFLAGS): Always append required assembler flags.
10626
f6f275d2 106272018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10628
10629 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10630 (malloc_consolidate): Likewise.
10631
30a17d8c
PC
106322018-08-16 Pochang Chen <johnchen902@gmail.com>
10633
10634 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10635
953a5a4a
SP
106362018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10637
34f86d61
SP
10638 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10639 every strlen call.
10640
953a5a4a
SP
10641 * benchtests/bench-strlen.c: Print performance numbers in json.
10642
7793ad7a
RS
106432018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10644
10645 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10646 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10647 only for little endian.
10648 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10649 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10650 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10651 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10652 Add check for little endian.
10653 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10654 (__strcmp_power9): Add check for little endian.
10655 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10656 Add check for little endian.
10657 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10658 (__strncmp_power9): Add check for little endian.
10659 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10660 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10661 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10662 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10663 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10664
436e4d5b
SP
106652018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10666
10667 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10668 [!STRLEN](STRLEN): Set to __strlen.
10669 * sysdeps/aarch64/multiarch/strlen.c: New file.
10670 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10671 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10672 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10673 (__libc_ifunc_impl_list): Add strlen.
10674 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10675 strlen_generic and strlen_asimd.
10676
126c4e3f
WD
106772018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10678
10679 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10680 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10681 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10682
49acec17
WD
106832018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10684
10685 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10686
fdb16de3
FW
106872018-08-14 Florian Weimer <fweimer@redhat.com>
10688
10689 [BZ #23519]
10690 * include/stdio.h (__vfxprintf): Declare.
10691 * stdio-common/fxprintf.c (__vfxprintf): New function.
10692 (__fxprintf): Call it.
10693 * misc/err.c (convert_and_print): Remove function.
10694 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10695 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10696 * misc/Makefile (tests): Add tst-warn-wide.
10697 * misc/tst-warn-wide.c: New file.
10698
599cf397
WD
106992018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10700 Szabolcs Nagy <szabolcs.nagy@arm.com>
10701
10702 * NEWS: Mention sinf, cosf, sincosf.
10703 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10704 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10705 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10706 constants rather than including generic sincosf.h.
10707 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10708 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10709 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10710 (reduced_cos): Remove.
10711 (sinf_poly): New function.
10712 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10713
e95c6f61
FW
107142018-08-14 Florian Weimer <fweimer@redhat.com>
10715
10716 [BZ #23521]
10717 [BZ #23522]
10718 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10719 processing, bail out if no room, and close the stream before
10720 returning ERANGE.
10721 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10722 (tst-nss-files-alias-leak): Link with libdl.
10723 (tst-nss-files-alias-leak.out): Depend on nss_files.
10724
10725 * nss/tst-nss-files-alias-leak.c: New file.
10726
2d7acfac
FW
107272018-08-14 Florian Weimer <fweimer@redhat.com>
10728
10729 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10730 server_user, stat_user.
10731
f3cd0904
JM
107322018-08-13 Joseph Myers <joseph@codesourcery.com>
10733
17b26500
JM
10734 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10735 version to 4.18.
10736 (io_pgetevents): New syscall.
10737 (rseq): Likewise.
10738
3c1622eb
JM
10739 * manual/install.texi (Configuring and compiling): Do not list
10740 tools used for testing pretty printers here.
10741 (Tools for Compilation): List Python, PExpect and GDB here.
10742 Update descriptions of uses of Perl and Python.
10743 * INSTALL: Regenerate.
10744
f3cd0904
JM
10745 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10746 version to 4.18.
10747
b7b52b9d
FW
107482018-08-13 Florian Weimer <fweimer@redhat.com>
10749
10750 * misc/error.c (error): Add missing va_end call.
10751 (error_at_line): Likewise.
10752
01780188
FW
107532018-08-13 Florian Weimer <fweimer@redhat.com>
10754
10755 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10756
44727aec
SP
107572018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10758
8cac1f26
SP
10759 * benchtests/scripts/benchout.schema.json (properties): Add
10760 new properties.
10761
44727aec
SP
10762 * benchtests/bench-skeleton.c (main): Add duration and
10763 iterations attributes.
10764
c77bf91b
PE
107652018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10766
10767 regex: Gnulib unibyte RRI uses bytes not chars
10768 Adjust the non-glibc code to agree with what Gawk needs for
10769 rational range interpretation (RRI) for regular expression ranges.
10770 In unibyte locales, Gawk wants ranges to use the underlying byte
10771 rather than the character code point. This change does not affect
10772 glibc proper.
10773 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10774 In unibyte locales, use the byte value rather than
10775 running it through btowc.
10776
2ce7ba7d
JM
107772018-08-10 Joseph Myers <joseph@codesourcery.com>
10778
10779 * sysdeps/generic/math-tests-snan.h: New file.
10780 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10781 (SNAN_TESTS_float): Do not define here.
10782 (SNAN_TESTS_double): Likewise.
10783 (SNAN_TESTS_long_double): Likewise.
10784 (SNAN_TESTS_float128): Likewise.
10785 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10786 * sysdeps/i386/fpu/math-tests.h: Remove file.
10787 * sysdeps/ia64/math-tests-snan.h: New file.
10788 * sysdeps/ia64/math-tests.h: Remove file.
10789 * sysdeps/x86/math-tests.h: Likewise.
10790 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10791
ea5c662c
WD
107922018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10793 Szabolcs Nagy <szabolcs.nagy@arm.com>
10794
10795 * math/Makefile: Add s_sincosf_data.c.
10796 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10797 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10798 (sincosf_poly): Likewise.
10799 (reduce_small): Likewise.
10800 (reduce_large): Likewise.
10801 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10802 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10803 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10804 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10805
43cfdf8f
SN
108062018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10807 Szabolcs Nagy <szabolcs.nagy@arm.com>
10808
10809 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10810 (converttoint): Use lround.
10811 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10812 document the semantics when TOINT_INTRINSICS is set.
10813 (converttoint): Likewise.
10814 (TOINT_RINT): Remove.
10815 (TOINT_SHIFT): Remove.
10816 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10817 path.
10818
69065288
FW
108192018-08-10 Florian Weimer <fweimer@redhat.com>
10820
10821 [BZ #23497]
10822 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10823 function.
10824 (__old_getdents64): Use getdents64. Convert entries without
10825 moving them.
10826 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10827 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10828 tst-readdir64-compat.
10829
8f135efc
IL
108302018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10831
10832 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10833 Fix unwind.
10834
71c01af5
IL
108352018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10836
10837 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10838 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10839 code to s390x-mcount.h and #include it.
10840 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10841 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10842 (__fentry__): Add.
10843
8d997d22
IL
108442018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10845
10846 * stdlib/Versions: Remove __fentry__.
10847 * sysdeps/i386/Versions: Add __fentry__.
10848 * sysdeps/x86_64/Versions: Add __fentry__.
10849
69e2444a
IL
108502018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10851
10852 * sysdeps/s390/Makefile: Register the new tests.
10853 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10854 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10855 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10856 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10857 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10858 * sysdeps/s390/tst-dl-runtime.c: New file.
10859
bde6320f
IL
108602018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10861
10862 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10863 Do not clobber R0.
10864
5755f5e4
IL
108652018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10866
10867 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10868 Do not clobber R0.
10869
c8ad8522
IL
108702018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10871
10872 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10873 Do not clobber R0.
10874
b215eee1
IL
108752018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10876
10877 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10878 Do not clobber R0.
10879
329c6fec
IL
108802018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10881
10882 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10883 Use symbolic offsets for stack variables.
10884
0fb7afa2
IL
108852018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10886
10887 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10888 Use symbolic offsets for stack variables.
10889
6954059a
IL
108902018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10891
10892 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10893 Use symbolic offsets for stack variables.
10894
c7099673
IL
108952018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10896
10897 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10898 Use symbolic offsets for stack variables.
10899
2813e41e
JM
109002018-08-09 Joseph Myers <joseph@codesourcery.com>
10901
10902 * math/gen-libm-test.py: New file.
10903 * math/gen-libm-test.pl: Remove.
10904 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10905 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10906 gen-libm-test.pl.
10907 ($(libm-test-c-noauto-obj)): Likewise.
10908 ($(libm-test-c-auto-obj)): Likewise.
10909 ($(libm-test-c-narrow-obj)): Likewise.
10910 (regen-ulps): Likewise.
10911 * math/README.libm-test: Update references to gen-libm-test.pl.
10912 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10913 referencing gen-libm-test.pl.
10914 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10915 * math/libm-test-support.c: Likewise.
10916 * math/libm-test-support.h: Likewise.
10917 * sysdeps/generic/libm-test-ulps: Likewise.
10918
be64b194
SP
109192018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10920
10921 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10922 Fix value.
10923
140137fb
JM
109242018-08-08 Joseph Myers <joseph@codesourcery.com>
10925
10926 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10927 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10928
b5403eca
ST
109292018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10930
10931 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10932 symbols.
8ac0f9e6
ST
10933 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10934 __pthread_setspecific): Add hidden proto.
10935 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10936 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10937
014efdd7
SP
109382018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10939
10940 * benchtests/bench-string.h (buf1_size, buf2_size): New
10941 variables.
10942 (init_sizes): New function.
10943 (test_init): Use it.
10944 (alloc_buf, exit_error): New functions.
10945 (alloc_bufs): Use ALLOC_BUF.
10946 (realloc_bufs): Remove.
10947 * benchtests/bench-memcmp.c (do_test): Adjust.
10948 * benchtests/bench-memset-large.c (do_test): Likewise.
10949 * benchtests/bench-memset-walk.c (do_test): Likewise.
10950 * benchtests/bench-memset.c (do_test): Likewise.
10951 * benchtests/bench-strncmp.c (do_test): Likewise.
10952
92a4cba7
AS
109532018-08-06 Andreas Schwab <schwab@suse.de>
10954
10955 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10956 of CONST_THREAD_AREA.
10957
fb4c32ae
L
109582018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10959
10960 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10961 (STATE_SAVE_MASK): Likewise.
10962 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10963 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10964 (STATE_SAVE_MASK): Likewise.
10965 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10966 instead of <cpu-features.h>.
10967
bf418187
DD
109682018-08-03 DJ Delorie <dj@redhat.com>
10969
10970 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10971 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10972
bb17621a
DD
10973 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10974
ea705eb5
JM
109752018-08-03 Joseph Myers <joseph@codesourcery.com>
10976
10977 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10978 after TEST_* calls.
10979 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10980 * math/libm-test-logb.inc (logb_test_data): Likewise.
10981
284f42bc
WD
109822018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10983
10984 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10985 * string/strstr.c (AVAILABLE): Likewise.
10986
430388d5
L
109872018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10988
10989 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10990 <init-arch.h>.
10991 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10992 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10993 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10994
c5760aa9
CD
109952018-08-03 Carlos O'Donell <carlos@redhat.com>
10996
10997 * po/be.po: Update translation.
10998
6b535b84
CD
10999 * po/be.po: Update translation.
11000
ae67f2e5
L
110012018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11002
11003 * sysdeps/x86/cpu-features-offsets.sym
11004 (rtld_global_ro_offsetof): Removed.
11005 (CPU_FEATURES_SIZE): Likewise.
11006 (CPUID_OFFSET): Likewise.
11007 (CPUID_SIZE): Likewise.
11008 (CPUID_EAX_OFFSET): Likewise.
11009 (CPUID_EBX_OFFSET): Likewise.
11010 (CPUID_ECX_OFFSET): Likewise.
11011 (CPUID_EDX_OFFSET): Likewise.
11012 (FAMILY_OFFSET): Likewise.
11013 (MODEL_OFFSET): Likewise.
11014 (FEATURE_OFFSET): Likewise.
11015 (FEATURE_SIZ): Likewise.
11016 (COMMON_CPUID_INDEX_1): Likewise.
11017 (COMMON_CPUID_INDEX_7): Likewise.
11018 (FEATURE_INDEX_1): Likewise.
11019 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11020
6b5c8607 110212018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
11022
11023 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11024 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11025 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11026 (install-locales): Depend on install-locale-archive.
11027 (install-locale-archive): Define.
7b7adbd8 11028 (install-locale-files): Define.
08a5ee14
CD
11029 (build-one-locale): Define macro.
11030 * manual/install.texi (Running make install): Document.
11031 * manual/INSTALL: Regenerate.
11032
525691bd
SP
110332018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11034
d67d634b
SP
11035 * benchtests/scripts/compare_strings.py: Import traceback.
11036 (parse_file): Pretty-print error.
11037
525691bd
SP
11038 * NEWS: Mention the change.
11039 * elf/dl-tunables.list: Rename tune namespace to cpu.
11040 * sysdeps/powerpc/dl-tunables.list: Likewise.
11041 * sysdeps/x86/dl-tunables.list: Likewise.
11042 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11043 cpu.name.
11044 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11045 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11046 * manual/README.tunables: Likewise.
11047 * manual/tunables.texi: Likewise.
11048 * sysdeps/powerpc/cpu-features.c: Likewise.
11049 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11050 (init_cpu_features): Likewise.
11051 * sysdeps/x86/cpu-features.c: Likewise.
11052 * sysdeps/x86/cpu-features.h: Likewise.
11053 * sysdeps/x86/cpu-tunables.c: Likewise.
11054 * sysdeps/x86_64/Makefile: Likewise.
11055 * sysdeps/x86/dl-cet.c: Likewise.
11056
506d7fb1
JM
110572018-08-02 Joseph Myers <joseph@codesourcery.com>
11058
11059 [BZ #23479]
11060 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11061 [__mips_hard_float].
11062 (FE_UNDERFLOW): Likewise.
11063 (FE_OVERFLOW): Likewise.
11064 (FE_DIVBYZERO): Likewise.
11065 (FE_INVALID): Likewise.
11066 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11067 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11068 (FE_UPWARD): Likewise.
11069 (FE_DOWNWARD): Likewise.
11070 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11071 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11072 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11073 [__mips_hard_float].
11074 (FP_ROUNDMODE): Likewise.
11075 (FP_RND_NEAREST): Likewise.
11076 (FP_RND_ZERO): Likewise.
11077 (FP_RND_PINF): Likewise.
11078 (FP_RND_MINF): Likewise.
11079 (FP_EX_INVALID): Likewise.
11080 (FP_EX_OVERFLOW): Likewise.
11081 (FP_EX_UNDERFLOW): Likewise.
11082 (FP_EX_DIVZERO): Likewise.
11083 (FP_EX_INEXACT): Likewise.
11084 (FP_INIT_ROUNDMODE): Likewise.
11085 * sysdeps/mips/nofpu/fesetenv.c: New file.
11086 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11087
f6dcefbe
JM
110882018-08-01 Joseph Myers <joseph@codesourcery.com>
11089
11090 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11091 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11092 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11093 conditional on [FE_UPWARD].
11094
fa67ba06
PE
110952018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11096
11097 regex: fix memory leak in Gnulib
11098 Problem and fix reported by Assaf Gordon in:
11099 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11100 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11101 range_ends members too, as they are defined in 'struct
11102 re_charset_t' even if not _LIBC. This affects only Gnulib.
11103
82c80ac2
L
111042018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11105
11106 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11107 ...
11108 (get_common_indices): This.
11109 (init_cpu_features): Updated.
11110
c0e7e2c1
JM
111112018-08-01 Joseph Myers <joseph@codesourcery.com>
11112
46f8cf57
JM
11113 * sysdeps/generic/math-tests-snan-payload.h: New file.
11114 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11115 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11116 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11117 * sysdeps/generic/math-tests.h: Include
11118 <math-tests-snan-payload.h>.
11119 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11120 * sysdeps/hppa/math-tests.h: Remove file.
11121 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11122 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11123 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11124 Likewise.
11125
c0e7e2c1
JM
11126 * sysdeps/generic/math-tests-snan-cast.h: New file.
11127 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11128 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11129 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11130 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11131
74939c83
CD
111322018-08-01 Carlos O'Donel <carlos@redhat.com>
11133
b029723b
CD
11134 * version.h (RELEASE): Set to "development".
11135 (VERSION): Set to "2.28.9000".
11136 * NEWS (2.29): New section.
11137
3c03baca
CD
11138 * version.h (RELEASE): Set to "stable".
11139 (VERSION): Set to "2.28".
11140 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11141 * NEWS: Add the list of bugs fixed in 2.28.
11142
74939c83
CD
11143 * po/ca.po: Update to latest version.
11144 * po/cs.po: Likewise
11145 * po/da.po: Likewise
11146 * po/el.po: Likewise
11147 * po/eo.po: Likewise
11148 * po/es.po: Likewise
11149 * po/fi.po: Likewise
11150 * po/fr.po: Likewise
11151 * po/gl.po: Likewise
11152 * po/hu.po: Likewise
11153 * po/ia.po: Likewise
11154 * po/id.po: Likewise
11155 * po/it.po: Likewise
11156 * po/ja.po: Likewise
11157 * po/ko.po: Likewise
11158 * po/lt.po: Likewise
11159 * po/nb.po: Likewise
11160 * po/nl.po: Likewise
11161 * po/pt_BR.po: Likewise
11162 * po/ru.po: Likewise
11163 * po/rw.po: Likewise
11164 * po/sk.po: Likewise
11165 * po/sl.po: Likewise
11166 * po/tr.po: Likewise
11167 * po/zh_CN.po: Likewise
11168 * po/zh_TW.po: Likewise
11169
d4b54bdf
ST
111702018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11171
11172 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11173 initialization...
11174 (init): ... before initializing libpthread.
11175
42fc12ef
ST
11176 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11177 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11178 (__mach_setup_tls): ... new function.
11179 (mach_setup_tls): New alias.
11180 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11181 __mach_setup_thread.
11182 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11183 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11184 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11185 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11186
6cca855e
CD
111872018-07-31 Carlos O'Donell <carlos@redhat.com>
11188
f650932b
CD
11189 * manual/install.texi: Update versions.
11190 * INSTALL: Regenerate.
11191
6cca855e
CD
11192 * manual/contrib.texi (Contributors): Update contributions.
11193
07fdea47
CD
111942018-07-31 Carlos O'Donell <carlos@redhat.com>
11195
11196 * po/be.po: Update translations.
11197
63d5fad4
AZ
111982018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11199
11200 * sysdeps/sh/libm-test-ulps: Update.
11201
1ff712a6
CD
112022018-07-30 Carlos O'Donell <carlos@redhat.com>
11203
11204 * po/bg.po: Update translations.
11205 * po/de.po: Likewise.
11206 * po/hr.po: Likewise.
11207 * po/pt_BR.po: Likewise.
11208 * po/sv.po: Likewise.
11209 * po/vi.po: Likewise.
11210
98864ed0
L
112112018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11212
11213 [BZ #23467]
11214 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11215 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11216 (CFLAGS-tst-cet-property-1.o): New.
11217 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11218 ($(objpfx)tst-cet-property-2): Likewise.
11219 ($(objpfx)tst-cet-property-2.out): Likewise.
11220 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11221 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11222 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11223 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11224 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11225
c92a00d8
L
112262018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11227
11228 [BZ #23458]
11229 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11230
99bc6241
ST
112312018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11232
11233 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11234 __sbrk): Do not set attribute_hidden.
af86087f 11235 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11236 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11237 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11238
bcb1c4af
CD
112392018-07-27 Carlos O'Donell <carlos@redhat.com>
11240
11241 * po/uk.po: Update translations.
11242 * po/cs.po: Likewise.
11243 * po/pl.po: Likewise.
11244
4591b7db
L
112452018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11246
11247 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11248 parse beyond the note end.
11249
2c6da2f4
AZ
112502018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11251
11252 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11253 kernel does not support OFD locks.
11254 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11255
20365a31
ST
112562018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11257
11258 * sysdeps/mach/hurd/Versions (libc): Make __access and
11259 __access_noerrno external so they can override the ld symbols.
11260 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11261 __writev, __open64, __access_noerrno extern so they can be overrided.
11262 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11263 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11264
cb1a43db
CD
112652018-07-26 Carlos O'Donell <carlos@redhat.com>
11266
11267 * po/libc.pot: Regenerate.
11268
74759ae5
JM
112692018-07-26 Joseph Myers <joseph@codesourcery.com>
11270
11271 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11272
da80612d
L
112732018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11274
11275 [BZ #23459]
11276 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11277 function.
11278 (init_cpu_features): Call get_extended_indices for both Intel
11279 and AMD CPUs.
11280 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11281 Remove "for AMD" comment.
11282
65d87ade
L
112832018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 [BZ # 23456]
11286 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11287 COMMON_CPUID_INDEX_80000001.
11288
c9dc4d51
SL
112892018-07-26 Stefan Liebler <stli@linux.ibm.com>
11290
11291 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11292 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11293
cfba5dbb
FW
112942018-07-26 Florian Weimer <fweimer@redhat.com>
11295
11296 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11297 aliases for symbols not in the implementation namespace.
11298
6b5c8607 112992018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11300
11301 [BZ #23393]
11302 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11303 lowercase in LATIN script.
11304 * localedata/Makefile (test-input): Add en_US.UTF-8.
11305 * localedata/en_US.UTF-8.in: New file.
11306 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11307 and restore old tests.
11308 * posix/tst-regexloc.c (do_test): Add back range expression test.
11309
3fb455b3
L
113102018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11311
11312 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11313
d6499b70
AZ
113142018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11315
11316 * nptl/threads.h: Move to ...
11317 * sysdeps/nptl/threads.h: ... here.
11318 * sysdeps/hurd/stdc-predef.h: New file.
11319
08ac6bed
L
113202018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11321
11322 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11323 tst-cet-setcontext-1 if CET is enabled.
11324 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11325 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11326
9faaf938
AZ
113272018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11328
11329 * include/threads.h: Move to ...
11330 * sysdeps/nptl/threads.h: ... here.
11331 * sysdeps/htl/threads.h: New file.
11332 * conform/Makefile (linknamespace-libs-ISO11): Use
11333 static-thread-library instead of linking libpthread.
11334 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11335
d6b8f847
FW
113362018-07-25 Florian Weimer <fweimer@redhat.com>
11337
11338 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11339 nanoseconds into seconds.
11340 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11341 (do_test): Likewise.
11342 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11343 (do_test): Likewise. Avoid nanosecond overflow and spurious
11344 timeouts due to system load.
11345 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11346 (child_wait): Increment it.
11347 (do_test): Wait as long as necessary until all expected threads
11348 have arrived.
11349
25123a1c
L
113502018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11351 H.J. Lu <hongjiu.lu@intel.com>
11352
11353 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11354 __ssp.
11355 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11356 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11357 (__push___start_context): New.
11358 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11359 <asm/prctl.h>.
11360 (__getcontext): Record the current shadow stack base. Save the
11361 caller's shadow stack pointer and base.
11362 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11363 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11364 (__push___start_context): New prototype.
11365 (__makecontext): Call __push___start_context to allocate a new
11366 shadow stack, push __start_context onto the new stack as well
11367 as the new shadow stack.
11368 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11369 <asm/prctl.h>.
11370 (__setcontext): Restore the target shadow stack.
11371 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11372 <asm/prctl.h>.
11373 (__swapcontext): Record the current shadow stack base. Save
11374 the caller's shadow stack pointer and base. Restore the target
11375 shadow stack.
11376 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11377 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11378 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11379
375a4844
L
113802018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11381
11382 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11383 tst-setcontext8 and tst-setcontext9.
11384 * stdlib/tst-setcontext6.c: New file.
11385 * stdlib/tst-setcontext7.c: Likewise.
11386 * stdlib/tst-setcontext8.c: Likewise.
11387 * stdlib/tst-setcontext9.c: Likewise.
11388
bd4f7903
L
113892018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11390
11391 * stdlib/Makefile ((tests): Add tst-setcontext5.
11392 * stdlib/tst-setcontext5.c: New file.
11393
7e28f203
L
113942018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11395
11396 * stdlib/Makefile (tests): Add tst-setcontext4.
11397 * stdlib/tst-setcontext4.c: New file.
11398
8516ad2d
L
113992018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11400
11401 * stdlib/Makefile (tests): Add tst-swapcontext1.
11402 * stdlib/tst-swapcontext1.c: New test.
11403
fddcd003
L
114042018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11405
11406 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11407 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11408 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11409 and tst-cet-legacy-4c.
11410 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11411 and tst-cet-legacy-mod-4.
11412 (CFLAGS-tst-cet-legacy-2.c): New.
11413 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11414 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11415 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11416 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11417 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11418 ($(objpfx)tst-cet-legacy-1): Likewise.
11419 ($(objpfx)tst-cet-legacy-2): Likewise.
11420 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11421 ($(objpfx)tst-cet-legacy-2a): Likewise.
11422 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11423 ($(objpfx)tst-cet-legacy-4): Likewise.
11424 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11425 ($(objpfx)tst-cet-legacy-4a): Likewise.
11426 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11427 (tst-cet-legacy-4a-ENV): Likewise.
11428 ($(objpfx)tst-cet-legacy-4b): Likewise.
11429 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11430 (tst-cet-legacy-4b-ENV): Likewise.
11431 ($(objpfx)tst-cet-legacy-4c): Likewise.
11432 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11433 (tst-cet-legacy-4c-ENV): Likewise.
11434 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11435 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11436 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11437 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11438 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11439 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11440 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11441 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11442 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11443 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11444 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11445
9aa3113a
L
114462018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11447
11448 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11449 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11450 with ssp_base.
11451 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11452 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11453 with ssp_base.
11454
9c79cec8
AS
114552018-07-25 Andreas Schwab <schwab@suse.de>
11456
11457 [BZ #23442]
11458 * locale/weightwc.h (findidx): Handle the case where usrc is a
11459 prefix of cp but one character too short.
11460
969c3355
AZ
114612018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11462
11463 * NEWS: Add ISO C threads addition.
11464
e0f9c462
FW
114652018-07-24 Florian Weimer <fweimer@redhat.com>
11466
11467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11468 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11469 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11470 4.13.
11471
394df381
L
114722018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11475 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11476 <sys/prctl.h> and <asm/prctl.h>.
11477 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11478 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11479 and <asm/prctl.h>.
11480 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11481 ARCH_CET_LEGACY_BITMAP.
11482 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11483 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11484 * sysdeps/x86/libc-start.c: Include <startup.h>.
11485
46545530
FW
114862018-07-24 Florian Weimer <fweimer@redhat.com>
11487
11488 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11489 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11490
6b5c8607 114912018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11492 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11493 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11494
11495 [BZ #14092]
9d0a979e
RJ
11496 * manual/debug.texi: Update adjacent chapter name.
11497 * manual/probes.texi: Likewise.
11498 * manual/threads.texi (ISO C Threads): New section.
11499 (POSIX Threads): Convert to a section.
11500
115012018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11502 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11503
11504 [BZ# 14092]
0a07288b
AZ
11505 * nptl/Makefile (tests): Add new test files.
11506 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11507 * nptl/tst-cnd-basic.c: Likewise.
11508 * nptl/tst-cnd-broadcast.c: Likewise.
11509 * nptl/tst-cnd-timedwait.c: Likewise.
11510 * nptl/tst-mtx-basic.c: Likewise.
11511 * nptl/tst-mtx-recursive.c: Likewise.
11512 * nptl/tst-mtx-timedlock.c: Likewise.
11513 * nptl/tst-mtx-trylock.c: Likewise.
11514 * nptl/tst-thrd-basic.c: Likewise.
11515 * nptl/tst-thrd-detach.c: Likewise.
11516 * nptl/tst-thrd-sleep.c: Likewise.
11517 * nptl/tst-tss-basic.c: Likewise.
11518
ce7528f6
AZ
115192018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11520
c6dd669b
AZ
11521 [BZ #14092]
11522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11523 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11524 symbols.
11525 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11526 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11527 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11528 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11529 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11530 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11531 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11532 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11533 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11534 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11535 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11536 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11538 Likewise.
11539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11540 Likewise.
11541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11542 Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11544 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11545 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11546 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11547 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11548 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11549 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11550 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11551 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11552 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11553 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11554 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11555 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11556 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11557 Likewise.
11558 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11559 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11560 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11561 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11562 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11563 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11564 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11565 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11566 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11567 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11568 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11569 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11570 ikewise.
11571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11573 Likewise.
11574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11575 Likewise.
11576 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11577 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11578 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11579 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11580 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11581 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11582 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11583 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11584
78d40132
AZ
11585 [BZ #14092]
11586 * conform/data/threads.h-data (thread_local): New macro.
11587 (TSS_DTOR_ITERATIONS): Likewise.
11588 (tss_t): New type.
11589 (tss_dtor_t): Likewise.
11590 (tss_create): New function.
11591 (tss_get): Likewise.
11592 (tss_set): Likewise.
11593 (tss_delete): Likewise.
11594 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11595 tss_get, and tss_set objects.
11596 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11597 * nptl/tss_create.c: New file.
11598 * nptl/tss_delete.c: Likewise.
11599 * nptl/tss_get.c: Likewise.
11600 * nptl/tss_set.c: Likewise.
11601 * sysdeps/nptl/threads.h (thread_local): New define.
11602 (TSS_DTOR_ITERATIONS): Likewise.
11603 (tss_t): New typedef.
11604 (tss_dtor_t): Likewise.
11605 (tss_create): New prototype.
11606 (tss_get): Likewise.
11607 (tss_set): Likewise.
11608 (tss_delete): Likewise.
11609
918311a3
AZ
11610 [BZ #14092]
11611 * conform/data/threads.h-data (cnd_t): New type.
11612 (cnd_init): New function.
11613 (cnd_signal): Likewise.
11614 (cnd_broadcast): Likewise.
11615 (cnd_wait): Likewise.
11616 (cnd_timedwait): Likewise.
11617 (cnd_destroy): Likewise.
11618 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11619 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11620 object.
11621 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11622 * nptl/cnd_broadcast.c: New file.
11623 * nptl/cnd_destroy.c: Likewise.
11624 * nptl/cnd_init.c: Likewise.
11625 * nptl/cnd_signal.c: Likewise.
11626 * nptl/cnd_timedwait.c: Likewise.
11627 * nptl/cnd_wait.c: Likewise.
11628 * sysdeps/nptl/threads.h (cnd_t): New type.
11629 (cnd_init): New prototype.
11630 (cnd_signa): Likewise.
11631 (cnd_broadcast): Likewise.
11632 (cnd_wait): Likewise.
11633 (cnd_timedwait): Likewise.
11634 (cnd_destroy): Likewise.
11635
3c20a679
AZ
11636 [BZ #14092]
11637 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11638 (once_flag): New type.
11639 (call_once): New function.
11640 * nptl/Makefile (libpthread-routines): Add call_once object.
11641 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11642 * nptl/call_once.c: New file.
11643 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11644 (once_flag): New type.
11645 (call_once): New prototype.
11646
18d59c1b
AZ
11647 [BZ #14092]
11648 * conform/data/threads.h-data (mtx_plain): New constant.
11649 (mtx_recursive): Likewise.
11650 (mtx_timed): Likewise.
11651 (mtx_t): New type.
11652 (mtx_init): New function.
11653 (mtx_lock): Likewise.
11654 (mtx_timedlock): Likewise.
11655 (mtx_trylock): Likewise.
11656 (mtx_unlock): Likewise.
11657 (mtx_destroy): Likewise.
11658 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11659 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11660 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11661 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11662 * nptl/mtx_destroy.c: New file.
11663 * nptl/mtx_init.c: Likewise.
11664 * nptl/mtx_lock.c: Likewise.
11665 * nptl/mtx_timedlock.c: Likewise.
11666 * nptl/mtx_trylock.c: Likewise.
11667 * nptl/mtx_unlock.c: Likewise.
11668 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11669 (mtx_recursive): Likewise.
11670 (mtx_timed): Likewise.
11671 (mtx_t): New type.
11672 (mtx_init): New prototype.
11673 (mtx_lock): Likewise.
11674 (mtx_timedlock): Likewise.
11675 (mtx_trylock): Likewise.
11676 (mtx_unlock): Likewise.
11677 (mtx_destroy): Likewise.
11678
ce7528f6
AZ
11679 [BZ #14092]
11680 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11681 (linknamespace-libs-ISO11): Add libpthread.a.
11682 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11683 functions.
11684 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11685 * nptl/Makefile (headers): Add threads.h.
11686 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11687 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11688 thrd_yield.
11689 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11690 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11691 thrd_join, thrd_sleep, and thrd_yield symbols.
11692 * nptl/descr.h (struct pthread): Add c11 field.
11693 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11694 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11695 routine with expected function prototype.
11696 (__pthread_create_2_1): Add C11 threads check based on attribute
11697 value.
11698 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11699 * nptl/thrd_create.c: New file.
11700 * nptl/thrd_current.c: Likewise.
11701 * nptl/thrd_detach.c: Likewise.
11702 * nptl/thrd_equal.c: Likewise.
11703 * nptl/thrd_exit.c: Likewise.
11704 * nptl/thrd_join.c: Likewise.
11705 * nptl/thrd_priv.h: Likewise.
11706 * nptl/thrd_sleep.c: Likewise.
11707 * nptl/thrd_yield.c: Likewise.
11708 * include/threads.h: Likewise.
11709
e27f41ba
L
117102018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11711
11712 * bits/indirect-return.h: New file.
11713 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11714 * sysdeps/x86/bits/indirect-return.h: Likewise.
11715 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11716 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11717 (swapcontext): Add __INDIRECT_RETURN.
11718 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11719 (prepare_test_buffer): Use it.
11720
21526a50
AS
117212018-07-24 Andreas Schwab <schwab@suse.de>
11722
11723 [BZ #23448]
11724 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11725 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11726
3650e1d9
L
117272018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11728
11729 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11730 Redefine if shadow stack is enabled.
11731 (SYSCALL_ERROR_LABEL): Likewise.
11732 (__vfork): Pop shadow stack and jump back to to caller directly
11733 when shadow stack is in use.
11734 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11735 Redefine if shadow stack is enabled.
11736 (SYSCALL_ERROR_LABEL): Likewise.
11737 (__vfork): Pop shadow stack and jump back to to caller directly
11738 when shadow stack is in use.
11739
ca027e0f
L
117402018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11741
11742 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11743 enabled.
11744 (foo): Likewise.
11745 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11746 (foo): Likewise.
11747
b99f1c95
JM
117482018-07-20 Joseph Myers <joseph@codesourcery.com>
11749
11750 * scripts/build-many-glibcs.py (Context.checkout): Default
11751 binutils version to 2.31 branch.
11752
c8fabb84
ZL
117532018-07-20 Zong Li <zong@andestech.com>
11754
11755 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11756 URL of gcc's tarball.
11757
786658a0
FW
117582018-07-20 Florian Weimer <fweimer@redhat.com>
11759
11760 [BZ #23396]
11761 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11762 not compare an extra byte after the end of the weights.
11763
46f2474e
ST
117642018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11765
11766 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11767 to 1.
8ba1520e
ST
11768 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11769 hidden prototypes.
11770 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11771 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11772 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11773 list of libraries whose stack executability is expected.
11774 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11775 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11776 variable.
11777 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11778 libc.so libpthread.so.
46f2474e 11779
60088242
TS
117802018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11781
11782 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11783 SOCK_NONBLOCK.
75d5e4a0
TS
11784 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11785 and SOCK_NONBLOCK.
de195be0
TS
11786 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11787 implement __pipe2.
11788 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11789
1cf4ae7f
LS
117902018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11791
11792 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11793 library to improve command line parsing.
11794 (__main__): make schema file as optional parameter (--schema),
11795 defaulting to benchtests/scripts/benchout.schema.json.
11796 (main): move out of the parsing stuff to __main_  and leave it
11797 only as caller of main comparison functions.
11798
e84bd851
L
117992018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11800
11801 * NEWS: Add a note for Intel CET status.
11802 * manual/install.texi: Likewise.
11803 * INSTALL: Regenerated.
11804
df467d22
QP
118052018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11806
11807 [BZ #23140]
11808 * localedata/locales/oc_FR (mon): Rename to...
11809 (alt_mon): This, then update October (typo fix).
11810 (mon): New content (genitive case, month names preceded by
11811 "de" or "d’").
11812
11813 [BZ #23422]
11814 * localedata/locales/oc_FR (abday): Update all items.
11815 (day): Update Wednesday and Saturday (typo fixes).
11816 (abmon): Update all items, except May.
11817 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11818 (LC_IDENTIFICATION): Bump the revision number and date.
11819 Keep the "category" entries in alphabetic order.
11820 (LC_ADDRESS): Remove no longer needed comment.
11821 (LC_COLLATE): Use “copy "ca_ES"”.
11822 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11823 "name_mrs".
11824
5c112f1b
JM
118252018-07-18 Joseph Myers <joseph@codesourcery.com>
11826
11827 * grp/tst_fgetgrent.c: Include <unistd.h>.
11828 (main): Use mkstemp instead of tmpnam.
11829 * io/test-utime.c (main): Likewise.
11830 * posix/annexc.c (macrofile): Change to modifiable array.
11831 (main): Remove macrofile here.
11832 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11833 macrofile here.
11834 (check_header): Do not remove macrofile here.
11835 * posix/bug-getopt1.c: Include <stdlib.h>.
11836 (do_test): Use mkstemp instead of tmpnam.
11837 * posix/bug-getopt2.c: Include <stdlib.h>.
11838 (do_test): Use mkstemp instead of tmpnam.
11839 * posix/bug-getopt3.c: Include <stdlib.h>.
11840 (do_test): Use mkstemp instead of tmpnam.
11841 * posix/bug-getopt4.c: Include <stdlib.h>.
11842 (do_test): Use mkstemp instead of tmpnam.
11843 * posix/bug-getopt5.c: Include <stdlib.h>.
11844 (do_test): Use mkstemp instead of tmpnam.
11845 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11846 (main): Use mkstemp instead of tmpnam.
11847 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11848 (main): Use mkstemp instead of tmpnam.
11849 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11850 (main): use mkstemp instead of tmpnam.
11851 * stdlib/isomac.c (macrofile): Change to modifiable array.
11852 (main): Remove macrofile here.
11853 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11854 macrofile here.
11855 (check_header): Do not remove macrofile here.
11856
6d90776d
L
118572018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11858
11859 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11860 glibc.tune.x86_shstk.
11861
e6c69509
L
118622018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11863
11864 * NEWS: Mention --enable-cet.
11865 * manual/install.texi: Document --enable-cet.
11866 * INSTALL: Regenerated.
11867
e2d40a88
L
118682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11869
11870 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11871 Add _CET_NOTRACK before indirect jump to jump table.
11872
77a8ae09
L
118732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11874
11875 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11876 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11877 to jump table.
11878
90d15dc5
L
118792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11880
11881 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11882 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11883 to jump table.
11884
f1574581
L
118852018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11888 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11889 to jump table.
11890
7fb61336
L
118912018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11894 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11895 to jump table.
11896
0a899af0
L
118972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11898
11899 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11900 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11901 to jump table.
11902 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11903
177824e2
L
119042018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11905
11906 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11907 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11908 to jump table.
11909
00e7b76a
L
119102018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11911
11912 * sysdeps/i386/i686/multiarch/memset-sse2.S
11913 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11914 to jump table.
11915
7e119cd5
L
119162018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11917
11918 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11919 indirect jump to jump table.
11920
03aaf49b
L
119212018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11922
11923 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11924 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11925 to jump table.
11926 (MEMCPY): Likewise.
11927
811e9e52
L
119282018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11929
11930 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11931 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11932 to jump table.
11933 (MEMCPY): Likewise.
11934
8817df42
L
119352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11938 _CET_NOTRACK before indirect jump to jump table.
11939
921595d1
L
119402018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11941
11942 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11943 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11944 to jump table.
11945
4ef60d95
L
119462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11947
11948 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11949 indirect jump to jump table.
11950
61c4aad7
VT
119512018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11952
11953 [BZ #22241]
11954 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11955 (LOCALES): Likewise.
11956 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11957 * localedata/locales/sah_RU: New file.
11958 * localedata/sah_RU.UTF-8.in: New file.
11959
be9ccd27
L
119602018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11961
11962 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11963 "sysdep.h".
11964 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11965 _CET_ENDBR to indirect jump targets and adjust jump destination
11966 for _CET_ENDBR.
11967 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11968 "sysdep.h".
11969 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11970 _CET_ENDBR to indirect jump targets and adjust jump destination
11971 for _CET_ENDBR.
11972 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11973 "sysdep.h".
11974 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11975 _CET_ENDBR to indirect jump targets and adjust jump destination
11976 for _CET_ENDBR.
11977
5efc6777
L
119782018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11979
11980 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11981 _CET_ENDBR.
11982
562837c0
L
119832018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11984
11985 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11986 _CET_ENDBR.
11987 (_dl_tlsdesc_undefweak): Likewise.
11988 (_dl_tlsdesc_dynamic): Likewise.
11989 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11990 (_dl_tlsdesc_resolve_rel): Likewise.
11991 (_dl_tlsdesc_resolve_rela): Likewise.
11992 (_dl_tlsdesc_resolve_hold): Likewise.
11993 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11994 (_dl_tlsdesc_undefweak): Likewise.
11995 (_dl_tlsdesc_dynamic): Likewise.
11996 (_dl_tlsdesc_resolve_rela): Likewise.
11997 (_dl_tlsdesc_resolve_hold): Likewise.
11998
124bcde6
L
119992018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12000
12001 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12002 (_fini): Likewise.
12003 * sysdeps/x86_64/crti.S (_init): Likewise.
12004 (_fini): Likewise.
12005
9145f033
RL
120062018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12007
12008 [BZ #23140]
12009 * localedata/locales/os_RU (mon): Rename to...
12010 (alt_mon): This.
12011 (mon): Import from CLDR (genitive case).
12012
ba2ea23d
L
120132018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12014
12015 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12016 cet-tunables.h> when CET is enabled.
12017
f753fa7d
L
120182018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12019
6b5c8607 12020 [BZ #21598]
f753fa7d
L
12021 * configure.ac: Add --enable-cet.
12022 * configure: Regenerated.
12023 * elf/Makefille (all-built-dso): Add a comment.
12024 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12025 Include <dl-prop.h>.
12026 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12027 segment.
12028 * elf/dl-open.c: Include <dl-prop.h>.
12029 (dl_open_worker): Call _dl_open_check.
12030 * elf/rtld.c: Include <dl-prop.h>.
12031 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12032 _rtld_main_check.
12033 * sysdeps/generic/dl-prop.h: New file.
12034 * sysdeps/i386/dl-cet.c: Likewise.
12035 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12036 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12037 * sysdeps/x86/cet-tunables.h: Likewise.
12038 * sysdeps/x86/check-cet.awk: Likewise.
12039 * sysdeps/x86/configure: Likewise.
12040 * sysdeps/x86/configure.ac: Likewise.
12041 * sysdeps/x86/dl-cet.c: Likewise.
12042 * sysdeps/x86/dl-procruntime.c: Likewise.
12043 * sysdeps/x86/dl-prop.h: Likewise.
12044 * sysdeps/x86/libc-start.h: Likewise.
12045 * sysdeps/x86/link_map.h: Likewise.
12046 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12047 _CET_ENDBR.
12048 (_dl_runtime_profile): Likewise.
12049 (_dl_runtime_resolve_shstk): New.
12050 (_dl_runtime_profile_shstk): Likewise.
12051 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12052 if CET is enabled.
12053 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12054 (CFLAGS-.os): Likewise.
12055 (CFLAGS-.op): Likewise.
12056 (CFLAGS-.oS): Likewise.
12057 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12058 is enabled.
12059 (tests-special): Add $(objpfx)check-cet.out.
12060 (cet-built-dso): New.
12061 (+$(cet-built-dso:=.note)): Likewise.
12062 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12063 ($(objpfx)check-cet.out): New.
12064 (generated): Add check-cet.out.
12065 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12066 <cet-tunables.h>.
12067 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12068 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12069 (init_cpu_features): Call get_cet_status to check CET status
12070 and update dl_x86_feature_1 with CET status. Call
12071 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12072 (set_x86_shstk). Disable and lock CET in libc.a.
12073 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12074 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12075 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12076 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12077 (_CET_ENDBR): Define if not defined.
12078 (ENTRY): Add _CET_ENDBR.
12079 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12080 x86_shstk.
12081 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12082 _CET_ENDBR.
12083 (_dl_runtime_profile): Likewise.
12084
52b2a80f
RA
120852018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12086
12087 [BZ #21895]
12088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12089 restore r2 on longjmp.
12090 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12091 test list.
12092 Added rules to build test tst-setjmp-bug21895-static.
12093 Added module setjmp-bug21895 and rules to build a shared object from it.
12094 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12095 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12096
3ae725df
WD
120972018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12098
12099 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12100 * benchtests/bench-strstr.c: Likewise.
12101 * string/memmem.c (FASTSEARCH): Define.
12102 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12103 Add support for FASTSEARCH.
12104 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12105 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12106 (FASTSEARCH): Define.
12107 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12108 * string/test-strstr.c: Likewise.
12109
31e422ca
L
121102018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12111
12112 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12113 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12114
faaee1f0
L
121152018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12116 H.J. Lu <hongjiu.lu@intel.com>
12117
12118 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12119 (__longjmp): Restore shadow stack pointer if shadow stack is
12120 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12121 isn't defined for __longjmp_cancel.
12122 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12123 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12124 and SHADOW_STACK_POINTER_OFFSET is defined.
12125 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12126 (setjmp): Save shadow stack pointer if shadow stack is enabled
12127 and SHADOW_STACK_POINTER_OFFSET is defined.
12128 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12129 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12130 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12131 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12132 <jmp_buf-ssp.h>.
12133 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12134 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12135 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12136 Remove jmp_buf-ssp.sym.
12137 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12138 <jmp_buf-ssp.h>.
12139 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12140 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12141 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12142 jmp_buf-ssp.sym.
12143 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12144 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12145 (__longjmp): Restore shadow stack pointer if shadow stack is
12146 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12147 isn't defined for __longjmp_cancel.
12148 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12149 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12150 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12151
ebff9c5c
L
121522018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12153
12154 [BZ #22563]
12155 * nptl/pthread_create.c: Include <tls-setup.h>.
12156 (__pthread_create_2_1): Call tls_setup_tcbhead.
12157 * sysdeps/generic/tls-setup.h: New file.
12158 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12159 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12160 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12161 Likewise.
12162 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12163 to feature_1.
12164 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12165 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12166 (X86_FEATURE_1_SHSTK): Likewise.
12167 (CET_ENABLED): Likewise.
12168 (IBT_ENABLED): Likewise.
12169 (SHSTK_ENABLED): Likewise.
12170
0a83bad2
RL
121712018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12172
12173 [BZ #23208]
12174 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12175 (LOCALES): Likewise.
12176 * localedata/dsb_DE.UTF-8.in: New file.
12177 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12178
046bfed9
FW
121792018-07-12 Florian Weimer <fweimer@redhat.com>
12180
12181 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12182 __mprotect, not mprotect.
12183
93304f5f
FW
121842018-07-11 Florian Weimer <fweimer@redhat.com>
12185
12186 * io/Makefile (headers): Add bits/statx.h.
12187
4beefeeb
MF
121882018-07-10 Mike FABIAN <mfabian@redhat.com>
12189
12190 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12191 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12192 and headers.
12193 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12194 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12195 for utf8_gen.py
12196
fd70af45
FW
121972018-07-10 Florian Weimer <fweimer@redhat.com>
12198
12199 * io/Makefile (routines): Add statx.
12200 (tests-internal): Add tst-statx.
12201 * io/Versions (GLIBC_2.28): Export statx.
12202 * io/bits/statx.h: New file.
12203 * io/sys/stat.h [__USE_GNU]: Include it.
12204 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12205 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12206 Define.
12207 * io/statx.c: New file.
12208 * io/statx_generic.: Likewise.
12209 * io/tst-statx.: Likewise.
12210 * include/bits/statx.h: Likewise.
12211 * sysdeps/unix/sysv/linux/kernel-features.h
12212 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12213 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12214 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12215 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12216 Undefine.
12217 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12218 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12219 * sysdeps/unix/sysv/linux/statx.c: New file.
12220 * manual/filesys.texi: Note that statx is undocumented.
12221 * sysdeps/**/libc*.abilist: Update.
12222
b444e8f7
AZ
122232018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12224
12225 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12226 a kernel issue which lead to test failure in some cases.
12227
7b2f4ced
FW
122282018-07-10 Florian Weimer <fweimer@redhat.com>
12229
12230 [BZ #23036]
12231 * posix/regexec.c (check_node_accept_bytes): When comparing
12232 weights, do not compare an extra byte after the end of the
12233 weights.
12234
4fa34da6
FW
122352018-07-10 Florian Weimer <fweimer@redhat.com>
12236
12237 * libio/readline.c: Fix copyright year.
12238 * libio/tst-readline.c Likewise.
12239 * nss/tst-nss-files-hosts-getent.c: Likewise.
12240
916124ed
FW
122412018-07-06 Florian Weimer <fweimer@redhat.com>
12242
12243 [BZ #18991]
12244 * nss/nss_files/files-XXX.c (internal_getent): Use
12245 __libc_readline_unlocked. Seek back to the start of the line if
12246 parsing failes with ERANGE.
12247 (get_contents_ret, get_contents): Remove.
12248 * nss/tst-nss-files-hosts-getent.c: New file.
12249 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12250 (tst-nss-files-hosts-getent): Link with -ldl.
12251
3f5e3f5d
FW
122522018-07-06 Florian Weimer <fweimer@redhat.com>
12253
12254 * include/stdio.h (__libc_readline_unlocked): Declare.
12255 (__ftello64, __fseeko64): Declare aliases.
12256 * libio/readline.c: New file.
12257 * libio/tst-readline.c: Likewise.
12258 (routines): Add readline.
12259 (tests-internal): Add tst-readlime.
12260 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12261 __libc_readline_unlocked.
12262 * libio/fseeko.c (__fseeko): Rename from fseeko.
12263 (fseeko): Add alias.
12264 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12265 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12266 (fseeko64): Add alias.
12267 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12268 * libio/ftello64.c (__ftello64): Rename from ftello64.
12269 (ftello64): Add alias.
12270
397c54c1
SN
122712018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12272
12273 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12274 HWCAP_ATOMICS.
12275
d0cd7980
SN
122762018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12277
12278 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12279 Use dl_hwcap without masking.
12280 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12281 Remove HWCAP_CPUID.
12282
ddb3c626
FW
122832018-07-06 Florian Weimer <fweimer@redhat.com>
12284
12285 * conform/conformtest.pl (checknamespace): Escape literal braces
12286 in regular expressions.
12287
bce5911b
AP
122882018-07-06 Amit Pawar <amit.pawar@amd.com>
12289
12290 * sysdeps/x86/cpu-features.c (get_common_indeces):
12291 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12292 * sysdeps/x86/cpu-features.c (init_cpu_features):
12293 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12294
3a885c1f
FW
122952018-07-05 Florian Weimer <fweimer@redhat.com>
12296
12297 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12298 protector.
12299 (CFLAGS-elf-init.oS): Likewise.
12300
38cade0c
FW
123012018-07-05 Florian Weimer <fweimer@redhat.com>
12302 Carlos O'Donell <carlos@redhat.com>
12303
12304 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12305 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12306 with stack protector enabled because there is no risk of infinite
12307 recursion.
12308
9449a295
MR
123092018-07-05 Maciej W. Rozycki <macro@mips.com>
12310
12311 [BZ #19818]
12312 [BZ #23307]
12313 * libc-abis (ABSOLUTE): New ABI.
12314 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12315 * NEWS: Mention the new ABI.
12316
d6da5cb6
FW
123172018-07-05 Florian Weimer <fweimer@redhat.com>
12318
12319 [BZ # 17662]
12320 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12321 (RENAME_WHITEOUT): Define.
12322 [__USE_GNU] (renameat2): Declare.
12323 * stdio-common/Makefile (routines): Add renameat2.
12324 (tests): Add tst-renameat2.
12325 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12326 * stdio-common/renameat2.c: New file.
12327 * stdio-common/tst-renameat2.c: Likewise.
12328 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12329 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12330 undocumented.
12331 * sysdeps/unix/sysv/linux/kernel-features.h
12332 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12333 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12334 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12335 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12336 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12337 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12338 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12339 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12340 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12341 * include/stdio.h (__renameat): Add alias for renameat.
12342 * stdio-common/renameat.c (__renameat): Rename from renameat.
12343 Add hidden definition and alias.
12344 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12345 * sysdeps/mach/hurd/renameat.c: Likewise.
12346 * sysdeps/**/libc*.abilist: Add renameat2.
12347
1002d708
AZ
123482018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12349
12350 * posix/bug-regex33.c: Fix build after regex sync.
12351
34fdb893
CD
123522018-07-04 Carlos O'Donell <carlos@redhat.com>
12353
12354 [BZ #23164]
12355 * localedata/tst-langinfo-setlocale.c: New file.
12356 * localedata/tst-langinfo-setlocale-static.c: New file.
12357 * localedata/tst-langinfo-newlocale.c: New file.
12358 * localedata/tst-langinfo-newlocale-static.c: New file.
12359 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12360 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12361 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12362 (tests-static): Remove tst-langinfo-static. Add
12363 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12364 (tests-special): Remove $(objpfx)tst-langinfo.out,
12365 $(objpfx)tst-langinfo-static.out. Add
12366 $(objpfx)tst-langinfo-setlocale.out,
12367 $(objpfx)tst-langinfo-newlocale.out,
12368 $(objpfx)tst-langinfo-setlocale-static.out,
12369 $(objpfx)tst-langinfo-newlocale-static.out.
12370 ($(objpfx)tst-langinfo.out): Remove.
12371 ($(objpfx)tst-langinfo-static.out): Remove.
12372 ($(objpfx)tst-langinfo-newlocale.out): New target.
12373 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12374 (test-xfail-tst-langinfo-newlocale-static): Add.
12375 ($(objpfx)tst-langinfo-setlocale.out): New target.
12376 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12377 * localedata/tst-langinfo.c: Call test_locale.
12378 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12379 data.
12380
f2873d2d
FW
123812018-07-04 Florian Weimer <fweimer@redhat.com>
12382
12383 testrun.sh: Implement --tool=strace, --tool=valgrind
12384 * Makefile (testrun-script): Define variable.
12385 (testrun.sh): Use variable.
12386 * manual/install.texi (Tools for Compilation): make 4.0 or later
12387 is required.
12388 * configure.ac: Check for make 4.0 or later.
12389 * INSTALL: Regenerate.
12390 * configure: Likewise.
12391
eb04c213
AZ
123922018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12393
12394 [BZ #23233]
12395 [BZ #21163]
12396 [BZ #18986]
12397 [BZ #13762]
12398 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12399 * posix/PCRE.tests: Remove invalid test.
12400 * posix/bug-regex28.c: Fix expected values for used syntax.
12401 * posix/bug-regex37.c: New file.
12402 * posix/bug-regex38.c: Likewise.
12403 * posix/regcomp.c: Sync with gnulib.
12404 * posix/regex.c: Likewise.
12405 * posix/regex.h: Likewise.
12406 * posix/regex_internal.c: Likewise.
12407 * posix/regex_internal.h: Likewise.
12408 * posix/regexec.c: Likewise.
12409
b11643c2
MF
124102018-06-26 Mike FABIAN <mfabian@redhat.com>
12411
12412 [BZ #23308]
12413 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12414 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12415 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12416 * localedata/unicode-gen/PropList.txt: likewise.
12417 * localedata/unicode-gen/UnicodeData.txt: likewise.
12418 * localedata/charmaps/UTF-8: Regenerate.
12419 * localedata/locales/i18n_ctype: likewise.
12420 * localedata/locales/tr_TR: likewise.
12421 * localedata/locales/translit_circle: likewise.
12422 * localedata/locales/translit_cjk_compat: likewise.
12423 * localedata/locales/translit_combining: likewise.
12424 * localedata/locales/translit_compat: likewise.
12425 * localedata/locales/translit_font: likewise.
12426 * localedata/locales/translit_fraction: likewise.
12427
5a357506
FW
124282018-07-03 Florian Weimer <fweimer@redhat.com>
12429
12430 [BZ #23363]
12431 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12432 * stdio-common/tst-printf.sh: Adjust expected output.
12433 * LICENSES: Update.
12434
7279af00
AZ
124352018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12436
12437 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12438 symbol.
12439
b7b88cea
GG
124402018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12441
12442 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12443 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12444 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12445 * stdio-common/tst-printfsz-islongdouble.c: New file.
12446 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12447 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12448 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12449 [subdir == stdio-common] (tests-internal): Add
12450 test-printf-size-ieee128, and test-printf-size-ibm128.
12451 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12452 (CFLAGS-test-printf-size-ibm128.c): New variables.
12453 [subdir == stdio-common] (tests-special): Add
12454 $(objpfx)test-printf-size-ieee128.out and
12455 $(objpfx)test-printf-size-ibm128.out.
12456 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12457 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12458 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12459 __printf_sizeieee128.
12460 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12461 New file.
12462 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12463 Likewise.
12464 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12465 Likewise.
12466
2b445206
SN
124672018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12468
12469 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12470 (exp2f_inline): Likewise.
12471 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12472 (__math_uflowf): Likewise.
12473 (__math_may_uflowf): Likewise.
12474 (__math_divzerof): Likewise.
12475 (__math_invalidf): Likewise.
12476 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12477 (__math_oflowf): Likewise.
12478 (__math_uflowf): Likewise.
12479 (__math_may_uflowf): Likewise.
12480 (__math_divzerof): Likewise.
12481 (__math_invalidf): Likewise.
12482
2827ab99
CD
124832018-06-29 DJ Delorie <dj@redhat.com>
12484 Carlos O'Donell <carlos@redhat.com>
12485
12486 [BZ #23329]
12487 * include/libc-symbols.h: Comment the freeres framework.
12488 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12489 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12490 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12491 * dlfcn/dlerror.c: Include libc-symbols.h
12492 (__dlerror_main_freeres): New function.
12493 * dlfcn/dlfreeres.c: New file.
12494 * dlfcn/sdlfreeres.c: New file.
12495 * include/dlfcn.h: Declare __dlerror_main_freeres.
12496 * malloc/set-freeres.c: Declare __libdl_freeres, and
12497 __libpthread_freeres.
12498 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12499 the releavant libraries are loaded.
12500 * malloc/thread-freeres.c: Add comments.
12501 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12502 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12503 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12504 (__free_stacks): Rename to...
12505 (free_stacks): ...this. Mark static.
12506 (queue_stack): Call free_stacks.
12507 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12508 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12509 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12510 ptr_freeres element from struct.
12511 (pthread_functions): Remove .ptr_freeres from struct initializer.
12512 [SHARED] (nptl_freeres): Remove.
12513 * nptl/nptlfreeres.c: New file.
12514 * nptl/pthreadP.h
12515 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12516 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12517 attribute_hidden.
12518 (__free_stacks): Rename to...
12519 (__nptl_stacks_freeres): ...this.
12520 (__shm_directory_freeres): Declare.
12521 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12522 (__nptl_unwind_freeres): ...this.
12523 * resolv/res-close.c: Add comment.
12524 * resolv/resolv_conf.c: Include libc-symbols.h.
12525 * string/strerror_l.c: Include libc-symbols.h.
12526 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12527 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12528 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12529 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12530
37d3d244
RS
125312018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12532
12533 * stdlib/tst-strfmon_l.c: Add tests for long double.
12534
a1e0c5fa
MW
125352018-06-29 Michael Wolf <milupo@sorbzilla.de>
12536
12537 [BZ #23208]
12538 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12539 * localedata/locales/dsb_DE: New file.
12540
2e0c5de6
RL
125412018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12542
12543 [BZ #23140]
12544 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12545 genitive case).
12546 (alt_mon): New entry, import from CLDR (nominative case).
12547
cdb52c71
SL
125482018-06-29 Sylvain Lesage <severo@rednegra.net>
12549
12550 [BZ #22996]
12551 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12552
ce76a5cb
SP
125532018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12554
0aec4c1d
SP
12555 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12556 Use vector registers.
12557
ce76a5cb
SP
12558 * sysdeps/aarch64/multiarch/memmove_falkor.S
12559 (__memcpy_falkor): Use vector registers.
12560
7e8989d0
MS
125612018-06-29 Martin Sebor <msebor@redhat.com>
12562
12563 * manual/stdio.texi (Customizing Printf): Mention interaction
12564 with GCC built-ins.
12565
bac15a72
MR
125662018-06-29 Maciej W. Rozycki <macro@mips.com>
12567
12568 [BZ #23307]
12569 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12570 `st_value' is 0 if `st_shndx' is SHN_ABS.
12571 * elf/tst-absolute-zero.c: New file.
12572 * elf/tst-absolute-zero-lib.c: New file.
12573 * elf/tst-absolute-zero-lib.lds: New file.
12574 * elf/Makefile (tests): Add `tst-absolute-zero'.
12575 (modules-names): Add `tst-absolute-zero-lib'.
12576 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12577 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12578 ($(objpfx)tst-absolute-zero: New dependency.
12579
e69d994a
ZW
125802018-06-29 Zack Weinberg <zackw@panix.com>
12581
12582 * configure.ac: New command-line option --disable-crypt.
12583 Force --disable-nss-crypt when --disable-crypt is given, with a
12584 warning if it was explicitly enabled.
12585 * configure: Regenerate.
12586 * config.make.in: New boolean substitution variable $(build-crypt).
12587 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12588 when $(build-crypt).
12589 * manual/install.texi: Document --disable-crypt.
12590 * INSTALL: Regenerate.
12591
12592 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12593 which is never set.
12594 * conform/Makefile: Only include libcrypt.a in
12595 linknamespace-libs-xsi and linknamespace-libs-XPG4
12596 when $(build-crypt).
12597 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12598 USE_CRYPT to 1 when $(build-crypt).
12599 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12600 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12601 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12602
841785ba
ZW
126032018-06-29 Zack Weinberg <zackw@panix.com>
12604
12605 * crypt/crypt.h, posix/unistd.h: Update comments and
12606 prototypes for crypt and crypt_r.
12607
12608 * manual/crypt.texi (Cryptographic Functions): New initial
12609 exposition.
12610 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12611 (Unpredictable Bytes): Improve initial exposition. Clarify error
12612 behavior of getentropy and getrandom.
12613 * manual/examples/genpass.c: Generate a salt using getentropy
12614 instead of the current time. Use hash $5$ (SHA-2-256).
12615 * manual/examples/testpass.c: Demonstrate validation against
12616 hashes generated with three different one-way functions.
12617
12618 * manual/intro.texi: crypt.texi does not need an overview
12619 anymore.
12620
12621 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12622 * manual/terminal.texi: Consistently refer to "passphrases"
12623 * instead of "passwords", and to the "user database" instead
12624 * of the "password database".
12625 * manual/users.texi: Similarly. Add notes about how actual
12626 passphrase hashes are now stored in the shadow database.
12627 Remove 20-year-old junk todo note.
12628
6ab902e4
ZW
126292018-06-29 Zack Weinberg <zackw@panix.com>
12630
12631 * manual/crypt.texi: Use a normal top-level @node declaration.
12632 Move most of the introductory text to the 'crypt' section.
12633 Move the example programs below the @deftypefun for 'crypt_r'.
12634 Move the 'getpass' section...
12635 * manual/terminal.texi: ...here.
12636
b10a0acc
ZW
126372018-06-29 Zack Weinberg <zackw@panix.com>
12638 Florian Weimer <fweimer@redhat.com>
12639
12640 * posix/unistd.h: Do not declare encrypt.
12641 (_XOPEN_CRYPT): Remove macro definition.
12642 (crypt): Declare only for _USE_MISC.
12643 * stdlib/stdlib.h: Do not declare setkey.
12644 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12645 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12646
12647 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12648 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12649 into compat symbols. Don't define initial_perm if it's not
12650 going to be used.
12651 * crypt/cert.c: Link explicitly with the expected versions for
12652 setkey and encrypt. If they are not available at all, mark
12653 the test as unsupported.
12654
12655 * sunrpc/des_crypt.c: Unconditionally block linkage with
12656 cbc_crypt and ecb_crypt for new binaries.
12657 * sunrpc/des_soft.c: Unconditionally block linkage with
12658 des_setparity for new binaries.
12659
12660 * manual/crypt.texi: Remove the entire "DES Encryption"
12661 section. Also remove the paragraph talking about FIPS 140-2
12662 from the introduction.
12663 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12664 of libgcrypt for "real" encryption, not DES.
12665 * manual/conf.texi (Constants for Sysconf): Mention that
12666 _XOPEN_CRYPT is no longer impelemented.
12667
12668 * conform/data/unistd.h-data: Remove crypt function declaration.
12669
524d796d
FW
126702018-06-29 Florian Weimer <fweimer@redhat.com>
12671
12672 [BZ #23351]
12673 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12674 (disallow_malloc_check): Remove variable.
12675 (__malloc_check_init): Adjust.
12676 (malloc_set_state): Update comment.
12677 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12678 declarations.
12679
339124ab
RL
126802018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12681
12682 [BZ #23140]
12683 * localedata/locales/ast_ES (mon): Rename to...
12684 (alt_mon): This.
12685 (mon): Import from CLDR (genitive case).
12686
c1f86a33
DA
126872018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12688 Jakub Sitnicki <jkbs@redhat.com>
12689
12690 [BZ #21812]
12691 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12692 on NLM_F_DUMP_INTR.
12693
0b11b649
SN
126942018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12695
12696 * manual/llio.texi: Remove spurious space.
12697
c1c2848b
FW
126982018-06-28 Florian Weimer <fweimer@redhat.com>
12699
12700 [BZ #23349]
12701 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12702 _STRUCT_TIMESPEC.
12703
86a0f561
RS
127042018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12705
12706 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12707 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12708 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12709 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12710 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12711 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12712 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12713
780684eb
MR
127142018-06-27 Maciej W. Rozycki <macro@mips.com>
12715
12716 [BZ #23266]
12717 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12718 Copy and null-terminate entries that are not terminated, in
12719 addition to empty ones.
12720
c49e1822
FW
127212018-06-27 Florian Weimer <fweimer@redhat.com>
12722
12723 [BZ #18023]
b39d961c
TS
12724 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12725 (extend_alloca_account): Remove.
c49e1822
FW
12726 * manual/stdio.texi (Variable Arguments Output): Update comment.
12727
a833e627
JM
127282018-06-27 Joseph Myers <joseph@codesourcery.com>
12729
12730 * nptl/sockperf.c: Remove file.
12731
92d6aa85
FW
127322018-06-27 Florian Weimer <fweimer@redhat.com>
12733
12734 [BZ #18023]
12735 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12736 scratch_buffer instead of extend_alloca.
12737
890c2ced
FW
127382018-06-27 Florian Weimer <fweimer@redhat.com>
12739
12740 [BZ #18023]
12741 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12742 scratch_buffer instead of extend_alloca. Update comments.
12743
4272059d
FW
127442018-06-27 Florian Weimer <fweimer@redhat.com>
12745
12746 [BZ #18023]
12747 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12748 instead of extend_alloca.
12749
27f10a09
JM
127502018-06-26 Joseph Myers <joseph@codesourcery.com>
12751
12752 [BZ #13888]
12753 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12754 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12755 /tmp.
12756 * scripts/test-installation.pl: Put temporary files in build
12757 directory, not /tmp.
12758 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12759 (CFLAGS-bug4.c): Likewise.
12760 (CFLAGS-bug5.c): Likewise.
12761 (CFLAGS-test-fseek.c): Likewise.
12762 (CFLAGS-test-popen.c): Likewise.
12763 (CFLAGS-test_rdwr.c): Likewise.
12764 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12765 /tmp.
12766 * stdio-common/bug4.c (main): Likewise.
12767 * stdio-common/bug5.c (main): Likewise.
12768 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12769 * stdio-common/test-popen.c (do_test): Likewise.
12770 * stdio-common/test_rdwr.c (main): Likewise.
12771
05598a09
PF
127722018-06-26 Patsy Franklin <pfrankli@redhat.com>
12773
12774 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12775 (sem_open): Set sem.newsem.pad to zero for valgrind.
12776
06ab719d
AZ
127772018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12778
12779 [BZ #20251]
12780 * NEWS: Mention fcntl64 addition.
12781 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12782 * login/utmp_file.c: Likewise.
12783 * sysdeps/posix/fdopendir.c: Likewise.
12784 * sysdeps/posix/opendir.c: Likewise.
12785 * sysdeps/unix/pt-fcntl.c: Likewise.
12786 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12787 __fcntl64_nocancel_adjusted): New prototype.
12788 (__fcntl_nocancel_adjusted): Remove prototype.
12789 * io/Makefile (routines): Add fcntl64.
12790 (CFLAGS-fcntl64.c): New rule.
12791 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12792 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12793 * io/fcntl.h (fcntl64): Add prototype and redirect if
12794 __USE_FILE_OFFSET64 is defined.
12795 * io/fcntl64.c: New file.
12796 * manual/llio.text: Add a note for which commands fcntl acts a
12797 cancellation point.
12798 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12799 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12800 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12801 New symbols.
12802 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12803 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12804 non-LFS case.
12805 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12806 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12807 to __fcntl64_nocancel.
12808 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12809 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12810 to __fcntl64_nocancel.
12811 * sysdeps/generic/not-cancel.h: Likewise.
12812 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12813 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12814 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12815 (fcntl64): New symbol.
12816 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12817 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12818 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12821 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12822 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12823 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12824 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12825 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12826 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12827 fcntl64): Likewise.
12828 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12829 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12830 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12831 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12832 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12833 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12834 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12835 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12836 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12838 Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12840 Likewise.
12841 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12842 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12843 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12844
124e0258
FW
128452018-06-26 Florian Weimer <fweimer@redhat.com>
12846
12847 Run thread shutdown functions in an explicit order.
12848 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12849 definition.
12850 (__libc_thread_freeres): Call thread shutdown functions
12851 explicitly.
12852 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12853 * include/string.h (__strerror_thread_freeres): Declare.
12854 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12855 arena_thread_freeres. No longer static. Remove thread shutdown
12856 hook registration.
12857 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12858 Declare.
12859 * resolv/res-close.c (__res_thread_freeres): Renamed from
12860 res_thread_freeres. No longer static. Remove thread shutdown
12861 hook registration.
12862 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12863 * resolv/resolv_conf.c (freeres): Remove incorrect section
12864 attribute and use libc_freeres_fn.
12865 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12866 strerror_thread_freeres. No longer static. Remove thread
12867 shutdown hook registration.
12868 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12869 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12870 shutdown hook registration.
12871 * Makerules (shlib.lds): Do not provide section boundary symbols
12872 for __libc_thread_subfreeres.
12873 * manual/memory.texi (Basic Allocation): Update comment.
12874
935d920e
FW
128752018-06-26 Florian Weimer <fweimer@redhat.com>
12876
12877 Remove always-defined _RPC_THREAD_SAFE_ macro.
12878 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12879 Do not define _RPC_THREAD_SAFE_.
12880 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12881 conditional.
12882 * sunrpc/clnt_perr.c: Likewise.
12883 * sunrpc/clnt_raw.c: Likewise.
12884 * sunrpc/clnt_simp.c: Likewise.
12885 * sunrpc/key_call.c: Likewise.
12886 * sunrpc/rpc_common.c: Likewise.
12887 * sunrpc/rpc_main.c: Likewise.
12888 * sunrpc/rpc_thread.c: Likewise.
12889 * sunrpc/svc.c: Likewise.
12890 * sunrpc/svc_raw.c: Likewise.
12891 * sunrpc/svc_simple.c: Likewise.
12892 * sumrpc/svcauth_des.c: Likewise.
12893
29055464
FW
128942018-06-26 Florian Weimer <fweimer@redhat.com>
12895
12896 * libio/Makefile (tests-internal): Add tst-vtables,
12897 tst-vtables-interposed.
12898 * libio/tst-vtables.c: New file.
12899 * libio/tst-vtables-common.c: Likewise.
12900 * libio/tst-vtables-interposed.c: Likewise.
12901
5c0202af
FW
129022018-06-26 Florian Weimer <fweimer@redhat.com>
12903
12904 * support/support_test_main.c (support_test_main): Only call
12905 setvbuf if not disables.
12906 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12907 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12908
c402355d
FW
129092018-06-26 Florian Weimer <fweimer@redhat.com>
12910
12911 [BZ #23313]
12912 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12913
43b1048a
FW
129142018-06-25 Florian Weimer <fweimer@redhat.com>
12915
12916 [BZ #18023]
12917 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12918 Use struct scratch_buffer instead of extend_alloca.
12919
1599ed4e
FW
129202018-06-25 Florian Weimer <fweimer@redhat.com>
12921
12922 [BZ #18023]
12923 * nss/getent.c (initgroups_keys): Use dynarray instead of
12924 extend_alloca.
12925
a26fe163
FW
129262018-06-25 Florian Weimer <fweimer@redhat.com>
12927
12928 [BZ #18023]
12929 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12930 Use struct scratch_buffer instead of extend_alloca.
12931
90d9d9ce
FW
129322018-06-25 Florian Weimer <fweimer@redhat.com>
12933
12934 [BZ #18023]
12935 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12936 back to malloc directly, without stack allocations.
12937
6b7b2aba
FW
129382018-06-25 Florian Weimer <fweimer@redhat.com>
12939
12940 [BZ #18023]
12941 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12942 of extend_alloca.
12943
2f9f0d18
FW
129442018-06-25 Florian Weimer <fweimer@redhat.com>
12945
12946 [BZ #18023]
12947 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12948 of extend_alloca.
12949 * nscd/hstcache.c (addhstbyX): Likewise.
12950 * nscd/pwdcache.c (addpwbyX): Likewise.
12951 * nscd/servicescache.c (addservbyX): Likewise.
12952
318bad78
FW
129532018-06-25 Florian Weimer <fweimer@redhat.com>
12954
12955 [BZ #18023]
12956 * nscd/connections.c (read_cmdline): New function.
12957 (restart): Use it. Update comment.
12958
189699ab
RL
129592018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12960
12961 [BZ #23140]
12962 * localedata/locales/csb_PL (mon): Rename to...
12963 (alt_mon): This.
12964 (abmon): Rename to...
12965 (ab_alt_mon): This.
12966 (mon): Add with proper genitive forms, copy from Wikipedia.
12967 (abmon): Likewise.
12968
0ea3f13c
RL
129692018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12970
12971 [BZ #19485]
12972 * localedata/locales/csb_PL (mon): Fix typos:
12973 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12974 (yesstr): Add, value is "jo".
12975 (nostr): Add, value is "nié".
12976
d93f4ff1
TMQMF
129772018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12978
12979 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12980 all log1p and significand functions on m680x0.
12981 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12982 of s_significand.c..
12983 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12984 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12985 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12986 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12987 s_log1p.c and include it..
12988
f6299d2a
VC
129892018-06-21 Vincent Chen <vincentc@andestech.com>
12990
12991 * elf/elf.h (R_NDS32_NONE): New define.
12992 (R_NDS32_32_RELA): Likewise.
12993 (R_NDS32_COPY): Likewise.
12994 (R_NDS32_GLOB_DAT): Likewise.
12995 (R_NDS32_JUMP_SLOT): Likewise.
12996 (R_NDS32_RELATIVE): Likewise.
12997 (R_NDS32_TLS_TPOFF): Likewise.
12998 (R_NDS32_TLS_DESC): Likewise.
12999
61ab61c2
MW
130002018-06-21 Mark Wielaard <mark@klomp.org>
13001
13002 * elf/elf.h (R_BPF_MAP_FD): Removed.
13003 (R_BPF_64_64, R_BPF_64_32): New.
13004
f496b28e
FW
130052018-06-21 Florian Weimer <fweimer@redhat.com>
13006
13007 [BZ #23253]
13008 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13009 Renamed from libc_feholdsetround_ctx.
13010 (default_libc_feresetround_ctx): Renamed from
13011 libc_feresetround_ctx.
13012 (default_libc_feholdsetround_noex_ctx): Renamed from
13013 libc_feholdsetround_noex_ctx.
13014 (default_libc_feresetround_noex_ctx): Renamed from
13015 libc_feresetround_noex_ctx.
13016 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13017 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13018 forwardning to the old implementations under the new names.
13019 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13020 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13021 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13022 (libc_feresetround_ctx): Forward to default implements for i386
13023 and MATH_SET_BOTH_ROUNDING_MODES.
13024 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13025 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13026
1760daad
JM
130272018-06-20 Joseph Myers <joseph@codesourcery.com>
13028
99c7adf9
JM
13029 * string/tst-cmp.c: Include <libc-diag.h>.
13030 (strncmp_max): Disable -Wstringop-overflow= around call to
13031 strncmp.
13032 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13033 strncasecmp.
13034
1760daad
JM
13035 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13036 (main): Disable -Wunused-value around call to strpbrk.
13037 * string/bug-strspn1.c: Include <libc-diag.h>.
13038 (main): Disable -Wunused-value around call to strspn.
13039
209ae17c
TMQMF
130402018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13041 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13042
13043 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13044 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13045
badba23c
TMQMF
130462018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13047
5e79e029
TMQMF
13048 * math/Makefile (libm-calls): Move s_significandF to...
13049 (gen-libm-calls): ... here.
13050 * math/s_significand_template.c: New file.
13051 * math/s_significand.c: Removed.
13052 * math/s_significandf.c: Removed.
13053 * math/s_significandl.c: Removed.
13054 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13055 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13056
badba23c
TMQMF
13057 * math/e_exp2_template.c (declare_mgen_finite_alias,
13058 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13059 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13060 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13061
2d1c89a5
FW
130622018-06-20 Florian Weimer <fweimer@redhat.com>
13063
13064 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13065
646c2833
JM
130662018-06-19 Joseph Myers <joseph@codesourcery.com>
13067
13068 [BZ #23280]
13069 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13070 floating-point number to strtod functions rather than possibly
13071 negating result of those functions.
13072 * stdio-common/tst-scanf-round.c: New file.
13073 * stdio-common/Makefile (tests): Add tst-scanf-round.
13074 ($(objpfx)tst-scanf-round): Depend on $(libm).
13075
c77e4dc0
ST
130762018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13077
13078 * sysdeps/mach/hurd/localplt.data: Move to...
13079 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13080 R_386_GLOB_DAT like on Linux i386.
13081
91b2f3e5
JM
130822018-06-18 Joseph Myers <joseph@codesourcery.com>
13083
f2857da7
JM
13084 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13085 (SHM_STAT_ANY): New macro.
13086 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13087 (SHM_STAT_ANY): Likewise.
13088 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13089 (SHM_STAT_ANY): Likewise.
13090 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13091 (SHM_STAT_ANY): Likewise.
13092 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13093 (SHM_STAT_ANY): Likewise.
13094 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13095 (SHM_STAT_ANY): Likewise.
13096 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13097 (SHM_STAT_ANY): Likewise.
13098 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13099 (SHM_STAT_ANY): Likewise.
13100 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13101 (SHM_STAT_ANY): Likewise.
13102 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13103 (SHM_STAT_ANY): Likewise.
13104 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13105 (SHM_STAT_ANY): Likewise.
13106 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13107 (SHM_STAT_ANY): Likewise.
13108
176c7fee
JM
13109 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13110 (SEM_STAT_ANY): New macro.
13111 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13112 (SEM_STAT_ANY): Likewise.
13113 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13114 (SEM_STAT_ANY): Likewise.
13115 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13116 (SEM_STAT_ANY): Likewise.
13117 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13118 (SEM_STAT_ANY): Likewise.
13119 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13120 (SEM_STAT_ANY): Likewise.
13121 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13122 (SEM_STAT_ANY): Likewise.
13123 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13124 (SEM_STAT_ANY): Likewise.
13125 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13126 (SEM_STAT_ANY): Likewise.
13127 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13128 (SEM_STAT_ANY): Likewise.
13129
86bf0019
JM
13130 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13131 (MSG_STAT_ANY): New macro.
13132 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13133 (MSG_STAT_ANY): Likewise.
13134 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13135 (MSG_STAT_ANY): Likewise.
13136 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13137 (MSG_STAT_ANY): Likewise.
13138 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13139 (MSG_STAT_ANY): Likewise.
13140 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13141 (MSG_STAT_ANY): Likewise.
13142 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13143 (MSG_STAT_ANY): Likewise.
13144 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13145 (MSG_STAT_ANY): Likewise.
13146 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13147 (MSG_STAT_ANY): Likewise.
13148 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13149 (MSG_STAT_ANY): Likewise.
13150
91b2f3e5
JM
13151 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13152 (MAP_TYPE): Change value to 0x2b.
13153
3fe8fc79
FW
131542018-06-18 Florian Weimer <fweimer@redhat.com>
13155
13156 [BZ #15722]
13157 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13158 socket with SOCK_CLOEXEC.
13159
809dc95d
JM
131602018-06-18 Joseph Myers <joseph@codesourcery.com>
13161
13162 [BZ #23303]
13163 * sysdeps/powerpc/powerpc64/le/Makefile
13164 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13165 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13166 (gnulib-tests): Also add $(f128-loader-link) for
13167 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13168
298a8b59
ST
131692018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13170
13171 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13172 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13173 of sendfile.
13174 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13175 (sendfile64): New strong alias.
faf7bbc2
ST
13176 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13177 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13178 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13179 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13180 attribute.
13181 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13182 ___pthread_get_cleanup_stack.
932d05f0 13183 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13184 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13185 * mach/shortcut.awk: Make syscall stubs include
13186 <mach-shortcuts-hidden.h> and add hidden definition.
13187 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13188 (__mach_msg): Add hidden prototype.
13189 * mach/msg.c: Include <mach.h>.
13190 (__mach_msg): Add hidden definition.
b0344cf5
ST
13191 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13192 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13193 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13194 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13195 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13196 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13197 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13198 prototype and definition.
13199 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13200 hidden target for _hurd_self_sigstate.
298a8b59 13201
b12c1e79
JM
132022018-06-15 Joseph Myers <joseph@codesourcery.com>
13203
13204 [BZ #23007]
13205 * stdlib/tst-strtod-nan-sign-main.c: New file.
13206 * stdlib/tst-strtod-nan-sign.c: Likewise.
13207 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13208 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13209 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13210 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13211 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13212
b0debe14
HB
132132018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13214
13215 [BZ #23007]
13216 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13217 appropriate sign.
13218
14beef75
FW
132192018-06-14 Florian Weimer <fweimer@redhat.com>
13220
13221 [BZ #23290]
13222 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13223 that the result stays within the ISO-8859-1 range.
13224 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13225 characters are defined in IBM273.
13226
c596630b
ST
132272018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13228
13229 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13230 __mach_task_self): Remove attribute_hidden.
13231
35ebb6b0
JM
132322018-06-14 Joseph Myers <joseph@codesourcery.com>
13233
13234 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13235 ignore -Wrestrict for one test.
13236
3c7b9f1f
SE
132372018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13238 Szabolcs Nagy <szabolcs.nagy@arm.com>
13239
13240 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13241
c59ee916
FW
132422018-06-14 Florian Weimer <fweimer@redhat.com>
13243
13244 * scripts/update-abilist.sh: Accept empty list of files to patch.
13245
43b5ff50
ST
132462018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13247
13248 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13249 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13250 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13251 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13252 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13253 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13254 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13255 __thread_switch, __evc_wait): Move declarations to...
13256 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13257 attribute_hidden.
06d1a826
ST
13258 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13259 use PLT to call _hurd_self_sigstate.
43b5ff50 13260
fcd6b5ac
JM
132612018-06-13 Joseph Myers <joseph@codesourcery.com>
13262
13263 [BZ #23279]
13264 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13265 MAX_EXP as overflowing.
13266 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13267 overflow flag.
13268 (round_str): Output also whether result overflows in each rounding
13269 mode.
13270 * stdlib/tst-strtod-round-data: Add more tests.
13271 * stdlib/tst-strtod-round-data.h: Regenerated.
13272 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13273 (TEST): Handle extra arguments for overflow flags.
13274 (struct test_overflow): New type.
13275 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13276 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13277 (test_in_one_mode): Take argument with overflow information.
13278 (do_test): Update calls to test_in_one_mode.
13279
35df5a77
CD
132802018-06-12 Carlos O'Donell <carlos@redhat.com>
13281
a745c837
CD
13282 * elf/dl-load (_dl_dst_substitute): Correct comment.
13283 (_dl_dst_count): Likewise.
13284
35df5a77
CD
13285 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13286 lll_futex_timed_wait.
13287
48b12ed5
JM
132882018-06-12 Joseph Myers <joseph@codesourcery.com>
13289
13290 [BZ #23277]
13291 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13292 attribute.
13293 * math/test-nan-const.c: New file.
13294 * math/Makefile (tests): Add test-nan-const.
13295 (CFLAGS-test-nan-const.c): New variable.
13296
cb8f6aff
L
132972018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13298
13299 * benchtests/scripts/compare_strings.py (process_results): Add
13300 funcs argument. Compare only functions which are selected.
13301 (main): Check if base function is among selected functions.
13302 Pass selected functions to process_results.
13303 (__main__): Add -f/--functions argument.
13304
fc2ba803
HZ
133052018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13306 Hongbo Zhang <hongbo.zhang@linaro.org>
13307
13308 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13309 __memcpy_falkor for phecda core.
13310 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13311 __memmove_falkor for phecda core.
13312 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13313 __memset_falkor for phecda core.
13314 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13315 for phecda core.
13316 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13317 macro to identify phecda core.
13318
5aad5f61
CD
133192018-06-12 Carlos O'Donell <carlos@redhat.com>
13320 Andreas Schwab <schwab@suse.de>
13321 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13322 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13323
13324 [BZ #23102]
13325 [BZ #21942]
13326 [BZ #18018]
13327 [BZ #23259]
13328 CVE-2011-0536
13329 * elf/dl-dst.h: Remove DL_DST_COUNT.
13330 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13331 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13332 (is_dst): Comment. Support ELF gABI.
13333 (_dl_dst_count): Comment. Simplify and count DSTs.
13334 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13335 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13336 locals.
13337
329ea513
ZW
133382018-06-12 Zack Weinberg <zackw@panix.com>
13339
13340 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13341 * sysdeps/unix/sysv/linux/dl-sysdep.c
13342 Include not-cancel.h. Use __close_nocancel instead of __close,
13343 __open64_nocancel instead of __open, __read_nocancel instead of
13344 __libc_read, and __write_nocancel instead of __libc_write.
13345
13346 * csu/check_fds.c (check_one_fd)
13347 * sysdeps/posix/fdopendir.c (__fdopendir)
13348 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13349 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13350
13351 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13352 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13353 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13354 Use __open64_nocancel instead of __open_nocancel.
13355
13356 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13357 hidden_proto declarations to the end and issue them if either
13358 IS_IN(libc) or IS_IN(rtld).
13359 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13360 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13361 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13362 read_nocancel, waitpid_nocancel, write_nocancel.
13363
b39d961c
TS
13364 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13365 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13366 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13367
b39d961c
TS
13368 * nptl/pt-fcntl.c: New file.
13369 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13370 (libpthread-routines): Add pt-fcntl.
13371 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13372 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13373 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13374 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13375 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13376 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13377 to fcntl_nocancel.c.
13378 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13381 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13382
13383 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13384 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13385 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13386 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13387 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13388 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13389 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13390 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13391 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13392 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13393 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13394 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13395 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13396 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13397 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13398 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13399 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13400 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13401 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13402 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13403
b39d961c
TS
13404 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13405 libpthread-routines.
13406 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13407 defines nothing.
329ea513 13408
b39d961c
TS
13409 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13410 __libc_read, and __write instead of __libc_write. Define
13411 __open64 in addition to __open.
329ea513 13412
0221ce2a
L
134132018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13414
13415 [BZ #23250]
13416 [BZ #10686]
13417 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13418 to _private_tm[3] and add __glibc_reserved2.
13419 Add _Static_assert of offset of __private_ss == 0x30.
13420 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13421 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13422
e826574c
FW
134232018-06-12 Florian Weimer <fweimer@redhat.com>
13424
13425 x86: Make strncmp usable from rtld.
13426 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13427 __strncmp_ia32 if in libc (and not in rtld).
13428 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13429 strncmp if not in libc (and not to __strncmp_sse2).
13430
c4ad5782
RL
134312018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13432
13433 [BZ #23140]
13434 * localedata/locales/gd_GB (mon): Rename to...
13435 (alt_mon): This.
13436 (mon): Import from CLDR (genitive case).
13437 * localedata/locales/hsb_DE (mon): Rename to...
13438 (alt_mon): This.
13439 (mon): Import from CLDR (genitive case).
13440 * localedata/locales/wa_BE (mon): Rename to...
13441 (alt_mon): This.
13442 (mon): Add, fill with the proper genitive forms, but CLDR data
13443 is incomplete; completed according to the comments in this file.
13444 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13445
13446 * localedata/locales/wa_BE (country_name): Reword
13447 "Beljike" -> "Beldjike".
13448
ca121b11
JM
134492018-06-11 Joseph Myers <joseph@codesourcery.com>
13450
13451 [BZ #23272]
13452 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13453 cases of non-finite arguments.
13454 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13455
2b69fecb
JDA
134562018-06-10 John David Anglin <danglin@gcc.gnu.org>
13457
13458 [BZ #23174]
13459 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13460
283d9851
AZ
134612018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13462
13463 [BZ #23264]
13464 * include/unistd.h (__execvpex): New prototype.
13465 * posix/Makefile (tests): Add tst-spawn4.
13466 (tests-internal): Add tst-spawn4-compat.
13467 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13468 * posix/tst-spawn4-compat.c: New file.
13469 * posix/tst-spawn4.c: Likewise.
13470 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13471 binaries as shell scripts.
13472 * sysdeps/posix/spawni.c (__spawni): Likewise.
13473
67c05796
L
134742018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13475
13476 [BZ #23145]
13477 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13478 ($(all-built-dso:=.dynsym): New target.
13479 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13480 ($(objpfx)check-initfini.out): New target.
13481 (generated): Add check-initfini.out.
13482 * scripts/check-initfini.awk: New file.
13483 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13484 (_fini): Likewise.
13485 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13486 (_fini): Likewise.
13487 * sysdeps/arm/crti.S (_init): Mark as hidden.
13488 (_fini): Likewise.
13489 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13490 (_fini): Likewise.
13491 * sysdeps/i386/crti.S (_init): Mark as hidden.
13492 (_fini): Likewise.
13493 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13494 (_fini): Likewise.
13495 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13496 (_fini): Likewise.
13497 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13498 (_fini): Likewise.
13499 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13500 (_fini): Likewise.
13501 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13502 (_fini): Likewise.
13503 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13504 (_fini): Likewise.
13505 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13506 (_fini): Likewise.
13507 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13508 (_fini): Likewise.
13509 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13510 (_fini): Likewise.
13511 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13512 (_fini): Likewise.
13513 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13514 (_fini): Likewise.
13515 * sysdeps/sh/crti.S (_init): Mark as hidden.
13516 (_fini): Likewise.
13517 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13518 (_fini): Likewise.
13519 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13520 (_fini): Likewise.
13521
1c09524e
TMQMF
135222018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13523
13524 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13525 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13526 and TF redirection to KFtype and KF only when the default
13527 long double type is not the IEEE 128-bit floating point type.
13528
0e0577c9
JM
135292018-06-05 Joseph Myers <joseph@codesourcery.com>
13530
0c1c33b2
JM
13531 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13532 macro.
13533 (HWCAP_USCAT): Likewise.
13534 (HWCAP_ILRCPC): Likewise.
13535 (HWCAP_FLAGM): Likewise.
13536 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13537 Increase to 28.
13538 (_dl_aarch64_cap_flags): Add new flag names.
13539
bef1cbf4
JM
13540 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13541 (MAP_FIXED_NOREPLACE): New macro.
13542 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13543 (MAP_FIXED_NOREPLACE): Likewise.
13544 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13545 (MAP_FIXED_NOREPLACE): Likewise.
13546 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13547 (MAP_FIXED_NOREPLACE): Likewise.
13548 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13549 (MAP_FIXED_NOREPLACE): Likewise.
13550 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13551 (MAP_FIXED_NOREPLACE): Likewise.
13552 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13553 (MAP_FIXED_NOREPLACE): Likewise.
13554 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13555 (MAP_FIXED_NOREPLACE): Likewise.
13556 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13557 (MAP_FIXED_NOREPLACE): Likewise.
13558 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13559 (MAP_FIXED_NOREPLACE): Likewise.
13560 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13561 (MAP_FIXED_NOREPLACE): Likewise.
13562 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13563 (MAP_FIXED_NOREPLACE): Likewise.
13564 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13565 (MAP_FIXED_NOREPLACE): Likewise.
13566 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13567 (MAP_FIXED_NOREPLACE): Likewise.
13568 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13569 (MAP_FIXED_NOREPLACE): Likewise.
13570
0e0577c9
JM
13571 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13572 version to 4.17.
13573
ab3a0da0
JM
135742018-06-04 Joseph Myers <joseph@codesourcery.com>
13575
13576 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13577 version to 4.17
13578
d2d9dfb6
ST
135792018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13580
13581 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13582 int.
13583 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13584
a650b05e
LS
135852018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13586
13587 * benchtests/scripts/compare_string.py: (process_results) Catch
13588 exception in non-existent base_func and catch exception in
13589 non-existent attribute.
13590 (parse_file) Catch exception if input file does not exist.
13591
195abbf4
LS
135922018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13593
13594 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13595 options to avoid diff calculation and omit header, respectively.
13596 (main): process --no-diff and --no-header
13597
14570163
LS
135982018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13599 H.J. Lu <hongjiu.lu@intel.com>
13600
13601 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13602 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13603 wcsncmp-sse2.
13604 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13605 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13606 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13607 and __wcsncmp_sse2.
13608 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13609 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13610 AVX unaligned load is fast and vzeroupper is preferred.
13611 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13612 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13613 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13614 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13615 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13616 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13617 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13618 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13619 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13620 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13621 is undefined.
13622
e02c026f
FW
136232018-06-01 Florian Weimer <fweimer@redhat.com>
13624
13625 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13626 configuring with --disable-multi-arch, building with
13627 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13628 Haswell-era CPU.
13629
d8c19275
FW
136302018-06-01 Florian Weimer <fweimer@redhat.com>
13631
13632 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13633 results from building with “-march=x86-64 -mtune=generic
13634 -mfpmath=sse” and running on a Haswell-era CPU.
13635
0d2163eb
JM
136362018-06-01 Joseph Myers <joseph@codesourcery.com>
13637
13638 [BZ #18473]
13639 * soft-fp/sqrttf2.c: Remove file.
13640 * soft-fp/sqrtdf2.c: Move to ....
13641 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13642 <shlib-compat.h>.
13643 (__sqrtdf2): Make conditional on
13644 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13645 symbol.
13646 * soft-fp/sqrtsf2.c: Move to ....
13647 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13648 <shlib-compat.h>.
13649 (__sqrtsf2): Make conditional on
13650 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13651 symbol.
13652 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13653 (gcc-double-routines): Remove sqrtdf2.
13654 (gcc-quad-routines): Remove sqrttf2.
13655 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13656 Do not filter out sqrtsf2 and sqrtdf2.
13657 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13658 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13659
10450210
FW
136602018-06-01 Florian Weimer <fweimer@redhat.com>
13661
13662 * sysdeps/generic/libcidn.abilist: Remove file.
13663
4e8a6346
FW
136642018-06-01 Florian Weimer <fweimer@redhat.com>
13665
13666 [BZ #23236]
13667 * libio/strfile.h (struct _IO_str_fields): Rename members to
13668 discourage their use and add comment.
13669 (_IO_STR_DYNAMIC): Remove unused macro.
13670 * libio/strops.c (_IO_str_init_static_internal): Do not use
13671 callback pointers. Call malloc and free.
13672 (_IO_str_overflow): Do not use callback pointers. Call malloc
13673 and free.
13674 (enlarge_userbuf): Likewise.
13675 (_IO_str_finish): Call free.
13676 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13677 _allocate_buffer_unused.
13678 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13679 and free.
13680 (enlarge_userbuf): Likewise.
13681 (_IO_wstr_finish): Call free.
13682 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13683 _allocate_buffer_unused, _free_buffer_unused.
13684 * libio/memstream.c (__open_memstream): Likewise.
13685 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13686 * libio/wmemstream.c (open_wmemstream): Likewise.
13687
50d004c9
PP
136882018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13689
13690 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13691 AMD Ryzen 7 1800X.
13692
2c93fce7
RS
136932018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13694
13695 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13696 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13697 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13698 New file.
13699 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13700 Likewise.
13701 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13702
0ce2fa69
FW
137032018-05-29 Florian Weimer <fweimer@redhat.com>
13704
13705 * support/Makefile (libsupport-routines): Add
13706 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13707 xpthread_barrierattr_setpshared.
13708 * support/xpthread_barrierattr_destroy.c: New file.
13709 * support/xpthread_barrierattr_init.c: Likewise.
13710 * support/xpthread_barrierattr_setpshared.c: Likewise.
13711
7f7b5d8d
L
137122018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13713
13714 [BZ #23206]
13715 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13716 _r_debug and update DT_DEBUG for debugger.
13717
e4890300
FW
137182018-05-29 Florian Weimer <fweimer@redhat.com>
13719
13720 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13721 (tst-strtod5i.out): Likewise.
13722
2c753f3e
JM
137232018-05-25 Joseph Myers <joseph@codesourcery.com>
13724
b5453d9f
JM
13725 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13726 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13727 (sparc64-quad-routines): New variable. Moved from ....
13728 [$(subdir) = soft-fp] (sysdep_routines): Add
13729 $(sparc64-quad-routines). Moved from ....
13730 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13731 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13732 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13733 moved from ....
13734 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13735 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13736 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13737 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13738 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13739 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13740 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13741 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13742 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13743 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13744 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13745 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13746 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13747 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13748 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13749 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13750 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13751 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13752 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13753 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13754 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13755 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13756 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13757 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13758 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13759 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13760 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13761 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13762 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13763 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13764 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13765 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13766 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13767 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13768 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13769 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13770 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13771 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13772 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13773 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13774 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13775 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13776 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13777 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13778 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13779 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13780 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13781 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13782 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13783 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13784 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13785 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13786 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13787 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13788 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13789 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13790 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13791 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13792
2c753f3e
JM
13793 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13794 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13795 (sparc32-quad-routines): New variable. Moved from ....
13796 [$(subdir) = soft-fp] (sysdep_routines): Add
13797 $(sparc32-quad-routines). Moved from ....
13798 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13799 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13800 moved from ....
13801 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13802 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13803 * sysdeps/sparc/sparc32/q_add.c: ... here.
13804 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13805 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13806 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13807 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13808 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13809 * sysdeps/sparc/sparc32/q_div.c: ... here.
13810 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13811 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13812 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13813 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13814 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13815 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13816 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13817 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13818 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13819 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13820 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13821 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13822 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13823 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13824 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13825 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13826 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13827 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13828 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13829 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13830 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13831 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13832 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13833 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13834 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13835 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13836 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13837 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13838 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13839 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13840 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13841 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13842 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13843 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13844 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13845 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13846 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13847 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13848 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13849 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13850 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13851 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13852 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13853 * sysdeps/sparc/sparc32/q_util.c: ... here.
13854 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13855 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13856 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13857 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13858
c1dc1e1b
TMQMF
138592018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13860 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13861
13862 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13863 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13864 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13865 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13866
14186e8d
JM
138672018-05-24 Joseph Myers <joseph@codesourcery.com>
13868
13869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13870 powerpc/soft-fp.
13871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13872 Likewise.
13873 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13874 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13875
fb0e10b8
GG
138762018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13877
13878 [BZ #23171]
13879 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13880 double version.
13881
1dfeb17e
JM
138822018-05-23 Joseph Myers <joseph@codesourcery.com>
13883
13884 * sysdeps/sh/Implies: Remove sh/soft-fp.
13885 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13886 * sysdeps/sh/sfp-machine.h: ... here.
13887
727b38df
L
138882018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13889
13890 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13891 (__mempcpy_erms): Skip zero length.
13892 (__memmove_erms): Likewise.
13893 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13894 (__memset_erms): Likewise.
13895
2834fb46
JM
138962018-05-23 Joseph Myers <joseph@codesourcery.com>
13897
13898 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13899 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13900 Add functions moved from ....
13901 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13902 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13903 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13904 from ....
13905 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13906 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13907 * sysdeps/alpha/e_sqrtl.c: ... here.
13908 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13909 * sysdeps/alpha/local-soft-fp.h: ... here.
13910 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13911 * sysdeps/alpha/ots_add.c: ... here.
13912 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13913 * sysdeps/alpha/ots_cmp.c: ... here.
13914 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13915 * sysdeps/alpha/ots_cmpe.c: ... here.
13916 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13917 * sysdeps/alpha/ots_cvtqux.c: ... here.
13918 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13919 * sysdeps/alpha/ots_cvtqx.c: ... here.
13920 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13921 * sysdeps/alpha/ots_cvttx.c: ... here.
13922 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13923 * sysdeps/alpha/ots_cvtxq.c: ... here.
13924 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13925 * sysdeps/alpha/ots_cvtxt.c: ... here.
13926 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13927 * sysdeps/alpha/ots_div.c: ... here.
13928 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13929 * sysdeps/alpha/ots_mul.c: ... here.
13930 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13931 * sysdeps/alpha/ots_nintxq.c: ... here.
13932 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13933 * sysdeps/alpha/ots_sub.c: ... here.
13934 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13935 * sysdeps/alpha/sfp-machine.h: ... here.
13936
7f9f1ecb
FW
139372018-05-23 Florian Weimer <fweimer@redhat.com>
13938
13939 [BZ #19728]
13940 [BZ #19729]
13941 [BZ #22247]
13942 CVE-2016-6261
13943 CVE-2016-6263
13944 CVE-2017-14062
13945 Switch to extern IDNA implementation (libidn2).
13946 * libidn: Remove subdirectory.
13947 * LICENSES: Do not mention licensing conditions for the removed
13948 libidn code.
13949 * config.h.in (HAVE_LIBIDN): Remove.
13950 * include/dlfcn.h (__libc_dlopen): Update comment.
13951 * include/idna.h: Remove file.
13952 * inet/Makefile (routines): Add idna.
13953 (tests-static, tests-internal): Add tst-idna_name_classify.
13954 (LOCALES): Generate locales for tests.
13955 (tst-idna_name_classify.out): Depend on generated locales.
13956 * inet/idna_name_classify.c: New file.
13957 * inet/tst-idna_name_classify.c: Likewise.
13958 * inet/net-internal.h (__idna_to_dns_encoding)
13959 (__idna_from_dns_encoding): Declare.
13960 * inet/net-internal.h (enum idna_name_classification): Define.
13961 (__idna_name_classify): Declare.
13962 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13963 __idna_from_dns_encoding.
13964 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13965 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13966 name as a fallback in case of encoding errors.
13967 (getnameinfo): Use DEPRECATED_NI_IDN.
13968 * inet/idna.c: New file.
13969 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13970 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13971 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13972 (modules-names): Add tst-no-libidn2.
13973 (extra-test-objs): Add tst-no-libidn2.os.
13974 (LDFLAGS-tst-no-libidn2.so): Set soname.
13975 (LOCALES): Set, and generate locales.
13976 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13977 (tst-resolv-ai_idn-latin1): Likewise.
13978 (tst-resolv-ai_idn-nolibidn2): Likewise.
13979 (tst-resolv-ai_idn.out): Depend on locales.
13980 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13981 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13982 tst-no-libidn2.so.
13983 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13984 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13985 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13986 * resolv/tst-resolv-ai_idn.c: New file.
13987 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13988 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13989 * resolv/tst-no-libidn2.c: Likewise.
13990 * support/support_format_addrinfo.c (format_ai_flags): Do not
13991 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13992 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13993 (gaih_inet): Call __idna_to_dns_encoding and
13994 __idna_from_dns_encoding, and use the original (punycode) name if
13995 __idna_from_dns_encoding fails due to an encoding error.
13996 (getaddrinfo): Use DEPRECATED_AI_IDN.
13997 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13998 * sysdeps/unix/inet/configure: Remove file.
13999 * sysdeps/unix/inet/configure.ac: Likewise.
14000
5f7b841d
FW
140012018-05-23 Florian Weimer <fweimer@redhat.com>
14002
14003 Implement allocate_once.
14004 * include/allocate_once.h: New file.
14005 * misc/allocate_once.c: Likewise.
14006 * misc/tst-allocate_once.c: Likewise.
14007 * misc/Makefile (routines): Add allocate_once.
14008 (tests-internal): Add tst-allocate_once.
14009 (generated): Add tst-allocate_once.mtrace,
14010 tst-allocate_once-mem.out.
14011 (tests-special): Add tst-allocate_once-mem.out.
14012 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14013 (tst-allocate_once-mem.out): Call mtrace.
14014 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14015
ed983107
L
140162018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14017
14018 [BZ #23196]
14019 * string/test-memcpy.c (do_test1): New function.
14020 (test_main): Call it.
14021
9aaaab7c
AS
140222018-05-23 Andreas Schwab <schwab@suse.de>
14023
14024 [BZ #23196]
14025 CVE-2018-11237
14026 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14027 (L(preloop_large)): Save initial destination pointer in %r11 and
14028 use it instead of %rax after the loop.
14029 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14030
5c5c0dd7
JM
140312018-05-22 Joseph Myers <joseph@codesourcery.com>
14032
8f145c77
JM
14033 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14034 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14035 -I../soft-fp. Moved from ....
14036 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14037 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14038 * sysdeps/aarch64/e_sqrtl.c: ... here.
14039 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14040 * sysdeps/aarch64/sfp-machine.h: ... here.
14041
3d6302a5
JM
14042 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14043 -Wmaybe-uninitialized around access to fq[0].
14044 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14045 Likewise.
14046
5c5c0dd7
JM
14047 [BZ #18471]
14048 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14049 aliases for non-libc case of versioned symbols.
14050 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14051 (llseek): Define as compat symbol if
14052 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14053 with link warning.
14054 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14055 Make into a compat symbol, disabled for minimum symbol version
14056 GLIBC_2.28 and later.
14057 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14058
ed0d6988
FW
140592018-05-22 Florian Weimer <fweimer@redhat.com>
14060
14061 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14062 not add -mpreferred-stack-boundary=4.
14063 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14064 (stack-align-test-flags): Likewise.
14065 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14066 Likewise.
14067 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14068 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14069 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14070 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14071 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14072 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14073 (CFLAGS-tst-align2.c): Likewise.
14074
e28e9b1e
L
140752018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14076
14077 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14078 (index_arch_Prefer_FSRM): Likewise.
14079 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14080 Also check Prefer_FSRM.
14081 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14082 Also return OPTIMIZE (erms) for Prefer_FSRM.
14083
1af30adc
L
140842018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14085
14086 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14087 (index_cpu_FSRM): Likewise.
14088 (reg_FSRM): Likewise.
14089
78274dc8
JM
140902018-05-18 Joseph Myers <joseph@codesourcery.com>
14091
7c67e6e8
JM
14092 * math/gen-tgmath-tests.py: Import sys.
14093 (Tests.__init__): Initialize macros_seen.
14094 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14095 if requested to do so for this macro.
14096 (Tests.add_all_tests): Take argument for macro for which to
14097 generate tests.
14098 (Tests.check_macro_list): New function.
14099 (main): Handle check-list argument and argument specifying macro
14100 for which to generate tests.
14101 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14102 [PYTHON] (tgmath3-macro-tests): Likewise.
14103 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14104 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14105 not test-tgmath3.c.
14106 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14107 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14108 to CFLAGS.
14109 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14110 [PYTHON] ($(foreach
14111 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14112 rule.
14113 [PYTHON] (tests-special): Add
14114 $(objpfx)test-tgmath3-macro-list.out.
14115 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14116
ebc129fd
JM
14117 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14118 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14119 later.
14120
78274dc8
JM
14121 [BZ #22639]
14122 * time/tzset.c (SECSPERDAY): Cast to time_t.
14123 * time/tst-y2039.c: New file.
14124 * time/Makefile (tests): Add tst-y2039.
14125
6f7fdeeb
LS
141262018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14127
14128 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14129 (PREFETCH_ONE_SET): Remove duplicate line.
14130
e363a91c
FW
141312018-05-17 Florian Weimer <fweimer@redhat.com>
14132
14133 * sysdeps/generic/math-type-macros-double.h: Include
14134 <math-nan-payload-double.h> after <libm-alias-double.h>.
14135 * sysdeps/generic/math-type-macros-float.h: Include
14136 <math-nan-payload-float.h> after <libm-alias-float.h>.
14137 * sysdeps/generic/math-type-macros-float128.h: Include
14138 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14139 * sysdeps/generic/math-type-macros-ldouble.h: Include
14140 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14141
dae6c43c
AS
141422018-05-17 Andreas Schwab <schwab@suse.de>
14143
14144 * resolv/res_send.c (__res_context_send): Don't set errno when
14145 returing error after malloc failure.
14146
0068c085
L
141472018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14148
14149 * nptl/allocatestack.c (allocate_stack): Remove the
14150 !__ASSUME_PRIVATE_FUTEX paths.
14151 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14152 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14153 Likewise.
14154 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14155 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14156 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14157 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14158 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14159 !__ASSUME_PRIVATE_FUTEX path.
14160 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14161 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14162 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14163 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14164 !__ASSUME_PRIVATE_FUTEX macros.
14165 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14166 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14167 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14168 * sysdeps/unix/sysv/linux/kernel-features.h
14169 (__ASSUME_PRIVATE_FUTEX): Removed.
14170
632a6cbe
JM
141712018-05-17 Joseph Myers <joseph@codesourcery.com>
14172
14173 * math/Makefile (libm-narrow-fns): Add div.
14174 (libm-test-funcs-narrow): Likewise.
14175 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14176 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14177 * math/gen-auto-libm-tests.c (test_functions): Add div.
14178 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14179 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14180 (NARROW_DIV_TRIVIAL): Likewise.
14181 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14182 macro.
14183 (__ddivl): Likewise.
14184 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14185 ddiv.
14186 (CFLAGS-nldbl-ddiv.c): New variable.
14187 (CFLAGS-nldbl-fdiv.c): Likewise.
14188 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14189 __nldbl_ddivl.
14190 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14191 prototype.
14192 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14193 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14194 * math/auto-libm-test-in: Add tests of div.
14195 * math/auto-libm-test-out-narrow-div: New generated file.
14196 * math/libm-test-narrow-div.inc: New file.
14197 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14198 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14199 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14200 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14201 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14202 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14203 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14204 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14205 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14206 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14207 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14208 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14209 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14210 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14211 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14212 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14213 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14214 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14216 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14217 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14218 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14219 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14220 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14221 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14222 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14223 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14224 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14225 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14226 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14227 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14228 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14233 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14234 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14235 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14236 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14237 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14238 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14239 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14240 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14241
8c78faa9
AZ
142422018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14243
14244 [BZ #23178]
14245 * nscd/nscd-client.h (sendfileall): Remove prototype.
14246 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14247 (handle_request): Use writeall instead of sendfileall.
14248 * nscd/aicache.c (addhstaiX): Likewise.
14249 * nscd/grpcache.c (cache_addgr): Likewise.
14250 * nscd/hstcache.c (cache_addhst): Likewise.
14251 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14252 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14253 * nscd/pwdcache.c (cache_addpw): Likewise.
14254 * nscd/servicescache.c (cache_addserv): Likewise.
14255 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14256 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14257 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14258 Remove define.
14259
04958880
L
142602018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14261
14262 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14263 Include <string/strncat.c>.
14264 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14265 alias.
14266 (__GI___strncat): New hidden alias.
14267
c9992d13
JM
142682018-05-16 Joseph Myers <joseph@codesourcery.com>
14269
14270 * sysdeps/mips/mips32/libm-test-ulps: Update.
14271 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14272
2afece36
FW
142732018-05-16 Florian Weimer <fweimer@redhat.com>
14274
14275 * support/Makefile (libsupport-routines): Add support_quote_blob,
14276 support_test_compare_blob.
14277 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14278 * support/check.h (TEST_COMPARE_BLOB): Define.
14279 (support_test_compare_blob): Declare.
14280 * support/support.h (support_quote_blob): Declare.
14281 * support/support_quote_blob.c: New file.
14282 * support/support_test_compare_blob.c: Likewise.
14283 * support/tst-support_quote_blob.c: Likewise.
14284 * support/tst-test_compare_blob.c: Likewise.
14285
9761bf4d
FW
142862018-05-16 Florian Weimer <fweimer@redhat.com>
14287
14288 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14289 of <strtod_nan_double.h>.
14290 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14291 instead of SET_MANTISSA.
14292 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14293 of include <strtod_nan_float.h>.
14294 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14295 instead of <strtod_nan_ldouble.h>.
14296 * stdlib/strtod_nan_double.h: Move to ...
14297 * sysdeps/generic/math-nan-payload-double.h: ... here.
14298 (FLOAT): Remove definition.
14299 (SET_MANTISSA): Rename to ...
14300 (SET_NAN_PAYLOAD): ... this.
14301 * stdlib/strtod_nan_float.h: Move to ...
14302 * sysdeps/generic/math-nan-payload-float.h: ... here.
14303 (FLOAT): Remove definition.
14304 (SET_MANTISSA): Rename to ...
14305 (SET_NAN_PAYLOAD): ... this.
14306 * sysdeps/generic/math-type-macros-double.h: Include
14307 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14308 instead of <math-svid-compat.h>.
14309 * sysdeps/generic/math-type-macros-float.h: Include
14310 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14311 instead of <math-svid-compat.h>.
14312 * sysdeps/generic/math-type-macros-float128.h: Include
14313 <math-nan-payload-float128.h>.
14314 * sysdeps/generic/math-type-macros-ldouble.h: Include
14315 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14316 instead of <math-svid-compat.h>.
14317 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14318 check for definition.
14319 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14320 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14321 Include <ieee754_float128.h>.
14322 (FLOAT): Remove definition.
14323 (SET_MANTISSA): Rename to ...
14324 (SET_NAN_PAYLOAD): ... this.
14325 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14326 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14327 Do not include <float128_private.h>.
14328 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14329 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14330 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14331 (FLOAT): Remove definition.
14332 (SET_MANTISSA): Rename to ...
14333 (SET_NAN_PAYLOAD): ... this.
14334 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14335 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14336 (FLOAT): Remove definition.
14337 (SET_MANTISSA): Rename to ...
14338 (SET_NAN_PAYLOAD): ... this.
14339 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14340 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14341 (FLOAT): Remove definition.
14342 (SET_MANTISSA): Rename to ...
14343 (SET_NAN_PAYLOAD): ... this.
14344 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14345 of "../stdlib/strtod_nan_double.h".
14346 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14347 of "../stdlib/strtod_nan_float.h".
14348 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14349 instead of "../stdlib/strtod_nan_ldouble.h".
14350 * manual/arith.texi (Parsing of Floats): Adjust comment.
14351
69a01461
JM
143522018-05-16 Joseph Myers <joseph@codesourcery.com>
14353
14354 * math/Makefile (libm-narrow-fns): Add mul.
14355 (libm-test-funcs-narrow): Likewise.
14356 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14357 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14358 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14359 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14360 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14361 (NARROW_MUL_TRIVIAL): Likewise.
14362 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14363 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14364 macro.
14365 (__dmull): Likewise.
14366 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14367 dmul.
14368 (CFLAGS-nldbl-dmul.c): New variable.
14369 (CFLAGS-nldbl-fmul.c): Likewise.
14370 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14371 __nldbl_dmull.
14372 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14373 prototype.
14374 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14375 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14376 * math/auto-libm-test-in: Add tests of mul.
14377 * math/auto-libm-test-out-narrow-mul: New generated file.
14378 * math/libm-test-narrow-mul.inc: New file.
14379 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14380 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14381 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14382 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14383 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14384 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14385 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14386 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14387 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14388 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14389 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14392 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14393 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14394 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14395 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14396 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14399 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14400 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14401 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14402 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14403 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14404 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14405 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14406 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14407 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14408 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14409 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14410 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14415 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14416 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14417 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14418 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14419 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14420 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14421 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14422 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14423
a15529fd
L
144242018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14425
14426 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14427 with *%eax in call.
14428
98ee36c7
L
144292018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14430
14431 * sysdeps/i386/ldsodefs.h: Removed.
14432 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14433 * sysdeps/x86/ldsodefs.h: This.
14434 (La_i86_regs): New.
14435 (La_i86_retval): Likewise.
14436 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14437 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14438
e322ec32
L
144392018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14440
14441 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14442 unnecessary testl.
14443
0937e209
AM
144442018-05-13 Alan Modra <amodra@gmail.com>
14445
14446 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14447 R_PARISC_TLS_DTPOFF32 reloc addend.
14448
5db7d705
TMQMF
144492018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14450
14451 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14452 * math/math.h: Restrict the prototype definition for the functions
14453 issignaling(_Float128) and iszero(_Float128); and template
14454 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14455 __HAVE_FLOAT128_UNLIKE_LDBL.
14456 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14457 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14458 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14459 __f128() constants; define the type _Float128 as long double;
14460 and reuse long double in __CFLOAT128.
14461
b4d5b8b0
JM
144622018-05-11 Joseph Myers <joseph@codesourcery.com>
14463
14464 * sysdeps/generic/math_private.h: Do not include
14465 <math-barriers.h>.
14466 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14467 <math_private.h>.
14468 * math/fromfp.h: Include <math-barriers.h>.
14469 * math/math-narrow.h: Likewise.
14470 * math/s_nextafter.c: Likewise.
14471 * math/s_nexttowardf.c: Likewise.
14472 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14473 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14474 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14475 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14476 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14477 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14478 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14480 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14482 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14483 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14484 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14485 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14486 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14487 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14488 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14489 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14490 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14491 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14492 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14493 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14494 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14495 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14496 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14497 * sysdeps/ieee754/k_standardl.c: Likewise.
14498 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14499 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14500 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14501 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14502 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14503 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14504 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14505 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14506 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14507 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14508 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14509 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14510 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14511 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14512 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14513 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14514 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14515 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14516 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14517 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14518 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14519 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14520
fc79706a
FW
145212018-05-11 Florian Weimer <fweimer@redhat.com>
14522
14523 Use 64-bit epoch values in the time zone file parser.
14524 * include/time.h (internal_time_t): Define.
14525 (__tzfile_compute): Use it.
14526 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14527 member.
14528 (transitions): Switch to internal_time_t.
14529 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14530 types.
14531 (__tzfile_compute): Use internal_time_t for timer argument. Check
14532 for truncation before calling __offtime.
14533
89aacb51
FW
145342018-05-11 Florian Weimer <fweimer@redhat.com>
14535
14536 [BZ #23166]
14537 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14538 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14539 Likewise.
14540 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14541 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14542 export without --enable-obsolete-rpc.
14543 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14544 symbol. This should not have been exported, ever.
14545
bb066cb8
RL
145462018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14547
14548 [BZ #23152]
14549 * localedata/locales/gd_GB (abmon): Fix typo in May:
14550 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14551
70c97f84
SP
145522018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14553
db725a45
SP
14554 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14555 Use multiple registers to copy data in loop tail.
14556
70c97f84
SP
14557 * sysdeps/aarch64/multiarch/memmove_falkor.S
14558 (__memmove_falkor): Use multiple registers to move data in
14559 loop tail.
14560
8f5b00d3
JM
145612018-05-10 Joseph Myers <joseph@codesourcery.com>
14562
14563 * math/math-underflow.h: New file.
14564 * sysdeps/generic/math_private.h: Do not include <float.h>.
14565 (fabs_tg): Remove macro. Moved to math-underflow.h.
14566 (min_of_type_f): Likewise.
14567 (min_of_type_): Likewise.
14568 (min_of_type_l): Likewise.
14569 (min_of_type_f128): Likewise.
14570 (min_of_type): Likewise.
14571 (math_check_force_underflow): Likewise.
14572 (math_check_force_underflow_nonneg): Likewise.
14573 (math_check_force_underflow_complex): Likewise.
14574 * math/e_exp2_template.c: Include <math-underflow.h>.
14575 * math/k_casinh_template.c: Likewise.
14576 * math/s_catan_template.c: Likewise.
14577 * math/s_catanh_template.c: Likewise.
14578 * math/s_ccosh_template.c: Likewise.
14579 * math/s_cexp_template.c: Likewise.
14580 * math/s_clog10_template.c: Likewise.
14581 * math/s_clog_template.c: Likewise.
14582 * math/s_csin_template.c: Likewise.
14583 * math/s_csinh_template.c: Likewise.
14584 * math/s_csqrt_template.c: Likewise.
14585 * math/s_ctan_template.c: Likewise.
14586 * math/s_ctanh_template.c: Likewise.
14587 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14588 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14589 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14590 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14591 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14592 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14593 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14594 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14595 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14596 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14598 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14599 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14600 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14601 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14602 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14603 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14604 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14605 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14606 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14607 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14608 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14609 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14610 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14613 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14614 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14615 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14616 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14617 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14618 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14619 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14620 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14621 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14622 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14623 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14624 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14625 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14626 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14627 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14628 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14629 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14630 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14631 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14632 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14633 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14634 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14635 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14636 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14637 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14638 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14639 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14640 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14641 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14642 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14643 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14644 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14645 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14646 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14647 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14648 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14649 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14650 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14651 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14652 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14653 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14654 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14655 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14656 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14657 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14658 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14659 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14660 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14661 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14662 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14663 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14664 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14665 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14667 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14668 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14669 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14670 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14671
9ed2e15f
JM
146722018-05-09 Joseph Myers <joseph@codesourcery.com>
14673
14674 * sysdeps/generic/math-barriers.h: New file.
14675 * sysdeps/generic/math_private.h [!math_opt_barrier]
14676 (math_opt_barrier): Move to math-barriers.h.
14677 [!math_opt_barrier] (math_force_eval): Likewise.
14678 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14679 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14680 math-barriers.h.
14681 (math_force_eval): Likewise.
14682 * sysdeps/alpha/fpu/math-barriers.h: New file.
14683 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14684 math-barriers.h.
14685 (math_force_eval): Likewise.
14686 * sysdeps/x86/fpu/math-barriers.h: New file.
14687 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14688 math-barriers.h.
14689 (math_force_eval): Likewise.
14690 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14691 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14692 multiple-include guard for rename.
14693 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14694 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14695 math-barriers.h.
14696 (math_force_eval): Likewise.
14697
5460617d
PP
146982018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14699
14700 [BZ #22786]
43d4f3d5 14701 CVE-2018-11236
5460617d
PP
14702 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14703 computation.
14704 * stdlib/Makefile (test-bz22786): New test.
14705 * stdlib/test-bz22786.c: New test.
14706
aaee3cd8
JM
147072018-05-09 Joseph Myers <joseph@codesourcery.com>
14708
14709 * include/math-narrow-eval.h: New file. Contents moved from ....
14710 * sysdeps/generic/math_private.h: ... here.
14711 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14712 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14713 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14714 * stdlib/strtod_l.c: Likewise.
14715 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14716 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14717 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14718 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14719 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14720 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14721 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14722 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14723 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14724 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14725 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14726 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14727 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14729 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14730 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14731 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14732 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14733 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14734 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14735 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14736 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14737 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14738 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14739 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14740 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14741 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14742 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14743 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14744
0555c477
AS
147452018-05-08 Andreas Schwab <schwab@suse.de>
14746
14747 * sysdeps/nptl/internaltypes.h: Fix comment.
14748
50d7d351
L
147492018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14750
14751 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14752 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14753 hidden.
14754
543477f7
SP
147552018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14756
14757 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14758 of I into loop header.
14759 * benchtests/bench-memmove-walk.c
14760 (test_main): Likewise.
14761
147622018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14763
14764 Revert:
14765 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14766 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14767
0065aaaa
PP
147682018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14769
14770 [BZ #20419]
14771 * elf/dl-load.c (open_verify): Fix stack overflow.
14772 * elf/Makefile (tst-big-note): New test.
14773 * elf/tst-big-note-lib.S: New.
14774 * elf/tst-big-note.c: New.
14775
b289cd9d
JM
147762018-05-04 Joseph Myers <joseph@codesourcery.com>
14777
14778 * scripts/abilist.awk: Ignore absolute symbols.
14779 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14780 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14781 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14782 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14783 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14784 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14785 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14786 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14787 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14788 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14789 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14790 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14871 Likewise.
14872 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14876 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14877 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14885 Likewise.
14886 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14913 Likewise.
14914 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14933 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14934 Likewise.
14935 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14947 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14948 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14967 Likewise.
14968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14973 Likewise.
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14975 Likewise.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14978 Likewise.
14979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14981 Likewise.
14982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14983 Likewise.
14984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14987 Likewise.
14988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14989 Likewise.
14990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14991 Likewise.
14992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14996 Likewise.
14997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15003 Likewise.
15004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15006 Likewise.
15007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15008 Likewise.
15009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15010 Likewise.
15011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15012 Likewise.
15013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15016 Likewise.
15017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15018 Likewise.
15019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15020 Likewise.
15021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15024 Likewise.
15025 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15029 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15030 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15035 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15036 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15037 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15038 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15039 Likewise.
15040 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15041 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15043 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15044 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15045 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15046 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15049 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15050 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15051 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15052 Likewise.
15053 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15054 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15058 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15059 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15065 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15066 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15068 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15069 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15070 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15071 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15072 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15073 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15074 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15075 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15078 Likewise.
15079 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15080 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15081 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15082 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15083 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15086 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15087 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15092 Likewise.
15093 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15102 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15114 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15115 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15131
16609018
SL
151322018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15133
15134 [BZ #23137]
15135 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15136 Use atomic_load_acquire to load __tid.
15137
556f5c46
L
151382018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15139
15140 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15141 Restore the pointer into %rdx, after syscall and use %rdx,
15142 instead of %rsi, to restore context.
15143
8b8f32b2
L
151442018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15145
15146 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15147 Pop the pointer into %rdx after syscall and use %rdx, instead
15148 of %rsi, to restore context.
15149
d6cc1829
L
151502018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15151
15152 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15153 handlers after setjmp.
15154 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15155 defined.
15156 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15157 <libc-pointer-arith.h>.
15158 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15159 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15160 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15161 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15162 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15163 * sysdeps/x86/__longjmp_cancel.S: New file.
15164 * sysdeps/x86/longjmp.c: Likewise.
15165 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15166
cf2478d5
AZ
151672018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15168
15169 * NEWS: Add ustat.h deprecation entry.
15170 * bits/ustat.h: Remove file.
15171 * misc/sys/ustat.h: Likewise.
15172 * misc/ustat.h: Likewise.
15173 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15174 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15175 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15176 compatibility mode.
15177 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15178 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15179 generic Linux implementation.
15180
dc115e1c
TMQMF
151812018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15182
15183 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15184 * math/w_expl_compat.c: Likewise.
15185 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15186
6b5c8607 151872018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15188
15189 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15190
c57bf7c1
AZ
151912018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15192
15193 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15194 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15195 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15196 Remove.
15197 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15199 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15200 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15201 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15202 and SYSCALL_LL64.
15203
06135c33
TMQMF
152042018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15205
33927914
TMQMF
15206 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15207
06135c33
TMQMF
15208 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15209 * math/w_asin_template.c: Likewise.
15210 * math/w_atanh_template.c: Likewise.
15211
3a33b069
GG
152122018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15213
15214 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15215 to powerpc/powerpc64/be for big-endian.
15216 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15217 little-endian.
15218
15219 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15220 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15221 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15222 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15223 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15224 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15225 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15226 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15227 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15228 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15229 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15230 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15231 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15232 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15233 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15234 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15235 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15236 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15237 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15238 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15239 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15240 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15241 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15242 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15243 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15244 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15245 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15246 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15247 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15248 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15249 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15250 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15251
15252 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15253 adjusted to imply powerpc64 and older processors on powerpc64/be.
15254 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15255 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15256 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15257 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15258 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15259 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15260 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15261 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15262 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15263 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15264 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15265 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15266 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15267 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15268 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15269 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15270 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15271 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15272 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15273 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15274 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15275 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15276 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15277 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15278 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15279 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15280 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15281 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15282 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15283 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15284 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15285
15286 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15287 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15288 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15289 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15290
15291 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15292 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15293 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15294 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15295
15296 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15297 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15298 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15299 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15300 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15301 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15302 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15303 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15304 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15305 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15307
15308 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15309 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15310 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15311 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15312 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15313 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15314 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15315 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15316 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15317 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15318 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15319
15320 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15321 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15322 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15323 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15324 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15325 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15326 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15327 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15328 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15329 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15330 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15331 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15332
15333 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15334 and adjusted to imply olders processors.
15335 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15336 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15337 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15338 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15339 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15340 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15341 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15342 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15343 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15344 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15345 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15346
15347 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15348 powerpc64/le.
15349 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15350 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15351
15352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15353 powerpc64le.
15354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15356
15357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15358 powerpc64/be.
15359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15362
15363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15364 powerpc64 and adjusted.
15365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15368 Likewise.
15369
a3fb6b6b
JM
153702018-04-27 Joseph Myers <joseph@codesourcery.com>
15371
15372 * sysdeps/tile: Remove.
15373 * sysdeps/unix/sysv/linux/tile: Likewise.
15374 * README (tilegx-*-linux-gnu): Remove from list of supported
15375 configurations.
15376 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15377 contribution of support for generic Linux kernel syscall
15378 interface.
15379 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15380 tilegx configurations.
15381 (Config.install_linux_headers): Do not handle tile.
15382 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15383 in comment.
15384 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15385 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15386 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15387 conditional undefine and redefine.
15388 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15389 in comment.
15390 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15391 conditional undefine and redefine.
15392
7a6f7478
AJ
153932018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15394
15395 * signal/tst-sigaction.c: New file to test BZ #23069.
15396 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15397
81b49e96
TMQMF
153982018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15399
15400 [BZ #22766]
15401 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15402 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15403 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15404 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15405
7d80f48e
AZ
154062018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15407
15408 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15409 _DIRENT_MATCHES_DIRENT64 is not defined.
15410 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15411 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15412 is defined.
15413 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15414 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15415
42a2bf58
JM
154162018-04-25 Joseph Myers <joseph@codesourcery.com>
15417
15418 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15419 version to GCC 8 branch.
15420
9320ca88
JM
154212018-04-24 Joseph Myers <joseph@codesourcery.com>
15422
5e14bb97
JM
15423 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15424 (check_no_hidden): Use type of original function when declaring
15425 alias.
15426
9320ca88
JM
15427 * sysdeps/unix/sysv/linux/sys/ptrace.h
15428 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15429 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15430 (struct __ptrace_seccomp_metadata): New type.
15431 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15432 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15433 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15434 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15435 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15436 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15437 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15438 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15439 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15440 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15441 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15442 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15443 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15444 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15445 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15446 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15447
af7e376b
AZ
154482018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15449
15450 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15451 defined.
15452 * dirent/versionsort.c (versionsort): Likewise.
15453 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15454 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15455 * dirent/versionsort64.c (versionsort64): Likewise.
15456 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15457 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15458 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15459 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15460 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15461 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15462 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15463 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15464 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15465 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15468 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15469 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15470
da5e0361
JM
154712018-04-23 Joseph Myers <joseph@codesourcery.com>
15472
15473 * elf/elf.h (NT_PPC_PKEY): New macro.
15474
6b5c8607 154752018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15476
15477 [BZ #23094]
15478 * localedata/locales/hr_HR: fix thousands_sep and
15479 mon_thousands_sep
15480
573963e3
JM
154812018-04-20 Joseph Myers <joseph@codesourcery.com>
15482
15483 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15484 (XTABS): Define to TAB3.
15485
c0123b3b
AZ
154862018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15487
0900a849
AZ
15488 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15489
c0123b3b
AZ
15490 * dirent/scandir-tail-common.c: New file.
15491 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15492 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15493 * dirent/scandir.c: Use scandir-tail-common.c.
15494 * dirent/scandirat.c: Likewise.
15495 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15496 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15497 if _DIRENT_MATCHES_DIRENT64 is defined.
15498 * dirent/scandirat64.c (scandirat64): Likewise.
15499 * include/dirent.h (__scandir_tail): Only define iff
15500 _DIRENT_MATCHES_DIRENT64 is not defined.
15501 (__scandir64_tail): Define regardless.
15502 (__scandirat, scandirat64): Remove libc_hidden_proto.
15503 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15504 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15506 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15507 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15508 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15509 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15510
458b94f6
JM
155112018-04-20 Joseph Myers <joseph@codesourcery.com>
15512
15513 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15514 New macro.
15515 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15516 Increase to 24.
15517 (_dl_aarch64_cap_flags): Add asimdfhm.
15518
9f0437e8
CLT
155192018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15520
15521 * sysdeps/nios2/libm-test-ulps: Update.
15522
298d0e31
AZ
155232018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15524
50511ca4
AZ
15525 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15526 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15527
298d0e31
AZ
15528 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15529 requirements.
6b5c8607 15530 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15531 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15532 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15533 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15534 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15535 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15536 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15537 use getdents64 syscalls as base.
15538 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15539 symbol if required.
15540 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15541 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15542 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15543 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15544 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15545 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15546 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15547 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15548 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15549 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15550 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15551
0085be14
SL
155522018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15553
15554 * scripts/test_printers_common.py (init_test): Disable lock elision.
15555
da796524
SL
155562018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15557
15558 * math/test-tgmath.c (count_double, count_float,
15559 count_ldouble, count_cdouble, count_cfloat,
15560 count_cldouble): Use volatile int.
15561
0dd25301
ST
155622018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15563
15564 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15565 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15566 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15567 i386-gnu.
15568 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15569 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15570 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15571 msqid_ds.msg_lrpid): Likewise.
15572 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15573 Likewise.
15574 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15575 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15576 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15577 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15578 unsigned int.
15579 (struct statvfs64): Likewise.
f55a4fde
ST
15580 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15581 Likewise.
77b93390
ST
15582 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15583 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15584 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15585 instead of wait_queue.
15586 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15587 instead of vm_area_struct.
5cd2931a
ST
15588 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15589 struct sched_param definition to it.
e60c3f2b
ST
15590 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15591 * bits/types/struct_sched_param.h: New file.
15592 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15593 <bits/types/struct_sched_param.h> instead of <sched.h>.
15594 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15595 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15596 generic version but include <bits/pthreadtypes.h> to make struct
15597 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15598 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15599 non-compliant.
a564872d
ST
15600 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15601 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15602 [__USE_XOPEN] (OFDEL): New macro.
15603 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15604 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15605 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15606 prototypes.
15607 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15608 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15609 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15610 non-compliant.
15611 * sysdeps/i386/sys/ucontext.h: Likewise.
15612 * sysdeps/m68k/sys/ucontext.h: Likewise.
15613 * sysdeps/mips/sys/ucontext.h: Likewise.
15614 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15615 * sysdeps/mach/hurd/i386/Makefile
15616 (test-xfail-POSIX/fcntl.h/conform): Add.
15617 (test-xfail-POSIX/signal.h/conform): Add.
15618 (test-xfail-POSIX/semaphore.h/conform): Add.
15619 (test-xfail-POSIX/regex.h/conform): Add.
15620 (test-xfail-POSIX/aio.h/conform): Add.
15621 (test-xfail-POSIX/mqueue.h/conform): Add.
15622 (test-xfail-POSIX/sys/types.h/conform): Add.
15623 (test-xfail-UNIX98/fcntl.h/conform): Add.
15624 (test-xfail-UNIX98/netdb.h/conform): Add.
15625 (test-xfail-UNIX98/signal.h/conform): Add.
15626 (test-xfail-UNIX98/semaphore.h/conform): Add.
15627 (test-xfail-UNIX98/regex.h/conform): Add.
15628 (test-xfail-UNIX98/aio.h/conform): Add.
15629 (test-xfail-UNIX98/ftw.h/conform): Add.
15630 (test-xfail-UNIX98/mqueue.h/conform): Add.
15631 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15632 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15633 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15634 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15635 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15636 (test-xfail-UNIX98/sys/types.h/conform): Add.
15637 (test-xfail-UNIX98/stdlib.h/conform): Add.
15638 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15639 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15640 (test-xfail-POSIX2008/netdb.h/conform): Add.
15641 (test-xfail-POSIX2008/signal.h/conform): Add.
15642 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15643 (test-xfail-POSIX2008/regex.h/conform): Add.
15644 (test-xfail-POSIX2008/aio.h/conform): Add.
15645 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15646 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15647 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15648 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15649 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15650 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15651 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15652 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15653 (test-xfail-XOPEN2K/signal.h/conform): Add.
15654 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15655 (test-xfail-XOPEN2K/regex.h/conform): Add.
15656 (test-xfail-XOPEN2K/aio.h/conform): Add.
15657 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15658 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15659 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15660 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15661 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15662 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15663 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15664 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15665 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15666 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15667 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15668 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15669 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15670 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15671 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15672 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15673 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15674 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15675 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15676 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15677 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15678 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15679 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15680 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15681 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15682 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15683 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15684 i386-gnu.
15685 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15686 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15687
d6397de3
JM
156882018-04-18 Joseph Myers <joseph@codesourcery.com>
15689
15690 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15691 --enable-obsolete for powerpc-linux-gnuspe.
15692
8323a902
ST
156932018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15694
3dc0814c 15695 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15696 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15697 prototypes.
c5896a45
ST
15698 * sysdeps/mach/include/mach.h: Likewise.
15699 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15700 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15701
743b9c2a
AZ
157022018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15703
15704 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15705 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15706 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15707 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15708
326e74e7
AS
157092018-04-16 Andreas Schwab <schwab@suse.de>
15710
15711 [BZ #19527]
15712 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15713
6b5c8607 157142018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15715
15716 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15717 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15718
a700e7cb
DD
157192018-04-12 DJ Delorie <dj@redhat.com>
15720
15721 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15722 version to 4.16.
15723
d8abfab7
SL
157242018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15725
15726 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15727 (struct kernel_sigaction): Use the same definition on 31bit as is used
15728 on 64bit.
15729
583a27d5
FW
157302018-04-09 Florian Weimer <fweimer@redhat.com>
15731
15732 [BZ #23037]
15733 * resolv/res_send.c (send_dg): Use designated initializers instead
15734 of assignment to zero-initialize other fields of struct mmsghdr.
15735
243f59e5
AZ
157362018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15737
942de61a
AZ
15738 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15739 __READDIR_ALIAS): Undefine after usage.
15740 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15741 __READDIR_R_ALIAS): Likewise.
15742 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15743 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15744 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15745 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15746 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15747 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15748 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15749 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15750 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15751 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15752 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15753 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15754 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15755 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15756 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15757 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15758 * sysdeps/unix/sysv/linux/readdir.c: New file.
15759 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15760 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15761 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15762
243f59e5
AZ
15763 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15764
690c3475
AS
157652018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15766
15767 * manual/charset.texi (Converting a Character): Fix typo.
15768
6b5c8607 157692018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15770
bbc2062a
AZ
15771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15772
fa7c6199
AZ
15773 * sysdeps/arm/libm-test-ulps: Update.
15774
b4a5d26d
AZ
15775 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15776 as base implementation.
15777 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15778 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15779 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15780 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15781 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15782 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15783 remove unrequired definitions and update comments.
15784 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15785 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15786 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15787 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15788 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15789 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15790 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15791 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15792 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15793 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15794 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15795 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15796 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15797 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15798 and RESET_SA_RESTORER hooks.
15799
db9e55ff
SL
158002018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15801
15802 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15803
cf138b0c
FW
158042018-04-05 Florian Weimer <fweimer@redhat.com>
15805
15806 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15807 integer overflow, memory leak on error, and indeterminate errno
15808 value. Add a null wide character to terminate the result string.
15809 * manual/charset.texi (Converting a Character): Mention embedded
15810 null bytes in the mbrtowc input string. Explain what happens in
15811 the -2 result case. Do not claim that mbrtowc is simple or
15812 obvious to use. Adjust the description of the code example. Use
15813 @code, not @var, for concrete variables.
15814
0f339252
FW
158152018-04-05 Florian Weimer <fweimer@redhat.com>
15816
15817 * manual/examples/mbstouwcs.c: New file.
15818 * manual/charset.texi (Converting a Character): Include it.
15819
e5f9508a
ST
158202018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15821
c120981d
ST
15822 * include/dirent.h (dirfd): Add hidden proto.
15823 * dirent/dirfd.c (dirfd): Add hidden def.
15824 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15825 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15826
b2fd61ca
TMQMF
158272018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15828
15829 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15830 sin, cos and sincos to 1 ULP.
15831
10a446dd
MR
158322018-04-04 Maciej W. Rozycki <macro@mips.com>
15833
e7feec37
MR
15834 [BZ #19818]
15835 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15836 symbols.
15837 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15838 * elf/tst-absolute-sym.c: New file.
15839 * elf/tst-absolute-sym-lib.c: New file.
15840 * elf/tst-absolute-sym-lib.lds: New file.
15841 * elf/Makefile (tests): Add `tst-absolute-sym'.
15842 (modules-names): Add `tst-absolute-sym-lib'.
15843 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15844 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15845 ($(objpfx)tst-absolute-sym): New dependency.
15846
10a446dd
MR
15847 [BZ #19818]
15848 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15849 parameter.
15850 (SYMBOL_ADDRESS): New macro.
15851 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15852 SYMBOL_ADDRESS for symbol address calculation.
15853 * elf/dl-runtime.c (_dl_fixup): Likewise.
15854 (_dl_profile_fixup): Likewise.
15855 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15856 * elf/rtld.c (dl_main): Likewise.
15857 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15858 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15859 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15860 (elf_machine_rela): Likewise.
15861 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15862 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15863 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15864 (elf_machine_rela): Likewise.
15865 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15866 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15867 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15868 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15869 Likewise.
15870 (elf_machine_reloc): Likewise.
15871 (elf_machine_got_rel): Likewise.
15872 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15873 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15874 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15875 Likewise.
15876 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15877 Likewise.
15878 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15879 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15880 Likewise.
15881 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15882 Likewise.
15883 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15884 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15885 Likewise.
15886 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15887 Likewise.
15888 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15889 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15890
9185f86d
ZW
158912018-04-04 Zack Weinberg <zackw@panix.com>
15892
15893 * sysdeps/generic/internal-signals.h: Include signal.h,
15894 sigsetops.h, and stdbool.h.
15895 (__libc_signal_block_all): Actually block all signals.
15896 (__libc_signal_block_app): Likewise.
15897 (__libc_signal_restore_set): Actually restore the signal mask.
15898
b07367bc
FW
158992018-04-04 Florian Weimer <fweimer@redhat.com>
15900
15901 inet: Actually build and run tst-deadline.
15902 * inet/Makefile (tests-internal): Add tst-deadline and do not
15903 overwrite the variable.
15904 (tests-static-internal): Remove variable.
15905
f2652643
L
159062018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15907
15908 [BZ #22947]
15909 * bits/uio-ext.h (RWF_APPEND): New.
15910 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15911 * manual/llio.texi: Document RWF_APPEND.
15912 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15913 (RWF_SUPPORTED): Add RWF_APPEND.
15914
6b5c8607 159152018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15916
15917 [BZ #22391]
15918 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15919 check for internal nptl signals.
15920 * nptl/sigaction.c (__sigaction): Likewise.
15921 * signal/sigaddset.c (sigaddset): Likewise.
15922 * signal/sigdelset.c (sigdelset): Likewise.
15923 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15924 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15925 value.
15926 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15927 to filter out internal nptl signals.
15928 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15929 also check realtime signals using standard macros.
15930 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15931 __is_internal_signal, __libc_signal_block_all,
15932 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15933 * sysdeps/nptl/sigfillset.c: Remove file.
15934 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15935 Change return to bool.
15936 (__clear_internal_signals): Remove SIGTIMER clean since it is
15937 equal to SIGCANEL on Linux.
15938 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15939 signal set was constructed using standard functions.
15940
511ed56f
ST
159412018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15942
92846492
ST
15943 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15944 ifname is too long.
e8ef51b1
ST
15945 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15946 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15947 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15948 hidden def.
15949 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15950 * signal/sigaddset.c: Include <sigsetopts.h>.
15951 * signal/sigdelset.c: Likewise.
511ed56f 15952
e88ecbbf
WD
159532018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15954
15955 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15956 (__cos): Likewise.
15957 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15958 logic as sin and cos.
15959
aef3e255
WD
159602018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15961
15962 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15963 inputs. Return correct sign.
15964 (do_sincos): Remove small input check before do_sin, let do_sin set
15965 the sign.
15966 (__sin): Likewise.
15967 (__cos): Likewise.
15968
72f6e9a3
WD
159692018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15970
15971 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15972 (do_cos_slow): Likewise.
15973 (do_sin_slow): Likewise.
15974 (reduce_and_compute): Likewise.
15975 (slow): Likewise.
15976 (slow1): Likewise.
15977 (slow2): Likewise.
15978 (sloww): Likewise.
15979 (sloww1): Likewise.
15980 (sloww2): Likewise.
15981 (bslow): Likewise.
15982 (bslow1): Likewise.
15983 (bslow2): Likewise.
15984 (cslow2): Likewise.
15985
64909583
WD
159862018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15987
15988 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15989 (do_cos): Remove corp parameter and calculations.
15990 (do_sin): Likewise.
15991 (do_sincos): Remove cor variable.
15992 (__sin): Use do_sincos for huge inputs.
15993 (__cos): Likewise.
15994 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15995 (reduce_and_compute_sincos): Remove unused function.
15996
d9469deb
WD
159972018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15998
15999 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16000 reduce_sincos, improve accuracy to 136 bits.
16001 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16002 (__sin): Use improved reduction and simplified do_sincos calculation.
16003 (__cos): Likewise.
16004 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16005
7a5640f2
WD
160062018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16007
16008 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16009 (do_sincos_2): Likewise.
16010 (__sin): Remove middle range reduction case.
16011 (__cos): Likewise.
16012 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16013 reduction case.
16014
19a8b9a3
WD
160152018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16016
16017 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16018 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16019 inputs.
16020 (__cos): Likewise.
16021 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16022
f72aa11d
JM
160232018-04-03 Joseph Myers <joseph@codesourcery.com>
16024
16025 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 16026 version to 4.16
f72aa11d 16027
8e4754ed
AZ
160282018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16029
16030 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16031 Remove definitions.
16032 (opendir_oflags): Use O_DIRECTORY regardless.
16033 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16034 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16035
8e2666ea
ST
160362018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16037
16038 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16039 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16040 macros.
16041 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16042 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16043 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16044 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
16045 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16046 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 16047
ad2b41bf
ST
16048 * htl/Makefile: Bump licence to LGPL 2.1+.
16049 * htl/alloca_cutoff.c: Likewise.
16050 * htl/cthreads-compat.c: Likewise.
16051 * htl/lockfile.c: Likewise.
16052 * htl/pt-alloc.c: Likewise.
16053 * htl/pt-cancel.c: Likewise.
16054 * htl/pt-cleanup.c: Likewise.
16055 * htl/pt-create.c: Likewise.
16056 * htl/pt-dealloc.c: Likewise.
16057 * htl/pt-detach.c: Likewise.
16058 * htl/pt-exit.c: Likewise.
16059 * htl/pt-getattr.c: Likewise.
16060 * htl/pt-initialize.c: Likewise.
16061 * htl/pt-internal.h: Likewise.
16062 * htl/pt-join.c: Likewise.
16063 * htl/pt-self.c: Likewise.
16064 * htl/pt-setcancelstate.c: Likewise.
16065 * htl/pt-setcanceltype.c: Likewise.
16066 * htl/pt-sigmask.c: Likewise.
16067 * htl/pt-spin-inlines.c: Likewise.
16068 * htl/pt-testcancel.c: Likewise.
16069 * htl/pt-yield.c: Likewise.
16070 * htl/tests/test-1.c: Likewise.
16071 * htl/tests/test-10.c: Likewise.
16072 * htl/tests/test-11.c: Likewise.
16073 * htl/tests/test-12.c: Likewise.
16074 * htl/tests/test-13.c: Likewise.
16075 * htl/tests/test-14.c: Likewise.
16076 * htl/tests/test-15.c: Likewise.
16077 * htl/tests/test-16.c: Likewise.
16078 * htl/tests/test-17.c: Likewise.
16079 * htl/tests/test-2.c: Likewise.
16080 * htl/tests/test-3.c: Likewise.
16081 * htl/tests/test-4.c: Likewise.
16082 * htl/tests/test-5.c: Likewise.
16083 * htl/tests/test-6.c: Likewise.
16084 * htl/tests/test-7.c: Likewise.
16085 * htl/tests/test-8.c: Likewise.
16086 * htl/tests/test-9.c: Likewise.
16087 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16088 * sysdeps/htl/bits/cancelation.h: Likewise.
16089 * sysdeps/htl/bits/pthread-np.h: Likewise.
16090 * sysdeps/htl/bits/pthread.h: Likewise.
16091 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16092 * sysdeps/htl/bits/semaphore.h: Likewise.
16093 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16094 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16095 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16096 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16097 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16098 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16099 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16100 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16101 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16102 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16103 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16104 * sysdeps/htl/old_pt-atfork.c: Likewise.
16105 * sysdeps/htl/pt-atfork.c: Likewise.
16106 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16107 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16108 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16109 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16110 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16111 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16112 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16113 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16114 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16115 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16116 * sysdeps/htl/pt-attr-init.c: Likewise.
16117 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16118 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16119 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16120 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16121 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16122 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16123 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16124 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16125 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16126 * sysdeps/htl/pt-attr.c: Likewise.
16127 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16128 * sysdeps/htl/pt-barrier-init.c: Likewise.
16129 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16130 * sysdeps/htl/pt-barrier.c: Likewise.
16131 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16132 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16133 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16134 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16135 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16136 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16137 * sysdeps/htl/pt-cond-init.c: Likewise.
16138 * sysdeps/htl/pt-cond-signal.c: Likewise.
16139 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16140 * sysdeps/htl/pt-cond-wait.c: Likewise.
16141 * sysdeps/htl/pt-cond.c: Likewise.
16142 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16143 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16144 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16145 * sysdeps/htl/pt-condattr-init.c: Likewise.
16146 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16147 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16148 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16149 * sysdeps/htl/pt-equal.c: Likewise.
16150 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16151 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16152 * sysdeps/htl/pt-getschedparam.c: Likewise.
16153 * sysdeps/htl/pt-getspecific.c: Likewise.
16154 * sysdeps/htl/pt-init-specific.c: Likewise.
16155 * sysdeps/htl/pt-key-create.c: Likewise.
16156 * sysdeps/htl/pt-key-delete.c: Likewise.
16157 * sysdeps/htl/pt-key.h: Likewise.
16158 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16159 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16160 * sysdeps/htl/pt-mutex-init.c: Likewise.
16161 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16162 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16163 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16164 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16165 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16166 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16167 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16168 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16169 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16170 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16171 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16172 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16173 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16174 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16175 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16176 * sysdeps/htl/pt-mutexattr.c: Likewise.
16177 * sysdeps/htl/pt-once.c: Likewise.
16178 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16179 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16180 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16181 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16182 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16183 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16184 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16185 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16186 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16187 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16188 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16189 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16190 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16191 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16192 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16193 * sysdeps/htl/pt-setschedparam.c: Likewise.
16194 * sysdeps/htl/pt-setschedprio.c: Likewise.
16195 * sysdeps/htl/pt-setspecific.c: Likewise.
16196 * sysdeps/htl/pt-spin.c: Likewise.
16197 * sysdeps/htl/pt-startup.c: Likewise.
16198 * sysdeps/htl/pthread.h: Likewise.
16199 * sysdeps/htl/sem-close.c: Likewise.
16200 * sysdeps/htl/sem-destroy.c: Likewise.
16201 * sysdeps/htl/sem-getvalue.c: Likewise.
16202 * sysdeps/htl/sem-init.c: Likewise.
16203 * sysdeps/htl/sem-open.c: Likewise.
16204 * sysdeps/htl/sem-post.c: Likewise.
16205 * sysdeps/htl/sem-timedwait.c: Likewise.
16206 * sysdeps/htl/sem-trywait.c: Likewise.
16207 * sysdeps/htl/sem-unlink.c: Likewise.
16208 * sysdeps/htl/sem-wait.c: Likewise.
16209 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16210 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16211 * sysdeps/mach/htl/pt-block.c: Likewise.
16212 * sysdeps/mach/htl/pt-spin.c: Likewise.
16213 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16214 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16215 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16216 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16217 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16218 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16219 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16220 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16221 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16222 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16223 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16224 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16225 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16226 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16227 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16228 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16229 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16230 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16231 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16232 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16233 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16234 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16235 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16236 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16237 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16238 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16239 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16240 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16241 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16242 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16243 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16244 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16245 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16246 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16247 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16248 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16249 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16250 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16251 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16252 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16253 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16254 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16255 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16256
fb03b04b
ST
16257 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16258 * README: Remove the mention of out-of-tree patches needed for
16259 GNU/Hurd.
16260
fa9e1555
ST
16261 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16262 (UTIME_NOW, UTIME_OMIT): Define macros.
16263
f6fb29d2
ST
16264 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16265 instead of pthread_detach.
16266 (__cthread_fork): Call __pthread_create instead of pthread_create.
16267 (__cthread_keycreate): Call __pthread_key_create instead of
16268 pthread_key_create.
16269 (__cthread_getspecific): Call __pthread_getspecific instead of
16270 pthread_getspecific.
16271 (__cthread_setspecific): Call __pthread_setspecific instead of
16272 pthread_setspecific.
16273 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16274 __pthread_mutex_unlock instead of pthread_mutex_lock and
16275 pthread_mutex_unlock.
16276 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16277 ___pthread_get_cleanup_stack.
16278 (__pthread_get_cleanup_stack): New strong alias.
16279 * htl/pt-create.c: Include <pthreadP.h>.
16280 (entry_point): Call __pthread_exit instead of pthread_exit.
16281 (pthread_create): Rename to __pthread_create.
16282 (pthread_create): New strong alias.
16283 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16284 (pthread_detach): New strong alias.
16285 (__pthread_detach): Call __pthread_cond_broadcast instead of
16286 pthread_cond_broadcast.
fe9748cc
ST
16287 * htl/pt-exit.c: Include <pthreadP.h>.
16288 (__pthread_exit): Call __pthread_setcancelstate and
16289 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16290 __pthread_get_cleanup_stack.
f6fb29d2
ST
16291 * htl/pt-testcancel.c: Include <pthreadP.h>.
16292 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16293 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16294 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16295 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16296 pthread_attr_getstacksize.
16297 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16298 Rename to __pthread_attr_getstackaddr.
16299 (pthread_attr_getstackaddr): New strong alias.
16300 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16301 Rename to __pthread_attr_getstacksize.
16302 (pthread_attr_getstacksize): New strong alias.
16303 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16304 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16305 (pthread_attr_setstack): New strong alias.
16306 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16307 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16308 pthread_attr_getstacksize, pthread_attr_setstacksize and
16309 pthread_attr_setstackaddr.
16310 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16311 Rename to __pthread_attr_setstackaddr.
16312 (pthread_attr_setstackaddr): New strong alias.
16313 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16314 Rename to __pthread_attr_setstacksize.
16315 (pthread_attr_setstacksize): New strong alias.
16316 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16317 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16318 pthread_exit.
16319 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16320 (__pthread_key_create): New hidden def.
16321 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16322 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16323 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16324 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16325 __pthread_setspecific, __pthread_setcancelstate,
16326 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16327 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16328 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16329 declarations.
16330 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16331 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16332 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16333 (pthread_attr_setstackaddr): New strong alias.
16334 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16335 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16336 (pthread_attr_setstacksize): New strong alias.
16337 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16338 (call_exit): Call __pthread_exit instead of pthread_exit.
16339 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16340 (_pthread_mutex_init): New hidden definition.
16341 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16342 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16343 instead of pthread_attr_init and pthread_attr_setstack.
16344
dba2bdbe
ST
16345 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16346 __vm_deallocate instead of vm_allocate and vm_deallocate.
16347 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16348 setenv.
16349 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16350 of geteuid.
16351 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16352 strdup.
16353 * hurd/siginfo.c: Include <libioP.h>.
16354 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16355 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16356 munmap.
dba2bdbe
ST
16357 * mach/devstream.c: Include <libioP.h>.
16358 (dealloc_ref): Call __mach_port_deallocate instead of
16359 mach_port_deallocate.
16360 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16361 Call __mach_port_deallocate instead of mach_port_deallocate.
16362 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16363 pathconf.
16364 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16365 munmap.
16366 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16367 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16368 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16369 of munmap.
16370 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16371 of close.
16372 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16373 instead of sysconf.
16374 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16375 __clock_gettime instead of clock_gettime.
16376 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16377 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16378 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16379 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16380 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16381 tcgetattr.
16382 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16383 __clock_gettime and __nanosleep instead of clock_gettime and
16384 nanosleep.
7a8f45e3
ST
16385 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16386 __hurd_catch_signal.
16387 (hurd_catch_signal): New strong alias.
16388 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16389 __hurd_catch_signal instead of hurd_catch_signal.
16390 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16391 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16392 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16393 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16394 (_hurd_thread_sigstate): Add hidden def.
16395 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16396 mutex_unlock.
16397 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16398 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16399 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16400 __hurd_file_name_path_lookup.
16401 (hurd_file_name_path_lookup): New strong alias.
16402 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16403 hurd_file_name_path_lookup.
16404 * mach/errstring.c (mach_error_type): Add hidden def.
16405 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16406 * mach/mutex-init.c (__mutex_init): Add hidden def.
16407 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16408 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16409 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16410 * sysdeps/mach/hurd/getcwd.c
16411 (_hurd_canonicalize_directory_name_internal): Rename to
16412 __hurd_canonicalize_directory_name_internal.
16413 (_hurd_canonicalize_directory_name_internal): New strong alias.
16414 (__canonicalize_directory_name_internal, __getcwd): Call
16415 __hurd_canonicalize_directory_name_internal instead of
16416 _hurd_canonicalize_directory_name_internal.
16417 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16418 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16419 hidden defs.
16420 * sysdeps/hurd/include/hurd.h: New file.
16421 * sysdeps/hurd/include/hurd/fd.h: New file.
16422 * sysdeps/hurd/include/hurd/signal.h: New file.
16423 * sysdeps/mach/include/lock-intern.h: New file.
16424 * sysdeps/mach/include/mach.h: New file.
16425 * sysdeps/mach/include/mach/mig_support.h: New file.
16426 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16427 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16428 prototype.
16429 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16430 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16431 _HEADER_H_HIDDEN_DEF macro.
16432 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16433 _hurd_fd_error_signal): Add hidden prototype.
16434 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16435 hidden def.
82dbf555
ST
16436 * libio/iolibio.h (_IO_puts): New hidden prototype.
16437 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16438 * sysdeps/mach/hurd/localplt.data: New file.
16439
33574c17 164402018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16441 Amos Jeffries <squid3@treenet.co.nz>
16442 David Michael <fedora.dm0@gmail.com>
16443 Marco Gerards <marco@gnu.org>
16444 Marcus Brinkmann <marcus@gnu.org>
16445 Neal H. Walfield <neal@gnu.org>
16446 Pino Toscano <toscano.pino@tiscali.it>
16447 Richard Braun <rbraun@sceen.net>
16448 Roland McGrath <roland@gnu.org>
16449 Samuel Thibault <samuel.thibault@ens-lyon.org>
16450 Thomas DiModica <ricinwich@yahoo.com>
16451 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16452
16453 * htl: New directory.
16454 * sysdeps/htl: New directory.
16455 * sysdeps/hurd/htl: New directory.
16456 * sysdeps/i386/htl: New directory.
16457 * sysdeps/mach/htl: New directory.
16458 * sysdeps/mach/hurd/htl: New directory.
16459 * sysdeps/mach/hurd/i386/htl: New directory.
16460 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16461 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16462 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16463
03e2aa50
ST
164642018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16465
16466 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16467 signals in thread created for runing timers.
16468
1aa52ced
FW
164692018-04-01 Florian Weimer <fweimer@redhat.com>
16470
16471 * support/support_format_addrinfo.c (support_format_addrinfo):
16472 Include unknown error number in formatted result.
16473
4d76d3e5
FW
164742018-03-29 Florian Weimer <fweimer@redhat.com>
16475
16476 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16477 capture SIGBUS.
16478
d39c0a45
AZ
164792018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16480
16481 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16482 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16483 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16484 (__ASSUME_CLONE_BACKWARDS): Define.
16485
cc8a1620
JH
164862018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16487
57408435 16488 [BZ #23024]
cc8a1620
JH
16489 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16490 early when linux sentinel value is set.
16491
8bfd94d0
ST
164922018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16493
16494 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16495
f178e59f
AS
164962018-03-27 Andreas Schwab <schwab@suse.de>
16497
16498 [BZ #23005]
16499 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16500 allocation of private copy of nsaddr_list fails.
16501
5f45f96a
JM
165022018-03-26 Joseph Myers <joseph@codesourcery.com>
16503
16504 [BZ #16552]
16505 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16506 * sysdeps/unix/sysv/linux/umount.c: ... here.
16507 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16508 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16509 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16510 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16512 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16513 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16514
3dfd23eb
AS
165152018-03-26 Andreas Schwab <schwab@suse.de>
16516
16517 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16518 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16519 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16520 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16521 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16522 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16523 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16524 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16525 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16526 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16527 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16528 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16529 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16530 (R_RISCV_NUM): Define.
16531
fa97d2ab
ST
165322018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16533
16534 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16535 TLS declaration of errno.
37be82a0
ST
16536 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16537 __libc_setup_tls.
16538 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16539 (ARCH_SETUP_TLS): Likewise.
16540 * sysdeps/mach/hurd/libc-start.h: New file copied from
16541 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16542 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16543 instead of __libc_setup_tls.
37be82a0 16544 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16545 __libc_setup_tls before initializing libpthread and running _hurd_init
16546 which starts the signal thread.
16547 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16548 Declare function.
2d813d7b 16549 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16550
b8114edd
L
165512018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16552
16553 [BZ #22998]
16554 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16555 after it is defined.
16556
cd66c0e5
AS
165572018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16558 Max Horn <max@quendi.de>
16559
16560 [BZ #22644]
43d4f3d5 16561 CVE-2017-18269
cd66c0e5
AS
16562 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16563 branch conditions.
16564 * string/test-memmove.c (do_test2): New testcase.
16565
a4406139
JM
165662018-03-22 Joseph Myers <joseph@codesourcery.com>
16567
16568 * sysdeps/generic/frame.h: Remove file.
16569 * sysdeps/arm/frame.h: Likewise.
16570 * sysdeps/hppa/frame.h: Likewise.
16571 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16572 macro.
16573 (GET_FRAME): Likewise.
16574 (GET_STACK): Likewise.
16575 (CALL_SIGHANDLER): Likewise.
16576 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16577 Likewise.
16578 (GET_FRAME): Likewise.
16579 (GET_STACK): Likewise.
16580 (CALL_SIGHANDLER): Likewise.
16581 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16582 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16583 (GET_FRAME): Likewise.
16584 (GET_STACK): Likewise.
16585 (CALL_SIGHANDLER): Likewise.
16586 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16587 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16588 (GET_FRAME): Likewise.
16589 (GET_STACK): Likewise.
16590 (ADVANCE_STACK_FRAME): Likewise.
16591 (CALL_SIGHANDLER): Likewise.
16592 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16593 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16594 (GET_FRAME): Likewise.
16595 (GET_STACK): Likewise.
16596 (CALL_SIGHANDLER): Likewise.
16597 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16598 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16599 (GET_FRAME): Likewise.
16600 (GET_STACK): Likewise.
16601 (CALL_SIGHANDLER): Likewise.
16602 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16603 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16604 (GET_FRAME): Likewise.
16605 (GET_STACK): Likewise.
16606 (CALL_SIGHANDLER): Likewise.
16607 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16608 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16609 (GET_FRAME): Likewise.
16610 (GET_STACK): Likewise.
16611 (CALL_SIGHANDLER): Likewise.
16612 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16613 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16614 (GET_FRAME): Likewise.
16615 (GET_STACK): Likewise.
16616 (CALL_SIGHANDLER): Likewise.
16617 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16618 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16619 (GET_FRAME): Likewise.
16620 (GET_STACK): Likewise.
16621 (CALL_SIGHANDLER): Likewise.
16622 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16623 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16624 (GET_FRAME): Likewise.
16625 (GET_STACK): Likewise.
16626 (CALL_SIGHANDLER): Likewise.
16627 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16628 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16629 (GET_FRAME): Likewise.
16630 (GET_STACK): Likewise.
16631 (CALL_SIGHANDLER): Likewise.
16632 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16633 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16634 (GET_FRAME): Likewise.
16635 (GET_STACK): Likewise.
16636 (CALL_SIGHANDLER): Likewise.
16637 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16638 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16639 (FIRST_FRAME_POINTER): Likewise.
16640 (ADVANCE_STACK_FRAME): Likewise.
16641 (GET_STACK): Likewise.
16642 (GET_FRAME): Likewise.
16643 (CALL_SIGHANDLER): Likewise.
16644 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16645 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16646 (ADVANCE_STACK_FRAME): Likewise.
16647 (GET_STACK): Likewise.
16648 (GET_FRAME): Likewise.
16649 (CALL_SIGHANDLER): Likewise.
16650 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16651 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16652 (GET_FRAME): Likewise.
16653 (GET_STACK): Likewise.
16654 (CALL_SIGHANDLER): Likewise.
16655 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16656 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16657 (GET_FRAME): Likewise.
16658 (GET_STACK): Likewise.
16659 (CALL_SIGHANDLER): Likewise.
16660
ffec7b27
JM
166612018-03-21 Joseph Myers <joseph@codesourcery.com>
16662
16663 * sysdeps/x86_64/backtrace.c: Move to ....
16664 * debug/backtrace.c: ... here.
16665 * sysdeps/aarch64/backtrace.c: Remove file.
16666 * sysdeps/alpha/backtrace.c: Likewise.
16667 * sysdeps/hppa/backtrace.c: Likewise.
16668 * sysdeps/ia64/backtrace.c: Likewise.
16669 * sysdeps/mips/backtrace.c: Likewise.
16670 * sysdeps/nios2/backtrace.c: Likewise.
16671 * sysdeps/riscv/backtrace.c: Likewise.
16672 * sysdeps/sh/backtrace.c: Likewise.
16673 * sysdeps/tile/backtrace.c: Likewise.
16674
8a07b0c4
JM
166752018-03-20 Joseph Myers <joseph@codesourcery.com>
16676
d0c5d731
JM
16677 [BZ #22987]
16678 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16679 function.
16680 (fdimf): Likewise.
16681 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16682
8a07b0c4
JM
16683 [BZ #17343]
16684 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16685 possibly overflowing computations.
16686
ceb54b9b
ST
166872018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16688
16689 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16690 values from Linux-specific section now that it is in the GNU section.
16691 * sysdeps/gnu/errlist.c: Regenerate.
16692
8d3f9e85
JM
166932018-03-20 Joseph Myers <joseph@codesourcery.com>
16694
16695 * math/Makefile (libm-narrow-fns): Add sub.
16696 (libm-test-funcs-narrow): Likewise.
16697 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16698 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16699 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16700 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16701 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16702 (NARROW_SUB_TRIVIAL): Likewise.
16703 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16704 macro.
16705 (__dsubl): Likewise.
16706 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16707 dsub.
16708 (CFLAGS-nldbl-dsub.c): New variable.
16709 (CFLAGS-nldbl-fsub.c): Likewise.
16710 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16711 __nldbl_dsubl.
16712 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16713 prototype.
16714 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16715 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16716 * math/auto-libm-test-in: Add tests of sub.
16717 * math/auto-libm-test-out-narrow-sub: New generated file.
16718 * math/libm-test-narrow-sub.inc: New file.
16719 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16720 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16721 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16722 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16723 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16724 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16725 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16726 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16727 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16728 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16729 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16730 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16731 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16732 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16733 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16734 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16735 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16736 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16738 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16739 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16740 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16741 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16742 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16743 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16744 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16745 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16746 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16747 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16748 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16749 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16750 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16755 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16756 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16757 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16758 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16759 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16760 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16761 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16762 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16763 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16764 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16765
d473f015
JM
167662018-03-19 Joseph Myers <joseph@codesourcery.com>
16767
16768 [BZ #20079]
16769 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16770
fbce6f72
WD
167712018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16772
16773 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16774
72e7ffc3
RB
167752018-03-18 Richard Braun <rbraun@sceen.net>
16776
16777 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16778 thread reference.
16779
542c20a1
AA
167802018-03-18 Agustina Arzille <avarzille@riseup.net>
16781
16782 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16783 (__libc_cleanup_fct): Define function.
16784 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16785 __libc_cleanup_end): Rewrite implementation using
16786 __attribute__ ((__cleanup__)).
16787 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16788 * hurd/Makefile (routines): Add hurdlock.
16789 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16790 interface.
16791 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16792 * hurd/hurdpid.c: Include <lowlevellock.h>
16793 (_S_msg_proc_newids): Use lll_wait to synchronize.
16794 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16795 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16796 * mach/Makefile (lock-headers): Remove machine-lock.h.
16797 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16798 <machine-lock.h>.
16799 (__spin_lock_t): New type.
16800 (__SPIN_LOCK_INITIALIZER): New macro.
16801 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16802 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16803 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16804 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16805 (__mutex_init): Initialize with lll.
16806 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16807 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16808 needing lll.
16809 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16810 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16811 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16812 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16813 (__setpgid): Use lll for synchronization.
16814 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16815 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16816 instead of <cthreads.h>.
16817 (_IO_lock_inexpensive): New macro
16818 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16819 (__libc_lock_self0): New declaration.
16820 (__libc_lock_owner_self): New macro.
16821 (__libc_key_t): Remove type.
16822 (_LIBC_LOCK_INITIALIZER): New macro.
16823 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16824 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16825 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16826 __libc_lock_define_initialized_recursive,
16827 __rtld_lock_define_initialized_recursive,
16828 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16829 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16830 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16831 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16832 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16833 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16834 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16835 New macros.
16836 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16837 * hurd/hurdlock.c: New file.
16838 * hurd/hurdlock.h: New file.
16839 * mach/lowlevellock.h: New file
542c20a1 16840
9a37922e
ST
168412018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16842
16843 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16844 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16845 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16846 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16847 path when flags contains O_NOFOLLOW.
16848 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16849 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16850 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16851 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16852 * sysdeps/mach/hurd/mlockall.c: New file.
16853 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16854
34e6a869
ST
168552018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16856
16857 * hurd/hurdsig.c: Include <pthread.h>.
16858 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16859 get the signal thread stack layout.
dc33bef3
ST
16860 * hurd/Makefile (headers): Remove threadvar.h.
16861 (inline-headers): Remove threadvar.h.
16862 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16863 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16864 __hurd_threadvar_max, __hurd_errno_location.
16865 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16866 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16867 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16868 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16869 unless TLS is not initialized yet, in which case we do not need a
16870 critical section yet anyway.
16871 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16872 <machine-sp.h>.
16873 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16874 declarations.
16875 (__hurd_threadvar_index): Remove enum.
16876 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16877 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16878 inlines.
16879 (__hurd_reply_port0): New variable declaration.
16880 (__hurd_local_reply_port): New macro.
16881 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16882 (interrupted_reply_port_location): Add thread_t parameter. Use it
16883 with THREAD_TCB to access thread-local variables.
16884 (_hurdsig_abort_rpcs): Pass ss->thread to
16885 interrupted_reply_port_location.
16886 (_hurd_internal_post_signal): Likewise.
16887 (_hurdsig_init): Use presence of cthread_fork instead of
16888 __hurd_threadvar_stack_mask to start signal thread by hand.
16889 Remove signal thread threadvar initialization.
16890 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16891 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16892 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16893 of threadvar.
16894 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16895 __libc_lock_self0.
16896 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16897 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16898 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16899 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16900 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16901 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16902 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16903 define variables.
16904 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16905 <hurd/threadvar.h>.
16906 [IS_IN(rtld)] (rtld_errno): New variable.
16907 [IS_IN(rtld)] (__errno_location): New weak function.
16908 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16909 * sysdeps/mach/hurd/errno.c: Remove file.
16910 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16911 (__fork): Remove THREADVAR_SPACE macro and its use.
16912 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16913 variable.
16914 (init): Do not initialize threadvar.
16915 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16916 symbol.
16917 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16918 __hurd_local_reply_port instead of threadvar.
16919 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16920 _hurd_sigstate fields.
16921 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16922 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16923 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16924 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16925 instead of threadvar.
16926 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16927 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16928 (use_threadvar, global_reply_port): Remove variables.
16929 (__hurd_reply_port0): New variable.
16930 (__mig_get_reply_port): Use __hurd_local_reply_port and
16931 __hurd_reply_port0 instead of threadvar.
16932 (__mig_dealloc_reply_port): Likewise.
16933 (__mig_init): Do not initialize threadvar.
16934 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16935 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16936 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16937 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16938 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16939 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16940 __cthread_setspecific.
16941 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16942 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16943 __cthread_t instead of cthread_fork, cthread_detach,
16944 pthread_getattr_np, pthread_attr_getstack.
16945 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16946 __cthread_keycreate.
16947 (cthread_getspecific): Rename to __cthread_getspecific.
16948 (cthread_setspecific): Rename to __cthread_setspecific.
16949 (__libc_getspecific): Use __cthread_getspecific instead of
16950 cthread_getspecific.
16951 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16952 __cthread_keycreate instead of cthread_keycreate.
16953 (__libc_setspecific): Use __cthread_setspecific instead of
16954 cthread_setspecific.
16955 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16956 Likewise.
dd28d4ba
ST
16957 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16958 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16959 testing whether it is defined.
34e6a869 16960
f8baf2a2
ST
169612018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16962
16963 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16964 Define macro.
16965 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16966 * sysdeps/mach/i386/thread_state.h
16967 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16968 i386_THREAD_STATE.
16969 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16970 i386_THREAD_STATE.
16971 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16972
16973 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16974 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16975
16976 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16977 macros.
16978 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16979 descriptor instead of creating a new one.
16980 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16981
16982 * mach/setup-thread.c: Include <ldsodefs.h>.
16983 (__mach_setup_thread): Call _dl_allocate_tls, pass
16984 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16985 MACHINE_THREAD_STATE_FLAVOR, before getting
16986 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16987 MACHINE_THREAD_STATE_FLAVOR with the result.
16988 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16989 MACHINE_THREAD_STATE_FIX_NEW.
16990 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16991 too. Add original thread parameter.
16992
34ba96b8
JM
169932018-03-16 Joseph Myers <joseph@codesourcery.com>
16994
5d75b75f
JM
16995 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16996 Remove inline function.
16997
34ba96b8
JM
16998 * sysdeps/i386/fpu/libm-test-ulps: Update.
16999 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17000
22679b2c
WD
170012018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17002
17003 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17004 commit.
17005
c429a8d8
JM
170062018-03-15 Joseph Myers <joseph@codesourcery.com>
17007
17008 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17009 (__sincos_code): Remove define and undefine.
17010 [__FAST_MATH__] (__sincos): Remove inline function.
17011 [__FAST_MATH__] (__sincosf): Remove inline function.
17012 [__FAST_MATH__] (__sincosl): Remove inline function.
17013 (__atan2l): Remove inline functions.
17014 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17015 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17016 function.
17017 (floor): Remove inline function.
17018 (ceil): Likewise.
17019 [__FAST_MATH__] (__ldexp_code): Remove macro.
17020 [__FAST_MATH__] (ldexp): Remove inline function.
17021 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17022 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17023 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17024 [__USE_ISOC99] (__lrint_code): Remove macro.
17025 [__USE_ISOC99] (__llrint_code): Likewise.
17026 [__USE_ISOC99] (lrintf): Remove inline function.
17027 [__USE_ISOC99] (lrint): Likewise.
17028 [__USE_ISOC99] (lrintl): Likewise.
17029 [__USE_ISOC99] (llrint): Likewise.
17030 [__USE_ISOC99] (llrintf): Likewise.
17031 [__USE_ISOC99] (llrintl): Likewise.
17032
700593fd
WD
170332018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17034
17035 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17036 (__ieee754_sqrtf): Remove.
17037 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17038 (__ieee754_sqrtf): Remove.
17039 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17040 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17041 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17042 (__ieee754_sqrtf): Remove.
17043 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17044 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17045 (sqrtf): Remove.
17046 (sqrtl): Remove.
17047 (__ieee754_sqrt): Remove.
17048 (__ieee754_sqrtf): Remove.
17049 (__ieee754_sqrtl): Remove.
17050 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17051 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17052 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17053 (__ieee754_sqrtf): Remove.
17054 (__ieee754_sqrtl): Remove.
17055
f67a8147
WD
170562018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17057
17058 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17059 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17060 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17061 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17062 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17063 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17064 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17065 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17066 Likewise.
17067 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17068 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17069 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17070 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17071 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17072 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17073 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17074 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17075 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17076 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17077 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17078 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17079 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17080 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17081 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17082 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17083 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17084 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17085 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17086 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17087 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17088 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17089 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17090 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17091 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17092 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17093 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17094 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17095 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17096 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17097 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17098 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17099 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17100 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17101 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17102 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17103 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17104 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17105 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17106 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17107
1294b189
WD
171082018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17109
17110 * include/math.h (sqrt): Declare with asm redirect.
17111 (sqrtf): Likewise.
17112 (sqrtl): Likewise.
17113 (sqrtf128): Likewise.
17114 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17115 nonlib and libnldbl with -fmath-errno.
17116 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17117 * math/w_sqrt_template.c: Likewise.
17118 * math/w_sqrtf_compat.c: Likewise.
17119 * math/w_sqrtl_compat.c: Likewise.
17120 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17121 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17122 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17123 complex.h.
17124
f1c8185d
WD
171252018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17126
17127 * benchtests/Makefile: Define _ISOMAC.
17128 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17129 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17130 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17131 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17132 * benchtests/bench-timing.h: Define attribute_hidden.
17133
b47c3e76
SP
171342018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17135
17136 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17137 mov + lsr.
17138
807fee29
RL
171392018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17140
17141 [BZ #22963]
17142 * localedata/locales/cs_CZ (mon): Rename to...
17143 (alt_mon): This.
17144 (mon): Import from CLDR (genitive case).
17145
e7155a28
RL
171462018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17147
17148 [BZ #22937]
17149 * localedata/locales/el_CY (abmon): Rename to...
17150 (ab_alt_mon): This.
17151 (abmon): Import from CLDR (abbreviated genitive case).
17152 * localedata/locales/el_GR (abmon): Rename to...
17153 (ab_alt_mon): This.
17154 (abmon): Import from CLDR (abbreviated genitive case).
17155
71d7b121
RL
171562018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17157
17158 [BZ #22932]
17159 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17160
a00bffe8
RB
171612018-03-15 Robert Buj <robert.buj@gmail.com>
17162
17163 [BZ #22848]
17164 * localedata/locales/ca_ES (abmon): Rename to...
17165 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17166 (mon): Rename to...
17167 (alt_mon): This.
17168 (abmon): Import from CLDR (genitive case, month names preceded by
17169 "de" or "d’").
17170 (mon): Likewise.
17171 (abday): Synchronize with CLDR.
17172 (d_t_fmt): Likewise.
17173 (d_fmt): Likewise.
17174 (am_pm): Likewise.
17175
17176 (LC_TIME): Improve indentation.
17177 (LC_TELEPHONE): Likewise.
17178 (LC_NAME): Likewise.
17179 (LC_ADDRESS): Likewise.
17180
f9555d73
JM
171812018-03-14 Joseph Myers <joseph@codesourcery.com>
17182
17183 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17184 (lrintf): Remove definitions used only with old GCC.
17185 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17186 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17187 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17188 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17189 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17190 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17191 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17192 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17193 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17194 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17195 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17196 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17197 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17198 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17199 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17200 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17201 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17202 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17203 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17204 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17205 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17206 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17207 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17208 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17209 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17210 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17211 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17212 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17213
d46f84de
SP
172142018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17215
17216 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17217 instruction to unbreak builds with binutils 2.26 and older.
17218
7108f1f9
SP
172192018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17220
17221 * sysdeps/aarch64/strncmp.S (count): New macro.
17222 (strncmp): Store misaligned length in SRC1 in COUNT.
17223 (mutual_align): Adjust.
17224 (misaligned8): Load dword at a time when it is safe.
17225
2cc7bad0
ZW
172262018-03-12 Zack Weinberg <zackw@panix.com>
17227
17228 [BZ #1190]
17229 [BZ #19476]
17230 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17231 if the _IO_EOF_SEEN bit is already set; update commentary.
17232 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17233 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17234
17235 * support/support_openpty.c, support/tty.h: New files.
17236 * support/Makefile (libsupport-routines): Add support_openpty.
17237
17238 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17239 New test cases.
17240 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17241 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17242
778f1974
DL
172432018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17244
17245 * po/pt_BR.po: Update translations.
17246
6b5c8607 172472018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17248
17249 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17250 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17251 get a port to the startup server.
17252
d3da750d
ZW
172532018-03-11 Zack Weinberg <zackw@panix.com>
17254
17255 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17256 before nldbl-compat.h.
17257
054b72cc
ZW
172582018-03-10 Zack Weinberg <zackw@panix.com>
17259
0d13dfa1
ZW
17260 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17261 math.h or math_private.h.
17262
17263 * sysdeps/alpha/fpu/s_isnan.c
17264 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17265 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17266 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17267 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17268 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17269 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17270 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17271 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17272 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17275 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17276 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17277 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17278 Include math_private.h.
17279
17280 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17281 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17282 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17283 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17284 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17285 * sysdeps/powerpc/power7/fpu/s_logb.c:
17286 Include math.h and math_private.h.
17287
054b72cc
ZW
17288 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17289 uses of $at in .set noat / .set at.
17290
6253bacd
L
172912018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17292
17293 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17294 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17295 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17296 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17297 Likewise.
17298
229855e5
FW
172992018-03-09 Florian Weimer <fweimer@redhat.com>
17300
17301 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17302 in comment.
17303
9aa5c222
AJ
173042018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17305
17306 [BZ #22919]
17307 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17308 Add nop before __startcontext, add explaining comments.
17309
3dc21497
AZ
173102018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17311
e921c89e
AZ
17312 [BZ #22926]
17313 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17314 empty for __SPE__.
17315 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17316 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17317 Do not build hardware transactional code for __SPE__.
17318 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17319 (__lll_trylock_elision): Likewise.
17320 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17321 (__lll_unlock_elision): Likewise.
17322
d9f26dab 17323 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17324 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17325 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17326 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17327 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17328 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17329 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17330 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17331 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17332 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17333 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17334 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17335 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17336 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17337 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17338 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17339 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17340 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17341 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17342 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17343 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17344 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17345 (__ASSUME_CLONE_BACKWARDS): Define.
17346 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17347 __clone2 if __NR_clone2 is defined.
17348 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17349 (__ASSUME_CLONE_BACKWARDS): Likewise.
17350 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17351 (__ASSUME_CLONE_BACKWARDS): Likewise.
17352 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17353 (__ASSUME_CLONE2): Likewise.
17354 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17355 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17356 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17357 variants and the define architecture can use.
17358 (__ASSUME_CLONE_DEFAULT): Define as default.
17359 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17360 (__ASSUME_CLONE_BACKWARDS): Likewise.
17361 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17362 (__ASSUME_CLONE_BACKWARDS): Likewise.
17363 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17364 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17365
adc95fb0
SP
173662018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17367
4e54d918
SP
17368 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17369
30a81dae
SP
17370 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17371 time.
17372
adc95fb0
SP
17373 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17374 (do_test_limit): Likewise.
17375
17376 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17377 for every implementation.
17378 (do_test): Likewise.
17379
17380 * benchtests/bench-strncmp.c: Convert output to json.
17381
4e9066bc
ST
173822018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17383
17384 * io/futimens.c: Add missing start-of-file descriptive comment.
17385 * io/utime.c: Likewise.
17386 * misc/futimesat.c: Likewise.
17387 * misc/utimes.c: Likewise.
17388 * sysdeps/mach/hurd/futimesat.c: Likewise.
17389 * sysdeps/mach/hurd/utimes.c: Likewise.
17390 * sysdeps/posix/utime.c: Likewise.
17391 * sysdeps/posix/utimes.c: Likewise.
17392 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17393 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17394 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17395 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17396
ec1300cf
ST
173972018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17398
17399 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17400 hurd_futimes.
17401 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17402 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17403 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17404 (__futimens): Move implementation to...
17405 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17406 utime_tvalue_from_tspec): ... new helper functions.
17407 (hurd_futimens): New function.
17408 * sysdeps/mach/hurd/futimesat.c: New file.
17409 * sysdeps/mach/hurd/utimensat.c: New file.
17410
bbe762d1
FC
174112018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17412
17413 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17414 UTIME_OMIT): New macros.
17415 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17416 before reverting to converting time spec to time value and calling
17417 __file_utimes.
17418 * sysdeps/mach/hurd/utime-helper.c: New file.
17419 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17420 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17421 reverting to utime_tvalue_from_tval and __file_utimes.
17422 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17423 (__lutimes): Just call hurd_futimens after lookup.
17424 * sysdeps/mach/hurd/utimes.c: Likewise.
17425
a1ede3a4
ST
174262018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17427
17428 * bits/sigaction.h: Add include guard.
17429 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17430 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17431 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17432 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17433 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17434 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17435 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17436 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17437 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17438
6900d2ca
JM
174392018-03-05 Joseph Myers <joseph@codesourcery.com>
17440
17441 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17442 -Wmaybe-uninitialized for -Os.
17443 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17444 this disabling.
17445
68448be2
AZ
174462018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17447
5226a81f
AZ
17448 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17449 __INO_T_MATCHES_INO64_T is defined.
17450 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17451 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17452 of definition.
17453 * dirent/alphasort64.c: Likewise.
17454 * dirent/scandir.c: Likewise.
17455 * dirent/scandir64-tail.c: Likewise.
17456 * dirent/scandir64.c: Likewise.
17457 * dirent/scandirat.c: Likewise.
17458 * dirent/scandirat64.c: Likewise.
17459 * dirent/versionsort.c: Likewise.
17460 * dirent/versionsort64.c: Likewise.
17461 * include/dirent.h: Likewise.
17462
fbd01e6c
AZ
17463 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17464 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17465 for socketpair endpoint.
17466 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17467 WRITE_BUFFER_SIZE as buffer size for sending socket.
17468 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17469 issue on system where send is implemented with sendto syscall.
17470 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17471 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17472 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17473 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17474
68448be2
AZ
17475 [BZ #21269]
17476 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17477 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17478 sa_restorer for vDSO case.
17479 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17480
eb1ca47e
ST
174812018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17482
17483 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17484 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17485 * hurd/hurd/ioctl.h: Include <mach/port.h>
17486 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17487 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17488 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17489 (headers): Move mach/param.h to bits/mach/param.h.
17490 * sysdeps/mach/i386/mach/param.h: Move file to ...
17491 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17492 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17493 of <mach/param.h>.
3403cb7d
ST
17494 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17495 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17496 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17497 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17498 trivial, for C++ conformity.
44c6376c 17499 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17500 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17501 Process mig output through $(migheadersed).
17502 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17503 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17504 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17505 headers.
ba89615d
ST
17506 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17507 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17508 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17509 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17510 <bits/types/sigset_t.h>.
17511 [!defined __USE_GNU]: Do not #error out.
17512 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17513 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17514 Include <stddef.h> and <bits/types/sigset_t.h>
17515 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17516 instead of sighandler_t.
974393ea
ST
17517 * stdlib/errno.h (error_t): Move definition to...
17518 * bits/types/error_t.h: ... new header.
17519 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17520 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17521 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17522 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17523 * hurd/hurd.h: Include <bits/types/error_t.h>
17524 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17525 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17526 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17527 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17528 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17529 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17530 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17531
eaf6753f
AS
175322018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17533
17534 [BZ #22918]
17535 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17536 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17537 * nscd/gai.c (__nss_hosts_database): Readd definition.
17538 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17539 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17540 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17541
4dc23804
JM
175422018-03-02 Joseph Myers <joseph@codesourcery.com>
17543
17544 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17545 (ifunc_one): Likewise.
17546
1c81d55f
DD
175472018-03-01 DJ Delorie <dj@delorie.com>
17548
17549 [BZ #22342]
17550 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17551 key value.
17552
b717c14f
MR
175532018-03-01 Maciej W. Rozycki <macro@mips.com>
17554
17555 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17556 `match_pid' parameter.
17557 (td_ta_thr_iter): Update accordingly.
17558
1efe1358
FW
175592018-03-01 Florian Weimer <fweimer@redhat.com>
17560
17561 * nptl/Makefile (install-lib-ldscripts): Remove.
17562 (install): Remove rule.
17563 ($(inst_libdir)/libpthread.so): Likewise.
17564
a527f09c
MF
175652018-03-01 Mike FABIAN <mfabian@redhat.com>
17566
17567 [BZ #22896]
17568 * localedata/locales/an_ES: update month and day names,
17569 improve d_fmt, improve postal_fmt, add country_post,
17570 add country_isbn
17571
35d660b0
MF
175722018-03-01 Mike FABIAN <mfabian@redhat.com>
17573
17574 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17575 Ukrainian instead of Bulgarian.
17576
1a2f44a8
FW
175772018-03-01 Florian Weimer <fweimer@redhat.com>
17578
17579 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17580 reference.
17581
bd60ce86
FW
175822018-03-01 Florian Weimer <fweimer@redhat.com>
17583
17584 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17585 * nptl/Makefile (routines): Add pthread_atfork.
17586 (static-only-routines): Set to pthread_atfork.
17587 (libpthread-routines): Remove pthread_atfork.
17588 (libpthread-static-only-routines): Remove.
17589 (install): Update comment.
17590 (libpthread.so): Do not install libpthread_nonshared.a.
17591 (tests): Do not link with libpthread_nonshared.a.
17592 (generated): Remove libpthread_nonshared.a.
17593 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17594 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17595 with libpthread_nonshared.a.
17596
000f290f
JM
175972018-02-28 Joseph Myers <joseph@codesourcery.com>
17598
e2bcf6a8
JM
17599 [BZ #22902]
17600 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17601 (libc_feholdexcept_setroundf128): New macro.
17602 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17603
000f290f
JM
17604 [BZ #15105]
17605 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17606 libc_hidden_def.
17607 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17608 * include/inttypes.h: New file.
17609
02f2fead
JM
176102018-02-27 Joseph Myers <joseph@codesourcery.com>
17611
17612 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17613 -Os in two more places.
17614
874c56d7
MF
176152018-02-27 Mike FABIAN <mfabian@redhat.com>
17616
17617 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17618 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17619 be sorted correctly at the moment because of a bug.
17620
15973854
MF
176212018-02-27 Mike FABIAN <mfabian@redhat.com>
17622
17623 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17624 treat ñ as a primary different character, sync the collation
17625 for Spanish with CLDR.
17626 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17627 * localedata/Makefile: Add new test files.
17628 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17629 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17630 collation order.
17631 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17632 * localedata/am_ET.UTF-8.in: New test file.
17633 * localedata/az_AZ.UTF-8.in: Likewise.
17634 * localedata/be_BY.UTF-8.in: Likewise.
17635 * localedata/ber_DZ.UTF-8.in: Likewise.
17636 * localedata/ber_MA.UTF-8.in: Likewise.
17637 * localedata/bg_BG.UTF-8.in: Likewise.
17638 * localedata/br_FR.UTF-8.in: Likewise.
17639 * localedata/cmn_TW.UTF-8.in: Likewise.
17640 * localedata/crh_UA.UTF-8.in: Likewise.
17641 * localedata/csb_PL.UTF-8.in: Likewise.
17642 * localedata/cv_RU.UTF-8.in: Likewise.
17643 * localedata/cy_GB.UTF-8.in: Likewise.
17644 * localedata/dz_BT.UTF-8.in: Likewise.
17645 * localedata/eo.UTF-8.in: Likewise.
17646 * localedata/es_ES.UTF-8.in: Likewise.
17647 * localedata/fa_IR.UTF-8.in: Likewise.
17648 * localedata/fi_FI.UTF-8.in: Likewise.
17649 * localedata/fil_PH.UTF-8.in: Likewise.
17650 * localedata/fur_IT.UTF-8.in: Likewise.
17651 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17652 * localedata/ha_NG.UTF-8.in: Likewise.
17653 * localedata/ig_NG.UTF-8.in: Likewise.
17654 * localedata/ik_CA.UTF-8.in: Likewise.
17655 * localedata/kk_KZ.UTF-8.in: Likewise.
17656 * localedata/ku_TR.UTF-8.in: Likewise.
17657 * localedata/ky_KG.UTF-8.in: Likewise.
17658 * localedata/ln_CD.UTF-8.in: Likewise.
17659 * localedata/mi_NZ.UTF-8.in: Likewise.
17660 * localedata/ml_IN.UTF-8.in: Likewise.
17661 * localedata/mn_MN.UTF-8.in: Likewise.
17662 * localedata/mr_IN.UTF-8.in: Likewise.
17663 * localedata/mt_MT.UTF-8.in: Likewise.
17664 * localedata/nb_NO.UTF-8.in: Likewise.
17665 * localedata/om_KE.UTF-8.in: Likewise.
17666 * localedata/os_RU.UTF-8.in: Likewise.
17667 * localedata/ps_AF.UTF-8.in: Likewise.
17668 * localedata/ro_RO.UTF-8.in: Likewise.
17669 * localedata/ru_RU.UTF-8.in: Likewise.
17670 * localedata/sc_IT.UTF-8.in: Likewise.
17671 * localedata/se_NO.UTF-8.in: Likewise.
17672 * localedata/sq_AL.UTF-8.in: Likewise.
17673 * localedata/sv_SE.UTF-8.in: Likewise.
17674 * localedata/szl_PL.UTF-8.in: Likewise.
17675 * localedata/tg_TJ.UTF-8.in: Likewise.
17676 * localedata/tk_TM.UTF-8.in: Likewise.
17677 * localedata/tt_RU.UTF-8.in: Likewise.
17678 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17679 * localedata/ug_CN.UTF-8.in: Likewise.
17680 * localedata/uz_UZ.UTF-8.in: Likewise.
17681 * localedata/vi_VN.UTF-8.in: Likewise.
17682 * localedata/yi_US.UTF-8.in: Likewise.
17683 * localedata/yo_NG.UTF-8.in: Likewise.
17684 * localedata/zh_CN.UTF-8.in: Likewise.
17685 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17686 file and fix bugs in the collation.
17687 * localedata/locales/az_AZ: Likewise.
17688 * localedata/locales/be_BY: Likewise.
17689 * localedata/locales/ber_DZ: Likewise.
17690 * localedata/locales/ber_MA: Likewise.
17691 * localedata/locales/bg_BG: Likewise.
17692 * localedata/locales/br_FR: Likewise.
17693 * localedata/locales/br_FR@euro: Likewise.
17694 * localedata/locales/ca_ES: Likewise.
17695 * localedata/locales/cns11643_stroke: Likewise.
17696 * localedata/locales/crh_UA: Likewise.
17697 * localedata/locales/cs_CZ: Likewise.
17698 * localedata/locales/csb_PL: Likewise.
17699 * localedata/locales/cv_RU: Likewise.
17700 * localedata/locales/cy_GB: Likewise.
17701 * localedata/locales/da_DK: Likewise.
17702 * localedata/locales/dz_BT: Likewise.
17703 * localedata/locales/en_CA: Likewise.
17704 * localedata/locales/eo: Likewise.
17705 * localedata/locales/es_CU: Likewise.
17706 * localedata/locales/es_EC: Likewise.
17707 * localedata/locales/es_ES: Likewise.
17708 * localedata/locales/es_US: Likewise.
17709 * localedata/locales/et_EE: Likewise.
17710 * localedata/locales/fa_IR: Likewise.
17711 * localedata/locales/fi_FI: Likewise.
17712 * localedata/locales/fil_PH: Likewise.
17713 * localedata/locales/fur_IT: Likewise.
17714 * localedata/locales/gez_ER@abegede: Likewise.
17715 * localedata/locales/ha_NG: Likewise.
17716 * localedata/locales/hr_HR: Likewise.
17717 * localedata/locales/hsb_DE: Likewise.
17718 * localedata/locales/hu_HU: Likewise.
17719 * localedata/locales/ig_NG: Likewise.
17720 * localedata/locales/ik_CA: Likewise.
17721 * localedata/locales/is_IS: Likewise.
17722 * localedata/locales/iso14651_t1_pinyin: Likewise.
17723 * localedata/locales/kk_KZ: Likewise.
17724 * localedata/locales/ku_TR: Likewise.
17725 * localedata/locales/ky_KG: Likewise.
17726 * localedata/locales/ln_CD: Likewise.
17727 * localedata/locales/lt_LT: Likewise.
17728 * localedata/locales/lv_LV: Likewise.
17729 * localedata/locales/mi_NZ: Likewise.
17730 * localedata/locales/ml_IN: Likewise.
17731 * localedata/locales/mn_MN: Likewise.
17732 * localedata/locales/mr_IN: Likewise.
17733 * localedata/locales/mt_MT: Likewise.
17734 * localedata/locales/nb_NO: Likewise.
17735 * localedata/locales/om_KE: Likewise.
17736 * localedata/locales/os_RU: Likewise.
17737 * localedata/locales/pl_PL: Likewise.
17738 * localedata/locales/ps_AF: Likewise.
17739 * localedata/locales/ro_RO: Likewise.
17740 * localedata/locales/ru_RU: Likewise.
17741 * localedata/locales/ru_UA: Likewise.
17742 * localedata/locales/sc_IT: Likewise.
17743 * localedata/locales/se_NO: Likewise.
17744 * localedata/locales/si_LK: Likewise.
17745 * localedata/locales/sq_AL: Likewise.
17746 * localedata/locales/sv_FI: Likewise.
17747 * localedata/locales/sv_FI@euro: Likewise.
17748 * localedata/locales/sv_SE: Likewise.
17749 * localedata/locales/szl_PL: Likewise.
17750 * localedata/locales/tg_TJ: Likewise.
17751 * localedata/locales/ti_ER: Likewise.
17752 * localedata/locales/tk_TM: Likewise.
17753 * localedata/locales/tl_PH: Likewise.
17754 * localedata/locales/tr_TR: Likewise.
17755 * localedata/locales/tt_RU: Likewise.
17756 * localedata/locales/tt_RU@iqtelif: Likewise.
17757 * localedata/locales/ug_CN: Likewise.
17758 * localedata/locales/uk_UA: Likewise.
17759 * localedata/locales/uz_UZ: Likewise.
17760 * localedata/locales/uz_UZ@cyrillic: Likewise.
17761 * localedata/locales/vi_VN: Likewise.
17762 * localedata/locales/yi_US: Likewise.
17763 * localedata/locales/yo_NG: Likewise.
17764
ce6636b0
MF
177652018-02-27 Mike FABIAN <mfabian@redhat.com>
17766
17767 * gen-locales.mk: Make test files which contain @ modifiers in their
17768 name work.
17769 * localedata/gen-locale.sh: Likewise.
17770
ac3a3b4b
MF
177712018-02-27 Mike FABIAN <mfabian@redhat.com>
17772
17773 * posix/tst-fnmatch.input: Fix results for range expressions
17774 for non C locales.
17775 * posix/tst-regexloc.c: Do not use a range expression for
17776 de_DE.ISO-8859-1 locale.
17777
770cbe14
MF
177782018-02-27 Mike FABIAN <mfabian@redhat.com>
17779
17780 * posix/bug-regex5.c: Fix test case because with the new
17781 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17782 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17783 file.
17784
0fc355d9
MF
177852018-02-27 Mike FABIAN <mfabian@redhat.com>
17786
17787 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17788 downloaded from ISO, the collation order of @-. and space has changed.
17789 Therefore, this test file needed to be adapted.
17790 * localedata/fr_CA.UTF-8.in: Likewise.
17791 * localedata/fr_FR.UTF-8.in: Likewise.
17792 * localedata/uk_UA.UTF-8.in: Likewise.
17793
43f3893f
MF
177942018-02-27 Mike FABIAN <mfabian@redhat.com>
17795
17796 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17797 order of ȥ in the new iso14651_t1_common file.
17798 * localedata/pl_PL.UTF-8.in: Likewise.
17799
df74ef78
MF
178002018-02-27 Mike FABIAN <mfabian@redhat.com>
17801
17802 * localedata/locales/iso14651_t1_common: Add sections for various
17803 scripts to the iso14651_t1_common file.
17804
d5adfbad
MF
178052018-02-27 Mike FABIAN <mfabian@redhat.com>
17806
17807 * localedata/locales/iso14651_t1_common: Use the code point of a
17808 character in the fourth collation level instead of IGNORE for all
17809 entries which have IGNORE on all 4 levels.
17810
5f5a9610
MF
178112018-02-27 Mike FABIAN <mfabian@redhat.com>
17812
17813 * localedata/locales/iso14651_t1_common: Add some convenient collation
17814 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17815 rules similar to those in CLDR.
17816
8a97e900
MF
178172018-02-27 Mike FABIAN <mfabian@redhat.com>
17818
17819 * localedata/locales/iso14651_t1_common: The new version of this
17820 file downloaded from ISO contained several syntax errors which
17821 are fixed by this patch.
17822
bbdd2fba
MF
178232018-02-27 Mike FABIAN <mfabian@redhat.com>
17824
17825 * localedata/locales/iso14651_t1_common: replace all <U.....>
17826 with <U000.....> because glibc understands only 4 digit or 8 digit
17827
1569e551
MF
178282018-02-27 Mike FABIAN <mfabian@redhat.com>
17829
17830 * localedata/locales/iso14651_t1_common: Necessary changes
17831 to make the file downloaded from ISO usable by glibc.
17832
9479b6d5
MF
178332018-02-27 Mike FABIAN <mfabian@redhat.com>
17834
17835 [BZ #14095]
17836 * localedata/locales/iso14651_t1_common: Update file to
17837 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17838
03b540b3
ST
178392018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17840
17841 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17842 of <nptl/pthreadP.h>
17843 (thread_attr_compare): Move function to...
eb937a52 17844 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17845 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17846 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17847
20602c72
JM
178482018-02-26 Joseph Myers <joseph@codesourcery.com>
17849
f54d8f73
JM
17850 * string/strcoll_l.c: Include <libc-diag.h>.
17851 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17852 declarations of seq1 and seq2.
17853
20602c72
JM
17854 [BZ #15105]
17855 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17856 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17857
f5f473a9
DL
178582018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17859
17860 [BZ #22433]
17861 [BZ #22807]
17862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17863 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17864 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17865 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17866 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17867 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17868
398c6fdd
TMQMF
178692018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17870
17871 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17872 macros used in __ptrace_request.
17873
f5d1f629
L
178742018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17875
17876 [BZ #22792]
17877 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17878 to $(CC).
17879 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17880 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17881 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17882 <tcb-offsets.h>.
17883
54412d20
JM
178842018-02-23 Joseph Myers <joseph@codesourcery.com>
17885
17886 [BZ #15105]
17887 * ctype/ctype.c (tolower): Use libc_hidden_def.
17888 (toupper): Likewise.
17889 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17890 [!_ISOMAC] (toupper): Likewise.
17891
81be4b5e
MF
178922018-02-23 Mike FABIAN <mfabian@redhat.com>
17893
17894 * localedata/Makefile: Remove --quiet argument when
17895 installing locales
17896
9d5cfd8e
MF
178972018-02-23 Mike FABIAN <mfabian@redhat.com>
17898
17899 [BZ #17438]
17900 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17901 in d_fmt.
17902 * localedata/locales/pt_PT (LC_TIME): likewise
17903
6c7269f3
MF
179042018-02-23 Mike FABIAN <mfabian@redhat.com>
17905
17906 [BZ #22646]
17907 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17908 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17909 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17910
92aabad9
AZ
179112018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17912
4cdc25a4
AZ
17913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17914
27761a10
AZ
17915 * nptl/Makefile (routines): Remove unregister-atfork.
17916 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17917 (fork_handler_alloc): Remove function.
17918 (fork_handlers, fork_handler_init): New variables.
17919 (__fork_lock): Rename to atfork_lock.
17920 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17921 to use a dynamic array to add/remove atfork handlers.
17922 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17923 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17924 Remove declaration.
17925 (fork_handler): Remove next, refcntr, and need_signal member.
17926 (__run_fork_handler_type): New enum.
17927 (__run_fork_handlers): New prototype.
17928 * nptl/register-atfork.c: Remove file.
17929 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17930
92aabad9
AZ
17931 * sysdeps/nptl/nptl-signals.h: Move to ...
17932 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17933 comments.
17934 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17935 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17936 unnecessary check for SIGTIMER.
17937 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17938 remove unnecessary removal of SIGTIMER.
17939 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17940 include-signals.h rename.
17941 * nptl/pthreadP.h: Likewise.
17942 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17943 __is_internal_signal instead of __nptl_is_internal_signal.
17944
6b5c8607 179452018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17946
7e04eb29 17947 [BZ # 22884]
fdcc6253
AW
17948 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17949 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17950 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17951 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17952
8090720a
DD
179532018-02-22 DJ Delorie <dj@delorie.com>
17954
17955 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17956
6ca24c43
SP
179572018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17958
17959 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17960 do_misaligned, not misaligned8.
17961
e9537ddd
SE
179622018-02-22 Steve Ellcey <sellcey@cavium.com>
17963
17964 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17965 Add memcpy_thunderx2.
17966 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17967 Increment to 4.
17968 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17969 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17970 and IS_THUNDERX2PA checks.
17971 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17972 Use macro to set name appropriately.
17973 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17974 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17975 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17976 New macro.
17977 (IS_THUNDERX2): New macro.
17978
6e336476
SL
179792018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17980
17981 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17982
34957904
ZW
179832018-02-21 Zack Weinberg <zackw@panix.com>
17984
30bfee26
ZW
17985 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17986 Define here, unconditionally.
17987 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17988 * libio/libioP.h: Remove #if 0 blocks.
17989 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17990 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17991 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17992
17993 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17994 Assume weak_alias is always defined.
17995
17996 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17997 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17998 Remove #if 0 and #ifdef TODO blocks.
17999 Assume text_set_element is always defined.
18000
18001 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18002 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18003 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18004
df6c012b
ZW
18005 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18006 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18007 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18008 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18009 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18010 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18011 Reformat bit flags for _flags field to make occupancy clearer.
18012 Update commentary.
18013 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18014 Keep definitions consistent with those in libio/libio.h.
18015
18016 * libio/libio.h (_IO_file_flags): Remove macro.
18017 All uses changed to _flags.
18018
177aad3f
ZW
18019 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18020 (__HAVE_COLUMN, _IO_BE): Don't define.
18021 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18022 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18023 * libio/libioP.h (EOF): Don't define.
18024 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18025 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18026 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18027 testing _IO_UNIFIED_JUMPTABLES.
18028
9964a145
ZW
18029 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18030 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18031 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18032 (_IO_size_t): Delete; all uses changed to size_t.
18033 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18034 (_IO_off_t): Delete; all uses changed to off_t.
18035 (_IO_off64_t): Delete; all uses changed to off64_t.
18036 (_IO_pid_t): Delete; all uses changed to pid_t.
18037 (_IO_uid_t): Delete; all uses changed to uid_t.
18038 (_IO_wint_t): Delete; all uses changed to wint_t.
18039 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18040 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18041 (_IO_cookie_io_functions_t): Delete; all uses changed to
18042 cookie_io_functions_t.
18043 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18044 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18045 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18046 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18047
18048 * libio/iofopncook.c: Remove unnecessary forward declarations.
18049 * libio/iolibio.h: Correct outdated commentary.
18050 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18051 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18052 Remove unnecessary casts.
18053 * stdio-common/getline.c: Use _IO_getdelim directly.
18054 Don't redefine ssize_t.
18055 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18056 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18057 Remove outdated comments.
18058 * stdio-common/vfscanf.c: Don't redefine va_list.
18059
34957904
ZW
18060 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18061 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18062 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18063 which are always true, and __cplusplus, which is always false.
18064
30ac923d
JM
180652018-02-21 Joseph Myers <joseph@codesourcery.com>
18066
039c721a
JM
18067 [BZ #15105]
18068 [BZ #19463]
18069 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18070 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18071 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18072 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18073 libc_hidden_proto.
18074 [!_ISOMAC] (putc_unlocked): Likewise.
18075 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18076 define inline if [__USE_EXTERN_INLINES].
18077 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18078 putc_unlocked.
18079
30ac923d
JM
18080 [BZ #15105]
18081 [BZ #19463]
18082 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18083 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18084 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18085 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18086 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18087 getc_unlocked.
18088 * time/tzfile.c (__tzfile_read): Likewise.
18089
7ec5f946
MF
180902018-02-21 Mike FABIAN <mfabian@redhat.com>
18091
18092 [BZ #22517]
18093 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18094
0d217f40
RJ
180952018-02-21 Rical Jasan <ricaljasan@pacific.net>
18096
18097 * io/fcntl.h: Fix a typo in a comment.
18098
862b4502
RJ
180992018-02-21 Rical Jasan <ricaljasan@pacific.net>
18100
18101 [BZ #22862]
18102 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18103 define _DEFAULT_SOURCE.
18104 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18105
999a6dab
FW
181062018-02-21 Florian Weimer <fweimer@redhat.com>
18107
18108 [BZ #20890]
18109 * elf/cache.c (save_cache): Call fsync on temporary file before
18110 renaming it.
18111 (save_aux_cache): Call fdatasync on temporary file before renaming
18112 it.
18113
52a01100
FW
181142018-02-21 Florian Weimer <fweimer@redhat.com>
18115
18116 [BZ #22787]
18117 * include/caller.h: Remove file.
18118 * elf/dl-caller.c: Likewise.
18119 * elf/Makefile (dl-routines): Remove dl-caller.
18120 (shared-only-routines): Do not add dl-caller.
18121 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18122 __check_caller.
18123 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18124 member.
18125 (dl_open_worker): Do not call __check_caller.
18126 (_dl_open): Do not set caller_dl_open member.
18127 * elf/rtld.c (_rtld_global_ro): Do not initialize
18128 _dl_check_caller member.
18129 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18130 _dl_check_caller member.
18131 (_dl_check_caller): Remove declaration.
18132 * sysdeps/unix/sysv/linux/dl-execstack.c
18133 (_dl_make_stack_executable): Do not call __check_caller.
18134
b5bf62e4
ST
181352018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18136
18137 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18138 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18139
e8d190b9
RJ
181402018-02-20 Rical Jasan <ricaljasan@pacific.net>
18141
18142 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18143 description.
18144
6a3962c4
RJ
181452018-02-20 Rical Jasan <ricaljasan@pacific.net>
18146
da81ae64 18147 [BZ #16335]
6a3962c4
RJ
18148 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18149 of 199606L, 200112L, and 200809L.
18150 (_XOPEN_SOURCE): Document special values of 600 and 700.
18151 (_ISOC11_SOURCE): Document macro.
18152 (_ATFILE_SOURCE): Likewise.
18153 (_FORTIFY_SOURCE): Likewise.
18154
ec481ad8
JM
181552018-02-19 Joseph Myers <joseph@codesourcery.com>
18156
18157 [BZ #15105]
18158 [BZ #19463]
18159 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18160 and define as weak alias of __ferror_unlocked. Use
18161 libc_hidden_weak.
18162 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18163 libc_hidden_proto.
18164 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18165 function if [__USE_EXTERN_INLINES].
18166 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18167 ferror_unlocked.
18168
7d15ef84
RJ
181692018-02-19 Rical Jasan <ricaljasan@pacific.net>
18170
18171 [BZ #6889]
18172 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18173
f8d79582
AJ
181742018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18175
18176 [BZ #22818]
18177 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18178 the GLIBC_2.1 version.
18179
56456a2a
AJ
181802018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18181
18182 [BZ #21508]
18183 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18184 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18185 intl/tst-gettext-de.po from po/de.po by removing the
18186 POT-Creation-Date line.
18187 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18188 ../po/de.po.
18189 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18190 ../po/de.po.
18191
13768813
ST
181922018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18193
18194 * mach/Makefile (headers): Add mach/param.h.
18195 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18196 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18197 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18198 (__ptsname_r): Move implementation to...
18199 (__ptsname_internal): ... new function. Add filling the STP
18200 structure.
13768813 18201
6aca1b61
JDA
182022018-02-17 John David Anglin <danglin@gcc.gnu.org>
18203
18204 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18205 idouble to 1 ULP.
18206
16efad51
RJ
182072018-02-16 Rical Jasan <ricaljasan@pacific.net>
18208
18209 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18210 syntax.
18211
87245073
SL
182122018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18213
18214 * nptl/Makefile (tst-mutex8-ENV): Delete.
18215 * nptl/tst-mutex8.c (check_type):
18216 Add runtime check if mutex will be elided.
18217
7fc03cf3
JM
182182018-02-15 Joseph Myers <joseph@codesourcery.com>
18219
db9881ec
JM
18220 [BZ #20980]
18221 [BZ #21234]
18222 * manual/install.texi (Configuring and compiling): Describe
18223 passing CC and CFLAGS on configure command line, not as
18224 environment variables. Use @code markup on those variables.
18225 Specify what options go in CC and what go in CFLAGS. Note the
18226 requirement to compile with optimization.
18227 * INSTALL: Regenerated.
18228
3785b31c
JM
18229 [BZ #18124]
18230 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18231 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18232 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18233 __sigprocmask instead of sigprocmask.
18234 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18235 Likewise.
18236 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18237 __sigsetjmp and sigprocmask.
18238
055ac2a7
JM
18239 [BZ #15105]
18240 * include/argz.h (argz_next): Use libc_hidden_proto.
18241 (__argz_next): Likewise.
18242 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18243 (argz_next): Use libc_hidden_weak.
18244
e4452a2d
JM
18245 [BZ #15105]
18246 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18247 libc_hidden_proto.
18248 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18249 libc_hidden_def.
18250
499b3153
JM
18251 [BZ #15105]
18252 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18253 libc_hidden_proto.
18254 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18255
7fc03cf3
JM
18256 [BZ #15105]
18257 [BZ #19463]
18258 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18259 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18260 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18261 (__feof_unlocked): New declaration, and inline function if
18262 [__USE_EXTERN_INLINES].
18263 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18264 instead of feof_unlocked.
18265 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18266 * nss/nsswitch.c (nss_parse_file): Likewise.
18267 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18268 Likewise.
18269 * time/getdate.c (__getdate_r): Likewise.
18270 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18271 Define as macro to call __feof_unlocked.
18272
0c8a67a5
WD
182732018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18274
18275 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18276
610ee1fc
WD
182772018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18278
18279 * math/Makefile: Remove mpexp.c and mplog.c
18280 * sysdeps/i386/fpu/mpexp.c: Delete file.
18281 * sysdeps/i386/fpu/mplog.c: Likewise.
18282 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18283 * sysdeps/ia64/fpu/mplog.c: Likewise.
18284 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18285 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18286 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18287 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18288 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18289 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18290 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18291 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18292 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18293 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18294 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18295 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18296 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18297 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18298 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18299 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18300
8e7196c8
SL
183012018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18302
18303 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18304
4f55ad0b
AZ
183052018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18306
18307 * sysdeps/sh/libm-test-ulps: Update.
18308
261a851c
TMQMF
183092018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18310
18311 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18312 idouble to 1 ULP.
18313
e16deca6
ZW
183142018-02-12 Zack Weinberg <zackw@panix.com>
18315
18316 [BZ #19239]
18317 * posix/sys/types.h: Don't include sys/sysmacros.h.
18318 * misc/sys/sysmacros.h: Remove the conditional deprecation
18319 warnings for the macros defined by this header.
18320
de800d83
SN
183212018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18322
18323 * manual/probes.texi: Remove slowexp probes.
18324 * math/Makefile: Remove slowexp.
18325 * sysdeps/generic/math_private.h (__slowexp): Remove.
18326 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18327 document error bounds.
18328 * sysdeps/i386/fpu/slowexp.c: Remove.
18329 * sysdeps/ia64/fpu/slowexp.c: Remove.
18330 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18331 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18332 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18333 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18334 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18335 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18336 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18337 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18338 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18339 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18340 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18341
c3d466cb
WD
183422018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18343
18344 [BZ #13932]
18345 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18346 * benchtests/pow-inputs: Update comment for slow path cases.
18347 * manual/probes.texi (slowpow_p10): Delete removed probe.
18348 (slowpow_p10): Likewise.
18349 * math/Makefile: Remove halfulp.c and slowpow.c.
18350 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18351 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18352 (__halfulp): Remove.
18353 (__slowpow): Remove.
18354 * sysdeps/i386/fpu/halfulp.c: Delete file.
18355 * sysdeps/i386/fpu/slowpow.c: Likewise.
18356 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18357 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18358 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18359 improve comments and add error analysis.
18360 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18361 (power1): Remove function:
18362 (log1): Remove error argument, add error analysis.
18363 (my_log2): Remove function.
18364 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18365 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18366 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18367 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18368 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18369 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18370 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18371 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18372 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18373 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18374 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18375 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18376 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18377 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18378
7bb087bd
ST
183792018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18380
18381 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18382 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18383
2fd4bbaa
DL
183842018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18385
18386 [BZ #22433]
18387 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18388 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18389 and PTRACE_SETHBPREGS.
18390
402ecba4
ZW
183912018-02-10 Zack Weinberg <zackw@panix.com>
18392
18393 [BZ #22830]
18394 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18395 correctly.
18396 * malloc/tst-malloc-stats-cancellation.c: New test case.
18397 * malloc/Makefile: Add new test case.
18398
4f5b921e
WD
183992018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18400
18401 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18402
a85b70db
JM
184032018-02-10 Joseph Myers <joseph@codesourcery.com>
18404
d8742dd8
JM
18405 * math/Makefile (libm-narrow-fns): Add add.
18406 (libm-test-funcs-narrow): Likewise.
18407 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18408 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18409 * math/gen-auto-libm-tests.c (test_functions): Add add.
18410 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18411 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18412 (NARROW_ADD_TRIVIAL): Likewise.
18413 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18414 macro.
18415 (__daddl): Likewise.
18416 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18417 dadd.
18418 (CFLAGS-nldbl-dadd.c): New variable.
18419 (CFLAGS-nldbl-fadd.c): Likewise.
18420 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18421 __nldbl_daddl.
18422 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18423 prototype.
18424 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18425 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18426 * math/auto-libm-test-in: Add tests of add.
18427 * math/auto-libm-test-out-narrow-add: New generated file.
18428 * math/libm-test-narrow-add.inc: New file.
18429 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18430 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18431 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18432 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18433 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18434 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18435 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18436 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18437 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18438 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18439 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18440 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18441 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18442 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18443 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18444 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18445 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18446 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18448 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18449 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18450 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18451 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18452 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18453 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18454 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18455 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18456 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18457 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18458 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18459 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18460 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18465 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18466 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18467 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18468 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18469 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18470 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18471 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18472 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18473 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18474 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18475
a85b70db
JM
18476 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18477 (f128-pairs): New variable.
18478 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18479 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18480 to CFLAGS.
18481 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18482 Also make tests add $(f128-loader-link) to gnulib-tests.
18483
6a1ff640
DD
184842018-02-09 DJ Delorie <dj@redhat.com>
18485
18486 [BZ #22827]
18487 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18488 64-bit ELF type for 64-bit ELF objects.
18489
bfd47587
JM
184902018-02-09 Joseph Myers <joseph@codesourcery.com>
18491
31958338
JM
18492 * math/libm-test-driver.c (snan_tests_arg): New variable.
18493 * math/libm-test-support.h (snan_tests_arg): New declaration.
18494 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18495
8e554659
JM
18496 * math/Makefile (test-type-pairs): New variable.
18497 (test-type-pairs-f64xf128-yes): Likewise.
18498 (tests): Add test-narrow-macros.
18499 (libm-test-funcs-narrow): New variable.
18500 (libm-test-c-narrow): Likewise.
18501 (generated): Add $(libm-test-c-narrow).
18502 (libm-tests-base-narrow): New variable.
18503 (libm-tests-narrow): Likewise.
18504 (libm-tests): Add $(libm-tests-narrow).
18505 (libm-tests-for-type): Handle $(libm-tests-narrow).
18506 (libm-test-c-narrow-obj): New variable.
18507 ($(libm-test-c-narrow-obj)): New rule.
18508 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18509 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18510 $(o-iterator) to set dependencies and CFLAGS.
18511 * math/gen-auto-libm-tests.c: Document use for narrowing
18512 functions.
18513 (output_for_one_input_case): Take argument NARROW.
18514 (generate_output): Likewise. Update call to
18515 output_for_one_input_case.
18516 (main): Take --narrow option. Update call to generate_output.
18517 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18518 (apply_lit): Update call to _apply_lit.
18519 (apply_arglit): New function.
18520 (parse_args): Handle "a" arguments.
18521 (parse_auto_input): Handle format names using ":".
18522 * math/README.libm-test: Document "a" parameter type.
18523 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18524 (ARG_TYPE_TRUE_MIN): Likewise.
18525 (ARG_TYPE_MAX): Likwise.
18526 (ARG_MIN_EXP): Likewise.
18527 (ARG_MAX_EXP): Likewise.
18528 (ARG_MANT_DIG): Likewise.
18529 (TEST_COND_arg_ibm128): Likewise.
18530 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18531 (TEST_COND_arg_fmt): New macro.
18532 (init_max_error): Update prototype.
18533 * math/libm-test-support.c (test_ibm128): New variable.
18534 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18535 instead of using [TEST_COND_ibm128] conditional.
18536 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18537 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18538 [TEST_NARROW] (TEST_MSG): New definition.
18539 (arg_plus_zero): New macro.
18540 (arg_minus_zero): Likewise.
18541 (arg_plus_infty): Likewise.
18542 (arg_minus_infty): Likewise.
18543 (arg_qnan_value_pl): Likewise.
18544 (arg_qnan_value): Likewise.
18545 (arg_snan_value_pl): Likewise.
18546 (arg_snan_value): Likewise.
18547 (arg_max_value): Likewise.
18548 (arg_min_value): Likewise.
18549 (arg_min_subnorm_value): Likewise.
18550 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18551 (RUN_TEST_LOOP_aa_f): New macro.
18552 (TEST_SUFF): New macro.
18553 (TEST_SUFF_STR): Likewise.
18554 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18555 (TEST_COND_any_ibm128): New macro.
18556 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18557 this_func. Update call to init_max_error.
18558 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18559 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18560 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18561 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18562 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18563 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18564 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18565 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18566 * math/test-math-vector.h (TEST_NARROW): Likewise.
18567 * math/test-arg-double.h: New file.
18568 * math/test-arg-float128.h: Likewise.
18569 * math/test-arg-float32x.h: Likewise.
18570 * math/test-arg-float64.h: Likewise.
18571 * math/test-arg-float64x.h: Likewise.
18572 * math/test-arg-ldouble.h: Likewise.
18573 * math/test-math-narrow.h: Likewise.
18574 * math/test-narrow-macros.c: Likewise.
18575 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18576 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18577 test-narrow-macros-ldbl-64.
18578 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18579
63716ab2
JM
18580 * math/bits/mathcalls-narrow.h: New file.
18581 * include/bits/mathcalls-narrow.h: Likewise.
18582 * math/math-narrow.h: Likewise.
18583 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18584 (__MATHCALL_NARROW_ARGS_2): Likewise.
18585 (__MATHCALL_NARROW_ARGS_3): Likewise.
18586 (__MATHCALL_NARROW_NORMAL): Likewise.
18587 (__MATHCALL_NARROW_REDIR): Likewise.
18588 (__MATHCALL_NARROW): Likewise.
18589 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18590 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18591 defined.
18592 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18593 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18594 (libm-narrow-fns): New variable.
18595 (libm-narrow-types-basic): Likewise.
18596 (libm-narrow-types-ldouble-yes): Likewise.
18597 (libm-narrow-types-float128-yes): Likewise.
18598 (libm-narrow-types-float128-alias-yes): Likewise.
18599 (libm-narrow-types): Likewise.
18600 (libm-routines): Add narrowing functions.
18601 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18602 (libc_feholdexcept_setroundf128): New macro.
18603 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18604 * sysdeps/ieee754/float128/float128_private.h: Include
18605 <math/math-narrow.h>.
18606 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18607 Undefine and redefine.
18608 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18609 (libm_alias_float_ldouble): Undefine and redefine.
18610 (libm_alias_double_ldouble): Likewise.
18611
bfd47587
JM
18612 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18613
3f8d9d58
WD
186142018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18615
18616 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18617 FPCR/FPSR.
18618
1f6676d7
RJ
186192018-02-09 Rical Jasan <ricaljasan@pacific.net>
18620
18621 * manual/creature.texi: Convert references to gcc.info to gcc.
18622 * manual/stdio.texi: Likewise.
18623 * manual/string.texi: Likewise.
18624
d80441dd
JM
186252018-02-07 Joseph Myers <joseph@codesourcery.com>
18626
15081be9
JM
18627 [BZ #17979]
18628 * posix/bits/types.h (__int_least8_t): New typedef.
18629 (__uint_least8_t): Likewise.
18630 (__int_least16_t): Likewise.
18631 (__uint_least16_t): Likewise.
18632 (__int_least32_t): Likewise.
18633 (__uint_least32_t): Likewise.
18634 (__int_least64_t): Likewise.
18635 (__uint_least64_t): Likewise.
18636 * sysdeps/generic/stdint.h (int_least8_t): Define using
18637 __int_least8_t.
18638 (int_least16_t): Define using __int_least16_t.
18639 (int_least32_t): Define using __int_least32_t.
18640 (int_least64_t): Define using __int_least64_t.
18641 (uint_least8_t): Define using __uint_least8_t.
18642 (uint_least16_t): Define using __uint_least16_t.
18643 (uint_least32_t): Define using __uint_least32_t.
18644 (uint_least64_t): Define using __uint_least64_t.
18645 * wcsmbs/uchar.h: Include <bits/types.h>.
18646 (char16_t): Define using __uint_least16_t conditional only on
18647 [!__USE_ISOCXX11].
18648 (char32_t): Define using __uint_least32_t conditional only on
18649 [!__USE_ISOCXX11].
18650 * wcsmbs/test-char-types.c: New file.
18651 * wcsmbs/Makefile (tests): Add test-char-types.
18652
d80441dd
JM
18653 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18654 version to 4.0.1.
18655
6c6c962a
ZW
186562018-02-07 Zack Weinberg <zackw@panix.com>
18657
63fb8f9a
ZW
18658 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18659 Delete all contents except for definitions of _G_HAVE_MMAP and
18660 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18661 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18662 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18663 change as above.
18664
18665 * libio/libio.h: Don't include bits/_G_config.h here.
18666 Include stddef.h with __need_wchar_t defined. Include
18667 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18668 Define _IO_iconv_t here, directly.
18669 Don't define _IO_HAVE_ST_BLKSIZE.
18670 * libio/libioP.h: Include _G_config.h here. Move include of
18671 shlib-compat.h up with rest of includes. Simplify conditionals
18672 controlling definition of _IO_JUMPS_OFFSET.
18673
18674 * csu/init.c: Remove always-true #if around entire file.
18675 Don't include stdio.h. Set _IO_stdin_used to hardwired
18676 constant 0x20001, and update commentary.
18677 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18678 Replace all uses of _G_va_list with __gnuc_va_list.
18679 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18680 instead of #if _IO_HAVE_ST_BLKSIZE.
18681 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18682 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18683 not #ifdef.
18684
6c6c962a
ZW
18685 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18686 multiple-include guard to match.
18687 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18688 into this file.
18689 Remove preprocessor conditionals that are always true and/or
18690 redundant to other preprocessor conditionals in the same nest.
18691 Include shlib-compat.h unconditionally.
18692 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18693 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18694 defined after including stdio.h.
18695 Use __BEGIN_DECLS/__END_DECLS.
18696
18697 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18698 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18699 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18700
a4fea3f2
ZW
187012018-02-07 Zack Weinberg <zackw@panix.com>
18702
18703 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18704 New single-type headers split from _G_config.h.
18705 * libio/bits/types/cookie_io_functions_t.h
18706 * libio/bits/types/struct_FILE.h
18707 New single-type headers split from libio.h.
18708
18709 * libio/Makefile: Install the above new headers. Don't install
18710 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18711 bits/libio-ldbl.h.
18712 * libio/_G_config.h, libio/libio.h: Delete file.
18713
18714 * libio/bits/libio.h: Remove improper-inclusion guard.
18715 Include stdio.h and don't repeat anything that it does.
18716 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18717 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18718 __io_read_fn as cookie_read_function_t,
18719 __io_write_fn as cookie_write_function_t,
18720 __io_seek_fn as cookie_seek_function_t,
18721 __io_close_fn as cookie_close_function_t,
18722 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18723 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18724 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18725 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18726 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18727 and _IO_ferror_unlocked.
18728 Move prototypes of __uflow and __overflow...
18729
18730 * libio/stdio.h: ...here. Don't include bits/libio.h.
18731 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18732 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18733 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18734 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18735 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18736 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18737 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18738 __ssize_t, not _IO_ssize_t. Unconditionally define
18739 BUFSIZ as 8192 and EOF as (-1).
18740
18741 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18742 macros from bits/types/struct_FILE.h instead of _IO_* macros
18743 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18744 instead of _IO_ssize_t.
18745 * libio/bits/stdio2.h: Similarly.
18746
18747 * libio/iolibio.h: Add multiple-include guard.
18748 Include bits/libio.h after stdio.h.
18749 * libio/libioP.h: Add multiple-include guard.
18750 Include stdio.h and bits/libio.h before iolibio.h.
18751
6c6c962a 18752 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18753 * include/bits/types/cookie_io_functions_t.h
18754 * include/bits/types/struct_FILE.h: New wrappers.
18755
18756 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18757 Get definitions of _G_fpos_t and _G_fpos64_t from
18758 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18759 respectively. Remove improper-inclusion guards.
a4fea3f2 18760
6c6c962a 18761 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18762 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18763 libio.h and _G_config.h.
a4fea3f2 18764
ce999220
JM
187652018-02-07 Joseph Myers <joseph@codesourcery.com>
18766
8b4a1182
JM
18767 [BZ #15105]
18768 [BZ #19463]
18769 * include/sys/sysmacros.h [!_ISOMAC]
18770 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18771 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18772 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18773 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18774 libc_hidden_proto.
18775 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18776 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18777 Likewise.
18778 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18779 Undefine and redefine to add use __gnu_dev_ prefix.
18780 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18781 Likewise.
18782 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18783 and define as hidden inline function.
18784 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18785 Likewise.
18786 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18787 Likewise.
18788 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18789 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18790 (gnu_dev_minor): Likewise.
18791 (gnu_dev_makedev): Likewise.
18792 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18793 makedev.
18794 * posix/wordexp.c (exec_comm_child): Likewise.
18795 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18796 instead of minor and __gnu_dev_major instead of major.
18797 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18798 __gnu_dev_major instead of major.
18799 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18800 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18801 instead of gnu_dev_minor.
18802 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18803 (SLAVE_P): Likewise.
18804 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18805 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18806 instead of major.
18807
ce999220
JM
18808 [BZ #21313]
18809 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18810 in another place.
18811 * locale/weightwc.h (findidx): Likewise.
18812
b7c83ca3
WD
188132018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18814
18815 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18816 (slowlog_inexact): Likewise
18817 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18818 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18819
388ff7bd
IG
188202018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18821
18822 [BZ #22797]
18823 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18824 missing second underscore to parameter name.
18825
663e7d78
JM
188262018-02-06 Joseph Myers <joseph@codesourcery.com>
18827
0d40d0ec
JM
18828 [BZ #14508]
18829 [BZ #15512]
18830 [BZ #17082]
18831 [BZ #20530]
18832 * bits/byteswap.h: Update file comment. Do not include
18833 <bits/byteswap-16.h>.
18834 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18835 constant.
18836 (__bswap_16): Define as inline function.
18837 (__bswap_constant_32): Reformat definition.
18838 (__bswap_32): Always define as inline function, not macro, using
18839 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18840 otherwise __bswap_constant_32.
18841 (__bswap_constant_64): Reformat definition. Do not use
18842 __extension__ here.
18843 (__bswap_64): Always define as inline function, not macro. Use
18844 __extension__ on function definition. Use __builtin_bswap64 if
18845 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18846 * string/test-endian-file-scope.c: New file.
18847 * string/test-endian-sign-conversion.c: Likewise.
18848 * string/Makefile (headers): Remove bits/byteswap-16.h.
18849 (tests): Add test-endian-file-scope and
18850 test-endian-sign-conversion.
18851 (CFLAGS-test-endian-sign-conversion.c): New variable.
18852 * bits/byteswap-16.h: Remove file.
18853 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18854 * sysdeps/ia64/bits/byteswap.h: Likewise.
18855 * sysdeps/m68k/bits/byteswap.h: Likewise.
18856 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18857 * sysdeps/s390/bits/byteswap.h: Likewise.
18858 * sysdeps/tile/bits/byteswap.h: Likewise.
18859 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18860 * sysdeps/x86/bits/byteswap.h: Likewise.
18861
383e87c9
JM
18862 [BZ #17721]
18863 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18864 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18865 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18866 199901L] (__restrict): Define to restrict.
18867
d92c2759
JM
18868 [BZ #19667]
18869 * string/testcopy.c: Include <support/support.h>. Do not include
18870 <malloc.h>. Use <support/test-driver.c>.
18871 (main): Rename to do_test. Make static. Use xmalloc instead of
18872 malloc.
18873
625fb764
JM
18874 [BZ #13575]
18875 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18876 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18877 (SSIZE_MAX): Define to INT_MAX.
18878 * posix/test-ssize-max.c: New file.
18879 * posix/Makefile (tests): Add test-ssize-max.
18880
02325d6c
JM
18881 [BZ #19668]
18882 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18883 <support/support.h>. Do not include <malloc.h>.
18884 (query_auxv): Use xmalloc instead of malloc.
18885
663e7d78
JM
18886 [BZ #14553]
18887 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18888 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18889 instead of loff_t.
18890
6b5c8607 188912018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18892
18893 [BZ #18023]
18894 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18895 Use scratch_buffer instead of extend_alloca.
18896
de6da571
ZW
188972018-02-06 Zack Weinberg <zackw@panix.com>
18898
26c07172
ZW
18899 * libio/stdio.h: Don't define getc or putc as macros.
18900 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18901 not _IO_getc and _IO_putc.
18902
de6da571
ZW
18903 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18904 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18905
92669d6e
JM
189062018-02-06 Joseph Myers <joseph@codesourcery.com>
18907
c2b84df9
JM
18908 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18909 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18910
41376f8c
JM
18911 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18912
d28bf648
JM
18913 [BZ #14890]
18914 * elf/elf.h (NT_PRFPREG): New macro.
18915 (NT_S390_VXRS_LOW): Likewise.
18916 (NT_S390_VXRS_HIGH): Likewise.
18917 (NT_S390_GS_CB): Likewise.
18918 (NT_S390_GS_BC): Likewise.
18919 (NT_S390_RI_CB): Likewise.
18920
e76def72
JM
18921 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18922 (MAP_SYNC): New macro.
18923 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18924 Likewise.
18925 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18926 (MAP_SYNC): Likewise.
18927 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18928 (MAP_SYNC): Likewise.
18929 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18930 (MAP_SYNC): Likewise.
18931 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18932 (MAP_SYNC): Likewise.
18933 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18934 (MAP_SYNC): Likewise.
18935 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18936 (MAP_SYNC): Likewise.
18937 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18938 Likewise.
18939 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18940 Likewise.
18941
92669d6e
JM
18942 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18943 (MAP_SHARED_VALIDATE): New macro.
18944 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18945 (MAP_SHARED_VALIDATE): Likewise.
18946
6a5cac49
L
189472018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18948
18949 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18950 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18951 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18952
b44e0dfb
L
189532018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18954
18955 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18956 (DT_NUM): Updated to 35.
18957
f886c16c
L
189582018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18959
18960 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18961 __builtin_expect with __glibc_likely and __glibc_unlikely.
18962 (elf_machine_rela): Likewise.
18963 (elf_machine_lazy_rel): Likewise.
18964
06fbebff
L
189652018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18966
18967 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18968 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18969 (elf_machine_lazy_rel): Likewise.
18970
371b220f
L
189712018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18972
18973 [BZ #22638]
18974 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18975 SHARED.
65805016 18976 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18977
f649a1b8
AS
189782018-02-05 Andreas Schwab <schwab@suse.de>
18979
18980 [BZ #22761]
18981 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18982 string.
18983
9fdb340e
ST
189842018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18985
18986 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18987 not check against PTHREAD_STACK_MIN.
18988
09e56b9e
SM
189892018-02-02 Sean McKean <smckean83@gmail.com>
18990
18991 [BZ #22735]
18992 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18993
d4b4a00a
FW
189942018-02-02 Florian Weimer <fweimer@redhat.com>
18995
18996 [BZ #22753]
18997 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18998 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18999 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19000 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19001 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19002 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19003 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19004 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19005 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19006 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19007 * misc/tst-preadvwritev2.c (do_test): Call it.
19008 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19009
3dfcbfa1
SP
190102018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19011
84c94d2f
SP
19012 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19013
96e6a716
SP
19014 * benchtests/bench-memcmp.c: Print json instead of plain text.
19015
3dfcbfa1
SP
19016 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19017 every test run.
19018
049375e2
JM
190192018-02-01 Joseph Myers <joseph@codesourcery.com>
19020
39f898c6
JM
19021 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19022 version to 4.15.
19023 (s390_sthyi): New syscall.
19024
6f9a3dd8
JM
19025 * sysdeps/generic/ldbl-classify-compat.h: New file.
19026 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19027 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19028 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19029 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19030 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19031 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19032 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19033 <ldbl-classify-compat.h>.
19034 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19035 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19036 <ldbl-classify-compat.h>.
19037 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19038 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19039 <ldbl-classify-compat.h>.
19040 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19041 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19042 <ldbl-classify-compat.h>.
19043 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19044 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19045 <ldbl-classify-compat.h>.
19046 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19047 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19048 <ldbl-classify-compat.h>.
19049 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19050 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19051 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19052 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19053 * sysdeps/microblaze/math_private.h: Likewise.
19054 * sysdeps/nios2/math_private.h: Likewise.
19055 * sysdeps/sh/math_private.h: Likewise.
19056
eb65a3d5
JM
19057 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19058 * sysdeps/m68k/coldfire/math_private.h: ... here.
19059 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19060 * sysdeps/tile/math_private.h: Likewise.
19061 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19062 Remove macro.
19063 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19064 Likewise.
19065
8a6bb1d0
JM
19066 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19067 Remove macro.
19068 (libc_fetestexcept): Likewise.
19069 (libc_feupdateenv_test): Likewise.
19070 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19071 (libc_fetestexcept): Likewise.
19072 (libc_feupdateenv_test): Likewise.
19073 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19074 (libc_fetestexcept): Likewise.
19075 (libc_feupdateenv_test): Likewise.
19076 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19077 (libc_fetestexcept): Likewise.
19078 (libc_feupdateenv_test): Likewise.
19079
ae1fcb7b
JM
19080 * sysdeps/generic/math_private.h
19081 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19082 New inline function.
19083 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19084 Likewise.
19085
b1c347e2
JM
19086 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19087 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19088 * sysdeps/generic/math_private.h
19089 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19090 inline function.
19091 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19092 Likewise.
19093 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19094 Likewise.
19095 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19096 Likewise.
19097 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19098 Likewise.
19099 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19100 Likewise.
19101 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19102 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19103 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19104 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19105 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19106 (__fegetenv): Likewise.
19107 (fesetenv): Likewise.
19108 (__fesetenv): Likewise.
19109 (feupdateenv): Likewise.
19110 (__feupdateenv): Likewise.
19111 (fegetround): Likewise.
19112 (__fegetround): Likewise.
19113 (fesetround): Likewise.
19114 (__fesetround): Likewise.
19115
d23a4962
JM
19116 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19117 (feraiseexcept): New macro.
19118 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19119 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19120 Remove macro.
19121 (__feraiseexcept): Likewise.
19122 (feclearexcept): Likewise.
19123 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19124 (__feraiseexcept): Likewise.
19125 (feclearexcept): Likewise.
19126 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19127 (__feraiseexcept): Likewise.
19128 (feclearexcept): Likewise.
19129 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19130 (__feraiseexcept): Likewise.
19131 (feclearexcept): Likewise.
19132 (fetestexcept): Likewise.
19133
5f167950
JM
19134 * sysdeps/m68k/coldfire/math-tests.h: New file.
19135
ccc9035a
JM
19136 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19137 * sysdeps/m68k/bits/fenv.h: ... here.
19138 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19139 not define.
19140 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19141 Likewise.
19142 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19143 Likewise.
19144 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19145 Likewise.
19146 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19147 Likewise.
19148 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19149 Define to 0.
19150 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19151 (__FE_UNDEFINED): New enum constant.
19152 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19153 Do not define.
19154 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19155 Likewise.
19156 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19157 Likewise.
19158 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19159 to match generic bits/fenv.h.
19160 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19161 Do not define.
19162
049375e2
JM
19163 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19164 packed on bits.
19165 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19166 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19167 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19168 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19169
f1d73681
CD
191702018-02-01 Carlos O'Donell <carlos@redhat.com>
19171 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19172 Joseph Myers <joseph@codesourcery.com>
19173
19174 [BZ #21314]
19175 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19176 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19177 computation using c.
19178 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19179 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19180 computation using c.
19181
242cbc90
DL
191822018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19183
086ee48e
DL
19184 * version.h (RELEASE): Set to "development".
19185 (VERSION): Set to "2.27.9000".
19186 * NEWS (2.28): New section.
19187
23158b08
DL
19188 * version.h (RELEASE): Set to "stable".
19189 (VERSION): Set to "2.27".
19190 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19191
242cbc90
DL
19192 * NEWS: Add the list of bugs fixed in 2.27.
19193
673e2305
AZ
191942018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19195
19196 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19197 against PTHREAD_STACK_MIN.
19198
ced64e01
DL
191992018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19200
19201 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19202 New entries.
19203 (Rafal Luzynski, Andreas Schwab): Update.
19204
c10c9a5e
RL
192052018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19206
19207 [BZ #10871]
19208 * NEWS: List the languages which actually use the alternative
19209 months feature in this release. Also explain that "alt_mon" and
19210 "ab_alt_mon" are optional.
19211
650ba77a
IM
192122018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19213
19214 [BZ #22765]
19215 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19216
93493119
DL
192172018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19218
19219 * manual/install.texi (Tools for Compilation): Update the newest
19220 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19221 * INSTALL: Regenerated.
19222
363e4519 192232018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19224
19225 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19226 instead of __builtin_expect.
19227
d7536874
FW
192282018-01-30 Florian Weimer <fweimer@redhat.com>
19229
19230 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19231 data.
19232 * nss/tst-nss-getpwent.c (do_test): Likewise.
19233
9a1b267d
RL
192342018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19235
19236 [BZ #10871]
19237 * localedata/locales/hr_HR (mon): Rename to...
19238 (alt_mon): This.
19239 (mon): Import from CLDR (genitive case).
19240 (d_t_fmt): Update the comment.
19241
9a179328
AS
192422018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19243
19244 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19245 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19246 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19247
e01e0ddc
ST
192482018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19249
19250 * mach/Versions: Fix version when __mach_host_self_ was added.
19251 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19252 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19253 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19254 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19255 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19256 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19257 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19258 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19259 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19260 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19261 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19262 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19263 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19264 || to respect codestyle.
2aadb705
ST
19265 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19266 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19267 * malloc/malloc.c: Include <assert.h>.
19268 (assert): Do not define.
19269 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19270 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19271 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19272 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19273 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19274
521877e1
PD
192752018-01-29 Darius Rad <darius@bluespec.com>
19276
19277 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19278
532cf290
PD
192792018-01-29 Palmer Dabbelt <palmer@sifive.com>
19280
19281 * sysdeps/init_array/crti.S (.section .init_array): Add
19282 PREINIT_FUNCTION when defined.
40ca951b 19283 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19284 * config.h.in: Regenerate.
ba9e25a6
PD
19285 * manual/platform.texi: Add RISC-V documenation for
19286 __riscv_flush_icache.
c776fa11
PD
19287 * sysdeps/riscv/__longjmp.S: New file.
19288 * sysdeps/riscv/backtrace.c: Likewise.
19289 * sysdeps/riscv/bits/endian.h: Likewise.
19290 * sysdeps/riscv/bits/setjmp.h: Likewise.
19291 * sysdeps/riscv/bits/wordsize.h: Likewise.
19292 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19293 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19294 * sysdeps/riscv/dl-trampoline.S: Likewise.
19295 * sysdeps/riscv/gccframe.h: Likewise.
19296 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19297 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19298 * sysdeps/riscv/machine-gmon.h: Likewise.
19299 * sysdeps/riscv/memusage.h: Likewise.
19300 * sysdeps/riscv/setjmp.S: Likewise.
19301 * sysdeps/riscv/sys/asm.h: Likewise.
19302 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19303 * sysdeps/riscv/dl-tls.h: New file.
19304 * sysdeps/riscv/libc-tls.c: Likewise.
19305 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19306 * sysdeps/riscv/nptl/tls.h: Likewise.
19307 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19308 * sysdeps/riscv/bits/fenv.h: New file.
19309 * sysdeps/riscv/e_sqrtl.c: Likewise.
19310 * sysdeps/riscv/fpu_control.h: Likewise.
19311 * sysdeps/riscv/math-tests.h: Likewise.
19312 * sysdeps/riscv/nofpu/Implies: Likewise.
19313 * sysdeps/riscv/sfp-machine.h: Likewise.
19314 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19315 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19316 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19317 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19318 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19319 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19320 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19321 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19322 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19323 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19324 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19325 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19326 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19327 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19328 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19329 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19330 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19331 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19332 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19333 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19334 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19335 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19336 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19337 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19338 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19339 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19340 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19341 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19342 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19343 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19344 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19345 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19346 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19347 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19348 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19349 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19350 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19351 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19352 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19353 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19354 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19355 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19356 * sysdeps/riscv/rvf/math_private.h: Likewise.
19357 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19358 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19359 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19360 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19361 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19362 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19363 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19364 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19365 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19366 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19367 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19368 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19369 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19370 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19371 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19372 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19373 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19374 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19375 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19376 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19377 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19378 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19379 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19380 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19381 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19382 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19383 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19384 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19385 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19386 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19387 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19388 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19389 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19390 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19391 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19392 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19393 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19394 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19395 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19396 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19397 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19398 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19399 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19400 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19401 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19402 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19403 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19404 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19405 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19406 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19407 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19408 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19409 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19410 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19411 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19412 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19413 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19414 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19415 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19416 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19417 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19418 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19419 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19420 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19421 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19422 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19423 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19424 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19425 * sysdeps/riscv/Implies: New file.
19426 * sysdeps/riscv/Makefile: Likewise.
19427 * sysdeps/riscv/configure: Likewise.
19428 * sysdeps/riscv/configure.ac: Likewise.
19429 * sysdeps/riscv/nptl/Makefile: Likewise.
19430 * sysdeps/riscv/preconfigure: Likewise.
19431 * sysdeps/riscv/rv64/Implies-after: Likewise.
19432 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19433 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19434 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19435 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19436 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19437 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19438 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19439 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19440 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19441 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19442 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19443 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19444 (Config): Likewise.
532cf290 19445
cdd14619
FW
194462018-01-29 Florian Weimer <fweimer@redhat.com>
19447
19448 [BZ #22701]
19449 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19450 libnsl_hidden_proto.
19451 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19452 libnsl_hidden_proto.
19453 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19454 * nis/Makefile (libnsl-routines): Add nss-default only for
19455 build-obsolete-nsl.
19456 * nis/nis_defaults.c (__nis_default_ttl): Add
19457 libnsl_hidden_nolink_def.
19458 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19459 declaration.
19460 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19461 * nis/ypclnt.c (yp_maplist): Likewise.
19462
b7ccb5de
RN
194632018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19464
19465 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19466 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19467
522623e4
JM
194682018-01-29 Joseph Myers <joseph@codesourcery.com>
19469
e3aa6999
JM
19470 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19471 clean -dxfq for git updates when replacing sources.
19472
088de7d0
JM
19473 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19474 --disable-libcilkrts unconditionally, not just for the final GCC
19475 build for Hurd.
19476
522623e4
JM
19477 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19478 version to 4.15.
19479
8b406f87
RL
194802018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19481
19482 [BZ #10871]
19483 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19484 case).
19485
105e90bd
RL
194862018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19487
19488 [BZ #10871]
19489 * localedata/locales/be_BY (mon): Rename to...
19490 (alt_mon): This, then synchronize with CLDR (nominative case).
19491 (abmon): Rename to...
19492 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19493 (mon): Import from CLDR (genitive case).
19494 (abmon): Likewise.
19495 * localedata/locales/be_BY@latin (mon): Rename to...
19496 (alt_mon): This.
19497 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19498
19499 * localedata/locales/be_BY@latin (lang_name): Reworded to
19500 "biełaruskaja mova".
19501
561cb414
RL
195022018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19503
19504 [BZ #10871]
19505 * localedata/locales/el_CY (mon): Renamed to...
19506 (alt_mon): This.
19507 (mon): Import from CLDR (genitive case).
19508 * localedata/locales/el_GR: Likewise.
19509
f7bdf30d
RL
195102018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19511
19512 [BZ #10871]
19513 * localedata/locales/ru_RU (mon): Rename to...
19514 (alt_mon): This.
19515 (abmon): Rename to...
19516 (ab_alt_mon): This.
19517 (mon): Import from CLDR (genitive case).
19518 (abmon): Copy from the old content except the 5th month which is
19519 now in the genitive case, even when abbreviated.
19520 * localedata/locales/ru_UA: Likewise.
19521 * time/tst-strptime.c (day_tests): Add an actual example of
19522 a difference between %b and %Ob in Russian.
19523
85285a0c
ST
195242018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19525
19526 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19527 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19528 a `c' variable.
3538a4b6 19529 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19530 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19531 <sys/wait.h>, <time.h>, <sys/uio.h>.
19532 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19533 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19534 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19535 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19536 return 0.
05ebfe87
ST
19537 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19538 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19539 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19540 instead of void *.
19541 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19542 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19543 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19544 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19545 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19546 and make them the default for now.
903d3633
ST
19547 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19548 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19549 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19550 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19551 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19552 MACH_IPC_COMPAT.
06fac9f5
ST
19553 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19554 __task_terminate would ever return successfully.
f8177753
ST
19555 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19556 to global scope.
41cdb1eb
ST
19557 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19558 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19559 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19560 critical section to make code simpler and avoid warning.
19561 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19562 critical section to make code simpler and avoid warning.
844bf921
ST
19563 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19564 const char * instead of char *.
f8bee46c
ST
19565 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19566 __hurd_file_name_split, hurd_file_name_split,
19567 __hurd_directory_name_split, hurd_directory_name_split,
19568 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19569 hurd_file_name_path_lookup): Make lookup function parameter take a
19570 const char *name instead of char *name.
19571 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19572 __hurd_directory_name_split): Likewise.
19573 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19574 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19575 * sysdeps/mach/hurd/check_native.c: New file.
19576 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19577 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19578 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19579 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19580 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19581 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19582 (do_test_bz20181): Rename accordingly.
19583 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19584 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19585 <sys/mount.h>.
28f6186f
ST
19586 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19587 version only if __USE_EXTERN_INLINES is defined.
19588 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19589 __hurd_sockfail): Likewise.
19590 (_hurd_fd_get): Always declare functions, and provide inline versions
19591 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19592 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19593 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19594 _hurd_port_set): Always declare functions, and provide inline versions
19595 only if __USE_EXTERN_INLINES and _LIBC are defined and
19596 IS_IN(libc).
19597 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19598 _hurd_critical_section_unlock): Likewise.
19599 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19600 * __hurd_threadvar_location): Likewise.
19601 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19602 _hurd_userlink_clear): Likewise.
19603 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19604 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19605 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19606 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19607 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19608 __spin_lock_locked): Likewise.
19609 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19610 __spin_lock_locked): Likewise.
19611 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19612 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19613 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19614 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19615 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19616 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19617 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19618 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19619 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19620 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19621 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19622 * mach/Makefile (user-interfaces): Add mach/gnumach.
19623 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19624 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19625 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19626 instead of invalid -1.
1f89ac71
ST
19627 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19628 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19629 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19630 <net/ppp_defs.h>.
85285a0c 19631
1fd1e27c 196322018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19633
19634 * hurd/fcntl-internal.h: New file.
19635
3854c5a8
JC
196362018-01-27 James Clarke <jrtc27@jrtc27.com>
19637
7e23a7dd
JC
19638 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19639
3854c5a8
JC
19640 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19641
5503f413
AS
196422018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19643
19644 [BZ #22701]
19645 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19646 Build only shared objects.
19647
caaf7804
CD
196482018-01-26 Carlos O'Donell <carlos@redhat.com>
19649
19650 * README: Update for hppa.
19651
1cbf818d
PM
196522018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19653
caaf7804
CD
19654 * sysdeps/sparc/fpu/libm-test-ulps: Update
19655 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19656
caaf7804 196572018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19658
19659 Revert:
19660
19661 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19662
19663 [BZ #22563]
19664 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19665 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19666 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19667 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19668 to feature_1.
19669
19670 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19671
19672 [BZ #22563]
19673 * bits/types/__cancel_jmp_buf_tag.h: New file.
19674 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19675 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19676 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19677 * nptl/Makefile (headers): Add
19678 bits/types/__cancel_jmp_buf_tag.h.
19679 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19680 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19681 * sysdeps/nptl/pthread.h: Include
19682 <bits/types/__cancel_jmp_buf_tag.h>.
19683 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19684 __cancel_jmp_buf.
19685 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19686
65f6c94e
RL
196872018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19688
19689 [BZ #10871]
19690 * localedata/locales/uk_UA (mon): Renamed to...
19691 (alt_mon): This.
19692 (alt_digits): "0" removed and then renamed to...
19693 (mon): This.
19694 (date_fmt): Definition changed not to use the alternative
19695 digits hack.
19696
fb58aac5
PD
196972018-01-25 Palmer Dabbelt <palmer@sifive.com>
19698
19699 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19700 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19701 * elf/elf.h (EF_RISCV_RVC): New define.
19702 (EF_RISCV_FLOAT_ABI): Likewise.
19703 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19704 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19705 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19706 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19707 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19708 define.
19709 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19710
128c43a2
AS
197112018-01-25 Andreas Schwab <schwab@suse.de>
19712
19713 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19714 single quotes.
19715 * sysdeps/gnu/configure: Regenerate.
19716 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19717 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19719 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19720 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19721 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19722 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19723 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19724
f9015003
ST
197252018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19726
48130690 19727 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19728 URL, and run autoconf, make it the default for now.
f9015003 19729
91b2cffa
JM
197302018-01-24 Joseph Myers <joseph@codesourcery.com>
19731
3005b705
JM
19732 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19733 soft-float ColdFire configuration.
19734
69231fab
JM
19735 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19736 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19737 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19738
d4c7e1d0
JM
19739 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19740 MicroBlaze file.
19741
0cfe5be5
JM
19742 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19743 ....
19744 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19745 ... here.
19746 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19747 New file.
19748
91b2cffa
JM
19749 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19750 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19751 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19752 file.
19753
c739e191
SN
197542018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19755
19756 [BZ #22742]
19757 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19758 Rename to __reserved and add comment.
19759 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19760 Rename to __reserved.
19761
394b5bac
JM
197622018-01-24 Joseph Myers <joseph@codesourcery.com>
19763
19764 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19765 i686-gnu configurations.
19766 (Context.run_builds): Include mig, gnumach and hurd in components
19767 considered.
19768 (Context.checkout): Add mig, gnumach and hurd to components.
19769 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19770 hurd.
19771 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19772 (Config.build): Install gnumach headers, build mig and install
19773 hurd headers for 'gnu' OS.
19774 (Config.install_gnumach_headers): New function.
19775 (Config.install_hurd_headers): Likewise.
19776 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19777 when building for 'gnu' OS.
19778
28c3f14f
TK
197792018-01-23 Tobias Klauser <tklauser@distanz.ch>
19780
19781 * manual/tunables.texi (Hardware Capability Tunables): Fix
19782 spelling.
19783
0f5e2da1
RJ
197842018-01-22 Rical Jasan <ricaljasan@pacific.net>
19785
19786 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19787 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19788 (ALTMON_11, ALTMON_12): Improve documentation.
19789 * manual/time.texi (strftime): Likewise.
19790
7817b14a
RL
197912018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19792
19793 [BZ #10871]
19794 * localedata/locales/pl_PL: Alternative month names added,
19795 primary month names are genitive now.
19796 * time/tst-strptime.c (day_tests): Actually use a genitive case
19797 of a month name in Polish language.
19798
22390764
RL
197992018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19800
19801 [BZ #10871]
19802 * manual/locale.texi: Document ALTMON_1..12 constants for
19803 nl_langinfo. Specify when to use ALTMON instead of MON.
19804 * manual/time.texi (strftime, strptime): Document GNU extension
19805 permitting O modifier with %B and %b. Specify when to use
19806 %OB instead of %B.
19807
761a585c
RL
198082018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19809
19810 [BZ #10871]
19811 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19812 names, define them as the same as abbreviated month names explicitly.
19813 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19814 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19815 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19816 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19817 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19818 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19819 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19820 _NL_WABALTMON_12): New enum constants.
19821 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19822 wab_alt_mon, and ab_alt_mon_defined members.
19823 (time_output): Output ab_alt_mon and wab_alt_mon members.
19824 (time_read): Read them, initialize them as copies of abmon and wabmon
19825 respectively if they are missing, initialize ab_alt_mon_defined.
19826 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19827 * locale/programs/locfile-kw.h: Regenerate.
19828 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19829 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19830 and ru_RU.UTF-8.
19831 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19832 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19833 (__strftime_internal): Handle %Ob and %Oh formats.
19834 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19835 (__strptime_internal): Handle %Ob and %Oh formats.
19836 * time/tst-strptime.c (day_tests): Add more tests to parse different
19837 forms of month names including the new %Ob format specifier.
19838
95cb863a
RL
198392018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19840
19841 [BZ #10871]
19842 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19843 define them as the same as primary full month names explicitly.
19844 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19845 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19846 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19847 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19848 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19849 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19850 _NL_WALTMON_12): New enum constants.
19851 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19852 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19853 macros.
19854 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19855 walt_mon, and alt_mon_defined members.
19856 (time_output): Output alt_mon and walt_mon members.
19857 (time_read): Read them, initialize them as copies of mon and wmon
19858 respectively if they are missing, initialize alt_mon_defined.
19859 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19860 * locale/programs/locfile-kw.h: Regenerate.
19861 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19862 * localedata/tst-langinfo.c (map): Add tests for the new constants
19863 ALTMON_1 .. ALTMON_12.
19864 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19865 and pl_PL.UTF-8.
19866 * time/strftime_l.c (f_altmonth): New macro.
19867 (__strftime_internal): Handle %OB format.
19868 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19869 (__strptime_internal): Handle %OB format.
19870 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19871 of month names including the new %OB format specifier.
19872
4612268a
TMQMF
198732018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19874
19875 [BZ #22685]
19876 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19877 from ABORT_TRANSACTION.
19878 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19879 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19880 ABORT_TRANSACTION_IMPL): Likewise.
19881 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19882 Linux code, but remove the code that aborts transactions.
19883
64f63cb4
ST
198842018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19885
19886 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19887
32ac6e92
RL
198882018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19889
19890 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19891 in date: "2004-14-09" should be "2004-09-14".
19892 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19893 "2003-15-09" should be "2003-09-15".
19894
8e448310
AS
198952018-01-18 Arjun Shankar <arjun@redhat.com>
19896
19897 [BZ #22343]
71aa429b 19898 [BZ #22774]
4590634f 19899 CVE-2018-6485
71aa429b 19900 CVE-2018-6551
8e448310
AS
19901 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19902 after padding.
19903 (_int_memalign): check for integer overflow before calling
19904 _int_malloc.
19905 * malloc/tst-malloc-too-large.c: New test.
19906 * malloc/Makefile: Add tst-malloc-too-large.
19907
e234d7cb
RL
199082018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19909
19910 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19911 in date: "2017-24-07" should be "2017-07-24".
19912 * localedata/locales/mai_IN: Likewise.
19913 * localedata/locales/mai_NP: Likewise.
19914
48b66019
DL
199152018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19916
19917 * po/ru.po: Update translations.
19918
1eeddc58
JM
199192018-01-17 Joseph Myers <joseph@codesourcery.com>
19920
19921 [BZ #22719]
19922 * sysdeps/hppa/backtrace.c: New file.
19923
207a72e2
L
199242018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19925
19926 [BZ #22715]
19927 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19928 align La_x86_64_retval to VEC_SIZE.
19929
4942c4ea
JM
199302018-01-16 Joseph Myers <joseph@codesourcery.com>
19931
19932 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19933 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19934
10d200db
FW
199352018-01-16 Florian Weimer <fweimer@redhat.com>
19936
19937 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19938 Move tst-thread-exit-clobber ...
19939 [$(CXX)] (tests-unsupported): ... to here.
19940
953c49cc
SN
199412018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19942
19943 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19944 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19945 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19946 (_dl_aarch64_cap_flags): Update.
19947 (_DL_HWCAP_COUNT): Update.
19948
afce1991
SN
199492018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19950
19951 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19952 (_DL_HWCAP_LAST): Remove.
19953 (_DL_HWCAP_COUNT): Move to ...
19954 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19955 (_DL_HWCAP_COUNT): ... here.
19956
b725132d
FW
199572018-01-16 Florian Weimer <fweimer@redhat.com>
19958
19959 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19960 mode with GNU extensions.
19961
c9e613a7
AH
199622018-01-15 Alan Hayward <alan.hayward@arm.com>
19963
19964 * elf/elf.h (NT_ARM_SVE): Define.
19965
860b0240
FW
199662018-01-15 Florian Weimer <fweimer@redhat.com>
19967
19968 [BZ #22636]
19969 * nptl/tst-minstack-throw.cc: New file.
19970 * nptl/Makefile (tests): Add tst-minstack-throw.
19971 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19972 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19973
16d0f6ac
JM
199742018-01-15 Joseph Myers <joseph@codesourcery.com>
19975
19976 * scripts/build-many-glibcs.py (Context.checkout): Default
19977 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19978 version to 1.1.0.
19979
505d3910
CD
199802018-01-13 Carlos O'Donell <carlos@redhat.com>
19981
19982 [BZ #22707]
19983 * elf/elf.h (DF_1_STUB): Define.
19984 (DF_1_PIE): Define.
19985
af1e6be4
TMQMF
199862018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19987
19988 [BZ #22697]
19989 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19990 Do not add 0.5 to integer or out-of-range arguments.
19991
98d13ce0
DL
199922018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19993
19994 * po/bg.po: Update translations.
19995 * po/cs.po: Likewise.
19996 * po/de.po: Likewise.
19997 * po/ko.po: Likewise.
19998 * po/pl.po: Likewise.
19999 * po/sv.po: Likewise.
20000 * po/uk.po: Likewise.
20001 * po/vi.po: Likewise.
20002
3d1d7928
SN
200032018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20004
20005 * aarch64/start.S (_start): Use __wrap_main.
20006 (__wrap_main): New local symbol.
20007
52a713fd
DL
200082018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20009
20010 [BZ #22679]
20011 CVE-2018-1000001
20012 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20013 generic_getcwd if the path returned by getcwd syscall is not absolute.
20014 * io/tst-getcwd-abspath.c: New test.
20015 * io/Makefile (tests): Add tst-getcwd-abspath.
20016
249a5895
IK
200172018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20018
20019 * malloc/malloc.c (malloc_consolidate): Add size check.
20020
1a51e46e
FW
200212018-01-12 Florian Weimer <fweimer@redhat.com>
20022
20023 * support/write_message.c (write_message): Preserve errno.
20024 * support/check.c (print_failure): Likewise.
20025 * support/support_test_verify_impl.c (support_test_verify_impl):
20026 Likewise.
20027 * support/support_test_compare_failure.c
20028 (support_test_compare_failure): Likewise.
20029
9a08a366
FW
200302018-01-12 Florian Weimer <fweimer@redhat.com>
20031
20032 [BZ #22701]
20033 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20034 Prevent installation of libnsl.so.
20035 (libnsl-inhibit-o): Do not build (or install) static libraries.
20036
80647883 200372018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
20038
20039 [BZ #22657]
20040 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20041 before the day number which may produce a double space.
20042 (date_fmt): Likewise.
20043
c8924f1f
JM
200442018-01-12 Joseph Myers <joseph@codesourcery.com>
20045
20046 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20047 instead of fegetenv.
20048
da09e6fa
JM
200492018-01-11 Joseph Myers <joseph@codesourcery.com>
20050
20051 [BZ #22702]
20052 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20053 comment to say exceptions are discarded.
20054 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20055 __fegetenv.
20056 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20057 be enabled.
20058
08c6e952
FW
200592018-01-11 Florian Weimer <fweimer@redhat.com>
20060
20061 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20062 and error message.
20063
d8b77890
FW
200642018-01-11 Florian Weimer <fweimer@redhat.com>
20065
20066 [BZ #22636]
20067 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20068 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20069
b303185d
JM
200702018-01-10 Joseph Myers <joseph@codesourcery.com>
20071
20072 [BZ #22693]
20073 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20074 negative arguments in test for NaN or infinity argument.
20075
ee61d028
DL
200762018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20077
20078 * po/libc.pot: Regenerate.
20079
f993b875
FW
200802018-01-10 Florian Weimer <fweimer@redhat.com>
20081
20082 [BZ #22636]
20083 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20084 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20085
09085ede
ST
200862018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20087
20088 * hurd/hurd/fd.h: Include <fcntl.h>
20089 (__hurd_at_flags): New function.
20090 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20091 with call to __hurd_at_flags.
20092 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20093 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20094 __faccessat
20095 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20096 (__access_noerrno): Use __faccessat_common instead of access_common.
20097 (__access): Likewise.
20098 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20099 with a call to __faccessat.
20100 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20101 (__faccessat_common): ... this. Move implementation of __access into it when
20102 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20103 reauthenticate_cwdir_at helper to implement AT mechanism.
20104 (__faccessat_noerrno): New function, just calls __faccessat_common.
20105 (__faccessat): New function, just calls __faccessat_common.
20106 (faccessat): Define weak alias.
20107
12727488
JM
201082018-01-10 Joseph Myers <joseph@codesourcery.com>
20109
87faac55
JM
20110 [BZ #22691]
20111 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20112 (CFLAGS-s_fmaxmagl.c): New variable.
20113 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20114
12727488
JM
20115 [BZ #22690]
20116 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20117 long int for arguments of possibly overflowing addition or
20118 subtraction.
20119 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20120
e134ca17
JM
201212018-01-09 Joseph Myers <joseph@codesourcery.com>
20122
b2584ac2
JM
20123 [BZ #22688]
20124 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20125 (CFLAGS-e_remainderl.c): New variable.
20126
e134ca17
JM
20127 [BZ #22687]
20128 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20129 variable.
20130 (CFLAGS-s_cacoshl.c): Likewise.
20131 (CFLAGS-s_casinhl.c): Likewise.
20132 (CFLAGS-s_catanl.c): Likewise.
20133 (CFLAGS-s_catanhl.c): Likewise.
20134 (CFLAGS-s_cexpl.c): Likewise.
20135 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20136 (CFLAGS-s_csinhl.c): Likewise.
20137 (CFLAGS-s_clogl.c): Likewise.
20138 (CFLAGS-s_clog10l.c): Likewise.
20139 (CFLAGS-s_csinl.c): Likewise.
20140 (CFLAGS-s_csqrtl.c): Likewise.
20141
d31a4a48
ST
201422017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
201432017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20144
20145 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20146 (_hurd_exec_paths): New function.
20147 * hurd/hurd.h (_hurd_exec): Deprecate function.
20148 (_hurd_exec_paths): Declare function.
20149 * hurd/Versions: Export _hurd_exec_paths.
20150 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20151 (__execve): Use __getcwd to build absolute path, and use
20152 _hurd_exec_paths instead of _hurd_exec.
20153 * sysdeps/mach/hurd/spawni.c: Likewise.
20154 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20155 _hurd_exec.
20156
d7ff3f11
DL
201572018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20158
20159 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20160 test instead of failing in case of ENOENT returned by posix_openpt.
20161
401311cf
FW
201622018-01-08 Florian Weimer <fweimer@redhat.com>
20163
20164 resolv: Support binary labels in test framework.
20165 * support/resolv_test.c (struct to_be_freed): Remove.
20166 (struct compressed_name): New.
20167 (allocate_compressed_name, ascii_tolower)
20168 (compare_compressed_name): New functions.
20169 (struct resolv_response_builder): Update type of
20170 compression_offsets for use with tsearch. Rempve to_be_freed.
20171 (response_push_pointer_to_free): Remove function.
20172 (resolv_response_add_name): Rewrite using struct compressed_name
20173 and tsearch instead of hsearch_r.
20174 (response_builder_allocate): Remove initialization of
20175 compression_offsets.
20176 (response_builder_free): Update for removal of to_be_freed. Use
20177 tdestroy instead of hdestroy_r.
20178 * resolv/Makefile (tests): Add tst-resolv-binary.
20179 (tst-resolv-binary): Link with -lresolv -lpthread.
20180
2b3aa446
FW
201812018-01-08 Florian Weimer <fweimer@redhat.com>
20182
20183 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20184 time. Pass positive flag instead of negative flag to
20185 support_test_compare_failure.
20186 (support_test_compare_failure): Change negative parameter to
20187 positive.
20188 * support/support_test_compare_failure.c (report)
20189 (support_test_compare_failure): Likewise.
20190 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20191 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20192
630f4cc3
SN
201932018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20194
20195 [BZ #22637]
20196 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20197 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20198 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20199 stacksize.
20200 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20201
c70e4e9c
L
202022018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20203
20204 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20205 Add s_sincosf-sse2 and s_sincosf-fma.
20206 (CFLAGS-s_sincosf-fma.c): New.
20207 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20208 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20209 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20210 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20211 __sincosf is defined.
20212
579396ee
FW
202132018-01-08 Florian Weimer <fweimer@redhat.com>
20214
20215 * nptl/tst-thread-exit-clobber.cc: New file.
20216 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20217 C++11 mode.
20218 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20219 (tests): Add tst-thread-exit-clobber.
20220 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20221
dabd75b6
FW
202222018-01-08 Florian Weimer <fweimer@redhat.com>
20223
20224 * support/check.h (support_static_assert): Define.
20225 (TEST_COMPARE): Use it.
20226
c2e014cc
AJ
202272018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20228
20229 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20230 [!__RLIM_T_MATCHES_RLIM64_T]
20231 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20232 __getrlimit64. Add libc_hidden_weak.
20233
31a98837
PD
202342018-01-06 Palmer Dabbelt <palmer@sifive.com>
20235
20236 * elf/elf.h (R_RISCV_NONE): New define.
20237 (R_RISCV_32): Likewise.
20238 (R_RISCV_64): Likewise.
20239 (R_RISCV_RELATIVE): Likewise.
20240 (R_RISCV_COPY): Likewise.
20241 (R_RISCV_JUMP_SLOT): Likewise.
20242 (R_RISCV_TLS_DTPMOD32): Likewise.
20243 (R_RISCV_TLS_DTPMOD64): Likewise.
20244 (R_RISCV_TLS_DTPREL32): Likewise.
20245 (R_RISCV_TLS_DTPREL64): Likewise.
20246 (R_RISCV_TLS_TPREL32): Likewise.
20247 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20248 * Makerules (make-link-multidir): Make directories before linking into
20249 them.
150bbac1
PD
20250 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20251 define.
20252 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20253 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20254 in subdirectories of lib.
8e13c51b
PD
20255 * nptl/Makefile (/librt.so): Always depend on
20256 "$(shared-thread-library)".
31a98837 20257
fad7d57e
ST
202582018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20259
20260 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20261 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20262 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20263 (___tls_get_addr).
20264 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20265 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20266 "-O2 -march=i686".
01c7e549 20267 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20268 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20269 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20270 * sysdeps/gnu/glob-lstat-compat.c: New file.
20271 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20272 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20273
3a32b716
TMQMF
202742018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20275
20276 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20277 Reserve 16 chars to reloc_addr before calling _itoa_word.
20278
24731685
AJ
202792018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20280
20281 [BZ #22678]
20282 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20283 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20284
19be56d8
AJ
20285 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20286 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20287
a6d0afb5
AJ
20288 * resource/tst-getrlimit.c: Add copyright header.
20289
8e900969
AJ
202902018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20291 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20292
20293 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20294 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20295 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20296 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20297 instead.
20298 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20299 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20300 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20301 RLIM64_INFINITY): Fix values to match the kernel ones.
20302 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20303 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20304 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20305 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20306 getrlimit64@@GLIBC_2_27.
20307 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20308 and setrlimit64.
20309 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20310 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20311 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20312 setrlimit, getrlimit64 and setrlimit64.
20313
0d0bc784
AJ
203142018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20315
20316 [BZ #22648]
20317 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20318 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20319
ba374b6d
JM
203202018-01-04 Joseph Myers <joseph@codesourcery.com>
20321
20322 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20323 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20324 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20325
4854ddd8
AZ
203262018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20327
b0a4eca2
AZ
20328 [BZ #15479]
20329 [BZ #22666]
20330 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20331 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20332
4854ddd8
AZ
20333 [BZ #15479]
20334 [BZ #22665]
20335 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20336 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20337 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20338 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20339
8a5df95f
FW
203402018-01-04 Florian Weimer <fweimer@redhat.com>
20341
20342 [BZ #22667]
20343 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20344 Align the stack before calling exit.
20345 * stdlib/tst-makecontext-align.c: New file.
20346 * stdlib/Makefile (tests): Add tst-makecontext-align.
20347
82eef55f
FW
203482018-01-04 Florian Weimer <fweimer@redhat.com>
20349
20350 Add support for calling dlvsym from libc.so.
20351 * include/dlfcn.h (__libc_dlvsym): Declare.
20352 * elf/Makefile (tests-static-internal): Add
20353 tst-libc_dlvsym-static.
20354 (tests-internal): Add tst-libc_dlvsym.
20355 (modules-names): Add tst-libc_dlvsym-dso.
20356 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20357 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20358 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20359 object tst-libc_dlvsym-dso.so needs to be built before running
20360 these tests.
20361 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20362 * elf/Versions: Export __libc_dlvsym.
20363 * elf/dl-libc.c (struct do_dlvsym_args): New.
20364 (do_dlvsym, __libc_dlvsym): New functions.
20365 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20366 (_dl_open_hook2): New variable.
20367 (__libc_register_dl_open_hook): Set it.
20368 * elf/tst-libc_dlvsym-dso.c: New file.
20369 * elf/tst-libc_dlvsym-static.c: Likewise.
20370 * elf/tst-libc_dlvsym.c: Likewise.
20371 * elf/tst-libc_dlvsym.h: Likewise.
20372
1714fc06
ST
203732018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20374
20375 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20376 include <sys/mount.h>.
20377
3c7d0312
WD
203782018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20379
20380 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20381 Add __NO_MATH_ERRNO__ check.
20382
7eff0954
JM
203832018-01-02 Joseph Myers <joseph@codesourcery.com>
20384
20385 * sysdeps/mips/mips32/libm-test-ulps: Update.
20386 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20387
77f49956
FW
203882018-01-02 Florian Weimer <fweimer@redhat.com>
20389
20390 * misc/tst-pselect.c: Add copyright header.
20391
363e4519 203922018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20393
20394 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20395 comment.
20396 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20397 comment.
20398 (settrlimit): Rename into setrlimit.
20399 (__sttrlimit): Rename into __setrlimit.
20400
3e4226ff
AJ
20401 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20402 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20403 never defined in that case.
20404
b9256ab6
JM
204052018-01-02 Joseph Myers <joseph@codesourcery.com>
20406
28fd6a44
JM
20407 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20408
a4933a15
JM
20409 * sysdeps/arm/libm-test-ulps: Update.
20410
b9256ab6
JM
20411 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20412 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20413
4cf82d23
RS
204142018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20415
20416 * NEWS: Add cosf and sincosf to list of optimized functions.
20417
6a9dd7a7
AJ
204182018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20419
20420 [BZ #22660]
20421 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20422 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20423 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20424 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20425
dbba87d5
DL
204262018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20427
b05cb613
DL
20428 [BZ #22433]
20429 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20430
dbba87d5
DL
20431 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20432 making a copy of it.
20433
688903eb
JM
204342018-01-01 Joseph Myers <joseph@codesourcery.com>
20435
66ac23de
JM
20436 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20437 trailing whitespace removed.
20438 * scripts/config.guess: Update to version 2018-01-01.
20439 * scripts/config.sub: Update to version 2018-01-01.
20440 * scripts/move-if-change: Update from gnulib.
20441
09533208
JM
20442 * NEWS: Update copyright dates.
20443 * catgets/gencat.c (print_version): Likewise.
20444 * csu/version.c (banner): Likewise.
20445 * debug/catchsegv.sh: Likewise.
20446 * debug/pcprofiledump.c (print_version): Likewise.
20447 * debug/xtrace.sh (do_version): Likewise.
20448 * elf/ldconfig.c (print_version): Likewise.
20449 * elf/ldd.bash.in: Likewise.
20450 * elf/pldd.c (print_version): Likewise.
20451 * elf/sotruss.sh: Likewise.
20452 * elf/sprof.c (print_version): Likewise.
20453 * iconv/iconv_prog.c (print_version): Likewise.
20454 * iconv/iconvconfig.c (print_version): Likewise.
20455 * locale/programs/locale.c (print_version): Likewise.
20456 * locale/programs/localedef.c (print_version): Likewise.
20457 * login/programs/pt_chown.c (print_version): Likewise.
20458 * malloc/memusage.sh (do_version): Likewise.
20459 * malloc/memusagestat.c (print_version): Likewise.
20460 * malloc/mtrace.pl: Likewise.
20461 * manual/libc.texinfo: Likewise.
20462 * nptl/version.c (banner): Likewise.
20463 * nscd/nscd.c (print_version): Likewise.
20464 * nss/getent.c (print_version): Likewise.
20465 * nss/makedb.c (print_version): Likewise.
20466 * posix/getconf.c (main): Likewise.
20467 * scripts/test-installation.pl: Likewise.
20468 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20469
688903eb
JM
20470 * All files with FSF copyright notices: Update copyright dates
20471 using scripts/update-copyrights.
20472 * locale/programs/charmap-kw.h: Regenerated.
20473 * locale/programs/locfile-kw.h: Likewise.
20474
4f820792
ZW
204752017-12-31 Zack Weinberg <zackw@panix.com>
20476
20477 * libio/bits/libio-ldbl.h: Correct check for improper
20478 inclusion. Add own multiple include guard.
20479
3e3c904d
AJ
204802017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20481 Dmitry V. Levin <ldv@altlinux.org>
20482
20483 [BZ #22625]
31f96325 20484 CVE-2017-16997
3e3c904d
AJ
20485 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20486 string token expansion. Check for NULL pointer or empty string possibly
20487 returned by expand_dynamic_string_token.
20488 (decompose_rpath): Check for empty path after dynamic string
20489 token expansion.
20490
7e21972b
DL
204912017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20492
c48831d0
DL
20493 [BZ #22433]
20494 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20495
ac583f50
DL
20496 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20497 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20498 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20499 and PTRACE_SYSCALL.
20500 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20501 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20502 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20503 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20504 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20505 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20506
7e21972b
DL
20507 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20508 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20509 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20510 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20511 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20512 bits/ptrace-shared.h.
20513 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20514 <bits/ptrace-shared.h>.
20515 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20516 __ptrace_peeksiginfo_flags, ptrace): Remove.
20517 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20521 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20522
72f29e3a
AJ
205232017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20524
20525 [BZ #17804]
20526 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20527 end of the loop. Improve comments.
20528
54e4efc2
AJ
205292017-12-29 Zack Weinberg <zackw@panix.com>
20530
20531 [BZ #22615]
20532 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20533 might be set on success.
20534
f8aa69be
AJ
205352017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20536
20537 [BZ #22611]
20538 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20539 is unchanged on success.
20540
97f13188
DL
205412017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20542
2bd86632
DL
20543 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20544 updated.
20545 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20546 expand_dynamic_string_token): Likewise.
20547 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20548 is_path argument.
20549
1c36e1e6
DL
20550 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20551 contains ':'.
20552
97f13188
DL
20553 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20554 is set and name contains ':', and all code depending on these checks.
20555
48a8f832
ZW
205562017-12-24 Zack Weinberg <zackw@panix.com>
20557
20558 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20559 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20560 respectively.
20561 * libio/libio.h: Rename the original version of this file to
20562 libio/bits/libio.h. Error out if not included by stdio.h or the
20563 stub libio.h.
20564 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20565 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20566 if not included by bits/libio.h or the stub _G_config.h.
20567 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20568 sysdeps/unix/sysv/linux/bits. Error out if not included by
20569 bits/libio.h or the stub _G_config.h.
20570 * libio/stdio.h: Include bits/libio.h, not libio.h.
20571 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20572 well as libio.h and _G_config.h.
20573
20574 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20575 * libio/strfile.h, stdio-common/vfscanf.c
20576 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20577 Include stdio.h, not _G_config.h nor libio.h.
20578 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20579 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20580
20581 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20582
a47ad79a
DL
205832017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20584
20585 [BZ #22347]
20586 * stdlib/getrandom.c (getrandom): Fix comment.
20587 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20588
363e4519 205892017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20590
f5c558f3
AJ
20591 [BZ #21161]
20592 * manual/arith.texi (strtoul): Fix a typo.
20593
e65a5644
AJ
20594 [BZ #22596]
20595 * manual/arith.texi (finite): Fix the description of the return
20596 value.
20597
ed8ae46b
EB
205982017-12-22 Eric Blake <ebb9@byu.net>
20599
20600 Avoid gcc warnings on cygwin
20601 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20602 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20603 Avoid unused variable.
20604
bad7a0c8
FW
206052017-12-22 Florian Weimer <fweimer@redhat.com>
20606
20607 * io/Makefile (routines): Add copy_file_range.
20608 (tests): Add tst-copy_file_range.
20609 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20610 * io/Versions (GLIBC_2.27): Export copy_file_range.
20611 * io/copy_file_range-compat.c: New file.
20612 * io/copy_file_range.c: Likewise.
20613 * io/tst-copy_file_range-compat.c: Likewise.
20614 * io/tst-copy_file_range.c: Likewise.
20615 * manual/llio.texi (Copying File Data): New section.
20616 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20617 * support/Makefile (libsupport-routines): Add support-xfstat,
20618 xftruncate, xlseek.
20619 * support/support-xfstat.c: New file.
20620 * support/xftruncate.c: Likewise.
20621 * support/xlseek.c: Likewise.
20622 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20623 * sysdeps/unix/sysv/linux/**.abilist: Update.
20624 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20625
6cb86fd2
SN
206262017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20627
20628 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20629 disable-multi-arch variant to aarch64-linux-gnu.
20630
41d11b15
JM
206312017-12-20 Joseph Myers <joseph@codesourcery.com>
20632
20633 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20634 trailing whitespace removed.
20635 * scripts/config.guess: Update to version 2017-12-17.
20636 * scripts/config.sub: Update to version 2017-11-23.
20637 * scripts/install-sh: Update to version 2017-09-23.17.
20638 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20639
4735850f
AZ
206402017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20641
8d2d239c
AZ
20642 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20643 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20644 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20645 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20646 * sysdeps/tile/crtn.S: Likewise.
20647 * sysdeps/tile/dl-start.S (_start): Likewise.
20648 * sysdeps/tile/dl-trampoline.S: Likewise.
20649 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20650 * sysdeps/tile/start.S (_start): Likewise.
20651 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20652 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20653 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20654 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20655 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20656 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20657 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20658
24d1d8ec
AZ
20659 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20660 comment.
20661 * sysdeps/tile/preconfigure: Remove tilegx folder.
20662 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20663 * sysdeps/tile/Implies: ... here.
20664 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20665 * sysdeps/tile/Makefile: ... here.
20666 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20667 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20668 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20669 * sysdeps/tile/bits/wordsize.h: ... here.
20670 * sysdeps/tile/tilegx/*: Move to ...
20671 * sysdeps/tile/*: ... here.
20672 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20673 * sysdeps/tile/tilegx32/Implies: ... here.
20674 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20675 * sysdeps/tile/tilegx64/Implies: ... here.
20676 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20677 to ...
20678 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20679 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20680 * sysdeps/unix/sysv/linux/tile/*: ... here.
20681 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20682 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20683 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20684 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20685
ed95f611
AZ
20686 * README: Remove tilepro-*-linux-gnu from supported architecture.
20687 * scripts/build-many-glibcs.py: Likewise.
20688 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20689 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20690 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20691 elf_machine_matches_host, elf_machine_dynamic,
20692 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20693 howto, elf_machine_rela): Likewise.
20694 * sysdeps/tile/dl-start.S (_start): Likewise.
20695 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20696 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20697 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20698 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20699 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20700 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20701 Likewise.
20702 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20703 * sysdeps/tile/preconfigure: Likewise.
20704 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20705 POINTER_CHK_GUARD): Likewise.
20706 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20707 * sysdeps/tile/start.S (_start): Likewise.
20708 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20709 Likewise.
20710 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20711 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20712 CMOVNEZ): Remove.
20713 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20714 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20715 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20716 Likewise.
20717 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20718 * sysdeps/tile/tilepro/Implies: Remove file.
20719 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20720 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20721 * sysdeps/tile/tilepro/memchr.c: Likewise.
20722 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20723 * sysdeps/tile/tilepro/memset.c: Likewise.
20724 * sysdeps/tile/tilepro/memusage.h: Likewise.
20725 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20726 * sysdeps/tile/tilepro/strchr.c: Likewise.
20727 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20728 * sysdeps/tile/tilepro/strlen.c: Likewise.
20729 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20730 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20731 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20732 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20733 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20734 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20735 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20736 Likewise.
20737 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20738 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20739 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20740 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20741 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20742 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20743 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20744 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20745 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20746 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20747 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20748 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20749 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20750 tilepro mention in comment.
20751
4735850f
AZ
20752 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20753 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20754 * nptl/pthread_join_common.c: New file: common function used on
20755 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20756 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20757 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20758 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20759 (cleanup): Move definition to pthread_join_common.c.
20760 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20761 Remove superflous checks.
20762 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20763 Likewise.
20764
8bfb461e
SN
207652017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20766
20767 * sysdeps/aarch64/libm-test-ulps: Update.
20768
4e001969
AZ
207692017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20770
20771 * sysdeps/aarch64/memset.S (MEMSET): Define.
20772
8a26ad2a
FW
207732017-12-20 Florian Weimer <fweimer@redhat.com>
20774
20775 [BZ #22635]
20776 nptl: Provide full implementation of pthread_self in libc.so.
20777 * nptl/Makefile (routines): Add pthread_self.
20778 (libpthread-routines): Replace pthread_self with
20779 compat-pthread_self.
20780 * nptl/forward.c (pthread_self): Remove.
20781 * nptl/nptl-init.c (pthread_functions): Do not initialize
20782 ptr_pthread_self.
20783 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20784 * nptl/compat-pthread_self.c: New file.
20785 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20786 Remove ptr_pthread_self.
20787
5069ff32
AR
207882017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20789
20790 * posix/regcomp.c: Fix spelling in comments.
20791 * posix/regex.h: Likewise.
20792 * posix/regex_internal.c: Likewise.
20793 * posix/regexec.c: Likewise.
20794
c85e54ac
GG
207952017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20796
20797 [BZ #22377]
20798 * math/Makefile [C++] (tests): Add test for iseqsig.
20799 * math/math.h [C++] (iseqsig): New implementation, which does
20800 not rely on __MATH_TG/__builtin_types_compatible_p.
20801 * math/test-math-iseqsig.cc: New file.
20802 * sysdeps/powerpc/powerpc64le/Makefile
20803 (CFLAGS-test-math-iseqsig.cc): New variable.
20804
10e93d96
DL
208052017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20806
20807 * elf/dl-load.c (is_trusted_path): Remove.
20808 (fillin_rpath): Remove check_trusted argument and its use,
20809 all callers changed.
20810
ce16eb52
L
208112017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20812
20813 [BZ #22630]
20814 * Makeconfig (link-pie-before-libc): Replace -pie with
20815 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20816 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20817 (tst-dlopen-aout-no-pie): New.
20818 (LDFLAGS-tst-prelink): Removed.
20819 (tst-prelink-no-pie): New.
20820 (LDFLAGS-tst-main1): Removed.
20821 (tst-main1-no-pie): New.
20822 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20823 (tst-gmon-no-pie): New.
20824
126adc89
L
208252017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 * manual/install.texi: Document that --enable-static-pie
20828 implies PIE.
20829 * INSTALL: Regenerated.
20830
648615e1
BE
208312017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20832
20833 [BZ #21309]
20834 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20835 unsigned.
20836
f1e00502
JM
208372017-12-19 Joseph Myers <joseph@codesourcery.com>
20838
20839 Revert:
20840
20841 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20842
20843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20844
20845 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20846
20847 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20848 <errno.h>. Include "eexp.tbl".
20849 (half): New constant.
20850 (one): Likewise.
20851 (__ieee754_exp): Rewrite.
20852 (__slowexp): Remove prototype.
20853 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20854 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20855 * sysdeps/i386/fpu/slowexp.c: Likewise.
20856 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20857 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20858 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20859 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20860 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20861 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20862 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20863 comment.
20864 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20865 (CPPFLAGS-slowexp.c): Remove variable.
20866 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20867 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20868 (CFLAGS-slowexp-fma.c): Remove variable.
20869 (CFLAGS-slowexp-fma4.c): Likewise.
20870 (CFLAGS-slowexp-avx.c): Likewise.
20871 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20872 define as macro.
20873 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20874 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20875 * math/Makefile (type-double-routines): Remove slowexp.
20876 * manual/probes.texi (slowexp_p6): Remove.
20877 (slowexp_p32): Likewise.
20878
d711a00f
AZ
208792017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20880
e184ac3a
AZ
20881 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20882 arithmetic.
20883
d711a00f
AZ
20884 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20885
6f58c10d
JM
208862017-12-19 Joseph Myers <joseph@codesourcery.com>
20887
20888 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20889
6fd0a3c6
PM
208902017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20891
20892 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20893 <errno.h>. Include "eexp.tbl".
20894 (half): New constant.
20895 (one): Likewise.
20896 (__ieee754_exp): Rewrite.
20897 (__slowexp): Remove prototype.
20898 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20899 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20900 * sysdeps/i386/fpu/slowexp.c: Likewise.
20901 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20902 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20903 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20904 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20905 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20906 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20907 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20908 comment.
20909 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20910 (CPPFLAGS-slowexp.c): Remove variable.
20911 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20912 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20913 (CFLAGS-slowexp-fma.c): Remove variable.
20914 (CFLAGS-slowexp-fma4.c): Likewise.
20915 (CFLAGS-slowexp-avx.c): Likewise.
20916 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20917 define as macro.
20918 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20919 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20920 * math/Makefile (type-double-routines): Remove slowexp.
20921 * manual/probes.texi (slowexp_p6): Remove.
20922 (slowexp_p32): Likewise.
20923
3bb1ef58 209242017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20925 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20926
20927 [BZ #22603]
20928 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20929 addition.
20930
554e3d51
AZ
209312017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20932
20933 [BZ #22605]
20934 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20935 code.
20936
cba595c3
L
209372017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20938
20939 [BZ #22563]
20940 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20941 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20942 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20943 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20944 to feature_1.
20945
f81ddabf
L
209462017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20947
20948 [BZ #22563]
20949 * bits/types/__cancel_jmp_buf_tag.h: New file.
20950 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20951 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20952 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20953 * nptl/Makefile (headers): Add
20954 bits/types/__cancel_jmp_buf_tag.h.
20955 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20956 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20957 * sysdeps/nptl/pthread.h: Include
20958 <bits/types/__cancel_jmp_buf_tag.h>.
20959 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20960 __cancel_jmp_buf.
20961 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20962
1a49fc59
L
209632017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20964
20965 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20966 --enable-static-pie variants to x86_64, x32 and i686.
20967
8e52f573
JM
209682017-12-19 Joseph Myers <joseph@codesourcery.com>
20969
66425185
JM
20970 [BZ #22631]
20971 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20972 argument for attrubutes. All callers changed.
20973 (__inline_mathop1): Likewise. All callers changed.
20974 (__inline_mathop): Likewise. All callers changed.
20975 [__USE_MISC] (scalbn): Use __inline_forward instead of
20976 __inline_forward_c.
20977 [__USE_ISOC99] (scalbln): Likewise.
20978 [__USE_ISOC99] (nearbyint): Likewise.
20979 [__USE_ISOC99] (lrint): Likewise.
20980 [__USE_MISC] (scalbnf): Likewise.
20981 [__USE_ISOC99] (scalblnf): Likewise.
20982 [__USE_ISOC99] (nearbyintf): Likewise.
20983 [__USE_ISOC99] (lrintf): Likewise.
20984 [__USE_MISC] (scalbnl): Likewise.
20985 [__USE_ISOC99] (scalblnl): Likewise.
20986 [__USE_ISOC99] (nearbyintl): Likewise.
20987 [__USE_ISOC99] (lrintl): Likewise.
20988 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20989 __inline_mathop and __m81_defun changed.
20990
8e52f573
JM
20991 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20992 CPU or FPU for ARM hard-float configurations.
20993
1421f39b
JM
209942017-12-18 Joseph Myers <joseph@codesourcery.com>
20995
40c4162d
JM
20996 * nptl/tst-attr3.c: Include <libc-diag.h>.
20997 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20998
5983df32
JM
20999 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21000
1421f39b
JM
21001 * string/tester.c (test_strncat): Also disable -Warray-bounds
21002 warnings for two tests.
21003
00c714df
L
210042017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21005
21006 [BZ #22614]
21007 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21008 $(cc-pie-default) == yes.
21009 * config.make.in (cc-pie-default): New.
21010 * configure.ac (libc_cv_pie_default): Renamed to ...
21011 (libc_cv_cc_pie_default): This.
21012 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21013 * configure: Regenerated.
21014
8e1472d2
FW
210152017-12-18 Florian Weimer <fweimer@redhat.com>
21016
21017 [BZ #20204]
21018 ld.so: Harden dl-libc/libdl hooks.
21019 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21020 (rtld_active): New function.
21021 * dlfcn/dladdr.c (__dladdr): Call it.
21022 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21023 * dlfcn/dlclose.c (__dlcose): Likewise.
21024 * dlfcn/dlerror.c (__dlerror): Likewise.
21025 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21026 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21027 * dlfcn/dlopen.c (__dlopen): Likewise.
21028 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21029 * dlfcn/dlsym.c (__dlsym): Likewise.
21030 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21031 * libio/vtables.c (_IO_vtable_check): Likewise.
21032 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21033 (__libc_dlclose): Likewise.
21034 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21035 assignment.
21036
49b036bc
JM
210372017-12-18 Joseph Myers <joseph@codesourcery.com>
21038
21039 [BZ #22446]
21040 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21041 buffers for readlink input and output.
21042
368b6c8d
ST
210432017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21044
c85c564d
ST
21045 [BZ #22624]
21046 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21047 inhibit_stack_protector.
21048
368b6c8d
ST
21049 [BZ #22624]
21050 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21051 inhibit_stack_protector.
21052
bb195224
DL
210532017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21054
21055 [BZ #22627]
21056 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21057 code and invocation.
21058
14d886ed
SN
210592017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21060
21061 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21062
7d38eb38
AJ
210632017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21064
21065 [BZ #22505]
21066 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21067
2e77deef
RS
210682017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21069
21070 * sysdeps/s390/fpu/libm-test-ulps: Update.
21071
0b9bef6d
RS
210722017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21073
21074 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21075
984ae996
RS
210762017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21077
21078 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21079 constants to s_sincosf.h file.
21080 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21081 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21082 implementation.
21083 * sysdeps/ieee754/flt-32/s_sincosf.h:
21084 New file.
21085
363e4519 210862017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21087
21088 [BZ #14681]
21089 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21090 before mtrace.
21091
9d7a3741
L
210922017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21093
21094 [BZ #19574]
21095 * INSTALL: Regenerated.
21096 * Makeconfig (real-static-start-installed-name): New.
21097 (pic-default): Updated for --enable-static-pie.
21098 (pie-default): New for --enable-static-pie.
21099 (default-pie-ldflag): Likewise.
21100 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21101 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21102 Replace $(static-start-installed-name) with
21103 $(real-static-start-installed-name).
21104 (+prectorT): Updated for --enable-static-pie.
21105 (+postctorT): Likewise.
21106 (CFLAGS-.o): Add $(pie-default).
21107 (CFLAGS-.op): Likewise.
21108 * NEWS: Mention --enable-static-pie.
21109 * config.h.in (ENABLE_STATIC_PIE): New.
21110 * configure.ac (--enable-static-pie): New configure option.
21111 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21112 (have-static-pie): Likewise.
21113 Enable static PIE if linker supports --no-dynamic-linker.
21114 (ENABLE_STATIC_PIE): New AC_DEFINE.
21115 (enable-static-pie): New LIBC_CONFIG_VAR.
21116 * configure: Regenerated.
21117 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21118 gr$(start-installed-name) for --enable-static-pie.
21119 (extra-objs): Likewise.
21120 (install-lib): Likewise.
21121 (extra-objs): Add static-reloc.o and static-reloc.os
21122 ($(objpfx)$(start-installed-name)): Also depend on
21123 $(objpfx)static-reloc.o.
21124 ($(objpfx)r$(start-installed-name)): New.
21125 ($(objpfx)g$(start-installed-name)): Also depend on
21126 $(objpfx)static-reloc.os.
21127 ($(objpfx)gr$(start-installed-name)): New.
21128 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21129 in libc.a.
21130 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21131 initimage.
21132 * csu/static-reloc.c: New file.
21133 * elf/Makefile (routines): Add dl-reloc-static-pie.
21134 (elide-routines.os): Likewise.
21135 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21136 (tst-tls1-static-non-pie-no-pie): New.
21137 * elf/dl-reloc-static-pie.c: New file.
21138 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21139 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21140 STATIC_PIE_BOOTSTRAP.
21141 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21142 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21143 (tests-static): Likewise.
21144 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21145 (tst-gmon-static-no-pie): New.
21146 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21147 (CRT-tst-gmon-static-pie): Likewise.
21148 (tst-gmon-static-pie-ENV): Likewise.
21149 (tests-special): Likewise.
21150 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21151 (clean-tst-gmon-static-pie-data): Likewise.
21152 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21153 * gmon/tst-gmon-static-pie.c: New file.
21154 * manual/install.texi: Document --enable-static-pie.
21155 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21156 (_dl_get_dl_main_map): Likewise.
21157 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21158 * sysdeps/x86_64/configure.ac: Likewise.
21159 * sysdeps/i386/configure: Regenerated.
21160 * sysdeps/x86_64/configure: Likewise.
21161 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21162 (ASFLAGS-.op): Likewise.
21163
95511aab
JM
211642017-12-15 Joseph Myers <joseph@codesourcery.com>
21165
21166 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21167 * posix/tst-mmap-offset.c (fname): Use /tmp.
21168 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21169
a7e3edf4
SE
211702017-12-15 Steve Ellcey <sellcey@cavium.com>
21171
21172 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21173
d232f2e1
TS
211742017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21175
21176 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21177 errno.
21178
174edbde
JM
211792017-12-15 Joseph Myers <joseph@codesourcery.com>
21180
5170fa49
JM
21181 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21182 --with-float=hard for arm-linux-gnueabihf configurations.
21183
f2da2fd8
JM
21184 [BZ #14121]
21185 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21186 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21187 ($(mo-installed)): Use $(objpfx)%.mo.
21188 (realclean): Remove rule.
21189
0c4fe28d
JM
21190 * po/Makefile (linguas): Remove rule and dependencies.
21191 (linguas.mo): Likewise.
21192 (.PHONY): Do not depend on linguas and linguas.mo.
21193 (podir): Remove variable.
21194 (pofiles): Likewise.
21195 [$(pofiles)] (%.po): Remove rule.
21196
174edbde
JM
21197 * sysdeps/sparc/sparc32/Makefile
21198 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21199 start-of-line whitespace in argument of echo.
21200 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21201 with whitespace. Generate __wrap_.udiv alias.
21202 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21203 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21204 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21205 * sysdeps/sparc/sparc32/urem.S: Likewise.
21206
1e36806f
RS
212072017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21208
21209 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21210 for aligned inputs.
21211
aa6932aa
SP
212122017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21213
5f1603c3
SP
21214 * benchtests/bench-strcmp.c: Print output in JSON format.
21215
aa6932aa
SP
21216 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21217
3ff3dfa5
FW
212182017-12-14 Florian Weimer <fweimer@redhat.com>
21219
21220 [BZ #22607]
21221 CVE-2017-1000409
21222 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21223 the expanded path string.
21224
8a0b17e4
FW
212252017-12-14 Florian Weimer <fweimer@redhat.com>
21226
21227 [BZ #22606]
21228 CVE-2017-1000408
21229 * elf/dl-load.c (system_dirs): Update comment.
21230 (nsystem_dirs_len): Use array_length.
21231 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21232
f58bd7f0
FW
212332017-12-14 Florian Weimer <fweimer@redhat.com>
21234
21235 Simplify compiling most of support/ outside of glibc.
21236 * support/check_addrinfo.c: Include <string.h>.
21237 * support/check_dns_packet.c: Likewise.
21238 * support/check_hostent.c: Likewise.
21239 * support/support_can_chroot.c: Include <support/xunistd.h>.
21240 * support/support_format_addrinfo.c: Include <stdlib.h>
21241 * support/support_format_dns_packet.c: Include <stdbool.h>.
21242 * support/support_format_hostent.c: Include <stdlib.h>.
21243 * support/support_format_netent.c: Likewise.
21244 * support/support_write_string.c: Include <support/xunistd.h>.
21245 * support/xdlfcn.c: Include <stddef.h>.
21246
4ca945e9
L
212472017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21248
21249 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21250
1b6e07f8
PM
212512017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21252 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21253
e6a1c5dc
PM
21254 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21255 (sysdeps_routines): Add memset-niagara7.
21256 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21257 Likewise.
21258 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21259 file.
21260 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21261 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21262 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21263 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21264 Add niagara7 option.
21265 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21266 memset.
21267
1b6e07f8
PM
21268 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21269 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21270 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21271 Likewise.
21272 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21273 New file.
21274 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21275 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21276 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21277 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21278 and __memmove_niagara7.
21279 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21280 Add niagara7 option.
21281 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21282 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21283 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21284 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21285 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21286
bfb7bf22
JM
212872017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21288
767a26d6
JM
21289 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21290 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21291 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21292 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21293
bfb7bf22
JM
21294 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21295 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21296 _dl_sparc_cap_flags array.
21297 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21298
2bce01eb
SP
212992017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21300
21301 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21302 time whenever possible.
21303
363e4519 213042017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21305
21306 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21307 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21308
6f7c0092
JM
213092017-12-12 Joseph Myers <joseph@codesourcery.com>
21310
21311 * soft-fp/fmadf4.c: Move to ....
21312 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21313 * soft-fp/fmasf4.c: Move to ....
21314 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21315 * soft-fp/fmatf4.c: Move to ....
21316 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21317 * sysdeps/ieee754/soft-fp/Makefile: New file.
21318 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21319 * sysdeps/arm/preconfigure: Regenerated.
21320 * sysdeps/arm/nofpu/Implies: New file.
21321 * sysdeps/arm/s_fma.c: Remove file.
21322 * sysdeps/arm/s_fmaf.c: Likewise.
21323 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21324 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21325 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21326 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21327 * sysdeps/microblaze/s_fma.c: Remove file.
21328 * sysdeps/microblaze/s_fmaf.c: Likewise.
21329 * sysdeps/mips/mips32/nofpu/Implies: New file.
21330 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21331 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21332 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21333 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21334 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21335 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21336 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21337 implementation.
21338 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21339 * sysdeps/nios2/s_fma.c: Remove file.
21340 * sysdeps/nios2/s_fmaf.c: Likewise.
21341 * sysdeps/sh/nofpu/Implies: New file.
21342 * sysdeps/sh/s_fma.c: Remove file.
21343 * sysdeps/sh/s_fmaf.c: Likewise.
21344 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21345 * sysdeps/tile/s_fma.c: Remove file.
21346 * sysdeps/tile/s_fmaf.c: Likewise.
21347
ac817e08
L
213482017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21349
21350 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21351 Add s_cosf-sse2 and s_cosf-fma.
21352 (CFLAGS-s_cosf-fma.c): New.
21353 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21354 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21355 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21356
eb428576
SE
213572017-12-12 Steve Ellcey <sellcey@cavium.com>
21358
21359 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21360
c80acdc3
AZ
213612017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21362
cc683f7e
AZ
21363 * libio/Makefile (tests): Add tst-bz22415.
21364 (tst-bz22415-ENV): New rule.
21365 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21366 (tests-special): Add tst-bz22415-mem.out.
21367 ($(objpfx)tst-bz22415-mem.out): New rule.
21368 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21369 in case of a successful seek operation.
21370 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21371 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21372 buffer is required.
21373 * libio/tst-bz22415.c: New test.
21374
c80acdc3
AZ
21375 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21376
363e4519 213772017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21378
21379 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21380 __IPC_64 to 0 to avoid IPC_64 being set.
21381
4e0dca54
SN
213822017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21383
21384 [BZ #22593]
21385 * math/bits/mathcalls.h (nextafter): Remove const.
21386 (nexttoward): Likewise.
21387
8df5d347
JM
213882017-12-12 Joseph Myers <joseph@codesourcery.com>
21389
21390 * configure.ac (--with-fp): Remove configure option.
21391 (with_fp_cond): New variable.
21392 (libc_cv_with_fp): New configure test. Use this variable instead
21393 of with_fp.
21394 * configure: Regenerated.
21395 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21396 * manual/install.texi (Configuring and compiling): Remove
21397 --without-fp.
21398 * INSTALL: Regenerated.
21399 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21400 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21401 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21402 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21403 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21404 use --without-fp to configure glibc.
21405
0cee1257
RJ
214062017-12-12 Rical Jasan <ricaljasan@pacific.net>
21407
21408 * manual/locale.texi (nl_langinfo): Fix a typo.
21409
363e4519 214102017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21411
21412 [BZ #22588]
21413 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21414
36975e8e
L
214152017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21418 (CFLAGS-argp-parse.c): Likewise.
21419 (CFLAGS-argp-fmtstream.c): Likewise.
21420 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21421 (CPPFLAGS-sha512-crypt.c): Likewise.
21422 (CPPFLAGS-md5-crypt.c): Likewise.
21423 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21424 (CFLAGS-stack_chk_fail_local.c): Likewise.
21425 (CFLAGS-backtrace.c): Likewise.
21426 (CFLAGS-sprintf_chk.c): Likewise.
21427 (CFLAGS-snprintf_chk.c): Likewise.
21428 (CFLAGS-vsprintf_chk.c): Likewise.
21429 (CFLAGS-vsnprintf_chk.c): Likewise.
21430 (CFLAGS-asprintf_chk.c): Likewise.
21431 (CFLAGS-vasprintf_chk.c): Likewise.
21432 (CFLAGS-obprintf_chk.c): Likewise.
21433 (CFLAGS-dprintf_chk.c): Likewise.
21434 (CFLAGS-vdprintf_chk.c): Likewise.
21435 (CFLAGS-printf_chk.c): Likewise.
21436 (CFLAGS-fprintf_chk.c): Likewise.
21437 (CFLAGS-vprintf_chk.c): Likewise.
21438 (CFLAGS-vfprintf_chk.c): Likewise.
21439 (CFLAGS-gets_chk.c): Likewise.
21440 (CFLAGS-fgets_chk.c): Likewise.
21441 (CFLAGS-fgets_u_chk.c): Likewise.
21442 (CFLAGS-fread_chk.c): Likewise.
21443 (CFLAGS-fread_u_chk.c): Likewise.
21444 (CFLAGS-swprintf_chk.c): Likewise.
21445 (CFLAGS-vswprintf_chk.c): Likewise.
21446 (CFLAGS-wprintf_chk.c): Likewise.
21447 (CFLAGS-fwprintf_chk.c): Likewise.
21448 (CFLAGS-vwprintf_chk.c): Likewise.
21449 (CFLAGS-vfwprintf_chk.c): Likewise.
21450 (CFLAGS-fgetws_chk.c): Likewise.
21451 (CFLAGS-fgetws_u_chk.c): Likewise.
21452 (CFLAGS-read_chk.c): Likewise.
21453 (CFLAGS-pread_chk.c): Likewise.
21454 (CFLAGS-pread64_chk.c): Likewise.
21455 (CFLAGS-recv_chk.c): Likewise.
21456 (CFLAGS-recvfrom_chk.c): Likewise.
21457 (CFLAGS-tst-longjmp_chk.c): Likewise.
21458 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21459 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21460 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21461 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21462 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21463 (CFLAGS-tst-chk1.c): Likewise.
21464 (CFLAGS-tst-chk2.c): Likewise.
21465 (CFLAGS-tst-chk3.c): Likewise.
21466 (CFLAGS-tst-chk4.cc): Likewise.
21467 (CFLAGS-tst-chk5.cc): Likewise.
21468 (CFLAGS-tst-chk6.cc): Likewise.
21469 (CFLAGS-tst-lfschk1.c): Likewise.
21470 (CFLAGS-tst-lfschk2.c): Likewise.
21471 (CFLAGS-tst-lfschk3.c): Likewise.
21472 (CFLAGS-tst-lfschk4.cc): Likewise.
21473 (CFLAGS-tst-lfschk5.cc): Likewise.
21474 (CFLAGS-tst-lfschk6.cc): Likewise.
21475 (CFLAGS-tst-ssp-1.c): Likewise.
21476 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21477 (CFLAGS-scandir64.c): Likewise.
21478 (CFLAGS-scandir-tail.c): Likewise.
21479 (CFLAGS-scandir64-tail.c): Likewise.
21480 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21481 (CFLAGS-dl-tunables.c): Likewise.
21482 (CFLAGS-dl-runtime.c): Likewise.
21483 (CFLAGS-dl-lookup.c): Likewise.
21484 (CFLAGS-dl-iterate-phdr.c): Likewise.
21485 (CFLAGS-vismain.c): Likewise.
21486 (CFLAGS-tst-linkall-static.c): Likewise.
21487 (CFLAGS-tst-linkall-static.c): Likewise.
21488 (CPPFLAGS-dl-load.c): Likewise.
21489 (CFLAGS-ldconfig.c): Likewise.
21490 (CFLAGS-dl-cache.c): Likewise.
21491 (CFLAGS-cache.c): Likewise.
21492 (CFLAGS-rtld.c): Likewise.
21493 (CFLAGS-multiload.c): Likewise.
21494 (CFLAGS-filtmod1.c): Likewise.
21495 (CFLAGS-tst-align.c): Likewise.
21496 (CFLAGS-tst-align2.c): Likewise.
21497 (CFLAGS-tst-alignmod.c): Likewise.
21498 (CFLAGS-tst-alignmod2.c): Likewise.
21499 (CPPFLAGS-tst-execstack.c): Likewise.
21500 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21501 (CFLAGS-tst-latepthreadmod.c): Likewise.
21502 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21503 (CFLAGS-getgrnam_r.c): Likewise.
21504 (CFLAGS-getgrent_r.c): Likewise.
21505 (CFLAGS-getgrent.c): Likewise.
21506 (CFLAGS-fgetgrent.c): Likewise.
21507 (CFLAGS-fgetgrent_r.c): Likewise.
21508 (CFLAGS-putgrent.c): Likewise.
21509 (CFLAGS-initgroups.c): Likewise.
21510 (CFLAGS-getgrgid.c): Likewise.
21511 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21512 (CFLAGS-getsgent.c): Likewise.
21513 (CFLAGS-fgetsgent.c): Likewise.
21514 (CFLAGS-fgetsgent_r.c): Likewise.
21515 (CFLAGS-putsgent.c): Likewise.
21516 (CFLAGS-getsgnam.c): Likewise.
21517 (CFLAGS-getsgnam_r.c): Likewise.
21518 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21519 (CFLAGS-iconv_charmap.c): Likewise.
21520 (CFLAGS-dummy-repertoire.c): Likewise.
21521 (CFLAGS-charmap.c): Likewise.
21522 (CFLAGS-linereader.c): Likewise.
21523 (CFLAGS-simple-hash.c): Likewise.
21524 (CFLAGS-gconv_conf.c): Likewise.
21525 (CFLAGS-iconvconfig.c): Likewise.
21526 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21527 (CFLAGS-gethstbyad.c): Likewise.
21528 (CFLAGS-gethstbynm_r.c): Likewise.
21529 (CFLAGS-gethstbynm.c): Likewise.
21530 (CFLAGS-gethstbynm2_r.c): Likewise.
21531 (CFLAGS-gethstbynm2.c): Likewise.
21532 (CFLAGS-gethstent_r.c): Likewise.
21533 (CFLAGS-gethstent.c): Likewise.
21534 (CFLAGS-rcmd.c): Likewise.
21535 (CFLAGS-getnetbynm_r.c): Likewise.
21536 (CFLAGS-getnetbynm.c): Likewise.
21537 (CFLAGS-getnetbyad_r.c): Likewise.
21538 (CFLAGS-getnetbyad.c): Likewise.
21539 (CFLAGS-getnetent_r.c): Likewise.
21540 (CFLAGS-getnetent.c): Likewise.
21541 (CFLAGS-getaliasent_r.c): Likewise.
21542 (CFLAGS-getaliasent.c): Likewise.
21543 (CFLAGS-getrpcent_r.c): Likewise.
21544 (CFLAGS-getrpcent.c): Likewise.
21545 (CFLAGS-getservent_r.c): Likewise.
21546 (CFLAGS-getservent.c): Likewise.
21547 (CFLAGS-getprtent_r.c): Likewise.
21548 (CFLAGS-getprtent.c): Likewise.
21549 (CFLAGS-either_ntoh.c): Likewise.
21550 (CFLAGS-either_hton.c): Likewise.
21551 (CFLAGS-getnetgrent.c): Likewise.
21552 (CFLAGS-getnetgrent_r.c): Likewise.
21553 (CFLAGS-tst-checks-posix.c): Likewise.
21554 (CFLAGS-tst-sockaddr.c): Likewise.
21555 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21556 (CFLAGS-tst-translit.c): Likewise.
21557 (CFLAGS-tst-gettext2.c): Likewise.
21558 (CFLAGS-tst-codeset.c): Likewise.
21559 (CFLAGS-tst-gettext3.c): Likewise.
21560 (CFLAGS-tst-gettext4.c): Likewise.
21561 (CFLAGS-tst-gettext5.c): Likewise.
21562 (CFLAGS-tst-gettext6.c): Likewise.
21563 * io/Makefile (CFLAGS-open.c): Likewise.
21564 (CFLAGS-open64.c): Likewise.
21565 (CFLAGS-creat.c): Likewise.
21566 (CFLAGS-creat64.c): Likewise.
21567 (CFLAGS-fcntl.c): Likewise.
21568 (CFLAGS-poll.c): Likewise.
21569 (CFLAGS-ppoll.c): Likewise.
21570 (CFLAGS-lockf.c): Likewise.
21571 (CFLAGS-statfs.c): Likewise.
21572 (CFLAGS-fstatfs.c): Likewise.
21573 (CFLAGS-statvfs.c): Likewise.
21574 (CFLAGS-fstatvfs.c): Likewise.
21575 (CFLAGS-fts.c): Likewise.
21576 (CFLAGS-fts64.c): Likewise.
21577 (CFLAGS-ftw.c): Likewise.
21578 (CFLAGS-ftw64.c): Likewise.
21579 (CFLAGS-lockf.c): Likewise.
21580 (CFLAGS-posix_fallocate.c): Likewise.
21581 (CFLAGS-posix_fallocate64.c): Likewise.
21582 (CFLAGS-fallocate.c): Likewise.
21583 (CFLAGS-fallocate64.c): Likewise.
21584 (CFLAGS-read.c): Likewise.
21585 (CFLAGS-write.c): Likewise.
21586 (CFLAGS-test-stat.c): Likewise.
21587 (CFLAGS-test-lfs.c): Likewise.
21588 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21589 (CFLAGS-fputc.c): Likewise.
21590 (CFLAGS-fputwc.c): Likewise.
21591 (CFLAGS-freopen64.c): Likewise.
21592 (CFLAGS-freopen.c): Likewise.
21593 (CFLAGS-fseek.c): Likewise.
21594 (CFLAGS-fseeko64.c): Likewise.
21595 (CFLAGS-fseeko.c): Likewise.
21596 (CFLAGS-ftello64.c): Likewise.
21597 (CFLAGS-ftello.c): Likewise.
21598 (CFLAGS-fwide.c): Likewise.
21599 (CFLAGS-genops.c): Likewise.
21600 (CFLAGS-getc.c): Likewise.
21601 (CFLAGS-getchar.c): Likewise.
21602 (CFLAGS-getwc.c): Likewise.
21603 (CFLAGS-getwchar.c): Likewise.
21604 (CFLAGS-iofclose.c): Likewise.
21605 (CFLAGS-iofflush.c): Likewise.
21606 (CFLAGS-iofgetpos64.c): Likewise.
21607 (CFLAGS-iofgetpos.c): Likewise.
21608 (CFLAGS-iofgets.c): Likewise.
21609 (CFLAGS-iofgetws.c): Likewise.
21610 (CFLAGS-iofputs.c): Likewise.
21611 (CFLAGS-iofputws.c): Likewise.
21612 (CFLAGS-iofread.c): Likewise.
21613 (CFLAGS-iofsetpos64.c): Likewise.
21614 (CFLAGS-iofsetpos.c): Likewise.
21615 (CFLAGS-ioftell.c): Likewise.
21616 (CFLAGS-iofwrite.c): Likewise.
21617 (CFLAGS-iogetdelim.c): Likewise.
21618 (CFLAGS-iogetline.c): Likewise.
21619 (CFLAGS-iogets.c): Likewise.
21620 (CFLAGS-iogetwline.c): Likewise.
21621 (CFLAGS-ioputs.c): Likewise.
21622 (CFLAGS-ioseekoff.c): Likewise.
21623 (CFLAGS-ioseekpos.c): Likewise.
21624 (CFLAGS-iosetbuffer.c): Likewise.
21625 (CFLAGS-iosetvbuf.c): Likewise.
21626 (CFLAGS-ioungetc.c): Likewise.
21627 (CFLAGS-ioungetwc.c): Likewise.
21628 (CFLAGS-oldfileops.c): Likewise.
21629 (CFLAGS-oldiofclose.c): Likewise.
21630 (CFLAGS-oldiofgetpos64.c): Likewise.
21631 (CFLAGS-oldiofgetpos.c): Likewise.
21632 (CFLAGS-oldiofsetpos64.c): Likewise.
21633 (CFLAGS-oldiofsetpos.c): Likewise.
21634 (CFLAGS-peekc.c): Likewise.
21635 (CFLAGS-putc.c): Likewise.
21636 (CFLAGS-putchar.c): Likewise.
21637 (CFLAGS-putwc.c): Likewise.
21638 (CFLAGS-putwchar.c): Likewise.
21639 (CFLAGS-rewind.c): Likewise.
21640 (CFLAGS-wfileops.c): Likewise.
21641 (CFLAGS-wgenops.c): Likewise.
21642 (CFLAGS-oldiofopen.c): Likewise.
21643 (CFLAGS-iofopen.c): Likewise.
21644 (CFLAGS-iofopen64.c): Likewise.
21645 (CFLAGS-oldtmpfile.c): Likewise.
21646 (CFLAGS-tst_putwc.c): Likewise.
21647 * locale/Makefile (CFLAGS-md5.c): Likewise.
21648 (CFLAGS-charmap.c): Likewise.
21649 (CFLAGS-locfile.c): Likewise.
21650 (CFLAGS-charmap-dir.c): Likewise.
21651 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21652 (CFLAGS-getpt.c): Likewise.
21653 (CFLAGS-pt_chown.c): Likewise.
21654 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21655 (CFLAGS-obstack.c): Likewise.
21656 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21657 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21658 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21659 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21660 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21661 (CFLAGS-test-tgmath.c): Likewise.
21662 (CFLAGS-test-tgmath2.c): Likewise.
21663 (CFLAGS-test-tgmath-ret.c): Likewise.
21664 (CFLAGS-test-powl.c): Likewise.
21665 (CFLAGS-test-snan.c): Likewise.
21666 (CFLAGS-test-signgam-finite.c): Likewise.
21667 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21668 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21669 (CFLAGS-test-signgam-uchar.c): Likewise.
21670 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21671 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21672 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21673 (CFLAGS-test-signgam-uint.c): Likewise.
21674 (CFLAGS-test-signgam-uint-init.c): Likewise.
21675 (CFLAGS-test-signgam-uint-static.c): Likewise.
21676 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21677 (CFLAGS-test-signgam-ullong.c): Likewise.
21678 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21679 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21680 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21681 (CFLAGS-test-math-cxx11.cc): Likewise.
21682 (CFLAGS-test-math-isinff.cc): Likewise.
21683 (CFLAGS-test-math-iszero.cc): Likewise.
21684 (CFLAGS-test-math-issignaling.cc): Likewise.
21685 (CFLAGS-test-math-iscanonical.cc): Likewise.
21686 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21687 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21688 (CFLAGS-test-flt-eval-method.c): Likewise.
21689 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21690 (CFLAGS-test-finite-macros.c): Likewise.
21691 * misc/Makefile (CFLAGS-select.c): Likewise.
21692 (CFLAGS-tsearch.c): Likewise.
21693 (CFLAGS-lsearch.c): Likewise.
21694 (CFLAGS-pselect.c): Likewise.
21695 (CFLAGS-readv.c): Likewise.
21696 (CFLAGS-writev.c): Likewise.
21697 (CFLAGS-preadv.c): Likewise.
21698 (CFLAGS-preadv64.c): Likewise.
21699 (CFLAGS-pwritev.c): Likewise.
21700 (CFLAGS-pwritev64.c): Likewise.
21701 (CFLAGS-preadv2.c): Likewise.
21702 (CFLAGS-preadv64v2.c): Likewise.
21703 (CFLAGS-pwritev2.c): Likewise.
21704 (CFLAGS-pwritev64v2.c): Likewise.
21705 (CFLAGS-usleep.c): Likewise.
21706 (CFLAGS-syslog.c): Likewise.
21707 (CFLAGS-error.c): Likewise.
21708 (CFLAGS-getpass.c): Likewise.
21709 (CFLAGS-mkstemp.c): Likewise.
21710 (CFLAGS-mkstemp64.c): Likewise.
21711 (CFLAGS-getsysstats.c): Likewise.
21712 (CFLAGS-getusershell.c): Likewise.
21713 (CFLAGS-err.c): Likewise.
21714 (CFLAGS-tst-tsearch.c): Likewise.
21715 (CFLAGS-msync.c): Likewise.
21716 (CFLAGS-fdatasync.c): Likewise.
21717 (CFLAGS-fsync.c): Likewise.
21718 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21719 (CFLAGS-unwind.c): Likewise.
21720 (CFLAGS-unwind-forcedunwind.c): Likewise.
21721 (CFLAGS-pthread_cancel.c): Likewise.
21722 (CFLAGS-pthread_setcancelstate.c): Likewise.
21723 (CFLAGS-pthread_setcanceltype.c): Likewise.
21724 (CFLAGS-cancellation.c): Likewise.
21725 (CFLAGS-libc-cancellation.c): Likewise.
21726 (CFLAGS-pthread_exit.c): Likewise.
21727 (CFLAGS-forward.c): Likewise.
21728 (CFLAGS-pthread_testcancel.c): Likewise.
21729 (CFLAGS-pthread_join.c): Likewise.
21730 (CFLAGS-pthread_timedjoin.c): Likewise.
21731 (CFLAGS-pthread_once.c): Likewise.
21732 (CFLAGS-pthread_cond_wait.c): Likewise.
21733 (CFLAGS-sem_wait.c): Likewise.
21734 (CFLAGS-sem_timedwait.c): Likewise.
21735 (CFLAGS-fcntl.c): Likewise.
21736 (CFLAGS-lockf.c): Likewise.
21737 (CFLAGS-pread.c): Likewise.
21738 (CFLAGS-pread64.c): Likewise.
21739 (CFLAGS-pwrite.c): Likewise.
21740 (CFLAGS-pwrite64.c): Likewise.
21741 (CFLAGS-wait.c): Likewise.
21742 (CFLAGS-waitpid.c): Likewise.
21743 (CFLAGS-sigwait.c): Likewise.
21744 (CFLAGS-msgrcv.c): Likewise.
21745 (CFLAGS-msgsnd.c): Likewise.
21746 (CFLAGS-tcdrain.c): Likewise.
21747 (CFLAGS-open.c): Likewise.
21748 (CFLAGS-open64.c): Likewise.
21749 (CFLAGS-pause.c): Likewise.
21750 (CFLAGS-recv.c): Likewise.
21751 (CFLAGS-send.c): Likewise.
21752 (CFLAGS-accept.c): Likewise.
21753 (CFLAGS-sendto.c): Likewise.
21754 (CFLAGS-connect.c): Likewise.
21755 (CFLAGS-recvfrom.c): Likewise.
21756 (CFLAGS-recvmsg.c): Likewise.
21757 (CFLAGS-sendmsg.c): Likewise.
21758 (CFLAGS-close.c): Likewise.
21759 (CFLAGS-read.c): Likewise.
21760 (CFLAGS-write.c): Likewise.
21761 (CFLAGS-nanosleep.c): Likewise.
21762 (CFLAGS-sigsuspend.c): Likewise.
21763 (CFLAGS-msync.c): Likewise.
21764 (CFLAGS-fdatasync.c): Likewise.
21765 (CFLAGS-fsync.c): Likewise.
21766 (CFLAGS-pt-system.c): Likewise.
21767 (CFLAGS-tst-cleanup2.c): Likewise.
21768 (CFLAGS-tst-cleanupx2.c): Likewise.
21769 (CFLAGS-flockfile.c): Likewise.
21770 (CFLAGS-ftrylockfile.c): Likewise.
21771 (CFLAGS-funlockfile.c): Likewise.
21772 (CFLAGS-tst-initializers1.c): Likewise.
21773 (CFLAGS-tst-initializers1-c89.c): Likewise.
21774 (CFLAGS-tst-initializers1-c99.c): Likewise.
21775 (CFLAGS-tst-initializers1-c11.c): Likewise.
21776 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21777 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21778 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21779 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21780 (CFLAGS-nscd_getgr_r.c): Likewise.
21781 (CFLAGS-nscd_gethst_r.c): Likewise.
21782 (CFLAGS-nscd_getai.c): Likewise.
21783 (CFLAGS-nscd_initgroups.c): Likewise.
21784 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21785 (CFLAGS-pause.c): Likewise.
21786 (CFLAGS-pread.c): Likewise.
21787 (CFLAGS-pread64.c): Likewise.
21788 (CFLAGS-pwrite.c): Likewise.
21789 (CFLAGS-pwrite64.c): Likewise.
21790 (CFLAGS-sleep.c): Likewise.
21791 (CFLAGS-wait.c): Likewise.
21792 (CFLAGS-waitid.c): Likewise.
21793 (CFLAGS-waitpid.c): Likewise.
21794 (CFLAGS-getopt.c): Likewise.
21795 (CFLAGS-wordexp.c): Likewise.
21796 (CFLAGS-sysconf.c): Likewise.
21797 (CFLAGS-pathconf.c): Likewise.
21798 (CFLAGS-fpathconf.c): Likewise.
21799 (CFLAGS-spawn.c): Likewise.
21800 (CFLAGS-spawnp.c): Likewise.
21801 (CFLAGS-spawni.c): Likewise.
21802 (CFLAGS-glob.c): Likewise.
21803 (CFLAGS-glob64.c): Likewise.
21804 (CFLAGS-getconf.c): Likewise.
21805 (CFLAGS-nanosleep.c): Likewise.
21806 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21807 (CFLAGS-getpwent.c): Likewise.
21808 (CFLAGS-getpw.c): Likewise.
21809 (CFLAGS-fgetpwent_r.c): Likewise.
21810 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21811 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21812 (CFLAGS-mq_timedreceive.c): Likewise.
21813 (CFLAGS-mq_timedsend.c): Likewise.
21814 (CFLAGS-clock_nanosleep.c): Likewise.
21815 (CFLAGS-librt-cancellation.c): Likewise.
21816 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21817 (CFLAGS-getspent.c): Likewise.
21818 (CFLAGS-fgetspent.c): Likewise.
21819 (CFLAGS-fgetspent_r.c): Likewise.
21820 (CFLAGS-putspent.c): Likewise.
21821 (CFLAGS-getspnam.c): Likewise.
21822 (CFLAGS-getspnam_r.c): Likewise.
21823 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21824 (CFLAGS-sigsuspend.c): Likewise.
21825 (CFLAGS-sigtimedwait.c): Likewise.
21826 (CFLAGS-sigwait.c): Likewise.
21827 (CFLAGS-sigwaitinfo.c): Likewise.
21828 (CFLAGS-sigreturn.c): Likewise.
21829 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21830 (CFLAGS-vfwprintf.c): Likewise.
21831 (CFLAGS-tmpfile.c): Likewise.
21832 (CFLAGS-tmpfile64.c): Likewise.
21833 (CFLAGS-tempname.c): Likewise.
21834 (CFLAGS-psignal.c): Likewise.
21835 (CFLAGS-vprintf.c): Likewise.
21836 (CFLAGS-cuserid.c): Likewise.
21837 (CFLAGS-errlist.c): Likewise.
21838 (CFLAGS-siglist.c): Likewise.
21839 (CFLAGS-scanf15.c): Likewise.
21840 (CFLAGS-scanf17.c): Likewise.
21841 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21842 (CFLAGS-msort.c): Likewise.
21843 (CFLAGS-qsort.c): Likewise.
21844 (CFLAGS-system.c): Likewise.
21845 (CFLAGS-fmtmsg.c): Likewise.
21846 (CFLAGS-strfmon.c): Likewise.
21847 (CFLAGS-strfmon_l.c): Likewise.
21848 (CFLAGS-strfromd.c): Likewise.
21849 (CFLAGS-strfromf.c): Likewise.
21850 (CFLAGS-strfroml.c): Likewise.
21851 (CFLAGS-tst-bsearch.c): Likewise.
21852 (CFLAGS-tst-qsort.c): Likewise.
21853 (CFLAGS-tst-makecontext2.c): Likewise.
21854 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21855 (CFLAGS-xnlm_prot.c): Likewise.
21856 (CFLAGS-xrstat.c): Likewise.
21857 (CFLAGS-xyppasswd.c): Likewise.
21858 (CFLAGS-xklm_prot.c): Likewise.
21859 (CFLAGS-xrex.c): Likewise.
21860 (CFLAGS-xsm_inter.c): Likewise.
21861 (CFLAGS-xmount.c): Likewise.
21862 (CFLAGS-xrusers.c): Likewise.
21863 (CFLAGS-xspray.c): Likewise.
21864 (CFLAGS-xnfs_prot.c): Likewise.
21865 (CFLAGS-xrquota.c): Likewise.
21866 (CFLAGS-xkey_prot.c): Likewise.
21867 (CFLAGS-auth_unix.c): Likewise.
21868 (CFLAGS-key_call.c): Likewise.
21869 (CFLAGS-pmap_rmt.c): Likewise.
21870 (CFLAGS-clnt_perr.c): Likewise.
21871 (CFLAGS-openchild.c): Likewise.
21872 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21873 (CFLAGS-msgsnd.c): Likewise.
21874 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21875 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21876 (CFLAGS-tzset.c): Likewise.
21877 (CFLAGS-getdate.c): Likewise.
21878 (CFLAGS-test_time.c): Likewise.
21879 (CPPFLAGS-tst-tzname.c): Likewise.
21880 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21881 (CFLAGS-zic.c): Likewise.
21882 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21883 (CFLAGS-wcswidth.c): Likewise.
21884 (CFLAGS-wcstol.c): Likewise.
21885 (CFLAGS-wcstoul.c): Likewise.
21886 (CFLAGS-wcstoll.c): Likewise.
21887 (CFLAGS-wcstoull.c): Likewise.
21888 (CFLAGS-wcstod.c): Likewise.
21889 (CFLAGS-wcstold.c): Likewise.
21890 (CFLAGS-wcstof128.c): Likewise.
21891 (CFLAGS-wcstof.c): Likewise.
21892 (CFLAGS-wcstol_l.c): Likewise.
21893 (CFLAGS-wcstoul_l.c): Likewise.
21894 (CFLAGS-wcstoll_l.c): Likewise.
21895 (CFLAGS-wcstoull_l.c): Likewise.
21896 (CFLAGS-wcstod_l.c): Likewise.
21897 (CFLAGS-wcstold_l.c): Likewise.
21898 (CFLAGS-wcstof128_l.c): Likewise.
21899 (CFLAGS-wcstof_l.c): Likewise.
21900 (CPPFLAGS-tst-wchar-h.c): Likewise.
21901 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21902
f4b2aea6
PC
219032017-12-11 Paul A. Clarke <pc@us.ibm.com>
21904
21905 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21906
c9cd7b0c
AZ
219072017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21908 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21909
21910 * manual/tunables.texi (Hardware Capability Tunables): Document
21911 glibc.tune.cached_memopt.
21912 * sysdeps/powerpc/cpu-features.c: New file.
21913 * sysdeps/powerpc/cpu-features.h: New file.
21914 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21915 _dl_powerpc_cpu_features.
21916 * sysdeps/powerpc/dl-tunables.list: New file.
21917 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21918 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21919 (INIT_ARCH): Initialize use_aligned_memopt.
21920 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21921 IS_IN(rtld))]: Restrict dl_platform_init availability and
21922 initialize CPU features used by tunables.
21923 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21924 Add memcpy-power8-cached.
21925 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21926 __memcpy_power8_cached.
21927 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21928 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21929 New file.
21930
e70c6fee
L
219312017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21932
21933 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21934 (CFLAGS-noinl-tester.c): Likewise.
21935 (CFLAGS-tst-strlen.c): Likewise.
21936 (CFLAGS-stratcliff.c): Likewise.
21937 (CFLAGS-test-ffs.c): Likewise.
21938 (CFLAGS-tst-inlcall.c): Likewise.
21939 (CFLAGS-tst-xbzero-opt.c): Likewise.
21940 (CFLAGS-memcpy.c): Likewise.
21941 (CFLAGS-wordcopy.c): Likewise.
21942
dee94366
SL
219432017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21944
21945 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21946 Store r15 on stack and add cfi rule.
21947 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21948 Likewise.
21949
363e4519 219502017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21951
21952 [BZ #22577]
21953 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21954 call.
21955
9d0ffa60
L
219562017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21957
21958 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21959 Add s_sinf-sse2 and s_sinf-fma.
21960 (CFLAGS-s_sinf-fma.c): New.
21961 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21962 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21963 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21964
9574c7b6
L
219652017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21966
21967 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21968
d15e83c5
JM
219692017-12-07 Joseph Myers <joseph@codesourcery.com>
21970
21971 [BZ #22568]
21972 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21973 part of result to imaginary part of argument if it is zero and the
21974 real part of the argument is not finite.
21975 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21976 of result to real part of argument if it is zero and the imaginary
21977 part of the argument is not finite.
21978
d89756eb
MF
219792017-12-07 Mike FABIAN <mfabian@redhat.com>
21980
21981 [BZ #22524]
21982 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21983 and to the list of locales to be built for testing.
21984 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21985 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21986 and build the collation rules upon that.
21987
1f9055ce
JM
219882017-12-07 Joseph Myers <joseph@codesourcery.com>
21989
21990 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21991 * manual/math.texi (Mathematics): Document support for _Float32.
21992 * math/Makefile (test-types): Add float32.
21993 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21994 * stdlib/Versions (GLIBC_2.27): Likewise.
21995 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21996 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21997 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21998 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21999 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22000 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22001 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22002 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22003 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22004 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22005 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22006 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22007 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22008 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22009 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22010 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22011 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22012 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22013 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22014 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22015 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22016 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22017 Likewise.
22018 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22019 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22020 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22021 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22022 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22024 Likewise.
22025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22026 Likewise.
22027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22028 Likewise.
22029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22030 Likewise.
22031
22032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22033 Likewise.
22034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22035 Likewise.
22036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22037 Likewise.
22038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22039 Likewise.
22040 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22041 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22042 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22043 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22044 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22045 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22046 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22047 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22048 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22049 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22050 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22051 Likewise.
22052 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22053 Likewise.
22054 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22055 Likewise.
22056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22057 Likewise.
22058 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22059 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22060 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22061 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22062 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22063 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22064 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22065 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22066
5244527d
JM
220672017-12-06 Joseph Myers <joseph@codesourcery.com>
22068
fb1ca2aa
JM
22069 * stdlib/strtof.c: Include <bits/floatn.h>
22070 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22071 and later undefine as macro. Define as weak alias if
22072 [!USE_WIDE_CHAR].
22073 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22074 and later undefine as macro. Define as weak alias if
22075 [USE_WIDE_CHAR].
22076 * stdlib/strtof_l.c: Include <bits/floatn.h>
22077 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22078 and later undefine as macro. Define as weak alias if
22079 [!USE_WIDE_CHAR].
22080 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22081 and later undefine as macro. Define as weak alias if
22082 [USE_WIDE_CHAR].
22083
fc10cc3f
JM
22084 * stdlib/strfromf.c: Include <bits/floatn.h>.
22085 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22086 and later undefine as macro and define as weak alias.
22087
e420d228
JM
22088 * math/test-float32.h: New file.
22089
26007a2f
JM
22090 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22091 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22092 (libm_alias_float_other_r): Create f32 alias.
22093 (libm_alias_float_r): Use semicolon before call to
22094 libm_alias_float_other_r.
22095
c191f64c
JM
22096 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22097 second argument to libm_alias_float_other.
22098 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22099 second argument to libm_alias_float_other.
22100 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22101 argument to libm_alias_float_other.
22102
5244527d
JM
22103 [BZ #22561]
22104 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22105 real part of result for argument 0 + i * NaN.
22106 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22107 results for tests of 0 + i * NaN.
22108
d73fac82
AZ
221092017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22110
22111 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22112
7ec094e8
DM
221132017-12-06 David S. Miller <davem@davemloft.net>
22114
22115 * sysdeps/sparc/fpu/libm-test-ulps: Update
22116 exp_{downward,towardzero,upward} ulps.
22117
53994f12
JM
221182017-12-06 Joseph Myers <joseph@codesourcery.com>
22119
1dbe6f64
JM
22120 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22121 variables static.
22122
53994f12
JM
22123 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22124 (Y0_2D): Likewise.
22125 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22126 (Y0_2D): Likewise.
22127 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22128 (Y0_2D): Likewise.
22129 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22130 (Y0_2D): Likewise.
22131
62ea2193
MF
221322017-12-06 Mike FABIAN <mfabian@redhat.com>
22133
22134 [BZ #22515]
22135 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22136 and to the list of locales to be built for testing.
22137 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22138 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22139 and build the collation rules upon that.
22140
87235d70
RS
221412017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22142
22143 * NEWS: Add sinf to list of optimized functions.
22144
0d93b7fd
JM
221452017-12-06 Joseph Myers <joseph@codesourcery.com>
22146
22147 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22148 (__HAVE_FLOAT32X): Likewise.
22149 * manual/math.texi (Mathematics): Document support for _Float64
22150 and _Float32x.
22151 * math/Makefile (test-types): Add float64 and float32x.
22152 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22153 functions.
22154 * stdlib/Versions (GLIBC_2.27): Likewise.
22155 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22156 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22157 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22158 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22159 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22160 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22161 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22162 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22163 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22164 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22165 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22166 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22167 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22168 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22169 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22170 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22171 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22172 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22173 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22174 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22175 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22176 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22177 Likewise.
22178 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22179 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22180 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22181 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22182 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22184 Likewise.
22185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22186 Likewise.
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22188 Likewise.
22189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22190 Likewise.
22191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22192 Likewise.
22193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22194 Likewise.
22195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22196 Likewise.
22197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22198 Likewise.
22199 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22200 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22201 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22202 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22203 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22204 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22205 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22206 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22207 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22208 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22210 Likewise.
22211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22212 Likewise.
22213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22214 Likewise.
22215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22216 Likewise.
22217 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22218 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22219 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22220 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22221 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22222 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22223 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22224 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22225
f7787234
JM
222262017-12-05 Joseph Myers <joseph@codesourcery.com>
22227
22228 * bits/floatn-common.h: Include <bits/long-double.h>.
22229 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22230 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22231 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22232 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22233 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22234 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22235 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22236 (__builtin_huge_valf64): Use __builtin_huge_vall.
22237 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22238 (__builtin_inff64): Use __builtin_infl.
22239 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22240 (__builtin_nanf64): Use __builtin_nanl.
22241 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22242 (__builtin_nansf64): Use __builtin_nansl.
22243
363e4519
DL
222442017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22245 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22246 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22247
22248 * elf/dl-tunables.list: Add elision parameters.
22249 * manual/tunables.texi: Add entries about elision tunable.
22250 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22251 Add callback functions to dynamically enable/disable elision.
22252 Add multiple callbacks functions to set elision parameters.
22253 Deleted __libc_enable_secure check.
22254 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22255 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22256 * configure: Regenerated.
22257 * configure.ac: Option enable_lock_elision was deleted.
22258 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22259 * config.make.in: Remove references to enable_lock_elision.
22260 * manual/install.texi: Elision configure option was removed.
22261 * INSTALL: Regenerated to remove enable_lock_elision.
22262 * nptl/Makefile:
22263 Disable elision so it can verify error case for destroying a mutex.
22264 * sysdeps/powerpc/nptl/elide.h:
22265 Cleanup ENABLE_LOCK_ELISION check.
22266 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22267 * sysdeps/s390/configure: Regenerated.
22268 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22269 * nptl/tst-mutex8.c:
22270 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22271 * sysdeps/powerpc/powerpc32/sysdep.h:
22272 Deleted all ENABLE_LOCK_ELISION checks.
22273 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22274 * sysdeps/powerpc/sysdep.h: Likewise.
22275 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22276 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22277 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22278 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22279 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22280 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22281 enable-lock-elision.
22282
a5a2a76b
JM
222832017-12-05 Joseph Myers <joseph@codesourcery.com>
22284
22285 * stdlib/strtod.c: Include <bits/floatn.h>.
22286 (BUILD_DOUBLE): New macro.
22287 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22288 (strtof64): Define and later undefine as macro. Define as weak
22289 alias if [!USE_WIDE_CHAR].
22290 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22291 (wcstof64): Define and later undefine as macro. Define as weak
22292 alias if [USE_WIDE_CHAR].
22293 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22294 (strtof32x): Define and later undefine as macro. Define as weak
22295 alias if [!USE_WIDE_CHAR].
22296 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22297 (wcstof32x): Define and later undefine as macro. Define as weak
22298 alias if [USE_WIDE_CHAR].
22299 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22300 (BUILD_DOUBLE): New macro.
22301 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22302 (strtof64_l): Define and later undefine as macro. Define as weak
22303 alias if [!USE_WIDE_CHAR].
22304 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22305 (wcstof64_l): Define and later undefine as macro. Define as weak
22306 alias if [USE_WIDE_CHAR].
22307 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22308 (strtof32x_l): Define and later undefine as macro. Define as weak
22309 alias if [!USE_WIDE_CHAR].
22310 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22311 (wcstof32x_l): Define and later undefine as macro. Define as weak
22312 alias if [USE_WIDE_CHAR].
22313
94d80dfc
AZ
223142017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22315
22316 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22317 (reduced): Use ones as double instead of integer.
22318
00d54af7
SN
223192017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22320
22321 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22322
f2d64d62
JM
223232017-12-05 Joseph Myers <joseph@codesourcery.com>
22324
1f70eae4
JM
22325 * stdlib/strfromd.c: Include <bits/floatn.h>.
22326 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22327 and later undefine as macro and define as weak alias.
22328 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22329 Likewise.
22330
e2c4dce5
JM
22331 * math/test-float32x.h: New file.
22332 * math/test-float64.h: Likewise.
22333
f2d64d62
JM
22334 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22335 (libm_alias_double_other_r_f64): New macro.
22336 (libm_alias_double_other_r_f32x): Likewise.
22337 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22338 libm_alias_double_other_r_f32x.
22339 (libm_alias_double_r): Use semicolon before call to
22340 libm_alias_double_other_r.
22341 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22342 <bits/floatn.h>.
22343 (libm_alias_double_other_r_f64): New macro.
22344 (libm_alias_double_other_r_f32x): Likewise.
22345 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22346 libm_alias_double_other_r_f32x.
22347
91c318e7
L
223482017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22349
22350 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22351 int.
22352 (SINF_FUNC): Likewise. Replace floor with simple casts.
22353
de9661d6
MF
223542017-12-05 Mike FABIAN <mfabian@redhat.com>
22355
22356 [BZ #22517]
22357 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22358 and to the list of locales to be built for testing.
22359 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22360 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22361 and build the collation rules upon that.
22362
f18b8dc7
CM
223632017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22364
22365 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22366 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22367 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22368 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22369 instead of __insn__xxx.
22370 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22371 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22372 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22373 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22374 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22375 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22376
446d22e9
FW
223772017-12-05 Florian Weimer <fweimer@redhat.com>
22378
22379 Linux: Implement interfaces for memory protection keys
22380 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22381 xsignal, xsysconf.
22382 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22383 * support/xunistd.h (xsysconf): Declare.
22384 * support/xraise.c: New file.
22385 * support/xsigaction.c: Likewise.
22386 * support/xsignal.c: Likewise.
22387 * support/xsysconf.c: Likewise.
22388 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22389 pkey_set, pkey_get, pkey_mprotect.
22390 [misc] (tests): Add tst-pkey.
22391 (tst-pkey): Link with -lpthread.
22392 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22393 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22394 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22395 (PKEY_DISABLE_WRITE): Define.
22396 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22397 Declare.
22398 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22399 (SEGV_PKUERR): Add.
22400 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22401 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22402 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22403 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22404 Add.
22405 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22406 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22407 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22408 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22409 * sysdeps/unix/sysv/linux/**.abilist: Update.
22410
da616c14
FW
224112017-12-05 Florian Weimer <fweimer@redhat.com>
22412
22413 * support/tst-test_compare.c (subprocess): Use long long instead
22414 of long argument for consistent type width across 32-bit and
22415 64-bit architectures.
22416 (do_test): Adjust expected output.
22417
216933b2
JM
224182017-12-05 Joseph Myers <joseph@codesourcery.com>
22419
22420 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22421 (cosf): Define using libm_alias_float.
22422 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22423 (fabsf): Define using libm_alias_float.
22424 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22425 (fmaf): Define using libm_alias_float.
22426 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22427 (rintf): Define using libm_alias_float.
22428 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22429 (sinf): Define using libm_alias_float.
22430 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22431 <libm-alias-float.h>.
22432 (modff): Define using libm_alias_float.
22433 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22434 <libm-alias-float.h>.
22435 (logbf): Define using libm_alias_float.
22436 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22437 <libm-alias-float.h>.
22438 (ceilf): Define using libm_alias_float.
22439 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22440 <libm-alias-float.h>.
22441 (copysignf): Define using libm_alias_float.
22442 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22443 <libm-alias-float.h>.
22444 (floorf): Define using libm_alias_float.
22445 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22446 <libm-alias-float.h>.
22447 (llrintf): Define using libm_alias_float.
22448 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22449 <libm-alias-float.h>.
22450 (llroundf): Define using libm_alias_float.
22451 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22452 <libm-alias-float.h>.
22453 (lrintf): Define using libm_alias_float.
22454 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22455 <libm-alias-float.h>.
22456 (lroundf): Define using libm_alias_float.
22457 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22458 <libm-alias-float.h>.
22459 (nearbyintf): Define using libm_alias_float.
22460 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22461 <libm-alias-float.h>.
22462 (rintf): Define using libm_alias_float.
22463 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22464 <libm-alias-float.h>.
22465 (roundf): Define using libm_alias_float.
22466 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22467 <libm-alias-float.h>.
22468 (truncf): Define using libm_alias_float.
22469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22470 Include <libm-alias-float.h>.
22471 (ceilf): Define using libm_alias_float.
22472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22473 Include <libm-alias-float.h>.
22474 (copysignf): Define using libm_alias_float.
22475 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22476 Include <libm-alias-float.h>.
22477 (floorf): Define using libm_alias_float.
22478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22479 Include <libm-alias-float.h>.
22480 (llrintf): Define using libm_alias_float.
22481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22482 Include <libm-alias-float.h>.
22483 (llroundf): Define using libm_alias_float.
22484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22485 Include <libm-alias-float.h>.
22486 (logbf): Define using libm_alias_float.
22487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22488 Include <libm-alias-float.h>.
22489 (lrintf): Define using libm_alias_float.
22490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22491 Include <libm-alias-float.h>.
22492 (lroundf): Define using libm_alias_float.
22493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22494 Include <libm-alias-float.h>.
22495 (modff): Define using libm_alias_float.
22496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22497 Include <libm-alias-float.h>.
22498 (roundf): Define using libm_alias_float.
22499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22500 Include <libm-alias-float.h>.
22501 (truncf): Define using libm_alias_float.
22502 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22503 <libm-alias-float.h>.
22504 (llrintf): Define using libm_alias_float.
22505 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22506 <libm-alias-float.h>.
22507 (llroundf): Define using libm_alias_float.
22508 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22509 <libm-alias-float.h>.
22510 (ceilf): Define using libm_alias_float.
22511 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22512 <libm-alias-float.h>.
22513 (floorf): Define using libm_alias_float.
22514 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22515 <libm-alias-float.h>.
22516 (llroundf): Define using libm_alias_float.
22517 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22518 <libm-alias-float.h>.
22519 (lroundf): Define using libm_alias_float.
22520 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22521 <libm-alias-float.h>.
22522 (roundf): Define using libm_alias_float.
22523 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22524 <libm-alias-float.h>.
22525 (truncf): Define using libm_alias_float.
22526 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22527 <libm-alias-float.h>.
22528 (copysignf): Define using libm_alias_float.
22529 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22530 <libm-alias-float.h>.
22531 (llrintf): Define using libm_alias_float.
22532 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22533 <libm-alias-float.h>.
22534 (llroundf): Define using libm_alias_float.
22535 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22536 <libm-alias-float.h>.
22537 (lrintf): Define using libm_alias_float.
22538 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22539 <libm-alias-float.h>.
22540 (lroundf): Define using libm_alias_float.
22541 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22542 <libm-alias-float.h>.
22543 (ceilf): Define using libm_alias_float.
22544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22545 <libm-alias-float.h>.
22546 (copysignf): Define using libm_alias_float.
22547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22548 <libm-alias-float.h>.
22549 (cosf): Define using libm_alias_float.
22550 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22551 <libm-alias-float.h>.
22552 (floorf): Define using libm_alias_float.
22553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22554 <libm-alias-float.h>.
22555 (llrintf): Define using libm_alias_float.
22556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22557 <libm-alias-float.h>.
22558 (llroundf): Define using libm_alias_float.
22559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22560 <libm-alias-float.h>.
22561 (logbf): Define using libm_alias_float.
22562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22563 <libm-alias-float.h>.
22564 (modff): Define using libm_alias_float.
22565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22566 <libm-alias-float.h>.
22567 (roundf): Define using libm_alias_float.
22568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22569 <libm-alias-float.h>.
22570 (sinf): Define using libm_alias_float.
22571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22572 <libm-alias-float.h>.
22573 (truncf): Define using libm_alias_float.
22574 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22575 <libm-alias-float.h>.
22576 (ceilf): Define using libm_alias_float.
22577 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22578 <libm-alias-float.h>.
22579 (copysignf): Define using libm_alias_float.
22580 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22581 <libm-alias-float.h>.
22582 (floorf): Define using libm_alias_float.
22583 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22584 <libm-alias-float.h>.
22585 (llrintf): Define using libm_alias_float.
22586 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22587 <libm-alias-float.h>.
22588 (llroundf): Define using libm_alias_float.
22589 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22590 <libm-alias-float.h>.
22591 (nearbyintf): Define using libm_alias_float.
22592 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22593 <libm-alias-float.h>.
22594 (rintf): Define using libm_alias_float.
22595 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22596 <libm-alias-float.h>.
22597 (roundf): Define using libm_alias_float.
22598 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22599 <libm-alias-float.h>.
22600 (truncf): Define using libm_alias_float.
22601 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22602 <libm-alias-float.h>.
22603 (ceilf): Define using libm_alias_float.
22604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22605 <libm-alias-float.h>.
22606 (floorf): Define using libm_alias_float.
22607 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22608 <libm-alias-float.h>.
22609 (llroundf): Define using libm_alias_float.
22610 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22611 <libm-alias-float.h>.
22612 (roundf): Define using libm_alias_float.
22613 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22614 <libm-alias-float.h>.
22615 (truncf): Define using libm_alias_float.
22616 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22617 <libm-alias-float.h>.
22618 (copysignf): Define using libm_alias_float.
22619 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22620 <libm-alias-float.h>.
22621 (llrintf): Define using libm_alias_float.
22622 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22623 <libm-alias-float.h>.
22624 (llroundf): Define using libm_alias_float.
22625 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22626 <libm-alias-float.h>.
22627 (cosf): Define using libm_alias_float.
22628 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22629 <libm-alias-float.h>.
22630 (llrintf): Define using libm_alias_float.
22631 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22632 <libm-alias-float.h>.
22633 (llroundf): Define using libm_alias_float.
22634 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22635 <libm-alias-float.h>.
22636 (sinf): Define using libm_alias_float.
22637
93485524
FW
226382017-12-04 Florian Weimer <fweimer@redhat.com>
22639
22640 * support/check.h (TEST_COMPARE): Define.
22641 (support_test_compare_failure): Declare.
22642 * support/Makefile (libsupport-routines): Add
22643 support_test_compare_failure.
22644 (tests): Add tst-test_compare.
22645 * support /support_test_compare_failure.c: New file.
22646 * support/tst-test_compare.c: Likewise.
22647
96b06a19
MF
226482017-12-04 Mike FABIAN <mfabian@redhat.com>
22649
22650 [BZ #22527]
22651 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22652 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22653 available, this rewrite of the collation rules does reproduce
22654 the test file in the same order.
22655
1f6d91f3
MF
226562017-12-04 Mike FABIAN <mfabian@redhat.com>
22657
22658 [BZ #10580]
22659 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22660 digraphs in the month and day names. Using single code points for
22661 digraphs is deprecated. While there are dedicated Unicode
22662 codepoints, for the digraphs, these are included for backwards
22663 compatibility and modern texts use a sequence of Basic Latin
22664 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22665 This makes the month and day names agree exactly with CLDR now,
22666 CLDR does not use the single code points for the digraphs either.
22667
2e49fed8
CM
226682017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22669
22670 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22671
73895b49
JM
226722017-12-04 Joseph Myers <joseph@codesourcery.com>
22673
22674 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22675 of floor.
22676
4c1d801a
SP
226772017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22678
22679 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22680 Define only for libc.so.
22681
478593e6
SL
226822017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22683
22684 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22685 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22686 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22687 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22688 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22689
7863a711
RS
226902017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22691
22692 [BZ #5997]
22693 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22694
800a496a
JDA
226952017-12-02 John David Anglin <danglin@gcc.gnu.org>
22696
b3f7fb12
JDA
22697 [BZ libc/19170]
22698 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22699 PREINIT_FUNCTION_WEAK is nonzero.
22700 (gmon_initializer): New function. Put procedure label for it in
22701 .init_array section.
22702 (_init): Don't call PREINIT_FUNCTION.
22703 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22704 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22705 value when map argument is null.
22706
800a496a
JDA
22707 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22708 depi instruction from PIC pc-relative sequence.
22709 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22710 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22711 (elf_machine_load_address): Likewise.
22712 (elf_machine_runtime_setup): Likewise.
22713
d17542d2
JM
227142017-12-02 Joseph Myers <joseph@codesourcery.com>
22715
22716 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22717 <libm-alias-double.h>.
22718 (logb): Define using libm_alias_double.
22719 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22720 <libm-alias-double.h>.
22721 (copysign): Define using libm_alias_double.
22722 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22723 <libm-alias-double.h>.
22724 (llrint): Define using libm_alias_double.
22725 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22726 <libm-alias-double.h>.
22727 (llround): Define using libm_alias_double.
22728 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22729 <libm-alias-double.h>.
22730 (lrint): Define using libm_alias_double.
22731 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22732 <libm-alias-double.h>.
22733 (lround): Define using libm_alias_double.
22734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22735 Include <libm-alias-double.h>.
22736 (copysign): Define using libm_alias_double.
22737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22738 Include <libm-alias-double.h>.
22739 (llrint): Define using libm_alias_double.
22740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22741 Include <libm-alias-double.h>.
22742 (llround): Define using libm_alias_double.
22743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22744 <libm-alias-double.h>.
22745 (logb): Define using libm_alias_double.
22746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22747 Include <libm-alias-double.h>.
22748 (lrint): Define using libm_alias_double.
22749 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22750 Include <libm-alias-double.h>.
22751 (lround): Define using libm_alias_double.
22752 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22753 <libm-alias-double.h>.
22754 (llrint): Define using libm_alias_double.
22755 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22756 <libm-alias-double.h>.
22757 (llround): Define using libm_alias_double.
22758 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22759 <libm-alias-double.h>.
22760 (llround): Define using libm_alias_double.
22761 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22762 <libm-alias-double.h>.
22763 (lround): Define using libm_alias_double.
22764 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22765 <libm-alias-double.h>.
22766 (copysign): Define using libm_alias_double.
22767 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22768 <libm-alias-double.h>.
22769 (llrint): Define using libm_alias_double.
22770 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22771 <libm-alias-double.h>.
22772 (llround): Define using libm_alias_double.
22773 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22774 <libm-alias-double.h>.
22775 (lrint): Define using libm_alias_double.
22776 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22777 <libm-alias-double.h>.
22778 (lround): Define using libm_alias_double.
22779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22780 <libm-alias-double.h>.
22781 (copysign): Define using libm_alias_double.
22782 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22783 <libm-alias-double.h>.
22784 (llrint): Define using libm_alias_double.
22785 (lrint): Likewise.
22786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22787 <libm-alias-double.h>.
22788 (llround): Define using libm_alias_double.
22789 (lround): Likewise.
22790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22791 <libm-alias-double.h>.
22792 (logb): Define using libm_alias_double.
22793 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22794 <libm-alias-double.h>.
22795 (copysign): Define using libm_alias_double.
22796 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22797 <libm-alias-double.h>.
22798 (llrint): Define using libm_alias_double.
22799 (lrint): Likewise.
22800 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22801 <libm-alias-double.h>.
22802 (llround): Define using libm_alias_double.
22803 (lround): Likewise.
22804 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22805 <libm-alias-double.h>.
22806 (llround): Define using libm_alias_double.
22807 (lround): Likewise.
22808 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22809 <libm-alias-double.h>.
22810 (copysign): Define using libm_alias_double.
22811 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22812 <libm-alias-double.h>.
22813 (llrint): Define using libm_alias_double.
22814 (lrint): Likewise.
22815 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22816 <libm-alias-double.h>.
22817 (llround): Define using libm_alias_double.
22818 (lround): Likewise.
22819 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22820 <libm-alias-double.h>.
22821 (llrint): Define using libm_alias_double.
22822 (lrint): Likewise.
22823 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22824 <libm-alias-double.h>.
22825 (llround): Define using libm_alias_double.
22826 (lround): Likewise.
22827
ec2cf3f4
JM
228282017-12-01 Joseph Myers <joseph@codesourcery.com>
22829
0ddde474
JM
22830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22831 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22832 compat symbol based on llround.
22833
0d5ba561
JM
22834 * sysdeps/powerpc/power7/fpu/s_logb.c
22835 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22836 symbol based on __logb, not on logb.
22837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22838 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22840 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22841
51ea3b20
JM
22842 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22843 (rint): Define using libm_alias_double.
22844 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22845 <libm-alias-double.h>.
22846 (modf): Define using libm_alias_double.
22847 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22848 <libm-alias-double.h>.
22849 (ceil): Define using libm_alias_double.
22850 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22851 <libm-alias-double.h>.
22852 (floor): Define using libm_alias_double.
22853 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22854 <libm-alias-double.h>.
22855 (nearbyint): Define using libm_alias_double.
22856 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22857 <libm-alias-double.h>.
22858 (rint): Define using libm_alias_double.
22859 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22860 <libm-alias-double.h>.
22861 (round): Define using libm_alias_double.
22862 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22863 <libm-alias-double.h>.
22864 (trunc): Define using libm_alias_double.
22865 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22866 <libm-alias-double.h>.
22867 (ceil): Define using libm_alias_double.
22868 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22869 Include <libm-alias-double.h>.
22870 (floor): Define using libm_alias_double.
22871 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22872 <libm-alias-double.h>.
22873 (modf): Define using libm_alias_double.
22874 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22875 Include <libm-alias-double.h>.
22876 (round): Define using libm_alias_double.
22877 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22878 Include <libm-alias-double.h>.
22879 (trunc): Define using libm_alias_double.
22880 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22881 <libm-alias-double.h>.
22882 (ceil): Define using libm_alias_double.
22883 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22884 <libm-alias-double.h>.
22885 (floor): Define using libm_alias_double.
22886 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22887 <libm-alias-double.h>.
22888 (round): Define using libm_alias_double.
22889 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22890 <libm-alias-double.h>.
22891 (trunc): Define using libm_alias_double.
22892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22893 <libm-alias-double.h>.
22894 (ceil): Define using libm_alias_double.
22895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22896 <libm-alias-double.h>.
22897 (floor): Define using libm_alias_double.
22898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22899 <libm-alias-double.h>.
22900 (modf): Define using libm_alias_double.
22901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22902 <libm-alias-double.h>.
22903 (round): Define using libm_alias_double.
22904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22905 <libm-alias-double.h>.
22906 (trunc): Define using libm_alias_double.
22907 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22908 <libm-alias-double.h>.
22909 (ceil): Define using libm_alias_double.
22910 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22911 <libm-alias-double.h>.
22912 (floor): Define using libm_alias_double.
22913 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22914 <libm-alias-double.h>.
22915 (nearbyint): Define using libm_alias_double.
22916 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22917 <libm-alias-double.h>.
22918 (rint): Define using libm_alias_double.
22919 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22920 <libm-alias-double.h>.
22921 (round): Define using libm_alias_double.
22922 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22923 <libm-alias-double.h>.
22924 (trunc): Define using libm_alias_double.
22925 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22926 <libm-alias-double.h>.
22927 (ceil): Define using libm_alias_double.
22928 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22929 <libm-alias-double.h>.
22930 (floor): Define using libm_alias_double.
22931 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22932 <libm-alias-double.h>.
22933 (round): Define using libm_alias_double.
22934 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22935 <libm-alias-double.h>.
22936 (trunc): Define using libm_alias_double.
22937
ec2cf3f4
JM
22938 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22939 (fabs): Define using libm_alias_double.
22940 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22941 (fma): Define using libm_alias_double.
22942 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22943 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22944 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22945 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22946
5b7bd975
AZ
229472017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22948
0594b13f
AZ
22949 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22950
dbdfcf3b
AZ
22951 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22952 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22953 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22954
5b7bd975
AZ
22955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22956 due redirect macro.
22957
ef9ecfa6
AS
229582017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22959
22960 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22961
5b4e5e78
AZ
229622017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22963
2a14526b
AZ
22964 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22965 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22966 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22967 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22968
dbeb74ef 22969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22970 (libm-sysdep_routines): Add s_nearbyintf-generic and
22971 s_nearbyint-generic.
22972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22973 New file.
22974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22975 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22976 Likewise.
22977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22978 Likewise.
22979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22980 file.
22981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22982 Likewise.
22983
22984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22985 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22987 file.
22988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22990 Likewise.
22991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22994
fa7ded96
AZ
22995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22996 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22998 file.
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23001 Likewise.
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23005
e240cf0e
AZ
23006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23007 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23009 file.
23010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23012 Likewise.
23013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23016
5b4e5e78
AZ
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23018 (sysdep_calls): New rule.
23019 (sysdep_routines): Use sysdep_calls as base.
23020 (libm-sysdep_routines): Add generic rule for symbols shared with
23021 libc. Add s_copysign-generic and s_copysign-generic objects.
23022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23023 New file.
23024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23026 Likewise.
23027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23030
d985adae
MF
230312017-12-01 Mike FABIAN <mfabian@redhat.com>
23032
23033 [BZ #22519]
23034 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23035 the list of locales to be built for testing.
23036 * localedata/is_IS.UTF-8.in: New file.
23037 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23038 on iso14651_t1.
23039
ff84a0e0
JM
230402017-12-01 Joseph Myers <joseph@codesourcery.com>
23041
23042 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23043 <libm-alias-float.h>.
23044 (fabsf): Define using libm_alias_float.
23045
ef5d8b43
L
230462017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23047
23048 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23049
c0535adf
JM
230502017-11-30 Joseph Myers <joseph@codesourcery.com>
23051
f938b397
JM
23052 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23053 <libm-alias-float.h>.
23054 (fabsf): Define using libm_alias_float.
23055 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23056 <libm-alias-float.h>.
23057 (lrintf): Define using libm_alias_float.
23058 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23059 <libm-alias-float.h>.
23060 (rintf): Define using libm_alias_float.
23061
2251fad0
JM
23062 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23063 <libm-alias-double.h>.
23064 (fabs): Define using libm_alias_double.
23065 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23066 <libm-alias-double.h>.
23067 (lrint): Define using libm_alias_double.
23068 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23069 <libm-alias-double.h>.
23070 (rint): Define using libm_alias_double.
23071
e53df1de
JM
23072 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23073 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23074 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23075 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23076 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23077 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23078 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23079 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23080 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23081 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23082 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23083 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23084 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23085 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23086 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23087 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23088 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23089 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23090 s_atan_template.c.
23091 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23092 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23093 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23094 s_ceil_template.c.
23095 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23096 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23097 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23098 s_cos_template.c.
23099 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23100 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23101 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23102 s_expm1_template.c.
23103 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23104 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23105 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23106 s_fabs_template.c.
23107 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23108 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23109 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23110 s_floor_template.c.
23111 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23112 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23113 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23114 s_frexp_template.c.
23115 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23116 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23117 s_lrint_template.c.
23118 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23119 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23120 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23121 s_modf_template.c.
23122 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23123 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23124 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23125 s_nearbyint_template.c.
23126 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23127 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23128 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23129 s_remquo_template.c.
23130 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23131 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23132 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23133 s_rint_template.c.
23134 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23135 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23136 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23137 s_sin_template.c.
23138 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23139 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23140 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23141 s_sincos_template.c.
23142 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23143 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23144 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23145 s_tan_template.c.
23146 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23147 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23148 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23149 s_tanh_template.c.
23150 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23151 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23152 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23153 s_trunc_template.c.
23154 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23155 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23156 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23157 s_atan.c instead of including s_atan.c.
23158 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23159 s_atanf.c instead of including s_atanf.c.
23160 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23161 s_atanl.c instead of including s_atanl.c.
23162 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23163 instead of s_atan.c.
23164 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23165 instead of s_atanf.c.
23166 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23167 instead of s_atanl.c.
23168
c0535adf
JM
23169 * scripts/update-copyrights: Do not handle intl/plural.c
23170 specially.
23171
1faaf703
JB
231722017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23173
23174 [BZ #22432]
23175 * configure.ac (BISON): Require to be present.
23176 * configure: Regenerated.
23177 * intl/Makefile (generated): Add plural.c.
23178 [$(BISON) != no]: Make code unconditional.
23179 (plural.c): Change rule to $(objpfx)plural.c.
23180 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23181 * intl/plural.c: Remove.
23182 * manual/install.texi (Tools for Compilation): Document bison as
23183 required.
23184 * INSTALL: Regenerated.
23185
faec6323
JM
231862017-11-30 Joseph Myers <joseph@codesourcery.com>
23187
bd6ea9ed
JM
23188 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23189 <libm-alias-double.h>.
23190 (llrint): Define using libm_alias_double.
23191 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23192 <libm-alias-float.h>.
23193 (llrintf): Define using libm_alias_float.
23194 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23195 <libm-alias-ldouble.h>.
23196 (llrintl): Define using libm_alias_ldouble.
23197
faec6323
JM
23198 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23199 declare_mgen_alias instead of weak_alias.
23200 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23201 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23202 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23203
023cade3
AZ
232042017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23205
9e2279a0
AZ
23206 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23207 Add add_n-generic.
23208 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23209 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23210 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23211
75f37c71
AZ
23212 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23213 Add submul_1-generic.
23214 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23215 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23216 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23217
b70cbbfc 23218 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23219 Add addmul_1-generic.
23220 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23221 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23222 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23223
23224 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23225 Add sub_n-generic.
23226 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23227 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23228 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23229
023cade3
AZ
23230 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23231 Add mul_1-generic.
23232 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23233 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23234 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23235
fbb5fd03
MF
232362017-11-30 Mike FABIAN <mfabian@redhat.com>
23237
23238 According to CLDR, collation rules for Serbian and Bosnian
23239 should be the same as for Croatian.
23240
23241 [BZ #22534]
23242 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23243 and to the list of locales to be built for testing.
23244 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23245 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23246 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23247 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23248
5e56e937
MF
232492017-11-30 Mike FABIAN <mfabian@redhat.com>
23250
23251 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23252 to make test case pass.
23253 * localedata/hr_HR.UTF-8.in: Add more test strings.
23254
cf4341ca
MF
232552017-11-30 Mike FABIAN <mfabian@redhat.com>
23256
23257 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23258
363e4519 232592017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23260
23261 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23262 the list of locales to built for testing.
23263 * localedata/hr_HR.UTF-8.in: New file.
23264
363e4519 232652017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23266
23267 [BZ #10580]
23268 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23269 iso14651_t1.
23270 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23271 CLDR (except use ligatures for the digraphs, CLDR does not use
23272 the ligatures), add first_workday, some fixes in the date and time
23273 formats.
23274 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23275 for Đ and đ.
23276 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23277 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23278 Add int_p_cs_precedes and int_n_cs_precedes.
23279 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23280 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23281 LC_MONETARY now).
23282 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23283 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23284 name_miss.
23285 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23286 and lang_lib. Change postal_fmt.
23287
f33632cc
L
232882017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23289
23290 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23291 <setjmp.h>.
23292 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23293 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23294 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23295 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23296 * sysdeps/generic/setjmpP.h: New file.
23297 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23298 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23299 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23300 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23301 Add jmp_buf-ssp.sym.
23302 (tests): Add tst-saved_mask-1.
23303
34697694
AS
233042017-11-30 Arjun Shankar <arjun@redhat.com>
23305
23306 [BZ #22375]
37ac8e63 23307 CVE-2017-17426
34697694
AS
23308 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23309 instead of request2size.
23310
3e5efdbd
JM
233112017-11-30 Joseph Myers <joseph@codesourcery.com>
23312
18305fba
JM
23313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23314 (__lllrint): Remove alias.
23315 (lllrint): Likewise.
23316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23317 (__lllrintf): Likewise.
23318 (lllrintf): Likewise.
23319
3e5efdbd
JM
23320 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23321 <libm-alias-float.h>.
23322 (copysignf): Define using libm_alias_float.
23323 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23324 <libm-alias-float.h>.
23325 (fabsf): Define using libm_alias_float.
23326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23327 Include <libm-alias-float.h>.
23328 (copysignf): Define using libm_alias_float.
23329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23330 <libm-alias-float.h>.
23331 (fabsf): Define using libm_alias_float.
23332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23333 <libm-alias-float.h>.
23334 (fdimf): Define using libm_alias_float.
23335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23336 <libm-alias-float.h>.
23337 (fmaf): Define using libm_alias_float.
23338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23339 <libm-alias-float.h>.
23340 (llrintf): Define using libm_alias_float.
23341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23342 Include <libm-alias-float.h>.
23343 (nearbyintf): Define using libm_alias_float.
23344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23345 <libm-alias-float.h>.
23346 (rintf): Define using libm_alias_float.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23348 <libm-alias-float.h>.
23349 (llrintf): Define using libm_alias_float.
23350 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23351 <libm-alias-float.h>.
23352 (lrintf): Define using libm_alias_float.
23353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23354 <libm-alias-float.h>.
23355 (nearbyintf): Define using libm_alias_float.
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23357 <libm-alias-float.h>.
23358 (rintf): Define using libm_alias_float.
23359 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23360 <libm-alias-float.h>.
23361 (ceilf): Define using libm_alias_float.
23362 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23363 <libm-alias-float.h>.
23364 (floorf): Define using libm_alias_float.
23365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23366 <libm-alias-float.h>.
23367 (fmaf): Define using libm_alias_float.
23368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23369 <libm-alias-float.h>.
23370 (lrintf): Define using libm_alias_float.
23371 (llrintf): Likewise.
23372 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23373 <libm-alias-float.h>.
23374 (nearbyintf): Define using libm_alias_float.
23375 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23376 <libm-alias-float.h>.
23377 (rintf): Define using libm_alias_float.
23378 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23379 <libm-alias-float.h>.
23380 (truncf): Define using libm_alias_float.
23381 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23382 <libm-alias-float.h>.
23383 (copysignf): Define using libm_alias_float.
23384 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23385 <libm-alias-float.h>.
23386 (fabsf): Define using libm_alias_float.
23387 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23388 <libm-alias-float.h>.
23389 (lrintf): Define using libm_alias_float.
23390 (llrintf): Likewise.
23391 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23392 <libm-alias-float.h>.
23393 (nearbyintf): Define using libm_alias_float.
23394 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23395 <libm-alias-float.h>.
23396 (rintf): Define using libm_alias_float.
23397
011fba7e
JM
233982017-11-29 Joseph Myers <joseph@codesourcery.com>
23399
875cd548
JM
23400 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23401 <libm-alias-double.h>.
23402 (copysign): Define using libm_alias_double.
23403 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23404 <libm-alias-double.h>.
23405 (fabs): Define using libm_alias_double.
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23407 Include <libm-alias-double.h>.
23408 (copysign): Define using libm_alias_double.
23409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23410 <libm-alias-double.h>.
23411 (fabs): Define using libm_alias_double.
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23413 <libm-alias-double.h>.
23414 (fdim): Define using libm_alias_double.
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23416 <libm-alias-double.h>.
23417 (fma): Define using libm_alias_double.
23418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23419 <libm-alias-double.h>.
23420 (llrint): Define using libm_alias_double.
23421 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23422 Include <libm-alias-double.h>.
23423 (nearbyint): Define using libm_alias_double.
23424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23425 <libm-alias-double.h>.
23426 (rint): Define using libm_alias_double.
23427 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23428 <libm-alias-double.h>.
23429 (fabs): Define using libm_alias_double.
23430 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23431 <libm-alias-double.h>.
23432 (llrint): Define using libm_alias_double.
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23434 <libm-alias-double.h>.
23435 (nearbyint): Define using libm_alias_double.
23436 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23437 <libm-alias-double.h>.
23438 (rint): Define using libm_alias_double.
23439 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23440 <libm-alias-double.h>.
23441 (ceil): Define using libm_alias_double.
23442 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23443 <libm-alias-double.h>.
23444 (floor): Define using libm_alias_double.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23446 <libm-alias-double.h>.
23447 (fma): Define using libm_alias_double.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23449 <libm-alias-double.h>.
23450 (lrint): Define using libm_alias_double.
23451 (llrint): Likewise.
23452 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23453 <libm-alias-double.h>.
23454 (nearbyint): Define using libm_alias_double.
23455 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23456 <libm-alias-double.h>.
23457 (rint): Define using libm_alias_double.
23458 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23459 <libm-alias-double.h>.
23460 (trunc): Define using libm_alias_double.
23461 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23462 <libm-alias-double.h>.
23463 (copysign): Define using libm_alias_double.
23464 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23465 <libm-alias-double.h>.
23466 (fabs): Define using libm_alias_double.
23467 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23468 <libm-alias-double.h>.
23469 (lrint): Define using libm_alias_double.
23470 (llrint): Likewise.
23471 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23472 <libm-alias-double.h>.
23473 (nearbyint): Define using libm_alias_double.
23474 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23475 <libm-alias-double.h>.
23476 (rint): Define using libm_alias_double.
23477
cf4ebc27
JM
23478 [BZ #22229]
23479 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23480 <math_ldbl_opt.h>.
23481 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23482
0c097378
JM
23483 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23484 SPARC --disable-multi-arch glibc variants.
23485
34bb10aa
JM
23486 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23487 <libm-alias-float.h>.
23488 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23489 if [SHARED].
23490 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23491 <libm-alias-float.h>.
23492 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23493 if [SHARED].
23494 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23495 <libm-alias-float.h>.
23496 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23497 if [SHARED].
23498 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23499 <libm-alias-float.h>.
23500 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23501 if [SHARED].
23502 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23503 <libm-alias-float.h>.
23504 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23505 if [SHARED].
23506 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23507 <libm-alias-float.h>.
23508 (ceilf): Define using libm_alias_float.
23509 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23510 <libm-alias-float.h>.
23511 (floorf): Define using libm_alias_float.
23512 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23513 <libm-alias-float.h>.
23514 (fmaf): Define using libm_alias_float.
23515 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23516 <libm-alias-float.h>.
23517 (nearbyintf): Define using libm_alias_float.
23518 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23519 <libm-alias-float.h>.
23520 (rintf): Define using libm_alias_float.
23521 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23522 <libm-alias-float.h>.
23523 (truncf): Define using libm_alias_float.
23524 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23525 (copysignf): Define using libm_alias_float.
23526 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23527 (cosf): Define using libm_alias_float.
23528 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23529 (fabsf): Define using libm_alias_float.
23530 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23531 (fmaxf): Define using libm_alias_float.
23532 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23533 (fminf): Define using libm_alias_float.
23534 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23535 (llrintf): Define using libm_alias_float.
23536 [!__ILP32__] (lrintf): Likewise.
23537 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23538 (sincosf): Define using libm_alias_float.
23539 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23540 (sinf): Define using libm_alias_float.
23541 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23542 (lrintf): Define using libm_alias_float.
23543
011fba7e
JM
23544 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23545 <libm-alias-double.h>.
23546 (atan): Define using libm_alias_double.
23547 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23548 <libm-alias-double.h>.
23549 (ceil): Define using libm_alias_double.
23550 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23551 <libm-alias-double.h>.
23552 (floor): Define using libm_alias_double.
23553 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23554 <libm-alias-double.h>.
23555 (fma): Define using libm_alias_double.
23556 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23557 <libm-alias-double.h>.
23558 (nearbyint): Define using libm_alias_double.
23559 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23560 <libm-alias-double.h>.
23561 (rint): Define using libm_alias_double.
23562 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23563 <libm-alias-double.h>.
23564 (sin): Define using libm_alias_double.
23565 (cos): Likewise.
23566 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23567 <libm-alias-double.h>.
23568 (tan): Define using libm_alias_double.
23569 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23570 <libm-alias-double.h>.
23571 (trunc): Define using libm_alias_double.
23572 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23573 (copysign): Define using libm_alias_double.
23574 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23575 (fabs): Define using libm_alias_double.
23576 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23577 (fmax): Define using libm_alias_double.
23578 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23579 (fmin): Define using libm_alias_double.
23580 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23581 (llrint): Define using libm_alias_double.
23582 [!__ILP32__] (lrint): Likewise.
23583 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23584 (lrint): Define using libm_alias_double.
23585
1cbd7bfe
AZ
235862017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23587
21bfcc3d
AZ
23588 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23589 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23590 objects.
23591 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23592 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23593 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23594 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23595 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23596 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23597
522228dd
AZ
23598 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23599 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23600 objects.
23601 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23602 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23603 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23604 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23605 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23606 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23607
2a6f4fab
AZ
23608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23609 (libm-sysdep_routines): Add s_nearbyint-generic and
23610 s_nearbyintf-generic objects.
23611 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23612 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23613 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23614 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23615 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23616 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23617
712b5b83
AZ
23618 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23619 Add s_finitef-generic and s_finite-generic objects.
23620 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23621 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23622 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23623 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23624 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23625 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23626
c96d3335
AZ
23627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23628 Add s_isinff-generic and s_isinf-generic objects.
23629 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23630 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23631 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23632 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23633 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23634 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23635
c6862a23
AZ
23636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23637 Add s_isnanf-generic and s_isnan-generic objects.
23638 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23639 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23640 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23641 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23642 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23643 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23644
1cbd7bfe
AZ
23645 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23646 macro.
23647 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23648 rule.
23649 (sysdep_routines): Use sysdep_calls as base.
23650 (libm-sysdep_routines): Add generic rule for symbols shared with
23651 libc. Add s_signbit-generic and s_signbitf-generic objects.
23652 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23653 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23654 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23658
aa1142c5
JM
236592017-11-29 Joseph Myers <joseph@codesourcery.com>
23660
23661 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23662 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23663 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23664 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23665 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23666 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23667 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23668 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23669 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23670 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23671 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23672 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23673 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23674 libm_alias_float_r.
23675 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23676 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23677 (logf): Likewise.
23678 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23679 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23680 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23681 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23682 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23683 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23684 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23685 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23686 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23687 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23688 libm_alias_float.
23689 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23690 (cosf): Likewise.
23691 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23692 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23693 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23694 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23695 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23696 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23697 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23698 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23699 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23700 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23701 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23702 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23703 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23704 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23705 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23706 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23707 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23708 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23709 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23710 libm_alias_float.
23711 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23712 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23713 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23714 * sysdeps/ia64/fpu/w_lgammaf_main.c
23715 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23716 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23717
363e4519
DL
237182017-11-28 Mike FABIAN <mfabian@redhat.com>
23719 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23720
23721 [BZ #17750]
23722 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23723 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23724 accents sorting.
23725 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23726 sorting.
23727 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23728 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23729 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23730 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23731 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23732 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23733 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23734 instead of “ifdef DIACRIT_BACKWARD”.
23735
a55430cb
AZ
237362017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23737
23738 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23739 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23740 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23741 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23742 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23743 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23744 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23745 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23746 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23747 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23748 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23749 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23750 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23751 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23752 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23753 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23754 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23755 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23757 ($(have-as-vis3) == yes): Remove conditional.
23758 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23759 Likewise.
23760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23761 file.
23762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23763 file.
23764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23765 file.
23766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23767 file.
23768 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23769 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23770 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23771 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23772 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23773 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23774 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23775 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23776
0609ec0a
JM
237772017-11-29 Joseph Myers <joseph@codesourcery.com>
23778
23779 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23780 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23781 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23782 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23783 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23784 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23785 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23786 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23787 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23788 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23789 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23790 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23791 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23792 libm_alias_double_r.
23793 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23794 (log): Likewise.
23795 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23796 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23797 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23798 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23799 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23800 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23801 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23802 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23803 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23804 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23805 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23806 libm_alias_double.
23807 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23808 (cos): Likewise.
23809 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23810 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23811 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23812 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23813 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23814 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23815 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23816 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23817 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23818 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23819 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23820 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23821 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23822 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23823 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23824 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23825 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23826 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23827 libm_alias_double.
23828 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23829 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23830 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23831 * sysdeps/ia64/fpu/w_lgamma_main.c
23832 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23833 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23834
d5bfa34a
JDA
238352017-11-28 John David Anglin <danglin@gcc.gnu.org>
23836
23837 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23838 address of $global$ into %dp register earlier. Use pc-relative
23839 instruction sequence for PIC case.
23840
bc4e8f9b
JM
238412017-11-28 Joseph Myers <joseph@codesourcery.com>
23842
e4602cba
JM
23843 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23844 (asinhf): Define using libm_alias_float.
23845 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23846 (atanf): Define using libm_alias_float.
23847 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23848 (cbrtf): Define using libm_alias_float.
23849 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23850 (ceilf): Define using libm_alias_float.
23851 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23852 (copysignf): Define using libm_alias_float.
23853 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23854 (expm1f): Define using libm_alias_float.
23855 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23856 (fabsf): Define using libm_alias_float.
23857 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23858 (floorf): Define using libm_alias_float.
23859 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23860 (fmaxf): Define using libm_alias_float.
23861 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23862 (fminf): Define using libm_alias_float.
23863 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23864 (frexpf): Define using libm_alias_float.
23865 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23866 (llrintf): Define using libm_alias_float.
23867 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23868 (logbf): Define using libm_alias_float.
23869 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23870 (lrintf): Define using libm_alias_float.
23871 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23872 (nearbyintf): Define using libm_alias_float.
23873 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23874 (remquof): Define using libm_alias_float.
23875 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23876 (rintf): Define using libm_alias_float.
23877 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23878 (truncf): Define using libm_alias_float.
23879 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23880 <libm-alias-float.h>.
23881 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23882 if [SHARED].
23883 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23884 <libm-alias-float.h>.
23885 (expf): Define using libm_alias_float, or libm_alias_float_other
23886 if [SHARED].
23887 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23888 <libm-alias-float.h>.
23889 (log2f): Define using libm_alias_float, or libm_alias_float_other
23890 if [SHARED].
23891 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23892 <libm-alias-float.h>.
23893 (logf): Define using libm_alias_float, or libm_alias_float_other
23894 if [SHARED].
23895 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23896 <libm-alias-float.h>.
23897 (powf): Define using libm_alias_float, or libm_alias_float_other
23898 if [SHARED].
23899 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23900 <libm-alias-float.h>.
23901 (cosf): Define using libm_alias_float.
23902 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23903 <libm-alias-float.h>.
23904 (sincosf): Define using libm_alias_float.
23905 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23906 <libm-alias-float.h>.
23907 (sinf): Define using libm_alias_float.
23908 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23909 (fmaxf): Define using libm_alias_float.
23910 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23911 (fminf): Define using libm_alias_float.
23912 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23913 <libm-alias-float.h>.
23914 (fmaf): Define using libm_alias_float.
23915
bc4e8f9b
JM
23916 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23917 (asinh): Define using libm_alias_double.
23918 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23919 (atan): Define using libm_alias_double.
23920 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23921 (cbrt): Define using libm_alias_double.
23922 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23923 (ceil): Define using libm_alias_double.
23924 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23925 (copysign): Define using libm_alias_double.
23926 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23927 (expm1): Define using libm_alias_double.
23928 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23929 (fabs): Define using libm_alias_double.
23930 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23931 (fdim): Define using libm_alias_double.
23932 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23933 (floor): Define using libm_alias_double.
23934 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23935 (fmax): Define using libm_alias_double.
23936 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23937 (fmin): Define using libm_alias_double.
23938 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23939 (frexp): Define using libm_alias_double.
23940 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23941 (llrint): Define using libm_alias_double.
23942 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23943 (logb): Define using libm_alias_double.
23944 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23945 (lrint): Define using libm_alias_double.
23946 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23947 (nearbyint): Define using libm_alias_double.
23948 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23949 (remquo): Define using libm_alias_double.
23950 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23951 (rint): Define using libm_alias_double.
23952 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23953 (trunc): Define using libm_alias_double.
23954 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23955 (fmax): Define using libm_alias_double.
23956 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23957 (fmin): Define using libm_alias_double.
23958 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23959 (fma): Define using libm_alias_double.
23960
8d81ce0c
L
239612017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23962
23963 [BZ #22370]
23964 * elf/dl-hwcaps.c (ROUND): Removed.
23965 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23966 and ELF_NOTE_NEXT_OFFSET.
23967 * elf/dl-load.c (ROUND): Removed.
23968 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23969 * elf/readelflib.c (ROUND): Removed.
23970 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23971 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23972 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23973 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23974
6940bd96
JM
239752017-11-28 Joseph Myers <joseph@codesourcery.com>
23976
313ba463
JM
23977 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23978 [!__fmaf] (fmaf): Define using libm_alias_float.
23979
6940bd96
JM
23980 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23981 [!__fma] (fma): Define using libm_alias_double.
23982 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23983
22c69b6a
MF
239842017-11-28 Mike FABIAN <mfabian@redhat.com>
23985
23986 [BZ #22336]
23987 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23988 and implement the collation rules for cs from CLDR on top of that.
23989 * Makefile: Add cs_CZ.UTF-8 to test-input.
23990 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23991
8d7d3ba8
SP
239922017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23993
23994 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23995
0422ed1e
VR
239962017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23997 Icarus Sparry <icarus.w.sparry@intel.com>
23998
23999 * benchtests/Makefile:Add BENCHSET to allow subsets of
24000 benchmarks to be run.
24001 * benchtests/README: Add documentation for: Running subsets of
24002 benchmarks.
24003
0595e360
VR
240042017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24005
d5090db3
VR
24006 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24007 range of tests names.
24008
0595e360
VR
24009 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24010 result from property and remove "max", min" and "mean" from
24011 required properties based on benchtests/bench-skeleton.c.
24012
b4c645c2
FW
240132017-11-28 Florian Weimer <fweimer@redhat.com>
24014
24015 [BZ #20826]
24016 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24017 due to Internet requirement.
24018 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24019 tst-getaddrinfo5.
24020 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24021
88684de7
AZ
240222017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24023
69056564
AZ
24024 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24025 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24026 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24027 (sysdep_routines): Add memset-ultra1.
24028 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24029 file.
24030 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24031 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24032 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24033 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24034 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24035 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24036 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24037 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24038
88684de7
AZ
24039 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24040 file.
24041 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24042 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24043 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24044 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24045 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24046 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24047 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24048 macro.
24049 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24050 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24051 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24052 (sysdep_routines): Add memcpy-ultra1.
24053 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24054 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24055
d8124864
JM
240562017-11-28 Joseph Myers <joseph@codesourcery.com>
24057
f433d0b3
JM
24058 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24059 (cfloat_versions): Take function argument without trailing 'f'.
24060 Call libm_alias_float_other.
24061 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24062 * sysdeps/alpha/fpu/cargf.c: Likewise.
24063 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24064 * sysdeps/alpha/fpu/conjf.c: Likewise.
24065 * sysdeps/alpha/fpu/crealf.c: Likewise.
24066 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24067 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24068 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24069 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24070 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24071 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24072 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24073 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24074 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24075 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24076 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24077 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24078 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24079 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24080 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24081 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24082 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24083 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24084 (clog10f): Use libm_alias_float_other.
24085 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24086 (ceilf): Define using libm_alias_float.
24087 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24088 (copysignf): Define using libm_alias_float.
24089 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24090 (fabsf): Define using libm_alias_float.
24091 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24092 (floorf): Define using libm_alias_float.
24093 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24094 (fmaxf): Define using libm_alias_float.
24095 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24096 (fminf): Define using libm_alias_float.
24097 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24098 (lrintf): Define using libm_alias_float.
24099 (llrintf): Likewise.
24100 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24101 (lroundf): Define using libm_alias_float.
24102 (llroundf): Likewise.
24103 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24104 (rintf): Define using libm_alias_float.
24105 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24106 (truncf): Define using libm_alias_float.
24107
15ff4900
JM
24108 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24109 (ceilf): Define using libm_alias_float.
24110 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24111 (floorf): Define using libm_alias_float.
24112 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24113 (fmaf): Define using libm_alias_float.
24114 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24115 (fmaxf): Define using libm_alias_float.
24116 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24117 (fminf): Define using libm_alias_float.
24118 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24119 (llrintf): Define using libm_alias_float.
24120 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24121 (llroundf): Define using libm_alias_float.
24122 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24123 (lrintf): Define using libm_alias_float.
24124 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24125 (lroundf): Define using libm_alias_float.
24126 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24127 <libm-alias-float.h>.
24128 (nearbyintf): Define using libm_alias_float.
24129 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24130 (rintf): Define using libm_alias_float.
24131 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24132 (roundf): Define using libm_alias_float.
24133 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24134 (truncf): Define using libm_alias_float.
24135
5de60638
JM
24136 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24137 (ceil): Define using libm_alias_double.
24138 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24139 (copysign): Define using libm_alias_double.
24140 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24141 (fabs): Define using libm_alias_double.
24142 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24143 (floor): Define using libm_alias_double.
24144 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24145 (fmax): Define using libm_alias_double.
24146 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24147 (fmin): Define using libm_alias_double.
24148 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24149 (lrint): Define using libm_alias_double.
24150 (llrint): Likewise.
24151 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24152 (lround): Define using libm_alias_double.
24153 (llround): Likewise.
24154 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24155 (rint): Define using libm_alias_double.
24156 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24157 (trunc): Define using libm_alias_double.
24158
d8124864
JM
24159 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24160 (libm_alias_double_r): Add semicolon after weak_alias call.
24161
f07d2ec8
JM
241622017-11-27 Joseph Myers <joseph@codesourcery.com>
24163
24164 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24165 (ceil): Define using libm_alias_double.
24166 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24167 (floor): Define using libm_alias_double.
24168 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24169 (fma): Define using libm_alias_double.
24170 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24171 (fmax): Define using libm_alias_double.
24172 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24173 (fmin): Define using libm_alias_double.
24174 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24175 (llrint): Define using libm_alias_double.
24176 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24177 (llround): Define using libm_alias_double.
24178 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24179 (lrint): Define using libm_alias_double.
24180 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24181 (lround): Define using libm_alias_double.
24182 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24183 (nearbyint): Define using libm_alias_double.
24184 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24185 (rint): Define using libm_alias_double.
24186 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24187 (round): Define using libm_alias_double.
24188 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24189 (trunc): Define using libm_alias_double.
24190
4bab0224
FW
241912017-11-27 Florian Weimer <fweimer@redhat.com>
24192
24193 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24194 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24195 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24196 (tests): Add tst-mlock2.
24197 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24198 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24199 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24200 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24201 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24202 for mlock. Document mlock2.
24203
a23aa5b7
JM
242042017-11-27 Joseph Myers <joseph@codesourcery.com>
24205
24206 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24207 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24208 Likewise.
24209 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24210 Likewise.
24211 * sysdeps/x86/Makeconfig: New file.
24212 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24213 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24214 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24215 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24216 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24217 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24218 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24219 Likewise.
24220 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24221 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24222 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24223 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24224 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24225 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24226 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24227 * manual/math.texi (Mathematics): Document support for _Float64x.
24228 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24229 * stdlib/Versions (GLIBC_2.27): Likewise.
24230 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24231 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24232 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24233 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24234 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24235 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24236 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24237 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24238 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24239 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24240 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24241 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24243 Likewise.
24244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24245 Likewise.
24246 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24247 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24248 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24250 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24251 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24252 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24253 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24254 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24255 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24256 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24257 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24258 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24259 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24260
c2c299fd
AS
242612017-11-27 Andreas Schwab <schwab@suse.de>
24262
24263 * elf/Makefile (dl-routines): Add dl-sort-maps.
24264 * elf/dl-sort-maps.c: New file.
24265 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24266 (_dl_sort_maps): Declare.
24267 * elf/dl-fini.c (_dl_sort_fini): Remove.
24268 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24269 * elf/dl-close.c (_dl_close_worker): Likewise.
24270 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24271 open-coding it.
24272 * elf/dl-open.c (dl_open_worker): Likewise.
24273
9d4b0117
JM
242742017-11-24 Joseph Myers <joseph@codesourcery.com>
24275
de61465c
JM
24276 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24277 using libm_alias_float128.
24278 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24279 Likewise.
24280 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24281 Likewise.
24282 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24283 (setpayloadsigf128): Likewise.
24284 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24285 Likewise.
24286 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24287 Likewise.
24288
9ae6d171
JM
24289 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24290 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24291 -mfloat128 to CFLAGS.
24292 ($(foreach
24293 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24294 Likewise.
24295 (CFLAGS-libm-test-support-float64x.c): New variable.
24296 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24297 $(f128-loader-link) to gnulib-tests.
24298
6e70d156
JM
24299 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24300 (libm_alias_float128_other_r): If
24301 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24302 alias.
24303 (libm_alias_float128_r): Add semicolon after weak_alias call.
24304 * sysdeps/generic/libm-alias-ldouble.h
24305 (libm_alias_ldouble_other_r_f128): New macro.
24306 (libm_alias_ldouble_other_r_f64x): Likewise.
24307 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24308 and libm_alias_ldouble_other_r_f64x.
24309 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24310 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24311 (libm_alias_ldouble_other_r_f128): New macro.
24312 (libm_alias_ldouble_other_r_f64x): Likewise.
24313 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24314 and libm_alias_ldouble_other_r_f64x.
24315
df2806cd
JM
24316 * stdlib/strfroml.c: Always include <stdlib.h>.
24317 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24318 undefine as macro and define as weak alias.
24319 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24320 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24321 <stdlib.h>.
24322 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24323 Define and later undefine as macro and define as weak alias.
24324
0df4fe35
JM
24325 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24326 Define and later undefine as macro. Define as weak alias if
24327 [!USE_WIDE_CHAR].
24328 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24329 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24330 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24331 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24332 Define and later undefine as macro. Define as weak alias if
24333 [!USE_WIDE_CHAR].
24334 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24335 Define and later undefine as macro. Define as weak alias if
24336 [USE_WIDE_CHAR].
24337 * sysdeps/ieee754/float128/strtof128_l.c
24338 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24339 Define and later undefine as macro. Define as weak alias if
24340 [!USE_WIDE_CHAR].
24341 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24342 Define and later undefine as macro. Define as weak alias if
24343 [USE_WIDE_CHAR].
24344 * sysdeps/ieee754/ldbl-128/strtold_l.c
24345 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24346 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24347 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24348 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24349 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24350 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24351 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24352 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24353 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24354 * sysdeps/ieee754/ldbl-96/strtold_l.c
24355 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24356 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24357 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24358 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24359
ae7207d0
JM
24360 * math/test-float64x.h: New file.
24361 * math/Makefile (type-float64x-yes): New variable.
24362 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24363
9596fc69
JM
24364 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24365 function-like macro.
24366 (min_of_type_): Likewise.
24367 (min_of_type_l): Likewise.
24368 (min_of_type_f128): Likewise.
24369 (min_of_type): Pass () as last argument of __MATH_TG.
24370
46453c3c
JM
24371 * stdlib/tst-strtod-round-skeleton.c
24372 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24373 headers.
24374
01e659e7
JM
24375 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24376 for combinations of long double with _Float64 and _Float64x.
24377
5c60afdd
JM
24378 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24379 (__DECL_SIMD_cosf32): Likewise.
24380 (__DECL_SIMD_cosf64): Likewise.
24381 (__DECL_SIMD_cosf32x): Likewise.
24382 (__DECL_SIMD_cosf64x): Likewise.
24383 (__DECL_SIMD_cosf128x): Likewise.
24384 (__DECL_SIMD_sinf16): Likewise.
24385 (__DECL_SIMD_sinf32): Likewise.
24386 (__DECL_SIMD_sinf64): Likewise.
24387 (__DECL_SIMD_sinf32x): Likewise.
24388 (__DECL_SIMD_sinf64x): Likewise.
24389 (__DECL_SIMD_sinf128x): Likewise.
24390 (__DECL_SIMD_sincosf16): Likewise.
24391 (__DECL_SIMD_sincosf32): Likewise.
24392 (__DECL_SIMD_sincosf64): Likewise.
24393 (__DECL_SIMD_sincosf32x): Likewise.
24394 (__DECL_SIMD_sincosf64x): Likewise.
24395 (__DECL_SIMD_sincosf128x): Likewise.
24396 (__DECL_SIMD_logf16): Likewise.
24397 (__DECL_SIMD_logf32): Likewise.
24398 (__DECL_SIMD_logf64): Likewise.
24399 (__DECL_SIMD_logf32x): Likewise.
24400 (__DECL_SIMD_logf64x): Likewise.
24401 (__DECL_SIMD_logf128x): Likewise.
24402 (__DECL_SIMD_expf16): Likewise.
24403 (__DECL_SIMD_expf32): Likewise.
24404 (__DECL_SIMD_expf64): Likewise.
24405 (__DECL_SIMD_expf32x): Likewise.
24406 (__DECL_SIMD_expf64x): Likewise.
24407 (__DECL_SIMD_expf128x): Likewise.
24408 (__DECL_SIMD_powf16): Likewise.
24409 (__DECL_SIMD_powf32): Likewise.
24410 (__DECL_SIMD_powf64): Likewise.
24411 (__DECL_SIMD_powf32x): Likewise.
24412 (__DECL_SIMD_powf64x): Likewise.
24413 (__DECL_SIMD_powf128x): Likewise.
24414
9d4b0117
JM
24415 * stdlib/Versions (libc): Move entries for wcstof128 and
24416 wcstof128_l to ....
24417 * wcsmbs/Versions (libc): ... here.
24418 Include <float128-abi.h>.
24419
7911dd47
FW
244202017-11-24 Florian Weimer <fweimer@redhat.com>
24421
24422 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24423 bits/mman-shared.h.
24424 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24425 <bits/mman-shared.h>.
24426 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24427 to ...
24428 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24429 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24430 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24431 <bits/mman-shared.h>.
24432
c45d78aa
AZ
244332017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24434
24435 [BZ #22457]
24436 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24437 posix_memalign/free.
24438 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24439
3ffc4cc1
MF
244402017-11-22 Mike FABIAN <mfabian@redhat.com>
24441
24442 [BZ #22469]
24443 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24444 and implement the collation rules for pl from CLDR on top of that.
24445 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24446 of locales to be built for testing.
24447 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24448
3a327316
JM
244492017-11-23 Joseph Myers <joseph@codesourcery.com>
24450
24451 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24452 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24453 libm_alias_ldouble_other.
24454 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24455 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24456 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24457 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24458 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24459 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24460 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24461 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24462 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24463 libm_alias_ldouble_r.
24464 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24465 libm_alias_ldouble_other.
24466 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24467 (log10l): Likewise.
24468 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24469 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24470 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24471 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24472 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24473 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24474 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24475 (atan2l): Likewise.
24476 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24477 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24478 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24479 libm_alias_ldouble.
24480 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24481 (cosl): Likewise.
24482 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24483 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24484 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24485 (expl): Likewise.
24486 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24487 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24488 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24489 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24490 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24491 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24492 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24493 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24494 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24495 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24496 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24497 libm_alias_ldouble.
24498 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24499 libm_alias_ldouble_other.
24500 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24501 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24502 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24503 libm_alias_ldouble.
24504 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24505 libm_alias_ldouble_other.
24506 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24507 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24508 * sysdeps/ia64/fpu/w_lgammal_main.c
24509 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24510 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24511
0a947e06
FW
245122017-11-23 Florian Weimer <fweimer@redhat.com>
24513
24514 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24515 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24516 alike. Remove freeres marker.
24517 * malloc/arena.c (arena_thread_freeres): Call
24518 tcache_thread_shutdown.
24519
67f36c79
FW
245202017-11-23 Florian Weimer <fweimer@redhat.com>
24521
24522 [BZ #22459]
24523 Export nscd hash function as __nss_hash.
24524 * include/nss.h (__nss_hash): Declare.
24525 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24526 symbol.
24527 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24528 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24529 of __nscd_hash.
24530 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24531 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24532 * nss/Makefiles (routines): Add nss_hash.
24533 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24534 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24535 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24536 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24537
cccb6d4e
FW
245382017-11-23 Florian Weimer <fweimer@redhat.com>
24539
24540 [BZ #22478]
24541 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24542 Return error code, not -1.
24543 * signal/tst-sigwait-eintr.c: New file.
24544 * signal/Makefile (tests): Add tst-sigwait-eintr.
24545
59d2cbb1
FW
245462017-11-23 Florian Weimer <fweimer@redhat.com>
24547
24548 Linux: Add memfd_create system call wrapper
24549 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24550 tst-memfd_create.
24551 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24552 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24553 [__USE_GNU] (memfd_create): Declare.
24554 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24555 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24556 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24557 * sysdeps/unix/sysv/linux/**.abilist: Update.
24558 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24559
a90d1ac2
JM
245602017-11-22 Joseph Myers <joseph@codesourcery.com>
24561
0a9d1d62
JM
24562 * localedata/gen-locale.sh: Fix typo in variable name.
24563
754034c4
JM
24564 * resolv/res_debug.c (p_secstodate): Condition definition on
24565 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24566 directly as __p_secstodate, and as a compat symbol. Do not use
24567 libresolv_hidden_def.
24568 * resolv/resolv.h (p_secstodate): Remove macro and function
24569 declaration.
24570 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24571 using p_secstodate.
24572 * include/resolv.h (__p_secstodate): Do not use
24573 libresolv_hidden_proto.
24574 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24575 (tests-internal): ... here.
24576 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24577 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24578 and declare and use __p_secstodate and use compat_symbol_reference
24579 in that case.
24580 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24581 implementation returning 77.
24582
f120cda6
JM
24583 [BZ #22463]
24584 * resolv/res_debug.c: Include <libc-diag.h>.
24585 (p_secstodate): Assert time_t at least as wide as u_long. On
24586 overflow, use integer seconds since the epoch as output, or use
24587 "<overflow>" as output and set errno to EOVERFLOW if integer
24588 seconds since the epoch would be 14 or more characters.
24589 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24590 for sprintf call.
24591 * resolv/tst-p_secstodate.c: New file.
24592 * resolv/Makefile (tests): Add tst-p_secstodate.
24593 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24594
a90d1ac2
JM
24595 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24596 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24597 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24598
0285e6bd
PE
245992017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24600
24601 * posix/regcomp.c (init_word_char): Add comments.
24602
4bae6150
JM
246032017-11-22 Joseph Myers <joseph@codesourcery.com>
24604
24605 [BZ #22447]
24606 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24607 strlen to compute length of ut_user and set trailing NUL byte of
24608 result explicitly.
24609
4b7af5fc
MF
246102017-11-21 Mike FABIAN <mfabian@redhat.com>
24611
24612 [BZ #15537]
24613 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24614 using “copy "iso14651_t1"” and then implementing the
24615 collation rules for lv from CLDR on top of that.
24616 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24617 of locales to be built for testing.
24618 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24619 sorting.
24620
922bb78c
JM
246212017-11-21 Joseph Myers <joseph@codesourcery.com>
24622
24623 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24624 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24625 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24626 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24627 [__USE_MISC] (MADV_HWPOISON): New macro.
24628 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24629
a3aaa598
AZ
246302017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24631
24632 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24633 -Wmissing-braces on GCC 4.9.
24634
8beba15d
SL
246352017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24636
24637 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24638 * sysdeps/s390/s390-32/start.S (_start): Likewise
24639 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24640 (thread_start): Likewise.
24641 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24642 (thread_start): Likewise.
24643 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24644 (__makecontext_ret): Likewise.
24645 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24646 (__makecontext_ret): Likewise.
24647
80eb52e3
SL
246482017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24649
24650 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24651 __wcschrnul): Remove attribute_hidden.
24652
567d8c1f
PE
246532017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24654
24655 regex: don't assume uint64_t or uint32_t
24656 This avoids -Werror=overflow errors for 32-bit systems in
24657 the 64-bit case. Problem reported by Joseph Myers in:
24658 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24659 Also, when this code is used in Gnulib it ports to platforms
24660 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24661 them, and on some 32-bit compilers there is no uint64_t.
24662 Problem reported by Gianluigi Tiesi in:
24663 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24664 * posix/regcomp.c (init_word_char): Don't assume that the types
24665 uint64_t and uint32_t exist. Adapted from Gnulib patch
24666 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24667 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24668
4d7632ff
SP
246692017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24670
5a67c4fa
SP
24671 * sysdeps/aarch64/memset-reg.h: New file.
24672 * sysdeps/aarch64/memset.S: Use it.
24673 (__memset): Rename to MEMSET macro.
24674 [ZVA_MACRO]: Use zva_macro.
24675 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24676 Add memset_generic and memset_falkor.
24677 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24678 (__libc_ifunc_impl_list): Add memset ifuncs.
24679 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24680 local variable zva_size.
24681 * sysdeps/aarch64/multiarch/memset.c: New file.
24682 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24683 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24684 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24685 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24686 (DCZID_DZP_MASK): New macro.
24687 (DCZID_BS_MASK): Likewise.
24688 (init_cpu_features): Read and set zva_size.
24689 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24690 (struct cpu_features): New member zva_size.
24691
eb332f9f
SP
24692 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24693 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24694 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24695
4d7632ff
SP
24696 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24697 backwards. Fix timing computation.
24698 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24699 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24700 on memset by N at a time. Fix timing computation.
24701
a465b89e
FW
247022017-11-20 Florian Weimer <fweimer@redhat.com>
24703
24704 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24705 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24706
0f74bbf5
FW
247072017-11-19 Florian Weimer <fweimer@redhat.com>
24708
24709 manual: Document mprotect
24710 * manual/memory.texi (Memory Protection): New section.
24711 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24712 documentation of PROT_* flags and reference the Memory Protection
24713 section instead.
24714
f6e965ee
FW
247152017-11-19 Florian Weimer <fweimer@redhat.com>
24716
24717 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24718 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24719 (Scatter-Gather): ... to here. Remove misleading comment.
24720
363e4519 247212017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24722
5f9d1949
CB
24723 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24724 style.
24725
ea69a5c8
CB
24726 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24727 when /proc/<pid>/setgroups does not exist.
24728
8db7f48c
FW
247292017-11-18 Florian Weimer <fweimer@redhat.com>
24730
24731 * sysdeps/unix/sysv/linux/tst-ttyname.c
24732 (become_root_in_mount_ns): Remove.
24733 (do_in_chroot_1): Call support_enter_mount_namespace.
24734 (do_in_chroot_2): Likewise.
24735 (do_test): Call support_become_root early.
24736
273a0c49
FW
247372017-11-18 Florian Weimer <fweimer@redhat.com>
24738
24739 * support/namespace.h (support_enter_mount_namespace): Declare.
24740 * support/support_enter_mount_namespace.c: New file.
24741 * support/Makefile (libsupport-routines): Add
24742 support_enter_mount_namespace.
24743
8adfb0ee
FW
247442017-11-18 Florian Weimer <fweimer@redhat.com>
24745
24746 * support/temp_file.c (support_create_temp_directory): Use
24747 test_dir and do not rely on the presence of the XXXXXX suffix.
24748 * support/temp_file.h (support_create_temp_directory): Update
24749 comment.
24750 * support/tst-xreadlink.c (do_test): Adjust.
24751 * support/support_chroot.c (support_chroot_create): Likewise.
24752
df0c40ee
TMQMF
247532017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24754
24755 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24756 macro.
24757 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24758 htm-no-suspend.
24759
015c6dc2
JM
247602017-11-17 Joseph Myers <joseph@codesourcery.com>
24761
f58e5f48
JM
24762 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24763 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24764 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24765 (ceill): Define using libm_alias_ldouble.
24766 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24767 <libm-alias-ldouble.h>.
24768 (copysignl): Define using libm_alias_ldouble.
24769 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24770 (fabsl): Define using libm_alias_ldouble.
24771 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24772 (floorl): Define using libm_alias_ldouble.
24773 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24774 (fmaxl): Define using libm_alias_ldouble.
24775 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24776 (fminl): Define using libm_alias_ldouble.
24777 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24778 (llrintl): Define using libm_alias_ldouble.
24779 (lrintl): Likewise.
24780 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24781 <libm-alias-ldouble.h>.
24782 (nearbyintl): Define using libm_alias_ldouble.
24783 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24784 (truncl): Define using libm_alias_ldouble.
24785 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24786 <libm-alias-ldouble.h>.
24787 (lrintl): Define using libm_alias_ldouble.
24788
2ce30701
JM
24789 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24790 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24791 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24792 (asinhl): Define using libm_alias_ldouble.
24793 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24794 (atanl): Define using libm_alias_ldouble.
24795 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24796 (cbrtl): Define using libm_alias_ldouble.
24797 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24798 (ceill): Define using libm_alias_ldouble.
24799 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24800 (copysignl): Define using libm_alias_ldouble.
24801 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24802 (fabsl): Define using libm_alias_ldouble.
24803 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24804 (floorl): Define using libm_alias_ldouble.
24805 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24806 (fmaxl): Define using libm_alias_ldouble.
24807 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24808 (fminl): Define using libm_alias_ldouble.
24809 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24810 (frexpl): Define using libm_alias_ldouble.
24811 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24812 (llrintl): Define using libm_alias_ldouble.
24813 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24814 (logbl): Define using libm_alias_ldouble.
24815 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24816 (lrintl): Define using libm_alias_ldouble.
24817 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24818 (nearbyintl): Define using libm_alias_ldouble.
24819 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24820 (nextafterl): Define using libm_alias_ldouble.
24821 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24822 (remquol): Define using libm_alias_ldouble.
24823 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24824 (rintl): Define using libm_alias_ldouble.
24825 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24826 (truncl): Define using libm_alias_ldouble.
24827 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24828 (fmaxl): Define using libm_alias_ldouble.
24829 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24830 (fminl): Define using libm_alias_ldouble.
24831
015c6dc2
JM
24832 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24833 to C syntax instead of availability and properties of types.
24834 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24835 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24836 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24837 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24838 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24839 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24840
ce003e5d
FW
248412017-11-17 Florian Weimer <fweimer@redhat.com>
24842
24843 support_become_root: Enable file creation in namespaces.
24844 * support/support_become_root.c (setup_mapping): New function.
24845 (support_become_root): Call it.
24846
e7df6c5c
JM
248472017-11-17 Joseph Myers <joseph@codesourcery.com>
24848
24849 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24850 macro.
24851
58a813bf
AZ
248522017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24853
24854 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24855 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24856
f97773d1
JM
248572017-11-16 Joseph Myers <joseph@codesourcery.com>
24858
6a6aa1f3
JM
24859 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24860
f97773d1
JM
24861 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24862 version to 4.14.
24863
a306c790
SP
248642017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24865
7b0fb870
SP
24866 * INSTALL: Fix botched up regeneration.
24867
24868 * NEWS: Update sourceare link to https.
a306c790
SP
24869 * configure.ac: Likewise.
24870 * crypt/md5test-giant.c: Likewise.
24871 * dlfcn/bug-atexit1.c: Likewise.
24872 * dlfcn/bug-atexit2.c: Likewise.
24873 * localedata/README: Likewise.
24874 * malloc/tst-mallocfork.c: Likewise.
24875 * manual/install.texi: Likewise.
24876 * nptl/tst-pthread-getattr.c: Likewise.
24877 * stdio-common/tst-fgets.c: Likewise.
24878 * stdio-common/tst-fwrite.c: Likewise.
24879 * sunrpc/Makefile: Likewise.
24880 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24881 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24882 * configure: Regenerate.
24883 * INSTALL: Regenerate.
a306c790 24884
7532837d
MS
248852017-11-15 Martin Sebor <msebor@redhat.com>
24886
24887 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24888 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24889 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24890
495a56fd
LS
248912017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24892
d9611e30
LS
24893 [BZ #22145]
24894 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24895 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24896
a09dfc19
LS
24897 [BZ #22145]
24898 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24899 Defer is_pty check until end of the function.
24900 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24901
2fbce9c2
LS
24902 [BZ #22145]
24903 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24904 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24905 (ttyname): Likewise.
24906 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24907 (__ttyname_r): Likewise.
24908
d10d6cab
LS
24909 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24910 int to bool.
24911
9b5a8750
LS
24912 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24913
495a56fd
LS
24914 * manual/terminal.texi (Is It a Terminal):
24915 Mention ENODEV for ttyname and ttyname_r.
24916
fa680dc6
JM
249172017-11-15 Joseph Myers <joseph@codesourcery.com>
24918
78cde19f
JM
24919 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24920 constant and macro.
24921
fa680dc6
JM
24922 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24923 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24924 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24925 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24926 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24927 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24928
ad4f43a2
AZ
249292017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24930
1ba1d8a4
AZ
24931 * signal/sigrelse.c (sigrelse): Optimize implementation.
24932
ad4f43a2
AZ
24933 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24934 (__sigpause): Rely on __sigsuspend to implement single thread
24935 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24936
d0212d42
JM
249372017-11-15 Joseph Myers <joseph@codesourcery.com>
24938
24939 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24940 kernel version to 4.14.
24941
2180fee1
SE
249422017-11-15 Steve Ellcey <sellcey@cavium.com>
24943
24944 [BZ #22442]
24945 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24946 Check if ifname is too long.
24947
cad7ca39
LS
249482017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24949
24950 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24951
58c9f659
MF
249522017-11-15 Mike FABIAN <mfabian@redhat.com>
24953
24954 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24955 was accidentally lost.
24956
0fa87c01
MF
249572017-11-15 Mike FABIAN <mfabian@redhat.com>
24958
24959 * localedata/locales/az_IR: Add standard copyright header.
24960
34eb4157
FW
249612017-11-15 Florian Weimer <fweimer@redhat.com>
24962
24963 [BZ #22439]
24964 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24965 not just the top one. Output a new "subheaps" statistic.
24966
7a9368a1
FW
249672017-11-15 Florian Weimer <fweimer@redhat.com>
24968
24969 [BZ #22408]
24970 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24971 under the per-arena lock.
24972 * malloc/Makefile (tests): Add tst-malloc_info.
24973 (tst-malloc_info): Link with libpthread.
24974 * malloc/tst-malloc_info.c: New file.
24975
be3a79a3
JM
249762017-11-15 Joseph Myers <joseph@codesourcery.com>
24977
24978 [BZ #21660]
24979 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24980 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24981 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24982 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24983 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24984 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24985 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24986 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24987 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24988 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24989 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24990 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24991 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24992 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24993 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24994 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24995 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24996 (__floating_type): Likewise.
24997 (__real_integer_type): Likewise.
24998 (__complex_integer_type): Likewise.
24999 (__expr_is_real): Likewise.
25000 (__tgmath_real_type_sub): Likewise.
25001 (__tgmath_real_type): Likewise.
25002 (__tgmath_complex_type_sub): Likewise.
25003 (__tgmath_complex_type): Likewise.
25004 (__TGMATH_F128): Likewise.
25005 (__TGMATH_CF128): Likewise.
25006 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25007 new macros.
25008 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25009 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25010 Likewise.
25011 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25012 Likewise.
25013 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25014 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25015 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25016 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25017 Likewise.
25018 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25019 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25020 Likewise.
25021 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25022 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25023 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25024 Likewise.
25025 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25026 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25027 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25028 (cimag): Likewise.
25029 (creal): Likewise.
25030
ec72135e
JM
250312017-11-14 Joseph Myers <joseph@codesourcery.com>
25032
2e64ec9c
JM
25033 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25034 for stpncpy calls for GCC 8.
25035 (test_strncat): Disable -Wstringop-truncation warning for strncat
25036 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25037 strncat call for GCC 7.
25038 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25039 calls for GCC 8.
25040 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25041 trailing NUL.
25042
ec72135e
JM
25043 * string/bug-strncat1.c: Include <libc-diag.h>.
25044 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25045
363e4519 250462017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
25047
25048 [BZ #22387]
25049 * localedata/locales/aa_DJ: Improved readibility by replacing
25050 <Uxxxx> sequences in the ASCII printable range by their ASCII
25051 character equivalents.
25052 * localedata/locales/aa_ER: Likewise.
25053 * localedata/locales/aa_ER@saaho: Likewise.
25054 * localedata/locales/aa_ET: Likewise.
25055 * localedata/locales/af_ZA: Likewise.
25056 * localedata/locales/agr_PE: Likewise.
25057 * localedata/locales/ak_GH: Likewise.
25058 * localedata/locales/am_ET: Likewise.
25059 * localedata/locales/anp_IN: Likewise.
25060 * localedata/locales/ar_AE: Likewise.
25061 * localedata/locales/ar_BH: Likewise.
25062 * localedata/locales/ar_DZ: Likewise.
25063 * localedata/locales/ar_EG: Likewise.
25064 * localedata/locales/ar_IN: Likewise.
25065 * localedata/locales/ar_IQ: Likewise.
25066 * localedata/locales/ar_JO: Likewise.
25067 * localedata/locales/ar_KW: Likewise.
25068 * localedata/locales/ar_LB: Likewise.
25069 * localedata/locales/ar_LY: Likewise.
25070 * localedata/locales/ar_MA: Likewise.
25071 * localedata/locales/ar_OM: Likewise.
25072 * localedata/locales/ar_QA: Likewise.
25073 * localedata/locales/ar_SA: Likewise.
25074 * localedata/locales/ar_SD: Likewise.
25075 * localedata/locales/ar_SS: Likewise.
25076 * localedata/locales/ar_SY: Likewise.
25077 * localedata/locales/ar_TN: Likewise.
25078 * localedata/locales/ar_YE: Likewise.
25079 * localedata/locales/as_IN: Likewise.
25080 * localedata/locales/ast_ES: Likewise.
25081 * localedata/locales/ayc_PE: Likewise.
25082 * localedata/locales/az_AZ: Likewise.
25083 * localedata/locales/az_IR: Likewise.
25084 * localedata/locales/be_BY: Likewise.
25085 * localedata/locales/be_BY@latin: Likewise.
25086 * localedata/locales/bem_ZM: Likewise.
25087 * localedata/locales/ber_DZ: Likewise.
25088 * localedata/locales/ber_MA: Likewise.
25089 * localedata/locales/bg_BG: Likewise.
25090 * localedata/locales/bhb_IN: Likewise.
25091 * localedata/locales/bho_IN: Likewise.
25092 * localedata/locales/bi_VU: Likewise.
25093 * localedata/locales/bn_BD: Likewise.
25094 * localedata/locales/bn_IN: Likewise.
25095 * localedata/locales/bo_CN: Likewise.
25096 * localedata/locales/bo_IN: Likewise.
25097 * localedata/locales/br_FR: Likewise.
25098 * localedata/locales/brx_IN: Likewise.
25099 * localedata/locales/bs_BA: Likewise.
25100 * localedata/locales/byn_ER: Likewise.
25101 * localedata/locales/ca_AD: Likewise.
25102 * localedata/locales/ca_ES: Likewise.
25103 * localedata/locales/ca_FR: Likewise.
25104 * localedata/locales/ca_IT: Likewise.
25105 * localedata/locales/ce_RU: Likewise.
25106 * localedata/locales/chr_US: Likewise.
25107 * localedata/locales/cmn_TW: Likewise.
25108 * localedata/locales/crh_UA: Likewise.
25109 * localedata/locales/cs_CZ: Likewise.
25110 * localedata/locales/csb_PL: Likewise.
25111 * localedata/locales/cv_RU: Likewise.
25112 * localedata/locales/cy_GB: Likewise.
25113 * localedata/locales/da_DK: Likewise.
25114 * localedata/locales/de_AT: Likewise.
25115 * localedata/locales/de_BE: Likewise.
25116 * localedata/locales/de_CH: Likewise.
25117 * localedata/locales/de_DE: Likewise.
25118 * localedata/locales/de_IT: Likewise.
25119 * localedata/locales/de_LI: Likewise.
25120 * localedata/locales/de_LU: Likewise.
25121 * localedata/locales/doi_IN: Likewise.
25122 * localedata/locales/dv_MV: Likewise.
25123 * localedata/locales/dz_BT: Likewise.
25124 * localedata/locales/el_CY: Likewise.
25125 * localedata/locales/el_GR: Likewise.
25126 * localedata/locales/en_AG: Likewise.
25127 * localedata/locales/en_AU: Likewise.
25128 * localedata/locales/en_BW: Likewise.
25129 * localedata/locales/en_CA: Likewise.
25130 * localedata/locales/en_DK: Likewise.
25131 * localedata/locales/en_GB: Likewise.
25132 * localedata/locales/en_HK: Likewise.
25133 * localedata/locales/en_IE: Likewise.
25134 * localedata/locales/en_IL: Likewise.
25135 * localedata/locales/en_IN: Likewise.
25136 * localedata/locales/en_NG: Likewise.
25137 * localedata/locales/en_NZ: Likewise.
25138 * localedata/locales/en_PH: Likewise.
25139 * localedata/locales/en_SG: Likewise.
25140 * localedata/locales/en_US: Likewise.
25141 * localedata/locales/en_ZA: Likewise.
25142 * localedata/locales/en_ZM: Likewise.
25143 * localedata/locales/en_ZW: Likewise.
25144 * localedata/locales/eo: Likewise.
25145 * localedata/locales/es_AR: Likewise.
25146 * localedata/locales/es_BO: Likewise.
25147 * localedata/locales/es_CL: Likewise.
25148 * localedata/locales/es_CO: Likewise.
25149 * localedata/locales/es_CR: Likewise.
25150 * localedata/locales/es_CU: Likewise.
25151 * localedata/locales/es_DO: Likewise.
25152 * localedata/locales/es_EC: Likewise.
25153 * localedata/locales/es_ES: Likewise.
25154 * localedata/locales/es_GT: Likewise.
25155 * localedata/locales/es_HN: Likewise.
25156 * localedata/locales/es_MX: Likewise.
25157 * localedata/locales/es_NI: Likewise.
25158 * localedata/locales/es_PA: Likewise.
25159 * localedata/locales/es_PE: Likewise.
25160 * localedata/locales/es_PR: Likewise.
25161 * localedata/locales/es_PY: Likewise.
25162 * localedata/locales/es_SV: Likewise.
25163 * localedata/locales/es_US: Likewise.
25164 * localedata/locales/es_UY: Likewise.
25165 * localedata/locales/es_VE: Likewise.
25166 * localedata/locales/et_EE: Likewise.
25167 * localedata/locales/eu_ES: Likewise.
25168 * localedata/locales/eu_ES@euro: Likewise.
25169 * localedata/locales/fa_IR: Likewise.
25170 * localedata/locales/ff_SN: Likewise.
25171 * localedata/locales/fi_FI: Likewise.
25172 * localedata/locales/fil_PH: Likewise.
25173 * localedata/locales/fo_FO: Likewise.
25174 * localedata/locales/fr_BE: Likewise.
25175 * localedata/locales/fr_CA: Likewise.
25176 * localedata/locales/fr_CH: Likewise.
25177 * localedata/locales/fr_FR: Likewise.
25178 * localedata/locales/fr_LU: Likewise.
25179 * localedata/locales/fur_IT: Likewise.
25180 * localedata/locales/fy_DE: Likewise.
25181 * localedata/locales/fy_NL: Likewise.
25182 * localedata/locales/ga_IE: Likewise.
25183 * localedata/locales/gd_GB: Likewise.
25184 * localedata/locales/gez_ER: Likewise.
25185 * localedata/locales/gez_ET: Likewise.
25186 * localedata/locales/gl_ES: Likewise.
25187 * localedata/locales/gu_IN: Likewise.
25188 * localedata/locales/gv_GB: Likewise.
25189 * localedata/locales/ha_NG: Likewise.
25190 * localedata/locales/hak_TW: Likewise.
25191 * localedata/locales/he_IL: Likewise.
25192 * localedata/locales/hi_IN: Likewise.
25193 * localedata/locales/hif_FJ: Likewise.
25194 * localedata/locales/hne_IN: Likewise.
25195 * localedata/locales/hr_HR: Likewise.
25196 * localedata/locales/hsb_DE: Likewise.
25197 * localedata/locales/ht_HT: Likewise.
25198 * localedata/locales/hu_HU: Likewise.
25199 * localedata/locales/hy_AM: Likewise.
25200 * localedata/locales/i18n: Likewise.
25201 * localedata/locales/ia_FR: Likewise.
25202 * localedata/locales/id_ID: Likewise.
25203 * localedata/locales/ig_NG: Likewise.
25204 * localedata/locales/ik_CA: Likewise.
25205 * localedata/locales/is_IS: Likewise.
25206 * localedata/locales/it_CH: Likewise.
25207 * localedata/locales/it_IT: Likewise.
25208 * localedata/locales/iu_CA: Likewise.
25209 * localedata/locales/ja_JP: Likewise.
25210 * localedata/locales/ka_GE: Likewise.
25211 * localedata/locales/kk_KZ: Likewise.
25212 * localedata/locales/kl_GL: Likewise.
25213 * localedata/locales/kn_IN: Likewise.
25214 * localedata/locales/ko_KR: Likewise.
25215 * localedata/locales/kok_IN: Likewise.
25216 * localedata/locales/ks_IN: Likewise.
25217 * localedata/locales/ks_IN@devanagari: Likewise.
25218 * localedata/locales/ku_TR: Likewise.
25219 * localedata/locales/kw_GB: Likewise.
25220 * localedata/locales/ky_KG: Likewise.
25221 * localedata/locales/lb_LU: Likewise.
25222 * localedata/locales/lg_UG: Likewise.
25223 * localedata/locales/li_BE: Likewise.
25224 * localedata/locales/li_NL: Likewise.
25225 * localedata/locales/lij_IT: Likewise.
25226 * localedata/locales/ln_CD: Likewise.
25227 * localedata/locales/lo_LA: Likewise.
25228 * localedata/locales/lt_LT: Likewise.
25229 * localedata/locales/lv_LV: Likewise.
25230 * localedata/locales/lzh_TW: Likewise.
25231 * localedata/locales/mag_IN: Likewise.
25232 * localedata/locales/mai_IN: Likewise.
25233 * localedata/locales/mg_MG: Likewise.
25234 * localedata/locales/mhr_RU: Likewise.
25235 * localedata/locales/mi_NZ: Likewise.
25236 * localedata/locales/mk_MK: Likewise.
25237 * localedata/locales/ml_IN: Likewise.
25238 * localedata/locales/mn_MN: Likewise.
25239 * localedata/locales/mni_IN: Likewise.
25240 * localedata/locales/mr_IN: Likewise.
25241 * localedata/locales/ms_MY: Likewise.
25242 * localedata/locales/mt_MT: Likewise.
25243 * localedata/locales/my_MM: Likewise.
25244 * localedata/locales/nan_TW: Likewise.
25245 * localedata/locales/nan_TW@latin: Likewise.
25246 * localedata/locales/nb_NO: Likewise.
25247 * localedata/locales/nds_DE: Likewise.
25248 * localedata/locales/nds_NL: Likewise.
25249 * localedata/locales/ne_NP: Likewise.
25250 * localedata/locales/nhn_MX: Likewise.
25251 * localedata/locales/niu_NU: Likewise.
25252 * localedata/locales/niu_NZ: Likewise.
25253 * localedata/locales/nl_AW: Likewise.
25254 * localedata/locales/nl_BE: Likewise.
25255 * localedata/locales/nl_NL: Likewise.
25256 * localedata/locales/nn_NO: Likewise.
25257 * localedata/locales/nr_ZA: Likewise.
25258 * localedata/locales/nso_ZA: Likewise.
25259 * localedata/locales/oc_FR: Likewise.
25260 * localedata/locales/om_ET: Likewise.
25261 * localedata/locales/om_KE: Likewise.
25262 * localedata/locales/or_IN: Likewise.
25263 * localedata/locales/os_RU: Likewise.
25264 * localedata/locales/pa_IN: Likewise.
25265 * localedata/locales/pa_PK: Likewise.
25266 * localedata/locales/pap_AW: Likewise.
25267 * localedata/locales/pap_CW: Likewise.
25268 * localedata/locales/pl_PL: Likewise.
25269 * localedata/locales/ps_AF: Likewise.
25270 * localedata/locales/pt_BR: Likewise.
25271 * localedata/locales/pt_PT: Likewise.
25272 * localedata/locales/quz_PE: Likewise.
25273 * localedata/locales/raj_IN: Likewise.
25274 * localedata/locales/ro_RO: Likewise.
25275 * localedata/locales/ru_RU: Likewise.
25276 * localedata/locales/ru_UA: Likewise.
25277 * localedata/locales/rw_RW: Likewise.
25278 * localedata/locales/sa_IN: Likewise.
25279 * localedata/locales/sat_IN: Likewise.
25280 * localedata/locales/sc_IT: Likewise.
25281 * localedata/locales/sd_IN: Likewise.
25282 * localedata/locales/sd_IN@devanagari: Likewise.
25283 * localedata/locales/se_NO: Likewise.
25284 * localedata/locales/sgs_LT: Likewise.
25285 * localedata/locales/shs_CA: Likewise.
25286 * localedata/locales/si_LK: Likewise.
25287 * localedata/locales/sid_ET: Likewise.
25288 * localedata/locales/sk_SK: Likewise.
25289 * localedata/locales/sl_SI: Likewise.
25290 * localedata/locales/sm_WS: Likewise.
25291 * localedata/locales/so_DJ: Likewise.
25292 * localedata/locales/so_ET: Likewise.
25293 * localedata/locales/so_KE: Likewise.
25294 * localedata/locales/so_SO: Likewise.
25295 * localedata/locales/sq_AL: Likewise.
25296 * localedata/locales/sq_MK: Likewise.
25297 * localedata/locales/sr_ME: Likewise.
25298 * localedata/locales/sr_RS: Likewise.
25299 * localedata/locales/sr_RS@latin: Likewise.
25300 * localedata/locales/ss_ZA: Likewise.
25301 * localedata/locales/st_ZA: Likewise.
25302 * localedata/locales/sv_FI: Likewise.
25303 * localedata/locales/sv_SE: Likewise.
25304 * localedata/locales/sw_KE: Likewise.
25305 * localedata/locales/sw_TZ: Likewise.
25306 * localedata/locales/szl_PL: Likewise.
25307 * localedata/locales/ta_IN: Likewise.
25308 * localedata/locales/ta_LK: Likewise.
25309 * localedata/locales/tcy_IN: Likewise.
25310 * localedata/locales/te_IN: Likewise.
25311 * localedata/locales/tg_TJ: Likewise.
25312 * localedata/locales/th_TH: Likewise.
25313 * localedata/locales/the_NP: Likewise.
25314 * localedata/locales/ti_ER: Likewise.
25315 * localedata/locales/ti_ET: Likewise.
25316 * localedata/locales/tig_ER: Likewise.
25317 * localedata/locales/tk_TM: Likewise.
25318 * localedata/locales/tl_PH: Likewise.
25319 * localedata/locales/tn_ZA: Likewise.
25320 * localedata/locales/to_TO: Likewise.
25321 * localedata/locales/tpi_PG: Likewise.
25322 * localedata/locales/tr_CY: Likewise.
25323 * localedata/locales/tr_TR: Likewise.
25324 * localedata/locales/ts_ZA: Likewise.
25325 * localedata/locales/tt_RU: Likewise.
25326 * localedata/locales/tt_RU@iqtelif: Likewise.
25327 * localedata/locales/ug_CN: Likewise.
25328 * localedata/locales/uk_UA: Likewise.
25329 * localedata/locales/unm_US: Likewise.
25330 * localedata/locales/ur_IN: Likewise.
25331 * localedata/locales/ur_PK: Likewise.
25332 * localedata/locales/uz_UZ: Likewise.
25333 * localedata/locales/uz_UZ@cyrillic: Likewise.
25334 * localedata/locales/ve_ZA: Likewise.
25335 * localedata/locales/vi_VN: Likewise.
25336 * localedata/locales/wa_BE: Likewise.
25337 * localedata/locales/wae_CH: Likewise.
25338 * localedata/locales/wal_ET: Likewise.
25339 * localedata/locales/wo_SN: Likewise.
25340 * localedata/locales/xh_ZA: Likewise.
25341 * localedata/locales/yi_US: Likewise.
25342 * localedata/locales/yo_NG: Likewise.
25343 * localedata/locales/yue_HK: Likewise.
25344 * localedata/locales/yuw_PG: Likewise.
25345 * localedata/locales/zh_CN: Likewise.
25346 * localedata/locales/zh_HK: Likewise.
25347 * localedata/locales/zh_SG: Likewise.
25348 * localedata/locales/zh_TW: Likewise.
25349 * localedata/locales/zu_ZA: Likewise.
25350
cae87e64
FW
253512017-11-13 Florian Weimer <fweimer@redhat.com>
25352
25353 * support/next_to_fault.h, support/next_to_fault.c: New files.
25354 * support/Makefile (libsupport-routines): Add next_to_fault.
25355 * resolv/tst-inet_pton.c (struct next_to_fault)
25356 (next_to_fault_allocate, next_to_fault_free): Remove.
25357 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25358
4a306ef1
L
253592017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25360
25361 * elf/dl-support.c: Include <dl-procruntime.c>.
25362 * include/link.h: Include <link_map.h>.
25363 * sysdeps/generic/dl-procruntime.c: New file.
25364 * sysdeps/generic/link_map.h: Likewise.
25365 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25366 the writable ld.so namespace.
25367
e69897bf
PE
253682017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25369
25370 timezone: pacify GCC -Wstringop-truncation
25371 Problem reported by Martin Sebor in:
25372 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25373 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25374
1ffe1ccb
FW
253752017-11-12 Florian Weimer <fweimer@redhat.com>
25376
eceed671
FW
25377 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25378 tst-xreadlink.
25379 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25380 * support/support.h (xstrndup): Declare.
25381 * support/xunistd.h (xunlink, xreadlink): Declare.
25382 * support/temp_file.h (support_create_temp_directory): Declare.
25383 * support/temp_file.c (support_create_temp_directory): New function.
25384 * support/support_chroot.c (support_chroot_create): Use it.
25385 * support/xreadlink.c: New file.
25386 * support/xstrndup.c: Likewise.
25387 * support/xunlink.c: Likewise.
25388 * support/tst-xreadlink.c: Likewise.
25389
456b40a9
JDA
253902017-11-11 John David Anglin <danglin@gcc.gnu.org>
25391
25392 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25393
c0a25aa9
FW
253942017-11-11 Florian Weimer <fweimer@redhat.com>
25395
25396 [BZ #22409]
25397 [BZ #22412]
25398 * resolv/res_comp.c (printable_string, binary_hnok)
25399 (binary_leading_dash): New functions.
25400 (res_hnok): Reimplement using these functions and ns_name_pton.
25401 (res_ownok): Likewise.
25402 (res_mailok): Reimplement using printable_string, ns_name_pton and
25403 binary_hnok.
25404 (res_dnok): Reimplement using printable_string and ns_name_pton.
25405 * resolv/tst-res_hnok.c (tests): Add additional tests.
25406 (LETTERDIGITS, PRINTABLE): Define.
25407 (do_test): Adjust one_char results.
25408
9e0ad304
FW
254092017-11-11 Florian Weimer <fweimer@redhat.com>
25410
25411 [BZ #22413]
25412 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25413 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25414
e2a9fca8
FW
254152017-11-11 Florian Weimer <fweimer@redhat.com>
25416
25417 * resolv/tst-ns_name_pton.c: New file.
25418 * resolv/Makefile (tests): Add tst-ns_name_pton.
25419 (tst-ns_name_pton): Link against libresolv.
25420
5c1a6923
FW
254212017-11-11 Florian Weimer <fweimer@redhat.com>
25422
25423 * resolv/tst-res_hnok.c: New file.
25424 * resolv/Makefile (tests): Add tst-res_hnok.
25425 (tst-res_hnok): Link against libresolv.
25426
a19c0a1d
FW
254272017-11-11 Florian Weimer <fweimer@redhat.com>
25428
25429 * resolv/tst-resolv-network.c: Use test framework instead explicit
25430 main function.
25431
8cb5295d
L
254322017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25433
25434 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25435 <jmp_buf-macros.h>.
25436 [!_ISOMAC] (STR_HELPER): New.
25437 [!_ISOMAC] (STR): Likewise.
25438 [!_ISOMAC] (TEST_SIZE): Likewise.
25439 [!_ISOMAC] (TEST_ALIGN): Likewise.
25440 [!_ISOMAC] (TEST_OFFSET): Likewise.
25441 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25442 field offsets of jmp_buf as well as sigjmp_buf.
25443 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25444 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25445 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25446 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25447 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25448 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25449 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25450 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25451 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25452 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25453 Likewise.
25454 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25455 Likewise.
25456 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25458 Likewise.
25459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25460 Likewise.
25461 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25462 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25463 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25464 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25465 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25466 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25467 Likewise.
25468 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25469 Likewise.
25470 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25471 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25472 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25473
58c4a161
JM
254742017-11-07 Joseph Myers <joseph@codesourcery.com>
25475
3683b423
JM
25476 * include/float.h
25477 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25478 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25479 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25480 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25481 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25482 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25483 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25484 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25485 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25486 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25487 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25488 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25489 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25490 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25491 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25492 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25493 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25494 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25495 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25496 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25497 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25498 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25499 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25500 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25501 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25502 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25503 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25504 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25505 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25506 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25507 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25508 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25509 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25510 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25511 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25512 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25513 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25514 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25515 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25516 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25517 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25518 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25519 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25520 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25521 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25522 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25523 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25524 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25525 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25526 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25527 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25528 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25529 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25530 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25531 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25532 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25533 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25534 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25535 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25536 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25537 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25538 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25540 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25542 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25544 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25546 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25548 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25550 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25552 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25554 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25556 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25558 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25560 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25562 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25564 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25565
58c4a161
JM
25566 * stdlib/tst-strtod.h (F16): New macro.
25567 (F32): Likewise.
25568 (F64): Likewise.
25569 (F32X): Likewise.
25570 (F64X): Likewise.
25571 (F128X): Likewise.
25572 (IF_FLOAT16): Likewise.
25573 (IF_FLOAT32): Likewise.
25574 (IF_FLOAT64): Likewise.
25575 (IF_FLOAT32X): Likewise.
25576 (IF_FLOAT64X): Likewise.
25577 (IF_FLOAT128X): Likewise.
25578 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25579 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25580 (STRTOD_TEST_FOREACH): Likewise.
25581 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25582 (CHOOSE_f64): Likewise.
25583 (CHOOSE_f32x): Likewise.
25584 (CHOOSE_f64x): Likewise.
25585
feda96a1
AS
255862017-11-07 Andreas Schwab <schwab@suse.de>
25587
25588 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25589
1bd0cbb8
MF
255902017-11-07 Mike FABIAN <mfabian@redhat.com>
25591
25592 [BZ #22403]
25593 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25594 to be escaped.
25595 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25596 to be escaped.
25597
363e4519 255982017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25599
25600 [BZ #22403]
25601 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25602 to be escaped.
25603 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25604 to be escaped.
25605 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25606 to be escaped.
25607
dff91cd4
AZ
256082017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25609
06be6368
AZ
25610 [BZ #22298]
25611 * nptl/allocatestack.c (allocate_stack): Check if
25612 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25613 __PTHREAD_MUTEX_HAVE_PREV is defined.
25614 * nptl/descr.h (pthread): Likewise.
25615 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25616 Likewise.
25617 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25618 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25619 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25620 * sysdeps/nptl/bits/thread-shared-types.h
25621 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25622 defines.
25623 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25624 of __WORDSIZE for internal layout.
25625 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25626 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25627 instead of __WORDSIZE whether to use an union for __spins and __list
25628 fields.
25629 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25630 case.
25631 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25632 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25633 defines.
25634 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25635 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25636 Likewise.
25637 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25638 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25639 Likewise.
25640 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25641 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25642 Likewise.
25643 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25644 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25645 Likewise.
25646 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25647 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25648 Likewise.
25649 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25650 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25651 Likewise.
25652 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25653 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25654 Likewise.
25655 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25656 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25657 Likewise.
25658 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25659 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25660 Likewise.
25661 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25662 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25663 Likewise.
25664 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25665 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25666 Likewise.
25667 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25668 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25669 Likewise.
25670 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25671 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25672 Likewise.
25673 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25674 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25675 Likewise.
25676
72b3c6ee
AZ
25677 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25678 New macros.
25679 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25680 checks for expected input type size.
25681 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25682 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25683 Likewise.
25684 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25685 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25686 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25687 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25688 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25689 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25690 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25691 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25692 superflous runtime assert check.
25693 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25694 Likewise.
25695 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25696 Likewise.
25697 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25698 Likewise.
25699 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25700 Likewise.
25701 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25702 Likewise.
25703 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25704 Likewise.
25705 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25706 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25707 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25708 Likewise.
25709 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25710 Likewise.
25711 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25712 Likewise.
25713 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25714 Likewise.
25715 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25716 Likewise.
25717 * nptl/pthread_attr_setinheritsched.c
25718 (__pthread_attr_setinheritsched): Likewise.
25719 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25720 Likewise.
25721 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25722 Likewise.
25723 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25724 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25725 __old_pthread_attr_setstack): Likewise.
25726 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25727 Likewise.
25728 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25729 Likewise.
25730 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25731 Likewise.
25732 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25733 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25734 Likewise.
25735 * nptl/tst-typesizes.c: Remove file.
25736
dff91cd4
AZ
25737 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25738 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25739 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25740 checks for internal pthread_mutex_t offsets.
25741 * sysdeps/aarch64/nptl/pthread-offsets.h
25742 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25743 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25744 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25745 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25746 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25747 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25748 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25749 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25750 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25751 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25752 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25753 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25754 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25755 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25756 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25757 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25758 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25759 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25760
b7fc95f8
FW
257612017-11-07 Florian Weimer <fweimer@redhat.com>
25762
25763 * bits/mman-linux.h: Move ...
25764 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25765 comment.
25766 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25767 outdated comment.
25768
6b860364
RS
257692017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25770
25771 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25772 Redefine STRNLEN as __strnlen_power8.
25773
802c1f16
AZ
257742017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25775
d83da3a4
AZ
25776 * signal/sighold.c (sighold): Optimize implementation.
25777
6a4235f1
AZ
25778 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25779 __NR_rt_sigqueueinfo.
25780
8b0e795a
AZ
25781 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25782 __sigtimedwait.
25783 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25784 assume __NR_rt_sigtimedwait.
25785 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25786 and add LIBC_CANCEL_HANDLED for cancellation marking.
25787 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25788
a1a638dd
AZ
25789 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25790 (sysdeps_routines): Add memchr_noneon.
25791 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25792 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25793 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25794 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25795 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25796 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25797 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25798
802c1f16
AZ
25799 * sysdeps/arm/arm-ifunc.h: New file.
25800 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25801 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25802 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25803 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25804 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25805 (__memcpy_neon): Avoid create hidden alias.
25806 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25807 (__memcpy_vfp): Likewise.
25808 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25809 (sysdep_routines): Add memcpy_arm.
25810 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25811
abcb584d
L
258122017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25813
25814 [BZ #22362]
25815 * Makerules (make-link-multidir): New.
25816 * config.make.in (multidir): New.
25817 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25818 * configure: Regenerated.
25819 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25820 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25821 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25822 New target.
25823
4e2dff67
JM
258242017-11-06 Joseph Myers <joseph@codesourcery.com>
25825
25826 [BZ #22402]
25827 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25828 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25829
a1c7cd3c
MF
258302017-11-04 Mike FABIAN <mfabian@redhat.com>
25831
25832 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25833 to be escaped.
25834
b9af29c0
FW
258352017-11-04 Florian Weimer <fweimer@redhat.com>
25836
25837 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25838
4ca70e1a
JM
258392017-11-03 Joseph Myers <joseph@codesourcery.com>
25840
25841 * math/math.h [__HAVE_DISTINCT_FLOAT16
25842 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25843 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25844 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25845 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25846 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25847 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25848 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25849 (__MATH_TG_F32): New macro.
25850 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25851 (__MATH_TG_F64X): Likewise.
25852 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25853 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25854
ba0e6668
DL
258552017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25856
25857 * po/de.po: Update translations.
25858 * po/ru.po: Likewise.
25859
bc18a6d3
FW
258602017-11-03 Florian Weimer <fweimer@redhat.com>
25861
25862 * manual/filesys.texi (Hard Links): Document linkat.
25863
97255170
JM
258642017-11-03 Joseph Myers <joseph@codesourcery.com>
25865
86ec4865
JM
25866 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25867 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25868 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25869 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25870 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25871 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25872 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25873 the same as _Float128.
25874 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25875 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25876 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25877
97255170
JM
25878 * stdlib/stdlib.h
25879 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25880 Declare.
25881 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25882 Likewise.
25883 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25884 Likewise.
25885 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25886 (strtof32x): Likewise.
25887 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25888 (strtof64x): Likewise.
25889 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25890 (strtof128x): Likewise.
25891 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25892 (strfromf16): Likewise.
25893 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25894 (strfromf32): Likewise.
25895 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25896 (strfromf64): Likewise.
25897 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25898 (strfromf32x): Likewise.
25899 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25900 (strfromf64x): Likewise.
25901 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25902 (strfromf128x): Likewise.
25903 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25904 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25905 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25906 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25907 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25908 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25909
6d58ce5e
RH
259102017-11-03 Richard Henderson <rth@twiddle.net>
25911
25912 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25913
659ca267
SN
259142017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25915
25916 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25917
94d2f0af
SN
259182017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25919
25920 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25921 DT_TLSDESC_GOT initialization.
25922 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25923 (_dl_tlsdesc_resolve_hold): Likewise.
25924 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25925 (_dl_tlsdesc_resolve_hold): Likewise.
25926 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25927 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25928
28e1ddf3
SN
259292017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25930
25931 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25932
0ca3d1d6
SN
259332017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25934
25935 [BZ #18572]
25936 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25937 non-lazily for R_ARM_TLS_DESC.
25938
2c1d4e5f
SN
259392017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25940
25941 [BZ #17078]
25942 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25943 R_ARM_TLS_DESC case.
25944 (elf_machine_lazy_rel): Remove the prelink check.
25945
91c5a366
SN
259462017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25947
25948 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25949 DT_TLSDESC_GOT initialization.
25950 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25951 (_dl_tlsdesc_resolve_rela): Likewise.
25952 (_dl_tlsdesc_resolve_hold): Likewise.
25953 (_dl_tlsdesc_undefweak): Remove ldar.
25954 (_dl_tlsdesc_dynamic): Likewise.
25955 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25956 (_dl_tlsdesc_resolve_rela): Likewise.
25957 (_dl_tlsdesc_resolve_hold): Likewise.
25958 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25959 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25960 (_dl_tlsdesc_resolve_rela): Likewise.
25961 (_dl_tlsdesc_resolve_hold): Likewise.
25962
b7cf203b
SN
259632017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25964
25965 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25966 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25967
0cc5b022
SN
259682017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25969
25970 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25971 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25972
43ddff2e
JM
259732017-11-02 Joseph Myers <joseph@codesourcery.com>
25974
25975 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25976 Declare.
25977 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25978 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25979 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25980 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25981 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25982 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25983 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25984 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25985 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25986 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25987 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25988
5baac970
MF
259892017-11-02 Mike FABIAN <mfabian@redhat.com>
25990
25991 [BZ #22382]
25992 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25993 * localedata/locales/tpi_PG: Add standard header.
25994
ef11081f
FW
259952017-11-02 Florian Weimer <fweimer@redhat.com>
25996
25997 test-errno-linux: quotactl can fail with EPERM in containers.
25998 * sysdeps/unix/sysv/linux/test-errno-linux.c
25999 (LIST, LIST_FORWARD): New macros.
26000 (check_error_in_list): New function.
26001 (test_wrp_rv): Accept list of permitted error codes.
26002 (test_wrp_rv2): Remove.
26003 (test_wrp): Call test_wrp_rv with list of error codes.
26004 (test_wrp2): Accept list of error codes.
26005 (do_test): Adjust. Allow EPERM for quotactl.
26006
d10b132b
FW
260072017-11-02 Florian Weimer <fweimer@redhat.com>
26008
26009 * stdio-common/bug16.c (do_test): Use array_length.
26010 * stdio-common/errlist.c (_sys_nerr): Likewise.
26011 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26012 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26013 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26014 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26015 (do_test): Use array_length.
26016 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26017 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26018 * stdio-common/tst-printf-round.c (do_test): Likewise.
26019 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26020 (CHECK): Use array_length.
26021 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26022 * stdio-common/tstscanf.c (main): Likewise.
26023 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26024
c94a5688
FW
260252017-11-02 Florian Weimer <fweimer@redhat.com>
26026
26027 Add array_length and array_end macros.
26028 * include/array_length.h: New file.
26029
2fac6a6c
FW
260302017-11-02 Florian Weimer <fweimer@redhat.com>
26031
26032 [BZ #22332]
26033 * posix/tst-glob-tilde.c (do_noescape): New variable.
26034 (one_test): Process it.
26035 (do_test): Set do_noescape. Add unescaping test case.
26036
2f1b212e
JM
260372017-11-01 Joseph Myers <joseph@codesourcery.com>
26038
260fbd0a
JM
26039 * math/complex.h
26040 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26041 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26042 with appropriate macros defined and undefined.
26043 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26044 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26045 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26046 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26047 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26048 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26049 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26050 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26051 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26052 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26053
2f1b212e
JM
26054 * math/complex.h
26055 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26056 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26057 that for long double. Do not condition define and undefine of
26058 _Mdouble_complex_ on [__CFLOAT128].
26059
95b93c6e
L
260602017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26061
26062 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26063 of <sysdeps/generic/sysdep.h>.
26064 (ALIGNARG): Removed.
26065 (ASM_SIZE_DIRECTIVE): Likewise.
26066 (ENTRY): Likewise.
26067 (END): Likewise.
26068 (ENTRY_CHK): Likewise.
26069 (END_CHK): Likewise.
26070 (syscall_error): Likewise.
26071 (mcount): Likewise.
26072 (PSEUDO_END): Likewise.
26073 (L): Likewise.
26074 (atom_text_section): Likewise.
26075 * sysdeps/x86/sysdep.h: New file.
26076 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26077 of <sysdeps/generic/sysdep.h>.
26078 (ALIGNARG): Removed.
26079 (ASM_SIZE_DIRECTIVE): Likewise.
26080 (ENTRY): Likewise.
26081 (END): Likewise.
26082 (ENTRY_CHK): Likewise.
26083 (END_CHK): Likewise.
26084 (syscall_error): Likewise.
26085 (mcount): Likewise.
26086 (PSEUDO_END): Likewise.
26087 (L): Likewise.
26088 (atom_text_section): Likewise.
26089
1bb36539
RL
260902017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26091
26092 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26093 category of LC_CTYPE set to "i18n:2012".
26094 * localedata/locales/i18n_ctype: Regenerate.
26095
067f5d97 260962017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26097
87bbc4cf
YN
26098 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26099 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26100 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26101 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26102
e8681faa
YN
26103 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26104 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26106 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26107
540af6e2
JM
261082017-10-31 Joseph Myers <joseph@codesourcery.com>
26109
43e66283
JM
26110 * math/complex.h
26111 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26112 New macro.
26113 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26114 Likewise.
26115 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26116 Likewise.
26117 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26118 (CMPLXF32X): Likewise.
26119 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26120 (CMPLXF64X): Likewise.
26121 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26122 (CMPLXF128X): Likewise.
26123
540af6e2
JM
26124 * math/math.h
26125 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26126 (__MATH_EVAL_FMT2): Define to add 0.0f.
26127
58af72b4
AM
261282017-10-31 Alan Modra <amodra@gmail.com>
26129
26130 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26131 include sysdep.h.
26132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26133 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26135 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26146 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26147 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26148 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26149 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26150 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26151 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26152 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26153 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26154 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26155 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26156 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26157 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26158 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26159 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26160 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26161 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26162 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26163 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26164 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26165 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26166 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26167 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26168 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26169 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26170 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26171 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26172 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26173 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26174 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26175 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26176 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26177 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26178 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26179 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26180 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26181 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26182 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26183 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26184 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26185 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26186 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26187 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26188 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26189 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26190 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26191 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26192 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26193 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26194 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26195 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26196 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26197 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26198 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26199 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26200 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26201
26202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26203 include sysdep.h and math_ldbl_opt.h.
26204
26205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26206 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26210 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26212 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26213 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26215 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26216 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26218 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26219 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26221 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26222 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26224 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26225 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26227 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26228 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26230 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26231
112f30b3
AM
262322017-10-31 Alan Modra <amodra@gmail.com>
26233
26234 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26235 string/strncase_l.c, not string/strncase.c.
26236 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26237 (libc_hidden_def): Redefine.
26238
e9e7eced
AM
262392017-10-31 Alan Modra <amodra@gmail.com>
26240
26241 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26242 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26243 (__strcasecmp): Don't define.
26244
f7b465cf
AM
262452017-10-31 Alan Modra <amodra@gmail.com>
26246
26247 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26248 IS_IN (libc).
26249 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26250 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26252
d46b09f9
AM
262532017-10-31 Alan Modra <amodra@gmail.com>
26254
26255 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26256 USE_AS_STPNCPY.
26257
e9b8e194
AM
262582017-10-31 Alan Modra <amodra@gmail.com>
26259
26260 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26261 Redefine only when SHARED.
26262
eda162dd
JM
262632017-10-30 Joseph Myers <joseph@codesourcery.com>
26264
b61afe8c
JM
26265 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26266 Include <bits/math-finite.h> with appropriate macros defined and
26267 undefined.
26268 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26269 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26270 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26271 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26272 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26273
eda162dd
JM
26274 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26275 [!_Mlong_double_] (_Mlong_double_): Likewise.
26276 [!_Mfloat16_] (_Mfloat16_): Likewise.
26277 [!_Mfloat32_] (_Mfloat32_): Likewise.
26278 [!_Mfloat64_] (_Mfloat64_): Likewise.
26279 [!_Mfloat128_] (_Mfloat128_): Likewise.
26280 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26281 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26282 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26283 (_Mdouble_): Define without indirection through those macros.
26284 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26285 [!_Mfloat128_] (_Mfloat128_): Likewise.
26286 [_Mlong_double_] (_Mlong_double_): Likewise.
26287 (_Mdouble_): Define without indirection through those macros.
26288 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26289 not add -D_Mlong_double_=double.
26290 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26291 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26292
4ad5106e
L
262932017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26294
26295 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26296
fe326df7
L
262972017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26298
26299 * sysdeps/x86/libc-start.c: Reformat.
26300
c5cc4514
L
263012017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26302
26303 [BZ #22353]
26304 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26305 (1): Renamed to ...
26306 (L(Src0)): This.
26307 (L(Src1)): New.
26308 (L(Src2)): Likewise.
26309 (L(1)): Renamed to ...
26310 (L(Src3)): This.
26311
ce12269f
JM
263122017-10-30 Joseph Myers <joseph@codesourcery.com>
26313
26314 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26315 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26316 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26317 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26318 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26319 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26320 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26321 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26322 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26323 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26324 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26325 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26326 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26327 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26328 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26329 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26330 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26331 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26332 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26333 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26334 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26335 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26336 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26337 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26338 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26339 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26340 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26341 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26342 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26343 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26344 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26345 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26346 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26347 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26348 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26349 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26350 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26351 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26352 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26353 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26354 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26355 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26356 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26357 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26358 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26359 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26360 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26361 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26362 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26363 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26364 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26365 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26366 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26367 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26368 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26369 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26370 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26371 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26372 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26373 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26374 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26375 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26376 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26377 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26378 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26379 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26380
4484b9e2
FW
263812017-10-30 Florian Weimer <fweimer@redhat.com>
26382
26383 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26384 always defined.
26385 * io/tst-mkdirat.c (do_test): Likewise.
26386 * io/tst-mkfifoat.c (do_test): Likewise.
26387 * io/tst-mknodat.c (do_test): Likewise.
26388 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26389 * locale/programs/locale.c (select_dirs): Likewise.
26390 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26391 * posix/bug-glob2.c (my_readdir): Likewise.
26392 * posix/tst-dir.c (main): Likewise.
26393 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26394 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26395
68fe16dd
FW
263962017-10-30 Florian Weimer <fweimer@redhat.com>
26397
26398 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26399 just __USE_GNU.
26400
dadf23f0
FW
264012017-10-30 Florian Weimer <fweimer@redhat.com>
26402
26403 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26404 Convert to support/test-driver.c.
26405 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26406 New macro parameters.
26407 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26408 * posix/tst-gnuglob.c: New file.
26409 * posix/tst-gnuglob64.c: Likewise.
26410 * posix/Makefile (tests): Add tst-gnuglob64.
26411
363e4519 264122017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26413
26414 [BZ #19485]
26415 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26416 and use a better translation for March in “mon”.
26417 * localedata/locales/csb_PL: Use more ASCII to improve the
26418 readability of the source.
26419
b110af82
MF
264202017-10-30 Mike FABIAN <mfabian@redhat.com>
26421
26422 [BZ #13953]
26423 * localedata/locales/km_KH: Use ASCII as much
26424 as possible for better readability of the source and
26425 remove useless comments.
26426 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26427 was commented out and apparently wrong anyway because it was
26428 using Lao characters. If Buddhist era should be used
26429 for km_KH, a native speaker should write the correct formaat
26430 for Khmer.
26431 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26432 (According to CLDR, the first weekday for Cambodia is Sunday).
26433 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26434 (These were using Lao characters which must be wrong. If we get
26435 the correct data from a native speaker, we could add it back, until
26436 then it is better not to have name_mr and name_mrs at all than
26437 having it wrong).
26438
f301e533
RL
264392017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26440
26441 * locale/loadlocale.c: Correct size of
26442 _nl_value_type_LC_<category> arrays.
26443
7e9d7073
JM
264442017-10-27 Joseph Myers <joseph@codesourcery.com>
26445
26446 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26447 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26448 with appropriate macros defined and undefined.
26449 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26450 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26451 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26452 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26453 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26454
63d3b468
L
264552017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26456
26457 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26458 "-O2 -march=i586".
26459
a4cc02c7
MF
264602017-10-27 Mike FABIAN <mfabian@redhat.com>
26461
26462 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26463 with lowercase letters to make it agree with CLDR.
26464
1e5971ec
MF
264652017-10-27 Mike FABIAN <mfabian@redhat.com>
26466
26467 [BZ #15260]
26468 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26469 first letters of yesstr and nostr in yesexpr and noexpr,
26470 not for the full words.
26471 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26472 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26473 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26474 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26475 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26476 first letters of yesstr and nostr in yesexpr and noexpr,
26477 until now only English was matched in yesexpr and noexpr.
26478 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26479 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26480 fil but not for tl. As tl and fil are very similar, using fil
26481 is probably better than using English.
26482
363e4519 264832017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26484
26485 [BZ #21706]
26486 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26487 in yesstr and nostr.
26488
5d220788
JM
264892017-10-26 Joseph Myers <joseph@codesourcery.com>
26490
ecc7da5b
JM
26491 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26492 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26493 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26494 Likewise.
26495 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26496 Likewise.
26497 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26498 Likewise.
26499 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26500 Likewise.
26501 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26502 (SNANF128X): Likewise.
26503
5d220788
JM
26504 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26505 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26506 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26507 (HUGE_VAL_F32): Likewise.
26508 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26509 (HUGE_VAL_F64): Likewise.
26510 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26511 (HUGE_VAL_F32X): Likewise.
26512 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26513 (HUGE_VAL_F64X): Likewise.
26514 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26515 (HUGE_VAL_F128X): Likewise.
26516
363e4519 265172017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26518
26519 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26520 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26521 for the br_FR locale.
26522
363e4519 265232017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26524
26525 [BZ #21706]
26526 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26527
337ff3c5
CD
265282017-10-25 Carlos O'Donell <carlos@redhat.com>
26529
02eec681
CD
26530 * locale/programs/record-status.h: Define globals, and function
26531 prototypes. Move function bodies...
26532 * locale/programs/record-status.c: ... to here. New file.
26533 * iconv/Makefile (iconv_prog-modules): Add record-status.
26534 * locale/Makefile (lib-modules): Likewise.
26535 * iconv/iconv_prog.c: Remove verbose.
26536 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26537 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26538 record a warning about ASCII compatibility.
26539 * locale/programs/ld-monetary.c (monetary_finish): If
26540 warn_int_curr_symbol is true then record a warning about the symbol
26541 not being in our ISO 4217 list.
26542 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26543 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26544 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26545 (OPT_NO_WARN): Define.
26546 (OPT_WARN): Define.
26547 (options): Add entry for --no-warnings, and --warnings.
26548 (set_warnings): New function to enable/disable warnings.
26549 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26550 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26551 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26552 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26553 Pass flags to generate_locale.
26554 (generate_locale): Accept new flag argument and pass it to localedef
26555 invocation.
26556 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26557 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26558
56fa555a
CD
26559 * localedata/Makefile (test-input-data): Use full file name.
26560 * localedata/da_DK.in: Rename to...
26561 * localedata/da_DK.ISO-8859-1.in: ...this.
26562 * localedata/de_DE.in: Rename to...
26563 * localedata/de_DE.ISO-8859-1.in: ...this.
26564 * localedata/en_US.in: Rename to...
26565 * localedata/en_US.ISO-8859-1.in: ...this.
26566 * localedata/fr_FR.in: Rename to...
26567 * localedata/fr_FR.UTF-8.in: ... this.
26568 * localedata/hr_HR.in: Rename to...
26569 * localedata/hr_HR.ISO-8859-2.in: ...this.
26570 * localedata/hu_HU.in: Rename to...
26571 * localedata/hu_HU.UTF-8.in: ...this.
26572 * localedata/si_LK.in: Rename to...
26573 * localedata/si_LK.UTF-8.in: ...this.
26574 * localedata/sv_SE.in: Rename to...
26575 * localedata/sv_SE.ISO-8859-1.in: ...this.
26576 * localedata/tr_TR.in: Rename to...
26577 * localedata/tr_TR.UTF-8.in: ...this.
26578 * localedata/uk_UA.in: Rename to...
26579 * localedata/uk_UA.UTF-8.in: ...this.
26580 * localedata/sort-test.sh: Test file is locale name with the
26581 suffix.
26582
337ff3c5
CD
26583 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26584 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26585 file.
26586 * localedata/locales/i18n_ctype: Regenerate.
26587 * localedata/locales/tr_TR: Likewise.
26588 * localedata/locales/translit_circle: Likewise.
26589 * localedata/locales/translit_cjk_compat: Likewise.
26590 * localedata/locales/translit_combining: Likewise.
26591 * localedata/locales/translit_compat: Likewise.
26592 * localedata/locales/translit_font: Likewise.
26593 * localedata/locales/translit_fraction: Likewise.
26594
63da5cd4
RS
265952017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26596
26597 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26598 lxvd2x/stxvd2x with lvx/stvx.
26599 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26600
a122dbfb
L
266012017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26602
26603 * include/alloc_buffer.h: Replace "if if " with "if " in
26604 comments.
26605 * sysdeps/mips/memcpy.S: Likkewise.
26606 * sysdeps/mips/memset.S: Likewise.
26607 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26608 Likewise.
26609 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26610 Likewise.
26611 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26612 Likewise.
26613
9be7530c
MF
266142017-10-25 Mike FABIAN <mfabian@redhat.com>
26615
26616 [BZ #15261]
26617 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26618 yesexpr and noexpr.
26619 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26620 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26621 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26622 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26623 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26624 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26625 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26626
6ccbf6ff
MF
266272017-10-25 Mike FABIAN <mfabian@redhat.com>
26628
26629 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26630 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26631 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26632 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26633 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26634 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26635 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26636 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26637 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26638 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26639 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26640 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26641
58b1a7ea
MF
266422017-10-25 Mike FABIAN <mfabian@redhat.com>
26643
26644 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26645 as possible for better readability of the source.
26646 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26647 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26648 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26649 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26650 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26651 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26652 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26653 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26654 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26655 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26656 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26657 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26658 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26659 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26660 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26661 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26662 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26663 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26664 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26665 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26666 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26667 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26668 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26669 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26670 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26671 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26672 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26673 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26674 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26675 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26676 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26677 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26678 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26679 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26680 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26681 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26682 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26683 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26684 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26685 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26686 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26687 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26688 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26689 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26690 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26691 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26692 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26693 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26694 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26695 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26696 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26697 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26698 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26699 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26700 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26701 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26702 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26703 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26704 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26705 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26706 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26707 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26708 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26709 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26710 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26711 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26712 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26713 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26714 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26715 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26716 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26717 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26718 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26719 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26720 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26721 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26722 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26723 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26724 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26725 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26726 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26727 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26728 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26729 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26730 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26731 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26732 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26733 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26734 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26735 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26736 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26737 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26738 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26739 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26740 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26741 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26742 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26743 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26744 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26745 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26746 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26747 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26748 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26749 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26750 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26751 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26752 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26753 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26754 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26755 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26756 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26757 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26758 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26759 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26760 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26761 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26762 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26763 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26764 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26765 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26766 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26767 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26768 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26769 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26770 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26771 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26772 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26773 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26774 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26775 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26776 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26777 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26778 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26779 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26780 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26781 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26782 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26783 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26784 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26785 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26786 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26787 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26788 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26789 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26790 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26791 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26792 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26793 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26794 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26795 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26796 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26797 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26798 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26799 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26800 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26801 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26802 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26803 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26804 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26805 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26806 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26807 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26808 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26809 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26810 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26811 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26812 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26813 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26814 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26815 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26816 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26817 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26818 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26819 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26820
17e78edb
MF
268212017-10-25 Mike FABIAN <mfabian@redhat.com>
26822
26823 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26824 (Use first letters of yesstr and nostr correctly instead of using
26825 full words).
26826
74e7284f
MF
268272017-10-25 Mike FABIAN <mfabian@redhat.com>
26828
26829 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26830 (Use first letters of yesstr and nostr correctly).
26831
b41a0ff1
MF
268322017-10-25 Mike FABIAN <mfabian@redhat.com>
26833
26834 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26835 also check for the first characters of yesstr and nostr.
26836 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26837 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26838
d971f380
MF
268392017-10-25 Mike FABIAN <mfabian@redhat.com>
26840
26841 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26842 also check for Chinese characters.
26843
effc9e1d
MF
268442017-10-25 Mike FABIAN <mfabian@redhat.com>
26845
26846 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26847 match also for the contents of yesstr and nostr. As the first letter
26848 of yesstr and nostr is equal, checking only for the first letter
26849 is not enough.
26850
10320881
MF
268512017-10-25 Mike FABIAN <mfabian@redhat.com>
26852
26853 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26854 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26855
d8682a15
MF
268562017-10-25 Mike FABIAN <mfabian@redhat.com>
26857
26858 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26859 of main contributor.
26860
1bfb86ae
MF
268612017-10-25 Mike FABIAN <mfabian@redhat.com>
26862
26863 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26864 instead of using English.
26865
da33d60b
MF
268662017-10-25 Mike FABIAN <mfabian@redhat.com>
26867
26868 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26869 by including the first letters of nostr and yesexpr in the regexp.
26870 Also make it more readable by using ASCII where possible.
26871
725bbb3e
MF
268722017-10-25 Mike FABIAN <mfabian@redhat.com>
26873
26874 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26875 the first letter of nostr in the regexp. It agrees with CLDR now.
26876 Also make it more readable by using ASCII where possible.
26877
fe043d8a
MF
268782017-10-24 Mike FABIAN <mfabian@redhat.com>
26879
26880 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26881 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26882 these strings contain a U+17D6 (which somewhat looks like a colon)
26883 instead of a real colon to separate the full words for “yes”
26884 and “no” from the single letter responses.
26885
360a8df3
MF
268862017-10-24 Mike FABIAN <mfabian@redhat.com>
26887
26888 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26889 it agree with CLDR (include the first letter of yesstr).
26890 Also make it more readable by using ASCII where possible.
26891
bab7b6b0
MF
268922017-10-24 Mike FABIAN <mfabian@redhat.com>
26893
26894 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26895 and improve yesexpr and noexpr. The yesstr and nostr apparently
26896 came from CLDR. And CLDR has a bug there: these strings contain
26897 a U+0903 (which looks like a colon) instead of a real colon
26898 to separate the full words for “yes” and “no” from the single
26899 letter responses.
26900
3e79f758
MF
269012017-10-24 Mike FABIAN <mfabian@redhat.com>
26902
26903 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26904 letters of the full yesstr and nostr in yesexpr and noexpr.
26905
4960c879
MF
269062017-10-24 Mike FABIAN <mfabian@redhat.com>
26907
26908 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26909 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26910 * localedata/locales/an_ES: Make source more readable by using ASCII
26911 where possible.
26912
b06a054f
MF
269132017-10-24 Mike FABIAN <mfabian@redhat.com>
26914
26915 [BZ #20952]
26916 * localedata/locales/yuw_PG: New file.
26917 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26918 * locale/iso-639.def: Add Yau (Uruwa).
26919
905a7725
WD
269202017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26921
26922 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26923
3f6bb8a3
WD
269242017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26925
26926 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26927 (__libc_realloc): Likewise.
26928 (_mid_memalign): Likewise.
26929 (__libc_calloc): Likewise.
26930
1d479c8c
MF
269312017-10-23 Mike FABIAN <mfabian@redhat.com>
26932
26933 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26934 by adding the generic +1 and -0 as in all other locales.
26935 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26936 day names and make it more readable by using ASCII where possible.
26937
91c3985c
JM
269382017-10-24 Joseph Myers <joseph@codesourcery.com>
26939
26940 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26941 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26942
aa95a241
AZ
269432017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26944
26945 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26946 WNOHANG in waitpid call.
26947
db9bab09
SP
269482017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26949
a2e0a7f1
SP
26950 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26951 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26952
db9bab09
SP
26953 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26954 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26955 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26956 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26957 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26958 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26959 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26960 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26961 variables.
26962
5062680c
MC
269632017-10-23 Michael Collison <michael.collison@arm.com>
26964
26965 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26966 with __builtin_sqrt.
26967 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26968 with __builtin_sqrtf.
26969 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26970 with __builtin_ceil.
26971 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26972 with __builtin_ceilf.
26973 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26974 with __builtin_floor.
26975 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26976 with __builtin_floorf.
26977 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26978 with __builtin_fma.
26979 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26980 with __builtin_fmaf.
26981 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26982 with __builtin_fmax.
26983 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26984 with __builtin_fmaxf.
26985 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26986 with __builtin_fmin.
26987 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26988 with __builtin_fminf.
26989 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26990 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26991 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26992 with builtin_rint and conversion to int.
26993 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26994 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26995 with builtin_llround.
26996 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26997 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26998 with builtin_rint and conversion to long int.
26999 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27000 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27001 with builtin_lround.
27002 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27003 with builtin_lroundf.
27004 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27005 statements with __builtin_nearbyint.
27006 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27007 statements with __builtin_nearbyintf.
27008 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27009 with __builtin_rint.
27010 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27011 with __builtin_rintf.
27012 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27013 with __builtin_round.
27014 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27015 with __builtin_roundf.
27016 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27017 with __builtin_trunc.
27018 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27019 with __builtin_truncf.
be080b6c
SN
27020 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27021 and s_l[l]round[f].c too.
5062680c 27022
174935af
AM
270232017-10-23 Alan Modra <amodra@gmail.com>
27024
27025 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27026 Adjust stack after restoring regs. Add missing LR cfi_restore.
27027
750a0e49
AM
270282017-10-23 Alan Modra <amodra@gmail.com>
27029
27030 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27031 Move LR save and frame setup/teardown and LR restore to
27032 immediately around memset call. Provide cfi.
27033
5313581c
L
270342017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27035
27036 * sysdeps/i386/fpu/e_powf.S: Removed.
27037 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27038 * sysdeps/i386/fpu/w_powf.c: Likewise.
27039 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27040 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27041 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27042 Add e_powf-sse2.
27043 (CFLAGS-e_powf-sse2.c): New.
27044 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27045 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27046
6089a3ee
L
270472017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27048
27049 * sysdeps/i386/fpu/e_log2f.S: Removed.
27050 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27051 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27052 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27053 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27054 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27055 Add e_log2f-sse2.
27056 (CFLAGS-e_log2f-sse2.c): New.
27057 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27058 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27059
80bb5935
L
270602017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27061
27062 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27063 Add e_powf-fma.
27064 (CFLAGS-e_powf-fma.c): New.
27065 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27066 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27067
5c7adbd8
L
270682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27069
27070 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27071 Add e_log2f-fma.
27072 (CFLAGS-e_log2f-fma.c): New.
27073 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27074 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27075
0ccc7153
L
270762017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27077
27078 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27079 Add e_logf-fma.
27080 (CFLAGS-e_logf-fma.c): New.
27081 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27082 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27083
fe596486
L
270842017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27085
27086 * sysdeps/i386/fpu/e_logf.S: Removed.
27087 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27088 * sysdeps/i386/fpu/w_logf.c: Likewise.
27089 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27090 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27091 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27092 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27093 Add e_logf-sse2.
27094 (CFLAGS-e_logf-sse2.c): New.
27095 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27096 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27097
7eda65f6
L
270982017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27099
27100 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27101 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27102 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27103 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27104 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27105 Add e_exp2f-sse2.
27106 (CFLAGS-e_exp2f-sse2.c): New.
27107 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27108 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27109
5d15c969
L
271102017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27111
27112 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27113 Add e_exp2f-fma.
27114 (CFLAGS-e_exp2f-fma.c): New.
27115 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27116 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27117
b2f6137e
L
271182017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27119
27120 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27121 * sysdeps/i386/fpu/e_expf.S: Likewise.
27122 * sysdeps/i386/fpu/math_errf.c: Likewise.
27123 * sysdeps/i386/fpu/w_expf.c: Likewise.
27124 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27125 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27126 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27127 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27128 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27129 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27130 Remove e_expf-ia32.
27131 (CFLAGS-e_expf-sse2.c): New.
27132 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27133 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27134
e1f59beb
L
271352017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27136
27137 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27138 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27139 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27140 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27141 e_expf.c.
27142 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27143 New.
27144 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27145 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27146 Renamed to ...
27147 (__redirect_expf): This.
27148 (SYMBOL_NAME): Changed to expf.
27149 (__ieee754_expf): Renamed to ...
27150 (__expf): This.
27151 (__GI___expf): This.
27152 (__ieee754_expf): Add strong_alias.
27153 (__expf_finite): Likewise.
27154 (__expf): New.
27155 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27156
363e4519 271572017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27158
27159 [BZ #22332]
27160 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27161 unescaping.
27162
e80fc1fc
FW
271632017-10-21 Florian Weimer <fweimer@redhat.com>
27164
27165 * posix/Makefile (tests): Add tst-glob-tilde.
27166 (tests-special): Add tst-glob-tilde-mem.out
27167 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27168 (tst-glob-tilde-mem.out): Add mtrace check.
27169 * posix/tst-glob-tilde.c: New file.
27170
797ba44b
JM
271712017-10-20 Joseph Myers <joseph@codesourcery.com>
27172
27173 * bits/floatn-common.h: New file.
27174 * math/Makefile (headers): Add bits/floatn-common.h.
27175 * bits/floatn.h: Include <bits/floatn-common.h>.
27176 * sysdeps/ia64/bits/floatn.h: Likewise.
27177 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27178 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27179 * sysdeps/powerpc/bits/floatn.h: Likewise.
27180 * sysdeps/x86/bits/floatn.h: Likewise.
27181
fe05e1cb
AZ
271822017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27183
8f6f5362
AZ
27184 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27185 indicates whether compiler emits an warning for alias for
27186 functions with incompatible types.
27187
fe05e1cb
AZ
27188 [BZ #22273]
27189 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27190 the auxiliary process is terminated by a signal before calling _exit
27191 or execve.
27192
b52b0d79
L
271932017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27194
27195 [BZ #21265]
27196 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27197 New.
27198 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27199 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27200 and bit_arch_XSAVEC_Usable if needed.
27201 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27202 and bit_arch_Use_dl_runtime_resolve_opt.
27203 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27204 Removed.
27205 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27206 (bit_arch_Prefer_No_AVX512): Updated.
27207 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27208 (bit_arch_XSAVEC_Usable): New.
27209 (STATE_SAVE_OFFSET): Likewise.
27210 (STATE_SAVE_MASK): Likewise.
27211 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27212 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27213 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27214 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27215 (index_arch_XSAVEC_Usable): New.
27216 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27217 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27218 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27219 is enabled.
27220 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27221 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27222 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27223 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27224 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27225 _dl_runtime_resolve_xsavec.
27226 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27227 Removed.
27228 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27229 instead of VEC_SIZE.
27230 (REGISTER_SAVE_BND0): Removed.
27231 (REGISTER_SAVE_BND1): Likewise.
27232 (REGISTER_SAVE_BND3): Likewise.
27233 (REGISTER_SAVE_RAX): Always defined to 0.
27234 (VMOV): Removed.
27235 (_dl_runtime_resolve_avx): Likewise.
27236 (_dl_runtime_resolve_avx_slow): Likewise.
27237 (_dl_runtime_resolve_avx_opt): Likewise.
27238 (_dl_runtime_resolve_avx512): Likewise.
27239 (_dl_runtime_resolve_avx512_opt): Likewise.
27240 (_dl_runtime_resolve_sse): Likewise.
27241 (_dl_runtime_resolve_sse_vex): Likewise.
27242 (USE_FXSAVE): New.
27243 (_dl_runtime_resolve_fxsave): Likewise.
27244 (USE_XSAVE): Likewise.
27245 (_dl_runtime_resolve_xsave): Likewise.
27246 (USE_XSAVEC): Likewise.
27247 (_dl_runtime_resolve_xsavec): Likewise.
27248 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27249 Removed.
27250 (_dl_runtime_resolve_avx512_opt): Likewise.
27251 (_dl_runtime_resolve_avx): Likewise.
27252 (_dl_runtime_resolve_avx_opt): Likewise.
27253 (_dl_runtime_resolve_sse): Likewise.
27254 (_dl_runtime_resolve_sse_vex): Likewise.
27255 (_dl_runtime_resolve_fxsave): New.
27256 (_dl_runtime_resolve_xsave): Likewise.
27257 (_dl_runtime_resolve_xsavec): Likewise.
27258
363e4519 272592017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27260
27261 [BZ #22320]
27262 CVE-2017-15670
27263 * posix/glob.c (__glob): Fix one-byte overflow.
27264
6d43de4b
WD
272652017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27266
27267 * malloc/malloc.c (sysdep-cancel.h): Add include.
27268
a15d53e2
WD
272692017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27270
27271 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27272
b9a558e7
WH
272732017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27274
27275 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27276 (tests): Remove $(objpfx)ga_test depdendency.
27277 * resolv/ga_test.c: Remove file.
27278
b6b08b8e
MF
272792017-10-20 Mike FABIAN <mfabian@redhat.com>
27280
27281 [BZ #18812]
27282 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27283 * localedata/locales/kab_DZ: New file.
27284
9ba7e810
L
272852017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27286
27287 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27288 _dl_relocate_static_pie instead of _dl_start to compute load
27289 address in static PIE.
27290
4027a4fd
L
272912017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27292
27293 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27294
2f9314b4
MF
272952017-10-20 Mike FABIAN <mfabian@redhat.com>
27296
27297 [BZ #13605]
27298 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27299 * localedata/locales/shn_MM: New file.
27300
63b4baa4
FW
273012017-10-20 Florian Weimer <fweimer@redhat.com>
27302
27303 [BZ #22321]
27304 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27305 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27306 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27307 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27308 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27309 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27310
95ccb619
L
273112017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27312
27313 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27314
37bb78cb
JM
273152017-10-19 Joseph Myers <joseph@codesourcery.com>
27316
76f2ed92
JM
27317 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27318
37bb78cb
JM
27319 [BZ #22322]
27320 * sysdeps/mips/bits/long-double.h: Move to ....
27321 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27322
d74e6f6c
WD
273232017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27324
27325 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27326
363e4519 273272017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27328 H.J. Lu <hongjiu.lu@intel.com>
27329
27330 [BZ #22299]
27331 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27332 GLRO(dl_platform) to NULL.
27333 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27334 (modules-names): Add tst-platformmod-1 and
27335 x86_64/tst-platformmod-2.
27336 (CFLAGS-tst-platform-1.c): New.
27337 (CFLAGS-tst-platformmod-1.c): Likewise.
27338 (CFLAGS-tst-platformmod-2.c): Likewise.
27339 (LDFLAGS-tst-platformmod-2.so): Likewise.
27340 ($(objpfx)tst-platform-1): Likewise.
27341 ($(objpfx)tst-platform-1.out): Likewise.
27342 (tst-platform-1-ENV): Likewise.
27343 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27344 * sysdeps/x86_64/tst-platform-1.c: New file.
27345 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27346 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27347
4b0fa403
MF
273482017-10-19 Mike FABIAN <mfabian@redhat.com>
27349
27350 [BZ #13994]
27351 * locale/iso-639.def: Add Karbi.
27352 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27353 * localedata/locales/mjw_IN: New file.
27354
81325b12
JM
273552017-10-18 Joseph Myers <joseph@codesourcery.com>
27356
27357 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27358 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27359 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27360 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27361 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27362 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27363 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27364 <bits/floatn.h>.
27365 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27366 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27367 * manual/math.texi (Mathematics): Document additional architecture
27368 support for _Float128.
27369 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27370 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27371 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27372 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27373 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27374 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27376 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27377 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27379 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27380 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27381 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27382 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27383 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27384
a68ba2f3
SN
273852017-10-18 Renlin Li <renlin.li@arm.com>
27386
27387 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27388 _DYNAMIC symbol to calculate load address.
27389
346729f6
PC
273902017-10-18 Paul A. Clarke <pc@us.ibm.com>
27391
27392 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27393 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27394 summary bits.
27395 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27396 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27397
508b1e71
MF
273982017-10-18 Mike FABIAN <mfabian@redhat.com>
27399
27400 [BZ #16777]
27401 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27402 and improve readability by using more ASCII.
27403 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27404 and improve readability by using more ASCII.
27405
2c2245b9
WD
274062017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27407
27408 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27409 not all targets support atomics on bool.
27410
13c92696
JM
274112017-10-17 Joseph Myers <joseph@codesourcery.com>
27412
27413 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27414 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27415 __f128.
27416 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27417 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27418 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27419 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27420 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27421 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27422
71d85045
AZ
274232017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27424
27425 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27426 defines.
27427
3381be5c
WD
274282017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27429
27430 [BZ #22159]
27431 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27432 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27433 (do_check_remalloced_chunk): Fix build bug.
27434 (do_check_malloc_state): Add assert that checks arena->top.
27435 (malloc_consolidate): Remove initialization.
27436 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27437 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27438
e956075a
WD
274392017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27440
27441 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27442 (have_fastchunks): Remove.
27443 (clear_fastchunks): Remove.
27444 (set_fastchunks): Remove.
27445 (malloc_state): Add have_fastchunks.
27446 (malloc_init_state): Use have_fastchunks.
27447 (do_check_malloc_state): Remove incorrect invariant checks.
27448 (_int_malloc): Use have_fastchunks.
27449 (_int_free): Likewise.
27450 (malloc_consolidate): Likewise.
27451
e4dd4ace
WD
274522017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27453
27454 * malloc/malloc.c (tcache_put): Inline.
27455 (tcache_get): Inline.
27456
5bf58bc7
AJ
274572017-10-17 Jordi Mallach <jordi@gnu.org>
27458
27459 Aurelien Jarno <aurelien@aurel32.net>
27460 [BZ #2522]
27461 * localedata/locales/ca_ES@valencia: New file.
27462 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27463
386e1c26
RN
274642017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27465
27466 [BZ #22296]
27467 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27468 < 6.x
27469
4e17c78e
AZ
274702017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27471
3d265601
AZ
27472 * scripts/build-many-glibcs.py (Context.add_all_configs):
27473 Add arm-linux-gnueabihf multiarch extra_glibcs.
27474
4e17c78e
AZ
27475 * sysdeps/generic/ifunc-init.h: New file.
27476 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27477
56a752ab
MF
274782017-10-17 Mike FABIAN <mfabian@redhat.com>
27479
27480 [BZ #22019]
27481 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27482 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27483 * stdlib/tst-strfmon_l.c: adapt test case.
27484
c38a4bfd
JM
274852017-10-16 Joseph Myers <joseph@codesourcery.com>
27486
27487 * sysdeps/generic/float128-abi.h: New file.
27488 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27489 non-__prefixed symbols to ....
27490 * math/Versions: ... here. Include <float128-abi.h>.
27491 * stdlib/Versions ... and here. Include <float128-abi.h>
27492
76009b26
FW
274932017-10-16 Florian Weimer <fweimer@redhat.com>
27494
27495 * version.h (VERSION): Switch to ".9000" as the development
27496 version suffix.
27497
7ece6cd5
FW
274982017-10-16 Florian Weimer <fweimer@redhat.com>
27499
27500 [BZ #22050]
27501 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27502 compat_symbol_reference to access non-default version.
27503
d8287b36
FW
275042017-10-16 Florian Weimer <fweimer@redhat.com>
27505
27506 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27507
3480ddc4
CD
275082017-10-16 Carlos O'Donell <carlos@redhat.com>
27509
27510 * include/shlib-compat.h (compat_symbol_reference): Update
27511 comment.
27512
02010e79
JM
275132017-10-16 Joseph Myers <joseph@codesourcery.com>
27514
596f7013
JM
27515 * math/Makefile (test-types): Add
27516 $(type-float128-$(float128-alias-fcts)).
27517 * math/test-float128.h (TYPE_STR): Define conditional on
27518 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27519 (ULP_IDX): Likewise.
27520 (ULP_I_IDX): Likewise.
27521
02010e79
JM
27522 * stdlib/strtold.c: Include <bits/floatn.h>
27523 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27524 and later undefine as macro. Define as weak alias if
27525 [!USE_WIDE_CHAR].
27526 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27527 and later undefine as macro. Define as weak alias if
27528 [USE_WIDE_CHAR].
27529 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27530 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27531 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27532 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27533 Define and later undefine as macro. Define as weak alias if
27534 [USE_WIDE_CHAR].
27535 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27536 <bits/floatn.h>.
27537 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27538 Define and later undefine as macro. Define as weak alias if
27539 [!USE_WIDE_CHAR].
27540 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27541 Define and later undefine as macro. Define as weak alias if
27542 [USE_WIDE_CHAR].
27543
ea91c315
CD
275442017-10-15 Carlos O'Donell <carlos@redhat.com>
27545
27546 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27547 record_verbose messages.
27548
8e57c943
L
275492017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27550
27551 [BZ #22052]
27552 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27553 to silence -O3 -Wall warning with GCC 7.
27554
a4777c46
L
275552017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27556
27557 * Makeconfig (+link-static-before-libc): Use the first of
27558 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27559 * gmon/Makefile (tests): Add tst-gmon-static.
27560 (tests-static): Likewise.
27561 (CFLAGS-tst-gmon-static.c): New.
27562 (CRT-tst-gmon-static): Likewise.
27563 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27564 (tst-gmon-static-ENV): Likewise.
27565 (tests-special): Likewise.
27566 ($(objpfx)tst-gmon-static.out): Likewise.
27567 (clean-tst-gmon-static-data): Likewise.
27568 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27569 * gmon/tst-gmon-static-gprof.sh: New file.
27570 * gmon/tst-gmon-static.c: Likewise.
27571
bc3821bb
CD
275722017-10-13 Carlos O'Donell <carlos@redhat.com>
27573
27574 [BZ #22295]
27575 * locale/programs/linereader.c (get_string): Don't warn on
27576 non-symbolic character.
27577
a3e23a2c
CD
27578 [BZ #22294]
27579 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27580 int_curr_symbol.
27581
f16491eb
CD
27582 [BZ #22292]
27583 * locale/programs/record-status.h: New file
27584 * locale/programs/locale.c: Add comment.
27585 * locale/programs/charmap-dir.c: Don't include error.h.
27586 (charmap_opendir): Use record_error.
27587 * locale/programs/charmap.c: Don't include error.h.
27588 (charmap_read): Use record_error, and record_warning.
27589 (parse_charmap): Likewise.
27590 * locale/programs/ld-address.c: Don't include error.h.
27591 (address_finish): Use record_error, and record_warning.
27592 * locale/programs/ld-collate.c: Don't include error.h.
27593 (collate_finish): Use record_error, and record_error_at_line.
27594 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27595 (ctype_class_new): Likewise.
27596 (ctype_map_new): Likewise.
27597 (set_one_default): Likewise.
27598 (set_class_defaults): Likewise.
27599 (translit_flatten): Likewise.
27600 (allocate_arrays): Use record_error, and record_verbose.
27601 * locale/programs/ld-identification.c: Don't include error.h.
27602 (indentation_finish): Use record_error and record_warning.
27603 * locale/programs/ld-measurement.c: Don't include error.h.
27604 (measurement_finish): Use record_error.
27605 * locale/programs/ld-messages.c
27606 (message_finish): Likewise.
27607 * locale/programs/ld-monetary.c
27608 (monetary_finish): Likewise.
27609 * locale/programs/ld-name.c (name_finish): Use record_error
27610 and record_warning.
27611 * locale/programs/ld-numeric.c
27612 (numeric_finish): Use record_error.
27613 * locale/programs/ld-paper.c: Don't include error.h.
27614 (paper_finish): Use record_error.
27615 * locale/programs/ld-telephone.c: Don't include error.h.
27616 (telephone_finish): Use record_error.
27617 * locale/programs/ld-time.c (time_finish): Likewise.
27618 * locale/programs/linereader.h (lr_error): Make inline func.
27619 * locale/programs/localedef.c: Define recorded_warning_count,
27620 and recorded_error_count.
27621 (main): Use record_error. Use recorded_error_count and
27622 recorded_warning_count to issue correct error returns.
27623 (add_to_readlist): Use record_error.
27624 (find_locale): Likewise.
27625 (load_locale): Likewise.
27626 * locale/programs/localedef.h: Remove be_quiet
27627 and WITH_CUR_LOCALE.
27628 * locale/programs/locarchive.c (compare_from_file): Use
27629 record_error.
27630 * locale/programs/locfile.c (write_locale_data): Use
27631 record_error.
27632 * locale/programs/repertoire.c: Dont include error.h.
27633 (repertoire_complain): Use record_error.
27634 * localedata/tst-fmon.sh: Expect failures from localedef.
27635 * localedata/tst-locale.sh: Likewise.
27636 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27637
8dc8be75
CD
27638 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27639 (REPORTS): Likewise.
27640 (check): Likewise.
27641 (i18n): Rename to...
27642 (i18n_ctype): ...this.
27643 (i18n-report): Rename to...
27644 (i18n_ctype-report): ...this.
27645 * localedata/locales/i18n_ctype: Regenerate.
27646 * localedata/locales/i18n: copy i18n_ctype.
27647
f8718a9e
JM
276482017-10-13 Joseph Myers <joseph@codesourcery.com>
27649
18c08b96
JM
27650 * stdlib/strfroml.c: Include <bits/floatn.h>.
27651 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27652 Define before include of <stdlib.h> and undefine afterwards, then
27653 define as weak alias.
27654
f8718a9e
JM
27655 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27656 Undefine and restore default definition. Use
27657 libm_alias_ldouble_other.
27658
e4f530da
PZ
276592017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27660
27661 [BZ #22153]
27662 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27663 in coredumps.
27664
86445888
JC
276652017-10-13 James Clarke <jrtc27@jrtc27.com>
27666
27667 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27668 Assign sym_map to be map for local symbols, as TLS relocations
27669 use sym_map to determine whether the symbol is defined and to
27670 extract the TLS information.
27671 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27672 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27673
179dcdb7
TMQMF
276742017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27675
e8dbd6a3
TMQMF
27676 [BZ #22189]
27677 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27678 (math_force_eval): Add powerpc version.
27679
179dcdb7
TMQMF
27680 [BZ #22142]
27681 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27682 -DBL_MAX.
27683 (do_test): Likewise.
27684 * stdio-common/tst-printf.sh: Likewise.
27685 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27686 ifdef clause in order to set the carry bit right. Replace r0 by
27687 0 without changing the behavior.
27688
7d25d410
JM
276892017-10-13 Joseph Myers <joseph@codesourcery.com>
27690
006e7664
JM
27691 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27692 <libm-alias-ldouble.h>.
27693 (fabsl): Define using libm_alias_ldouble.
27694 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27695 <libm-alias-ldouble.h>.
27696 (fabsl): Define using libm_alias_ldouble.
27697
1def91b3
JM
27698 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27699 Remove conditional code.
27700
7d25d410
JM
27701 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27702 Rename to __clog10_internal_l.
27703 (__clog10_internal_l): Define aliases using
27704 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27705 with __clog10.
27706
077ee129
RS
277072017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27708
27709 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27710 * benchtests/sincosf-inputs: New file.
27711 * benchtests/cosf-inputs: New file.
27712 * benchtests/sinf-inputs: New file.
27713
5ba41de9
SN
277142017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27715
27716 * posix/tst-spawn.c (do_test): Wait for both children.
27717
d165ca64
L
277182017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27719
27720 [BZ #22284]
27721 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27722 tests-pie): Add tst-gmon-pie.
27723 (CFLAGS-tst-gmon-pie.c): New.
27724 (CRT-tst-gmon-pie): Likewise.
27725 (tst-gmon-pie-ENV): Likewise.
27726 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27727 ($(objpfx)tst-gmon-pie.out): Likewise.
27728 (clean-tst-gmon-pie-data): Likewise.
27729 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27730 * gmon/gmon.c [PIC]: Include <link.h>.
27731 [PIC] (callback): New function.
27732 (write_hist): Add an argument for load address. Subtract load
27733 address from PCs.
27734 (write_call_graph): Likewise.
27735 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27736 it to write_hist and write_call_graph.
7bacdcfc 27737 * gmon/tst-gmon-pie.c: New file.
d165ca64 27738
bc9620d0
JM
277392017-10-11 Joseph Myers <joseph@codesourcery.com>
27740
27741 * math/Makefile (test-types-basic): New variable.
27742 (test-types): Likewise.
27743 (libm-test-support): Use $(test-types) instead of $(types).
27744 (libm-tests-base-normal): Likewise.
27745 (libm-tests-base-finite): Likewise.
27746 (libm-tests-base-inline): Likewise.
27747 (generated): Likewise.
27748 ($(objpfx)libm-test-support-$(t).c): Likewise.
27749 (libm-tests-for-type iterator): Likewise.
27750 (libm-test-support iterator): Likewise.
27751 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27752 (ulp_idx): Use ULP_IDX.
27753 * math/test-ldouble.h: Include <float.h>.
27754 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27755 (ULP_IDX): New macro.
27756 (ULP_I_IDX): Likewise.
27757 * math/test-double.h (ULP_IDX): Likewise.
27758 (ULP_I_IDX): Likewise.
27759 * math/test-float.h (ULP_IDX): Likewise.
27760 (ULP_I_IDX): Likewise.
27761 * math/test-float128.h (ULP_IDX): Likewise.
27762 (ULP_I_IDX): Likewise.
27763
09c76a74
AZ
277642017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27765
27766 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27767 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27768 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27769 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27770 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27771 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27772 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27773 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27775 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27776 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27777 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27778 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27780 (SINGLE_THREAD_BY_GLOBAL): Define.
27781 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27782 Likewise.
27783 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27784 Likewise.
27785 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27786 Likewise.
27787 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27788 Likewise.
27789 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27790 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27791 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27792 Likewise.
27793
2faa42da
AS
277942017-10-11 Andreas Schwab <schwab@suse.de>
27795
27796 * nis/Makefile (aux): Remove.
27797 * nscd/Makefile (aux): Add nscd_hash.
27798 (nscd-modules): Likewise.
27799 ($(objpfx)nscd): Don't depend on libnsl.
27800 * nscd/nscd_hash.c: New file.
27801 * nscd/nscd_hash.h: Likewise.
27802 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27803 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27804 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27805 instead of <nis/rpcsvc/nis.h>.
27806 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27807
d8425e11
FW
278082017-10-11 Florian Weimer <fweimer@redhat.com>
27809
27810 [BZ #22078]
27811 Avoid large NSS buffers with many addresses, aliases.
27812 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27813 using dynarrays and struct alloc_buffer.
27814 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27815 (tst-nss-files-hosts-multi): Link with -ldl.
27816 * nss/tst-nss-files-hosts-multi.c: New file.
27817
78e806fd
FW
278182017-10-11 Florian Weimer <fweimer@redhat.com>
27819
27820 [BZ #18023]
27821 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27822 scratch_buffer. Eliminate gotos.
27823
541f19ba
JM
278242017-10-11 Joseph Myers <joseph@codesourcery.com>
27825
0ff64d3a
JM
27826 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27827 libm_alias_ldouble_other.
27828 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27829 undefine and redefine.
27830 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27831 (exp10l): Do not define here.
27832 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27833 (weak_alias): Undefine and redefine.
27834 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27835 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27836 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27837 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27838
541f19ba
JM
27839 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27840 [!__fma] (fma): Define using libm_alias_double.
27841 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27842 [!__fmaf] (fmaf): Define using libm_alias_float.
27843 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27844 (fmal): Define using libm_alias_ldouble.
27845
24b6515d
JM
278462017-10-10 Joseph Myers <joseph@codesourcery.com>
27847
27848 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27849 New macro.
27850 (libm_alias_double_other): Likewise.
27851 (libm_alias_double_r): Use libm_alias_double_other_r.
27852 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27853 New macro.
27854 (libm_alias_float_other): Likewise.
27855 (libm_alias_float_r): Use libm_alias_float_other_r.
27856 * sysdeps/generic/libm-alias-float128.h
27857 (libm_alias_float128_other_r): New macro.
27858 (libm_alias_float128_other): Likewise.
27859 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27860 * sysdeps/generic/libm-alias-ldouble.h
27861 (libm_alias_ldouble_other_r): New macro.
27862 (libm_alias_ldouble_other): Likewise.
27863 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27864 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27865 (libm_alias_double_other_r): New macro.
27866 (libm_alias_double_other): Likewise.
27867 (libm_alias_double_r): Use libm_alias_double_other_r.
27868 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27869 (libm_alias_ldouble_other_r): New macro.
27870 (libm_alias_ldouble_other): Likewise.
27871 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27872 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27873 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27874 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27875 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27876 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27877 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27878 * math/w_exp2f.c: Use libm_alias_float_other.
27879 * math/w_expf.c: Likewise.
27880 * math/w_log2f.c: Likewise.
27881 * math/w_logf.c: Likewise.
27882 * math/w_powf.c: Likewise.
27883 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27884 [!__exp2f]: Use libm_alias_float_other.
27885 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27886 [!__expf]: Use libm_alias_float_other.
27887 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27888 [!__log2f]: Use libm_alias_float_other.
27889 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27890 [!__logf]: Use libm_alias_float_other.
27891 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27892 [!__powf]: Use libm_alias_float_other.
27893
8ed70de2
FW
278942017-10-10 Florian Weimer <fweimer@redhat.com>
27895
27896 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27897 function.
27898 (_nss_files_gethostbyname3_r): Call it.
27899
a8dce619
JM
279002017-10-09 Joseph Myers <joseph@codesourcery.com>
27901
27902 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27903 error. Remove default definition of declare_mgen_alias.
27904 [!declare_mgen_alias_r]: Likewise.
27905 * sysdeps/generic/math-type-macros-double.h
27906 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27907 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27908 (declare_mgen_alias_r): Likewise.
27909 * sysdeps/generic/math-type-macros-float128.h
27910 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27911 * sysdeps/generic/math-type-macros-ldouble.h
27912 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27913 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27914 macro.
27915 (declare_mgen_alias_r_s): Likewise.
27916 (declare_mgen_alias_r): Likewise.
27917 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27918 (lgamma_r): Define using libm_alias_double_r.
27919 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27920 (lgammaf_r): Define using libm_alias_float_r.
27921 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27922 (lgammal_r): Define using libm_alias_ldouble_r.
27923 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27924 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27925
bedac136
AZ
279262017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27927
27928 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27929 extern declaration.
27930
c7509db2
JM
279312017-10-09 Joseph Myers <joseph@codesourcery.com>
27932
27933 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27934
d6c064e9
JW
279352017-10-09 Jonathan Wakely <jwakely@redhat.com>
27936
27937 [BZ #21326]
27938 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27939 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27940 * math/Makefile (test-math-cxx11): New test.
27941 * math/test-math-cxx11.cc: New file.
27942
98e07420
CB
279432017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27944
27945 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27946
645ac9aa
CB
27947 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27948 call to allocate the slave pty file descriptor.
27949
fd3b4e7c
JM
279502017-10-06 Joseph Myers <joseph@codesourcery.com>
27951
f85a176f
JM
27952 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27953 [!__fma] (fma): Define using libm_alias_double.
27954 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27955 [!__fma] (fma): Define using libm_alias_double.
27956
fd3b4e7c
JM
27957 * sysdeps/ieee754/float128/float128_private.h: Include
27958 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27959 (libm_alias_ldouble_r): Undefine and redefine.
27960 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27961 <libm-alias-ldouble.h>.
27962 (asinhl): Define using libm_alias_ldouble.
27963 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27964 <libm-alias-ldouble.h>.
27965 (atanl): Define using libm_alias_ldouble.
27966 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27967 <libm-alias-ldouble.h>.
27968 (cbrtl): Define using libm_alias_ldouble.
27969 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27970 <libm-alias-ldouble.h>.
27971 (ceill): Define using libm_alias_ldouble.
27972 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27973 <libm-alias-ldouble.h>.
27974 (copysignl): Define using libm_alias_ldouble.
27975 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27976 <libm-alias-ldouble.h>.
27977 (cosl): Define using libm_alias_ldouble.
27978 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27979 <libm-alias-ldouble.h>.
27980 (erfl): Define using libm_alias_ldouble.
27981 (erfcl): Likewise.
27982 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27983 <libm-alias-ldouble.h>.
27984 (expm1l): Define using libm_alias_ldouble.
27985 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27986 <libm-alias-ldouble.h>.
27987 (fabsl): Define using libm_alias_ldouble.
27988 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27989 <libm-alias-ldouble.h>.
27990 (floorl): Define using libm_alias_ldouble.
27991 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27992 <libm-alias-ldouble.h>.
27993 (fmal): Define using libm_alias_ldouble.
27994 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27995 <libm-alias-ldouble.h>.
27996 (frexpl): Define using libm_alias_ldouble.
27997 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27998 libm_alias_ldouble.
27999 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28000 <libm-alias-ldouble.h>.
28001 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28002 libm_alias_ldouble.
28003 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28004 <libm-alias-ldouble.h>.
28005 (getpayloadl): Define using libm_alias_ldouble.
28006 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28007 <libm-alias-ldouble.h>.
28008 (llrintl): Define using libm_alias_ldouble.
28009 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28010 <libm-alias-ldouble.h>.
28011 (llroundl): Define using libm_alias_ldouble.
28012 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28013 <libm-alias-ldouble.h>.
28014 (logbl): Define using libm_alias_ldouble.
28015 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28016 <libm-alias-ldouble.h>.
28017 (lrintl): Define using libm_alias_ldouble.
28018 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28019 <libm-alias-ldouble.h>.
28020 (lroundl): Define using libm_alias_ldouble.
28021 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28022 <libm-alias-ldouble.h>.
28023 (modfl): Define using libm_alias_ldouble.
28024 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28025 <libm-alias-ldouble.h>.
28026 (nearbyintl): Define using libm_alias_ldouble.
28027 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28028 <libm-alias-ldouble.h>.
28029 (nextafterl): Define using libm_alias_ldouble.
28030 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28031 <libm-alias-ldouble.h>.
28032 (nextupl): Define using libm_alias_ldouble.
28033 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28034 <libm-alias-ldouble.h>.
28035 (remquol): Define using libm_alias_ldouble.
28036 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28037 <libm-alias-ldouble.h>.
28038 (rintl): Define using libm_alias_ldouble.
28039 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28040 <libm-alias-ldouble.h>.
28041 (roundevenl): Define using libm_alias_ldouble.
28042 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28043 <libm-alias-ldouble.h>.
28044 (roundl): Define using libm_alias_ldouble.
28045 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28046 using libm_alias_ldouble.
28047 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28048 <libm-alias-ldouble.h>.
28049 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28050 Define using libm_alias_ldouble.
28051 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28052 <libm-alias-ldouble.h>.
28053 (sincosl): Define using libm_alias_ldouble.
28054 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28055 <libm-alias-ldouble.h>.
28056 (sinl): Define using libm_alias_ldouble.
28057 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28058 <libm-alias-ldouble.h>.
28059 (tanhl): Define using libm_alias_ldouble.
28060 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28061 <libm-alias-ldouble.h>.
28062 (tanl): Define using libm_alias_ldouble.
28063 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28064 <libm-alias-ldouble.h>.
28065 (totalorderl): Define using libm_alias_ldouble.
28066 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28067 <libm-alias-ldouble.h>.
28068 (totalordermagl): Define using libm_alias_ldouble.
28069 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28070 <libm-alias-ldouble.h>.
28071 (truncl): Define using libm_alias_ldouble.
28072 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28073 libm_alias_ldouble.
28074 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28075 libm_alias_ldouble.
28076 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28077 <libm-alias-ldouble.h>.
28078 (weak_alias): Do not undefine and redefine.
28079 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28080 (copysignl): Define with long_double_symbol only if [IS_IN
28081 (libc)].
28082 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28083 <libm-alias-ldouble.h>.
28084 (weak_alias): Do not undefine and redefine.
28085 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28086 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28087 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28088 <libm-alias-ldouble.h>.
28089 (weak_alias): Do not undefine and redefine.
28090 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28091 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28092 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28093 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28094 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28095 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28096 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28097 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28098 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28099 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28101 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28102 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28103 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28104 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28105 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28106 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28107 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28108 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28109 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28110 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28111 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28112 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28113 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28116
1e26d351
CD
281172017-10-06 Carlos O'Donell <carlos@redhat.com>
28118
28119 [BZ #22111]
28120 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28121 (tcache_thread_freeres): Set tcache_shutting_down before
28122 freeing the tcache.
28123 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28124 * malloc/tst-malloc-tcache-leak.c: New file.
28125
d1386762
RS
281262017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28127
28128 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28129 back to powerpc32 file.
28130 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28131 (memrchr): Add __memrchr_power8 to ifunc list.
28132 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28133 extra bytes for unaligned inputs.
28134
6dff1983
JM
281352017-10-06 Joseph Myers <joseph@codesourcery.com>
28136
28137 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28138 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28139 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28140 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28141 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28142
86f9568a
JM
281432017-10-05 Joseph Myers <joseph@codesourcery.com>
28144
0db0b931
JM
28145 * sysdeps/arm/libm-test-ulps: Update.
28146
86f9568a
JM
28147 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28148 <libm-alias-ldouble.h>.
28149 (asinhl): Define using libm_alias_ldouble.
28150 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28151 <libm-alias-ldouble.h>.
28152 (cbrtl): Define using libm_alias_ldouble.
28153 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28154 <libm-alias-ldouble.h>.
28155 (copysignl): Define using libm_alias_ldouble.
28156 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28157 <libm-alias-ldouble.h>.
28158 (cosl): Define using libm_alias_ldouble.
28159 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28160 <libm-alias-ldouble.h>.
28161 (erfl): Define using libm_alias_ldouble.
28162 (erfcl): Likewise.
28163 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28164 <libm-alias-ldouble.h>.
28165 (fmal): Define using libm_alias_ldouble.
28166 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28167 <libm-alias-ldouble.h>.
28168 (frexpl): Define using libm_alias_ldouble.
28169 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28170 libm_alias_ldouble.
28171 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28172 <libm-alias-ldouble.h>.
28173 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28174 libm_alias_ldouble.
28175 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28176 <libm-alias-ldouble.h>.
28177 (getpayloadl): Define using libm_alias_ldouble.
28178 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28179 <libm-alias-ldouble.h>.
28180 (llrintl): Define using libm_alias_ldouble.
28181 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28182 <libm-alias-ldouble.h>.
28183 (llroundl): Define using libm_alias_ldouble.
28184 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28185 <libm-alias-ldouble.h>.
28186 (lrintl): Define using libm_alias_ldouble.
28187 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28188 <libm-alias-ldouble.h>.
28189 (lroundl): Define using libm_alias_ldouble.
28190 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28191 <libm-alias-ldouble.h>.
28192 (modfl): Define using libm_alias_ldouble.
28193 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28194 <libm-alias-ldouble.h>.
28195 (nextupl): Define using libm_alias_ldouble.
28196 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28197 <libm-alias-ldouble.h>.
28198 (remquol): Define using libm_alias_ldouble.
28199 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28200 <libm-alias-ldouble.h>.
28201 (roundevenl): Define using libm_alias_ldouble.
28202 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28203 <libm-alias-ldouble.h>.
28204 (roundl): Define using libm_alias_ldouble.
28205 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28206 using libm_alias_ldouble.
28207 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28208 <libm-alias-ldouble.h>.
28209 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28210 <libm-alias-ldouble.h>.
28211 (setpayloadsigl): Define using libm_alias_ldouble.
28212 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28213 <libm-alias-ldouble.h>.
28214 (sincosl): Define using libm_alias_ldouble.
28215 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28216 <libm-alias-ldouble.h>.
28217 (sinl): Define using libm_alias_ldouble.
28218 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28219 <libm-alias-ldouble.h>.
28220 (tanhl): Define using libm_alias_ldouble.
28221 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28222 <libm-alias-ldouble.h>.
28223 (tanl): Define using libm_alias_ldouble.
28224 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28225 <libm-alias-ldouble.h>.
28226 (totalorderl): Define using libm_alias_ldouble.
28227 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28228 <libm-alias-ldouble.h>.
28229 (totalordermagl): Define using libm_alias_ldouble.
28230 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28231 libm_alias_ldouble.
28232 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28233 libm_alias_ldouble.
28234
9ec87fd2
SP
282352017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28236
dd5bc7f1
SP
28237 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28238 memmove_falkor.
28239 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28240 (__libc_ifunc_impl_list): Likewise.
28241 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28242 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28243
5bfb0404
SP
28244 * benchtests/bench-memmove-walk.c: New file.
28245 * benchtests/Makefile (string-benchset): Add it.
28246
36bb8edf
SP
28247 * benchtests/bench-memset-walk.c: New file.
28248 * benchtests/Makefile (string-benchset): Add it.
28249
9ec87fd2
SP
28250 * benchtests/bench-memcpy-walk.c: New file.
28251 * benchtests/Makefile (string-benchset): Add it.
28252
1e9522c6
FW
282532017-10-05 Florian Weimer <fweimer@redhat.com>
28254
28255 nscd: Eliminate compilation time dependency in the build output.
28256 * nscd/nscd_stat.c (STATDATA_VERSION)
28257 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28258 (STATDATA_VERSION_FULL): New macro definitions.
28259 (compilation): Remove.
28260 (struct statdata): Adjust version member.
28261 (send_stats): Set version from STATDATA_VERSION_FULL.
28262 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28263
644d3857
JM
282642017-10-05 Joseph Myers <joseph@codesourcery.com>
28265
28266 * configure.ac (--enable-add-ons): Remove option.
28267 (machine): Do not mention add-ons in comment.
28268 (LIBC_PRECONFIGURE): Likewise.
28269 (add_ons): Remove variable and sanity checks and logic to locate
28270 add-ons.
28271 (add_ons_automatic): Remove variable.
28272 (configured_add_ons): Likewise.
28273 (add_ons_sfx): Likewise.
28274 (add_ons_pfx): Likewise.
28275 (add_on_subdirs): Likewise.
28276 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28277 consideration of add-ons in Implies handling.
28278 (sysdeps_add_ons): Likewise.
28279 * configure: Regenerated.
28280 * libidn/configure.ac: Remove.
28281 * libidn/configure: Likewise.
28282 * sysdeps/unix/inet/configure.ac: New file.
28283 * sysdeps/unix/inet/configure: New generated file.
28284 * sysdeps/unix/inet/Subdirs: Add libidn.
28285 * Makeconfig (sysdeps-srcdirs): Remove variable.
28286 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28287 ($(common-objpfx)config.status): Do not depend on add-on files.
28288 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28289 comment.
28290 (all-subdirs): Do not include $(add-on-subdirs).
28291 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28292 * config.make.in (add-ons): Remove variable.
28293 (add-on-subdirs): Likewise.
28294 (sysdeps-add-ons): Likewise.
28295 * manual/Makefile (add-chapters): Remove.
28296 ($(objpfx)texis): Do not depend on $(add-chapters).
28297 (nonexamples): Do not handle $(add-chapters).
28298 (examples): Do not handle $(add-ons).
28299 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28300 libc-texinfo.sh.
28301 * manual/install.texi (Installation): Do not mention add-ons.
28302 (--enable-add-ons): Do not document configure option.
28303 * INSTALL: Regenerated.
28304 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28305 * manual/maint.texi (Hierarchy Conventions): Do not mention
28306 add-ons.
28307 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28308 --enable-add-ons.
28309 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28310 add-ons.
28311 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28312 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28313
19f82f35
AS
283142017-10-05 Andreas Schwab <schwab@suse.de>
28315
28316 [BZ #15142]
28317 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28318 (_IO_flush_all_lockp): Always lock list_all_lock.
28319 (_IO_flush_all_linebuffered): Likewise.
28320 (_IO_unbuffer_all): Likewise.
28321
91e7cf98
FW
283222017-10-05 Florian Weimer <fweimer@redhat.com>
28323
28324 [BZ #15436]
28325 Do not flush stdio streams on abort.
28326 * stdlib/abort.c (fflush): Remove macro definition.
28327 (abort): Remove stages related to stdio flushing.
28328
0c251257
FW
283292017-10-05 Florian Weimer <fweimer@redhat.com>
28330
28331 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28332
7ea59e3e
SL
283332017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28334
28335 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28336
84d0e6f0
FW
283372017-10-05 Florian Weimer <fweimer@redhat.com>
28338
28339 * support/support_format_hostent.c (support_format_hostent): Add
28340 more error information for NETDB_INTERNAL.
28341
ee417882
L
283422017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28343
28344 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28345 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28346 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28347 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28348 AC_DEFINE if multi-arch is enabled.
28349 * sysdeps/i386/configure: Regenerated.
28350
a67029ff
L
283512017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28352
28353 * Makeconfig (+link-static-before-libc): Use
28354 $(DEFAULT-LDFLAGS-$(@F)).
28355 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28356 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28357 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28358
5dba84b3
L
283592017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * elf/Makefile (tests): Add tst-main1.
28362 (modules-names): Add tst-main1mod.
28363 ($(objpfx)tst-main1): New.
28364 (CRT-tst-main1): Likewise.
28365 (LDFLAGS-tst-main1): Likewise.
28366 (LDLIBS-tst-main1): Likewise.
28367 (tst-main1mod.so-no-z-defs): Likewise.
28368 * elf/tst-main1.c: New file.
28369 * elf/tst-main1mod.c: Likewise.
28370
758f1bfa
L
283712017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28372
28373 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28374
7e16a5d1
JM
283752017-10-04 Joseph Myers <joseph@codesourcery.com>
28376
28377 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28378 (fma): Define using libm_alias_double.
28379 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28380 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28381 <math_ldbl_opt.h>.
28382 (fmal): Do not define as compat symbol here.
28383 * sysdeps/alpha/fpu/s_fma.c: New file.
28384
db4f87ba
SN
283852017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28386
28387 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28388
72d13ed1
JM
283892017-10-04 Joseph Myers <joseph@codesourcery.com>
28390
32d372d5
JM
28391 [BZ #22229]
28392 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28393 <math_ldbl_opt.h>
28394 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28395 and libc.
28396 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28397 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28398 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28399 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28401 Include <math_ldbl_opt.h>
28402 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28403 and libc.
28404 (compat_symbol): Undefine and redefine.
28405 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28406 <math_ldbl_opt.h>
28407 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28408 (compat_symbol): Undefine and redefine.
28409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28410 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28411 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28412 GLIBC_2_1 for libm.
28413 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28414 GLIBC_2.0 copysignl symbol.
28415 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28416 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28417
72d13ed1
JM
28418 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28419
11c4f501
FW
284202017-10-04 Florian Weimer <fweimer@redhat.com>
28421
28422 * scripts/check-local-headers.sh: Ignore nspr4 header file
28423 directory in addition to nspr.
28424
57b4af19
GT
284252017-10-04 Guido Trentalancia <guido@trentalancia.net>
28426
28427 [BZ #17956]
28428 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28429 * configure: Regenerate.
28430 * crypt/Makefile (nss-cpp-flags): New variable.
28431 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28432 (CPPFLAGS-md5-crypt.c): Use it.
28433 * scripts/check-local-headers.sh: Ignore nspr header file
28434 directory.
28435
64d1e08e
AS
284362017-10-04 Andreas Schwab <schwab@suse.de>
28437
28438 * nis/Makefile (services): Remove compat.
28439 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28440 ($(objpfx)libnss_compat.so): Remove rule.
28441 * nis/Versions (libnss_compat): Remove.
28442 * nss/Makefile (services): Add compat.
28443 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28444 * nss/Versions (libnss_compat): Define.
28445 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28446 Don't include <rpc/types.h>. Replace bool_t by bool.
28447 * nss/nss_compat/compat-initgroups.c: Likewise.
28448 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28449 instead of <rpcsrv/ypclnt.h>.
28450 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28451 yp_get_default_domain.
28452 * nss/nss_compat/compat-pwd.c: Likewise.
28453 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28454 yp_get_default_domain.
28455 * nss/nss_compat/nisdomain.c: New file.
28456 * nss/nss_compat/nisdomain.h: Likewise.
28457
86c27ade
SN
284582017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28459
28460 [BZ #22244]
28461 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28462 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28463
8f8f8ef7
SN
284642017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28465
28466 [BZ #22243]
28467 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28468 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28469
95577475
L
284702017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28471
28472 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28473 "movl main@GOTOFF(%ebx), %eax".
28474
02d2d892
L
284752017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28476
28477 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28478 allow undefined _DYNAMIC in PIE libc.a.
28479 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28480 Likewse.
28481
0c609d19
L
284822017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28483
28484 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28485 check _DYNAMIC.
28486
c34a19ed
L
284872017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28488
28489 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28490 check _DYNAMIC.
28491
cdd4155d
L
284922017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28493
28494 * math/test-math-iscanonical.cc (error): Replace bool with int.
28495
4699cb8b
JM
284962017-10-03 Joseph Myers <joseph@codesourcery.com>
28497
d8f619b3
JM
28498 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28499 (modf): Define using libm_alias_double, only if [!__modf].
28500 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28501 <libm-alias-double.h>.
28502 (modf): Define using libm_alias_double, only if [!__modf].
28503 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28504 compat symbol here.
28505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28506 (weak_alias): Do not undefine and redefine.
28507 (strong_alias): Likewise.
28508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28509 (weak_alias): Likewise.
28510 (strong_alias): Likewise.
28511
4699cb8b
JM
28512 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28513 (logb): Define using libm_alias_double, only if [!__logb].
28514 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28515 <libm-alias-double.h>.
28516 (logb): Define using libm_alias_double, only if [!__logb].
28517 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28518 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28519 (weak_alias): Do not undefine and redefine.
28520 (strong_alias): Likewise.
28521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28522 (weak_alias): Likewise.
28523 (strong_alias): Likewise.
28524
bcc4e4bb
L
285252017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28526
28527 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28528 Check SHARED instead PIC.
28529
39793865
JM
285302017-10-03 Joseph Myers <joseph@codesourcery.com>
28531
7f1cbdf8
JM
28532 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28533 [!__fmaf] (fmaf): Define using libm_alias_float.
28534
39793865
JM
28535 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28536 (frexp): Define using libm_alias_double.
28537 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28538 <libm-alias-double.h>.
28539 (frexp): Define using libm_alias_double.
28540 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28541 compat symbol here.
28542
aa0235df
GG
285432017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28544
28545 [BZ #22235]
28546 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28547 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28548 (CFLAGS-test-math-iscanonical.cc): New variable.
28549 * math/test-math-iscanonical.cc: New file.
28550 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28551 Provide a C++ implementation based on function overloading,
28552 rather than using __MATH_TG, which uses C-only builtins.
28553 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28554 Likewise.
28555 * sysdeps/powerpc/powerpc64le/Makefile
28556 (CFLAGS-test-math-iscanonical.cc): New variable.
28557
a1132b5e
JM
285582017-10-03 Joseph Myers <joseph@codesourcery.com>
28559
28560 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28561 (ceil): Define using libm_alias_double.
28562 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28563 (floor): Define using libm_alias_double.
28564 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28565 <libm-alias-double.h>.
28566 (llround): Define using libm_alias_double.
28567 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28568 <libm-alias-double.h>.
28569 (lround): Define using libm_alias_double.
28570 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28571 <libm-alias-double.h>.
28572 (nearbyint): Define using libm_alias_double.
28573 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28574 <libm-alias-double.h>.
28575 (remquo): Define using libm_alias_double.
28576 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28577 (rint): Define using libm_alias_double.
28578 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28579 (round): Define using libm_alias_double.
28580 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28581 (trunc): Define using libm_alias_double.
28582 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28583 <libm-alias-double.h>.
28584 (ceil): Define using libm_alias_double.
28585 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28586 <libm-alias-double.h>.
28587 (floor): Define using libm_alias_double.
28588 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28589 <libm-alias-double.h>.
28590 (llround): Define using libm_alias_double.
28591 [_LP64] (lround): Likewise.
28592 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28593 <libm-alias-double.h>.
28594 [!_LP64] (lround): Define using libm_alias_double.
28595 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28596 <libm-alias-double.h>.
28597 (nearbyint): Define using libm_alias_double.
28598 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28599 <libm-alias-double.h>.
28600 (remquo): Define using libm_alias_double.
28601 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28602 <libm-alias-double.h>.
28603 (rint): Define using libm_alias_double.
28604 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28605 <libm-alias-double.h>.
28606 (round): Define using libm_alias_double.
28607 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28608 <libm-alias-double.h>.
28609 (trunc): Define using libm_alias_double.
28610 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28611 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28612 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28613 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28614 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28615 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28616 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28617 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28618 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28619
f275f64e
SN
286202017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28621
28622 * math/w_remainder.c: New file.
28623 * math/w_remainderf.c: New file.
28624 * math/w_remainderl.c: New file.
28625
b8818ab5
L
286262017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28627
28628 * elf/rtld.c (BOOTSTRAP_MAP): New.
28629 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28630 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28631 Likewise.
28632 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28633 Likewise.
28634 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28635 Likewise.
28636
3d1870fa
ST
286372017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28638
28639 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28640 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28641 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28642 rtld_hidden_data_ver): Define to empty.
28643 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28644 __assert_perror_fail): Likewise.
28645 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28646 (__rewinddir): Likewise.
28647 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28648 (__profile_frequency): Likewise.
28649 * include/setjmp.h (__sigsetjmp): Likewise.
28650 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28651 __libc_sigaction): Likewise.
28652 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28653 not set hidden attribute.
28654 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28655 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28656 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28657 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28658 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28659 __fxstatat64): Likewise.
28660 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28661 (__uname): Likewise.
28662 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28663 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28664 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28665 (NO_RTLD_HIDDEN): Set.
28666 * sysdeps/mach/hurd/configure: Refresh.
28667 * config.h.in: Refresh.
28668
527cd19c
JM
286692017-10-02 Joseph Myers <joseph@codesourcery.com>
28670
38722448
JM
28671 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28672 (atan): Define using libm_alias_double.
28673 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28674 (tan): Define using libm_alias_double.
28675 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28676 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28677
527cd19c
JM
28678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28679 define as weak alias of __atan. Do not define any aliases if
28680 [__atan].
28681 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28682 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28683 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28684 as weak alias of __tan. Do not define any aliases if [__tan].
28685 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28686 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28687 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28688 __atan.
28689 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28690 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28691 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28692 and define as weak alias of __atan.
28693 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28694 __atan.
28695 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28696 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28697 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28698 define as weak alias of __tan.
28699
bdc5c592
SN
287002017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28701
28702 * math/w_lgamma.c: New file.
28703 * math/w_lgammaf.c: New file.
28704 * math/w_lgammal.c: New file.
28705
bd4430c2
SN
287062017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28707
28708 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28709 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28710 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28711 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28712 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28713 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28714 * sysdeps/i386/fpu/w_log2f.c: New file.
28715 * sysdeps/i386/fpu/w_logf.c: New file.
28716 * sysdeps/i386/fpu/w_powf.c: New file.
28717 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28718 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28719 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28720
f7a0b063
SN
287212017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28722 H.J. Lu <hongjiu.lu@intel.com>
28723
28724 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28725 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28726 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28727 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28728 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28729 the new expf code.
28730 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28731 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28732 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28733 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28734 * sysdeps/i386/fpu/w_exp2f.c: New file.
28735 * sysdeps/i386/fpu/w_expf.c: New file.
28736 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28737 * sysdeps/x86_64/fpu/w_expf.c: New file.
28738
72d3d281
SN
287392017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28740
28741 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28742 (log2f): Likewise.
28743 (powf): Likewise.
28744 * math/w_log2f.c: New file.
28745 * math/w_logf.c: New file.
28746 * math/w_powf.c: New file.
28747 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28748 * math/w_logf_compat.c (__logf_compat): Likewise.
28749 * math/w_powf_compat.c (__powf_compat): Likewise.
28750 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28751 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28752 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28753 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28754 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28755 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28756 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28757 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28758 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28759 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28760 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28761 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28762 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28763 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28764 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28766 Likewise.
28767 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28768 Likewise.
28769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28770 Likewise.
28771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28772 Likewise.
28773 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28774 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28775 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28776 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28779 Likewise.
28780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28781 Likewise.
28782 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28784 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28785
59ba2d2b
RS
287862017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28787
28788 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28789 (sysdep_routines): Add memrchr_power8.
28790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28791 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28792 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28793 New file.
28794 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28795 (memrchr): Add __memrchr_power8 to ifunc list.
28796 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28797
397286ea
L
287982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28799
28800 [BZ #18822]
28801 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28802 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28803 libc_hidden_def.
28804 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28805 (__posix_fallocate64_l64): Likewise.
28806
d0a4512b
L
288072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28808
28809 [BZ #18822]
28810 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28811 (__sched_setaffinity_new): Add libc_hidden_proto and
28812 libc_hidden_def.
28813
c0769f70
L
288142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28815
28816 [BZ #18822]
28817 * include/glob.h (__glob64): Add libc_hidden_proto.
28818 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28819 libc_hidden_def.
28820
0e7d5b6e
L
288212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28822
28823 [BZ #18822]
28824 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28825 attribute_hidden.
28826
bde06c87
L
288272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28828
28829 [BZ #18822]
28830 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28831
fa426590
L
288322017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28833
28834 [BZ #18822]
28835 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28836 libc_hidden_def.
28837
2f8a05d8
L
288382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28839
28840 [BZ #18822]
28841 * csu/version.c (__libc_print_version): Add attribute_hidden.
28842
7bfd08ac
L
288432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28844
28845 [BZ #18822]
28846 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28847
0e1fd06c
L
288482017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28849
28850 [BZ #18822]
28851 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28852
36e7ae1e
L
288532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28854
28855 [BZ #18822]
28856 * nscd/nscd_helper.c (__nis_hash): New prototype.
28857
87078544
L
288582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28859
28860 [BZ #18822]
28861 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28862 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28863 libc_hidden_def.
28864 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28865 * termios/tcgetattr.c (__tcgetattr): Likewise.
28866
dd3121df
L
288672017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 [BZ #18822]
28870 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28871 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28872 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28873 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28874 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28875
047d1a81
L
288762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28877
28878 [BZ #18822]
28879 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28880
fd331b11
L
288812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28882
28883 [BZ #18822]
28884 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28885 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28886
57f859bd
L
288872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28888
28889 [BZ #18822]
28890 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28891
d1903329
L
288922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28893
28894 [BZ #18822]
28895 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28896 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28897
b4744101
L
288982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 [BZ #18822]
28901 * include/ifreq.h: New file.
28902 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28903 (__ifreq): Likewise.
28904 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28905 (__ifreq): Likewise.
28906
43b7dfd1
L
289072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28908
28909 [BZ #18822]
28910 * include/idna.h: New file.
28911 * inet/getnameinfo.c: Include <idna.h> instead of
28912 <libidn/idna.h>.
28913 (__idna_to_unicode_lzlz): Removed.
28914 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28915 <libidn/idna.h>.
28916 (__idna_to_ascii_lz): Removed.
28917 (__idna_to_unicode_lzlz): Likewise.
28918
2c0cd8f8
L
289192017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28920
28921 [BZ #18822]
28922 * include/plural-exp.h: New file.
28923 * intl/plural-exp.c: Include <plural-exp.h> instead of
28924 "plural-exp.h".
28925
8369d216
L
289262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 [BZ #18822]
28929 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28930 "getsourcefilter.h".
28931 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28932 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28933 "getsourcefilter.h".
28934 (__get_sol): Removed.
28935
a0aef783
L
289362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28937
28938 [BZ #18822]
28939 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28940 to ...
28941 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28942
3ee8209b
L
289432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 [BZ #18822]
28946 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28947 attribute_hidden.
28948
6036fc38
L
289492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28950
28951 [BZ #18822]
28952 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28953
fe84fed0
L
289542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28955
28956 [BZ #18822]
28957 * include/search.h (__tdestroy): Add libc_hidden_proto.
28958 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28959
048dd681
L
289602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28961
28962 [BZ #18822]
28963 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28964
6e342af6
L
289652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28966
28967 [BZ #18822]
28968 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28969 attribute_hidden.
28970
6a088436
L
289712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28972
28973 [BZ #18822]
28974 * include/signal.h (__kill): Add libc_hidden_proto.
28975 (__sigblock): Likewise.
28976 (__sigprocmask): Likewise.
28977 (__sigaltstack): Likewise.
28978 * signal/kill.c (__kill): Add libc_hidden_def.
28979 * signal/sigblock.c (__sigblock): Likewise.
28980 * signal/sigprocmask.c (__sigprocmask): Likewise.
28981 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28982 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28983 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28984 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28985 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28986 Likewise.
28987 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28988 Likewise.
28989 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28990 (__sigprocmask): Likewise.
28991 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28992 Likewise.
28993 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28994 (__sigprocmask): Likewise.
28995 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28996 Likewise.
28997
78cf1d74
L
289982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 [BZ #18822]
29001 * include/string.h (__strsep): Add libc_hidden_proto.
29002 * string/strsep.c (__strsep): Add libc_hidden_def.
29003
85b35894
L
290042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29005
29006 [BZ #18822]
29007 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29008 attribute_hidden.
29009 (__spawni): Likewise.
29010
225f7eec
L
290112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29012
29013 [BZ #18822]
29014 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29015 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29016 libc_hidden_def.
29017
372fe247
L
290182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29019
29020 [BZ #18822]
29021 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29022
9e5ee8b8
L
290232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29024
29025 [BZ #18822]
29026 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29027 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29028 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29029 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29030 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29031 Likewise.
29032 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29033 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29034
2ff16592
L
290352017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 [BZ #18822]
29038 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29039 (__dcigettext): Likewise.
29040
b5648377
L
290412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29042
29043 [BZ #18822]
29044 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29045 libc_hidden_proto.
29046 (__get_nprocs): Likewise.
29047 (__get_phys_pages): Likewise.
29048 (__get_avphys_pages): Likewise.
29049 (__get_child_max): Add attribute_hidden.
29050 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29051 (__get_nprocs): Likewise.
29052 (__get_phys_pages): Likewise.
29053 (__get_avphys_pages): Likewise.
29054 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29055 libc_hidden_def.
29056 (__get_nprocs): Likewise.
29057 (__get_phys_pages): Likewise.
29058 (__get_avphys_pages): Likewise.
29059 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29060 libc_hidden_def.
29061 (__get_nprocs_conf): Likewise.
29062 (__get_phys_pages): Likewise.
29063 (__get_avphys_pages): Likewise.
29064
0389a6aa
L
290652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29066
29067 [BZ #18822]
29068 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29069 attribute_hidden.
29070 (__netlink_close): Likewise.
29071 (__netlink_free_handle): Likewise.
29072 (__netlink_request): Likewise.
29073
d48354d8
L
290742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29075
29076 [BZ #18822]
29077 * include/rpc/rpc.h (__rpc_thread_variables): Add
29078 attribute_hidden.
29079 (__rpc_thread_svc_cleanup): Likewise.
29080 (__rpc_thread_clnt_cleanup): Likewise.
29081 (__rpc_thread_key_cleanup): Likewise.
29082
d6daff12
L
290832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29084
29085 [BZ #18822]
29086 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29087 (__writev): Likewise.
29088 * misc/readv.c (__readv): Add libc_hidden_def.
29089 * misc/writev.c (__writev): Likewise.
29090 * sysdeps/posix/readv.c (__readv): Likewise.
29091 * sysdeps/posix/writev.c (__writev): Likewise.
29092 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29093 (__readv): Likewise.
29094 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29095 (__writev): Likewise.
29096
b68f8620
L
290972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 [BZ #18822]
29100 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29101 (__regcomp): Add libc_hidden_proto.
29102 (__regexec): Likewise.
29103 (__regfree): Likewise.
29104 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29105 (__regfree): Likewise.
29106 * posix/regexec.c (__regexec): Likewise.
29107
59c04e67
L
291082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29109
29110 [BZ #18822]
29111 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29112 (__getutent): Likewise.
29113 (__getutid): Likewise.
29114 (__getutline): Likewise.
29115 (__pututline): Likewise.
29116 (__getutent_r): Likewise.
29117 (__getutid_r): Likewise.
29118 (__getutline_r): Likewise.
29119 (__utmpname): Add attribute_hidden.
29120 (__setutent): Likewise.
29121 (__endutent): Likewise.
29122 * login/getutent.c (__getutent): Add libc_hidden_def.
29123 * login/getutent_r.c (__getutent_r): Likewise.
29124 (__pututline): Likewise.
29125 * login/getutid.c (__getutid): Likewise.
29126 * login/getutid_r.c (__getutid_r): Likewise.
29127 * login/getutline.c (__getutline): Likewise.
29128 * login/getutline_r.c (__getutline_r): Likewise.
29129 * login/updwtmp.c (__updwtmp): Likewise.
29130
4587a421
L
291312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29132
29133 [BZ #18822]
29134 * include/dirent.h (__opendir): Always add attribute_hidden.
29135 (__fdopendir): Likewise.
29136 (__closedir): Likewise.
29137 (__readdir): Likewise.
29138 (__readdir64): Add libc_hidden_proto.
29139 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29140 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29141 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29142 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29143 New alias.
29144
9635ce69
L
291452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29146
29147 [BZ #18822]
29148 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29149 * include/netdb.h (__gethostbyaddr_r): Likewise.
29150 (__gethostbyname_r): Likewise.
29151 (__gethostbyname2_r): Likewise.
29152 (__getnetbyaddr_r): Likewise.
29153 (__getnetbyname_r): Likewise.
29154 (__getservbyname_r): Likewise.
29155 (__getservbyport_r): Likewise.
29156 (__getprotobyname_r): Likewise.
29157 (__getprotobynumber_r): Likewise.
29158 (__getnetgrent_r): Likewise.
29159 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29160 (__getrpcbynumber_r): Likewise.
29161 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29162
2e0a6909
L
291632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29164
29165 [BZ #18822]
29166 * include/stdio.h (__fcloseall): Add attribute_hidden.
29167 (__getline): Likewise.
29168 (__path_search): Likewise.
29169 (__gen_tempname): Likewise.
29170 (__libc_message): Likewise.
29171 (__flockfile): Likewise.
29172 (__funlockfile): Likewise.
29173 (__fxprintf): Likewise.
29174 (__fxprintf_nocancel): Likewise.
29175
94fd682c
L
291762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29177
29178 [BZ #18822]
29179 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29180 (__sgetsgent_r): Likewise.
29181
e1b33bba
L
291822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29183
29184 [BZ #18822]
29185 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29186 (__statfs64): Likewise.
29187 (__fstatfs64): Likewise.
29188 * include/sys/statvfs.h (__statvfs64): Likewise.
29189 (__fstatvfs64): Likewise.
29190 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29191 (__statfs_filesize_max): Likewise.
29192 (__statfs_symlinks): Likewise.
29193 (__statfs_chown_restricted): Likewise.
29194
b0f56784
L
291952017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29196
29197 [BZ #18822]
29198 * include/time.h (__tzstring): Add attribute_hidden.
29199 (__tzfile_read): Likewise.
29200 (__tzfile_compute): Likewise.
29201 (__tzfile_default): Likewise.
29202 (__tzset_parse_tz): Likewise.
29203 (__offtime): Likewise.
29204 (__asctime_r): Likewise.
29205 (__tzset): Likewise.
29206 (__tz_convert): Likewise.
29207 (__getdate_r): Likewise.
29208 (__getclktck): Likewise.
29209
a4338d99
L
292102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29211
29212 [BZ #18822]
29213 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29214 (__nscd_unmap): Likewise.
29215 (__nscd_cache_search): Likewise.
29216 (__nscd_get_nl_timestamp): Likewise.
29217 (__nscd_getpwnam_r): Likewise.
29218 (__nscd_getpwuid_r): Likewise.
29219 (__nscd_getgrnam_r): Likewise.
29220 (__nscd_getgrgid_r): Likewise.
29221 (__nscd_gethostbyname_r): Likewise.
29222 (__nscd_gethostbyname2_r): Likewise.
29223 (__nscd_gethostbyaddr_r): Likewise.
29224 (__nscd_getai): Likewise.
29225 (__nscd_getgrouplist): Likewise.
29226 (__nscd_getservbyname_r): Likewise.
29227 (__nscd_getservbyport_r): Likewise.
29228 (__nscd_innetgr): Likewise.
29229 (__nscd_setnetgrent): Likewise.
29230
a2ca1652
L
292312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29232
29233 [BZ #18822]
29234 * include/gmp.h: Declare internal functions only if _ISOMAC is
29235 undefined.
29236 (__mpn_extract_double): Add attribute_hidden.
29237 (__mpn_extract_long_double): Likewise.
29238 (__mpn_extract_float128): Likewise.
29239 (__mpn_construct_float): Likewise.
29240 (__mpn_construct_double): Likewise.
29241 (__mpn_construct_long_double): Likewise.
29242 (__mpn_construct_float128): Likewise.
29243 (mpn_add_1): Likewise.
29244 (mpn_addmul_1): Likewise.
29245 (mpn_add_n): Likewise.
29246 (mpn_cmp): Likewise.
29247 (mpn_divrem): Likewise.
29248 (mpn_lshift): Likewise.
29249 (mpn_mul): Likewise.
29250 (mpn_mul_1): Likewise.
29251 (mpn_rshift): Likewise.
29252 (mpn_sub_1): Likewise.
29253 (mpn_submul_1): Likewise.
29254 (mpn_sub_n): Likewise.
29255
44af8a32
L
292562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29257
29258 [BZ #18822]
29259 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29260 (__wcscat): Likewise.
29261 (__btowc): Likewise.
29262 (__wcrtomb): Likewise.
29263 (__mbsrtowcs): Likewise.
29264 (__wcsrtombs): Likewise.
29265 (__mbsnrtowcs): Likewise.
29266 (__wcsnrtombs): Likewise.
29267 (__wcsncpy): Likewise.
29268 (__wcpncpy): Likewise.
29269 (__wmemcpy): Likewise.
29270 (__wmempcpy): Likewise.
29271 (__wmemmove): Likewise.
29272 (__wcschrnul): Likewise.
29273 (__vfwscanf): Likewise.
29274 (__vswprintf): Likewise.
29275 (__fwprintf): Likewise.
29276 (__vfwprintf): Likewise.
29277
783cd767
L
292782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 [BZ #18822]
29281 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29282 (__getgrgid_r): Likewise.
29283 (__getgrnam_r): Likewise.
29284 * include/pwd.h (__getpwuid_r): Likewise.
29285 (__getpwnam_r): Likewise.
29286 (__fgetpwent_r): Likewise.
29287 * include/shadow.h (__getspnam_r): Likewise.
29288 (__sgetspent_r): Likewise.
29289 (__fgetspent_r): Likewise.
29290
7ec4b39a
L
292912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29292
29293 [BZ #18822]
29294 * include/unistd.h (__access): Add attribute_hidden.
29295 (__lseek64): Likewise.
29296 (__libc_pread64): Likewise.
29297 (__pipe2): Likewise.
29298 (__sleep): Likewise.
29299 (__chdir): Likewise.
29300 (__fchdir): Likewise.
29301 (__getcwd): Likewise.
29302 (__rmdir): Likewise.
29303 (__execvpe): Likewise.
29304 (__execve): Likewise.
29305 (__setsid): Likewise.
29306 (__getuid): Likewise.
29307 (__geteuid): Likewise.
29308 (__getgid): Likewise.
29309 (__getegid): Likewise.
29310 (__getgroups): Likewise.
29311 (__group_member): Likewise.
29312 (__ttyname_r): Likewise.
29313 (__isatty): Likewise.
29314 (__readlink): Likewise.
29315 (__unlink): Likewise.
29316 (__gethostname): Likewise.
29317 (__profil): Likewise.
29318 (__getdtablesize): Likewise.
29319 (__brk): Likewise.
29320 (__ftruncate): Likewise.
29321 (__ftruncate64): Likewise.
29322
8345a760
L
293232017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29324
29325 [BZ #18822]
29326 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29327 * argp/argp-fs-xinl.c: Likewise.
29328 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29329 * argp/argp-parse.c: Include <argp.h>.
29330 * argp/argp-xinl.c: Likewise.
29331 * include/argp-fmtstream.h: New file.
29332 * include/argp.h (__argp_error): Add attribute_hidden.
29333 (__argp_failure): Likewise.
29334 (__argp_input): Likewise.
29335 (__argp_state_help): Likewise.
29336
c26dd7c6
L
293372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29338
29339 [BZ #18822]
29340 * include/wchar.h (____wcstof_l_internal): New prototype.
29341 (____wcstod_l_internal): Likewise.
29342 (____wcstold_l_internal): Likewise.
29343 (____wcstol_l_internal): Likewise.
29344 (____wcstoul_l_internal): Likewise.
29345 (____wcstoll_l_internal): Likewise.
29346 (____wcstoull_l_internal): Likewise.
29347 (____wcstof128_l_internal): Likewise.
29348 * sysdeps/ieee754/float128/wcstof128.c
29349 (____wcstof128_l_internal): Removed.
29350 * sysdeps/ieee754/float128/wcstof128_l.c
29351 (____wcstof128_l_internal): Likewise.
29352 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29353 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29354 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29355 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29356 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29357 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29358 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29359 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29360 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29361 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29362
3aff5644
L
293632017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29364
29365 [BZ #18822]
29366 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29367 instead of <sys/statvfs.h>.
29368 (__internal_statvfs): Removed.
29369 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29370 instead of <sys/statvfs.h>.
29371 (__internal_statvfs64): Removed.
29372 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29373 "internal_statvfs.h" instead of <sys/statvfs.h>.
29374 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29375 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29376 instead of <sys/statvfs.h>.
29377 (__internal_statvfs): Removed.
29378 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29379 instead of <sys/statvfs.h>.
29380 (__internal_statvfs64): Removed.
29381
8bcdb7e0
L
293822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29383
29384 [BZ #18822]
29385 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29386 (__gconv_close): Likewise.
29387 (__gconv): Likewise.
29388 (__gconv_find_transform): Likewise.
29389 (__gconv_lookup_cache): Likewise.
29390 (__gconv_compare_alias_cache): Likewise.
29391 (__gconv_load_cache): Likewise.
29392 (__gconv_get_path): Likewise.
29393 (__gconv_close_transform): Likewise.
29394 (__gconv_release_cache): Likewise.
29395 (__gconv_find_shlib): Likewise.
29396 (__gconv_release_shlib): Likewise.
29397 (__gconv_get_builtin_trans): Likewise.
29398 (__gconv_compare_alias): Likewise.
29399 * include/dlfcn.h (_dlerror_run): Likewise.
29400 * include/stdio.h (__fortify_fail_abort): Likewise.
29401 * include/time.h (__tz_compute): Likewise.
29402 (__strptime_internal): Likewise.
29403 * intl/gettextP.h (_nl_find_domain): Likewise.
29404 (_nl_load_domain): Likewise.
29405 (_nl_find_msg): Likewise.
29406 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29407 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29408 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29409 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29410 (__gai_find_request): Likewise.
29411 (__gai_remove_request): Likewise.
29412 (__gai_notify): Likewise.
29413 (__gai_notify_only): Likewise.
29414 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29415 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29416 (_dl_non_dynamic_init): Likewise.
29417 (_dl_aux_init): Likewise.
29418 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29419 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29420 Likewise.
29421 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29422 (__wcsmbs_clone_conv): Likewise.
29423 (__wcsmbs_named_conv): Likewise.
29424
8ed3b643
L
294252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29426
29427 [BZ #18822]
29428 * include/stdlib.h (__random): Add attribute_hidden.
29429 (__random_r): Likewise.
29430 (__srandom_r): Likewise.
29431 (__initstate_r): Likewise.
29432 (__setstate_r): Likewise.
29433 (__erand48_r): Likewise.
29434 (__nrand48_r): Likewise.
29435 (__jrand48_r): Likewise.
29436 (__srand48_r): Likewise.
29437 (__seed48_r): Likewise.
29438 (__lcong48_r): Likewise.
29439 (__drand48_iterate): Likewise.
29440 (__setenv): Likewise.
29441 (__unsetenv): Likewise.
29442 (__clearenv): Likewise.
29443 (__ptsname_r): Likewise.
29444 (__posix_openpt): Likewise.
29445 (__add_to_environ): Likewise.
29446 (__realpath): Add libc_hidden_proto.
29447 (__ecvt_r): Likewise.
29448 (__fcvt_r): Likewise.
29449 (__qecvt_r): Likewise.
29450 (__qfcvt_r): Likewise.
29451 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29452 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29453
ef9b6f73
L
294542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29455
29456 [BZ #18822]
29457 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29458 * include/time.h (__mktime_internal): Likewise.
29459 * libio/iolibio.h (__fopen_internal): Likewise.
29460
8da92e72
JDA
294612017-10-01 John David Anglin <danglin@gcc.gnu.org>
29462
29463 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29464 pointer in frame.
29465 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29466 Correct offset used to restore PIC register.
29467
388784cf
JDA
294682017-09-30 John David Anglin <danglin@gcc.gnu.org>
29469
29470 [BZ libc/22165]
29471 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29472 code to load address of __getcontext_ret when generating PIC code.
29473
2000067a
L
294742017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29475
29476 * elf/Makefile (tests-static-internal): Add
29477 tst-tls1-static-non-pie.
29478 (LDFLAGS-tst-tls1-static-non-pie): New.
29479 * elf/tst-tls1-static-non-pie.c: New file.
29480
1e2bffd0
JM
294812017-09-29 Joseph Myers <joseph@codesourcery.com>
29482
29483 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29484 (asinh): Define using libm_alias_double.
29485 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29486 (cbrt): Define using libm_alias_double.
29487 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29488 <libm-alias-double.h>.
29489 (copysign): Define using libm_alias_double.
29490 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29491 (erf): Define using libm_alias_double.
29492 (erfc): Likewise.
29493 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29494 (expm1): Define using libm_alias_double.
29495 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29496 (fabs): Define using libm_alias_double.
29497 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29498 libm_alias_double.
29499 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29500 <libm-alias-double.h>.
29501 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29502 libm_alias_double.
29503 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29504 <libm-alias-double.h>.
29505 (getpayload): Define using libm_alias_double.
29506 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29507 <libm-alias-double.h>.
29508 (llrint): Define using libm_alias_double.
29509 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29510 (lrint): Define using libm_alias_double.
29511 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29512 <libm-alias-double.h>.
29513 (nextup): Define using libm_alias_double.
29514 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29515 <libm-alias-double.h>.
29516 (roundeven): Define using libm_alias_double.
29517 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29518 libm_alias_double.
29519 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29520 <libm-alias-double.h>.
29521 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29522 using libm_alias_double.
29523 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29524 (cos): Define using libm_alias_double.
29525 (sin): Likewise.
29526 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29527 <libm-alias-double.h>.
29528 (sincos): Define using libm_alias_double.
29529 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29530 (tanh): Define using libm_alias_double.
29531 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29532 <libm-alias-double.h>.
29533 (totalorder): Define using libm_alias_double.
29534 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29535 <libm-alias-double.h>.
29536 (totalordermag): Define using libm_alias_double.
29537 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29538 libm_alias_double.
29539 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29540 libm_alias_double.
29541 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29542 <libm-alias-double.h>.
29543 (getpayload): Define using libm_alias_double.
29544 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29545 <libm-alias-double.h>.
29546 (roundeven): Define using libm_alias_double.
29547 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29548 <libm-alias-double.h>.
29549 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29550 <libm-alias-double.h>.
29551 (totalorder): Define using libm_alias_double.
29552 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29553 <libm-alias-double.h>.
29554 (totalordermag): Define using libm_alias_double.
29555 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29556 libc compat symbol here.
29557 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29558 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29559 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29560 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29561 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29562 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29563 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29564 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29565 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29566 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29567
8172aad9
L
295682017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29569
29570 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29571 _dl_relocate_static_pie instead of _dl_start to compute load
29572 address in static PIE. Return 0 if _DYNAMIC is undefined for
29573 static executable.
29574
54464e74
L
295752017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29576
29577 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29578 _DYNAMIC is undefined for static executable.
29579
f6c5e5bc
L
295802017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29581
29582 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29583
2f92505d
JM
295842017-09-29 Joseph Myers <joseph@codesourcery.com>
29585
29586 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29587
bd8d53bb
WD
295882017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29589
29590 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29591 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29592 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29593 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29594 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29595 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29596 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29597 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29598 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29599 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29600 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29601 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29602 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29603 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29604 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29605 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29606 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29607
fffb1507
WD
296082017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29609
29610 * math/bits/cmathcalls.h (cimag): Remove inline.
29611 (creal): Remove inline.
29612 (conj): Remove inline.
29613
4ea49f4c
SN
296142017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29615
29616 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29617 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29618 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29619 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29620 (issignalingf_inline): Likewise.
29621 (POWF_LOG2_TABLE_BITS): Likewise.
29622 (POWF_LOG2_POLY_ORDER): Likewise.
29623 (POWF_SCALE_BITS): Likewise.
29624 (POWF_SCALE): Likewise.
29625 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29626 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29627 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29628
875c76c7
SN
296292017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29630
29631 * math/Makefile (type-float-routines): Add e_log2f_data.
29632 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29633 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29634 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29635 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29636 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29637 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29638 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29639
90c42e40
SN
296402017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29641
29642 * math/Makefile (type-float-routines): Add e_logf_data.
29643 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29644 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29645 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29646 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29647 * sysdeps/i386/fpu/e_logf_data.c: New file.
29648 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29649 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29650
4088d8dd
L
296512017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29652
29653 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29654 undefined _DYNAMIC in PIE libc.a.
29655 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29656 Likewse.
29657
4d3693ec
WD
296582017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29659
29660 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29661 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29662 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29663 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29664 (__signbit): Remove.
29665 (__signbitl): Remove.
29666 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29667 (__signbit): Remove.
29668 (__signbitl): Remove.
29669 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29670 (__signbit): Remove.
29671 (__signbitl): Remove.
29672 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29673 (__signbit): Remove.
29674 (__signbitl): Remove.
29675 * sysdeps/tile/bits/mathinline.h: Delete file.
29676 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29677 (__signbit): Remove.
29678 (__signbitl): Remove.
29679
1e6d0723
WD
296802017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29681
29682 * math/math.h: Improve handling of C99 isgreater macros.
29683 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29684 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29685 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29686 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29687 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29688
b2f03cf3
SN
296892017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29690
29691 * sysdeps/aarch64/libm-test-ulps: Update.
29692
f124cb38
JM
296932017-09-28 Joseph Myers <joseph@codesourcery.com>
29694
29695 [BZ #22225]
29696 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29697 math_opt_barrier on argument when doing arithmetic on it.
29698 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29699 Likewise. Use math_force_eval not math_opt_barrier after
29700 arithmetic.
29701 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29702 math_opt_barrier on argument when doing arithmetic on it.
29703 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29704 Likewise.
29705
7edd0691
L
297062017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29707
29708 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29709 libc_hidden_def.
29710 (__freeifaddrs): Likewise.
29711
2c7bbfaf
ST
297122017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29713
29714 * include/dirent.h (__dirfd): New declaration.
29715 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29716 alias.
29717 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29718 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29719 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29720 * include/unistd.h (__revoke): New declaration.
29721 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29722 alias.
29723 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29724 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29725 revoke.
64a4af28
ST
29726 * include/dirent.h (__seekdir): New declaration.
29727 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29728 redefine as weak alias.
29729 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29730 of seekdir.
4009ddc6
ST
29731 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29732 and use libc_hidden_def on them.
29733 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29734 them.
29735 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29736 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29737 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29738
825adeee
L
297392017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29740
29741 [BZ #18822]
29742 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29743 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29744 (__dso_handle): Remove declaration.
29745 * dlfcn/tstatexit.c (__dso_handle): Removed.
29746 (main): Don't check __dso_handle.
29747 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29748 (main): Don't check __dso_handle.
29749 * include/dso_handle.h: New file.
29750 * malloc/mtrace.c: Include <dso_handle.h>.
29751 (mtrace): Pass __dso_handle directly.
29752 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29753 (__dso_handle): Remove declaration.
29754 (__pthread_atfork): Pass __dso_handle directly.
29755 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29756 (__dso_handle): Removed.
29757 * posix/wordexp-test.c: Include <dso_handle.h>.
29758 (__dso_handle): Remove declaration.
29759 (__app_register_atfork): Pass __dso_handle directly.
29760 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29761 (__dso_handle): Remove declaration.
29762 (at_quick_exit): Pass __dso_handle directly.
29763 * stdlib/atexit.c: Include <dso_handle.h>.
29764 (__dso_handle): Remove declaration.
29765 (atexit): Pass __dso_handle directly.
29766 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29767 (__dso_handle): Removed.
29768
bfb0deb3
JM
297692017-09-26 Joseph Myers <joseph@codesourcery.com>
29770
29771 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29772 using VDSO.
29773
cebcb9f8
AM
297742017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29775
29776 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29777 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29778 values to correct default value for given type.
29779
592d5c75
L
297802017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29781
29782 [BZ #22101]
29783 * elf/Makefile (tests): Add tst-debug1.
29784 ($(objpfx)tst-debug1): New.
29785 ($(objpfx)tst-debug1.out): Likewise.
29786 ($(objpfx)tst-debug1mod1.so): Likewise.
29787 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29788 with p_filesz == 0.
29789 * elf/tst-debug1.c: New file.
29790
2d9193f2
JM
297912017-09-26 Joseph Myers <joseph@codesourcery.com>
29792
29793 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29794 Define using __ifunc.
29795
4c5a7a02
TMQMF
297962017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29797
29798 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29799 exp2f() values.
29800
12ef66c4
JM
298012017-09-26 Joseph Myers <joseph@codesourcery.com>
29802
29803 [BZ #22156]
29804 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29805
44dade71
FW
298062017-09-26 Florian Weimer <fweimer@redhat.com>
29807
29808 * resolv/Makefile (tests-internal): Fix typo in comment.
29809
eaca16f1
FW
298102017-09-26 Florian Weimer <fweimer@redhat.com>
29811
29812 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29813
ccf970c7
AZ
298142017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29815
5f9f31ad
AZ
29816 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29817 Use an union instead of a max_align_t array for __space,
29818 so that __space is the same size on all platforms.
29819 * malloc/scratch_buffer_grow_preserve.c
29820 (__libc_scratch_buffer_grow_preserve): Likewise.
29821
ccf970c7
AZ
29822 [BZ #22183]
29823 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29824 version to 2.
29825 * posix/Makefile (routines): Add glob-lstat-compat and
29826 glob64-lstat-compat.
29827 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29828 * posix/glob-lstat-compat.c: New file.
29829 * posix/glob64-lstat-compat.c: Likewise.
29830 * posix/tst-glob_lstat_compat.c: Likewise.
29831 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29832 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29833 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29834 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29835 Likewise.
29836 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29837 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29838 * posix/glob.c (glob_lstat): New function.
29839 (glob): Rename to __glob and add versioned symbol to 2.27.
29840 (glob_in_dir): Use glob_lstat.
29841 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29842 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29843 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29844 2.27.
29845 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29846 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29847 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29848 gl_lstat on glob call.
29849 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29850 and glob64 symbols.
29851 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29852 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29853 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29854 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29855 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29856 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29857 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29858 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29859 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29860 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29861 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29862 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29864 Likewise.
29865 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29867 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29868 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29869 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29870 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29871 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29873 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29874 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29875 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29876 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29877
b4396163
L
298782017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29879
29880 * configure.ac (AS): Require binutils 2.25 or later.
29881 * configure: Regenerated.
29882
8f834987
PP
298832017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29884
29885 [BZ #22207]
29886 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29887 VM size.
29888
3de93d19
DD
298892017-09-25 DJ Delorie <dj@redhat.com>
29890
29891 [BZ #22161]
29892 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29893 resetting timeout.
29894
9947638d
SL
298952017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29896
29897 * sysdeps/ieee754/dbl-64/sincos32.h
29898 [SINCCOS32_H]: Remove define.
29899 [SINCOS32_H]: Define.
29900
f5f0f526
SN
299012017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29902
29903 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29904 (exp2f): Likewise.
29905 * math/w_exp2f.c: New file.
29906 * math/w_expf.c: New file.
29907 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29908 * math/w_expf_compat.c (__expf_compat): Likewise.
29909 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29910 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29911 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29912 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29913 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29915 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29916 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29917 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29919 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29920 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29921 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29922 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29924 Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29926 Likewise.
29927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29928 Likewise.
29929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29930 Likewise.
29931 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29932 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29933 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29935 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29936 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29937 Likewise.
29938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29939 Likewise.
29940 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29941 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29942 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29943
72aa6233
SN
299442017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29945
29946 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29947 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29948 (roundtoint, converttoint): Likewise.
29949 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29950 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29951 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29952 * sysdeps/ieee754/flt-32/math_config.h: New file.
29953 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29954 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29955 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29956 * sysdeps/i386/fpu/math_errf.c: New file.
29957 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29958 * sysdeps/ia64/fpu/math_errf.c: New file.
29959 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29960 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29961
5e6f3253
ST
299622017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29963
29964 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29965 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29966 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29967 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29968 to make sure that these symbols are defined.
b38a42a0
ST
29969 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29970 of <limits.h>
29971 (__need_NULL): Do not define.
29972 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29973 alignment.
29974 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29975 CMGROUP_MAX, cmsgcred): Do not define.
29976 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29977 NULL.
29978 * bits/socket.h: Likewise.
fcafcd16
ST
29979 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29980 __gettimeofday instead of gettimeofday.
29981 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29982 instead of settimeofday.
5e6f3253 29983
2f49ce7d
JM
299842017-09-22 Joseph Myers <joseph@codesourcery.com>
29985
29986 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29987 (asinhf): Define using libm_alias_float.
29988 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29989 (atanf): Define using libm_alias_float.
29990 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29991 (cbrtf): Define using libm_alias_float.
29992 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29993 (ceilf): Define using libm_alias_float.
29994 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29995 <libm-alias-float.h>.
29996 (copysignf): Define using libm_alias_float.
29997 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29998 (cosf): Define using libm_alias_float.
29999 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30000 (erff): Define using libm_alias_float.
30001 (erfcf): Likewise.
30002 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30003 (expm1f): Define using libm_alias_float.
30004 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30005 (fabsf): Define using libm_alias_float.
30006 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30007 (floorf): Define using libm_alias_float.
30008 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30009 (frexpf): Define using libm_alias_float.
30010 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30011 libm_alias_float.
30012 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30013 <libm-alias-float.h>.
30014 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30015 libm_alias_float.
30016 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30017 <libm-alias-float.h>.
30018 (getpayloadf): Define using libm_alias_float.
30019 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30020 <libm-alias-float.h>.
30021 (llrintf): Define using libm_alias_float.
30022 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30023 <libm-alias-float.h>.
30024 (llroundf): Define using libm_alias_float.
30025 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30026 (logbf): Define using libm_alias_float.
30027 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30028 (lrintf): Define using libm_alias_float.
30029 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30030 (lroundf): Define using libm_alias_float.
30031 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30032 (modff): Define using libm_alias_float.
30033 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30034 <libm-alias-float.h>.
30035 (nearbyintf): Define using libm_alias_float.
30036 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30037 <libm-alias-float.h>.
30038 (nextafterf): Define using libm_alias_float.
30039 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30040 <libm-alias-float.h>.
30041 (nextupf): Define using libm_alias_float.
30042 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30043 <libm-alias-float.h>.
30044 (remquof): Define using libm_alias_float.
30045 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30046 (rintf): Define using libm_alias_float.
30047 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30048 <libm-alias-float.h>.
30049 (roundevenf): Define using libm_alias_float.
30050 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30051 (roundf): Define using libm_alias_float.
30052 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30053 using libm_alias_float.
30054 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30055 <libm-alias-float.h>.
30056 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30057 Define using libm_alias_float.
30058 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30059 <libm-alias-float.h>.
30060 (sincosf): Define using libm_alias_float.
30061 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30062 (sinf): Define using libm_alias_float.
30063 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30064 (tanf): Define using libm_alias_float.
30065 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30066 (tanhf): Define using libm_alias_float.
30067 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30068 <libm-alias-float.h>.
30069 (totalorderf): Define using libm_alias_float.
30070 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30071 <libm-alias-float.h>.
30072 (totalordermagf): Define using libm_alias_float.
30073 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30074 (truncf): Define using libm_alias_float.
30075 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30076 libm_alias_float.
30077 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30078 libm_alias_float.
30079
c5c4a626
GG
300802017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30081
30082 [BZ #22146]
30083 math/math.h: Let fpclassify use the builtin in C++ mode, even
30084 when optimazing for size.
30085
23947846
JM
300862017-09-22 Joseph Myers <joseph@codesourcery.com>
30087
30088 * csu/Makefile (generated): Do not add version-info.h.
30089 (before-compile): Likewise.
30090 (all-Banner-files): Remove variable.
30091 ($(objpfx)version-info.h): Remove rule.
30092 * csu/version.c (banner): Do not include "version-info.h".
30093 * libidn/Banner: Remove.
30094 * manual/contrib.texi (Simon Josefsson): New entry.
30095
9ac3c682
GG
300962017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30097
30098 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30099 Remove conditionals on LDBL_MANT_DIG.
30100 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30101 (__ieee754_lgammal_r): Likewise.
30102
d2f0ed09
GG
301032017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30104
30105 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30106 _Float128 and L().
30107 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30108 _Float128 and L(). Replace _Float128 with long double and L(x)
30109 with xL, throughout the file.
30110 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30111 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30112 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30113 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30114
c5c2e667
GG
301152017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30116
30117 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30118 sysdeps/ieee754/ldbl-128ibm.
30119 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30120 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30121 of including it. Keep _Float128 and L() intact. These will be
30122 reviewed by a separate patch.
30123 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30124 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30125 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30126 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30127
e010deb2
GG
301282017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30129
30130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30131 (__finitef128): Define to __redirect___finitef128.
30132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30133 (__isinff128): Define to __redirect___isinff128.
30134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30135 (__isnanf128): Define to __redirect___isnanf128.
30136
ffa44804
GG
301372017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30138
30139 * sysdeps/powerpc/powerpc64le/Makefile
30140 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30141 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30142
e5e4d7cc
PP
301432017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30144 Carlos O'Donell <carlos@redhat.com>
30145
30146 [BZ #22180]
30147 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30148 * stdlib/test-dlclose-exit-race.c: New file.
30149 * stdlib/test-dlclose-exit-race-helper.c: New file.
30150 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30151
c10c5267
JM
301522017-09-21 Joseph Myers <joseph@codesourcery.com>
30153
30154 * crypt/Banner: Remove file.
30155 * nptl/Banner: Likewise.
30156 * resolv/Banner: Likewise.
30157 * soft-fp/Banner: Likewise.
30158 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30159 ($(objpfx)version.d): Remove dependency on banner.h.
30160 ($(objpfx)version.os): Likewise.
30161 * nptl/version.c (banner): Do not include banner.h.
30162 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30163 Jelinek and BIND code.
30164
1cc9e59a
PP
301652017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30166 Carlos O'Donell <carlos@redhat.com>
30167
30168 * support/xdlfcn.h: New file.
30169 * support/xdlfcn.c: New file.
30170 * support/Makefile (libsupport-routines): Add xdlfcn.
30171 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30172
ae8372d7
JM
301732017-09-20 Joseph Myers <joseph@codesourcery.com>
30174
30175 [BZ #20142]
30176 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30177 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30178 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30179 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30180 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30181 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30182 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30183 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30184
26e70aec 301852017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30186 Ricky Zhou <rickyz@google.com>
30187 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30188
30189 [BZ #14333]
30190 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30191 Remove atomics.
30192 (__new_exitfn): Fail registration when we finished at_exit processing.
30193 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30194 * stdlib/on_exit.c (__on_exit): Likewise.
30195 * stdlib/exit.c (__exit_funcs_done): New variable.
30196 (__run_exit_handlers): Use __exit_funcs_lock.
30197 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30198 declarations.
30199 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30200 (test-cxa_atexit-race, test-on_exit-race): New tests.
30201 * stdlib/test-atexit-race-common.c: New file.
30202 * stdlib/test-atexit-race.c: New file.
30203 * stdlib/test-at_quick_exit-race.c: New file.
30204 * stdlib/test-cxa_atexit-race.c: New file.
30205 * stdlib/test-on_exit-race.c: New file.
30206
0525ce48
SN
302072017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30208
30209 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30210 * benchtests/exp2f-inputs: Copy of expf-inputs.
30211 * benchtests/log2f-inputs: Copy of logf-inputs.
30212
d82468d1
JM
302132017-09-19 Joseph Myers <joseph@codesourcery.com>
30214
30215 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30216 Explicitly take address of first element of array arguments in
30217 call to INLINE_SYSCALL.
30218
43ffc53a
AS
302192017-09-19 Andreas Schwab <schwab@suse.de>
30220
30221 [BZ #22134]
30222 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30223 execveat first.
30224 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30225 unimplemented.
30226 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30227 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30228 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30229 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30230 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30231 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30232 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30233 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30234 * posix/Makefile (tests): Add tst-fexecve.
30235 * posix/tst-fexecve.c: New file.
30236
a5dcc87e
WD
302372017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30238
30239 * benchtests/Makefile: Add logf benchmark.
30240 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30241
7024d544
WD
302422017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30243
30244 * benchtests/Makefile: Add expf benchmark.
30245 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30246
ca3a382e
WD
302472017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30248
30249 * csu/Makefile: Add -funwind-tables to libc-start.c.
30250 * debug/Makefile: Add -funwind-tables to backtrace.c.
30251 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30252 * sysdeps/arm/Makefile: Likewise.
30253 * sysdeps/i386/Makefile: Likewise.
30254 * sysdeps/m68k/Makefile: Likewise.
30255 * sysdeps/mips/Makefile: Likewise.
30256 * sysdeps/nios2/Makefile: Likewise.
30257 * sysdeps/sh/Makefile: Likewise.
30258 * sysdeps/sparc/Makefile: Likewise.
30259
eb375def
JM
302602017-09-19 Joseph Myers <joseph@codesourcery.com>
30261
30262 * benchtests/Makefile (bench-math): Add trunc and truncf.
30263 (CFLAGS-bench-trunc.c): New variable.
30264 (CFLAGS-bench-truncf.c): Likewise.
30265 * benchtests/trunc-inputs: New file.
30266 * benchtests/truncf-inputs: Likewise.
30267
bd17ba29
RS
302682017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30269
30270 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30271
92892fdb
JM
302722017-09-18 Joseph Myers <joseph@codesourcery.com>
30273
6d9b0b5a
JM
30274 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30275 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30276 redefine.
30277 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30278 (exp10l): Define as weak alias.
30279 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30280 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30281 and redefine.
30282 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30283 (remainderl): Define as weak alias.
30284
92892fdb
JM
30285 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30286 (fmal): Define using libm_alias_ldouble.
30287 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30288 (acoshl): Define using libm_alias_ldouble.
30289 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30290 (acosl): Define using libm_alias_ldouble.
30291 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30292 (asinl): Define using libm_alias_ldouble.
30293 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30294 (atan2l): Define using libm_alias_ldouble.
30295 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30296 (atanhl): Define using libm_alias_ldouble.
30297 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30298 (coshl): Define using libm_alias_ldouble.
30299 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30300 (exp10l): Define using libm_alias_ldouble.
30301 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30302 (exp2l): Define using libm_alias_ldouble.
30303 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30304 (expl): Define using libm_alias_ldouble.
30305 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30306 (fmodl): Define using libm_alias_ldouble.
30307 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30308 (hypotl): Define using libm_alias_ldouble.
30309 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30310 (j0l): Define using libm_alias_ldouble.
30311 (y0l): Likewise.
30312 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30313 (j1l): Define using libm_alias_ldouble.
30314 (y1l): Likewise.
30315 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30316 (jnl): Define using libm_alias_ldouble.
30317 (ynl): Likewise.
30318 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30319 (log10l): Define using libm_alias_ldouble.
30320 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30321 (log2l): Define using libm_alias_ldouble.
30322 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30323 (logl): Define using libm_alias_ldouble.
30324 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30325 (powl): Define using libm_alias_ldouble.
30326 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30327 (remainderl): Define using libm_alias_ldouble.
30328 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30329 (sinhl): Define using libm_alias_ldouble.
30330 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30331 (sqrtl): Define using libm_alias_ldouble.
30332 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30333 (tgammal): Define using libm_alias_ldouble.
30334 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30335 (exp10l): Do not use long_double_symbol here.
30336 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30337 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30338 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30339 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30340 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30341 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30342 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30343 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30344 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30345 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30346 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30347 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30348 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30349 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30350 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30351 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30352 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30353 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30354 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30355 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30356 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30357 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30358
6cd380dd
WB
303592017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30360
30361 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30362 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30363
1c6d89e9
ST
303642017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30365
30366 * io/read.c (read): Add libc_hidden_weak.
30367 * sysdeps/mach/hurd/read.c (read): Likewise.
30368 * io/write.c (write): Likewise.
30369 * sysdeps/mach/hurd/write.c (write): Likewise.
30370 * io/pread64.c (__pread64): Likewise.
30371 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30372 * posix/pread64.c (__pread64): Add libc_hidden_def.
30373
06b1de23
SP
303742017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30375
140647ea
SP
30376 * benchtests/scripts/compare_strings.py: New option -g.
30377 (draw_graph): Print a message that a graph is being generated.
30378 (process_results): Generate graph only if -g is passed.
30379 (main): Process option -g.
30380
5a6547b7
SP
30381 * benchtests/scripts/compare_strings.py (process_results):
30382 Better spacing for output.
30383
06b1de23
SP
30384 * benchtests/scripts/compare_strings.py: Use argparse.
30385 * benchtests/README: Document existence of compare_strings.py.
30386
c67a2328
JM
303872017-09-15 Joseph Myers <joseph@codesourcery.com>
30388
9ac44708
JM
30389 * math/s_fma.c: Include <libm-alias-double.h>.
30390 (fma): Define using libm_alias_double.
30391 * math/s_nextafter.c: Include <libm-alias-double.h>.
30392 (nextafter): Define using libm_alias_double.
30393 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30394 (acos): Define using libm_alias_double.
30395 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30396 (aocsh): Define using libm_alias_double.
30397 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30398 (asin): Define using libm_alias_double.
30399 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30400 (atan2): Define using libm_alias_double.
30401 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30402 (atanh): Define using libm_alias_double.
30403 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30404 (cosh): Define using libm_alias_double.
30405 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30406 (exp10): Define using libm_alias_double.
30407 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30408 (exp2): Define using libm_alias_double.
30409 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30410 (exp): Define using libm_alias_double.
30411 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30412 (fmod): Define using libm_alias_double.
30413 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30414 (hypot): Define using libm_alias_double.
30415 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30416 (j0): Define using libm_alias_double.
30417 (y0): Likewise.
30418 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30419 (j1): Define using libm_alias_double.
30420 (y1): Likewise.
30421 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30422 (jn): Define using libm_alias_double.
30423 (yn): Likewise.
30424 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30425 (log10): Define using libm_alias_double.
30426 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30427 (log2): Define using libm_alias_double.
30428 * math/w_log_compat.c: Include <libm-alias-double.h>.
30429 (log): Define using libm_alias_double.
30430 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30431 (pow): Define using libm_alias_double.
30432 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30433 (remainder): Define using libm_alias_double.
30434 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30435 (sinh): Define using libm_alias_double.
30436 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30437 (sqrt): Define using libm_alias_double.
30438 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30439 (tgamma): Define using libm_alias_double.
30440 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30441 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30442 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30443 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30444 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30445 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30446 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30447 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30448 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30449 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30450 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30451 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30452 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30453 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30454 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30455 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30456 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30457 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30458 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30459 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30460 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30461 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30462 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30463 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30464 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30465
c67a2328
JM
30466 * math/e_acoshl.c: Remove.
30467 * math/e_acosl.c: Likewise.
30468 * math/e_asinl.c: Likewise.
30469 * math/e_atan2l.c: Likewise.
30470 * math/e_atanhl.c: Likewise.
30471 * math/e_coshl.c: Likewise.
30472 * math/e_expl.c: Likewise.
30473 * math/e_fmodl.c: Likewise.
30474 * math/e_gammal_r.c: Likewise.
30475 * math/e_hypotl.c: Likewise.
30476 * math/e_j0l.c: Likewise.
30477 * math/e_j1l.c: Likewise.
30478 * math/e_jnl.c: Likewise.
30479 * math/e_lgammal_r.c: Likewise.
30480 * math/e_log10l.c: Likewise.
30481 * math/e_log2l.c: Likewise.
30482 * math/e_logl.c: Likewise.
30483 * math/e_powl.c: Likewise.
30484 * math/e_rem_pio2l.c: Likewise.
30485 * math/e_sinhl.c: Likewise.
30486 * math/e_sqrtf128.c: Likewise.
30487 * math/e_sqrtl.c: Likewise.
30488 * math/k_cosl.c: Likewise.
30489 * math/k_sinl.c: Likewise.
30490 * math/k_tanl.c: Likewise.
30491 * math/s_asinhl.c: Likewise.
30492 * math/s_atanl.c: Likewise.
30493 * math/s_cbrtl.c: Likewise.
30494 * math/s_erfl.c: Likewise.
30495 * math/s_expm1l.c: Likewise.
30496 * math/s_log1pl.c: Likewise.
30497 * math/s_tanhl.c: Likewise.
30498
61c45f25
TMQMF
304992017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30500
30501 [BZ #21745]
30502 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30503 [$(subdir) = math] (sysdep_calls): New variable. Has the
30504 previous contents of sysdep_routines, but re-sorted..
30505 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30506 sysdep_calls.
30507 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30508 defined in sysdep_calls and replace by the respective m_* names.
30509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30510 (compat_symbol): Undefine to avoid duplicated compat symbols in
30511 libc.
30512
5bcdb315
JM
305132017-09-15 Joseph Myers <joseph@codesourcery.com>
30514
30515 * math/s_fmaf.c: Include <libm-alias-float.h>.
30516 (fmaf): Define using libm_alias_float.
30517 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30518 (acosf): Define using libm_alias_float.
30519 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30520 (acoshf): Define using libm_alias_float.
30521 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30522 (asinf): Define using libm_alias_float.
30523 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30524 (atan2f): Define using libm_alias_float.
30525 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30526 (atanhf): Define using libm_alias_float.
30527 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30528 (coshf): Define using libm_alias_float.
30529 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30530 (exp10f): Define using libm_alias_float.
30531 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30532 (fmodf): Define using libm_alias_float.
30533 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30534 (hypotf): Define using libm_alias_float.
30535 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30536 (j0f): Define using libm_alias_float.
30537 (y0f): Likewise.
30538 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30539 (j1f): Define using libm_alias_float.
30540 (y1f): Likewise.
30541 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30542 (jnf): Define using libm_alias_float.
30543 (ynf): Likewise.
30544 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30545 (log10f): Define using libm_alias_float.
30546 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30547 (log2f): Define using libm_alias_float.
30548 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30549 (logf): Define using libm_alias_float.
30550 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30551 (powf): Define using libm_alias_float.
30552 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30553 (remainderf): Define using libm_alias_float.
30554 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30555 (sinhf): Define using libm_alias_float.
30556 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30557 (sqrtf): Define using libm_alias_float.
30558 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30559 (tgammaf): Define using libm_alias_float.
30560
01f28812
JM
305612017-09-14 Joseph Myers <joseph@codesourcery.com>
30562
30563 * include/math.h (roundeven): Change hidden_proto call to
30564 __roundeven.
30565 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30566 alias.
30567 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30568 (y0): Rename to __y0 and define as weak alias.
30569 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30570 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30571 alias.
30572 (y0f): Rename to __y0f and define as weak alias.
30573 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30574 alias.
30575 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30576 (y1): Rename to __y1 and define as weak alias.
30577 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30578 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30579 alias.
30580 (y1f): Rename to __y1f and define as weak alias.
30581 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30582 alias.
30583 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30584 (yn): Rename to __yn and define as weak alias.
30585 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30586 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30587 alias.
30588 (ynf): Rename to __ynf and define as weak alias.
30589 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30590 (fromfp): Define as weak alias.
30591 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30592 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30593 (fromfpx): Define as weak alias.
30594 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30595 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30596 __getpayload and define as weak alias.
30597 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30598 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30599 __roundeven and define as weak alias.
30600 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30601 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30602 __setpayload.
30603 (setpayload): Define as weak alias.
30604 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30605 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30606 __setpayloadsig.
30607 (setpayloadsig): Define as weak alias.
30608 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30609 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30610 __totalorder and define as weak alias.
30611 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30612 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30613 to __totalordermag and define as weak alias.
30614 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30615 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30616 (ufromfp): Define as weak alias.
30617 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30618 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30619 __ufromfpx.
30620 (ufromfpx): Define as weak alias.
30621 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30622 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30623 Rename to __getpayload and define as weak alias.
30624 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30625 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30626 Rename to __roundeven and define as weak alias.
30627 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30628 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30629 Rename to __totalorder and define as weak alias.
30630 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30631 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30632 (totalordermag): Rename to __totalordermag and define as weak
30633 alias.
30634 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30635 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30636 macro.
30637 (__roundevenl): Likewise.
30638 (__totalorderl): Likewise.
30639 (__totalordermagl): Likewise
30640 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30641 __fromfpf128.
30642 (fromfpf128): Define as weak alias.
30643 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30644 __fromfpxf128.
30645 (fromfpxf128): Define as weak alias.
30646 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30647 __setpayloadf128.
30648 (setpayloadf128): Define as weak alias.
30649 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30650 __setpayloadsigf128.
30651 (setpayloadsigf128): Define as weak alias.
30652 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30653 __ufromfpf128.
30654 (ufromfpf128): Define as weak alias.
30655 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30656 __ufromfpxf128.
30657 (ufromfpxf128): Define as weak alias.
30658 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30659 (fromfpf): Define as weak alias.
30660 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30661 __fromfpxf.
30662 (fromfpxf): Define as weak alias.
30663 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30664 __getpayloadf and define as weak alias.
30665 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30666 __roundevenf and define as weak alias.
30667 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30668 __setpayloadf.
30669 (setpayloadf): Define as weak alias.
30670 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30671 __setpayloadsigf.
30672 (setpayloadsigf): Define as weak alias.
30673 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30674 __totalorderf and define as weak alias.
30675 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30676 Rename to __totalordermagf and define as weak alias.
30677 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30678 __ufromfpf.
30679 (ufromfpf): Define as weak alias.
30680 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30681 __ufromfpxf.
30682 (ufromfpxf): Define as weak alias.
30683 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30684 __fromfpl.
30685 (fromfpl): Define as weak alias.
30686 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30687 __fromfpxl.
30688 (fromfpxl): Define as weak alias.
30689 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30690 to __getpayloadl and define as weak alias.
30691 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30692 __roundevenl and define as weak alias.
30693 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30694 __setpayloadl.
30695 (setpayloadl): Define as weak alias.
30696 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30697 __setpayloadsigl.
30698 (setpayloadsigl): Define as weak alias.
30699 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30700 to __totalorderl and define as weak alias.
30701 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30702 Rename to __totalordermagl and define as weak alias.
30703 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30704 __ufromfpl.
30705 (ufromfpl): Define as weak alias.
30706 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30707 __ufromfpxl.
30708 (ufromfpxl): Define as weak alias.
30709 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30710 __fromfpl.
30711 (fromfpl): Define as weak alias.
30712 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30713 __fromfpxl.
30714 (fromfpxl): Define as weak alias.
30715 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30716 Rename to __getpayloadl and define as weak alias.
30717 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30718 to __roundevenl and define as weak alias. Call __roundeven
30719 instead of roundeven.
30720 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30721 __setpayloadl.
30722 (setpayloadl): Define as weak alias.
30723 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30724 __setpayloadsigl.
30725 (setpayloadsigl): Define as weak alias.
30726 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30727 Rename to __totalorderl and define as weak alias.
30728 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30729 Rename to __totalordermagl and define as weak alias.
30730 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30731 __ufromfpl.
30732 (ufromfpl): Define as weak alias.
30733 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30734 __ufromfpxl.
30735 (ufromfpxl): Define as weak alias.
30736 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30737 __fromfpl.
30738 (fromfpl): Define as weak alias.
30739 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30740 __fromfpxl.
30741 (fromfpxl): Define as weak alias.
30742 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30743 __getpayloadl and define as weak alias.
30744 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30745 __roundevenl and define as weak alias.
30746 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30747 __setpayloadl.
30748 (setpayloadl): Define as weak alias.
30749 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30750 __setpayloadsigl.
30751 (setpayloadsigl): Define as weak alias.
30752 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30753 __totalorderl and define as weak alias.
30754 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30755 Rename to __totalordermagl and define as weak alias.
30756 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30757 __ufromfpl.
30758 (ufromfpl): Define as weak alias.
30759 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30760 __ufromfpxl.
30761 (ufromfpxl): Define as weak alias.
30762
29c933fb
SP
307632017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30764
503c92c3
SP
30765 * benchtests/bench-string.h (realloc_bufs): New function.
30766 (test_init): Call it.
30767 * benchtests/bench-memset-large.c (do_test): Likewise.
30768 * benchtests/bench-memset.c (do_test): Likewise.
30769
29c933fb
SP
30770 * benchtests/bench-memset-large.c: Print output in JSON
30771 format.
30772 * benchtests/bench-memset.c: Likewise.
30773
799c8d69
MF
307742017-09-14 Mike FABIAN <mfabian@redhat.com>
30775
30776 [BZ #21084]
30777 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30778 * iconvdata/Makefile: Add IBM858.
30779 * iconvdata/gconv-modules: Likewise.
30780 * iconvdata/tst-tables.sh: Likewise.
30781 * iconvdata/ibm858.c: New file.
30782 * localedata/charmaps/IBM858: Likewise.
30783
c207f7ce 307842017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30785
30786 [BZ #22023]
30787 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30788 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30789
f28a0926
AK
307902017-09-14 Mike FABIAN <mfabian@redhat.com>
30791
30792 [BZ #22112]
30793 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30794 and add tel_int_fmt.
30795
02093e62
JM
307962017-09-14 Joseph Myers <joseph@codesourcery.com>
30797
30798 * sysdeps/generic/libm-alias-float128.h: New file.
30799 * sysdeps/generic/math-type-macros-float128.h: Include
30800 <libm-alias-float128.h>.
30801 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30802
1aae75ef
JM
308032017-09-13 Joseph Myers <joseph@codesourcery.com>
30804
30805 * sysdeps/generic/libm-alias-ldouble.h: New file.
30806 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30807 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30808 * sysdeps/generic/math-type-macros-ldouble.h: Include
30809 <libm-alias-ldouble.h>.
30810 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30811 libm_alias_ldouble.
30812
bcea7ad6
SN
308132017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30814
30815 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30816 * math/w_exp_compat.c: ... here.
30817 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30818 * math/w_expf_compat.c: ... here.
30819 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30820 * math/w_expl_compat.c: ... here.
30821 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30822 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30823 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30824 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30825
0fc56478
JM
308262017-09-13 Joseph Myers <joseph@codesourcery.com>
30827
30828 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30829 redefine.
30830 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30831 macro.
30832 (ldexpl): Only define as compat symbol for libc, not libm.
30833 (scalbnl): Define as compat symbol for libc here.
30834 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30835 define for [IS_IN (libc)].
30836 (__ldexpl_2): Remove alias.
30837 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30838 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30839 name in long_double_symbol call.
30840 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30841 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30842 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30843 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30844 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30845 Remove macro.
30846 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30847 Define as compat symbol.
30848
3ca622e4
AZ
308492017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30850
30851 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30852 * sysdeps/unix/sysv/linux/alpha/Makefile
30853 [$(subdir) = csu] (sysdep_routines): Remove rule.
30854
620ff9ee
JM
308552017-09-13 Joseph Myers <joseph@codesourcery.com>
30856
30857 * sysdeps/generic/libm-alias-double.h: New file.
30858 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30859 * sysdeps/generic/math-type-macros-double.h: Include
30860 <libm-alias-double.h>.
30861 [declare_mgen_alias] (declare_mgen_alias): Define to use
30862 libm_alias_double.
30863 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30864 (M_LIBM_NEED_COMPAT): Remove macro.
30865 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30866 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30867 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30868 code.
30869 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30870 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30871 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30872 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30873 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30874 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30875 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30876 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30877 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30878 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30879 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30880 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30881 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30882 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30883 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30884 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30885 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30886 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30887 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30888 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30889 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30890 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30891 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30892 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30893 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30894 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30895 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30896 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30897 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30898 macro.
30899 (declare_mgen_alias): New macro.
30900 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30901 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30903 (M_LIBM_NEED_COMPAT): Remove macro.
30904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30905 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30906 <first-versions.h>.
30907 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30908 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30909
a891caff
JM
309102017-09-12 Joseph Myers <joseph@codesourcery.com>
30911
30912 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30913 (declare_mgen_alias_2): Remove.
30914 * sysdeps/generic/math-type-macros-double.h
30915 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30916 Likewise.
30917 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30918 alias.
30919 (ldexp): Define with declare_mgen_alias.
30920 (scalbn): Likewise.
30921
a1a78204
SE
309222017-09-12 Steve Ellcey <sellcey@cavium.com>
30923
30924 * grp/initgroups.c: Include config.h.
30925 (DEFAULT_CONFIG): New macro.
30926 (internal_getgrouplist): Use DEFAULT_CONFIG.
30927 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30928 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30929 (DEFAULT_DEFCONFIG): New macro.
30930 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30931 * nss/grp-lookup.c: Include config.h
30932 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30933 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30934 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30935 * manual/nss.texi: Update default values section.
30936
ef8adeb0
L
309372017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30938
30939 [BZ #21967]
30940 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30941 New.
30942 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30943 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30944 Handle MathVec_Prefer_No_AVX512.
30945 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30946 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30947 is set.
30948
a166531f
ST
309492017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30950
30951 * posix/sched_primax.c (__sched_get_priority_max): Add
30952 libc_hidden_def.
30953 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30954 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30955 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30956 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30957 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30958 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30959 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30960 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30961 Add aliases.
30962
4b7d1efb
JM
309632017-09-11 Joseph Myers <joseph@codesourcery.com>
30964
30965 * sysdeps/generic/libm-alias-float.h: New file.
30966 * sysdeps/generic/math-type-macros-float.h: Include
30967 <libm-alias-float.h>.
30968 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30969
45ff3463
L
309702017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30971
30972 [BZ #22093]
30973 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30974 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30975 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30976 (HWCAP_IMPORTANT): Likewise.
30977 (HWCAP_X86_64): New enum.
30978 (HWCAP_X86_AVX512_1): Updated.
30979 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30980 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30981 (modules-names): Add x86_64/tst-x86_64mod-1.
30982 (LDFLAGS-tst-x86_64mod-1.so): New.
30983 ($(objpfx)tst-x86_64-1): Likewise.
30984 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30985 (tst-x86_64-1-clean): Likewise.
30986 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30987 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30988
891abfd3
SP
309892017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30990
30991 * po/sv.po: Update translations.
30992 * po/fr.po: Likewise.
30993
00c3da43
ST
309942017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30995
30996 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30997 seconds.
3bdfd9fb
ST
30998 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30999 seconds.
65b22ebc 31000 * elf/rtld-Rules: Fix $(error) use.
00c3da43 31001
96480903
MF
310022017-09-09 Mike FABIAN <mfabian@redhat.com>
31003
31004 [BZ #14925]
31005 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31006 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31007 * localedata/locales/bn_BD: “Bengali” was still used in some
31008 comments. Change it to “Bangla”.
31009
4c03a696
MT
310102017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31011
31012 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31013
9c9ec581
SE
310142017-09-08 Steve Ellcey <sellcey@cavium.com>
31015
31016 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31017 thunderx2t99p1 to list of cpu names.
31018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31019 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31020
f00bce74
SE
310212017-09-08 Steve Ellcey <sellcey@cavium.com>
31022
31023 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31024 Use strcmp instead of tunable_is_name.
31025
27342d17
JM
310262017-09-08 Joseph Myers <joseph@codesourcery.com>
31027
af1b7c8c
JM
31028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31029 (F_GET_RW_HINT): New macro.
31030 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31031 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31032 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31033 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31034 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31035 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31036 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31037 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31038 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31039
27342d17
JM
31040 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31041 (F_ADD_SEALS): New macro.
31042 [__USE_GNU] (F_GET_SEALS): Likewise.
31043 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31044 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31045 [__USE_GNU] (F_SEAL_GROW): Likewise.
31046 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31047
c66c9082
AZ
310482017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31049
07b4f49d
AZ
31050 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31051 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31052 * posix/glob_internal.h (__glob_pattern_type):
31053 * posix/glob.c (glob):
31054 * posix/glob_pattern_p.c (__glob_pattern_p):
31055 Use them.
31056
116f1c64
AZ
31057 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31058 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31059 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31060 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31061 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31063 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31064 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31065 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31066 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31067 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31068 * sysdeps/wordsize-64/glob.c: Likewise.
31069 * sysdeps/wordsize-64/glob64.c: Likewise.
31070 * sysdeps/wordsize-64/globfree.c: Likewise.
31071 * sysdeps/wordsize-64/globfree64.c: Likewise.
31072 * sysdeps/unix/sysv/linux/glob.c: New file.
31073 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31074 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31075 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31076 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31077 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31078 adds !GLOB_NO_OLD_VERSION as an extra condition.
31079 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31080 using relative path instead of absolute one.
31081 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31082 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31083 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31084 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31085 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31086 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31087
ffca8901
AZ
31088 [BZ #1062]
31089 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31090 (glob): Use the same scratch buffer for both getlogin_r and
31091 getpwnam_r. Don’t require preallocation of the login name. This
31092 simplifies storage allocation, and corrects the handling of
31093 long login names.
31094
5a79f975
AZ
31095 [BZ #1062]
31096 * posix/glob.c (glob): Port recent patches to platforms
31097 lacking getpwnam_r.
31098 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31099 returns an error number rather than setting errno.
31100
e00f2425
AZ
31101 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31102 instead of GCC extension.
31103 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31104 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31105 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31106
5554304f
AZ
31107 [BZ #866]
31108 [BZ #1062]
31109 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31110 * posix/bug-glob1.c: Remove file.
31111 * posix/tst-glob_symlinks.c: New file.
31112 * posix/glob.c (__lstat64): New macro.
31113 (is_dir): New function.
31114 (glob, glob_in_dir): Match symlinks even if they are dangling.
31115 (link_stat, link_exists_p): Remove. All uses removed.
31116
686f2ea1
AZ
31117 [BZ #1062]
31118 [BZ #19971]
31119 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31120 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31121 All uses removed.
31122
c66c9082 31123 [BZ #1062]
914c9994 31124 CVE-2017-15671
c66c9082
AZ
31125 * posix/Makefile (routines): Add globfree, globfree64, and
31126 glob_pattern_p.
31127 * posix/flexmember.h: New file.
31128 * posix/glob_internal.h: Likewise.
31129 * posix/glob_pattern_p.c: Likewise.
31130 * posix/globfree.c: Likewise.
31131 * posix/globfree64.c: Likewise.
31132 * sysdeps/gnu/globfree64.c: Likewise.
31133 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31134 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31135 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31136 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31137 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31138 * sysdeps/wordsize-64/globfree.c: Likewise.
31139 * sysdeps/wordsize-64/globfree64.c: Likewise.
31140 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31141 [NDEBUG): Remove comments.
31142 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31143 (dirent_type): New type. Use uint_fast8_t not
31144 uint8_t, as C99 does not require uint8_t.
31145 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31146 (struct readdir_result): Use dirent_type. Do not define skip_entry
31147 unless it is needed; this saves a byte on platforms lacking d_ino.
31148 (readdir_result_type, readdir_result_skip_entry):
31149 New functions, replacing ...
31150 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31151 these functions, which were removed. This makes the callers
c66c9082
AZ
31152 easier to read. All callers changed.
31153 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31154 (size_add_wrapv, glob_use_alloca): New static functions.
31155 (glob, glob_in_dir): Check for size_t overflow in several places,
31156 and fix some size_t checks that were not quite right.
31157 Remove old code using SHELL since Bash no longer
31158 uses this.
31159 (glob, prefix_array): Separate MS code better.
31160 (glob_in_dir): Remove old Amiga and VMS code.
31161 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31162 separate files.
31163 (glob_in_dir): Do not rely on undefined behavior in accessing
31164 struct members beyond their bounds. Use a flexible array member
31165 instead
31166 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31167 0/1. Caller changed.
31168 (glob): Fix memory leaks.
31169 * posix/glob64 (globfree64): Move to separate file.
31170 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31171 (globfree64): Remove hidden alias.
31172 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31173 oldglob.
31174 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31175 separate file.
31176 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31177 define.
31178 Move compat code to separate file.
31179 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31180 separate file.
31181
78bfa877
L
311822017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31183
31184 * resolv/tst-resolv-qtypes.c (domain): Changed to
31185 "const char domain[] =".
31186
05f0011f
JM
311872017-09-07 Joseph Myers <joseph@codesourcery.com>
31188
85bec0f2
JM
31189 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31190 version to 3.1.6.
31191
5c23ee6e
JM
31192 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31193 (TCP_MD5SIG_EXT): Likewise.
31194 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31195 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31196 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31197
05f0011f
JM
31198 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31199
7c9c5be9
MF
312002017-09-07 Mike FABIAN <mfabian@redhat.com>
31201
31202 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31203
c207f7ce 312042017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31205
31206 [BZ #22100]
31207 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31208
507fe027
ST
312092017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31210
31211 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31212 before assuming that the file is empty. Avoid testing buffer content
31213 when nread == 0.
31214
65687ac7
AZ
312152017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31216
7bbbb4b9 31217 [BZ #18858]
65687ac7
AZ
31218 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31219 Remove define.
31220 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31221 Likewise.
31222 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31223 Likewise.
31224 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31225 Likewise.
31226 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31227 Likewise.
31228 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31229 Likewise.
31230 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31231 Likewise.
31232
ab5ac271
FW
312332017-09-06 Florian Weimer <fweimer@redhat.com>
31234
31235 * malloc/dynarray_emplace_enlarge.c
31236 (__libc_dynarray_emplace_enlarge): Add missing else.
31237
a8304730
FW
312382017-09-06 Florian Weimer <fweimer@redhat.com>
31239
31240 [BZ #22096]
31241 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31242 case of failure to obtain the global conf object.
31243
5670c4ab
FW
312442017-09-06 Florian Weimer <fweimer@redhat.com>
31245
31246 [BZ #22095]
31247 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31248 dynarray allocation failure.
31249
c77eb969
FW
312502017-09-06 Florian Weimer <fweimer@redhat.com>
31251
31252 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31253 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31254 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31255 New functions.
31256 (response): Call them. Add 'p', '6' flag processing.
31257 (test_reverse): New function.
31258 (test_get2_any): Call it.
31259 (test_no_inet6): Add 'p' test.
31260 (test_inet6): Likewise.
31261
5e9c4d17
FW
312622017-09-06 Florian Weimer <fweimer@redhat.com>
31263
31264 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31265 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31266 the QNAME.
31267 (test_gai): Adjust query names. Add additional tests.
31268 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31269 test_get2. Adjust query names. Add additional tests.
31270 (test_no_inet6): New function, extracted from threadfunc.
31271 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31272 Add additional tests.
31273
2ae5be04
MF
312742017-09-06 Mike FABIAN <mfabian@redhat.com>
31275
31276 [BZ #22070]
31277 * localedata/unicode-gen/utf8_gen.py: Set the width for
31278 characters with Prepended_Concatenation_Mark property to 1
31279 * localedata/charmaps/UTF-8: Updated using the improved script.
31280
af83ed5c
MF
312812017-09-06 Mike FABIAN <mfabian@redhat.com>
31282
31283 [BZ #21750]
31284 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31285 use the range notation for all ranges of neighbouring characters
31286 with the same width.
31287
4f3647e4
JM
312882017-09-05 Joseph Myers <joseph@codesourcery.com>
31289
31290 * sysdeps/generic/math-type-macros-double.h: Include
31291 <math-svid-compat.h>.
31292 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31293 * sysdeps/generic/math-type-macros-float.h: Include
31294 <math-svid-compat.h>.
31295 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31296 * sysdeps/generic/math-type-macros-ldouble.h: Include
31297 <math-svid-compat.h>.
31298 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31299 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31300 condition.
31301 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31302 * math/w_acosf_compat.c: Likewise.
31303 * math/w_acosh_compat.c: Likewise.
31304 * math/w_acoshf_compat.c: Likewise.
31305 * math/w_acoshl_compat.c: Likewise.
31306 * math/w_acosl_compat.c: Likewise.
31307 * math/w_asin_compat.c: Likewise.
31308 * math/w_asinf_compat.c: Likewise.
31309 * math/w_asinl_compat.c: Likewise.
31310 * math/w_atan2_compat.c: Likewise.
31311 * math/w_atan2f_compat.c: Likewise.
31312 * math/w_atan2l_compat.c: Likewise.
31313 * math/w_atanh_compat.c: Likewise.
31314 * math/w_atanhf_compat.c: Likewise.
31315 * math/w_atanhl_compat.c: Likewise.
31316 * math/w_cosh_compat.c: Likewise.
31317 * math/w_coshf_compat.c: Likewise.
31318 * math/w_coshl_compat.c: Likewise.
31319 * math/w_exp10_compat.c: Likewise.
31320 * math/w_exp10f_compat.c: Likewise.
31321 * math/w_exp10l_compat.c: Likewise.
31322 * math/w_exp2_compat.c: Likewise.
31323 * math/w_exp2f_compat.c: Likewise.
31324 * math/w_exp2l_compat.c: Likewise.
31325 * math/w_fmod_compat.c: Likewise.
31326 * math/w_fmodf_compat.c: Likewise.
31327 * math/w_fmodl_compat.c: Likewise.
31328 * math/w_hypot_compat.c: Likewise.
31329 * math/w_hypotf_compat.c: Likewise.
31330 * math/w_hypotl_compat.c: Likewise.
31331 * math/w_j0_compat.c: Likewise.
31332 * math/w_j0f_compat.c: Likewise.
31333 * math/w_j0l_compat.c: Likewise.
31334 * math/w_j1_compat.c: Likewise.
31335 * math/w_j1f_compat.c: Likewise.
31336 * math/w_j1l_compat.c: Likewise.
31337 * math/w_jn_compat.c: Likewise.
31338 * math/w_jnf_compat.c: Likewise.
31339 * math/w_jnl_compat.c: Likewise.
31340 * math/w_lgamma_r_compat.c: Likewise.
31341 * math/w_lgammaf_r_compat.c: Likewise.
31342 * math/w_lgammal_r_compat.c: Likewise.
31343 * math/w_log10_compat.c: Likewise.
31344 * math/w_log10f_compat.c: Likewise.
31345 * math/w_log10l_compat.c: Likewise.
31346 * math/w_log2_compat.c: Likewise.
31347 * math/w_log2f_compat.c: Likewise.
31348 * math/w_log2l_compat.c: Likewise.
31349 * math/w_log_compat.c: Likewise.
31350 * math/w_logf_compat.c: Likewise.
31351 * math/w_logl_compat.c: Likewise.
31352 * math/w_pow_compat.c: Likewise.
31353 * math/w_powf_compat.c: Likewise.
31354 * math/w_powl_compat.c: Likewise.
31355 * math/w_remainder_compat.c: Likewise.
31356 * math/w_remainderf_compat.c: Likewise.
31357 * math/w_remainderl_compat.c: Likewise.
31358 * math/w_sinh_compat.c: Likewise.
31359 * math/w_sinhf_compat.c: Likewise.
31360 * math/w_sinhl_compat.c: Likewise.
31361 * math/w_sqrt_compat.c: Likewise.
31362 * math/w_sqrtf_compat.c: Likewise.
31363 * math/w_sqrtl_compat.c: Likewise.
31364 * math/w_tgamma_compat.c: Likewise.
31365 * math/w_tgammaf_compat.c: Likewise.
31366 * math/w_tgammal_compat.c: Likewise.
31367 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31368 [LIBM_SVID_COMPAT].
31369 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31370 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31371 [LIBM_SVID_COMPAT].
31372 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31373 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31374 [LIBM_SVID_COMPAT].
31375 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31376 * sysdeps/i386/fpu/w_sqrt.c: New file.
31377 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31378 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31379 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31380 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31381 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31382 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31383 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31384 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31385 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31386 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31387 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31388 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31389 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31390 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31391 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31392 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31393 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31394 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31395 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31396 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31397 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31398 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31399 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31400 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31401 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31402 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31403 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31404 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31405 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31406 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31407 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31408 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31409 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31410 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31411 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31412 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31413 * sysdeps/ia64/fpu/w_log.c: Likewise.
31414 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31415 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31416 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31417 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31418 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31419 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31420 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31421 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31422 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31423 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31424 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31425 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31426 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31427 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31428 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31429 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31430 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31431 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31432 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31433 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31434 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31435 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31436 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31437 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31438 [LIBM_SVID_COMPAT].
31439 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31440 * sysdeps/ieee754/k_standard.c: Likewise.
31441 * sysdeps/ieee754/k_standardf.c: Likewise.
31442 * sysdeps/ieee754/k_standardl.c: Likewise.
31443 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31444 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31445 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31446 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31447 long_double_symbol call on [LIBM_SVID_COMPAT].
31448 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31449 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31450 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31451 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31452 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31453 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31454 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31455 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31456 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31457 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31458 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31459 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31460 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31461 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31462 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31463 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31464 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31465 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31466 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31467 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31468 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31469 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31470
05b38d64
SE
314712017-09-05 Steve Ellcey <sellcey@cavium.com>
31472
31473 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31474 * malloc/tst-mallocstate.c: Convert from test-skeleton
31475 to test-driver. Ifdef code using TEST_COMPAT macro.
31476 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31477 * math/test-matherr.c: Likewise.
31478
99d67918
JM
314792017-09-05 Joseph Myers <joseph@codesourcery.com>
31480
31481 [BZ #22086]
31482 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31483 comparing word with byte-swapped constant.
31484
c207f7ce 314852017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31486
31487 [BZ #20498]
31488 * locale/iso-639.def: add Miskito.
31489 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31490 * localedata/locales/miq_NI: New file.
31491
0a587a8a
L
314922017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31493
31494 [BZ #18822]
31495 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31496 (__mkdir): Likewise.
31497 * io/chmod.c (__chmod): Add libc_hidden_def.
31498 * io/mkdir.c (__mkdir): Likewise.
31499 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31500 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31501 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31502 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31503
f3a129b8
JM
315042017-09-04 Joseph Myers <joseph@codesourcery.com>
31505
1650e192
JM
31506 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31507 version to 4.13.
31508
f3a129b8
JM
31509 [BZ #22082]
31510 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31511 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31512
b38042f5
FW
315132017-09-04 Florian Weimer <fweimer@redhat.com>
31514
31515 * math/math.h: Issue warning if log is defined.
31516
059b6404
JM
315172017-09-04 Joseph Myers <joseph@codesourcery.com>
31518
31519 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31520 kernel version to 4.13.
31521
b794e16b
ST
315222017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31523
31524 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31525 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31526 parameter.
01969395
ST
31527 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31528 just <bits/types.h>.
dd2b31de 31529 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31530 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31531 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31532 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31533 * misc/preadv2.c: Include <errno.h>.
31534 * misc/preadv64v2.c: Include <errno.h>.
31535 * misc/pwritev2.c: Include <errno.h>.
31536 * misc/pwritev64v2.c: Include <errno.h>.
31537 * sysdeps/posix/preadv2.c: Include <errno.h>.
31538 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31539 Fix <unistd.h> inclusion.
31540 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31541 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31542 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31543 __strtoul_internal): New functions.
127e7773
ST
31544 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31545 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31546 * sysdeps/mach/hurd/i386/Makefile
31547 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31548 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31549 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31550 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31551 __feraiseexcept_renamed to feraiseexcept instead of
31552 __GI_feraiseexcept.
56bf5497 31553 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31554 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31555 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31556 RWF_NOWAIT): Define to 0 if undefined already.
31557 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31558 boils down to 0.
6547ec0a
ST
31559 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31560 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31561
5a80d39d
JM
315622017-09-01 Joseph Myers <joseph@codesourcery.com>
31563
31564 * manual/math.texi (pow10): Do not document.
31565 (pow10f): Likewise.
31566 (pow10l): Likewise.
31567 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31568 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31569 * math/libm-test-exp10.inc (pow10_test): Remove.
31570 (do_test): Do not call pow10.
31571 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31572 [NO_LONG_DOUBLE] (pow10l): Likewise.
31573 * math/w_exp10f_compat.c (pow10f): Likewise.
31574 * math/w_exp10l_compat.c (pow10l): Likewise.
31575 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31576 (pow10): Make into compat symbol.
31577 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31578 (pow10f): Make into compat symbol.
31579 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31580 (pow10l): Make into compat symbol.
31581 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31582 pow10.
31583 (CFLAGS-nldbl-pow10.c): Remove variable..
31584 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31585 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31586 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31587 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31588 Undefine and redefine.
31589 (pow10l): Make into compat symbol.
31590 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31591 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31592 * sysdeps/arm/libm-test-ulps: Likewise.
31593 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31594 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31595 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31596 * sysdeps/microblaze/libm-test-ulps: Likewise.
31597 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31598 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31599 * sysdeps/nios2/libm-test-ulps: Likewise.
31600 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31601 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31602 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31603 * sysdeps/sh/libm-test-ulps: Likewise.
31604 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31605 * sysdeps/tile/libm-test-ulps: Likewise.
31606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31607
3824fc38
PP
316082017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31609
31610 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31611
b3008279
L
316122017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31613
31614 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31615 "../ChangeLog.old/ChangeLog.8".
31616 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31617 "../ChangeLog.old/ChangeLog.14".
31618
136fa185
L
316192017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31620
31621 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31622 Threads Library.
31623
c18d50a2
JM
316242017-09-01 Joseph Myers <joseph@codesourcery.com>
31625
31626 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31627
bedbd859
L
316282017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31629
31630 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31631 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31632
50c66c7a
PP
316332017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31634
31635 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31636 32 atexit handlers.
31637
a617bd11
ZW
316382017-09-01 Zack Weinberg <zackw@panix.com>
31639
31640 * math/math.h (HUGE_VAL): Improve commentary.
31641
e0d2eb5a
AZ
316422017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31643 Andreas Schwab <schwab@suse.de>
31644
31645 [BZ #21530]
31646 * include/stdio.h (__gen_tempfd): New function.
31647 * stdio-common/Makefile (routines): Add gentempfd.
31648 * stdio-common/gentempfd.c: New file.
31649 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31650 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31651 unnamed file first.
31652
f4a6be25
FW
316532017-09-01 Florian Weimer <fweimer@redhat.com>
31654
31655 [BZ #21915]
31656 [BZ #21922]
31657 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31658 result to determine success or failure, not the errno value.
31659 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31660 (tst-nss-files-hosts-erange): Link with -ldl.
31661 * nss/tst-nss-files-hosts-erange.c: New file.
31662 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31663 (do_test): Add NO_DATA tests.
31664 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31665 (do_test): Call it.
31666
5f8340f5
FW
316672017-09-01 Florian Weimer <fweimer@redhat.com>
31668
31669 [BZ #21922]
31670 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31671 coming from gethostbyname2_r.
31672
65329bd2
FW
316732017-09-01 Florian Weimer <fweimer@redhat.com>
31674
31675 * support/namespace.h (struct support_chroot_configuration): Add
31676 hosts, host_conf.
31677 (struct support_chroot): Add path_hosts, path_host_conf.
31678 * support/support_chroot.c (write_file): New function.
31679 (support_chroot_create): Call it to process /etc/resolv.conf,
31680 /etc/hosts, /etc/host.conf.
31681 (support_chroot_free): Update.
31682
a2881ef0
FW
316832017-09-01 Florian Weimer <fweimer@redhat.com>
31684
31685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31686 status indicates it is set.
31687
ad816a5e
FW
316882017-09-01 Florian Weimer <fweimer@redhat.com>
31689
63b52889 31690 [BZ #20532]
ad816a5e
FW
31691 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31692 function lookup failures more reliable.
31693
53250a21
FW
316942017-09-01 Florian Weimer <fweimer@redhat.com>
31695
31696 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31697 (getcanonname): Likewise.
31698 (gaih_inet): Likewise.
31699
924b121c
FW
317002017-09-01 Florian Weimer <fweimer@redhat.com>
31701
31702 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31703 (getcanonname): Likewise.
31704 (gaih_inet): Likewise.
31705
d9ff799a 317062017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31707 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31708
31709 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31710 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31711 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31712 (IREG_SIZE, OREG_SIZE): New macros.
31713 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31714 (IREG_SIZE, OREG_SIZE): New macros.
31715 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31716 (IREG_SIZE): New macro.
31717 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31718 (IREG_SIZE): New macro.
31719 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31720 New includes.
31721 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31722 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31723 (__CONCATX): Handle exceptions correctly on large values that may
31724 set FE_INVALID.
31725 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31726 Initialize if not already set.
b39d961c 31727 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31728
102dde84
AZ
317292017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31730
31731 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31732 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31733 Likewise.
31734 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31735 Likewise.
31736 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31737 Likewise.
31738 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31739 Likewise.
31740 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31741 Likewise.
31742 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31743 Likewise.
31744 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31745 Likewise.
31746 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31747 (NO_CANCELLATION): Likewise.
31748 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31749 Likewise.
31750 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31751 Likewise.
31752 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31753 Likewise.
31754 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31755 (NO_CANCELLATION): Likewise.
31756 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31757 (NO_CANCELLATION): Likewise.
31758 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31759 Likewise
31760 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31761 Likewise.
31762 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31763 Likewise.
31764 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31765 Likewise.
31766 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31767 hidden prototype.
31768 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31769 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31770
9eee633b
SE
317712017-08-31 Steve Ellcey <sellcey@cavium.com>
31772
31773 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31774 in resolver call.
31775
65284eb7
FW
317762017-08-31 Florian Weimer <fweimer@redhat.com>
31777
31778 * include/libc-symbols.h (internal_function): Remove.
31779
41ad5ca6
FW
317802017-08-31 Florian Weimer <fweimer@redhat.com>
31781
31782 * stdlib/fmtmsg.c (internal_addseverity): Remove
31783 internal_function.
31784
2fa6d086
FW
317852017-08-31 Florian Weimer <fweimer@redhat.com>
31786
31787 * stdio-common/printf_fp.c (group_number): Remove
31788 internal_function.
31789 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31790
b41bd5bc
FW
317912017-08-31 Florian Weimer <fweimer@redhat.com>
31792
31793 * posix/fnmatch.c (internal_function): Remove definition.
31794 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31795 * posix/regcomp.c (peek_token, init_word_char)
31796 (duplicate_node_closure, fetch_token, peek_token)
31797 (peek_token_bracket, build_range_exp, build_collating_symbol):
31798 Likewise.
31799 * posix/regex_internal.c (re_string_construct_common)
31800 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31801 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31802 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31803 (re_string_translate_buffer, re_string_reconstruct)
31804 (re_string_peek_byte_case, re_string_fetch_byte_case)
31805 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31806 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31807 (re_node_set_add_intersect, re_node_set_init_union)
31808 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31809 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31810 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31811 (re_acquire_state_context): Likewise.
31812 * posix/regex_internal.h (internal_function): Remove definition.
31813 (re_string_realloc_buffers, build_wcs_buffer)
31814 (build_wcs_upper_buffer, build_upper_buffer)
31815 (re_string_translate_buffer, re_string_context_at)
31816 (re_string_char_size_at, re_string_wchar_at)
31817 (re_string_elem_size_at): Likewise.
31818 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31819 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31820 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31821 (re_search_internal, re_search_2_stub, re_search_stub)
31822 (re_copy_regs, prune_impossible_nodes, check_matching)
31823 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31824 (free_fail_stack_return, sift_states_iter_mb)
31825 (sift_states_backward, build_sifted_states)
31826 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31827 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31828 (check_subexp_limits, sift_states_bkref, merge_state_array)
31829 (find_recover_state, transit_state, merge_state_with_log)
31830 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31831 (transit_state_mb, transit_state_bkref, get_subexp)
31832 (get_subexp_sub, find_subexp_node, check_arrival)
31833 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31834 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31835 (check_node_accept_bytes, find_collation_sequence_value)
31836 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31837 (acquire_init_state_context, check_halt_node_context)
31838 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31839 (sub_epsilon_src_nodes): Likewise.
31840 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31841 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31842 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31843 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31844 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31845 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31846 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31847 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31848 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31849 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31850 (PREADV): Likewise.
31851 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31852 (PREADV): Likewise.
31853 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31854 (PWRITEV): Likewise.
31855 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31856 (PWRITEV): Likewise.
31857 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31858 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31859
83b09837
FW
318602017-08-31 Florian Weimer <fweimer@redhat.com>
31861
31862 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31863 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31864 Remove internal_function.
31865 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31866 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31867 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31868 (__deallocate_stack, __libc_pthread_init)
31869 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31870 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31871 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31872 Likewise.
31873 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31874 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31875 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31876 Likewise.
31877 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31878 (__pthread_mutex_unlock_usercnt): Likewise.
31879
116ac301
FW
318802017-08-31 Florian Weimer <fweimer@redhat.com>
31881
31882 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31883 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31884 (fts_safe_changedir): Remove internal_function.
31885 * io/ftw.c (internal_function): Remove definition.
31886 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31887
9da93bd7
FW
318882017-08-31 Florian Weimer <fweimer@redhat.com>
31889
31890 * inet/deadline.c (__deadline_current_time)
31891 (__deadline_from_timeval, __deadline_to_ms): Remove
31892 internal_function.
31893 * inet/getnameinfo.c (nrl_domainname): Likewise.
31894 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31895 * inet/inet6_option.c (add_pad): Likewise.
31896 * inet/net-internal.h (__deadline_current_time)
31897 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31898 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31899 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31900 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31901
a60eca2e
JM
319022017-08-31 Joseph Myers <joseph@codesourcery.com>
31903
c0c49d60
JM
31904 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31905 include <bits/nan.h>.
31906 * math/Makefile (headers): Remove bits/nan.h.
31907 * bits/nan.h: Remove.
31908 * sysdeps/ieee754/bits/nan.h: Likewise.
31909 * sysdeps/mips/bits/nan.h: Likewise.
31910
5ef1b213
JM
31911 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31912 not include <bits/inf.h>.
31913 * math/Makefile (headers): Remove bits/inf.h.
31914 * bits/inf.h: Remove.
31915 * sysdeps/ieee754/bits/inf.h: Likewise.
31916
a60eca2e
JM
31917 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31918 bits/huge_vall.h or bits/huge_val_flt128.h.
31919 (HUGE_VAL): Define directly here.
31920 [__USE_ISOC99] (HUGE_VALF): Likewise.
31921 [__USE_ISOC99] (HUGE_VALL): Likewise.
31922 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31923 (HUGE_VAL_F128): Likewise.
31924 * math/Makefile (headers): Remove bits/huge_val.h,
31925 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31926 * bits/huge_val.h: Remove.
31927 * bits/huge_val_flt128.h: Likewise.
31928 * bits/huge_valf.h: Likewise.
31929 * bits/huge_vall.h: Likewise.
31930 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31931 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31932 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31933 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31934 * sysdeps/sh/bits/huge_val.h: Likewise.
31935 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31936 * sysdeps/x86/bits/huge_vall.h: Likewise.
31937
17e00cc6
FW
319382017-08-31 Florian Weimer <fweimer@redhat.com>
31939
31940 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31941 internal_function.
31942 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31943 Likewise.
31944 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31945 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31946 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31947 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31948 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31949 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31950 * elf/dl-libc.c (dlerror_run): Likewise.
31951 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31952 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31953 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31954 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31955 Likewise.
31956 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31957 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31958 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31959 * elf/dl-profile.c (_dl_start_profile): Likewise.
31960 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31961 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31962 Likewise.
31963 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31964 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31965 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31966 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31967 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31968 (_dl_allocate_tls_storage): Likewise.
31969 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31970 (_dl_check_all_versions): Likewise.
31971 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31972 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31973 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31974 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31975 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31976 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31977 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31978 internal_function from __dl_start.
31979 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31980 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31981 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31982 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31983 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31984 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31985 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31986 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31987 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31988 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31989 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31990 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31991 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31992 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31993 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31994 Likewise.
31995 (struct rtld_global_ro): Remove internal_function from the
31996 _dl_lookup_symbol_x member.
31997 (_dl_symbol_value): Remove. No longer defined anywhere.
31998 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31999 internal_function.
32000 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32001 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32002 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32003 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32004 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32005 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32006 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32007 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32008 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32009 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32010 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32011 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32012
8d2f9410
FW
320132017-08-31 Florian Weimer <fweimer@redhat.com>
32014
32015 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32016 Remove internal_function.
32017 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32018 Likewise.
32019 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32020 Likewise.
32021
86e4919f
FW
320222017-08-31 Florian Weimer <fweimer@redhat.com>
32023
32024 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32025 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32026 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32027
59bd52b0
FW
320282017-08-31 Florian Weimer <fweimer@redhat.com>
32029
32030 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32031 (__gai_enqueue_request): Remove internal_function.
32032 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32033 (__gai_remove_request, __gai_notify, __gai_notify_only)
32034 (__gai_sigqueue): Likewise.
32035 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32036 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32037 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32038 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32039 Likewise.
32040
fc3d9497
FW
320412017-08-31 Florian Weimer <fweimer@redhat.com>
32042
32043 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32044 * include/dirent.h (__opendirat, __getdents, __getdents64)
32045 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32046 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32047 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32048 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32049 Likewise.
32050 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32051
18c54fac
FW
320522017-08-31 Florian Weimer <fweimer@redhat.com>
32053
32054 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32055 internal_function.
32056 (GETCWD_RETURN_TYPE): Likewise.
32057
7e01f080
FW
320582017-08-31 Florian Weimer <fweimer@redhat.com>
32059
32060 * include/time.h (__tz_compute, __strptime_internal): Remove
32061 internal_function.
32062 * time/strptime_l.c (__strptime_internal): Likewise.
32063 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32064
d7ccc6c9
FW
320652017-08-31 Florian Weimer <fweimer@redhat.com>
32066
32067 * iconv/gconv.c (__gconv): Remove internal_function.
32068 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32069 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32070 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32071 (__gconv_release_cache): Likewise.
32072 * iconv/gconv_close.c (__gconv_close): Likewise.
32073 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32074 (read_conf_file, __gconv_get_path): Likewise.
32075 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32076 (__gconv_release_step, gen_steps, increment_counter)
32077 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32078 (__gconv_close_transform, free_modules_db): Likewise.
32079 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32080 Likewise.
32081 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32082 (__gconv_find_transform, __gconv_lookup_cache)
32083 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32084 (__gconv_close_transform, __gconv_release_cache)
32085 (__gconv_loaded_object, __gconv_release_shlib)
32086 (__gconv_compare_alias): Likewise.
32087 * iconv/gconv_open.c (__gconv_open): Likewise.
32088 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32089 * iconv/iconvconfig.c (add_module): Likewise.
32090 * intl/dcigettext.c (plural_lookup, guess_category_value)
32091 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32092 * intl/eval-plural.h (plural_eval): Likewise.
32093 * intl/finddomain.c (_nl_find_domain): Likewise.
32094 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32095 (_nl_load_domain, _nl_find_msg): Likewise.
32096 (internal_function): Remove definition.
32097 * intl/loadinfo.h (internal_function): Likewise.
32098 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32099 internal_function.
32100 * intl/localealias.c (internal_function): Remove definition.
32101 (read_alias_file): Remove internal_function.
32102 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32103 * intl/plural-exp.h (internal_function): Remove definition.
32104 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32105 internal_function.
32106 * intl/plural.c: Regenerate.
32107 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32108 * locale/coll-lookup.c (__collidx_table_lookup)
32109 (__collseq_table_lookup): Likewise.
32110 * locale/coll-lookup.h (__collidx_table_lookup)
32111 (__collseq_table_lookup): Likewise.
32112 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32113 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32114 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32115 (_nl_unload_locale): Likewise.
32116 * locale/localeinfo.h (struct __locale_data): Remove
32117 internal_function from cleanup member.
32118 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32119 (_nl_remove_locale, _nl_load_locale_from_archive)
32120 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32121 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32122 (_nl_cleanup_time): Remove internal_function.
32123 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32124 (_nl_parse_alt_digit): Likewise.
32125 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32126 (_nl_select_era_entry): Likewise.
32127 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32128 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32129 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32130 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32131 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32132
dab0eece
FW
321332017-08-31 Florian Weimer <fweimer@redhat.com>
32134
32135 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32136 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32137 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32138 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32139 Likewise.
32140 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32141 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32142 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32143 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32144 Likewise.
32145 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32146
ab5bf7cf
FW
321472017-08-31 Florian Weimer <fweimer@redhat.com>
32148
32149 * misc/getttyent.c (skip, value): Remove internal_function.
32150 * misc/syslog.c (openlog_internal): Likewise.
32151 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32152
75b3047e
FW
321532017-08-31 Florian Weimer <fweimer@redhat.com>
32154
32155 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32156 (__nss_rewrite_field): Remove internal_function.
32157 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32158 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32159 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32160 * nss/nsswitch.c (nss_parse_file, nss_getline)
32161 (nss_parse_service_list, nss_new_service): Likewise.
32162 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32163 * nss/valid_field.c (__nss_valid_field): Likewise.
32164 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32165
0c71122c
FW
321662017-08-31 Florian Weimer <fweimer@redhat.com>
32167
32168 * malloc/arena.c (__malloc_fork_lock_parent)
32169 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32170 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32171 internal_function from defintions.
32172 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32173 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32174 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32175 internal_function from declarations.
32176 * malloc/malloc.c (internal_function): Do not define.
32177 (mem2mem_check): Remove internal_function from declaration.
32178 (munmap_chunk, mremap_chunk): Remove internal_function.
32179 * malloc/mtrace.c (tr_where): Likewise.
32180
ca4ec803
FW
321812017-08-31 Florian Weimer <fweimer@redhat.com>
32182
32183 * include/rpc/pmap_clnt.h (__get_socket): Remove
32184 internal_function.
32185 * sunrpc/auth_des.c (synchronize): Likewise.
32186 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32187 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32188 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32189 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32190 (key_call): Likewise.
32191 * sunrpc/pm_getport.c (__get_socket): Likewise.
32192 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32193 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32194 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32195 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32196 (invalidate): Likewise.
32197 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32198 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32199 (set_input_fragment, get_input_bytes): Likewise.
32200
24cffce7
FW
322012017-08-31 Florian Weimer <fweimer@redhat.com>
32202
32203 * malloc/malloc.c (_int_free): Remove locked variable and related
32204 asserts.
32205
ecd0747d
L
322062017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32207
32208 [BZ #22051]
32209 * Makerules (build-module-helper-objlist): Filter out
32210 $(elf-objpfx)sofini.os.
32211 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32212 needed.
32213
5f0704b6
FW
322142017-08-31 Florian Weimer <fweimer@redhat.com>
32215
32216 * libio/fcloseall.c: Assume weak_alias is defined.
32217 * libio/feof.c: Likewise.
32218 * libio/fileno.c: Likewise.
32219 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32220 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32221 definitions.
32222 (_IO_file_open): Call __open directly.
32223 (_IO_new_file_sync): Assume ESPIPE is defined.
32224 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32225 (_IO_new_file_write): Call __write directly.
32226 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32227 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32228 * libio/genops.c: Assume _LIBC is defined.
32229 (save_for_backup): Remove internal_function.
32230 * libio/getc.c: Assume weak_alias is defined.
32231 * libio/getwc.c: Likewise.
32232 * libio/iofclose.c: Assume _LIBC is defined.
32233 * libio/iofdopen.c: Likewise.
32234 (_IO_fcntl): Remove macro definition.
32235 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32236 Call __fcntl directly.
32237 * libio/iofflush.c: Assume weak_alias is defined.
32238 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32239 defined.
32240 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32241 * libio/iofgets.c: Likewise.
32242 * libio/iofopen.c: Assume _LIBC is defined.
32243 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32244 * libio/iofputs.c: Assume weak_alias is defined.
32245 * libio/iofread.c: Likewise.
32246 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32247 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32248 * libio/ioftell.c: Assume weak_alias is defined.
32249 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32250 * libio/iofwide.c: Assume _LIBC is defined.
32251 (_IO_fwide): Drop SHARED conditional because it is implied by
32252 SHLIB_COMPAT.
32253 * libio/iofwrite.c: Assume weak_alias is defined.
32254 * libio/iogetdelim.c: Likewise.
32255 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32256 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32257 (_IO_getwline): Call __wmemcpy directly.
32258 * libio/iopopen.c: Assume _LIBC is defined.
32259 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32260 (_IO_close): Remove macro definitions.
32261 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32262 _exit directly.
32263 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32264 directly.
32265 * libio/ioputs.c: Assume weak_alias is defined.
32266 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32267 * libio/iosetbuffer.c: Assume weak_alias is defined.
32268 * libio/iosetvbuf.c: Likewise.
32269 * libio/ioungetc.c: Likewise.
32270 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32271 libc_hidden_def, libc_hidden_weak, NULL are defined.
32272 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32273 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32274 defined.
32275 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32276 definitions.
32277 (_IO_old_file_init_internal): Drop SHARED conditional because it
32278 is implied by SHLIB_COMPAT.
32279 (_IO_old_file_fopen): Call __open directly.
32280 (_IO_old_file_sync): Assume ESPIPE is defined.
32281 (_IO_old_file_write): Call __write directly.
32282 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32283 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32284 Call __fcntl directly.
32285 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32286 (_IO_old_fgetpos): Assume EIO is defined.
32287 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32288 (_IO_old_fgetpos64): Assume EIO is defined.
32289 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32290 (_IO_old_fsetpos): Assume EIO is defined.
32291 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32292 (_IO_old_fsetpos64): Assume EIO is defined.
32293 * libio/oldiopopen.c: Assume _LIBC is defined.
32294 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32295 (_IO_close): Remove macro definitions.
32296 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32297 directly.
32298 (_IO_old_proc_close): Call __close, __waitpid directly.
32299 * libio/put.c: Assume weak_alias is defined.
32300 * libio/stdfiles.c: Assume _LIBC is defined.
32301 * libio/stdio.c: Likewise.
32302 * libio/wfileops.c: Likewise.
32303 (_IO_wfile_sync): Assume ESPIPE is defined.
32304 * libio/wgenops.c: Assume _LIBC is defined.
32305 (save_for_wbackup): Remove internal_function.
32306
5129873a
FW
323072017-08-31 Florian Weimer <fweimer@redhat.com>
32308
32309 * malloc/malloc.c (top_check): Change return type to void. Remove
32310 internal_function.
32311 * malloc/hooks.c (top_check): Likewise.
32312 (malloc_check, realloc_check, memalign_check): Adjust.
32313
4fa9b3bf
JM
323142017-08-30 Joseph Myers <joseph@codesourcery.com>
32315
32316 [BZ #21457]
32317 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32318 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32319 sigcontext and namespace requirements.
32320 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32321 * sysdeps/m68k/sys/ucontext.h: Likewise.
32322 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32323 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32324 <bits/sigcontext.h>.
32325 (__ctx): Define earlier.
32326 (mcontext_t): Define structure contents rather than using struct
32327 sigcontext.
32328 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32329 __glibc_reserved1 instead of __reserved.
32330 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32331 <bits/sigcontext.h>.
32332 (__ctx): Define earlier.
32333 (mcontext_t): Define structure contents rather than using struct
32334 sigcontext.
32335 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32336 mcontext_t instead of struct sigcontext.
32337 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32338 <bits/sigcontext.h>.
32339 (__ctx): Define earlier.
32340 (mcontext_t): Define structure contents rather than using struct
32341 sigcontext.
32342 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32343 <bits/sigcontext.h>.
32344 (__ctx): Define earlier.
32345 (mcontext_t): Define structure contents rather than using struct
32346 sigcontext.
32347 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32348 mcontext_t instead of struct sigcontext.
32349 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32350 mcontext_t instead of struct sigcontext.
32351 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32352 <bits/sigcontext.h>.
32353 (__ctx): New macro.
32354 (struct __ia64_fpreg_mcontext): New type.
32355 (mcontext_t): Define structure contents rather than using struct
32356 sigcontext.
32357 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32358 (uc_sigmask): Define using __ctx.
32359 (uc_stack): Likewise.
32360 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32361 <bits/sigcontext.h>.
32362 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32363 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32364 <bits/sigcontext.h>.
32365 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32366 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32367 <bits/sigcontext.h>.
32368 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32369 <bits/sigcontext.h>.
32370 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32371 <bits/sigcontext.h>.
32372 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32373 <bits/sigcontext.h>.
32374 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32375 <bits/sigcontext.h>.
32376 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32377 <bits/sigcontext.h>.
32378 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32379 <bits/sigcontext.h>.
32380 (__ctx): Define earlier.
32381 (mcontext_t): Define structure contents rather than using struct
32382 sigcontext.
32383 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32384 <bits/sigcontext.h>. Include <bits/types.h>.
32385 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32386 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32387 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32388 (test-xfail-UNIX98/signal.h/conform): Likewise.
32389 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32390 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32391 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32392 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32393 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32394 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32395 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32396 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32397 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32398
5898f454
FW
323992017-08-30 Florian Weimer <fweimer@redhat.com>
32400
32401 * malloc/dynarray_emplace_enlarge.c
32402 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32403 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32404 * malloc/tst-dynarray.c (test_long_overflow): New function.
32405 (do_test): Call it.
32406
a9da0bb2
FW
324072017-08-30 Florian Weimer <fweimer@redhat.com>
32408
32409 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32410 (set_arena_corrupt): Remove definitions.
32411 (mtrim): Do not check for corrupt arena.
32412 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32413 Likewise.
32414
ac3ed168
FW
324152017-08-30 Florian Weimer <fweimer@redhat.com>
32416
32417 [BZ #21754]
32418 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32419 check_action.
32420 (ptmalloc_init): Do not set or use check_action.
32421 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32422 call to malloc_printerr. Remove return statement.
32423 (free_check): Likewise. Remove arena unlock.
32424 (top_check): Update comment. Adjust call to malloc_printerr.
32425 Remove heap repair code.
32426 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32427 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32428 (sysmalloc): Adjust call to malloc_printerr.
32429 (munmap_chunk, __libc_realloc): Likewise. Remove return
32430 statement.
32431 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32432 Remove errout label and corresponding gotos.
32433 (_int_free): Likewise. Remove arena unlock.
32434 (do_set_mallopt_check): Do not set check_action.
32435 (malloc_printerr): Adjust parameter list. Do not mark arena as
32436 corrupt.
32437 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32438 comment.
32439 * manual/probes.texi (Memory Allocation Probes): Remove
32440 memory_mallopt_check_action.
32441
44bcba80
SE
324422017-08-30 Steve Ellcey <sellcey@cavium.com>
32443
32444 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32445 Use pointer to uint64_t instead of long int for sp.
32446
ec2c1fce
FW
324472017-08-30 Florian Weimer <fweimer@redhat.com>
32448
32449 [BZ #21754]
32450 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32451 without printing a backtrace. Do not leak any information in the
32452 error message.
32453 * manual/memory.texi (Heap Consistency Checking): Update.
32454 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32455
9ce673b6
FW
324562017-08-30 Florian Weimer <fweimer@redhat.com>
32457
32458 Do not scale NPTL tests with available number of CPUs.
32459 * nptl/tst-cond16.c (count): Set to constant value of 8.
32460 * nptl/tst-cond18.c (count): Likewise.
32461
2f1aef19
JM
324622017-08-29 Joseph Myers <joseph@codesourcery.com>
32463
32464 [BZ #22035]
32465 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32466 Define to take a second argument that is a macro that
32467 concatentates a suffix, not the suffix itself.
32468 (__CONCAT_d): New macro.
32469 (__CONCAT_f): Likewise.
32470 (__CONCAT_l): Likewise.
32471
8325b477
PP
324722017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32473
32474 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32475 by child.
32476
319cbbf6
AZ
324772017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32478 Aurelien Jarno <aurelien@aurel32.net>
32479 Maciej W. Rozycki <macro@imgtec.com>
32480
32481 [BZ #21956]
32482 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32483 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32484 `mips16-syscall6' and `mips16-syscall7'.
32485 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32486 (CFLAGS-mips16-syscall7.c): Remove.
32487 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32488 Remove `__mips16_syscall5', `__mips16_syscall6' and
32489 `__mips16_syscall7'.
32490 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32491 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32492 `__mips_syscall_return'.
32493 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32494 (__mips16_syscall1): Likewise.
32495 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32496 (__mips16_syscall2): Likewise.
32497 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32498 (__mips16_syscall3): Likewise.
32499 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32500 (__mips16_syscall4): Likewise.
32501 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32502 Remove.
32503 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32504 Remove.
32505 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32506 Remove.
32507 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32508 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32509 `__mips16_syscall5'. Remove prototype.
32510 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32511 `__mips16_syscall6'. Remove prototype.
32512 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32513 `__mips16_syscall7'. Remove prototype.
32514 (__nomips16, __mips16_syscall_return): Move to...
32515 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32516 (__nomips16, __mips_syscall_return): ... here.
32517 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32518 `__mips16_syscall_return' to `__mips_syscall_return'.
32519 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32520 `internal_syscall##nr'.
32521 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32522 `internal_syscall##nr'.
32523 (FORCE_FRAME_POINTER): Remove.
32524 (__mips_syscall5): New prototype.
32525 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32526 (__mips_syscall6): New prototype.
32527 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32528 (__mips_syscall7): New prototype.
32529 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32530 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32531 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32532 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32533 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32534 (sysdep_routines): Add libc-do-syscall.
32535 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32536 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32537
01b87c65
AZ
325382017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32539
32540 [BZ #21672]
32541 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32542 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32543 (advise_stack_range): New function.
32544 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32545 stack non required to advise_stack_range at allocatestack.c
32546
16f138a4
SN
325472017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32548
32549 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32550
251bccfa
FW
325512017-08-29 Florian Weimer <fweimer@redhat.com>
32552
32553 [BZ #22026]
32554 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32555 __end_fct. Mangle __end_fct after setting it to NULL.
32556 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32557 (modules-names, modules-names-tests): Add
32558 tst-gconv-init-failure-mod.
32559 (gconv-modules): New target.
32560 (tst-gconv-init-failure-mod.so): Link against libsupport.
32561 (tst-gconv-init-failure): Depend on gconv-modules,
32562 tst-gconv-init-failure-mod.so.
32563 * iconv/tst-gconv-init-failure-mod.c: New file.
32564 * iconv/tst-gconv-init-failure.c: Likewise.
32565 * iconv/test-gconv-modules: Likewise.
32566
e7c18b9d
FW
325672017-08-29 Florian Weimer <fweimer@redhat.com>
32568
32569 [BZ #22025]
32570 * iconv/gconv_db.c (free_derivation): Remove redundant
32571 parentheses.
32572 (gen_steps): Unconditionally mangle __btowc_fct after
32573 initialization.
32574 (increment_counter): Likewise. Do not call init_fct for internal
32575 modules.
32576
7daada03
JM
325772017-08-29 Joseph Myers <joseph@codesourcery.com>
32578
32579 [BZ #22028]
32580 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32581 (_MSUF_): Remove macro.
32582 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32583 Likewise.
32584 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32585 (__REDIRFROM_X): New macro.
32586 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32587 Likewise.
32588 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32589 (__REDIRTO_X): Likewise.
32590 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32591 arguments.
32592 (__MATH_REDIRCALL_2): Likewise.
32593 (__MATH_REDIRCALL_INTERNAL): Likewise.
32594 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32595 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32596 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32597 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32598 * math/test-finite-macros.c: New file.
32599 * math/Makefile (tests): Add test-finite-macros.
32600 (CFLAGS-test-finite-macros.c): New variable.
32601
1cf1232c
PF
326022017-08-29 Patsy Franklin <pfrankli@redhat.com>
32603 Jeff Law <law@redhat.com>
32604
32605 [BZ #22025]
32606 Mangle NULL pointers in iconv/gconv.
32607 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32608 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32609 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32610 is non-NULL before demangling the end_fct. Check for NULL
32611 end_fct after demangling.
32612 (__gconv_release_step): Demangle the end_fct before checking
32613 it for NULL. Remove assert on __shlibc_handle != NULL.
32614 (gen_steps): Don't check btowc_fct for NULL before mangling.
32615 Demangle init_fct before checking for NULL.
32616 (increment_counter): Likewise.
32617 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32618 end_fct for NULL before mangling.
32619 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32620 for NULL.
32621
c207f7ce 326222017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32623
32624 [BZ #21971]
32625 * locale/iso-639.def: add Morisyen.
32626
42496114
GG
326272017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32628
32629 [BZ #21930]
32630 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32631 (iszero): New C++ implementation that does not use
32632 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32633 signaling nans are enabled, since __builtin_types_compatible_p
32634 is a C-only feature.
32635 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32636 defined, include ieee754_float128.h for access to the union and
32637 member ieee854_float128.ieee.
32638 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32639 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32640 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32641 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32642 options of test-math-zero on powerpc64le.
32643
5e2bc4ff
L
326442017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32645
32646 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32647 Change double to float.
32648
a48c0fb4
JM
326492017-08-28 Joseph Myers <joseph@codesourcery.com>
32650
32651 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32652 unconditional.
32653 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32654 conditional code; define contents only for [LIBM_SVID_COMPAT].
32655
ee17d4e9
FW
326562017-08-28 Florian Weimer <fweimer@redhat.com>
32657
32658 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32659 (abi-lp64_be-options): Remove.
32660 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32661 (abi-hard-options): Likewise.
32662 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32663 (abi-o32_hard-options, abi-o32_soft_2008-options)
32664 (abi-o32_hard_2008-options, abi-n32_soft-options)
32665 (abi-n32_hard-options, abi-n32_soft_2008-options)
32666 (abi-n32_hard_2008-options, abi-n64_soft-options)
32667 (abi-n64_hard-options, abi-n64_soft_2008-options)
32668 (abi-n64_hard_2008-options): Likewise.
32669 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32670 (abi-64-v1-options, abi-64-v2-options): Likewise.
32671 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32672 (abi-64-options): Likewise.
32673 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32674 (abi-64-options): Likewise.
32675 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32676 (abi-64-options): Likewise.
32677 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32678 (abi-64-options, abi-x32-options): Likewise.
32679
2dba5ce7
FW
326802017-08-28 Florian Weimer <fweimer@redhat.com>
32681
32682 Store supported list of SYS_* system calls in the source tree.
32683 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32684 (bits/syscall.h): Generate from list file.
32685 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32686 [$(subdir) = misc] (tests): Add tst-syscall-list.
32687 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32688 [$(subdir) = misc] (tst-syscall-list-macros.list)
32689 [$(subdir) = misc] (tst-syscall-list-nr.list)
32690 (tst-syscall-list-sys.list): Helper targets for new
32691 tst-syscall-list test.
32692 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32693 tst-syscall-list.sh.
32694 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32695 target. Do not include bits/syscall.d.
32696 [$(subdir) = misc] (generated): Do not update.
32697 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32698 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32699 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32700 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32701
5f3b183d
PP
327022017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32703
32704 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32705 (tst-cxa_atexit, tst-on_exit): Likewise.
32706 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32707 tst-cxa_atexit, and tst-on_exit.
32708 * stdlib/tst-atexit-common.c: New file.
32709 * stdlib/tst-atexit.c: New file.
32710 * stdlib/tst-at_quick_exit.c: New file.
32711 * stdlib/tst-cxa_atexit.c: New file.
32712 * stdlib/tst-on_exit.c: New file.
32713
2ef8d469
ST
327142017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32715
32716 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32717 * mach/stack_chk_fail_local.c: New file.
32718 * hurd/stack_chk_fail_local.c: New file.
32719 * mach/Machrules ($(interface-library)-routines): Add
32720 stack_chk_fail_local.
99ee4d26
ST
32721 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32722 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32723 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32724 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32725 * hurd/Makefile (CFLAGS-hurdstartup.o,
32726 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32727
7ab70c98
L
327282017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32729
32730 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32731 (index_cpu_*, index_arch_*): Removed.
32732
39e7a5a6
SN
327332017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32734
32735 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32736 Use uint64_t instead of unsigned long.
32737
bba5c930
JM
327382017-08-25 Joseph Myers <joseph@codesourcery.com>
32739
a6ccdb08
JM
32740 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32741 [__HAVE_DISTINCT_FLOAT128].
32742
23761119
JM
32743 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32744 of <bits/math-finite.h>.
32745 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32746 inclusion of <bits/math-finite.h>.
32747 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32748 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32749 __NO_LONG_DOUBLE_MATH].
32750 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32751 (__MATH_REDIRCALL_2): Likewise.
32752 (__MATH_REDIRCALL_INTERNAL): Likewise.
32753 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32754 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32755 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32756
bba5c930
JM
32757 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32758 Remove file.
32759 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32760 Likewise.
32761 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32762 Likewise.
32763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32764 Likewise.
32765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32766 Likewise.
32767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32768 Likewise.
32769 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32770 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32771 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32772 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32774 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32775 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32776 w_sqrtf_compat-ppc32.
32777
3d7b66f6
GG
327782017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32779
32780 * math/math.h [defined __cplusplus] (issignaling): In the long
32781 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32782 is not defined. Call __issignaling, otherwise.
32783
ebd6f007
AZ
327842017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32785
32786 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32787 syscall definitions and replace __builtin_expect with __glibc_likely.
32788 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32789 syscall.
6b5c8607 32790 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32791 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32792 definition.
32793 (PSEUDO_END): Likewise.
32794 [IS_IN (libpthread)] (CENABLE): Likewise.
32795 [IS_IN (libpthread)] (CDISABLE): Likewise.
32796 [IS_IN (libc)] (CENABLE): Likewise.
32797 [IS_IN (libc)] (CENABLE): Likewise.
32798 [IS_IN (librt)] (CDISABLE): Likewise.
32799 [IS_IN (librt)] (CDISABLE): Likewise.
32800 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32801 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32802 definition.
32803 (PSEUDO_END): Likewise.
32804 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32805 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32806 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32807 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32808 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32809 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32810 (CENABLE): Likewise.
32811 (CDISABLE): Likewise.
32812 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32813 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32814 defintion.
32815 (PSEUDO_END): Likewise.
32816 [IS_IN (libpthread)] (CENABLE): Likewise.
32817 [IS_IN (libpthread)] (CDISABLE): Likewise.
32818 [IS_IN (libc)] (CENABLE): Likewise.
32819 [IS_IN (libc)] (CENABLE): Likewise.
32820 [IS_IN (librt)] (CDISABLE): Likewise.
32821 [IS_IN (librt)] (CDISABLE): Likewise.
32822 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32823 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32824 definition.
32825 (PSEUDO_END): Likewise.
32826 [IS_IN (libpthread)] (CENABLE): Likewise.
32827 [IS_IN (libpthread)] (CDISABLE): Likewise.
32828 [IS_IN (libc)] (CENABLE): Likewise.
32829 [IS_IN (libc)] (CENABLE): Likewise.
32830 [IS_IN (librt)] (CDISABLE): Likewise.
32831 [IS_IN (librt)] (CDISABLE): Likewise.
32832 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32833 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32834 definition.
32835 (PSEUDO_END): Likewise.
32836 [IS_IN (libpthread)] (CENABLE): Likewise.
32837 [IS_IN (libpthread)] (CDISABLE): Likewise.
32838 [IS_IN (libc)] (CENABLE): Likewise.
32839 [IS_IN (libc)] (CENABLE): Likewise.
32840 [IS_IN (librt)] (CDISABLE): Likewise.
32841 [IS_IN (librt)] (CDISABLE): Likewise.
32842 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32843 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32844 definition.
32845 (PSEUDO_END): Likewise.
32846 [IS_IN (libpthread)] (CENABLE): Likewise.
32847 [IS_IN (libpthread)] (CDISABLE): Likewise.
32848 [IS_IN (libc)] (CENABLE): Likewise.
32849 [IS_IN (libc)] (CENABLE): Likewise.
32850 [IS_IN (librt)] (CDISABLE): Likewise.
32851 [IS_IN (librt)] (CDISABLE): Likewise.
32852 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32854 definition.
32855 (PSEUDO_END): Likewise.
32856 [IS_IN (libpthread)] (CENABLE): Likewise.
32857 [IS_IN (libpthread)] (CDISABLE): Likewise.
32858 [IS_IN (libc)] (CENABLE): Likewise.
32859 [IS_IN (libc)] (CENABLE): Likewise.
32860 [IS_IN (librt)] (CDISABLE): Likewise.
32861 [IS_IN (librt)] (CDISABLE): Likewise.
32862 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32863 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32864 definition.
32865 (PSEUDO_END): Likewise.
32866 [IS_IN (libpthread)] (CENABLE): Likewise.
32867 [IS_IN (libpthread)] (CDISABLE): Likewise.
32868 [IS_IN (libc)] (CENABLE): Likewise.
32869 [IS_IN (libc)] (CENABLE): Likewise.
32870 [IS_IN (librt)] (CDISABLE): Likewise.
32871 [IS_IN (librt)] (CDISABLE): Likewise.
32872 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32873 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32874 Remove definition.
32875 (PSEUDO_END): Likewise.
32876 [IS_IN (libpthread)] (CENABLE): Likewise.
32877 [IS_IN (libpthread)] (CDISABLE): Likewise.
32878 [IS_IN (libc)] (CENABLE): Likewise.
32879 [IS_IN (libc)] (CENABLE): Likewise.
32880 [IS_IN (librt)] (CDISABLE): Likewise.
32881 [IS_IN (librt)] (CDISABLE): Likewise.
32882 (SINGLE_THREAD_P): Likewise.
32883 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32884 definition.
32885 (PSEUDO_END): Likewise.
32886 [IS_IN (libpthread)] (CENABLE): Likewise.
32887 [IS_IN (libpthread)] (CDISABLE): Likewise.
32888 [IS_IN (libc)] (CENABLE): Likewise.
32889 [IS_IN (libc)] (CENABLE): Likewise.
32890 [IS_IN (librt)] (CDISABLE): Likewise.
32891 [IS_IN (librt)] (CDISABLE): Likewise.
32892 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32893 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32894 definition.
32895 (PSEUDO_END): Likewise.
32896 [IS_IN (libpthread)] (CENABLE): Likewise.
32897 [IS_IN (libpthread)] (CDISABLE): Likewise.
32898 [IS_IN (libc)] (CENABLE): Likewise.
32899 [IS_IN (libc)] (CENABLE): Likewise.
32900 [IS_IN (librt)] (CDISABLE): Likewise.
32901 [IS_IN (librt)] (CDISABLE): Likewise.
32902 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32903 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32904 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32905 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32906 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32907 definition.
32908 (PSEUDO_END): Likewise.
32909 [IS_IN (libpthread)] (CENABLE): Likewise.
32910 [IS_IN (libpthread)] (CDISABLE): Likewise.
32911 [IS_IN (libc)] (CENABLE): Likewise.
32912 [IS_IN (libc)] (CENABLE): Likewise.
32913 [IS_IN (librt)] (CDISABLE): Likewise.
32914 [IS_IN (librt)] (CDISABLE): Likewise.
32915 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32916 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32917 definition.
32918 (PSEUDO_END): Likewise.
32919 [IS_IN (libpthread)] (CENABLE): Likewise.
32920 [IS_IN (libpthread)] (CDISABLE): Likewise.
32921 [IS_IN (libc)] (CENABLE): Likewise.
32922 [IS_IN (libc)] (CENABLE): Likewise.
32923 [IS_IN (librt)] (CDISABLE): Likewise.
32924 [IS_IN (librt)] (CDISABLE): Likewise.
32925 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32926 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32927 definition.
32928 (PSEUDO_END): Likewise.
32929 [IS_IN (libpthread)] (CENABLE): Likewise.
32930 [IS_IN (libpthread)] (CDISABLE): Likewise.
32931 [IS_IN (libc)] (CENABLE): Likewise.
32932 [IS_IN (libc)] (CENABLE): Likewise.
32933 [IS_IN (librt)] (CDISABLE): Likewise.
32934 [IS_IN (librt)] (CDISABLE): Likewise.
32935 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32936 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32937 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32938 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32939 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32940 definition.
32941 (PSEUDO_END): Likewise.
32942 [IS_IN (libpthread)] (CENABLE): Likewise.
32943 [IS_IN (libpthread)] (CDISABLE): Likewise.
32944 [IS_IN (libc)] (CENABLE): Likewise.
32945 [IS_IN (libc)] (CENABLE): Likewise.
32946 [IS_IN (librt)] (CDISABLE): Likewise.
32947 [IS_IN (librt)] (CDISABLE): Likewise.
32948 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32949 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32950 definition.
32951 (PSEUDO_END): Likewise.
32952 [IS_IN (libpthread)] (CENABLE): Likewise.
32953 [IS_IN (libpthread)] (CDISABLE): Likewise.
32954 [IS_IN (libc)] (CENABLE): Likewise.
32955 [IS_IN (libc)] (CENABLE): Likewise.
32956 [IS_IN (librt)] (CDISABLE): Likewise.
32957 [IS_IN (librt)] (CDISABLE): Likewise.
32958 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32959
8aa48656
SN
329602017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32961
32962 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32963
fcaaca41
L
329642017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32965
32966 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32967
376b40a2
L
329682017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32969
32970 [BZ #21982]
32971 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32972 middle and outer with size_t instead of int. Repleace %d and
32973 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32974 "MAX (outer, nchars - 64)" to support unsigned outer and
32975 nchars. Also exit loop when outer == 0.
32976
2b0b9a1c
AZ
329772017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32978
32979 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32980 * include/signal.h (__sigsuspend_nocancel): Likewise.
32981 * include/time.h (__nanosleep_nocancel): Likewise.
32982 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32983 * login/utmp_file.c: Include non cancellable syscall header.
32984 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32985 prototype.
32986
b9eaca8f
L
329872017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32988
32989 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32990 .byte sequences with AVX512F instructions.
32991 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32992 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32993 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32994 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32995 Likewise.
32996 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32997 Likewise.
32998
5a706f64
SE
329992017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33000 Steve Ellcey <sellcey@cavium.com>
33001
33002 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33003 Use PTR_REG macro in cmp instruction.
33004
b513da7e
GG
330052017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33006
33007 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33008 Change the return type of the ifunc resolver to match the return
33009 type of the target function.
33010
78ca091c
AZ
330112017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33012
b70b6026
AZ
33013 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33014 (preadv64): Likewise.
33015 (pwrite64(: Likewise.
33016 (pwritev64): Likewise.
33017
78ca091c
AZ
33018 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33019 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33020 (LOAD_ARGS_0): Likewise.
33021 (LOAD_ARGS_1): Likewise.
33022 (LOAD_ARGS_2): Likewise.
33023 (LOAD_ARGS_3): Likewise.
33024 (LOAD_ARGS_4): Likewise.
33025 (LOAD_ARGS_5): Likewise.
33026 (LOAD_ARGS_6): Likewise.
33027 (LOAD_REGS_0): Likewise.
33028 (LOAD_REGS_1): Likewise.
33029 (LOAD_REGS_2): Likewise.
33030 (LOAD_REGS_3): Likewise.
33031 (LOAD_REGS_4): Likewise.
33032 (LOAD_REGS_5): Likewise.
33033 (LOAD_REGS_6): Likewise.
33034 (ASM_ARGS_0): Likewise.
33035 (ASM_ARGS_1): Likewise.
33036 (ASM_ARGS_2): Likewise.
33037 (ASM_ARGS_3): Likewise.
33038 (ASM_ARGS_4): Likewise.
33039 (ASM_ARGS_5): Likewise.
33040 (ASM_ARGS_6): Likewise.
33041 (LOAD_ARGS_TYPES_1): Likewise.
33042 (LOAD_ARGS_TYPES_2): Likewise.
33043 (LOAD_ARGS_TYPES_3): Likewise.
33044 (LOAD_ARGS_TYPES_4): Likewise.
33045 (LOAD_ARGS_TYPES_5): Likewise.
33046 (LOAD_ARGS_TYPES_6): Likewise.
33047 (LOAD_REGS_TYPES_1): Likewise.
33048 (LOAD_REGS_TYPES_2): Likewise.
33049 (LOAD_REGS_TYPES_3): Likewise.
33050 (LOAD_REGS_TYPES_4): Likewise.
33051 (LOAD_REGS_TYPES_5): Likewise.
33052 (LOAD_REGS_TYPES_6): Likewise.
33053 (TYPEFY): New define.
33054 (ARGIFY): Likewise.
33055 (internal_syscall0): Likewise.
33056 (internal_syscall1): Likewise.
33057 (internal_syscall2): Likewise.
33058 (internal_syscall3): Likewise.
33059 (internal_syscall4): Likewise.
33060 (internal_syscall5): Likewise.
33061 (internal_syscall6): Likewise.
33062 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33063 (INTERNAL_SYSCALL_NCS): Remove define.
33064 (internal_syscall1): Add define.
33065
453a493d
GG
330662017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33067
33068 * math/w_remainder_compat.c: Remove duplicate inclusion of
33069 math-svid-compat.h.
33070 * math/w_remainderf_compat.c: Likewise.
33071 * math/w_remainderl_compat.c: Likewise.
33072
f2f048a5
GG
330732017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33074
33075 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33076
d9bef9c0
JM
330772017-08-22 Joseph Myers <joseph@codesourcery.com>
33078
33079 [BZ #21684]
33080 * math/tgmath.h (__floating_type): Simplify definitions.
33081 (__real_integer_type): New macro.
33082 (__complex_integer_type): Likewise.
33083 (__expr_is_real): Likewise.
33084 (__tgmath_real_type_sub): Update comment to describe handling of
33085 complex types.
33086 (__tgmath_complex_type_sub): New macro.
33087 (__tgmath_complex_type): Likewise.
33088 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33089 (__TGMATH_CF128): Use __expr_is_real.
33090 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33091 __expr_is_real.
33092 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33093 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33094 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33095 integer types.
33096
08d6eb46
AZ
330972017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33098
988f991b
AZ
33099 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33100 macro.
33101 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33102 alias.
33103 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33104 Likewise.
33105
6f33fd04
AZ
33106 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33107 nanosleep_not_cancel with __nanosleep_nocancel.
33108 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33109 (__nanosleep_nocancel): New macro.
33110 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33111 function.
33112 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33113 macro.
33114 (__nanosleep_nocancel): New prototype.
33115
08d6eb46
AZ
33116 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33117 pause_not_cancel with __pause_nocancel.
33118 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33119 (__pause_nocancel): New macro.
33120 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33121 macro.
33122 (__pause_nocancel): New prototype.
33123 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33124
ee4e992e
MS
331252017-08-22 Martin Sebor <msebor@redhat.com>
33126
33127 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33128 to return a pointer to the same type as the target function.
33129
20962acb
L
331302017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33131
33132 [BZ #18822]
33133 [BZ #21986]
33134 * include/printf.h (__printf_fphex): Add attribute_hidden.
33135 (__guess_grouping): New prototype.
33136 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33137 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33138 libc_hidden_proto and libc_hidden_def.
33139 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33140 (__vstrfmon_l): Remove the third argument passed to
33141 __guess_grouping.
33142
a16e8bc0
GG
331432017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33144
33145 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33146 definition for issignaling that does not rely on __MATH_TG,
33147 since __MATH_TG uses __builtin_types_compatible_p, which is only
33148 available in C mode.
33149 (CFLAGS-test-math-issignaling.cc): New variable.
33150 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33151 * math/test-math-issignaling.cc: New test for C++ implementation
33152 of type-generic issignaling.
33153 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33154 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33155 options of test-math-issignaling on powerpc64le.
33156
8d2ec553
L
331572017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33158
33159 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33160 building libc.a.
33161 (hidden_proto): Likewise.
33162 (hidden_tls_proto): Likewise.
33163 (__hidden_proto): Likewise.
33164
a4d57b79
FW
331652017-08-22 Florian Weimer <fweimer@redhat.com>
33166
33167 math: Statically link tests of internal functionality.
33168 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33169 atest-exp2.
33170 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33171 (gmp-objs): Remove assignment.
33172 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33173
75dfe623
JM
331742017-08-22 Joseph Myers <joseph@codesourcery.com>
33175
80f91666
JM
33176 [BZ #21987]
33177 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33178 and copy to ...
33179 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33180 ... here.
33181 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33182 ... and here.
33183
75dfe623
JM
33184 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33185 variable definitions above inclusion of ../Rules.
33186
ea99fcd0
JM
331872017-08-21 Joseph Myers <joseph@codesourcery.com>
33188
33189 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33190 case calling __builtin_unreachable.
33191
19926de9
AZ
331922017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33193
a8410a5f
AZ
33194 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33195 __waitpid_nocancel.
33196 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33197 (__waitpid_nocancel): New macro.
33198 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33199 macro.
33200 (__waitpid_nocancel): Replace macro with a function.
33201 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33202 function.
33203
7369800c
AZ
33204 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33205 __fcntl_nocancel.
33206 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33207 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33208
19926de9
AZ
33209 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33210 __writev_nocancel_nostatus.
33211 (write_call_graph): Likewise.
33212 (write_bb_counts): Likewise.
33213 * resolv/herror.c (herror): Likewise.
33214 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33215 macro.
33216 (__writev_nocancel_nostatus): New macro.
33217 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33218 Remove macro.
33219 (__writev_nocancel_nostatus): New function.
33220
813378e9
JM
332212017-08-21 Joseph Myers <joseph@codesourcery.com>
33222
df1deda6
JM
33223 Revert:
33224 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33225
33226 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33227 building libc.a.
33228 (hidden_proto): Likewise.
33229 (hidden_tls_proto): Likewise.
33230 (__hidden_proto): Likewise.
33231
831bbd55
JM
33232 [BZ #21973]
33233 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33234 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33236 Likewise.
33237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33238 Likewise.
33239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33240 Likewise.
33241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33242 Likewise.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33245 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33246 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33247 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33248 GLIBC_2.0 sqrtl symbol.
33249
813378e9
JM
33250 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33251 [__USE_MISC] (_LIB_VERSION): Likewise.
33252 [__USE_MISC] (struct exception): Likewise.
33253 [__USE_MISC] (matherr): Likewise.
33254 [__USE_MISC] (DOMAIN): Likewise.
33255 [__USE_MISC] (SING): Likewise.
33256 [__USE_MISC] (OVERFLOW): Likewise.
33257 [__USE_MISC] (UNDERFLOW): Likewise.
33258 [__USE_MISC] (TLOSS): Likewise.
33259 [__USE_MISC] (PLOSS): Likewise.
33260 [__USE_MISC] (HUGE): Likewise.
33261 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33262 * math/math-svid-compat.h: New file.
33263 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33264 and matherrl.
33265 * include/math.h [!_ISOMAC] (__matherr): Remove.
33266 * manual/arith.texi (FP Exceptions): Do not document matherr.
33267 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33268 (tests-internal): New variable.
33269 (install-lib): Do not add libieee.a.
33270 (non-lib.a): Likewise.
33271 (extra-objs): Do not add libieee.a and ieee-math.o.
33272 (CPPFLAGS-s_lib_version.c): Remove variable.
33273 ($(objpfx)libieee.a): Remove rule.
33274 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33275 * math/ieee-math.c: Remove.
33276 * math/libm-test-support.c (matherr): Remove.
33277 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33278 and license notices. Include <math-svid-compat.h> and
33279 <shlib-compat.h>.
33280 (matherr): Undefine as macro. Use compat_symbol_reference.
33281 (_LIB_VERSION): Likewise.
33282 * math/test-matherr-2.c: New file.
33283 * math/test-matherr-3.c: Likewise.
33284 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33285 declaration.
33286 (__kernel_standard_f): Likewise.
33287 (__kernel_standard_l): Likewise.
33288 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33289 <math_private.h>. Include <math-svid-compat.h>.
33290 (_LIB_VERSION): Undefine as macro.
33291 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33292 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33293 [LIBM_SVID_COMPAT], use compat_symbol.
33294 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33295 <math_private.h>. Include <math-svid-compat.h>.
33296 (matherr): Undefine as macro.
33297 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33298 compat_symbol.
33299 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33300 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33301 compat_symbol_reference.
33302 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33303 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33304 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33305 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33306 (MATHERR_D): Remove declaration.
33307 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33308 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33309 [LIBM_BUILD] (pmatherrf): Likewise.
33310 [LIBM_BUILD] (pmatherr): Likewise.
33311 [LIBM_BUILD] (pmatherrl): Likewise.
33312 (DOMAIN): Likewise.
33313 (SING): Likewise.
33314 (OVERFLOW): Likewise.
33315 (UNDERFLOW): Likewise.
33316 (TLOSS): Likewise.
33317 (PLOSS): Likewise.
33318 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33319 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33320 compat_symbol.
33321 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33322 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33323 compat_symbol.
33324 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33325 * math/w_acos_compat.c: Likewise.
33326 * math/w_acosf_compat.c: Likewise.
33327 * math/w_acosh_compat.c: Likewise.
33328 * math/w_acoshf_compat.c: Likewise.
33329 * math/w_acoshl_compat.c: Likewise.
33330 * math/w_acosl_compat.c: Likewise.
33331 * math/w_asin_compat.c: Likewise.
33332 * math/w_asinf_compat.c: Likewise.
33333 * math/w_asinl_compat.c: Likewise.
33334 * math/w_atan2_compat.c: Likewise.
33335 * math/w_atan2f_compat.c: Likewise.
33336 * math/w_atan2l_compat.c: Likewise.
33337 * math/w_atanh_compat.c: Likewise.
33338 * math/w_atanhf_compat.c: Likewise.
33339 * math/w_atanhl_compat.c: Likewise.
33340 * math/w_cosh_compat.c: Likewise.
33341 * math/w_coshf_compat.c: Likewise.
33342 * math/w_coshl_compat.c: Likewise.
33343 * math/w_exp10_compat.c: Likewise.
33344 * math/w_exp10f_compat.c: Likewise.
33345 * math/w_exp10l_compat.c: Likewise.
33346 * math/w_exp2_compat.c: Likewise.
33347 * math/w_exp2f_compat.c: Likewise.
33348 * math/w_exp2l_compat.c: Likewise.
33349 * math/w_fmod_compat.c: Likewise.
33350 * math/w_fmodf_compat.c: Likewise.
33351 * math/w_fmodl_compat.c: Likewise.
33352 * math/w_hypot_compat.c: Likewise.
33353 * math/w_hypotf_compat.c: Likewise.
33354 * math/w_hypotl_compat.c: Likewise.
33355 * math/w_j0_compat.c: Likewise.
33356 * math/w_j0f_compat.c: Likewise.
33357 * math/w_j0l_compat.c: Likewise.
33358 * math/w_j1_compat.c: Likewise.
33359 * math/w_j1f_compat.c: Likewise.
33360 * math/w_j1l_compat.c: Likewise.
33361 * math/w_jn_compat.c: Likewise.
33362 * math/w_jnf_compat.c: Likewise.
33363 * math/w_jnl_compat.c: Likewise.
33364 * math/w_lgamma_main.c: Likewise.
33365 * math/w_lgamma_r_compat.c: Likewise.
33366 * math/w_lgammaf_main.c: Likewise.
33367 * math/w_lgammaf_r_compat.c: Likewise.
33368 * math/w_lgammal_main.c: Likewise.
33369 * math/w_lgammal_r_compat.c: Likewise.
33370 * math/w_log10_compat.c: Likewise.
33371 * math/w_log10f_compat.c: Likewise.
33372 * math/w_log10l_compat.c: Likewise.
33373 * math/w_log2_compat.c: Likewise.
33374 * math/w_log2f_compat.c: Likewise.
33375 * math/w_log2l_compat.c: Likewise.
33376 * math/w_log_compat.c: Likewise.
33377 * math/w_logf_compat.c: Likewise.
33378 * math/w_logl_compat.c: Likewise.
33379 * math/w_pow_compat.c: Likewise.
33380 * math/w_powf_compat.c: Likewise.
33381 * math/w_powl_compat.c: Likewise.
33382 * math/w_remainder_compat.c: Likewise.
33383 * math/w_remainderf_compat.c: Likewise.
33384 * math/w_remainderl_compat.c: Likewise.
33385 * math/w_scalb_compat.c: Likewise.
33386 * math/w_scalbf_compat.c: Likewise.
33387 * math/w_scalbl_compat.c: Likewise.
33388 * math/w_sinh_compat.c: Likewise.
33389 * math/w_sinhf_compat.c: Likewise.
33390 * math/w_sinhl_compat.c: Likewise.
33391 * math/w_sqrt_compat.c: Likewise.
33392 * math/w_sqrtf_compat.c: Likewise.
33393 * math/w_sqrtl_compat.c: Likewise.
33394 * math/w_tgamma_compat.c: Likewise.
33395 * math/w_tgammaf_compat.c: Likewise.
33396 * math/w_tgammal_compat.c: Likewise.
33397 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33398 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33399 * sysdeps/ieee754/k_standard.c: Likewise.
33400 * sysdeps/ieee754/k_standardf.c: Likewise.
33401 * sysdeps/ieee754/k_standardl.c: Likewise.
33402 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33403 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33404 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33405 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33406 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33407 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33408 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33409 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33410 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33411 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33412 Likewise.
33413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33414 Likewise.
33415 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33416 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33417 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33418 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33419
4504783c
FW
334202017-08-21 Florian Weimer <fweimer@redhat.com>
33421
33422 [BZ #21864]
33423 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33424 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33425 Move before inclusion of ../Rules.
33426
b5889d25
FW
334272017-08-21 Florian Weimer <fweimer@redhat.com>
33428
33429 [BZ #21972]
33430 * assert/assert.h (assert): Use static_cast (bool) for C++.
33431 Use the ternary operator in the warning branch for GNU C.
33432 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33433 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33434 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33435 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33436 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33437
41e673c1
L
334382017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33439
33440 [BZ #18822]
33441 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33442 (__syscall_clock_gettime): Add attribute_hidden.
33443 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33444 (__start_context): Likewise.
33445
568ff429
L
334462017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33447
33448 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33449 building libc.a.
33450 (hidden_proto): Likewise.
33451 (hidden_tls_proto): Likewise.
33452 (__hidden_proto): Likewise.
33453
7c41b4a1
L
334542017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33455
33456 * include/libc-symbols.h (attribute_hidden): Enable hidden
33457 visibility in libc.a compiled with PIE.
33458
483d7068
L
334592017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33460
33461 [BZ #18822]
33462 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33463 Add attribute_hidden.
33464
334652017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33466
33467 [BZ #21864]
33468 * Makerules (all-nonlib): Add $(others-extras).
33469 * catgets/Makefile (others-extras): New.
33470 * elf/Makefile (others-extras): Likewise.
33471 * nss/Makefile (others-extras): Likewise.
33472
54e4b8f2
L
334732017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33474
33475 [BZ #18822]
33476 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33477 * elf/dl-open.c: Include <libc-internal.h>.
33478 (__libc_multiple_libcs): Removed.
33479 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33480 <hp-timing.h>.
33481 * include/libc-internal.h (__libc_multiple_libcs): New.
33482 * misc/sbrk.c: Include <libc-internal.h>.
33483 (__libc_multiple_libcs): Removed.
33484
1dbbb1ec
L
334852017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33486
33487 [BZ #18822]
33488 * grp/initgroups.c (__nss_group_database): Removed.
33489 (__nss_initgroups_database): Likewise.
33490 * nscd/gai.c (__nss_hosts_database): Likewise.
33491 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33492 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33493 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33494 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33495 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33496 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33497 attribute_hidden.
33498 * nss/nsswitch.c (__nss_database_custom): Define only if
33499 USE_NSCD is defined.
33500 (__nss_configure_lookup): Use __nss_database_custom only if
33501 USE_NSCD is defined.
33502 * nss/nsswitch.h (__nss_database_custom): Declare only if
33503 USE_NSCD is defined. Add attribute_hidden.
33504 (__nss_setent): Add attribute_hidden.
33505 (__nss_endent): Likewise.
33506 (__nss_getent_r): Likewise.
33507 (__nss_getent): Likewise.
33508 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33509
2585d7b8
L
335102017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33511
33512 [BZ #18822]
33513 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33514 libc_hidden_proto and libc_hidden_def.
33515
c8dfa99c
L
335162017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33517
33518 [BZ #18822]
33519 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33520 Add libc_hidden_proto.
33521 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33522 Add libc_hidden_def.
33523
7ed87317
L
335242017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33525
33526 [BZ #21974]
33527 * gmon/Makefile (routines): Remove bb_init_func and
33528 bb_exit_func.
33529 (elide-routines.os): Removed.
9476b904
L
33530 * gmon/bb_exit_func.c: Likewise.
33531 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33532 * include/sys/gmon.h (__bb): Likewise.
33533 (__bb_init_func): Likewise.
33534 (__bb_exit_func): Likewise.
91695eb1 33535 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33536
94e6ba15
L
335372017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33538
33539 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33540 * include/setjmp.h (____longjmp_chk): Here. Add
33541 attribute_hidden.
33542
7550717e
L
335432017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33544
33545 [BZ #18822]
33546 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33547 attribute_hidden.
33548 (__strspn_sse2): Likewise.
33549
0bb2fabc
AZ
335502017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33551
c181840c
AZ
33552 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33553 (close_not_cancel_no_status): Likewise.
33554 (__close_nocancel): New macro.
33555 (__close_nocancel_nostatus): Likewise.
33556 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33557 macro.
33558 (close_not_cancel): Likewise.
33559 (close_not_cancel_no_status): Likewise.
33560 (__close_nocancel): New prototype.
33561 (__close_nocancel_nostatus): New function.
33562 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33563 * catgets/open_catalog.c (__open_catalog): Replace
33564 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33565 * gmon/gmon.c (write_gmon): Likewise.
33566 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33567 * intl/loadmsgcat.c (close): Likewise.
33568 * io/ftw.c (open_dir_stream): Likewise.
33569 (ftw_startup): Likewise.
33570 * libio/fileops.c (_IO_file_open): Likewise.
33571 (_IO_file_close_mmap): Likewise.
33572 (_IO_file_close): Likewise.
33573 * libio/iopopen.c (_IO_dup2): Likewise.
33574 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33575 * locale/loadlocale.c (_nl_load_locale): Likewise.
33576 * login/utmp_file.c (pututline_file): Likewise.
33577 (endutent_file): Likewise.
33578 * misc/daemon.c (daemon): Likewise.
33579 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33580 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33581 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33582 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33583 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33584 * nscd/nscd_helper.c (open_socket): Likewise.
33585 (__nscd_open_socket): Likewise.
33586 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33587 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33588 (__nscd_innetgr): Likewise.
33589 * nss/nss_db/db-open.c (internal_setent): Likewise.
33590 * resolv/res-close.c (__res_iclose): Likewise.
33591 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33592 * sysdeps/posix/closedir.c (__closedir): Likewise.
33593 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33594 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33595 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33596 (opendir_tail): Likewise.
33597 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33598 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33599 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33600 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33601 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33602 (gethostid): Likewise.
33603 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33604 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33605 Likewise.
33606 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33607 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33608 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33609 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33610 Likewise.
33611 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33612 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33613 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33614 Likewise.
33615 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33616 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33617 Likewise.
33618 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33619 Likewise.
33620 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33621 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33622 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33623 __close_nocancel.
33624
0bb2fabc
AZ
33625 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33626 (openat_not_cancel_3): Likewise.
33627 (openat64_not_cancel_3): Likewise).
33628 (openat_not_cancel_3): Likewise).
33629 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33630 macro.
33631 (openat_not_cancel_3): Likewise.
33632 (openat64_not_cancel): Likewise.
33633 (openat64_not_cancel_3): Likewise.
33634 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33635 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33636 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33637 __open{64}_nocancel.
33638 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33639 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33640 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33641
65a086db
L
336422017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33643
33644 [BZ #18822]
33645 * include/argz.h (__argz_create_sep): New function prototype.
33646 (__argz_append): Likewise.
33647 (__argz_add): Likewise.
33648 (__argz_add_sep): Likewise.
33649 (__argz_delete): Likewise.
33650 (__argz_insert): Likewise.
33651 (__argz_replace): Likewise.
33652 * string/argz.h (__argz_create_sep): Removed.
33653 (__argz_append): Likewise.
33654 (__argz_add): Likewise.
33655 (__argz_add_sep): Likewise.
33656 (__argz_delete): Likewise.
33657 (__argz_insert): Likewise.
33658 (__argz_replace): Likewise.
33659
62753d2c
L
336602017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33661
33662 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33663 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33664 (GNU_PROPERTY_STACK_SIZE): Likewie.
33665 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33666 (GNU_PROPERTY_LOPROC): Likewise.
33667 (GNU_PROPERTY_HIPROC): Likewise.
33668 (GNU_PROPERTY_LOUSER): Likewise.
33669 (GNU_PROPERTY_HIUSER): Likewise.
33670 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33671 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33672 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33673 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33674 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33675 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33676 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33677 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33678 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33679 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33680 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33681 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33682 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33683 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33684 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33685 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33686 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33687 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33688 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33689 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33690 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33691 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33692 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33693
6913ad65
GG
336942017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33695
33696 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33697 in C++ mode.
33698
47a67213
GG
336992017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33700
33701 [BZ #21930]
33702 * math/math.h (isinf): Check if in C or C++ mode before using
33703 __builtin_types_compatible_p, since this is a C mode feature.
33704
a748eb31
AZ
337052017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33706
c647fb88
AZ
33707 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33708 (__write_nocancel): New macro.
33709 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33710 Rewrite as a function prototype.
33711 (write_not_cancel): Remove macro.
33712 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33713 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33714 (write_gmon): Likewise.
33715 * libio/fileops.c (_IO_new_file_write): Likewise.
33716 * login/utmp_file.c (pututline_file): Likewise.
33717 (updwtmp_file): Likewise.
33718 * stdio-common/psiginfo.c (psiginfo): Likewise.
33719 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33720 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33721 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33722 Likewise.
33723 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33724 Likewise.
33725
a748eb31
AZ
33726 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33727 (__read_nocancel): New macro.
33728 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33729 __read_nocancel.
33730 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33731 macro.
33732 (__read_nocancel): New prototype.
33733 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33734 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33735 with __read_nocancel.
33736 * intl/loadmsgcat.c (read): Likewise.
33737 * libio/fileops.c (_IO_file_read): Likewise.
33738 * locale/loadlocale.c (_nl_load_locale): Likewise.
33739 * login/utmp_file.c (getutent_r_file): Likewise.
33740 (internal_getut_r): Likewise.
33741 (getutline_r_file): Likewise.
33742 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33743 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33744 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33745 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33746 Likewise.
33747 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33748 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33749 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33750 Likewise.
33751 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33752 Likewise.
33753 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33754 Likewise.
33755 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33756 Likewise.
33757 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33758
098b9dd4
L
337592017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33760
33761 [BZ #21966]
33762 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33763 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33764 usable.
33765
a3fe6a20
DD
337662017-08-17 DJ Delorie <dj@redhat.com>
33767
33768 * bug17079.c: Update to new test harness.
33769 * test-digits-dots.c: Likewise.
33770 * test-netdb.c: Likewise.
33771 * tst-field.c: Likewise.
33772 * tst-nss-getpwent.c: Likewise.
33773 * tst-nss-static.c: Likewise.
33774 * tst-nss-test1.c: Likewise.
33775 * tst-nss-test2.c: Likewise.
33776 * tst-nss-test3.c: Likewise.
33777 * tst-nss-test4.c: Likewise.
33778 * tst-nss-test5.c: Likewise.
33779
c2284574
AZ
337802017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33781
33782 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33783 (open_not_cancel_2): Likewise.
33784 (open_nocancel): New macro.
33785 (open64_nocancel): Likewise.
33786 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33787 (open_not_cancel_2): Likewise.
33788 (__open_nocancel): New prototype.
33789 (__open64_nocancel): Likewise.
33790 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33791 __open_nocancel.
33792 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33793 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33794 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33795 with __open_nocancel.
33796 * csu/check_fds.c (check_one_fd): Likewise.
33797 * gmon/gmon.c (write_gmon): Likewise.
33798 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33799 * intl/loadmsgcat.c (open): Likewise.
33800 * libio/fileops.c (_IO_file_open): Likewise.
33801 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33802 * locale/loadlocale.c (_nl_load_locale): Likewise.
33803 * login/utmp_file.c (setutent_file): Likewise.
33804 * misc/daemon.c (daemon): Likewise.
33805 * nss/nss_db/db-open.c (internal_setent): Likewise.
33806 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33807 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33808 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33809 (__opendir): Likewise.
33810 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33811 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33812 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33813 (gethostid): Likewise.
33814 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33815 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33816 Likewise.
33817 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33818 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33819 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33820 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33821 Likewise.
33822 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33823 Likewise.
33824 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33825 Likewise.
33826 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33827 Likewise.
33828 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33829 Likewise.
33830 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33831 Likewise.
33832 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33833 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33834
d4505b89
WD
338352017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33836
33837 * benchtests/bench-skeleton.c (main): Add support for
33838 latency benchmarking.
33839 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33840
34d6a3cb
L
338412017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33842
33843 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33844 the startup object.
33845
038d1caf
FW
338462017-08-17 Florian Weimer <fweimer@redhat.com>
33847
33848 * include/sys/socket.h (__opensock): Remove internal_function.
33849 * socket/opensock.c (__opensock): Likewise.
33850 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33851
67f0aff0
JM
338522017-08-16 Joseph Myers <joseph@codesourcery.com>
33853
33854 [BZ #21944]
33855 * signal/bits/types/__sigval_t.h: New file.
33856 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33857 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33858 and define sigval_t using __sigval_t.
33859 * include/bits/types/__sigval_t.h: New file.
33860 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33861 instead of <bits/types/__sigval_t.h>.
33862 (struct sigevent): Use __sigval_t instead of sigval_t.
33863 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33864 instead of <bits/types/__sigval_t.h>.
33865 (siginfo_t): Use __sigval_t instead of sigval_t.
33866 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33867 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33868 (struct sigevent): Use __sigval_t instead of sigval_t.
33869 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33870 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33871 (siginfo_t): Use __sigval_t instead of sigval_t.
33872 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33873
87e7bf4d
L
338742017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33875
33876 * NEWS: Remove "[Add new features here]" for 2.27.
33877
5047057f
JM
338782017-08-16 Joseph Myers <joseph@codesourcery.com>
33879
33880 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33881 libc.so.
33882
20c7b195
L
338832017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33884
33885 * NEWS: Mention x86-64 FMA optimization.
33886
24a2e658
L
338872017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33888
33889 [BZ #21912]
33890 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33891 Add e_expf-fma.
33892 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33893 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33894 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33895
eedca977
AS
338962017-08-16 Andreas Schwab <schwab@suse.de>
33897
403143e1
FW
33898 [BZ #16750]
33899 CVE-2009-5064
eedca977
AS
33900 * elf/ldd.bash.in: Never run file directly.
33901
f59f7adb
L
339022017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33903
33904 [BZ #21955]
33905 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33906 (L(SP_INF_0)): Likewise.
33907
6b11a6ad
FW
339082017-08-15 Florian Weimer <fweimer@redhat.com>
33909
33910 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33911 run-built-tests.
33912
bbf5c438
FW
339132017-08-15 Florian Weimer <fweimer@redhat.com>
33914
33915 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33916 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33917 BROKEN_THREAD_SIGNALS code.
33918 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33919 request_list): Remove caller_pid member used for
33920 BROKEN_THREAD_SIGNALS.
33921 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33922 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33923 Remove BROKEN_THREAD_SIGNALS support.
33924 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33925 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33926
6014c65d
FW
339272017-08-15 Florian Weimer <fweimer@redhat.com>
33928
33929 * gmon/Makefile (tests): Add tst-gmon.
33930 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33931 Set.
33932 (tests-special): Add tst-gmon-prof.out.
33933 (tst-gmon.out): Depend on clean-tst-gmon-data.
33934 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33935 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33936 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33937 startup object.
33938 * aclocal.m4 (GPROF): Set and substitute.
33939 * config.amke.in (GPROF): Set.
33940 * configure: Regenerate.
33941
ee72219a
GR
339422017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33943
33944 * elf/elf.h A (NT_PPC_TAR): New macro.
33945 (NT_PPC_PPR): Likewise.
33946 (NT_PPC_DSCR): Likewise.
33947 (NT_PPC_EBB): Likewise.
33948 (NT_PPC_PMU): Likewise.
33949 (NT_PPC_TM_CGPR): Likewise.
33950 (NT_PPC_TM_CFPR): Likewise.
33951 (NT_PPC_TM_CVMX): Likewise.
33952 (NT_PPC_TM_CVSX): Likewise.
33953 (NT_PPC_TM_SPR): Likewise.
33954 (NT_PPC_TM_CTAR): Likewise.
33955 (NT_PPC_TM_CPPR): Likewise.
33956 (NT_PPC_TM_CDSCR): Likewise.
33957
4ebf934e
FW
339582017-08-15 Florian Weimer <fweimer@redhat.com>
33959
33960 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33961 regparm (2) instead of internal_function.
33962 (_MCOUNT_DECL): Adjust.
33963
e9f57484
SL
339642017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33965
33966 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33967 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33968
88ff4d55
JM
339692017-08-14 Joseph Myers <joseph@codesourcery.com>
33970
33971 * conform/data/sys/wait.h-data (si_value): Do not expect for
33972 XPG42.
33973
c88ffc23
FW
339742017-08-14 Florian Weimer <fweimer@redhat.com>
33975
33976 [BZ #21962]
33977 NSS: Create stubs for accidentally exported lookup functions.
33978 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33979 Remove declaration.
33980 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33981 (ether_hostton): Call __nss_ethers_lookup2 instead.
33982 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33983 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33984 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33985 (setup): Call __nss_netgroup_lookup2 instead.
33986 * nss/Makefile (routines): Add compat-lookup.
33987 * nss/Versions (GLIBC_2.27): Add symbol version.
33988 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33989 (DB_COMPAT_FCT): Remove.
33990 * nss/compat-lookup.c: New file.
33991 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33992 from databases.def.
33993 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33994 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33995 (netname2user): Call __nss_publickey_lookup2 instead.
33996 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33997 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33998 instead.
33999
35a29136 340002017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
34001 Sergei Trofimovich <slyfox@inbox.ru>
34002
34003 [BZ #21908]
34004 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34005 Rename to MMAP2_PAGE_UNIT.
34006 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34007 __OFF_T_MATCHES_OFF64_T is not defined.
34008 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34009 uint64_t.
34010 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34011 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34012
fbdc1e3e
FW
340132017-08-14 Florian Weimer <fweimer@redhat.com>
34014
34015 i386: Do not set internal_function.
34016 * config.h.in (USE_REGPARMS, internal_function): Remove.
34017 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34018 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34019
b3f85fd2
FW
340202017-08-14 Florian Weimer <fweimer@redhat.com>
34021
34022 * elf/dl-init.c (_dl_init): Remove internal_function.
34023 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34024 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34025
630bf491
FW
340262017-08-14 Florian Weimer <fweimer@redhat.com>
34027
34028 * elf/rtld.c (_dl_start): Remove internal_function.
34029 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34030 _dl_start.
34031
9fa7449b
FW
340322017-08-14 Florian Weimer <fweimer@redhat.com>
34033
34034 * elf/dl-fini.c (_dl_fini): Remove internal_function
34035 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34036
73322d5f
L
340372017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34038
d863cd71 34039 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
34040 (bit_cpu_SHSTK): Likewise.
34041 (index_cpu_IBT): Likewise.
34042 (index_cpu_SHSTK): Likewise.
34043 (reg_IBT): Likewise.
34044 (reg_SHSTK): Likewise.
34045 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34046 Handle index_cpu_IBT and index_cpu_SHSTK.
34047
dbc303ef
MF
340482017-08-14 Mike FABIAN <mfabian@redhat.com>
34049
34050 [BZ #19982]
34051 * po/fr.po: Fix spelling mistake.
34052
3012cfb0
FW
340532017-08-13 Florian Weimer <fweimer@redhat.com>
34054
34055 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34056 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34057 (_dl_catch_error, _dl_receive_error): Likewise.
34058 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34059 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34060 (_dl_deallocate_tls): Likewise.
34061 * include/dlfcn.h (_dl_addr): Likewise.
34062 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34063 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34064 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34065 Likewise.
34066
52bcdf26
FW
340672017-08-13 Florian Weimer <fweimer@redhat.com>
34068
34069 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34070 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34071 internal_function.
34072 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34073
e1d2ae8d
FW
340742017-08-13 Florian Weimer <fweimer@redhat.com>
34075
34076 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34077 internal_function.
34078 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34079 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34080 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34081 internal_function from _dl_make_stack_executable_hook member.
34082 (_dl_make_stack_executable): Remove internal_function.
34083 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34084 Likewise.
34085 * sysdeps/unix/sysv/linux/dl-execstack.c
34086 (_dl_make_stack_executable): Likewise.
34087
c4ce0382
FW
340882017-08-13 Florian Weimer <fweimer@redhat.com>
34089
34090 * sysdeps/unix/sysv/linux/netlinkaccess.h
34091 (__netlink_assert_response): Remove internal_function.
34092 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34093 (__netlink_assert_response): Likewise.
34094
c4d767f7
FW
340952017-08-13 Florian Weimer <fweimer@redhat.com>
34096
34097 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34098 internal_function.
34099 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34100
b2297409
FW
341012017-08-13 Florian Weimer <fweimer@redhat.com>
34102
34103 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34104 internal_function.
34105 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34106 * inet/netgroup.h (__internal_setnetgrent)
34107 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34108 * inet/getnetgrent_r.c (__internal_setnetgrent)
34109 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34110 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34111 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34112 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34113 * nss/nsswitch.h (db_lookup_function): Likewise.
34114
1b0bfc69
FW
341152017-08-13 Florian Weimer <fweimer@redhat.com>
34116
34117 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34118 Remove internal_function.
34119 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34120 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34121 message argument on the stack.
34122 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34123 Likeweise.
34124
a6bd8722
MF
341252017-08-12 Mike FABIAN <mfabian@redhat.com>
34126
34127 Adapt test case data to the changes in the thousands
34128 separators.
34129
34130 [BZ #20756]
34131 * localedata/tst-langinfo.sh: Adapt test case data.
34132 * stdlib/tst-strfmon_l.c: Likewise.
34133 * stdlib/tst-strtod4.c: Likewise.
34134 * stdlib/tst-strtod5i.c: Likewise.
34135
8b2c63e4
FW
341362017-08-11 Florian Weimer <fweimer@redhat.com>
34137
34138 [BZ #21242]
34139 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34140 Suppress pedantic warning resulting from statement expression.
34141 (__ASSERT_FUNCTION): Add missing __extension__.
34142
61c98291
SP
341432017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34144
86c6519e
SP
34145 * benchtests/bench-memmove-large.c: Print output in JSON
34146 format.
34147 * benchtests/bench-memmove.c: Likewise.
34148
61c98291
SP
34149 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34150 * benchtests/bench-memchr.c (do_one_test): Likewise.
34151 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34152 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34153 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34154 * benchtests/bench-memmove.c (do_one_test): Likewise.
34155 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34156 * benchtests/bench-memset.c (do_one_test): Likewise.
34157 * benchtests/bench-string.h (test_init): Remove memsets.
34158
925733a9
RJ
341592017-08-10 Rical Jasan <ricaljasan@pacific.net>
34160
34161 * manual/lang.texi
34162 (Computing the Width of an Integer Data Type): Rename section to
34163 "Width of an Integer Type". Remove inaccurate statement regarding
34164 lack of C language facilities for determining width of integer
34165 types, and reorder content to improve flow and context of
34166 discussion.
34167
4fcdfbfc
RJ
341682017-08-10 Rical Jasan <ricaljasan@pacific.net>
34169
34170 * lang.texi (va_copy): Change standard from ISO to C99.
34171 (__va_copy): Add standard and header annotation.
34172 Update description for clarity of origins and current use.
34173
4d98ace9
GG
341742017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34175
34176 [BZ #21941]
34177 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34178 xssqrtqp requires operands to be in Vector Registers
34179 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34180 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34181 (__ieee754_sqrtf128): Likewise.
34182
92236903
WD
341832017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34184
34185 * sysdeps/aarch64/memcmp.S (memcmp):
34186 Rewrite of optimized memcmp.
34187
2449ae7b
FW
341882017-08-10 Florian Weimer <fweimer@redhat.com>
34189
34190 Introduce ld.so exceptions.
34191 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34192 (_dl_exception_create, _dl_exception_create_format)
34193 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34194 (_dl_catch_exception): Declare.
34195 (_dl_catch_error): Update comment.
34196 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34197 errstring, malloced members with exception member.
34198 (_dl_out_of_memory): Remove.
34199 (fatal_error): New function, extracted from _dl_signal_error.
34200 (_dl_signal_exception, _dl_signal_cexception): New functions.
34201 (_dl_signal_error): Call _dl_exception_create to allocate an
34202 exception object.
34203 (_dl_catch_exception): New function, based on _dl_catch_error.
34204 (_dl_catch_error): Implement using _dl_catch_exception.
34205 * elf/dl-exception.c: New file.
34206 * elf/Makefile (dl-routines): Add dl-exception.
34207 (elide-routines.os): Likewise.
34208 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34209 _dl_exception_create_format, _dl_exception_free.
34210 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34211 _dl_signal_exception.
34212 * elf/dl-lookup.c (make_string): Remove.
34213 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34214 _dl_signal_cexception, _dl_exception_free.
34215 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34216 _dl_signal_exception.
34217 * elf/dl-sym.c (do_sym): Likewise.
34218 * elf/dl-version.c (make_string): Remove.
34219 (match_symbol): Use _dl_exception_create_format,
34220 _dl_signal_cexception, _dl_exception_free.
34221 (_dl_check_map_versions): Likewise.
34222 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34223 _dl_catch_exception.
34224 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34225 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34226 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34227 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34228 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34229 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34230 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34231 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34232 Likewise.
34233 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34235 (ld.so): Likewise.
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34237 (ld.so): Likewise.
34238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34239 Likewise.
34240 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34241 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34242 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34243 Likewise.
34244 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34245 Likewise.
34246 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34247
f87cc2bf
FW
342482017-08-10 Florian Weimer <fweimer@redhat.com>
34249
34250 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34251 attribute_hidden, internal_function.
34252 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34253 internal_function.
34254
eac43cbb
FW
342552017-08-10 Florian Weimer <fweimer@redhat.com>
34256
34257 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34258 function which calls __builtin_unreachable.
34259
bd80111e
MF
342602017-08-10 Mike FABIAN <mfabian@redhat.com>
34261
34262 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34263 Indian monetary formatting
34264 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34265 test cases.
34266
60e2846e
DL
342672017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34268
68dc02d1
DL
34269 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34270 Fix typo in comment.
34271
60e2846e
DL
34272 [BZ #21928]
34273 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34274 PTRACE_SEIZE_DEVEL): Remove.
34275 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34276 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34277 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34278 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34279 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34280
3d452dab
JM
342812017-08-09 Joseph Myers <joseph@codesourcery.com>
34282
24d9f53a
JM
34283 * posix/bits/types.h (__qaddr_t): Remove.
34284
3d452dab
JM
34285 [BZ #21457]
34286 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34287 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34288 __glibc_reserved1.
34289 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34290 (ucontext_t): Use __ctx with uc_flags.
34291 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34292 (__ctxt): Likewise.
34293 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34294 __glibc_reserved1.
34295 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34296 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34297 __glibc_reserved1.
34298 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34299 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34300 __glibc_reserved1.
34301 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34302 macro.
34303 (ucontext_t): Use __ctx with uc_flags.
34304 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34305 (ucontext_t): Use __ctx with uc_flags.
34306 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34307 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34308 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34309 (ucontext_t): Use __ctx with uc_flags.
34310 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34311 undefine further down.
34312 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34313 __glibc_reserved1.
34314 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34315 undefine further down.
34316 (ucontext_t): Use __ctx with uc_flags.
34317 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34318 undefine further down.
34319 (ucontext_t): Use __ctx with uc_flags.
34320 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34321 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34322 Rename uc_pad to __glibc_reserved1.
34323 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34324 undefine further down.
34325 (ucontext_t): Use __ctx with uc_flags.
34326 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34327 further down.
34328 (ucontext_t): Use __ctx with uc_flags.
34329 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34330 __ctx with uc_flags.
34331 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34332 (ucontext_t): Use __ctx with uc_flags.
34333 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34334 __ctx with uc_flags.
34335
30161498
FW
343362017-08-09 Florian Weimer <fweimer@redhat.com>
34337
34338 [BZ #21932]
34339 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34340 before early return.
34341
5797b410
AS
343422017-08-09 Andreas Schwab <schwab@suse.de>
34343
139237a4 34344 [BZ #21041]
5797b410
AS
34345 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34346 renamed alias.
34347
139237a4 34348 [BZ #21041]
40c06a3d
AS
34349 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34350 tst-compat-forwarder.
34351 (modules-names): Add tst-compat-forwarder-mod.
34352 ($(objpfx)tst-compat-forwarder): Depend on
34353 $(objpfx)tst-compat-forwarder-mod.so.
34354 * nptl/tst-compat-forwarder.c: New file.
34355 * nptl/tst-compat-forwarder-mod.c: New file.
34356
36ada5f6
SP
343572017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34358
0e02b510
SP
34359 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34360 comments.
34361
36ada5f6
SP
34362 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34363 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34364 memcpy_falkor.
34365 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34366 Bump.
34367 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34368 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34369 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34370 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34371 Add falkor.
34372 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34373 New macro.
34374
9995c839
AZ
343752017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34376
34377 [BZ #759]
34378 * manual/setjmp.texi (getcontex): Document uc_stack value
34379 compatibility differences.
34380
f17a4233
JM
343812017-08-08 Joseph Myers <joseph@codesourcery.com>
34382
34383 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34384 (old_malloc_hook): Likewise.
34385 (old_memalign_hook): Likewise.
34386 (old_realloc_hook): Likewise.
34387 (struct hdr): Likewise.
34388 (flood): Likewise.
34389 (freehook): Likewise.
34390 (mallochook): Likewise.
34391 (memalignhook): Likewise.
34392 (reallochook): Likewise.
34393 (mprobe): Likewise.
34394 * malloc/mtrace.c (mallwatch): Likewise.
34395 (tr_old_free_hook): Likewise.
34396 (tr_old_malloc_hook): Likewise.
34397 (tr_old_realloc_hook): Likewise.
34398 (tr_old_memalign_hook): Likewise.
34399 (tr_where): Likewise.
34400 (lock_and_info): Likewise.
34401 (tr_freehook): Likewise.
34402 (tr_mallochook): Likewise.
34403 (tr_reallochook): Likewise.
34404 (tr_memalignhook): Likewise.
34405 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34406 * misc/mmap.c (__mmap): Likewise.
34407 * misc/mmap64.c (__mmap64): Likewise.
34408 * misc/mprotect.c (__mprotect): Likewise.
34409 * misc/msync.c (msync): Likewise.
34410 * misc/munmap.c (__munmap): Likewise.
34411 * posix/posix_madvise.c (posix_madvise): Likewise.
34412 * socket/send.c (__send): Likewise.
34413 * socket/sendto.c (__sendto): Likewise.
34414 * socket/setsockopt.c (__setsockopt): Likewise.
34415 * string/memcmp.c (__ptr_t): Remove macro.
34416 (MEMCMP): Use void * instead of ptr_t.
34417 * string/memrchr.c (__ptr_t): Remove macro.
34418 (__memrchr): Use void * instead of ptr_t.
34419 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34420 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34421 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34422 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34423 * sysdeps/mach/msync.c (msync): Likewise.
34424 * sysdeps/mach/munmap.c (__munmap): Likewise.
34425 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34426 Likewise.
34427 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34428 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34429 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34430 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34431 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34432 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34433 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34434 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34435 Likewise.
34436 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34437 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34438 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34439 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34440 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34441 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34442 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34443 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34444 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34445 Likewise.
34446 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34447 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34448 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34449 (MEMCMP): Use void * instead of ptr_t.
34450 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34451 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34452
0df595b2
FW
344532017-08-08 Florian Weimer <fweimer@redhat.com>
34454
34455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34456 return statement.
34457
086df229
L
344582017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34459
34460 [BZ #21913]
34461 * csu/libc-tls.c: Include <startup.h> first.
34462 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34463 * elf/dl-tunables.c: Include <startup.h> first.
34464 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34465 * sysdeps/generic/startup.h: New file.
34466 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34467 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34468 (I386_USE_SYSENTER): New. Defined to 0.
34469
fc5ad702
AS
344702017-08-08 Andreas Schwab <schwab@suse.de>
34471
34472 [BZ #21041]
34473 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34474 * nptl/pt-system.c (system): Likewise.
34475
852d6312
AZ
344762017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34477
34478 [BZ #21780]
34479 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34480 EOPNOTSUPP.
34481 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34482 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34483 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34484 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34485 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34486 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34487 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34488
8b164787
JM
344892017-08-07 Joseph Myers <joseph@codesourcery.com>
34490
cd65836b
JM
34491 [BZ #21899]
34492 * bits/sigaction.h (struct sigaction): Define sa_handler and
34493 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34494 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34495 [__USE_XOPEN_EXTENDED].
34496 (SA_RESTART): Likewise.
34497 (SA_NODEFER): Likewise.
34498 (SA_RESETHAND): Likewise.
34499 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34500 (struct sigaction): Define sa_handler and sa_sigaction using union
34501 also for [__USE_XOPEN_EXTENDED].
34502 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34503 [__USE_XOPEN_EXTENDED].
34504 (SA_RESTART): Likewise.
34505 (SA_NODEFER): Likewise.
34506 (SA_RESETHAND): Likewise.
34507 * sysdeps/unix/sysv/linux/bits/sigaction.h
34508 (struct sigaction): Define sa_handler and sa_sigaction using union
34509 also for [__USE_XOPEN_EXTENDED].
34510 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34511 [__USE_XOPEN_EXTENDED].
34512 (SA_RESTART): Likewise.
34513 (SA_NODEFER): Likewise.
34514 (SA_RESETHAND): Likewise.
34515 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34516 (struct sigaction): Define sa_handler and sa_sigaction using union
34517 also for [__USE_XOPEN_EXTENDED].
34518 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34519 [__USE_XOPEN_EXTENDED].
34520 (SA_RESTART): Likewise.
34521 (SA_NODEFER): Likewise.
34522 (SA_RESETHAND): Likewise.
34523 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34524 (struct sigaction): Define sa_handler and sa_sigaction using union
34525 also for [__USE_XOPEN_EXTENDED].
34526 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34527 [__USE_XOPEN_EXTENDED].
34528 (SA_RESTART): Likewise.
34529 (SA_NODEFER): Likewise.
34530 (SA_RESETHAND): Likewise.
34531 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34532 (struct sigaction): Define sa_handler and sa_sigaction using union
34533 also for [__USE_XOPEN_EXTENDED].
34534 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34535 [__USE_XOPEN_EXTENDED].
34536 (SA_RESTART): Likewise.
34537 (SA_NODEFER): Likewise.
34538 (SA_RESETHAND): Likewise.
34539 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34540 (struct sigaction): Define sa_handler and sa_sigaction using union
34541 also for [__USE_XOPEN_EXTENDED].
34542 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34543 [__USE_XOPEN_EXTENDED].
34544 (SA_RESTART): Likewise.
34545 (SA_NODEFER): Likewise.
34546 (SA_RESETHAND): Likewise.
34547 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34548 (struct sigaction): Define sa_handler and sa_sigaction using union
34549 also for [__USE_XOPEN_EXTENDED].
34550 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34551 [__USE_XOPEN_EXTENDED].
34552 (SA_RESTART): Likewise.
34553 (SA_NODEFER): Likewise. Define directly rather than as alias.
34554 (SA_RESETHAND): Likewise.
34555 (SA_INTERRUPT): Define only for [__USE_MISC].
34556 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34557 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34558 [__USE_MISC].
34559 (SA_STACK): Define only for [__USE_MISC].
34560 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34561 (struct sigaction): Define sa_handler and sa_sigaction using union
34562 also for [__USE_XOPEN_EXTENDED].
34563 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34564 [__USE_XOPEN_EXTENDED].
34565 (SA_RESTART): Likewise.
34566 (SA_NODEFER): Likewise.
34567 (SA_RESETHAND): Likewise.
34568 (SA_NOPTRACE): Define only for [__USE_MISC].
34569
d9fee042
JM
34570 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34571 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34572 (struct catalog_info): Likewise.
34573 * inet/htontest.c (lo): Likewise.
34574 (foo): Likewise.
34575 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34576 * inet/inet_net.c (inet_network): Likewise.
34577 * inet/inet_netof.c (inet_netof): Likewise.
34578 * inet/rcmd.c (__ivaliduser): Likewise.
34579 (iruserok): Likewise.
34580 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34581 * locale/programs/locale-spec.c (locale_special): Likewise.
34582 * nis/nis_findserv.c (struct findserv_req): Likewise.
34583 (__nis_findfastest_with_timeout): Likewise.
34584 * nss/test-netdb.c (test_network): Likewise.
34585 * resolv/inet_neta.c (inet_neta): Likewise.
34586 * resolv/ns_date.c (ns_datetosecs): Likewise.
34587 (SECS_PER_DAY): Likewise.
34588 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34589 Likewise.
34590 * resolv/res_comp.c (__putlong): Likewise.
34591 (__putshort): Likewise.
34592 (_getlong): Likewise.
34593 (_getshort): Likewise.
34594 * resolv/res_debug.c (p_time): Likewise.
34595 (precsize_ntoa): Likewise.
34596 (precsize_aton): Likewise.
34597 (latlon2ul): Likewise.
34598 (loc_aton): Likewise.
34599 (loc_ntoa): Likewise.
34600 * resolv/res_hconf.c (struct netaddr): Likewise.
34601 (_res_hconf_reorder_addrs): Likewise.
34602 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34603 (clnttcp_control): Likewise.
34604 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34605 (clntudp_control): Likewise.
34606 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34607 (clntunix_control): Likewise.
34608 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34609 * sunrpc/rpc/auth.h (union des_block): Likewise.
34610 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34611 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34612 (xdrrec_create): Likewise.
34613 (xdrrec_endofrecord): Likewise.
34614 (flush_out): Likewise.
34615 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34616 (xdrstdio_putlong): Likewise.
34617 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34618 Likewise.
34619
8b164787
JM
34620 * misc/sys/cdefs.h (__long_double_t): Remove.
34621 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34622 instead of __long_double_t,
34623 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34624
7ee38e60
SP
346252017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34626
dd3e86ad
SP
34627 * benchtests/scripts/compare_strings.py: Avoid display error when
34628 running on a text terminal.
34629
b115e819
SP
34630 * benchtests/scripts/compare_strings.py (main): Add an
34631 optional -base option.
34632 (process_results): New argument base_func.
34633
7ee38e60
SP
34634 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34635 hardcoding memcpy.
34636 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34637 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34638
d5afb385
AS
346392017-08-07 Andreas Schwab <schwab@suse.de>
34640
34641 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34642 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34643 * intl/Makefile ($(objpfx)tst-gettext.out)
34644 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34645 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34646 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34647 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34648 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34649 * posix/Makefile ($(objpfx)globtest.out)
34650 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34651 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34652 ($(objpfx)tst-printf.out): Likewise.
34653 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34654 ($(objpfx)tst-setcontext3.out): Likewise.
34655
57a72fa3
L
346562017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34657
34658 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34659 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34660 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34661 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34662 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34663 and mptan-fma.
34664 (CFLAGS-doasin-fma.c): New.
34665 (CFLAGS-dosincos-fma.c): Likewise.
34666 (CFLAGS-e_asin-fma.c): Likewise.
34667 (CFLAGS-e_atan2-fma.c): Likewise.
34668 (CFLAGS-e_exp-fma.c): Likewise.
34669 (CFLAGS-e_log-fma.c): Likewise.
34670 (CFLAGS-e_pow-fma.c): Likewise.
34671 (CFLAGS-halfulp-fma.c): Likewise.
34672 (CFLAGS-mpa-fma.c): Likewise.
34673 (CFLAGS-mpatan-fma.c): Likewise.
34674 (CFLAGS-mpatan2-fma.c): Likewise.
34675 (CFLAGS-mpexp-fma.c): Likewise.
34676 (CFLAGS-mplog-fma.c): Likewise.
34677 (CFLAGS-mpsqrt-fma.c): Likewise.
34678 (CFLAGS-mptan-fma.c): Likewise.
34679 (CFLAGS-s_atan-fma.c): Likewise.
34680 (CFLAGS-sincos32-fma.c): Likewise.
34681 (CFLAGS-slowexp-fma.c): Likewise.
34682 (CFLAGS-slowpow-fma.c): Likewise.
34683 (CFLAGS-s_sin-fma.c): Likewise.
34684 (CFLAGS-s_tan-fma.c): Likewise.
34685 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34686 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34687 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34688 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34689 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34690 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34691 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34692 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34693 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34694 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34695 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34696 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34697 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34698 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34699 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34700 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34701 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34702 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34703 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34704 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34705 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34706 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34707 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34708 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34709 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34710 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34711 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34712 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34713 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34714 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34715 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34716
219dd320
JM
347172017-08-04 Joseph Myers <joseph@codesourcery.com>
34718
34719 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34720 (min_of_type_f): New macro.
34721 (min_of_type_): Likewise.
34722 (min_of_type_l): Likewise.
34723 (min_of_type_f128): Likewise.
34724 (min_of_type): Define using __MATH_TG and taking an expression
34725 argument.
34726 (math_check_force_underflow): Pass expression instead of type to
34727 min_of_type.
34728 (math_check_force_underflow_nonneg): Likewise.
34729
64d4dea6
L
347302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34731
34732 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34733 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34734 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34735
973da22a
L
347362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34737
34738 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34739 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34740 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34741 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34742 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34743 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34744 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34745 memmove_chk-nonshared and memset_chk-nonshared
34746 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34747 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34748 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34749 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34750 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34751 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34752 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34753 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34754 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34755 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34756 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34757 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34758 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34759 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34760 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34761 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34762 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34763 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34764 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34765 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34767 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34769 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34771 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34773 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34774 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34775 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34776 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34777 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34779 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34781 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34782 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34783 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34784 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34785 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34786 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34787 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34788 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34789 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34790 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34791 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34792 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34793 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34794 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34795 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34796 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34797 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34798 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34799 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34800 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34801 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34802 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34803 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34804 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34805 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34806 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34807 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34808 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34809 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34810 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34811 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34812 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34813 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34814 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34815 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34816 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34817 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34818 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34819 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34820 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34821 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34822 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34823 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34824 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34825 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34826 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34827 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34828 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34829 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34830 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34831 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34832 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34833 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34834 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34835 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34836 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34837 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34838 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34839 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34840 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34841 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34842 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34843 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34844 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34845 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34846 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34847 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34848 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34849 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34850 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34851 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34852 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34853 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34854
8537e0f6
L
348552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34856
34857 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34858 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34859 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34860 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34861 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34862 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34863 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34864 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34865 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34866 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34867 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34868 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34869 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34870 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34871 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34872 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34873 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34874 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34875 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34876 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34877 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34878 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34879 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34880 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34881 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34882 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34883 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34884 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34885 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34886 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34887 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34888 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34890 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34893 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34894 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34896 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34897 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34898 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34899 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34900 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34901 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34902 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34903 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34904 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34905 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34906 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34907 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34908 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34909 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34910 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34911 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34912 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34913 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34914 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34915 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34916 ...
34917 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34918 Don't include <sysdep.h> nor <init-arch.h>.
34919 (_ZGVbN2v_cos): Removed.
34920 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34921 ...
34922 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34923 Don't include <sysdep.h> nor <init-arch.h>.
34924 (_ZGVdN4v_cos): Removed.
34925 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34926 ...
34927 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34928 Don't include <sysdep.h> nor <init-arch.h>.
34929 (_ZGVeN8v_cos): Removed.
34930 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34931 ...
34932 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34933 Don't include <sysdep.h> nor <init-arch.h>.
34934 (_ZGVbN2v_exp): Removed.
34935 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34936 ...
34937 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34938 Don't include <sysdep.h> nor <init-arch.h>.
34939 (_ZGVdN4v_exp): Removed.
34940 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34941 ...
34942 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34943 Don't include <sysdep.h> nor <init-arch.h>.
34944 (_ZGVeN8v_exp): Removed.
34945 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34946 ...
34947 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34948 Don't include <sysdep.h> nor <init-arch.h>.
34949 (_ZGVbN2v_log): Removed.
34950 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34951 ...
34952 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34953 Don't include <sysdep.h> nor <init-arch.h>.
34954 (_ZGVdN4v_log): Removed.
34955 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34956 ...
34957 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34958 Don't include <sysdep.h> nor <init-arch.h>.
34959 (_ZGVeN8v_log): Removed.
34960 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34961 ...
34962 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34963 Don't include <sysdep.h> nor <init-arch.h>.
34964 (_ZGVbN2vv_pow): Removed.
34965 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34966 ...
34967 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34968 Don't include <sysdep.h> nor <init-arch.h>.
34969 (_ZGVdN4vv_pow): Removed.
34970 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34971 ...
34972 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34973 Don't include <sysdep.h> nor <init-arch.h>.
34974 (_ZGVeN8vv_pow): Removed.
34975 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34976 ...
34977 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34978 Don't include <sysdep.h> nor <init-arch.h>.
34979 (_ZGVbN2v_sin): Removed.
34980 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34981 ...
34982 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34983 Don't include <sysdep.h> nor <init-arch.h>.
34984 (_ZGVbN4v_sin): Removed.
34985 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34986 ...
34987 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34988 Don't include <sysdep.h> nor <init-arch.h>.
34989 (_ZGVbN8v_sin): Removed.
34990 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34991 ...
34992 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34993 Don't include <sysdep.h> nor <init-arch.h>.
34994 (_ZGVbN2vvv_sincos): Removed.
34995 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34996 ...
34997 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34998 Don't include <sysdep.h> nor <init-arch.h>.
34999 (_ZGVdN4vvv_sincos): Removed.
35000 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35001 ...
35002 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35003 Don't include <sysdep.h> nor <init-arch.h>.
35004 (_ZGVeN8vvv_sincos): Removed.
35005 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35006 ...
35007 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35008 Don't include <sysdep.h> nor <init-arch.h>.
35009 (_ZGVeN16v_cosf): Removed.
35010 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35011 ...
35012 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35013 Don't include <sysdep.h> nor <init-arch.h>.
35014 (_ZGVbN4v_cosf): Removed.
35015 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35016 ...
35017 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35018 Don't include <sysdep.h> nor <init-arch.h>.
35019 (_ZGVdN8v_cosf): Removed.
35020 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35021 ...
35022 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35023 Don't include <sysdep.h> nor <init-arch.h>.
35024 (_ZGVeN16v_expf): Removed.
35025 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35026 ...
35027 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35028 Don't include <sysdep.h> nor <init-arch.h>.
35029 (_ZGVbN4v_expf): Removed.
35030 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35031 ...
35032 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35033 Don't include <sysdep.h> nor <init-arch.h>.
35034 (_ZGVdN8v_expf): Removed.
35035 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35036 ...
35037 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35038 Don't include <sysdep.h> nor <init-arch.h>.
35039 (_ZGVeN16v_logf): Removed.
35040 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35041 ...
35042 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35043 Don't include <sysdep.h> nor <init-arch.h>.
35044 (_ZGVbN4v_logf): Removed.
35045 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35046 ...
35047 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35048 Don't include <sysdep.h> nor <init-arch.h>.
35049 (_ZGVdN8v_logf): Removed.
35050 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35051 ...
35052 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35053 Don't include <sysdep.h> nor <init-arch.h>.
35054 (_ZGVeN16vv_powf): Removed.
35055 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35056 ...
35057 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35058 Don't include <sysdep.h> nor <init-arch.h>.
35059 (_ZGVbN4vv_powf): Removed.
35060 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35061 ...
35062 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35063 Don't include <sysdep.h> nor <init-arch.h>.
35064 (_ZGVdN8vv_powf): Removed.
35065 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35066 ...
35067 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35068 Don't include <sysdep.h> nor <init-arch.h>.
35069 (_ZGVeN16vvv_sincosf): Removed.
35070 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35071 ...
35072 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35073 Don't include <sysdep.h> nor <init-arch.h>.
35074 (_ZGVbN4vvv_sincosf): Removed.
35075 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35076 ...
35077 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35078 Don't include <sysdep.h> nor <init-arch.h>.
35079 (_ZGVdN8vvv_sincosf): Removed.
35080 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35081 ...
35082 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35083 Don't include <sysdep.h> nor <init-arch.h>.
35084 (_ZGVeN16v_sinf): Removed.
35085 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35086 ...
35087 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35088 Don't include <sysdep.h> nor <init-arch.h>.
35089 (_ZGVbN4v_sinf): Removed.
35090 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35091 ...
35092 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35093 Don't include <sysdep.h> nor <init-arch.h>.
35094 (_ZGVdN8v_sinf): Removed.
35095
10a87ca4
L
350962017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35097
35098 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35099 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35100 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35101 s_rint-sse4_1 and s_rintf-sse4_1.
35102 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35103 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35104 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35105 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35106 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35107 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35108 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35109 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35110 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35111 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35112 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35113 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35114 (__ceil): Removed.
35115 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35116 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35117 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35118 (__ceilf): Removed.
35119 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35120 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35121 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35122 (__floor): Removed.
35123 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35124 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35125 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35126 (__floorf): Removed.
35127 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35128 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35129 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35130 (__nearbyint): Removed.
35131 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35132 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35133 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35134 (__nearbyintf): Removed.
35135 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35136 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35137 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35138 (__rint): Removed.
35139 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35140 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35141 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35142 (__rintf): Removed.
35143
1e8e527d
L
351442017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35145
35146 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35147 SHARED. Avoid dynamic relocation against main in static PIE.
35148
e13daad7
L
351492017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35150
35151 [BZ #21815]
35152 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35153 (LDFLAGS-tst-prelink): Likewise.
35154
627c69c8
L
351552017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35156
35157 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35158 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35159 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35160 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35161 (INTERNAL_SYSCALL_NCS): Likewise.
35162 (LOADARGS_1): Likewise.
35163 (LOADARGS_5): Likewise.
35164 (RESTOREARGS_1): Likewise.
35165 (RESTOREARGS_5): Likewise.
35166
fc11ff8d
L
351672017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35168
35169 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35170 (MEMPCPY_SYMBOL): Likewise.
35171 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35172 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35173 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35174 in libc.a.
35175 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35176 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35177 Likewise.
35178 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35179 (__hidden_ver1): Don't use in libc.a.
35180 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35181 (__mempcpy): Don't create a weak alias in libc.a.
35182 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35183 libc.a.
35184 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35185 (__hidden_ver1): Don't use in libc.a.
35186
19f1a11e
L
351872017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35188
35189 * config.make.in (have-insert): New.
35190 * configure.ac (libc_cv_insert): New. Set to yes if linker
35191 supports INSERT in linker script.
35192 (AC_SUBST(libc_cv_insert): New.
35193 * configure: Regenerated.
35194 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35195 if $(have-insert) == yes.
35196
3093fd5e
L
351972017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35198
35199 * elf/Makefile (tests): Add vismain only if
35200 $(have-protected-data) == yes.
35201 (tests-pie): Likewise.
35202
d2cf37c0
L
352032017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35204
35205 [BZ #21871]
35206 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35207 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35208
c8a0e6ec
L
352092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35210
35211 [BZ #21790]
35212 * sysdeps/i386/i586/memset.S
35213 (__memset_zero_constant_len_parameter): Removed.
35214 * sysdeps/i386/i686/memset.S
35215 (__memset_zero_constant_len_parameter): Likewise.
35216 * sysdeps/i386/i686/multiarch/memset_chk.S
35217 (__memset_zero_constant_len_parameter): Likewise.
35218 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35219 Likewise.
35220
2b34e271
AJ
352212017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35222
35223 * stdlib/getentropy.c (getentropy): Change return type to int.
35224
144bdab0
AJ
352252017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35226
35227 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35228
24ab7723
JM
352292017-08-03 Joseph Myers <joseph@codesourcery.com>
35230
35231 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35232 u_intN_t.
35233 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35234 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35235 Likewise.
35236 (ieee_float_shape_type): Likewise.
35237 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35238 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35239 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35240 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35241 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35242 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35243 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35244 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35245 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35246 Likewise.
35247 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35248 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35249 (__ieee754_yn): Likewise.
35250 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35251 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35252 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35253 Likewise.
35254 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35255 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35256 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35257 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35258 (__erfc): Likewise.
35259 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35260 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35261 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35262 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35263 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35264 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35265 Likewise.
35266 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35267 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35268 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35269 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35270 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35271 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35272 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35273 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35274 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35275 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35276 (__issignaling): Likewise.
35277 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35278 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35279 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35280 Likewise.
35281 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35282 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35283 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35284 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35285 Likewise.
35286 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35287 Likewise.
35288 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35289 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35290 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35291 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35292 (__erfcf): Likewise.
35293 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35294 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35295 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35296 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35297 Likewise.
35298 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35299 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35300 Likewise.
35301 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35302 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35303 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35304 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35305 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35306 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35307 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35308 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35309 Likewise.
35310 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35311 Likewise.
35312 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35313 Likewise.
35314 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35315 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35316 Likewise.
35317 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35318 Likewise.
35319 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35320 (__ieee754_ynl): Likewise.
35321 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35322 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35323 Likewise.
35324 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35325 Likewise.
35326 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35327 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35328 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35329 Likewise.
35330 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35331 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35332 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35333 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35334 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35335 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35336 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35337 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35338 Likewise.
35339 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35340 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35341 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35342 Likewise.
35343 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35344 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35345 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35346 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35347 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35348 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35349 Likewise.
35350 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35351 Likewise.
35352 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35353 Likewise.
35354 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35355 Likewise.
35356 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35357 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35358 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35359 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35360 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35361 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35362 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35363 Likewise.
35364 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35365 Likewise.
35366 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35367 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35368 Likewise.
35369 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35370 (__ieee754_remainderl): Likewise.
35371 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35373 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35374 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35375 Likewise.
35376 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35377 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35378 Likewise.
35379 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35380 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35381 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35382 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35383 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35384 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35385 Likewise.
35386 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35387 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35388 (__ieee754_y0l): Likewise.
35389 (pzero): Likewise.
35390 (qzero): Likewise.
35391 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35392 (__ieee754_y1l): Likewise.
35393 (pone): Likewise.
35394 (qone): Likewise.
35395 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35396 (__ieee754_ynl): Likewise.
35397 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35398 (__ieee754_lgammal_r): Likewise.
35399 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35400 Likewise.
35401 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35402 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35403 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35404 (__erfcl): Likewise.
35405 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35406 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35407 Likewise.
35408 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35409 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35410 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35411 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35412 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35413 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35414 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35415 Likewise.
35416 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35417 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35418 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35419 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35420 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35421 Likewise.
35422 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35423 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35424 Likewise.
35425 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35426 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35427 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35428 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35429 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35430
964263bb
FW
354312017-08-03 Florian Weimer <fweimer@redhat.com>
35432
35433 [BZ #21885]
35434 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35435 on memory allocation failure.
35436
e98c925f
AM
354372017-08-03 Alan Modra <amodra@gmail.com>
35438
35439 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35440 tst-tlsopt-powerpc.c with function name change and no test harness.
35441 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35442 Call tls_get_addr_opt_test.
35443 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35444 (modules-names): Add mod-tlsopt-powerpc.
35445 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35446 (tst-tlsopt-powerpc): Depend on .so.
35447 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35448 define. Expand use in TLS_GD and TLS_LD.
35449
8ee1abdb
ST
354502017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35451
35452 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35453 function.
3da5756e 35454 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35455
42df8d59
JM
354562017-08-02 Joseph Myers <joseph@codesourcery.com>
35457
35458 [BZ #21686]
35459 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35460 comparing size with that of double.
35461 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35462 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35463 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35464 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35465 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35466 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35467 unsigned __int128 types.
35468
b7f95f49
SE
354692017-08-02 Steve Ellcey <sellcey@cavium.com>
35470
35471 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35472 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35473 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35474 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35475 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35476
5b736bc9
L
354772017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35478
35479 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35480
dfc93c41
L
354812017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35482
35483 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35484 of SHARED.
35485 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35492
2fee621d
JM
354932017-08-02 Joseph Myers <joseph@codesourcery.com>
35494
35495 [BZ #21685]
35496 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35497 bit-field expressions passed to sizeof or typeof.
35498 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35499 (__TGMATH_F128): Likewise.
35500 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35501 (__TGMATH_CF128): Likewise.
35502 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35503 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35504 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35505 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35506 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35507 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35508 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35509 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35510 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35511 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35512 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35513 (__TGMATH_UNARY_IMAG): Likewise.
35514 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35515 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35516 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35517 type.
35518 (define_vars_for_type): Handle bit_field type specially.
35519 (Tests.__init__): Declare structure with bit-field element.
35520
b358255f
L
355212017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35522
35523 [BZ #21791]
35524 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35525 (MEMCPY_CHK): Define only if SHARED is defined.
35526 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35527 Likewise.
35528 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35529 Likewise.
edf66db1
SP
35530
35531See ChangeLog.18 for earlier changes.