]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Linux: Add nds32 specific syscalls to syscall-names.list
[thirdparty/glibc.git] / ChangeLog
CommitLineData
a63b96fb
VC
12019-06-26 Vincent Chen <vincentc@andestech.com>
2
3 * sysdeps/unix/sysv/linux/syscall-names.list: Add nds32
4 specific system calls, fp_udfiex_crtl and udftrap.
5
c78b3f55
SL
62019-06-26 Stefan Liebler <stli@linux.ibm.com>
7
8 * nptl/tst-eintr1.c (tf1): Add return statement.
9 (do_test): Remove unused th variable.
10
9e6a7d9c
SL
112019-06-26 Stefan Liebler <stli@linux.ibm.com>
12
13 * locale/programs/ld-ctype.c (charclass_symbolic_ellipsis):
14 Return error if get_character fails.
15
c89e669a
SL
162019-06-25 Stefan Liebler <stli@linux.ibm.com>
17
18 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19
a55541fd
RL
202019-06-24 Rafal Luzynski <digitalfreak@lingonborough.com>
21
22 [BZ #24652]
23 * localedata/locales/szl_PL (day): Use the correct Unicode
24 sequences instead of non-ASCII characters.
25
2bd81b60
GK
262019-06-24 Grzegorz Kulik <gregorykkulik@gmail.com>
27
28 [BZ #24652]
29 * localedata/locales/szl_PL (abday): Spelling corrections.
30 (day): Likewise.
31 (abmon): Likewise.
32 (mon): Rename to...
33 (alt_mon): This, then apply spelling corrections.
34 (mon): New entry, month names in the genitive case.
35
fefa2179
RL
362019-06-21 Rafal Luzynski <digitalfreak@lingonborough.com>
37
38 [BZ #23831]
39 * localedata/locales/nl_AW (mon_thousands_sep): Set to ".".
40 * localedata/locales/nl_NL (mon_thousands_sep): Likewise.
41 (thousands_sep): Likewise.
42 (grouping): Set to 3;3.
43
85c748f9
TK
442019-06-21 Tobias Klauser <tklauser@distanz.ch>
45
46 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (INIT_ARCH): Use
47 PREPARE_VERSION_KNOWN.
48 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
49 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_2_6_39): New
50 define.
51 (VDSO_HASH_LINUX_2_6_39): Likewise.
52 (VDSO_NAME_LINUX_4_9): Likewise.
53 (VDSO_HASH_LINUX_4_9): Likewise.
54 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (INIT_ARCH): Likewise.
55 * sysdeps/unix/sysv/linux/powerpc/init-first.c
56 (_libc_vdso_platform_setup): Likewise.
57 * sysdeps/unix/sysv/linux/powerpc/time.c (INIT_ARCH): Likewise.
58 * sysdeps/unix/sysv/linux/s390/init-first.c (_libc_vdso_platform_setup):
59 Likewise.
60 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_platform_setup):
61 Likewise.
62
db13e32c
MC
632019-06-20 Mike Crowe <mac@mcrowe.com>
64
ce5b73a7
MC
65 * nptl/eintr.c: Use libsupport.
66 * nptl/tst-eintr1.c: Likewise.
67 * nptl/tst-eintr2.c: Likewise.
68 * nptl/tst-eintr3.c: Likewise.
69 * nptl/tst-eintr4.c: Likewise.
70 * nptl/tst-eintr5.c: Likewise.
71 * nptl/tst-mutex-errorcheck.c: Likewise.
72 * nptl/tst-mutex5.c: Likewise.
73
8bf225d5
MC
74 * support/test-driver.h: Add verbose_printf macro.
75
db13e32c
MC
76 * support/xtime.h: Add xclock_now() helper function.
77
21cc130b
DL
782019-06-20 Dmitry V. Levin <ldv@altlinux.org>
79 Florian Weimer <fweimer@redhat.com>
80
81 [BZ #24228]
82 * libio/genops.c (_IO_unbuffer_all)
83 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)]: Do not attempt to free wide
84 buffers and access _IO_FILE_complete members of legacy libio streams.
85 * libio/tst-bz24228.c: New file.
86 * libio/tst-bz24228.map: Likewise.
87 * libio/Makefile [build-shared] (tests): Add tst-bz24228.
88 [build-shared] (generated): Add tst-bz24228.mtrace and
89 tst-bz24228.check.
90 [run-built-tests && build-shared] (tests-special): Add
91 $(objpfx)tst-bz24228-mem.out.
92 (LDFLAGS-tst-bz24228, tst-bz24228-ENV): New variables.
93 ($(objpfx)tst-bz24228-mem.out): New rule.
94
49bc41b6
PC
952019-06-19 Paul A. Clarke <pc@us.ibm.com>
96
97 * sysdeps/powerpc/fpu/fenv_libc.h (relax_fenv_state): Add 'volatile'.
98 * sysdeps/powerpc/fpu/fpu_control.h (__FPU_MFFS): Likewise.
99 (__FPU_MFFSL): Likewise.
100 (_FPU_SETCW): Likewise.
101
335c1007
SS
1022019-06-19 Stan Shebs <stanshebs@google.com>
103 Raoni Fassina Firmino <raoni@linux.ibm.com>
104
105 [BZ #24640]
106 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c
107 [!SHARED] (__get_timebase_freq): Fix sense of a test in the
108 static-linking version.
109 * sysdeps/unix/sysv/linux/powerpc/Makefile
110 (tests-static): Add test-gettimebasefreq-static.
111 (tests): Likewise.
112 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq-static.c:
113 New file.
114
f59a54ab
RL
1152019-06-19 Rafal Luzynski <digitalfreak@lingonborough.com>
116
117 [BZ #24614]
118 * localedata/locales/nl_AW (n_sep_by_space): Set to 2 (a space
119 between the currency symbol and the minus sign).
120 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
121
f0c5a803
SL
1222019-06-19 Stefan Liebler <stli@linux.ibm.com>
123
124 [BZ #24556]
125 * string/test-strcasestr.c (check_result): Add NULL check.
126 * nss/tst-field.c (check_rewrite): Likewise.
127 * benchtests/bench-strstr.c (do_one_test): Likewise.
128 * string/test-strstr.c (check_result): Likewise.
129 * argp/argp-test.c (popt): Increase size of buf to 12.
130 * benchtests/bench-malloc-simple.c (bench):
131 Do not initialize tests array out of bounds.
132
fabf5e49
FW
1332019-06-19 Florian Weimer <fweimer@redhat.com>
134
135 [BZ #24166]
136 * dlfcn/dlfcn.h (Dl_serinfo): Do not use array of length 1 for
137 dls_serpath field.
138
2c75b545
FW
1392019-06-18 Florian Weimer <fweimer@redhat.com>
140
141 [BZ #24323]
142 * include/elf.h (DT_1_SUPPORTED_MASK): Include DF_1_PIE.
143 * elf/dl-load.c (_dl_map_object_from_fd): Check for DF_1_PIE and
144 fail when called from dlopen.
145 * elf/Makefile [have-fpie && build-shared] (tests): Add
146 tst-dlopen-pie.
147 (tst-dlopen-pie): Link with -ldl.
148 (tst-dlopen-pie.out): Add run-time dependency on tst-pie1.
149 * elf/tst-dlopen-pie.c (do_test): New file.
150
02d8b5ab
RL
1512019-06-17 Rafal Luzynski <digitalfreak@lingonborough.com>
152
153 [BZ #24614]
154 * localedata/Makefile (LOCALES): Add nl_NL.UTF-8.
155 * localedata/locales/nl_NL (n_sep_by_space): Set to 2 (a space
156 between the currency symbol and the minus sign).
157 (n_sign_posn): Set to 4 (the minus sign after the currency symbol).
158 * localedata/tst-strfmon1.c (tests): Add test data for nl_NL.UTF-8.
159
78049de0
AZ
1602019-06-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
161
112a0ae1
AZ
162 * sysdeps/unix/sysv/linux/m68k/Makefile (sysdep_routines,
163 sysdep-rtld-routines): Remove rules.
164 * sysdeps/unix/sysv/linux/m68k/Versions (libc) [GLIBC_PRIVATE]:
165 Remove __vdso_atomic_cmpxchg_32 and __vdso_atomic_barrier.
166 (ld) [GLIBC_PRIVATE]: __rtld___vdso_read_tp,
167 __rtld___vdso_atomic_cmpxchg_32, and __rtld___vdso_atomic_barrier.
168 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h
169 (atomic_compare_and_exchange_val_acq, atomic_full_barrier): Remove
170 vDSO path for SHARED.
171 * sysdeps/unix/sysv/linux/m68k/init-first.c: Remove file.
172 * sysdeps/unix/sysv/linux/m68k/libc-m68k-vdso.c: Likewise.
173 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
174 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
175 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: Likewise.
176 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.c: New file.
177
dee07df1
AZ
178 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
179 (libm-sysdep_routines): Add s_llround-power8, s_llround-power6x,
180 s_llround-power5+, s_llround-ppc64, and s_llroundf-ppc64.
181 (CFLAGS-s_llround-power8.c, CFLAGS-s_llround-power6x.c,
182 CFLAGS-s_llround-power5+.c): New rule.
183 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power5+.c:
184 New file.
185 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power6x.c:
186 Likewise.
187 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-power8.c:
188 Likewise.
189 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround-ppc64.c:
190 Likewise.
191 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf-ppc64.c:
192 Likewise.
193 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Move to ...
194 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llround.c: ... here.
195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Move to ...
196 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llroundf.c: ... here.
197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: Move to ...
198 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lround.c: ... here.
199 * sysdeps/powerpc/powerpc64/fpu/Makefile
200 [$(subdir) == math] (CFLAGS-s_llround.c): New rule.
201 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
202 (libm-sysdep_routines): Remove s_llround-* objects.
203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Remove
204 file.
205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S:
206 Likewise.
207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S:
208 Likewise.
209 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S:
210 Likewise.
211 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S:
212 Likewise.
213 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
214 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
215 * sysdeps/powerpc/powerpc64/fpu/s_lround.S: Likewise.
216 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.S: Likewise.
217 * sysdeps/powerpc/powerpc64/fpu/s_llround.c: New file.
218 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.c: Likewise.
219 * sysdeps/powerpc/powerpc64/fpu/s_lround.c: Likewise.
220 * sysdeps/powerpc/powerpc64/fpu/s_lroundf.c: Likewise.
221 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
222 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
223 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
224 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
225 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
226 * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
227
2166283f
AZ
228 * sysdeps/powerpc/fpu/s_lrintf.S: Remove file.
229 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Move to ...
230 * sysdeps/powerpc/fpu/s_lrintf.c: ... here.
231 * sysdeps/powerpc/powerpc32/fpu/Makefile
232 [$(subdir) == math] (CFLAGS-s_lrint.c): New rule.
233 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Add power4
234 optimization.
235 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
236 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Remove file.
237 * sysdeps/powerpc/powerpc32/fpu/s_lrint.c: New file.
238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
239 (CFLAGS-s_llrintf-power6.c, CFLAGS-s_llrintf-ppc32.c,
240 CFLAGS-s_llrint-power6.c, CFLAGS-s_llrint-ppc32.c,
241 CFLAGS-s_lrint-ppc32.c): New rule.
242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
243 Remove file.
244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
245 Likewise.
246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
247 Likewise.
248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
249 Likewise.
250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
251 Likewise.
252 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
253 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
254 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
255 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.c:
257 New file.
258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.c:
259 Likewise.
260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.c:
261 Likewise.
262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.c:
263 Likewise.
264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.c:
265 Likewise.
266
78049de0
AZ
267 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
268 (libm-sysdep_routines): Add s_llrint-power8, s_llrint-power6x, and
269 s_llrint-ppc64.
270 (CFLAGS-s_llrint-power8.c, CFLAGS-s_llrint-power6x.c): New rule.
271 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power6x.c: New
272 file.
273 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-power8.c:
274 Likewise.
275 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint-ppc64.c:
276 Likewise.
277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: Move to ...
278 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: ... here.
279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Move to ...
280 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrint.c: ... here.
281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Move to ...
282 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_llrintf.c: ... here.
283 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_lrint.c: New file.
284 * sysdeps/powerpc/powerpc64/fpu/Makefile: Likewise.
285 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
286 (libm-sysdep_routines): Remove s_llrint-* objects.
287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Remove
288 file.
289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S:
290 Likewise.
291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
292 * sysdeps/powerpc/powerpc64/fpu/s_llrint.c: New file.
293 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.c: Likewise.
294 * sysdeps/powerpc/powerpc64/fpu/s_lrint.c: Likewise.
295 * sysdeps/powerpc/powerpc64/fpu/s_lrintf.c: Likewise.
296 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Remove file.
297 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
298 * sysdeps/powerpc/powerpc64/fpu/s_lrint.S: Likewise.
299 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
300 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
301
48c3c123
FW
3022019-06-14 Florian Weimer <fweimer@redhat.com>
303
304 * sysdeps/unix/sysv/linux/bits/statx.h: Use string literal in
305 argument to __glibc_has_include to inhibit macro expansion.
306
8d141877
FW
3072019-06-14 Florian Weimer <fweimer@redhat.com>
308
309 * misc/sys/cdefs.h (__glibc_has_include): Do not use a
310 function-like macro, so that __has_include can inhibit expansion
311 of its argument.
312
a26e2e9f
JM
3132019-06-13 Joseph Myers <joseph@codesourcery.com>
314
cf274686
JM
315 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_ROUTER_ALERT_ISOLATE):
316 New macro.
317
a26e2e9f
JM
318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
319 Allow memset in libc.so.
320
82bc69c0
SN
3212019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
322
323 * sysdeps/aarch64/dl-dtprocnum.h: New file.
324 * sysdeps/aarch64/dl-machine.h (DT_AARCH64): Define.
325 (elf_machine_runtime_setup): Handle DT_AARCH64_VARIANT_PCS.
326 (elf_machine_lazy_rel): Check STO_AARCH64_VARIANT_PCS and bind such
327 symbols at load time.
328 * sysdeps/aarch64/linkmap.h (struct link_map_machine): Add variant_pcs.
329
55f82d32
SN
3302019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
331
332 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
333 (DT_AARCH64_VARIANT_PCS): Define.
334
21bd039b
AZ
3352019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
336
11926960
AZ
337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
338 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
339 objects.
340 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
341 Remove file.
342 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
343 Likewise.
344 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
346 Likewise.
347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
348 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
349 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
350 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
351 Remove s_finite* objects.
352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
354 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
358 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
359 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
360 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
361 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
362
a7218676
AZ
363 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
364 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
365
6427a6ac
AZ
366 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
367 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
368 objects.
369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
370 Remove file.
371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
372 Likewise.
373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
374 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
375 Likewise.
376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
377 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
378 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
380 Remove s_isinf* and s_isinf* objects.
381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
382 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
387 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
388 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
389 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
390 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
391
a8c590f7
AZ
392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
393 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
394
2666f963
AZ
395 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
396 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
397 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
398 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
399 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
400 s_isnanf-* objects.
401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
402 Remove file
403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
404 Likewise.
405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
406 Likewise.
407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
408 Likewise.
409 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
411 Likewise.
412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
413 Likewise.
414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
415 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
416 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
417 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
418 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
419 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
420 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
421 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
422 Remove s_isnan-* and s_isnanf-* objects.
423 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
424 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
425 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
426 Likewise.
427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
432 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
433 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
434 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
435 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
436 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
437 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
438 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
439 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
440
197dbda1
AZ
441 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
442 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
443
2731a326
AZ
444 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
445 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
446 CFLAGS-bench-isfinite.c): New rule.
447 * benchtests/isnan-input: New file.
448 * benchtests/isinf-input: New file.
449 * benchtests/isfinite-input: New file.
450
e41d66e4
AZ
451 * sysdeps/powerpc/fpu/s_copysign.c: New file.
452 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
453 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
454 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
456 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
457 s_copysign-ppc32.
458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
459 Remove file.
460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
461 Likewise.
462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
463 Likewise.
464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
465 Likewise.
466 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
467 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
468 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
469 Remove s_copysign-power6 s_copysign-ppc64.
470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
471 Remove file.
472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
473 Likewise.
474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
476 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
477 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
478 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
479 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
480
21bd039b
AZ
481 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
482 round_to_integer_float, round_mode): Add RINT handling.
483 (reset_fenv_mode): New symbol.
484 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
485 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
486 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
487 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
488 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
489 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
490
cfa61144
FW
4912019-06-12 Florian Weimer <fweimer@redhat.com>
492
493 [BZ #24632]
494 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
495 * libio/freopen.c (freopen): Use it.
496
744e8296
FW
4972019-06-12 Florian Weimer <fweimer@redhat.com>
498
499 Linux: Deprecate sysctl.
500 * include/sysctl.h (__sysctl): Remove declaration.
501 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
502 check.
503 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
504 (sysctl): Add deprecation attribute.
505 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
506 directly, to avoid the deprecation warning. Do not include
507 <string.h>.
508 (__sysctl): Remove hidden alias.
509
5dad6ffb
FW
5102019-06-12 Florian Weimer <fweimer@redhat.com>
511
512 Linux: Use kernel headers for statx definitions if available.
513 * include/bits/statx-generic.h: New file.
514 * include/bits/types/struct_statx.h: Likewise.
515 * include/bits/types/struct_statx_timestamp.h: Likewise.
516 * io/Makefile (headers): Add bits/statx-generic.h.
517 * io/bits/statx-generic.h: New file. Partly copied from
518 io/bits/statx.h.
519 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
520 define original_statx.
521 * io/bits/types/struct_statx.h: Likewise.
522 * io/bits/types/struct_statx_timestamp.h: Likewise.
523 (statx_generic): Use original_statx.
524 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
525 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
526
4e75c2a4
FW
5272019-06-12 Florian Weimer <fweimer@redhat.com>
528
529 * misc/sys/cdefs.h (__glibc_has_include): Define.
530
680942b0
WD
5312019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
532
533 * string/memmem.c (__memmem): Rewrite to improve performance.
534
5e0a7ecb
WD
5352019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
536
537 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
538 warning.
539 (two_way_long_needle): Block inlining.
540 * string/strstr.c (strstr2): Add new function.
541 (strstr3): Likewise.
542 (STRSTR): Completely rewrite strstr to improve performance.
543
80b2bfb5
WD
5442019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
545
546 * benchtests/bench-strstr.c (test_hard_needle): New function.
547
e6e24243
JM
5482019-06-10 Joseph Myers <joseph@codesourcery.com>
549
550 * malloc/tst-calloc.c: Include <libc-diag.h>.
551 (null_test): Ignore -Wunused-result around calls to calloc.
552 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
553 (do_test): Ignore -Wunused-result around call to malloc.
554
51ea67d5
FW
5552019-06-07 Florian Weimer <fweimer@redhat.com>
556
557 Linux: Add getdents64 system call.
558 * include/dirnent.h (getdents): Add comment and change buffer
559 argument type to void *.
560 (getdents64): Likewise. Add hidden prototype.
561 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
562 getdents64.
563 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
564 Add tst-getdents64.
565 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
566 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
567 argument type to void *.
568 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
569 Add hidden definition and getdents64 alias.
570 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
571 Likewise.
572 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
573 * manual/filesys.texi (Accessing Directories): Add Low-level
574 Directory Access node reference.
575 (Opening a Directory): Cross-reference it.
576 (Low-level Directory Access): New node.
577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
578 getdents64.
579 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
580 Likewise.
581 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
582 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
583 Likewise.
584 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
585 Likewise.
586 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
587 Likewise.
588 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
589 Likewise.
590 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
591 Likewise.
592 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
593 Likewise.
594 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
595 Likewise.
596 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
597 (GLIBC_2.30): Likewise.
598 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
599 (GLIBC_2.30): Likewise.
600 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
601 (GLIBC_2.30): Likewise.
602 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
603 (GLIBC_2.30): Likewise.
604 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
605 Likewise.
606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
607 (GLIBC_2.30): Likewise.
608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
609 (GLIBC_2.30): Likewise.
610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
611 (GLIBC_2.30): Likewise.
612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
613 (GLIBC_2.30): Likewise.
614 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
615 Likewise.
616 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
617 Likewise.
618 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
619 Likewise.
620 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
621 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
622 Likewise.
623 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
624 Likewise.
625 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
626 Likewise.
627 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
628 Likewise.
629
de751ebc
PC
6302019-06-06 Paul A. Clarke <pc@us.ibm.com>
631
632 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
633 (__FPU_MFFS): New.
634 (__FPU_MFFSL): New.
635 (_FPU_GET_RC): New.
636 (_FPU_GETCW): Use __FPU_MFFS().
637 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
638
28dd3939
FW
6392019-06-06 Florian Weimer <fweimer@redhat.com>
640
641 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
642 internal GCC preprocessor identifier __has_include__.
643
0158473d
PC
6442019-06-05 Paul A. Clarke <pc@us.ibm.com>
645
646 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
647 with call to equivalent function.
648
e863dbf6
FW
6492019-06-04 Florian Weimer <fweimer@redhat.com>
650
651 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
652 (do_release_shlib): Adjust for __twalk_r.
653 (__gconv_release_shlib): Call __twalk_r.
654
4802be92
AS
6552019-06-04 Andreas Schwab <schwab@suse.de>
656
657 [BZ #18830]
658 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
659 no irreversible characters occurred.
660 * iconv/gconv_simple.c (internal_ucs4_loop)
661 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
662 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
663 (ucs4_internal_loop_single, internal_ucs4le_loop)
664 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
665 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
666 (ucs4le_internal_loop_single): Add const to outend.
667 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
668 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
669 * iconv/Makefile (tests): Add tst-iconv7.
670 * iconv/tst-iconv7.c: New file.
671
dc91a19e
JM
6722019-06-03 Joseph Myers <joseph@codesourcery.com>
673
674 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
675
6a1a9a49 6762019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
677
678 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
679 * sysdeps/unix/sysv/linux/arm/Makefile
680 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
681 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
682 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
683 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
684 compatibility symbols.
685
0bb8f8c7
FW
6862019-05-31 Florian Weimer <fweimer@redhat.com>
687
688 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
689 system calls for the arm architecture: breakpoint, get_tls,
690 set_tls, usr26, usr32.
691
9250e661
GG
6922019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
693
694 * sysdeps/powerpc/Makefile
695 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
696 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
697 Declare '.machine power7' to get support for ldbrx.
698 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
699 directive based on the directory of the file.
700 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
701 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
702 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
703 '.machine' directive.
704 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
705 (VADDUQM_V7_V8): Remove.
706 (__STRCASECMP): Replace macros with actual instructions.
707 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
708 '.machine' directive.
709 (VCLZD_V8_v7): Remove.
710 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
711
fbd6c928
AZ
7122019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
713
714 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
715 Remove file.
716 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
717
e47308c9
AZ
7182019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
719
720 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
721 NEARBYINT handling.
722 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
723 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
724 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
725 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
726 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
727 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
728
157cda1f 7292019-05-28 mansayk <6688000@gmail.com>
730
731 [BZ #24370]
732 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
733
182a3746 7342019-05-28 mansayk <6688000@gmail.com>
735
736 [BZ #24369]
737 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
738 (abmon): Likewise, but remove the trailing dots.
739
c6df1ce3
JM
7402019-05-28 Joseph Myers <joseph@codesourcery.com>
741
742 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
743
85188d82
FW
7442019-05-27 Florian Weimer <fweimer@redhat.com>
745
746 * nptl/nptl-init.c: Add comment.
747
5c23c821
FW
7482019-05-24 Florian Weimer <fweimer@redhat.com>
749
750 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
751 struct in_addr/struct in6_addr alignment.
752
bee1f2c4
JM
7532019-05-23 Joseph Myers <joseph@codesourcery.com>
754
755 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
756 (F_SEAL_FUTURE_WRITE): New macro.
757
481c30cb
AH
7582019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
759
760 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
761 * elf/tst-ldconfig-bad-aux-cache.c: New file.
762 * elf/tst-ldconfig_aux-cache.root: New directory.
763 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
764 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
765 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
766
cb755eed
ZW
7672019-05-22 Zack Weinberg <zackw@panix.com>
768
769 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
770 host type.
771 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
772 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
773
774 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
777 Delete.
778
779 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
780 Issue an #error if used with a compiler in SPE-float mode.
781 * sysdeps/powerpc/powerpc32/__longjmp_common.S
782 * sysdeps/powerpc/powerpc32/setjmp_common.S
783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
789 Remove code to preserve SPE register state.
790
791 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
792 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
793 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
794 Remove __SPE__ ifndefs.
795
46ae0732
WD
7962019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
797
798 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
799 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
800 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
801 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
802 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
803 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
804 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
805 (INNER_LOOP_ITERS_MEDIUM): New define.
806 (INNER_LOOP_ITERS_SMALL): New define.
807 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
808 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
809 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
810 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
811 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
812
004e52fe
AZ
8132019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
814
815 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
816 New define.
817 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
818 (SEMTIMEDOP_IPC_ARGS): Likewise.
819
c9c15ac3
FW
8202019-05-21 Florian Weimer <fweimer@redhat.com>
821
822 [BZ #24584]
823 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
824 before updating __counter field and release it afterwards. Add
825 overflow check.
826 * iconv/gconv.h (struct __gconv_step): Mention synchronization
827 requirement for __counter member.
828
7e740ab2
FW
8292019-05-21 Florian Weimer <fweimer@redhat.com>
830
831 [BZ #24583]
832 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
833 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
834 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
835 instead of __gconv_release_step.
836 * libio/Makefile (tests): Add tst-wfile-gconv.
837 (tests-container): Add tst-wfile-ascii.
838 (tst-wfile-gconv-ENV): Enable mtrace.
839 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
840 (tests-special): Add tst-wfile-gconv-mem.out.
841 (tst-wfile-gconv.out): Depend on locales.
842 (tst-wfile-gconv-mem.out): Add mtrace rule.
843 * libio/tst-wfile-ascii.c: New file.
844 * libio/tst-wfile-gconv.c: Likewise.
845
09e1b0e3
FW
8462019-05-20 Florian Weimer <fweimer@redhat.com>
847
848 [BZ #24588]
849 libio: Remove codecvt vtable.
850 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
851 __libio_codecvt.
852 * libio/iofgetpos.c (_IO_new_fgetpos): Call
853 __libio_codecvt_encoding.
854 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
855 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
856 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
857 * libio/iofwide.c (__libio_codecvt): Remove variable.
858 (_IO_fwide): Do not copy __libio_codecvt.
859 (__libio_codecvt_out): Rename from do_out and export.
860 (do_unshift): Remove function.
861 (__libio_codecvt_in): Rename from do_in and export.
862 (__libio_codecvt_encoding): Rename from do_encoding and export.
863 (do_always_noconv): Remove function.
864 (__libio_codecvt_length): Rename from do_length and export.
865 (do_max_length): Remove function.
866 * libio/libio.h (enum __codecvt_result): Remove definition; moved
867 to libioP.h.
868 (struct _IO_codecvt): Remove fields __codecvt_destr,
869 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
870 __codecvt_do_encoding, __codecvt_do_always_noconv,
871 __codecvt_do_length, __codecvt_do_max_length.
872 * libio/libioP.h (enum __codecvt_result): Define; moved from
873 libio.h.
874 (__libio_codecvt_out, __libio_codecvt_in)
875 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
876 functions.
877 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
878 (_IO_wfile_underflow): Call __libio_codecvt_in.
879 (_IO_wfile_underflow): Likewise.
880 (_IO_wfile_underflow_mmap): Likewise.
881 (_IO_wfile_sync): Call __libio_codecvt_encoding,
882 __libio_codecvt_length.
883 (adjust_wide_data): Call __libio_codecvt_encoding,
884 __libio_codecvt_in.
885 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
886 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
887 __libio_codecvt_length.
888
75c51570
FW
8892019-05-20 Florian Weimer <fweimer@redhat.com>
890
891 * support/support.h (support_sbindir_prefix): Declare.
892 (support_install_rootsbindir): Update comment.
893 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
894 * support/support_paths.c (support_sbindir_prefix): Define.
895
ff6bec7d
MC
8962019-05-20 Mike Crowe <mac@mcrowe.com>
897
b62bb3bc
MC
898 * support/timespec.c: Add backslash to correct newline in failure
899 message.
900
ff6bec7d
MC
901 * support/timespec.h: Correct confusing comment.
902
dfba907f
AZ
9032019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
904
236c18e5
AZ
905 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
906 define.
907 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
908 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
909 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
910 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
911
dfba907f
AZ
912 [BZ #24570]
913 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
914 usage.
915
13886008
JM
9162019-05-20 Joseph Myers <joseph@codesourcery.com>
917
918 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
919 (NT_ARM_PACG_KEYS): Likewise.
920
1f50f2ad
WD
9212019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
922
923 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
924 (tcache_put): Remove redundant assert.
925 (tcache_get): Remove redundant asserts.
926 (__libc_malloc): Check tcache count is not zero.
927 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
928
fef7c63c
FW
9292019-05-17 Florian Weimer <fweimer@redhat.com>
930
931 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
932
5f161b23
JM
9332019-05-16 Joseph Myers <joseph@codesourcery.com>
934
935 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
936 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
937 0x050100].
938 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
939 Likewise.
940 * sysdeps/unix/sysv/linux/sh/kernel-features.h
941 (__ASSUME_STATX): Likewise.
942
ec255a97
FW
9432019-05-16 Florian Weimer <fweimer@redhat.com>
944
945 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
946 flags argument.
947 (LINE_PARSER): Do not map IPv4 addresses.
948 (internal_nis_gethostent_r): Remove flags argument. Adjust call
949 to parse_line.
950 (_nss_nis_gethostent_r): Always pass AF_INET to
951 internal_nis_gethostent_r.
952 (internal_gethostbyname2_r): Remove flags argument. Adjust call
953 to parse_line.
954 (_nss_nis_gethostbyname2_r): Adjust call to
955 internal_nis_gethostent_r.
956 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
957 call to internal_nis_gethostent_r.
958 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
959 from parse_line.
960 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
961 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
962 Remove flags argument. Do not map IPv4 addresses.
963 (internal_nisplus_gethostent_r): Adjust call to
964 _nss_nisplus_parse_hostent.
965 (internal_gethostbyname2_r): Remove flags argument. Adjust call
966 to _nss_nisplus_parse_hostent.
967 (_nss_nisplus_gethostbyname2_r): Adjust call to
968 internal_gethostbyname2_r.
969 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
970 Adjust call to internal_gethostbyname2_r.
971 (_nss_nisplus_gethostbyaddr_r): Adjust call to
972 _nss_nisplus_parse_hostent.
973 (_nss_nisplus_gethostbyname4_r): Adjust call to
974 internal_gethostbyname2_r.
975
9c02d078
FW
9762019-05-16 Florian Weimer <fweimer@redhat.com>
977
978 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
979 Remove flags.
980 (LINE_PARSER): Remove address mapping.
981 (EXTRA_ARGS_VALUE): Remove flags argument.
982 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
983 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
984 gethostbyname3_multi.
985 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
986 _nss_files_gethostbyname3_r.
987 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
988
85b0e1e8
FW
9892019-05-16 Florian Weimer <fweimer@redhat.com>
990
991 * support/support_test_compare_blob.c (report_blob): Report
992 incorrect NULL blobs.
993
11b451c8
MW
9942019-05-15 Mark Wielaard <mark@klomp.org>
995
996 [BZ# 24476]
997 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
998 __libc_once_get (once) and static_buf == NULL.
999 (__dlerror): Check we have a valid key, set result to static_buf
1000 otherwise.
1001
32ff3975
AS
10022019-05-15 Andreas Schwab <schwab@suse.de>
1003
1004 [BZ #20568]
1005 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
1006 __codecvt_do_length.
1007 * libio/Makefile (tests): Add tst-wfile-sync.
1008 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
1009 * libio/tst-wfile-sync.c: New file.
1010 * libio/tst-wfile-sync.input: New file.
1011
a9368c34
FW
10122019-05-15 Florian Weimer <fweimer@redhat.com>
1013
1014 nss: Turn __nss_database_lookup into a compatibility symbol.
1015 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
1016 __nss_database_lookup.
1017 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
1018 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
1019 __nss_database_lookup.
1020 (__nss_next): Move to …
1021 * nss/compat-lookup.c (nss_next): … here. Change it to fail
1022 unconditionally.
1023 (__nss_database_lookup): New function.
1024 * nss/Versions (GLIBC_2.0): Update comment.
1025 (GLIBC_PRIVATE): Export __nss_database_lookup2.
1026 * grp/initgroups.c (internal_getgrouplist): Call
1027 __nss_database_lookup2 instead of __nss_database_lookup.
1028 * nscd/aicache.c (addhstaiX): Likewise.
1029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
1030 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
1031 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
1032 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
1033 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
1034 Likewise.
1035 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
1036 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
1037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1038
d50f0918 10392019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 1040
d50f0918
AH
1041 * support/support.h (support_install_rootsbindir): New variable.
1042 * support/support_paths.c: Likewise.
1043 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
1044
7ac6fad9
FW
10452019-05-15 Florian Weimer <fweimer@redhat.com>
1046
1047 * iconv/gconv.h (__gconv_transliterate): Move declaration …
1048 * iconv/gconv_int.h (__gconv_transliterate): … here.
1049 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
1050 * iconv/skeleton.c: Likewise.
1051
04b261bd
FW
10522019-05-14 Florian Weimer <fweimer@redhat.com>
1053
1054 Linux: Add the tgkill function.
1055 * bits/signal_ext.h: New file.
1056 * manual/signal.texi (Signaling Another Process): Document tgkill.
1057 * signal/Makefile (headers): Add bits/signal_ext.h.
1058 * signal/signal.h: Include <bits/signal_ext.h>.
1059 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
1060 (tst-tgkill): Link with libpthread.
1061 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
1062 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
1063 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
1064 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
1065 tgkill.
1066 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1067 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1068 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
1069 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1070 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1071 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1072 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1073 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1074 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1075 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1076 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
1077 Likewise.
1078 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1079 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1080 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1081 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1082 Likewise.
1083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1084 Likewise.
1085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
1086 Likewise.
1087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
1088 Likewise.
1089 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
1090 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1091 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1092 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1093 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1094 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1095 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1096 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1097
6807f47b
CD
10982019-05-14 Carlos O'Donell <carlos@redhat.com>
1099
1100 * manual/search.texi (Tree Search Function): Adjust twalk_r
1101 documentation.
1102
fdb8a0be
AZ
11032019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1104
da2b83ef
AZ
1105 [BZ #24544]
1106 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
1107 pre-defined value.
1108
c7ac9caa
AZ
1109 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
1110 * support/support.h (support_bindir_prefix): New variable.
1111 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
1112
91f043ae
AZ
1113 * config.make.in (bindir): New variable.
1114
c50e1c26
AZ
1115 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
1116 (lll_trylock): Call __lll_trylock.
1117 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
1118 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
1119 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
1120 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1121 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
1122 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
1123 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1124 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1125 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
1126 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
1127 lowlevellock-futex.h.
1128
959aff9f
AZ
1129 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1130 initialization for LLL_LOCK_INITIALIZER different than 0.
1131 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
1132 Assume LLL_LOCK_INITIALIZER being 0.
1133 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
1134 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
1135 Likewise.
1136 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
1137 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
1138
d7e4c642
AZ
1139 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
1140 Optimize futex call and add systemtap probe.
1141
fdb8a0be
AZ
1142 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
1143 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
1144 __libc_disable_asynccancel, __librt_enable_asynccancel,
1145 __libc_disable_asynccancel, __librt_enable_asynccancel,
1146 __librt_disable_asynccancel): Move to ...
1147 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
1148 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
1149 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
1150 * sysdeps/generic/single-thread.h: New file.
1151 * sysdeps/unix/sysdep.h: Include single-thread.h.
1152 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
1153 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1154
f6efec90
MF
11552019-05-08 Mike FABIAN <mfabian@redhat.com>
1156
1157 [BZ #24535]
1158 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
1159 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
1160 Unicode 12.1.0.
1161 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
1162 * localedata/unicode-gen/PropList.txt: Likewise.
1163 * localedata/unicode-gen/UnicodeData.txt: Likewise.
1164 * localedata/charmaps/UTF-8: Regenerate.
1165 * localedata/locales/i18n_ctype: Likewise.
1166 * localedata/locales/tr_TR: Likewise.
1167 * localedata/locales/translit_circle: Likewise.
1168 * localedata/locales/translit_cjk_compat: Likewise.
1169 * localedata/locales/translit_combining: Likewise.
1170 * localedata/locales/translit_compat: Likewise.
1171 * localedata/locales/translit_font: Likewise.
1172 * localedata/locales/translit_fraction: Likewise.
1173
5ad533e8
WD
11742019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
1175
1176 [BZ #24531]
1177 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
1178 (do_set_tcache_count): Only update if count is small enough.
1179 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
1180
4aee85f9
FW
11812019-05-10 Florian Weimer <fweimer@redhat.com>
1182
1183 * nptl/sem_close.c (struct walk_closure): Define.
1184 (walker): Adjust for __twalk_r.
1185 (sem_close): Call __twalk_r.
1186
eb669ff5
AZ
11872019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1188
1189 * support/timespec.c (test_timespec_before_impl,
1190 test_timespec_equal_or_after_impl): print timespec member as intmax_t
1191 insted of long int.
1192
51983996
MC
11932019-05-09 Mike Crowe <mac@mcrowe.com>
1194
44ac6ee9
MC
1195 * nptl/tst-abstime.c: Use libsupport.
1196
495514ee
MC
1197 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
1198 small bug where only tv.tv_usec was checked which could cause an
1199 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
1200 than a second.
1201
1202 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
1203 libsupport.
1204
40d0816f
MC
1205 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
1206 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
1207
d8e0b901
MC
1208 * nptl/tst-cond11.c: Use libsupport.
1209
51983996
MC
1210 * support/timespec.h: New file. Provide timespec helper functions
1211 along with macros in the style of those in check.h.
1212 * support/timespec.c: New file. Implement check functions declared
1213 in support/timespec.h.
1214 * support/timespec-add.c: New file from gnulib containing
1215 timespec_add implementation that handles overflow.
1216 * support/timespec-sub.c: New file from gnulib containing
1217 timespec_sub implementation that handles overflow.
1218 * support/README: Mention timespec.h.
1219
18aa51ee
SN
12202019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
1221
1222 [BZ #24537]
1223 * nptl/Makefile: Move tst-eintr1 to xtests.
1224
252296c6
AZ
12252019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1226
ae45cf84
AZ
1227 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
1228 TRUNC handling.
1229 (round_mode): Add definition for TRUNC.
1230 * sysdeps/powerpc/fpu/s_trunc.c: New file.
1231 * sysdeps/powerpc/fpu/s_truncf.c: New file.
1232 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
1233 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1234 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
1235 Likewise.
1236 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
1237 Likewise.
1238 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
1239 Likewise.
1240 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
1241 Likewise.
1242 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
1243 file.
1244 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
1245 Likewise.
1246 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
1247 Likewise.
1248 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
1249 Likewise.
1250 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
1251 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
1252 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1253 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
1254 s_truncf-power5+, and s_truncf-ppc64.
1255 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
1256 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
1257 file.
1258 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
1259 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
1260 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
1261 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
1262 file.
1263 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
1264 Likewise.
1265 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
1266 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
1267 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1268 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
1269 s_truncf-power5+, and s_truncf-ppc64.
1270 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
1271 file.
1272 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
1273 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
1274 Likewise.
1275 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
1276 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1277 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1278 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
1279 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
1280
a1cb1888
AZ
1281 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
1282 ROUND handling.
1283 (round_mode): Add definition for ROUND.
1284 (round_to_integer_float): Likewise.
1285 * sysdeps/powerpc/fpu/s_round.c: New file.
1286 * sysdeps/powerpc/fpu/s_roundf.c: New file.
1287 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
1288 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1289 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
1290 Likewise.
1291 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
1292 Likewise.
1293 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
1294 Likewise.
1295 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
1296 Likewise.
1297 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
1298 file.
1299 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
1300 Likewise.
1301 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
1302 Likewise.
1303 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
1304 Likewise.
1305 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
1306 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
1307 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
1308 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
1309 s_roundf-power5+, and s_roundf-ppc64.
1310 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
1311 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
1312 file.
1313 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
1315 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
1316 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
1317 file.
1318 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
1319 Likewise.
1320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
1321 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
1322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1323 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
1324 s_roundf-power5+, and s_roundf-ppc64.
1325 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
1326 file.
1327 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
1328 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1329 Likewise.
1330 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1331 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1332 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1333 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1334 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1335
252296c6
AZ
1336 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1337 Add FLOOR option.
1338 (round_mode): Add definition for FLOOR.
1339 * sysdeps/powerpc/fpu/s_floor.c: New file.
1340 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1341 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1342 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1344 Remove file.
1345 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1346 Likewise
1347 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1348 Likewise.
1349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1350 Likewise.
1351 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1352 New file.
1353 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1354 Likewise.
1355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1356 Likewise.
1357 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1358 Likewise.
1359 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1360 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1361 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1362 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1363 s_floorf-power5+, and s_floorf-ppc64.
1364 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1365 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1366 file.
1367 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1369 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1370 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1371 file.
1372 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1373 Likewise.
1374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1375 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1377 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1378 s_floorf-power5+, and s_floorf-ppc64.
1379 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1380 file.
1381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1382 file.
1383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1384 Likewise.
1385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1386 Likewise.
1387 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1388 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1389 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1390 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1391
33647a72
MC
13922019-05-08 Mike Crowe <mac@mcrowe.com>
1393
1394 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1395 clock_gettime wrapper for use in tests that fails the test rather
1396 than returning failure.
1397
1398 * support/xtime.h: New file to declare xclock_gettime.
1399
1400 * support/Makefile: Add xclock_gettime.c.
1401
1402 * support/README: Mention xtime.h.
1403
b2f601ba
FW
14042019-05-08 Florian Weimer <fweimer@redhat.com>
1405
1406 malloc/tst-mallocfork2: Use process-shared barriers.
1407 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1408 (signal_count, sigusr1_sender_pid): Remove.
1409 (iterations): Define constant.
1410 (shared): New variable.
1411 (sigusr1_received): Update comment.
1412 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1413 (signal_sender): Optional use barriers to avoid sending signals
1414 during irrelevant times.
1415 (do_it): Initialize variable shared. Use xfork for error
1416 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1417 the iteration count, independent of signal delivery. Check for
1418 deadlocks in fork. Introduce barriers for reducing signal
1419 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1420 replaced by the barriers. Count signals during fork/free/malloc
1421 and report them.
1422 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1423
c4a392cf
JM
14242019-05-07 Joseph Myers <joseph@codesourcery.com>
1425
7621676f
JM
1426 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1427 version to 5.1.
1428 (clock_adjtime64) New syscall.
1429 (clock_getres_time64) Likewise.
1430 (clock_gettime64) Likewise.
1431 (clock_nanosleep_time64) Likewise.
1432 (clock_settime64) Likewise.
1433 (futex_time64) Likewise.
1434 (io_pgetevents_time64) Likewise.
1435 (io_uring_enter) Likewise.
1436 (io_uring_register) Likewise.
1437 (io_uring_setup) Likewise.
1438 (mq_timedreceive_time64) Likewise.
1439 (mq_timedsend_time64) Likewise.
1440 (pidfd_send_signal) Likewise.
1441 (ppoll_time64) Likewise.
1442 (pselect6_time64) Likewise.
1443 (recvmmsg_time64) Likewise.
1444 (rt_sigtimedwait_time64) Likewise.
1445 (sched_rr_get_interval_time64) Likewise.
1446 (semtimedop_time64) Likewise.
1447 (timer_gettime64) Likewise.
1448 (timer_settime64) Likewise.
1449 (timerfd_gettime64) Likewise.
1450 (timerfd_settime64) Likewise.
1451 (utimensat_time64) Likewise.
1452
c4a392cf
JM
1453 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1454 version to 9 branch.
1455
32e902a9
AY
14562019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1457
1458 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1459 __memmove_thunderx2 to the list of implementations
1460 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1461 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1462 (__memmove_thunderx2): Rewritten using SIMD ld/st
1463 (__memcpy_thunderx2): Fixed handling overlapping cases.
1464 Used ldp/stp instead of ldr/str if possible. Made loops
1465 tails branchless.
1466
ac3da35d
FW
14672019-05-03 Florian Weimer <fweimer@redhat.com>
1468
1469 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1470
b2af6fb2
AZ
14712019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1472
7dfde28a 1473 [BZ #24506]
b2af6fb2
AZ
1474 * elf/tst-pldd.c (in_str_list): New function.
1475 (do_test): Add default names for ld and libc as one option.
1476
7b807a35
FW
14772019-05-02 Florian Weimer <fweimer@redhat.com>
1478
1479 misc: Add twalk_r function.
1480 * include/search.h (__twalk_r): Declare.
1481 * manual/examples/twalk.c: New file.
1482 * manual/search.texi (Tree Search Function): Document twalk_r.
1483 * misc/Versions (2.30): Export twalk_r.
1484 (GLIBC_PRIVATE): Export __twalk_r.
1485 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1486 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1487 (twalk_r): Add weak alias.
1488 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1489 (walk_trace): New variable.
1490 (struct twalk_with_twalk_r_closure): Define.
1491 (twalk_with_twalk_r_action): New function.
1492 (twalk_with_twalk_r): Likewise.
1493 (walk_action): Call walk_trace_add.
1494 (walk_tree_with): Rename from walk_tree. Add walk argument.
1495 (walk_tree): New function.
1496 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1497 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1498 Likewise.
1499 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1500 Likewise.
1501 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1502 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1503 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1504 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1505 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1506 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1507 Likewise.
1508 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1509 Likewise.
1510 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1511 Likewise.
1512 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1513 (GLIBC_2.30): Likewise.
1514 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1515 (GLIBC_2.30): Likewise.
1516 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1517 (GLIBC_2.30): Likewise.
1518 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1519 (GLIBC_2.30): Likewise.
1520 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1521 Likewise.
1522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1523 (GLIBC_2.30): Likewise.
1524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1525 (GLIBC_2.30): Likewise.
1526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1527 (GLIBC_2.30): Likewise.
1528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1529 (GLIBC_2.30): Likewise.
1530 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1531 Likewise.
1532 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1533 Likewise.
1534 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1535 Likewise.
1536 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1537 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1538 Likewise.
1539 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1540 Likewise.
1541 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1542 Likewise.
1543 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1544 Likewise.
1545
20aa5819
PE
15462019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1547
1548 Make mktime etc. compatible with __time64_t
1549 Keep these functions compatible with Gnulib while adding
1550 __time64_t support. The basic idea is to move private API
1551 declarations from include/time.h to time/mktime-internal.h, since
1552 the former file cannot easily be shared with Gnulib whereas the
1553 latter can.
1554 Also, do some other minor cleanup while in the neighborhood.
1555 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1556 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1557 since Gnulib needs it.
1558 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1559 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1560 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1561 (in_time_t_range): New static function.
1562 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1563 so that glibc users are not tempted to use __time64_t.
1564 * time/mktime-internal.h: Rewrite so that it does both glibc
1565 and Gnulib work. Include time.h if not _LIBC.
1566 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1567 (__time64_t): New type or macro, moved here from
1568 posix/bits/types.h.
1569 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1570 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1571 from include/time.h.
1572 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1573 New macros, taken from GNulib.
1574 (__mktime_internal): New prototype, moved here from include/time.h.
1575 * time/mktime.c (mktime_min, mktime_max, convert_time)
1576 (ranged_convert, __mktime_internal, __mktime64):
1577 * time/timegm.c (__timegm64):
1578 Use __time64_t, not time_t.
1579 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1580 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1581 Rename from mktime.
1582 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1583 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1584 for libc_hidden_def.
1585 Include errno.h.
1586 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1587 Rename from timegm.
1588 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1589
87c266d7
MR
15902019-04-30 Maciej W. Rozycki <macro@wdc.com>
1591
1592 [BZ #19444]
1593 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1594 from `-Wmaybe-uninitialized'.
1595 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1596
c4c0848b
AZ
15972019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1598
6cac323c
AZ
1599 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1600 function.
1601 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1602 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1603 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1604 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1605 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1607 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1609 Remove file.
1610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1611 Likewise.
1612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1613 Likewise.
1614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1615 Likewise.
1616 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1617 New file.
1618 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1619 Likewise.
1620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1621 Likewise.
1622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1623 Likewise.
1624 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1625 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1626 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1627 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1628 Likewise.
1629 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1630 Likewise.
1631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1632 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1633 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1634 file.
1635 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1636 Likewise.
1637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1638 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1639 * here.
1640 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1641 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1642 s_ceilf-power5+, and s_ceilf-ppc64.
1643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1644 file.
1645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1646 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1648 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1649 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1650 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1651 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1652
c4c0848b
AZ
1653 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1654 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1655 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1656
f492fc99
YD
16572019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1658
1659 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1660 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1661 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1662 (sem_getvalue): Likewise.
1663
c57afec0
FW
16642019-04-26 Florian Weimer <fweimer@redhat.com>
1665
1666 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1667 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1668
a8ff215e
FW
16692019-04-26 Florian Weimer <fweimer@redhat.com>
1670
1671 Makeconfig: Move -Wl,-rpath-link options before library references.
1672 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1673 (link-libc): Remove $(link-libc-rpath-link).
1674
16752019-04-25 Florian Weimer <fweimer@redhat.com>
1676
1677 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1678 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1679 (+link-static-before-libc): Remove $(CC).
1680 (+link-static, +link-static-tests): Add $(CC).
1681 (+link-before-libc): Remove $(CC).
1682 (+link, +link-pie, +link-pie-printers): Add $(CC).
1683
e30fb31c
FW
16842019-04-26 Florian Weimer <fweimer@redhat.com>
1685
1686 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1687 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1688 (+link-static-before-libc): Remove $(CC).
1689 (+link-static, +link-static-tests): Add $(CC).
1690 (+link-before-libc): Remove $(CC).
1691 (+link, +link-pie, +link-pie-printers): Add $(CC).
1692
deacca00
DA
16932019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1694
1695 [BZ#24484]
1696 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1697
b5ffdc48
FW
16982019-04-25 Florian Weimer <fweimer@redhat.com>
1699
1700 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1701 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1702 (bench-link-targets): New variable.
1703 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1704
94a4e9e4
FW
17052019-04-25 Florian Weimer <fweimer@redhat.com>
1706
1707 Also enable BIND_NOW for programs if --enable-bind-now.
1708 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1709 (+link-pie): Use $(link-extra-flags).
1710 (+link-static): Likewise.
1711 [! $(build-pie-default)] (+link): Likewise.
1712 * manual/install.texi (Configuring and compiling): Update
1713 --enable-bind-now description.
1714 * INSTALL: Regenerated.
1715
fe92a91f
WD
17162019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1717
1718 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1719 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1720
f9b645b4
MF
17212019-04-24 Mike Frysinger <vapier@gentoo.org>
1722
1723 [BZ #18465]
1724 * malloc/Makefile (others): Add memusagestat.
1725 ($(objpfx)memusagestat): Delete rule.
1726 (LDLIBS-memusagestat): New variable.
1727
439bf534
FW
17282019-04-24 Florian Weimer <fweimer@redhat.com>
1729
1730 * locale/Makefile (tests-special): Guard setting by
1731 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1732 to run while cross-compiling.
1733
1a4c2735
AZ
17342019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1735
1736 [BZ #18035]
1737 * elf/Makefile (tests-container): Add tst-pldd.
1738 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1739 (E(find_maps)): Avoid use alloca, use default read file operations
1740 instead of explicit LFS names, and fix infinite loop.
1741 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1742 (get_process_info): Use _Static_assert instead of assert, use default
1743 directory operations instead of explicit LFS names, and free some
1744 leadek pointers.
1745 * elf/tst-pldd.c: New file.
1746
2d398aa2
L
17472019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * malloc/arena.c (do_set_mallopt_check): Removed.
1750
e485b2b6
FW
17512019-04-23 Florian Weimer <fweimer@redhat.com>
1752
1753 locale: Add LOCPATH diagnostics to the locale program.
1754 * locale/programs/locale.c (setlocale_failed): New variable.
1755 (try_setlocale): New function.
1756 (quote_string): Likewise.
1757 (setlocale_diagnostics): Likewise.
1758 (main): Call try_setlocale instead of setlocale. Call
1759 setlocale_diagnostics.
1760 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1761 (tst-locale-locpath.out): New target.
1762 * locale/tst-locale-locpath.sh: New file.
1763
25f7a3c9
AZ
17642019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1765
1766 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1767 to 2.30 notes.
1768
9bf8e29c
AZ
17692019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1770
1771 [BZ #23741]
1772 * malloc/hooks.c (malloc_check, realloc_check): Use
1773 __builtin_add_overflow on overflow check and adapt to
1774 checked_request2size change.
1775 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1776 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1777 allocation size to PTRDIFF_MAX.
1778 (REQUEST_OUT_OF_RANGE): Remove macro.
1779 (checked_request2size): Change to inline function and limit maximum
1780 requested size to PTRDIFF_MAX.
1781 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1782 maximum allocation size to PTRDIFF_MAX.
1783 (_mid_memalign): Use _int_memalign call for overflow check.
1784 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1785 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1786 limit maximum requested size to PTRDIFF_MAX.
1787 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1788 valloc, pvalloc): Add __attribute_alloc_size__.
1789 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1790 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1791 larger than PTRDIFF_MAX.
1792 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1793 around tests of malloc with negative sizes.
1794 * malloc/tst-posix_memalign.c (do_test): Likewise.
1795 * malloc/tst-pvalloc.c (do_test): Likewise.
1796 * malloc/tst-valloc.c (do_test): Likewise.
1797 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1798 with resulting size allocation larger than PTRDIFF_MAX with
1799 reallocarray_nowarn.
1800 (reallocarray_nowarn): New function.
1801 * NEWS: Mention the malloc function semantic change.
1802
0e169691
AZ
18032019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1804
52faba65
AZ
1805 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1806 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1807
3a16dd78
AZ
1808 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1809 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1810 * sysdeps/powerpc/fpu/s_fma.c: New file.
1811 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1812
1dac8bd6
AZ
1813 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1814 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1815
a3ae315a
AZ
1816 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1817 the magic flag store.
1818 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1819 Likewise.
1820 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1821 Likewise.
1822 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1823 Remove rt_sigreturn call.
1824
ffe8a9a8
AZ
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1826 Remove rt_sigreturn call.
1827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1828 Likewise.
1829 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1831
0e169691
AZ
1832 * support/Makefile (libsupport-routines): Add support_subprocess,
1833 xposix_spawn, xposix_spawn_file_actions_addclose, and
1834 xposix_spawn_file_actions_adddup2.
1835 (tst-support_capture_subprocess-ARGS): New rule.
1836 * support/capture_subprocess.h (support_capture_subprogram): New
1837 prototype.
1838 * support/support_capture_subprocess.c (support_capture_subprocess):
1839 Refactor to use support_subprocess and support_capture_poll.
1840 (support_capture_subprogram): New function.
1841 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1842 str_to_write_mode, test_common, parse_int, handle_restart,
1843 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1844 (do_test): Add support_capture_subprogram tests.
1845 * support/subprocess.h: New file.
1846 * support/support_subprocess.c: Likewise.
1847 * support/xposix_spawn.c: Likewise.
1848 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1849 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1850 * support/xspawn.h: Likewise.
1851
bae8cf0e
MG
18522019-04-17 Mike Gerow <gerow@google.com>
1853
1854 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1855 groups limit.
1856
e3f454ba
FW
18572019-04-11 Florian Weimer <fweimer@redhat.com>
1858
1859 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1860 domain with empty string.
1861 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1862
32d85c11
FW
18632019-04-11 Florian Weimer <fweimer@redhat.com>
1864
1865 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1866 comment.
1867 (alloc_buffer_next): Change return type to non-const. Update
1868 comment.
1869
221710af
FW
18702019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1871
1872 * manual/time.texi (Formatting Calendar Time): Add missing percent
1873 sign to conversion specifier.
1874
e621246e
CD
18752019-04-09 Carlos O'Donell <carlos@redhat.com>
1876 Kwok Cheung Yeung <kcy@codesourcery.com>
1877
1878 [BZ #16573]
1879 * malloc/mtrace.c: Define prototypes for all hooks.
1880 (set_default_hooks): New function.
1881 (set_trace_hooks): Likewise.
1882 (save_default_hooks): Likewise.
1883 (tr_freehook): Use new s*_hooks functions.
1884 (tr_mallochook): Likewise.
1885 (tr_reallochook): Likewise.
1886 (tr_memalignhook): Likewise.
1887 (mtrace): Likewise.
1888 (muntrace): Likewise.
1889
648279f4
WD
18902019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1891
1892 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1893 (generic_stpcpy): New function.
1894 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1895 (generic_stpncpy): New function.
1896 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1897 (generic_strcat): New function.
1898 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1899 (generic_strcpy): New function.
1900 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1901 (STUPID_STRNCAT): Remove function.
1902 (generic_strncat): New function.
1903 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1904 (STUPID_STRNCPY): Remove function.
1905 (generic_strncpy): New function.
1906 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1907 (generic_strnlen): New function.
1908 (memchr_strnlen): New function.
1909 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1910 (memchr_strlen): Likewise.
1911
93eebae5
WD
19122019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1913
1914 * benchtests/bench-strstr.c (input): Add realistic input text.
1915 (stupid_strstr): Remove function.
1916 (basic_strstr): Add function.
1917 (twoway_strstr): Add function.
1918 (do_one_test): Add result checking.
1919 (do_test): Use new input text. Remove accidental early matches.
1920 (test_main): Improve range of tests, reduce unaligned cases.
1921
a173d09f
WD
19222019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1923
1924 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1925 (basic_memmem): Add function.
1926 (twoway_memmem): Add function.
1927
6103c0a8
WD
19282019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1929
1930 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1931 * benchtests/bench-malloc-thread.c: Likewise.
1932 * benchtests/bench-skeleton.c: Likewise.
1933 * benchtests/bench-strtod.c: Likewise.
1934 * benchtests/bench-timing.h: Likewise.
1935
33322186
FW
19362019-04-08 Florian Weimer <fweimer@redhat.com>
1937
1938 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1939 definitions.
1940 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1941 RES_INSECURE2 security checks.
1942 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1943 RES_INSECURE2 handling.
1944
3f8b44be
FW
19452019-04-08 Florian Weimer <fweimer@redhat.com>
1946
1947 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1948 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1949 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1950 GETHOSTBYNAME.
1951 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1952 (tests-internal): Update justification for tst-resolv-res_init,
1953 tst-resolv-res_init-thread.
1954 (tst-res_use_inet6): Remove target.
1955 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1956 * resolv/res_debug.c (p_option): Remove "inet6" support.
1957 * resolv/res_init.c (res_setoptions): Likewise.
1958 * resolv/res_use_inet6.h: Remove file.
1959 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1960 definition.
1961 (res_use_inet6): Always return false.
1962 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1963 * resolv/resolv_context.h: Adjust file comment.
1964 (struct resolv_context): Update comment on __next field.
1965 (__resolv_context_put): Update comment.
1966 * resolv/tst-res_use_inet6.c: Remove file.
1967 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1968 "inet6" support.
1969 (test_cases): Adjust test case.
1970 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1971 (thread_byname2_af_inet6): Use old byname_inet6 code.
1972 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1973 (gai): Remove do_inet6 argument.
1974 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1975 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1976 (thread_gai_unspec_inet6): Remove functions.
1977 (do_test): Adjust thread_funcs.
1978 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1979 RES_USE_INET6 flag.
1980 (gaih_inet): Do not disable RES_USE_INET6 flag.
1981
6b5c8607 19822019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1983
1984 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1985 and remove redundant code.
1986
e3fd0b0e
AZ
19872019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1988
f82ed45d
AZ
1989 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1990 New rule.
1991 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1992 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1993 Likewise.
1994 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1995 Likewise.
1996 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1997 Likewise.
1998 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1999 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
2000 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
2001 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
2002 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
2003 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
2004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2005 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
2006 wcsrchr-power7.
2007 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
2008 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2009 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2010 Remove wcsrchr optimizations.
2011 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2012
662c2cc4
AZ
2013 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
2014 the loop unroll.
2015
421e3005
AZ
2016 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
2017 New rule.
2018 * sysdeps/powerpc/power6/wcschr.c: Remove file.
2019 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
2020 Likewise.
2021 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
2022 Likewise.
2023 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
2024 Likewise.
2025 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
2026 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
2027 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
2028 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
2029 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
2030 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
2031 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2032 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
2033 wcschr-power7.
2034 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
2035 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2036 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2037 Remove wcschr optimizations.
2038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2039
7ba0100c
AZ
2040 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
2041 the loop unroll.
2042
447a1306
AZ
2043 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
2044 New rule.
2045 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
2046 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
2047 Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
2049 Likewise.
2050 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
2051 Likewise.
2052 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
2053 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
2054 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
2055 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
2056 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
2057 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
2058 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
2059 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
2060 wcscpy-power7.
2061 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
2062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
2063 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
2064 Remove wcscpy optimizations.
2065 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
2066
e3fd0b0e
AZ
2067 * include/loop_unroll.h: New file.
2068 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
2069 besides generic implementation.
2070
8260f236
DD
20712019-04-03 DJ Delorie <dj@redhat.com>
2072
2073 * time/tst-strftime3.c (tm_to_printed): Disable warning about
2074 snprintf truncating output.
2075
0bd545ee
DD
20762019-04-02 DJ Delorie <dj@redhat.com>
2077
2078 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
2079 warning.
2080
466afec3
TS
20812019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2082
2083 [BZ #22964]
2084 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
2085 era.
2086 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
2087 (mkreftable): Add rules for the new Japanese era and the new dates.
2088
2f1d6155
TS
20892019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2090 Rafal Luzynski <digitalfreak@lingonborough.com>
2091
2092 * time/tst-strftime2.c (date_t): Explicitly define the type.
2093 (dates): Use natural month and year numbers to express a date.
2094 (is_before): New function to compare dates.
2095 (mkreftable): Minor improvements to simplify maintenance.
2096 (do_test): Reflect the changes in dates array.
2097
84aea169
TS
2098 [BZ #24293]
2099 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
2100 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
2101 * time/tst-strftime2.c (locales): Likewise.
2102 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
2103 2010-04-01, and 2011-04-01.
2104 (mkreftable): Add rules for the new locales and the new dates.
2105
62449176
CD
21062019-04-01 Carlos O'Donell <carlos@redhat.com>
2107
2108 * localedata/locales/ja_JP: Add comments to era entries.
2109
e0e4c321
DD
21102019-04-01 DJ Delorie <dj@redhat.com>
2111
2112 [BZ #24394]
2113 * time/strptime_l.c (%Ey): Fix fencepost error.
2114 * time/tst-strftime3.c: New.
2115 * time/Makefile (tests): Add tst-strftime3.
2116
6b5c8607 21172019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
2118
2119 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
2120 conditional branch to DIVBYZERO. Fix unwind info.
2121 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
2122 excb after conditional branch to $powerof2. Add missing unop
2123 instructions and .align directives and reorder instructions to
2124 match __divqu.
2125
d5ecee82
RH
21262019-04-01 Richard Henderson <rth@twiddle.net>
2127
2128 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
2129 Do not redefine.
2130 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
2131 Do not redefine.
2132
656dd306
MR
21332019-03-30 Maciej W. Rozycki <macro@wdc.com>
2134
2135 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
2136 $libc_cv_riscv_float_abi in `test' invocation.
2137 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
2138
10cce669
PC
21392019-03-29 Paul A. Clarke <pc@us.ibm.com>
2140
2141 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
2142 asm with builtin.
2143 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
2144 Likewise.
2145 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2146 (_GET_SI_FPSCR): Likewise.
2147 (_SET_SI_FPSCR): Likewise.
2148
5e67e4bf 21492019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
2150
2151 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
2152 clang 2.8.
2153 (signbit): Use builtin for clang 3.3.
2154 (isinf): Use builtin for clang 3.7.
2155
01963891
AZ
21562019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2157
2158 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
2159
67112f7a
AH
21602019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
2161
2162 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
2163 quote in printf.
2164
7a773abf
MC
21652019-03-25 Mike Crowe <mac@mcrowe.com>
2166
82849fde
MC
2167 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
2168 pthread_rwlock_timedrdlock with calls to
2169 pthread_rwlock_timedwrlock to ensure that the latter is tested
2170 too. Use new function name in diagnostic messages too.
2171
7a773abf
MC
2172 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
2173 (do_test) Use libsupport test macros rather than hand-coded
2174 conditionals and error messages. Ensure that sem_init returns zero
2175 rather than not -1. Use <support/test-driver.c> rather than
2176 test-skeleton.c.
2177
2178 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
2179 test macros rather than hand-coded conditionals and error messages.
2180 Use <support/test-driver.c> rather than test-skeleton.c.
2181
9ac2de69
JM
21822019-03-25 Joseph Myers <joseph@codesourcery.com>
2183
d7563e62
JM
2184 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
2185
9ac2de69
JM
2186 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
2187 (NT_MIPS_MSA): Likewise.
2188
38cc11da
AZ
21892019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2190
7621e38b
WD
2191 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
2192 * benchtests/README: Update description.
2193 * benchtests/bench-timing.h: Default to hp-timing.
2194 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
2195 HP_TIMING_PRINT): Remove.
2196 (HP_TIMING_NOW): Add generic implementation.
2197 (hp_timing_t): Change to uint64_t.
2198
1e372ded
AZ
2199 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
2200 HP_TIMING_INLINE.
2201 * nptl/descr.h: Likewise.
2202 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
2203 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
2204 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
2205 Abstract hp-timing usage with RTLD_* macros.
2206 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
2207 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
2208 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
2209 HP_TIMING_NONAVAIL): Likewise.
2210 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2211 Likewise.
2212 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
2213 HP_SMALL_TIMING_AVAIL): Likewise.
2214 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
2215 HP_SMALL_TIMING_AVAIL): Likewise.
2216 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
2217 HP_SMALL_TIMING_AVAIL): Likewise.
2218 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
2219 HP_SMALL_TIMING_AVAIL): Likewise.
2220 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
2221 Likewise.
2222 * sysdeps/generic/hp-timing-common.h: Update comment with
2223 HP_TIMING_AVAIL removal.
2224
359653aa
AZ
2225 * include/random-bits.h: New file.
2226 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
2227 (__res_context_mkquery): Remove usage hp-timing usage and replace with
2228 random_bits.
2229 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
2230 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
2231 Likewise.
2232
6e8ba7fd
AZ
2233 * include/libc-internal.h (__get_clockfreq): Remove prototype.
2234 * rt/Makefile (clock-routines): Remove get_clockfreq.
2235 * rt/get_clockfreq.c: Remove file.
2236 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
2237 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
2238 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
2239 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
2240 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
2241
77b6f553
AZ
2242 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
2243 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
2244 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
2245 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
2246 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
2247
38cc11da
AZ
2248 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
2249 pthread_clock_settime.
2250 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
2251 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
2252 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
2253 * elf/rtld.c (_dl_start_final): Likewise.
2254 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
2255 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
2256 Remove.
2257 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
2258 (_dl_cpuclock_offset): Remove.
2259 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
2260 cpuclock_offset_ununsed.
2261 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
2262 cpuclock_offset set.
2263 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
2264 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
2265 * nptl/pthread_clock_gettime.c: Remove file.
2266 * nptl/pthread_clock_settime.c: Likewise.
2267 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
2268 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
2269 and CLOCK_PROCESS_CPUTIME_ID support.
2270 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
2271 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
2272 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
2273 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
2274 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
2275 Likewise.
2276 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
2277
421749d6
SL
22782019-03-22 Stefan Liebler <stli@linux.ibm.com>
2279
2280 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
2281 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
2282 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
2283 New defines.
2284 * sysdeps/s390/memmem-arch13.S: New file.
2285 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
2286 if it is only used as fallback.
2287 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
2288 * sysdeps/s390/multiarch/ifunc-impl-list.c
2289 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
2290
6f47401b
SL
22912019-03-22 Stefan Liebler <stli@linux.ibm.com>
2292
2293 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
2294 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
2295 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
2296 New defines.
2297 * sysdeps/s390/multiarch/ifunc-impl-list.c
2298 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
2299 * sysdeps/s390/strstr-arch13.S: New file.
2300 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
2301 if it is only used as fallback.
2302 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
2303
96fbb9a3
SL
23042019-03-22 Stefan Liebler <stli@linux.ibm.com>
2305
2306 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
2307 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
2308 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
2309 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
2310 ifunc selector.
2311 * sysdeps/s390/multiarch/ifunc-impl-list.c
2312 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
2313 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
2314 S390_IS_ARCH13_MIE3): New defines.
2315
a899a551
SL
23162019-03-22 Stefan Liebler <stli@linux.ibm.com>
2317
2318 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
2319 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
2320 * sysdeps/s390/configure.ac: Add checks for arch13 support.
2321 * sysdeps/s390/configure: Regenerated.
2322
1a7df49c
SL
23232019-03-22 Stefan Liebler <stli@linux.ibm.com>
2324
2325 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
2326 Add vxe2, vxp, dflt, sort flags.
2327 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
2328 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2329 capabilities.
2330 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2331 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2332 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2333 HWCAP_S390_DFLT): Define.
2334
5e67e4bf 23352019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2336
2337 [BZ #24372]
2338 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2339 of compiler warning.
2340 * locale/programs/ld-collate.c (collate_output): Likewise.
2341
ac64195c
DD
23422019-03-21 DJ Delorie <dj@redhat.com>
2343
2344 [BZ #24372]
2345 * iconv/iconvconfig.c (write_output): Replace floating point math
2346 with integer math to avoid imprecise results.
2347 * locale/programs/ld-collate.c (collate_output): Likewise.
2348
61f5e947
SL
23492019-03-21 Stefan Liebler <stli@linux.ibm.com>
2350
2351 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2352 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2353
57ada43c 23542019-03-20 mansayk <6688000@gmail.com>
2355
2356 [BZ #24296]
2357 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2358 (abday): Likewise, but remove the trailing dots.
2359
a2e57f89
JM
23602019-03-19 Joseph Myers <joseph@codesourcery.com>
2361
2362 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2363 macro.
2364 (HWCAP_PACA): Likewise.
2365 (HWCAP_PACG): Likewise.
2366 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2367 Increase to 32.
2368 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2369
e87d8ada
ST
23702019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2371
2372 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2373 should be handled.
2374
477e739b
JM
23752019-03-15 Joseph Myers <joseph@codesourcery.com>
2376
2377 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2378 version to 5.0.
2379 (old_getpagesize): New syscall.
2380
238d60a1
FY
23812019-03-15 Felix Yan <felixonmars@archlinux.org>
2382
2383 [BZ #24293]
2384 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2385 * localedata/locales/cmn_TW (era): Likewise.
2386 * localedata/locales/hak_TW (era): Likewise.
2387 * localedata/locales/lzh_TW (era): Likewise.
2388 * localedata/locales/nan_TW (era): Likewise.
2389
5dde9ef7
DD
23902019-03-14 Adam Maris <amaris@redhat.com>
2391
2392 * malloc/malloc.c (_int_malloc): Check for large bin list
2393 corruption when inserting unsorted chunk.
2394
a0a0dc83
FW
23952019-03-14 Florian Weimer <fweimer@redhat.com>
2396
2397 Remove obsolete, never-implemented XSI STREAMS declarations.
2398 * manual/terminal.texi (Allocation): Remove portability note and
2399 adjust example.
2400 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2401 _SC_STREAMS.
2402 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2403 * sysdeps/unix/inet/Subdirs (streams): Remove.
2404 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2405 (conformtest-headers-UNIX98): Likewise.
2406 (conformtest-headers-XOPEN2K): Likewise.
2407 (conformtest-headers-POSIX2008): Likewise.
2408 * posix/compat-streams.c: New file.
2409 * posix/Makefile (routines): Add it.
2410 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2411 getpmsg, isastream, putmsg, putpmsg.
2412 (GLIBC_2.30): New section.
2413 * bits/stropts.h: Remove file.
2414 * bits/xtitypes.h: Likewise.
2415 * conform/data/stropts.h-data: Likewise.
2416 * include/stropts.h: Likewise.
2417 * include/sys/stropts.h: Likewise.
2418 * include/xtitypes.h: Likewise.
2419 * streams/Makefile: Likewise.
2420 * streams/fattach.c: Likewise.
2421 * streams/fdetach.c: Likewise.
2422 * streams/getmsg.c: Likewise.
2423 * streams/getpmsg.c: Likewise.
2424 * streams/isastream.c: Likewise.
2425 * streams/putmsg.c: Likewise.
2426 * streams/putpmsg.c: Likewise.
2427 * streams/stropts.h: Likewise.
2428 * streams/sys/stropts.h: Likewise.
2429 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2430 * sysdeps/s390/bits/xtitypes.h: Likewise.
2431 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2432 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2433 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2434 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2435 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2436 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2437 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2438 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2439 * sysdeps/x86/bits/xtitypes.h: Likewise.
2440
081bdf94
FW
24412019-03-14 Florian Weimer <fweimer@redhat.com>
2442
2443 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2444 libnss_files.
2445 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2446 but not with libnss_files.
2447 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2448
97f8225d
ZW
24492019-03-14 Zack Weinberg <zackw@panix.com>
2450
2451 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2452 Specify encoding="utf-8" when opening headers to check.
2453
0c1041ee
JM
24542019-03-13 Joseph Myers <joseph@codesourcery.com>
2455
2456 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2457 version to 5.0.
2458 (Context.checkout_tar): Handle variable major version for Linux
2459 kernel.
2460
043440e7
FW
24612019-03-13 Florian Weimer <fweimer@redhat.com>
2462
2463 [BZ #24047]
2464 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2465
29218b26
ZW
24662019-03-13 Zack Weinberg <zackw@panix.com>
2467
2468 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2469 Move to stdlib.
2470 * include/inttypes.h: Adjust to match.
2471 * include/stdint.h: New wrapper.
2472
711a322a
ZW
24732019-03-13 Zack Weinberg <zackw@panix.com>
2474
2475 * scripts/check-obsolete-constructs.py: New test script.
2476 * scripts/check-installed-headers.sh: Remove tests for
2477 obsolete typedefs, superseded by check-obsolete-constructs.py.
2478 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2479 as a special test. Update commentary.
2480 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2481 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2482 Update commentary.
2483 * posix/sys/types.h (__u_intN_t): Remove.
2484 (u_int8_t): Typedef using __uint8_t.
2485 (u_int16_t): Typedef using __uint16_t.
2486 (u_int32_t): Typedef using __uint32_t.
2487 (u_int64_t): Typedef using __uint64_t.
2488
7c651308
SL
24892019-03-13 Stefan Liebler <stli@linux.ibm.com>
2490
2491 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2492 call _dl_procinfo.
2493 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2494 Ignore types other than AT_HWCAP.
2495 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2496 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2497 Likewise.
2498 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2499 in the case of falling back to generic output mechanism.
2500 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2501 Likewise.
2502
38b52865
FW
25032019-03-12 Florian Weimer <fweimer@redhat.com>
2504
2505 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2506
08504de7
FW
25072019-03-12 Florian Weimer <fweimer@redhat.com>
2508
2509 [BZ #24047]
2510 resolv: Enable full ICMP errors for UDP DNS sockets
2511 * resolv/res_enable_icmp.c: New file.
2512 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2513 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2514 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2515 socket.
2516
5fbcd763
MH
25172019-03-11 Mao Han <han_mao@c-sky.com>
2518
2519 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2520 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2521
c4e5f34b
MH
25222019-03-11 Mao Han <han_mao@c-sky.com>
2523
2524 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2525 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2526 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2527
827e30f3
MH
25282019-03-11 Mao Han <han_mao@c-sky.com>
2529
2530 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2531 directly.
2532 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2533 definition.
2534
6229c9bf
MH
25352019-03-11 Mao Han <han_mao@c-sky.com>
2536
2537 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2538 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2539 in mcontext_t
2540
86bdd49d
MF
25412019-03-08 Mike FABIAN <mfabian@redhat.com>
2542
2543 [BZ #24307]
2544 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2545 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2546 Unicode 12.0.0.
2547 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2548 * localedata/unicode-gen/PropList.txt: Likewise.
2549 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2550 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2551 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2552 * localedata/charmaps/UTF-8: Regenerate.
2553 * localedata/locales/i18n_ctype: Likewise.
2554 * localedata/locales/tr_TR: Likewise.
2555 * localedata/locales/translit_circle: Likewise.
2556 * localedata/locales/translit_cjk_compat: Likewise.
2557 * localedata/locales/translit_combining: Likewise.
2558 * localedata/locales/translit_compat: Likewise.
2559 * localedata/locales/translit_font: Likewise.
2560 * localedata/locales/translit_fraction: Likewise.
2561
c5f65462
JM
25622019-03-07 Joseph Myers <joseph@codesourcery.com>
2563
2564 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2565 than after operators.
2566 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2567 (setitimer_locked): Likewise.
2568 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2569 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2570 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2571 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2572 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2573 (PPC_CPU_SUPPORTED): Likewise.
2574 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2575 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2576 (stat_overflow): Likewise.
2577 (statfs_overflow): Likewise.
2578 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2579 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2580 (eq_ttyname_r): Likewise.
2581 (run_chroot_tests): Likewise.
2582
27a2f2f3
FW
25832019-03-07 Florian Weimer <fweimer@redhat.com>
2584
2585 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2586 header check.
2587
ae514971 25882019-03-07 Martin Liska <mliska@suse.cz>
2589
2590 * math/Makefile: Change location where math-vector-fortran.h is
2591 installed.
2592 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2593 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2594 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2595 * scripts/check-installed-headers.sh: Skip Fortran header files.
2596 * scripts/check-wrapper-headers.py: Likewise.
2597
0ddb7ea8
AZ
25982019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2599
2600 * nptl/nptl-init.c (__have_futex_clock_realtime,
2601 __have_futex_clock_realtime): Remove definition.
2602 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2603 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2604 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2605 __ASSUME_FUTEX_CLOCK_REALTIME support.
2606 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2607 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2608 * sysdeps/unix/sysv/linux/kernel-features.h
2609 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2610 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2611 Adjust comment.
2612
590675c0
GG
26132019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2614
2615 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2616 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2617 __GI___wcscpy and wcscpy.
2618
de71ee7b
FW
26192019-03-04 Florian Weimer <fweimer@redhat.com>
2620
2621 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2622 declaration.
2623 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2624 defined.
2625
ce6ddae0
SL
26262019-03-04 Stefan Liebler <stli@linux.ibm.com>
2627
2628 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2629 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2630
31efface
TS
26312019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2632
2633 [BZ #24162]
2634 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2635 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2636
f0eaf862
GG
26372019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2638
2639 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2640 tests.
2641 (do_test): Likewise.
2642 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2643 (do_test_call_varg): Likewise.
2644 (do_test_call_rarg): Likewise.
2645 * sysdeps/ieee754/ldbl-opt/Makefile
2646 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2647 tst-nldbl-error.
2648 ($(objpfx)tst-nldbl-warn.c): New rule.
2649 ($(objpfx)tst-nldbl-error.c): Likewise.
2650 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2651 New variables.
2652
d11086a9
GG
26532019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2654
2655 [BZ #23984]
2656 * include/bits/error-ldbl.h: New file.
2657 * include/error.h: Include stdarg.h. Declare internal functions
2658 __error_internal and __error_at_line_internal.
2659 * misc/Makefile (headers): Add bits/error-ldbl.h.
2660 * misc/bits/error-ldbl.h: New file.
2661 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2662 avoid the inclusion of bits/error.h.
2663 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2664 and __nldbl_error_at_line.
2665 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2666 (__nldbl_error, __ndlbl_error_at_line): New functions.
2667 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2668 Redirect error and error_at_line.
2669 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2671 Likewise.
2672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2673 Likewise.
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2675 Likewise.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2677 Likewise.
2678 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2679 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2680 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2681
90188e7d
GG
26822019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2683
2684 [BZ #23984]
2685 * include/bits/err-ldbl.h: New file.
2686 * include/err.h: Add prototypes for the internal functions:
2687 __vwarnx_internal and __vwarn_internal.
2688 * misc/Makefile (headers): Add bits/err-ldbl.h.
2689 * misc/bits/err-ldbl.h: New file.
2690 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2691 defined, i.e.: when -mlong-double-64 is in use.
2692 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2693 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2694 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2695 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2696 (VA_CALL): New macro.
2697 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2698 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2699 functions.
2700 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2701 declare prototypes for the new functions.
2702 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2704 Likewise.
2705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2706 Likewise.
2707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2708 Likewise.
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2710 Likewise.
2711 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2712 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2713 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2714
ea2d89d0
GG
27152019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2716
2717 * sysdeps/ieee754/ldbl-opt/Makefile
2718 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2719 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2720 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2721
6e1f6440
GG
27222019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2723
2724 [BZ #23983]
2725 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2726 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2727 * argp/bits/argp-ldbl.h: New file.
2728 * include/argp.h: Include stdarg.h. Add prototypes for internal
2729 functions: __argp_error_internal and __argp_failure_internal.
2730 * include/bits/argp-ldbl.h: New file.
2731 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2732 __nldbl_argp_error and __nldbl_argp_failure.
2733 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2734 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2735 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2736 Redirect argp_error and argp_failure calls.
2737 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2739 Likewise.
2740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2741 Likewise.
2742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2743 Likewise.
2744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2745 Likewise.
2746 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2747 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2748 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2749
c259196b
FW
27502019-03-01 Florian Weimer <fweimer@redhat.com>
2751
2752 [BZ #20419]
2753 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2754 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2755 code, to avoid creating an ABI tag note.
2756 (modules-names-nobuild): Add tst-big-note-lib.
2757
928b305d
SL
27582019-03-01 Stefan Liebler <stli@linux.ibm.com>
2759
2760 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2761 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2762
36f30c10
FW
27632019-03-01 Florian Weimer <fweimer@redhat.com>
2764
2765 [BZ #20271]
2766 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2767 (__netlink_assert_response): Add additional missing newlines.
2768
462e83a4
JM
27692019-02-28 Joseph Myers <joseph@codesourcery.com>
2770
2771 * sysdeps/powerpc/powerpc32/dl-machine.c
2772 (__elf_machine_fixup_plt): Use space before '('.
2773 (__process_machine_rela): Likewise.
2774 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2775 Likewise.
2776 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2777 Likewise.
2778 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2779 Likewise.
2780 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2781 (pattern): Likewise.
2782 (delta): Likewise.
2783 (check_result): Likewise.
2784 (check_excepts): Likewise.
2785 (check_op): Likewise.
2786 (fail_xr): Likewise.
2787 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2788 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2789 (SCNHSZ): Likewise.
2790 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2791 Likewise.
2792 (ARGS): Likewise.
2793 (__makecontext): Likewise.
2794 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2795 Likewise.
2796
cc3e573c
FW
27972019-02-28 Florian Weimer <fweimer@redhat.com>
2798
2799 [BZ #23937]
2800 elf: Add test with a local IFUNC resolver.
2801 * elf/ifuncmain9.c: New file.
2802 * elf/ifuncmain9pic.c: Likewise.
2803 * elf/ifuncmain9picstatic.c: Likewise.
2804 * elf/ifuncmain9pie.c: Likewise.
2805 * elf/ifuncmain9static.c: Likewise.
2806 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2807 ifuncmain9static, ifuncmain9picstatic.
2808 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2809 Add ifuncmain9, ifuncmain9pic.
2810 * elf/Makefile [multi-arch && build-shared && have-fpie]
2811 (ifunc-pie-tests): Add ifuncmain9pie.
2812 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2813 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2814 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2815
92ad88fe
L
28162019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2817
2818 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2819 * configure: Regenerated.
2820 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2821
6bd4d02e
AZ
28222019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2823
2824 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2825 symbol as __wcspcy instead of wcscpy.
2826
1b218417
ST
28272019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2828
2829 * include/stdio.h (__renameat2): New hidden prototype.
2830 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2831 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2832 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2833 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2834
c4f50205
JM
28352019-02-27 Joseph Myers <joseph@codesourcery.com>
2836
f627dd4d
JM
2837 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2838 if statement.
2839
c4f50205
JM
2840 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2841 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2842 * benchtests/bench-strlen.c (do_test): Likewise.
2843 (test_main): Likewise.
2844 * catgets/gencat.c (read_old): Likewise.
2845 * elf/cache.c (load_aux_cache): Likewise.
2846 * iconvdata/bug-iconv8.c (do_test): Likewise.
2847 * math/test-tgmath-ret.c (do_test): Likewise.
2848 * nis/nis_call.c (rec_dirsearch): Likewise.
2849 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2850 * nptl/tst-audit-threads.c (do_test): Likewise.
2851 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2852 * nss/nss_test1.c (init): Likewise.
2853 * nss/test-netdb.c (test_hosts): Likewise.
2854 * posix/execvpe.c (maybe_script_execute): Likewise.
2855 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2856 * stdio-common/tst-printf.c (do_test): Likewise.
2857 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2858 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2859 * stdlib/qsort.c (STACK_SIZE): Likewise.
2860 * stdlib/test-canon.c (do_test): Likewise.
2861 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2862 * string/memcmp.c (OPSIZ): Likewise.
2863 * string/test-strcpy.c (do_test): Likewise.
2864 (do_random_tests): Likewise.
2865 * string/test-strlen.c (do_test): Likewise.
2866 (test_main): Likewise.
2867 * string/test-strrchr.c (do_test): Likewise.
2868 (do_random_tests): Likewise.
2869 * string/tester.c (test_memrchr): Likewise.
2870 (test_memchr): Likewise.
2871 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2872 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2873 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2874 (read_encoded_value_with_base): Likewise.
2875 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2876 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2877 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2878 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2879 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2880 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2881 Likewise.
2882 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2883 Likewise.
2884 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2885 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2886 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2887 Likewise.
2888 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2889 Likewise.
2890 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2891 Likewise.
2892 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2893 Likewise.
2894 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2895 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2896 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2897 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2898 * time/test_time.c (main): Likewise.
2899
7b3fb620
AZ
29002019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2901
457208b1
AZ
2902 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2903
30a7e208
AZ
2904 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2905 wmemcpy.
2906
ddf21ec7
AZ
2907 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2908 wmemcpy.
2909
4d801563
AZ
2910 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2911
81a14439
AZ
2912 * include/wchar.h (__wcscpy): New prototype.
2913 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2914 (__wcscpy): Route internal symbol to generic implementation.
2915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2916 Add internal __wcscpy alias.
2917 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2918 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2919 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2920 * wcsmbs/wcscpy.c (wcscpy): Add
2921 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2922 use generic implementation.
2923 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2924
39ef0744
AZ
2925 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2926 wmemset.
2927
7b3fb620
AZ
2928 * sysdeps/m68k/wcpcpy.c: Remove file.
2929 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2930
e0cb7b61
JM
29312019-02-26 Joseph Myers <joseph@codesourcery.com>
2932
aa0e4663
JM
2933 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2934 than after operators.
2935 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2936 * sysdeps/mach/hurd/getcwd.c
2937 (__hurd_canonicalize_directory_name_internal): Likewise.
2938 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2939 (pthread_mutex_consistent): Likewise.
2940 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2941 Likewise.
2942 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2943 (__pthread_mutex_transfer_np): Likewise.
2944 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2945 (__pthread_mutex_unlock): Likewise.
2946 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2947 (mtx_owned_p): Likewise.
2948 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2949 (pthread_mutexattr_getrobust): Likewise.
2950 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2951 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2952 Likewise.
2953 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2954 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2955 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2956 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2957 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2958 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2959 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2960 Likewise.
2961 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2962 Likewise.
2963 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2964 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2965 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2966 (____longjmp_chk): Likewise.
2967 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2968 Likewise.
2969 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2970 (INTERNAL_SYSCALL): Likewise.
2971 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2972 (INTERNAL_SYSCALL): Likewise.
2973 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2974 (__get_clockfreq_via_cpuinfo): Likewise.
2975
e0cb7b61
JM
2976 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2977 comments.
2978 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2979 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2980 (WORD_COPY_BWD): Likewise.
2981 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2982 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2983 Likewise.
2984 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2985 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2986 comment.
2987 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2988
a04549c1
JM
29892019-02-25 Joseph Myers <joseph@codesourcery.com>
2990
2991 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2992 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2993 rather than after operators.
2994 * elf/cache.c (print_cache): Likewise.
2995 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2996 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2997 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2998 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2999 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
3000 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
3001 (reauth_proc): Likewise.
3002 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
3003 (__file_name_split_at): Likewise.
3004 (__directory_name_split_at): Likewise.
3005 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3006 * hurd/port2fd.c (_hurd_port2fd): Likewise.
3007 * iconv/gconv_dl.c (do_print): Likewise.
3008 * inet/netinet/in.h (struct sockaddr_in): Likewise.
3009 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
3010 * locale/setlocale.c (new_composite_name): Likewise.
3011 * malloc/memusagestat.c (main): Likewise.
3012 * misc/fstab.c (fstab_convert): Likewise.
3013 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
3014 Likewise.
3015 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
3016 (getgrent_next_file): Likewise.
3017 (internal_getgrnam_r): Likewise.
3018 (internal_getgrgid_r): Likewise.
3019 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
3020 Likewise.
3021 (internal_getgrent_r): Likewise.
3022 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
3023 (getpwent_next_nss): Likewise.
3024 (getpwent_next_file): Likewise.
3025 (internal_getpwnam_r): Likewise.
3026 (internal_getpwuid_r): Likewise.
3027 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
3028 Likewise.
3029 (getspent_next_nss): Likewise.
3030 (internal_getspnam_r): Likewise.
3031 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
3032 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
3033 * string/strchr.c (STRCHR): Likewise.
3034 * string/strchrnul.c (STRCHRNUL): Likewise.
3035 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
3036 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3037 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
3038 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
3039 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
3040 Likewise.
3041 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
3042 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3043 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
3044 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
3045 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
3046 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
3047 (open_file): Likewise.
3048 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
3049 (pthread_mutexattr_setprotocol): Likewise.
3050 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
3051 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
3052 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
3053 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
3054 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
3055 Likewise.
3056 (elf_machine_rela): Likewise.
3057 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3058 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
3059 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
3060 * sysdeps/posix/rename.c (rename): Likewise.
3061 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
3062 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
3063 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
3064 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
3065 * sysdeps/unix/grantpt.c (grantpt): Likewise.
3066 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
3067 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
3068 Likewise.
3069 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
3070 Likewise.
3071 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
3072 * time/tzfile.c (__tzfile_compute): Likewise.
3073
34a5a146
JM
30742019-02-22 Joseph Myers <joseph@codesourcery.com>
3075
3076 * benchtests/bench-memmem.c (simple_memmem): Break lines before
3077 rather than after operators.
3078 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
3079 * crypt/md5.c (md5_finish_ctx): Likewise.
3080 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
3081 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
3082 * elf/cache.c (load_aux_cache): Likewise.
3083 * elf/dl-load.c (open_verify): Likewise.
3084 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
3085 * elf/readelflib.c (process_elf_file): Likewise.
3086 * elf/rtld.c (dl_main): Likewise.
3087 * elf/sprof.c (generate_call_graph): Likewise.
3088 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
3089 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
3090 * hurd/dtable.c (reauth_dtable): Likewise.
3091 * hurd/getdport.c (__getdport): Likewise.
3092 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
3093 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
3094 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
3095 Likewise.
3096 * hurd/hurdioctl.c (fioctl): Likewise.
3097 * hurd/hurdselect.c (_hurd_select): Likewise.
3098 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
3099 (STOPSIGS): Likewise.
3100 * hurd/hurdstartup.c (_hurd_startup): Likewise.
3101 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
3102 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
3103 * hurd/msgportdemux.c (msgport_server): Likewise.
3104 * hurd/setauth.c (_hurd_setauth): Likewise.
3105 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
3106 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
3107 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
3108 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
3109 * login/tst-utmp.c (do_check): Likewise.
3110 (simulate_login): Likewise.
3111 * mach/lowlevellock.h (lll_lock): Likewise.
3112 (lll_trylock): Likewise.
3113 * math/test-fenv.c (ALL_EXC): Likewise.
3114 * math/test-fenvinline.c (ALL_EXC): Likewise.
3115 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
3116 * nis/nis_call.c (__do_niscall3): Likewise.
3117 * nis/nis_callback.c (cb_prog_1): Likewise.
3118 * nis/nis_defaults.c (searchaccess): Likewise.
3119 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3120 * nis/nis_ismember.c (internal_ismember): Likewise.
3121 * nis/nis_local_names.c (nis_local_principal): Likewise.
3122 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
3123 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
3124 Likewise.
3125 * nis/ypclnt.c (yp_match): Likewise.
3126 (yp_first): Likewise.
3127 (yp_next): Likewise.
3128 (yp_master): Likewise.
3129 (yp_order): Likewise.
3130 * nscd/hstcache.c (cache_addhst): Likewise.
3131 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3132 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
3133 (internal_getpwuid_r): Likewise.
3134 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
3135 * posix/glob.h (__GLOB_FLAGS): Likewise.
3136 * posix/regcomp.c (peek_token): Likewise.
3137 (peek_token_bracket): Likewise.
3138 (parse_expression): Likewise.
3139 * posix/regexec.c (sift_states_iter_mb): Likewise.
3140 (check_node_accept_bytes): Likewise.
3141 * posix/tst-spawn3.c (do_test): Likewise.
3142 * posix/wordexp-test.c (testit): Likewise.
3143 * posix/wordexp.c (parse_tilde): Likewise.
3144 (exec_comm): Likewise.
3145 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
3146 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
3147 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
3148 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
3149 * stdio-common/tst-fileno.c (do_test): Likewise.
3150 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
3151 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
3152 * stdlib/strtod_l.c (round_and_return): Likewise.
3153 (____STRTOF_INTERNAL): Likewise.
3154 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
3155 * string/strcspn.c (STRCSPN): Likewise.
3156 * string/test-memmem.c (simple_memmem): Likewise.
3157 * termios/tcsetattr.c (tcsetattr): Likewise.
3158 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
3159 * time/asctime.c (asctime_internal): Likewise.
3160 * time/strptime_l.c (__strptime_internal): Likewise.
3161 * time/sys/time.h (timercmp): Likewise.
3162 * time/tzfile.c (__tzfile_compute): Likewise.
3163
b0b50fe0
PF
31642019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
3165
b39d961c
TS
3166 [BZ #21915]
3167 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 3168
f43b8dd5
GG
31692019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3170
3171 * argp/argp-help.c (__argp_error_internal): New function,
3172 renamed from __argp_error, but that takes a 'mode_flags'
3173 parameter to control the format of long double parameters.
3174 (__argp_error): Converted into a call __argp_error_internal.
3175 (__argp_failure_internal): New function, renamed from
3176 __argp_failure, but that takes a 'mode_flags' parameter.
3177 (__argp_failure): Converted into a call __argp_failure_internal.
3178 * misc/err.c (__vwarnx_internal): New function, renamed from
3179 vwarnx, but that takes a 'mode_flags' parameter.
3180 (vwarnx): Converted into a call to __vwarnx_internal.
3181 (__vwarn_internal): New function, renamed from vwarn, but that
3182 takes a 'mode_flags' parameter.
3183 (vwarn): Converted into a call to __vwarn_internal.
3184 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
3185 call to __vfxprintf with 'mode_flags'.
3186 (__error_internal): New function, renamed from error, but that
3187 takes a 'mode_flags' parameter.
3188 (error): Converted into a call to __error_internal.
3189 (__error_at_line_internal): New function, renamed from
3190 error_at_line, but that takes a 'mode_flags' parameter.
3191 (error_at_line): Converted into a call to
3192 __error_at_line_internal.
3193 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
3194 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
3195 Likewise.
3196
dc0afac3 31972019-02-20 Martin Liska <mliska@suse.cz>
3198
3199 * math/Makefile: Install math-vector-fortran.h.
3200 * bits/math-vector-fortran.h: New file.
3201 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
3202
4a2dd41c
GG
32032019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
3204
3205 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
3206 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
3207
04de9302
WS
32082019-02-19 Wolfram Sang <wsa@the-dreams.de>
3209
3210 * nptl/pthread_mutex_trylock.c: Fix comment.
3211
b026ce1e
CD
32122019-02-19 Carlos O'Donell <carlos@redhat.com>
3213
3214 * nptl/pthread_tryjoin.c: Fix comment.
3215
8c9289b6
JM
32162019-02-18 Joseph Myers <joseph@codesourcery.com>
3217
3218 [BZ #24231]
3219 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
3220 after R_SPARC_H34 case.
3221
308e022f
FW
32222019-02-18 Florian Weimer <fweimer@redhat.com>
3223
3224 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
3225 (getanswer): Do not call Dprintf.
3226 (res_gethostbyname2_context): Likewise.
3227 (res_gethostbyaddr_context): Likewise.
3228
a5406364
FW
32292019-02-18 Florian Weimer <fweimer@redhat.com>
3230
3231 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
3232 declaration.
3233 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
3234 Remove definitions.
3235 * libio/stdfiles.c: Update comment.
3236 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
3237 set _IO_stdin, _IO_stdout, _IO_stderr.
3238 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
3239 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
3240 inline function.
3241 (_IO_deallocate_file): New inline function.
3242 * libio/iolibio.h (_IO_vprintf): Remove definition.
3243 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
3244 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
3245 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
3246 _IO_legacy_file.
3247 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
3248 __builtin_expect. Use _IO_legacy_file.
3249
6c29942c
SL
32502019-02-18 Stefan Liebler <stli@linux.ibm.com>
3251
3252 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
3253 Initialize ctid with a known value and remove update of ctid
3254 after clone.
3255 (wait_tid): Adjust arguments and call futex_wait with ctid_val
3256 as assumed current value of ctid_ptr.
3257
225d9445 32582019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
3259
3260 Check that non-sysdeps headers have wrapper headers.
3261 * scripts/check-wrapper-headers.py: New file.
3262 * Makefile (tests-special): Add check-wrapper-headers.out.
3263 (check-wrapper-headers.out): New target.
3264 * Rules (tests-special): Add check-wrapper-headers.out.
3265 (check-wrapper-headers.out): New target.
3266
225d9445 32672019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
3268
3269 Add missing header wrappers under include/.
3270 * include/ar.h: New file.
3271 * include/bits/mqueue2.h: Likewise.
3272 * include/bits/stdio.h: Likewise.
3273 * include/bits/stdio2.h: Likewise.
3274 * include/fstab.h: Likewise.
3275 * include/fts.h: Likewise.
3276 * include/lastlog.h: Likewise.
3277 * include/netinet/icmp6.h: Likewise.
3278 * include/netinet/igmp.h: Likewise.
3279 * include/netinet/ip6.h: Likewise.
3280 * include/re_comp.h: Likewise.
3281 * include/regexp.h: Likewise.
3282 * include/rpcsvc/bootparam.h: Likewise.
3283 * include/rpcsvc/yp_prot.h: Likewise.
3284 * include/sys/random.h: Likewise.
3285 * include/sys/stropts.h: Likewise.
3286 * include/sys/ttychars.h: Likewise.
3287 * include/sys/vfs.h: Likewise.
3288 * include/wait.h: Likewise.
3289
225d9445 32902019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
3291
3292 * nptl_db/proc_service.h: Move to ...
3293 * sysdeps/nptl/proc_service.h: ... here.
3294 * nptl_db/thread_db.h: Move to ...
3295 * sysdeps/nptl/thread_db.h: ... here.
3296 * nptl/descr.h: Include <thread_db.h>.
3297
e442e40d
AZ
32982019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3299
3300 * io/Makefile (tests): Add tst-lockf.
3301 * io/lockf.c (lockf): Use __fcntl and only define for
3302 !__OFF_T_MATCHES_OFF64_T.
3303 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
3304 __OFF_T_MATCHES_OFF64_T case.
3305 * io/tst-lockf.c: New file.
3306 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
3307 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
3308 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
3309 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
3310 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
3311 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
3312 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
3313 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
3314 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
3315
bc10e22c
FW
33162019-02-15 Florian Weimer <fweimer@redhat.com>
3317
3318 [BZ #24211]
3319 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
3320 pd->result after the thread descriptor has been freed.
3321
365f05c7
JM
33222019-02-15 Joseph Myers <joseph@codesourcery.com>
3323
8a11f970
JM
3324 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
3325 from function return type.
3326
365f05c7
JM
3327 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
3328
6b5c8607 33292019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3330
3331 * scripts/test_printers_common.py: Set TERM to a known harmless
3332 value.
3333
712182c8
JM
33342019-02-14 Joseph Myers <joseph@codesourcery.com>
3335
3336 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3337 (xdr_u_int): Likewise.
3338 (xdr_enum): Likewise.
3339 (xdr_bytes): Reword fall-through comment.
3340 (xdr_string): Likewise.
3341
eb76e5b4
AZ
33422019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3343
3344 [BZ #2421]
3345 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3346 (tests): Add tst-join8 tst-join9.
3347 * nptl/lll_timedwait_tid.c: Remove file.
3348 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3349 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3350 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3351 * nptl/pthread_join_common.c (timedwait_tid): New function.
3352 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3353 is set.
3354 * nptl/tst-join5.c (thread_join): New function.
3355 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3356 check.
3357 * nptl/tst-join8.c: New file.
3358 * nptl/tst-join9.c: Likewise.
3359 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3360 lll_futex_timed_wait_cancel): Add generic macros.
3361 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3362 Remove definitions.
3363 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3364 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3365 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3366 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3367 Remove function.
3368 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3369 Likewise.
3370 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3371 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3372 (lll_futex_timed_wait_cancel): New macro.
3373
3904fd85
WD
33742019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3375
3376 * benchtests/Makefile: Add malloc-simple benchmark.
3377 * benchtests/bench-malloc-simple.c: New benchmark.
3378
24ca04fe
SP
33792019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3380
3381 * benchtests/bench-memmove.c (do_one_test): Remove unused
3382 ORIG_SRC.
3383 (do_test): Adjust.
3384 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3385 ORIG_SRC.
3386 (do_test): Adjust.
3387
85bd1ddb
JW
33882019-01-13 Jim Wilson <jimw@sifive.com>
3389
3390 [BZ #24040]
3391 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3392 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3393 (func): New.
3394 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3395 call func directly.
3396 * nptl/Makefile (tests): Add tst-unwind-thread.
3397 (CFLAGS-tst-unwind-thread.c): Define.
3398 * nptl/tst-unwind-thread.c: New file.
3399 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3400 as undefined.
3401
86140c62
JM
34022019-02-13 Joseph Myers <joseph@codesourcery.com>
3403
10756268
JM
3404 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3405 comment wording.
3406 * nis/nis_call.c (__do_niscall3): Likewise.
3407
05383720
JM
3408 * catgets/gencat.c (normalize_line): Use braces around empty
3409 'else' body.
3410 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3411 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3412 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3413 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3414 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3415 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3416 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3417 definition.
3418
86140c62
JM
3419 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3420 execlp returns.
3421
16f87cfd
WD
34222019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3423
3424 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3425 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3426 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3427 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3428 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3429 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3430 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3431 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3432 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3433 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3434 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3435 * benchtests/bench-bcopy.c: Delete file.
3436 * benchtests/bench-bzero.c: Likewise.
3437 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3438 (simple_memccpy): Remove.
3439 (generic_memccpy): Add function.
3440 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3441 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3442 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3443 (generic_mempcpy): Add new function.
3444 * benchtests/bench-memset.c (simple_bzero): Remove.
3445 (builtin_bzero): Remove.
3446 (builtin_memset): Remove.
3447 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3448 (generic_rawmemchr): Add new function.
3449
0c6d82e9
FW
34502019-02-12 Florian Weimer <fweimer@redhat.com>
3451
3452 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3453
b3fbfe81
AZ
34542019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3455
3456 [BZ #24122]
3457 * elf/Makefile (tests): Add tst-audit13.
3458 (modules-names): Add tst-audit13mod1.
3459 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3460 rule.
3461 * elf/tst-audit13.c: New file.
3462 * elf/tst-audit13mod1.c: Likewise.
3463
3b856d09
FW
34642019-02-12 Florian Weimer <fweimer@redhat.com>
3465
3466 [BZ #24122]
3467 * elf/rtld.c (unload_audit_module): New function.
3468 (report_audit_module_load_error): Likewise.
3469 (load_audit_module): Likewise. Extracted from dl_main. Call
3470 _dl_close if the laversion symbol cannot be found. Use early
3471 returns for error handling. Add malloc error check. Check for a
3472 zero return value from la_version. Remove spurious comment about
3473 static TLS initialization. Remove useless casts.
3474 (notify_audit_modules_of_loaded_object): New function. Extracted
3475 from dl_main.
3476 (load_audit_module): Likewise.
3477 (dl_main): Call load_audit_modules.
3478
32db86d5
JM
34792019-02-12 Joseph Myers <joseph@codesourcery.com>
3480
3481 * elf/dl-exception.c (_dl_exception_create_format): Add
3482 fall-through comments.
3483 * elf/ldconfig.c (parse_conf_include): Likewise.
3484 * elf/rtld.c (print_statistics): Likewise.
3485 * locale/programs/charmap.c (parse_charmap): Likewise.
3486 * misc/mntent_r.c (__getmntent_r): Likewise.
3487 * posix/wordexp.c (parse_arith): Likewise.
3488 (parse_backtick): Likewise.
3489 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3490 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3491 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3492
a51bc4fe
PC
34932019-02-11 Paul A. Clarke <pc@us.ibm.com>
3494
3495 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3496 Use float instead of double.
3497
fb25b135
TS
34982019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3499
3500 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3501
32ea7299
JM
35022019-02-08 Joseph Myers <joseph@codesourcery.com>
3503
3504 * sysdeps/powerpc/bits/mathinline.h: Remove.
3505
eef4d4f8
FW
35062019-02-08 Florian Weimer <fweimer@redhat.com>
3507
3508 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3509 * math/bits/math-finite.h: Move to ...
3510 * bits/math-finite.h: ... here.
3511
fdfbd47d
FW
35122019-02-08 Florian Weimer <fweimer@redhat.com>
3513
3514 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3515 * bits/unistd_ext.h: here.
3516
11eb21c4
PF
35172019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3518
3519 [BZ #21915]
3520 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3521 * nss/tst-nss-files-hosts-long.c: New file.
3522 * nss/tst-nss-files-hosts-long.root: New directory.
3523 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3524 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3525
e47d82c9
FW
35262019-02-08 Florian Weimer <fweimer@redhat.com>
3527
3528 * include/bits/unistd_ext.h: Remove file.
3529 * posix/bits/unistd_ext.h: Move to ...
3530 * sysdeps/generic/bits/unistd_ext.h: ... here.
3531
8f89ab21
FW
35322019-02-08 Florian Weimer <fweimer@redhat.com>
3533
3534 * include/bits/unistd_ext.h: New file.
3535
144a794e
TS
35362019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3537
3538 * time/tst-strftime2.c: Use array_length macros instead of magic
3539 numbers.
3540
669ff911
FW
35412019-02-08 Florian Weimer <fweimer@redhat.com>
3542
3543 [BZ #24161]
3544 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3545 argument.
3546 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3547 locking if the new do_locking argument is true.
3548 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3549 __run_fork_handlers.
3550
d0bd87d4 35512019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3552
3553 [BZ #6399]
3554 Linux: Add gettid system call wrapper.
3555 * posix/Makefile (headers): Add bits/unistd_ext.h.
3556 * posix/bits/unistd_ext.h: New file.
3557 * posix/unistd.h: Include it.
3558 * manual/process.texi (Process Identification): Document gettid.
3559 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3560 tst-gettid, tst-gettid-kill.
3561 (tst-gettid): Link with $(shared-thread-library).
3562 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3563 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3564 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3565 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3566 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3567 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3568 Add gettid.
3569 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3570 Likewise.
3571 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3572 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3573 Likewise.
3574 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3575 Likewise.
3576 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3577 Likewise.
3578 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3579 Likewise.
3580 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3581 Likewise.
3582 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3583 Likewise.
3584 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3585 Likewise.
3586 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3587 (GLIBC_2.30): Likewise.
3588 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3589 (GLIBC_2.30): Likewise.
3590 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3591 (GLIBC_2.30): Likewise.
3592 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3593 (GLIBC_2.30): Likewise.
3594 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3595 Likewise.
3596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3597 (GLIBC_2.30): Likewise.
3598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3599 (GLIBC_2.30): Likewise.
3600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3601 (GLIBC_2.30): Likewise.
3602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3603 (GLIBC_2.30): Likewise.
3604 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3605 Likewise.
3606 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3607 Likewise.
3608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3609 Likewise.
3610 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3611 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3612 Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3614 Likewise.
3615 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3616 Likewise.
3617 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3618 Likewise.
3619 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3620
225d9445 36212019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3622
3623 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3624 compatibility symbols.
3625
823624bd
SL
36262019-02-07 Stefan Liebler <stli@linux.ibm.com>
3627
3628 [BZ #24180]
3629 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3630 Add compiler barriers and comments.
3631
8311c83f
FW
36322019-02-07 Florian Weimer <fweimer@redhat.com>
3633
3634 * include/array_length.h (array_length): Do not use a statement
3635 expression and _Static_assert, so that array_length can be used at
3636 file scope and as a constant expression.
3637
94b63e66
FW
36382019-02-07 Florian Weimer <fweimer@redhat.com>
3639
3640 * support/xdlfcn.h (xdlmopen): Declare.
3641 * support/xdlmopen.c: New file.
3642 * support/Makefile (libsupport-routines): Add xdlmopen.
3643
c2d8f0b7
JM
36442019-02-06 Joseph Myers <joseph@codesourcery.com>
3645
3646 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3647 before return type, without separate inline.
3648 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3649 * elf/dl-tunables.h (tunable_is_name): Likewise.
3650 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3651 (do_set_top_pad): Likewise.
3652 (do_set_mmap_threshold): Likewise.
3653 (do_set_mmaps_max): Likewise.
3654 (do_set_mallopt_check): Likewise.
3655 (do_set_perturb_byte): Likewise.
3656 (do_set_arena_test): Likewise.
3657 (do_set_arena_max): Likewise.
3658 (do_set_tcache_max): Likewise.
3659 (do_set_tcache_count): Likewise.
3660 (do_set_tcache_unsorted_limit): Likewise.
3661 * nis/nis_subr.c (count_dots): Likewise.
3662 * nptl/allocatestack.c (advise_stack_range): Likewise.
3663 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3664 (do_sin): Likewise.
3665 (reduce_sincos): Likewise.
3666 (do_sincos): Likewise.
3667 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3668 (do_set_elision_enable): Likewise.
3669 (TUNABLE_CALLBACK_FNDECL): Likewise.
3670
3b935595
FW
36712019-02-06 Florian Weimer <fweimer@redhat.com>
3672
3673 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3674 (xdlsym): Use dlerror to detect a NULL symbol.
3675
b4333340
FW
36762019-02-06 Florian Weimer <fweimer@redhat.com>
3677
3678 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3679 <stap-probe.h>.
3680 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3681
b6d8a999
SL
36822019-02-06 Stefan Liebler <stli@linux.ibm.com>
3683
3684 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3685
94eeeec0
SL
36862019-02-06 Stefan Liebler <stli@linux.ibm.com>
3687
3688 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3689 __wmemcmp and weak alias to wmemcmp.
3690
bc79db3f
SL
36912019-02-06 Stefan Liebler <stli@linux.ibm.com>
3692
3693 [BZ #23403]
3694 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3695 TLS_TCB_AT_TP tls variant.
3696 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3697 Add alignment checks.
3698 * support/Makefile (libsupport-routines): Add xposix_memalign and
3699 xpthread_setstack.
3700 * support/support.h: Add xposix_memalign.
3701 * support/xthread.h: Add xpthread_attr_setstack.
3702 * support/xposix_memalign.c: New File.
3703 * support/xpthread_attr_setstack.c: Likewise.
3704
f1ac7455
FW
37052019-02-05 Florian Weimer <fweimer@redhat.com>
3706
3707 [BZ #24164]
3708 arm: Use "nr" constraint for Systemtap probes, to avoid the
3709 compiler using memory operands for constants, due to the "o"
3710 alternative in the default "nor" constraint.
3711 * include/stap-probe.h [USE_STAP_PROBE]: Include
3712 <stap-probe-machine.h>
3713 * sysdeps/generic/stap-probe-machine.h: New file.
3714 * sysdeps/arm/stap-probe-machine.h: Likewise.
3715
7a0dcfc6
JM
37162019-02-04 Joseph Myers <joseph@codesourcery.com>
3717
77dc0d86
JM
3718 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3719 with 0, not tcache->entries[tc_idx].
3720
7a0dcfc6
JM
3721 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3722 once.
3723
65f7767a
AS
37242019-02-04 Andreas Schwab <schwab@suse.de>
3725
3726 [BZ #16976]
3727 [BZ #17396]
3728 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3729 looking up collating elements match against (wide) character
3730 sequence instead of name. Correct alignment adjustment.
3731 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3732 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3733 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3734 (LOCALES): Add cs_CZ.ISO-8859-2.
3735 * posix/tst-fnmatch4.c: New file.
3736 * posix/tst-fnmatch5.c: New file.
3737 * include/wchar.h (__wmemcmp): Declare.
3738 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3739 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3740 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3741 * sysdeps/s390/wmemcmp.c: Likewise.
3742
3f635fb4
L
37432019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3744
3745 [BZ #24155]
3746 CVE-2019-7309
3747 * NEWS: Updated for CVE-2019-7309.
3748 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3749 upper 32 bits of RDX register for x32. Use unsigned Jcc
3750 instructions, instead of signed.
3751 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3752 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3753
2ab5741b
FW
37542019-02-04 Florian Weimer <fweimer@redhat.com>
3755
3756 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3757 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3758 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3759 Likewise.
3760 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3761 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3762 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3763 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3764 Likewise.
3765 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3766 Likewise.
3767 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3768 Likewise.
3769 (posix_spawn_file_actions_addopen): Likewise.
3770 (posix_spawn_file_actions_addclose): Likewise.
3771 (posix_spawn_file_actions_adddup2): Likewise.
3772 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3773 qualifiers.
3774 (posix_spawn_file_actions_addfchdir_np): Likewise.
3775
8692ebdb
DN
37762019-02-04 David Newall <glibc@davidnewall.com>
3777
3778 elf: Implement --preload option for the dynamic linker.
3779 * elf/rtld.c (preloadarg): New variable.
3780 (handle_preload_list): Pass through “where” argument to
3781 do_preload.
3782 (dl_main): Handle "--preload" and add second call to
3783 handle_preload_list.
3784 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3785 (tst-rtld-preload-OBJS): Set variable.
3786 (tst-rtld-preload.out): New target.
3787 * elf/tst-rtld-preload.sh: New file.
3788
5e10136b
MM
37892019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3790
3791 * Makefile (testrun.sh): Exit in case of incorrect argument.
3792
221baae0
FW
37932019-02-04 Florian Weimer <fweimer@redhat.com>
3794
3795 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3796 alignment gaps.
3797
b8c72381
FW
37982019-02-03 Florian Weimer <fweimer@redhat.com>
3799
3800 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3801 implicit overflow checks.
3802
11f382ee
AJ
38032019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3804
3805 * stdlib/isomac.c: Include <unistd.h>.
3806
77c7d55e
FW
38072019-02-03 Florian Weimer <fweimer@redhat.com>
3808
3809 * include/time.h (__tzfile_default): Use int, not long int, for
3810 the GMT offsets.
3811 * time/tzfile.c (struct ttinfo): Change type of the offset member
3812 to int.
3813 (__tzfile_read): Remove useless cast.
3814 (__tzfile_default): Adjust prototype.
3815 * time/tzset.c (tz_rule): Change type of the offset member to int.
3816 (parse_offset): Change the type of the sign variable to int.
3817
ee9941f9
FW
38182019-02-03 Florian Weimer <fweimer@redhat.com>
3819
3820 [BZ #24153]
3821 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3822 * libio/getchar.c (getchar): Likewise.
3823 * libio/getchar_u.c (getchar_unlocked): Likewise.
3824 * libio/getwchar.c (getwchar): Likewise.
3825 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3826 * libio/iogets.c (_IO_gets): Likewise.
3827 * libio/vscanf.c (_IO_vscanf): Likewise.
3828 * libio/vwscanf.c (__vwscanf): Likewise.
3829 * libio/tst-bz24153.c: New file.
3830 * libio/Makefile (tests): Add it.
3831
c70824b9
FW
38322019-02-02 Florian Weimer <fweimer@redhat.com>
3833
3834 [BZ #14829]
3835 * manual/resource.texi (Basic Scheduling Functions): Add
3836 portability note. Change process to task throughout the section.
3837 Remove incorrect comment about sched_yield as it affects
3838 tasks/threads, not entire processes.
3839 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3840 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3841
4dcbbc3b
JM
38422019-02-01 Joseph Myers <joseph@codesourcery.com>
3843
3844 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3845 * configure: Regenerated.
3846 * manual/install.texi (Tools for Compilation): Update minimum GCC
3847 version.
3848 * INSTALL: Regenerated.
3849
6175507c
FW
38502019-02-01 Florian Weimer <fweimer@redhat.com>
3851
3852 * support/support_test_compare_string.c
3853 (support_test_compare_string): Use "string" in error message.
3854 * support/tst-test_compare_string.c (do_test): Adjust.
3855
baef1943
FW
38562019-02-01 Florian Weimer <fweimer@redhat.com>
3857
3858 * support/support_format_address_family.c
3859 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3860
395599f0
FW
38612019-02-01 Florian Weimer <fweimer@redhat.com>
3862
3863 * manual/socket.texi (Internet Address Formats): Clarify the byte
3864 order of struct sockaddr_in, struct sockaddr_in6. Document
3865 sin6_flowinfo and sin6_scope_id.
3866
b06f4c00
WD
38672019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3868
3869 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3870 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3871 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3872 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3873 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3874 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3875
83d1cc42
FX
38762019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3877
3878 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3879 [!MEMCHR](MEMCHR): Set to __memchr.
3880 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3881 Add memchr_generic and memchr_nosimd.
3882 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3883 (__libc_ifunc_impl_list): Add memchr ifuncs.
3884 * sysdeps/aarch64/multiarch/memchr.c: New file.
3885 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3886 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3887
c7d3890f
FX
38882019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3889
3890 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3891 Add memset_emag.
3892 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3893 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3894 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3895 Add IS_EMAG check for ifunc dispatch.
3896 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3897 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3898
07c3d1ec
FX
38992019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3900
3901 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3902 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3903 Add emag.
3904 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3905 New macro.
3906
114f792e
SL
39072019-02-01 Stefan Liebler <stli@linux.ibm.com>
3908
3909 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3910
d5627550
VG
39112019-01-31 Vineet Gupta <vgupta@synopsys.com>
3912
3913 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3914 syscall-template file.
3915
5fc9ed4c
CD
39162019-01-31 Carlos O'Donell <carlos@redhat.com>
3917 Torvald Riegel <triegel@redhat.com>
3918 Rik Prohaska <prohaska7@gmail.com>
3919
3920 [BZ# 23844]
3921 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3922 tst-rwlock-trywrlock-stall.
3923 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3924 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3925 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3926 Set __wrphase_fute to 1 only if we started the write phase.
3927 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3928 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3929 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3930 * support/xpthread_rwlock_destroy.c: New file.
3931 * support/xthread.h: Declare xpthread_rwlock_destroy.
3932
932329a5
JM
39332019-02-01 Joseph Myers <joseph@codesourcery.com>
3934
3935 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3936 version to 4.0.2.
3937
5f10701f
PP
39382019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3939
3940 [BZ #24051]
3941 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3942 * libio/fileops.c (_IO_new_file_underflow): Likewise
3943 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3944 * libio/putchar.c (putchar): Likewise.
3945 * libio/putchar_u.c (putchar_unlocked): Likewise.
3946 * libio/putwchar.c (putchar): Likewise.
3947 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3948 * libio/tst-bz24051.c: New test.
3949 * libio/Makefile (tests): Add tst-bz24051
3950
583dd860
PE
39512019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3952
b626c5aa 3953 CVE-2019-9169
583dd860
PE
3954 regex: fix read overrun [BZ #24114]
3955 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3956 https://debbugs.gnu.org/34140
3957 * posix/regexec.c (proceed_next_node):
3958 Do not read past end of input buffer.
3959
2bac7daa
FW
39602019-01-31 Florian Weimer <fweimer@redhat.com>
3961
3962 [BZ #24059]
3963 * nss/nss_files/files-alias.c (get_next_alias): Handle
3964 continuation line without newline at the end.
3965 * nss/tst-nss-files-alias-truncated.c: New file.
3966 * nss/Makefile [$(build-shared)] (tests): Add
3967 tst-nss-files-alias-truncated.
3968 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3969 * support/namespace.h (struct support_chroot_configuration): Add
3970 aliases member.
3971 (struct support_chroot): Add path_aliases member.
3972 * support/support_chroot.c (support_chroot_create): Handle
3973 aliases.
3974 (support_chroot_free): Free path_aliases.
3975
330c9d0d
SP
39762019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3977
de44ab67
SP
3978 * version.h (RELEASE): Set to "development".
3979 (VERSION): Set to "2.29.9000".
3980 * NEWS: Add section for 2.30.
3981
56c86f5d
SP
3982 * version.h (RELEASE): Set to "stable".
3983 (VERSION): Set to "2.29".
3984 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3985
330c9d0d
SP
3986 * NEWS: Add the list of bugs fixed in 2.29.
3987 * manual/contrib.texi: Update contributors list with some more
3988 names.
3989 * manual/install.texi: Update latest versions of packages
3990 tested.
3991 * INSTALL: Regenerated.
3992
e1e47c91
SP
39932019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3994
3995 * po/be.po: Update translations.
3996 * po/bg.po: Likewise.
3997 * po/ca.po: Likewise.
3998 * po/cs.po: Likewise.
3999 * po/da.po: Likewise.
4000 * po/de.po: Likewise.
4001 * po/el.po: Likewise.
4002 * po/eo.po: Likewise.
4003 * po/es.po: Likewise.
4004 * po/fi.po: Likewise.
4005 * po/fr.po: Likewise.
4006 * po/gl.po: Likewise.
4007 * po/hr.po: Likewise.
4008 * po/hu.po: Likewise.
4009 * po/ia.po: Likewise.
4010 * po/id.po: Likewise.
4011 * po/it.po: Likewise.
4012 * po/ja.po: Likewise.
4013 * po/ko.po: Likewise.
4014 * po/lt.po: Likewise.
4015 * po/nb.po: Likewise.
4016 * po/nl.po: Likewise.
4017 * po/pl.po: Likewise.
4018 * po/pt_BR.po: Likewise.
4019 * po/ru.po: Likewise.
4020 * po/rw.po: Likewise.
4021 * po/sk.po: Likewise.
4022 * po/sl.po: Likewise.
4023 * po/sv.po: Likewise.
4024 * po/tr.po: Likewise.
4025 * po/uk.po: Likewise.
4026 * po/vi.po: Likewise.
4027 * po/zh_CN.po: Likewise.
4028 * po/zh_TW.po: Likewise.
4029
8d016826
UB
40302019-01-24 Uroš Bizjak <ubizjak@gmail.com>
4031
4032 [BZ #24130]
4033 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
4034 of $f3 register on $y_is_neg path.
4035
a0bb5abd
ST
40362019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
4037
b96e22d0 4038 [BZ #24110]
a0bb5abd
ST
4039 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
4040 sigaltstack.ss_flags.
4041
b22eed37
TS
40422019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
4043
4044 [BZ #23758]
4045 * manual/time.texi (strftime): Document "%Ey".
4046 * time/strftime_l.c (__strftime_internal): Set the default width
4047 padding with zero of "%Ey" to 2.
4048
32f600a2
TS
4049 [BZ #24096]
4050 * manual/time.texi (strftime): Document "%EC" and "%EY".
4051 * time/Makefile (tests): Add tst-strftime2.
4052 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
4053 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
4054 override padding for "%Ey".
4055 If an optional flag ('_' or '-') is specified to "%EY", interpret the
4056 "%Ey" in the subformat as if decorated with that flag.
4057 * time/tst-strftime2.c: New file.
4058
8e889c5d
AZ
40592019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4060
3367acdb
AZ
4061 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
4062 are not defined.
4063
8e889c5d
AZ
4064 [BZ #24122]
4065 * elf/Makefile (tests): Add tst-audit13.
4066 (modules-names): Add tst-audit13mod1.
4067 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
4068 rule.
4069 * elf/rtld.c (dl_main): Handle invalid audit module version.
4070 * elf/tst-audit13.c: New file.
4071 * elf/tst-audit13mod1.c: Likewise.
4072
a95dc01c
ST
40732019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
4074
4075 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
4076 returned by __hurd_at_flags.
ee4d7902
ST
4077 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
4078 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
4079 directly instead of __hurd_file_name_lookup.
a95dc01c 4080
712f1167
JM
40812019-01-21 Joseph Myers <joseph@codesourcery.com>
4082
4083 * scripts/build-many-glibcs.py (Context.checkout): Default
4084 binutils version to 2.32 branch.
4085
108bc404
FW
40862019-01-21 Florian Weimer <fweimer@redhat.com>
4087
4088 [BZ #20018]
4089 CVE-2016-10739
4090 resolv: Reject trailing characters in host names
4091 * include/arpa/inet.h (__inet_aton_exact): Declare.
4092 (inet_aton): Remove hidden prototype. No longer used internally.
4093 * nscd/gai.c (__inet_aton): Do not define.
4094 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
4095 * nss/digits_dots.c (__inet_aton): Likewise.
4096 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
4097 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
4098 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
4099 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
4100 (tst-resolv-trailing): Likewise.
4101 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
4102 libc.
4103 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
4104 Make static. Add endp parameter.
4105 (__inet_aton_exact): New function.
4106 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
4107 (__inet_addr): Call inet_aton_end.
4108 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
4109 not just IPv6. Call __inet_aton_exact.
4110 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
4111 (tests): Make const. Add additional test cases with trailing
4112 characters.
4113 (do_test): Use array_length.
4114 * resolv/tst-inet_aton_exact.c: New file.
4115 * resolv/tst-resolv-trailing.c: Likewise.
4116 * resolv/tst-resolv-nondecimal.c: Likewise.
4117 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
4118
5165de69
L
41192019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4120
4121 [BZ# 24097]
4122 CVE-2019-6488
4123 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
4124 Clear the upper 32 bits of RSI register.
4125 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
4126 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
4127 and tst-size_t-wcsnlen.
4128 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
4129 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
4130
c7c54f65
L
41312019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4132
4133 [BZ# 24097]
4134 CVE-2019-6488
4135 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
4136 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4137 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4138 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
4139 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
4140
ee915088
L
41412019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4142
4143 [BZ# 24097]
4144 CVE-2019-6488
4145 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
4146 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4147 * sysdeps/x86_64/strcmp.S: Likewise.
4148 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
4149 tst-size_t-strncmp and tst-size_t-wcsncmp.
4150 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
4151 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
4152 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
4153
82d0b4a4
L
41542019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4155
4156 [BZ# 24097]
4157 CVE-2019-6488
4158 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
4159 RDX_LP for length. Clear the upper 32 bits of RDX register.
4160 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
4161 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
4162 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
4163 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
4164
ecd8b842
L
41652019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4166
4167 [BZ# 24097]
4168 CVE-2019-6488
4169 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
4170 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
4171 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
4172 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
4173
231c5676
L
41742019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4175
4176 [BZ# 24097]
4177 CVE-2019-6488
4178 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
4179 length. Clear the upper 32 bits of RDX register.
4180 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4181 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4182 Likewise.
4183 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
4184 Likewise.
4185 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
4186 tst-size_t-wmemchr.
4187 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
4188
b304fc20
L
41892019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4190
4191 [BZ# 24097]
4192 CVE-2019-6488
4193 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
4194 length. Clear the upper 32 bits of RDX register.
4195 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4196 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4197 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
4198 tst-size_t-wmemcmp.
4199 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
4200 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
4201
97700a34
L
42022019-01-21 H.J. Lu <hongjiu.lu@intel.com>
4203
4204 [BZ# 24097]
4205 CVE-2019-6488
4206 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
4207 upper 32 bits of RDX register.
4208 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
4209 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
4210 tst-size_t-wmemchr.
4211 * sysdeps/x86_64/x32/test-size_t.h: New file.
4212 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
4213 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
4214
6ca53a24
FW
42152019-01-18 Florian Weimer <fweimer@redhat.com>
4216
4217 [BZ #24112]
4218 resolv: Do not send queries for non-host-names in nss_dns.
4219 * resolv/nss_dns/dns-host.c (check_name): New function.
4220 (_nss_dns_gethostbyname2_r): Use it.
4221 (_nss_dns_gethostbyname_r): Likewise.
4222 (_nss_dns_gethostbyname4_r): Likewise.
4223
5e30b8ef
FW
42242019-01-21 Florian Weimer <fweimer@redhat.com>
4225
4226 * resolv/inet_addr.c: Reformat to GNU style.
4227 (__inet_addr, __inet_aton): Update comment.
4228
71effcea
FW
42292019-01-18 Florian Weimer <fweimer@redhat.com>
4230
4231 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
4232 ("malloc: Use current (C11-style) atomics for fastbin access").
4233 This commit introduces a substantial performance regression on
4234 POWER and Aarch64.
4235 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
4236 (REMOVE_FB): Define.
4237 (_int_malloc): Use it and reindent.
4238 (_int_free): Use CAS loop with
4239 catomic_compare_and_exchange_val_rel.
4240 (malloc_consolidate): Use atomic_exchange_acq.
4241
4242
562f4362
L
42432019-01-18 H.J. Lu <hongjiu.lu@intel.com>
4244
4245 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
4246 -Wl,-z,now.
4247 (LDFLAGS-tst-minsigstksz-2): Likewise.
4248 (LDFLAGS-tst-minsigstksz-3): Likewise.
4249 (LDFLAGS-tst-minsigstksz-3a): Likewise.
4250 (LDFLAGS-tst-minsigstksz-4): Likewise.
4251
80dfa298
TS
42522019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
4253
4254 * manual/time.texi (strftime): Fix the wording to "alternative" rather
4255 than "alternate".
4256
008b598e
PC
42572019-01-16 Paul A. Clarke <pc@us.ibm.com>
4258
4259 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
4260
fbbc9a4e
ZW
42612019-01-16 Zack Weinberg <zackw@panix.com>
4262
6b5c8607
TS
4263 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
4264 (xget_sigstack_location): New test support functions.
4265 * support/xsigstack.c: New file, implementing them.
4266 * support/tst-xsigstack.c: New test for them.
4267 * support/Makefile: Update.
fbbc9a4e 4268
6b5c8607
TS
4269 * signal/tst-minsigstksz-1.c
4270 * signal/tst-minsigstksz-2.c
4271 * signal/tst-minsigstksz-3.c
4272 * signal/tst-minsigstksz-3a.c
4273 * signal/tst-minsigstksz-4.c: New tests.
4274 * signal/Makefile: Run them.
fbbc9a4e 4275
5f1135e4
SP
42762019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
4277
4278 * po/libc.pot: Regenerate.
4279
ecdacd34
TMQMF
42802019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4281
4282 * math/libm-test-fma.inc (fma_test_data): Set
4283 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
4284
56054664
RA
42852019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4286
4287 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
4288 (do_test): Changed __vector __int128_t to __vector unsigned int.
4289
1a153e47
LS
42902019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
4291
4292 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
4293 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
4294 stpcpy-avx2 and stpncpy-avx2.
4295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
4296 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
4297 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
4298 and __stpncpy_avx2.
4299 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
4300 ifunc-strcpy.h}: rename header for a more generic name.
4301 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
4302 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
4303 AVX unaligned load is fast and vzeroupper is preferred.
4304 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
4305 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
4306 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
4307 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
4308 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
4309 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
4310
a1b02ae7
DL
43112019-01-12 Dmitry V. Levin <ldv@altlinux.org>
4312
4313 * argp/argp-help.c: Fix typo in comment.
4314 * misc/sys/cdefs.h: Likewise.
4315 * posix/regexec.c (sift_states_iter_mb): Likewise.
4316 * socket/sockatmark.c: Likewise.
4317 * socket/sys/socket.h: Likewise.
4318 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
4319 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
4320 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
4321 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
4322 * sysdeps/unix/sockatmark.c: Likewise.
4323 * time/strptime_l.c: Likewise.
4324
5cbbf01e
TS
43252019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
4326
4327 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
4328 missing space after the cast of "_NL_CURRENT".
4329
0bc9bdf1
RA
43302019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4331
4332 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4333 ifdef to fix read of VSCR.
4334 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4335 tst-ucontext-ppc64-vscr.c to test list.
4336 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4337
5494af04
AH
43382019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4339
4340 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4341 fall-through.
4342
e17f63ff
JW
43432019-01-09 Jim Wilson <jimw@sifive.com>
4344
4345 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4346
02f440c1
WD
43472019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4348
4349 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4350 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4351 __memcpy_falkor for ares.
4352 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4353 Add new define.
4354 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4355 Add ares cpu.
4356
69da3c9e
L
43572019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4358
4359 [BZ #24066]
4360 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4361 4_FP_W_TYPEs are used for IEEE quad precision.
4362 * soft-fp/extendhftf2.c: Likewise.
4363 * soft-fp/extendsftf2.c: Likewise.
4364 * soft-fp/extendxftf2.c: Likewise.
4365 * soft-fp/trunctfdf2.c: Likewise.
4366 * soft-fp/trunctfhf2.c: Likewise.
4367 * soft-fp/trunctfsf2.c: Likewise.
4368 * soft-fp/trunctfxf2.c: Likewise.
4369 * sysdeps/alpha/ots_cvttx.c: Likewise.
4370 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4371 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4372 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4373 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4374 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4375 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4376 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4377 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4378 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4379 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4380 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4381 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4382 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4383 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4384 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4385 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4386 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4387
2ef42716
AJ
43882019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4389
4390 [BZ #24024]
4391 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4392 code with -fmath-errno.
4393 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4394 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4395 * string/test-strerror-errno.c: New file.
4396
7395f3a0
AJ
43972019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4398
4399 [BZ #24046]
4400 * localedata/locales/en_US (date_fmt): Add, set to
4401 "%a %d %b %Y %r %Z".
4402
010fe231
FW
44032019-01-07 Florian Weimer <fweimer@redhat.com>
4404
4405 [BZ #24063]
4406 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4407 instead of @var{errno}.
4408 (Parsing of Integers): Likewise.
4409 (Parsing of Floats): Likewise.
4410 * manual/filesys.texi (Working with Directory Trees): Likewise.
4411 (Temporary Files): Likewise.
4412 * manual/job.texi (Terminal Access Functions): Likewise.
4413 * manual/llio.texi (Synchronizing I/O): Likewise.
4414 * manual/math.texi (SVID Random): Likewise.
4415 * manual/message.texi (The catgets Functions): Likewise.
4416 (Translation with gettext): Likewise.
4417 (Locating gettext catalog): Likewise.
4418 (Charset conversion in gettext): Likewise.
4419 * manual/nss.texi (NSS Module Function Internals): Likewise.
4420 * manual/search.texi (Hash Search Function): Likewise.
4421 * manual/setjmp.texi (System V contexts): Likewise.
4422 * manual/time.texi (Sleeping): Likewise.
4423 * manual/users.texi (Lookup User): Likewise.
4424 (Lookup Group): Likewise.
4425
b79dc8d0
AZ
44262019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4427
4428 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4429 fix typo.
4430
890461fe 44312019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4432
4433 [BZ #19444]
4434 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4435 __builtin_unreachable for default case in switch.
4436 (__ieee754_yn): Likewise.
4437 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4438 (__ieee754_ynl): Likewise.
4439 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4440 (__ieee754_ynl): Likewise.
4441 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4442 (__ieee754_ynl): Likewise.
4443
8b18d418
SN
44442019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4445
4446 * manual/maint.texi: Use @{ and @}.
4447
4392898d
FW
44482019-01-04 Florian Weimer <fweimer@redhat.com>
4449
4450 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4451 function.
4452 (do_in_chroot_1): Call it.
4453 (run_chroot_tests):
4454 Improve error reporting in case it is not possible to create a
4455 collision for the PTY name required by the test.
4456
17cc27d5
AZ
44572019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4458
ce7eb0e9
AZ
4459 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4460 lll_wait_tid with timeout.
4461 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4462 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4463 futex_reltimed_wait_cancelable for cancelabla mode.
4464 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4465 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4466 macros.
4467 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4468 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4469 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4470 SYSCALL_CANCEL_NCS): New macro.
4471 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4472 (lll_timedwait_tid): Remove macro.
4473 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4474 Likewise.
4475 (lll_timedwait_tid): Likewise.
4476 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4477 Likewise.
4478 (lll_timedwait_tid): Likewise.
4479 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4480 Likewise.
4481 (lll_timedwait_tid): Likewise.
4482 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4483 Use INTERNAL_SYSCALL_CANCEL.
4484 * sysdeps/unix/sysv/linux/futex-internal.h
4485 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4486 instead of __pthread_{enable,disable}_asynccancel.
4487 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4488 (lll_futex_wait_cancel): New macro.
4489
0b13e255
AZ
4490 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4491 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4492
85c828a4
AZ
4493 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4494 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4495
d0d7f85f
AZ
4496 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4497 in backtrace analysis.
4498 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4499 side-effects.
4500 (tf_send): Likewise.
4501
17cc27d5
AZ
4502 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4503 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4504 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4505 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4506 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4507 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4508 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4509 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4510 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4511 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4512 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4513 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4514 Likewise.
4515 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4516 tst-cancel-wrappers.sh.
4517 (generated): Remove tst-cancel-wrappers.out.
4518 (tst-cancel-wrappers.out): Remove rule.
4519 * nptl/tst-cancel-wrappers.sh: Remove file.
4520
7d7af8f1
SN
45212019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4522
4523 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4524 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4525 Update.
4526
805334b2
AZ
45272019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4528
4529 [BZ #23640]
4530 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4531 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4532 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4533 close-on-exec reset for adddup2 file action.
4534 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4535
03992356
ZW
45362019-01-03 Zack Weinberg <zackw@panix.com>
4537
4538 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4539 parameter. Only use deprecated scanf when __USE_GNU is defined
4540 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4541 than 201103L, whichever is relevant for the language being compiled.
4542
4543 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4544 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4545 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4546 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4547 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4548
4549 * libio/iovsscanf.c
4550 * libio/fwscanf.c
4551 * libio/iovswscanf.c
4552 * libio/swscanf.c
4553 * libio/vscanf.c
4554 * libio/vwscanf.c
4555 * libio/wscanf.c
4556 * stdio-common/fscanf.c
4557 * stdio-common/scanf.c
4558 * stdio-common/vfscanf.c
4559 * stdio-common/vfwscanf.c
4560 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4561 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4562 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4563 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4564 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4565 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4566 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4567 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4568 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4569 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4570 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4571 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4572 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4573 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4574 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4575
4576 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4577 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4578 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4579 not sscanf.
4580 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4581 with a preprocessor macro.
4582
4583 * stdio-common/bug21.c, stdio-common/scanf14.c:
4584 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4585 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4586 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4587 to xscanf, xfscanf, xsscanf.
4588
4589 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4590 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4591 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4592 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4593 xfscanf, xsscanf.
4594 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4595 override feature selection macros or provide definitions of u_char etc.
4596 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4597 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4598 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4599 with -std=gnu89.
4600
8083afa5
AZ
46012019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4602
6f343c1f
AZ
4603 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4604 bits/termios-misc.h.
4605 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4606 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4607 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4608 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4609 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4610 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4611
51f4beb0
AZ
4612 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4613 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4614 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4615 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4616 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4617 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4618 termios-misc.h.
4619 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4620 (sysdep_headers): Add termios-misc.h.
4621
f69c5cb2
AZ
4622 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4623 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4624 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4625
3aa4a07e
AZ
4626 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4627 termios-tcflow.h.
4628 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4629 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4630 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4631 TCSAFLUSH): Move to termios-tcflow.h.
4632 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4633 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4634 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4635 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4636
22679ddf
AZ
4637 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4638 termios-c_lflag.h.
4639 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4640 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4641 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4642 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4643 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4644 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4645 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4646 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4647 Likewise.
4648 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4649 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4650 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4651 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4652
72eb6ecc
AZ
4653 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4654 termios-c_cflag.h.
4655 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4656 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4657 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4658 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4659 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4660 termios-c_cflag.h.
4661 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4662 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4664 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4665
9c5d0d02
AZ
4666 [BZ #23783]
4667 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4668 termios-baud.h.
4669 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4670 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4671 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4672 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4673 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4674 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4675 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4676 __MAX_BAUD): Move to termios-baud.h.
4677 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4678 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4679 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4680 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4682
7b832018
AZ
4683 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4684 termios-c_oflag.h.
4685 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4686 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4687 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4688 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4689 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4690 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4691 termios-c_oflag.h.
4692 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4693 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4694 FFR1): Likewise.
4695 [USE_MISC] (XTABS): Likewise.
4696 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4697 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4698 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4699 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4700
3127003e
AZ
4701 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4702 termios-c_iflag.h.
4703 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4704 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4705 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4706 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4707 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4708 IUTF8): Move to termios-c_iflag.h.
4709 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4710 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4711 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4712 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4713
48c1dd96
AZ
4714 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4715 termios-cc.h.
4716 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4717 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4718 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4719 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4720 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4721 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4722 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4723 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4724 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4725 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4726 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4727 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4728
e5a50db3
AZ
4729 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4730 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4731 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4732 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4733 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4734 termios-struct.h.
4735 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4736 termios-struct.h.
4737 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4738 Likewise.
4739 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4740 Likewise.
4741 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4742 Likewise.
4743 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4744 Likewise.
4745 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4746 _HAVE_C_OSPEED): Define.
4747 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4748 _HAVE_C_OSPEED): Likewise.
4749 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4750 _HAVE_C_OSPEED): Likewise.
4751 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4752 (cfsetospeed): Check for define value instead of existence.
4753 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4754 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4755 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4756 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4757 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4758
8083afa5
AZ
4759 [BZ #17783]
4760 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4761 Define.
4762 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4763 (TIOCSER_TEMT): Likewise.
4764 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4765 (TEOCSER_TEMT): Likewise.
4766
4d7d7dc6
P
47672019-01-02 PanderMusubi <pander@users.sourceforge.net>
4768
4769 [BZ #24011]
4770 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4771
8e291a29
JM
47722019-01-02 Joseph Myers <joseph@codesourcery.com>
4773
4774 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4775
55137f7d
ST
47762019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4777
4778 * sysdeps/htl/pt-barrierattr-setpshared.c
4779 (pthread_barrierattr_setpshared): Add stub warning.
4780 * sysdeps/htl/pt-condattr-setpshared.c
4781 (pthread_condattr_setpshared): Likewise.
4782 * sysdeps/htl/pt-mutexattr-setpshared.c
4783 (pthread_mutexattr_setpshared): Likewise.
4784 * sysdeps/htl/pt-rwlockattr-setpshared.c
4785 (pthread_rwlockattr_setpshared): Likewise.
4786 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4787 (pthread_mutexattr_setpshared): Likewise.
4788
2ce09e01
JM
47892019-01-02 Joseph Myers <joseph@codesourcery.com>
4790
acb55dcb
JM
4791 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4792 constants to match with Linux 4.20.
4793
2ce09e01
JM
4794 * sysdeps/mips/mips32/libm-test-ulps: Update.
4795 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4796
fe20bb1d
AJ
47972019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4798
4799 [BZ #24034]
4800 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4801 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4802 than __typeof (...) for the a_ptr variable.
4803
2d9837c1
GG
48042019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4805
4806 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4807 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4808 * libio/Makefile (tests): Add tst-sprintf-ub and
4809 tst-sprintf-chk-ub.
4810 (CFLAGS-tst-sprintf-ub.c): New variable.
4811 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4812 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4813 destination buffer and check for overflows in fortified mode.
4814 * libio/libioP.h (PRINTF_CHK): New macro.
4815 * libio/tst-sprintf-chk-ub.c: New file.
4816 * libio/tst-sprintf-ub.c: Likewise.
4817
d5c6df0b 48182019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4819
4820 [BZ #24018]
4821 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4822 failure.
4823
66081e38
FW
48242019-01-02 Florian Weimer <fweimer@redhat.com>
4825
4826 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4827
04277e02
JM
48282019-01-01 Joseph Myers <joseph@codesourcery.com>
4829
6ef3d225
JM
4830 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4831 macro.
4832
e3d4e292
JM
4833 * sysdeps/unix/sysv/linux/netpacket/packet.h
4834 (PACKET_IGNORE_OUTGOING): New macro.
4835
f4507797
JM
4836 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4837 macro.
4838
47ad5e1a
JM
4839 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4840 version to 4.20.
4841 (riscv_flush_icache): New syscall.
4842
7628a1b0
JM
4843 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4844 trailing whitespace removed.
4845 * scripts/config.guess: Update to version 2019-01-01.
4846 * scripts/config.sub: Update to version 2019-01-01.
4847 * scripts/move-if-change: Update from gnulib.
4848
c9123888
JM
4849 * NEWS: Update copyright dates.
4850 * catgets/gencat.c (print_version): Likewise.
4851 * csu/version.c (banner): Likewise.
4852 * debug/catchsegv.sh: Likewise.
4853 * debug/pcprofiledump.c (print_version): Likewise.
4854 * debug/xtrace.sh (do_version): Likewise.
4855 * elf/ldconfig.c (print_version): Likewise.
4856 * elf/ldd.bash.in: Likewise.
4857 * elf/pldd.c (print_version): Likewise.
4858 * elf/sotruss.sh: Likewise.
4859 * elf/sprof.c (print_version): Likewise.
4860 * iconv/iconv_prog.c (print_version): Likewise.
4861 * iconv/iconvconfig.c (print_version): Likewise.
4862 * locale/programs/locale.c (print_version): Likewise.
4863 * locale/programs/localedef.c (print_version): Likewise.
4864 * login/programs/pt_chown.c (print_version): Likewise.
4865 * malloc/memusage.sh (do_version): Likewise.
4866 * malloc/memusagestat.c (print_version): Likewise.
4867 * malloc/mtrace.pl: Likewise.
4868 * manual/libc.texinfo: Likewise.
4869 * nptl/version.c (banner): Likewise.
4870 * nscd/nscd.c (print_version): Likewise.
4871 * nss/getent.c (print_version): Likewise.
4872 * nss/makedb.c (print_version): Likewise.
4873 * posix/getconf.c (main): Likewise.
4874 * scripts/test-installation.pl: Likewise.
4875 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4876
04277e02
JM
4877 * All files with FSF copyright notices: Update copyright dates
4878 using scripts/update-copyrights.
4879 * locale/programs/charmap-kw.h: Regenerated.
4880 * locale/programs/locfile-kw.h: Likewise.
4881
e740e5b1
JM
48822018-12-31 Joseph Myers <joseph@codesourcery.com>
4883
4884 * timezone/zdump.c: Update from tzcode 2018i.
4885 * timezone/zic.c: Likewise.
4886
9b7f98b3
PE
48872018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4888
4889 regex: improve Gnulib port to AIX
4890 From the glibc point of view, this removes duplicate macro
4891 definitions and is obviously safe.
4892 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4893 * posix/regex_internal.h:
4894 (__attribute__, __attribute_warn_unused_result__):
4895 Remove; already defined elsewhere.
4896
b50dd3bc
FW
48972018-12-31 Florian Weimer <fw@deneb.enyo.de>
4898
4899 [BZ #24027]
4900 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4901 copying operation. (ncopies had the wrong type, resulting in an
4902 integer wraparound and too few elements being copied.)
4903
0b9c8490
L
49042018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4905
4906 [BZ #24022]
4907 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4908 <asm/syscalls.h> exists with __has_include__ before including it.
4909
01047fa6
JM
49102018-12-31 Joseph Myers <joseph@codesourcery.com>
4911
4912 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4913 version to 4.20.
4914
6b5c8607 49152018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4916
4917 * hurd/lookup-retry: Include <unistd.h>.
4918 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4919 Release it on return. Handle "pid" magical lookup retry.
4920
989182c4
RL
49212018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4922
4923 [BZ #10496]
4924 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4925 (t_fmt_ampm): Likewise.
4926 * localedata/locales/aa_ER (t_fmt): Likewise.
4927 (t_fmt_ampm): Likewise.
4928 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4929 (t_fmt_ampm): Likewise.
4930 * localedata/locales/aa_ET (t_fmt): Likewise.
4931 (t_fmt_ampm): Likewise.
4932 * localedata/locales/am_ET (t_fmt): Likewise.
4933 (t_fmt_ampm): Likewise.
4934 * localedata/locales/byn_ER (t_fmt): Likewise.
4935 (t_fmt_ampm): Likewise.
4936 * localedata/locales/om_ET (t_fmt): Likewise.
4937 (t_fmt_ampm): Likewise.
4938 * localedata/locales/sid_ET (t_fmt): Likewise.
4939 (t_fmt_ampm): Likewise.
4940 * localedata/locales/so_DJ (t_fmt): Likewise.
4941 (t_fmt_ampm): Likewise.
4942 * localedata/locales/so_ET (t_fmt): Likewise.
4943 (t_fmt_ampm): Likewise.
4944 * localedata/locales/so_SO (t_fmt): Likewise.
4945 (t_fmt_ampm): Likewise.
4946 * localedata/locales/ti_ER (t_fmt): Likewise.
4947 (t_fmt_ampm): Likewise.
4948 * localedata/locales/ti_ET (t_fmt): Likewise.
4949 (t_fmt_ampm): Likewise.
4950 * localedata/locales/tig_ER (t_fmt): Likewise.
4951 (t_fmt_ampm): Likewise.
4952 * localedata/locales/wal_ET (t_fmt): Likewise.
4953 (t_fmt_ampm): Likewise.
4954
4955 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4956 * localedata/locales/ar_IN (t_fmt): Likewise.
4957 * localedata/locales/bhb_IN (t_fmt): Likewise.
4958 * localedata/locales/bho_IN (t_fmt): Likewise.
4959 * localedata/locales/bi_VU (t_fmt): Likewise.
4960 * localedata/locales/bn_BD (t_fmt): Likewise.
4961 * localedata/locales/bn_IN (t_fmt): Likewise.
4962 * localedata/locales/brx_IN (t_fmt): Likewise.
4963 * localedata/locales/doi_IN (t_fmt): Likewise.
4964 * localedata/locales/en_HK (t_fmt): Likewise.
4965 (t_fmt_ampm): Likewise.
4966 * localedata/locales/en_IN (t_fmt): Likewise.
4967 * localedata/locales/en_PH (t_fmt): Likewise.
4968 * localedata/locales/gu_IN (t_fmt): Likewise.
4969 * localedata/locales/hi_IN (t_fmt): Likewise.
4970 * localedata/locales/hif_FJ (t_fmt): Likewise.
4971 * localedata/locales/hne_IN (t_fmt): Likewise.
4972 * localedata/locales/kn_IN (t_fmt): Likewise.
4973 * localedata/locales/kok_IN (t_fmt): Likewise.
4974 * localedata/locales/ks_IN (t_fmt): Likewise.
4975 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4976 * localedata/locales/mag_IN (t_fmt): Likewise.
4977 * localedata/locales/mai_IN (t_fmt): Likewise.
4978 * localedata/locales/mjw_IN (t_fmt): Likewise.
4979 * localedata/locales/ml_IN (t_fmt): Likewise.
4980 * localedata/locales/mni_IN (t_fmt): Likewise.
4981 * localedata/locales/mr_IN (t_fmt): Likewise.
4982 * localedata/locales/ms_MY (t_fmt): Likewise.
4983 * localedata/locales/pa_IN (t_fmt): Likewise.
4984 * localedata/locales/raj_IN (t_fmt): Likewise.
4985 * localedata/locales/sa_IN (t_fmt): Likewise.
4986 * localedata/locales/sat_IN (t_fmt): Likewise.
4987 * localedata/locales/sd_IN (t_fmt): Likewise.
4988 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4989 * localedata/locales/tcy_IN (t_fmt): Likewise.
4990 * localedata/locales/the_NP (t_fmt): Likewise.
4991 * localedata/locales/to_TO (t_fmt): Likewise.
4992 * localedata/locales/ur_IN (t_fmt): Likewise.
4993
4994 * localedata/locales/hif_FJ (d_t_fmt): Set to
4995 "%A %d %b %Y %I:%M:%S %p".
4996 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4997
4998 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4999 * localedata/locales/ar_BH (t_fmt): Likewise.
5000 * localedata/locales/ar_DZ (t_fmt): Likewise.
5001 * localedata/locales/ar_EG (t_fmt): Likewise.
5002 * localedata/locales/ar_IQ (t_fmt): Likewise.
5003 * localedata/locales/ar_JO (t_fmt): Likewise.
5004 * localedata/locales/ar_KW (t_fmt): Likewise.
5005 * localedata/locales/ar_LB (t_fmt): Likewise.
5006 * localedata/locales/ar_LY (t_fmt): Likewise.
5007 * localedata/locales/ar_OM (t_fmt): Likewise.
5008 * localedata/locales/ar_QA (t_fmt): Likewise.
5009 * localedata/locales/ar_SD (t_fmt): Likewise.
5010 * localedata/locales/ar_SS (t_fmt): Likewise.
5011 * localedata/locales/ar_SY (t_fmt): Likewise.
5012 * localedata/locales/ar_TN (t_fmt): Likewise.
5013 * localedata/locales/ar_YE (t_fmt): Likewise.
5014
5015 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
5016 (t_fmt_ampm): Likewise.
5017 * localedata/locales/gez_ET (t_fmt): Likewise.
5018 (t_fmt_ampm): Likewise.
5019
5020 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
5021 (t_fmt_ampm): Likewise.
5022 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
5023
5024 * localedata/locales/zh_HK (t_fmt):
5025 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
5026
5027 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
5028 because this locale does not use the 12-hour clock.
5029 (t_fmt): Set to "%Z %H:%M:%S".
5030 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
5031
5032 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
5033 because this locale does not use the 12-hour clock.
5034 (t_fmt): Set to "%H:%M:%S %Z".
5035 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
5036
5037 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
5038 because this locale does not use the 12-hour clock.
5039 (t_fmt): Set to "%T".
5040 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
5041 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
5042
5043 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
5044 because this locale does not use the 12-hour clock.
5045 (t_fmt): Set to "%H:%M:%S %Z".
5046 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
5047
5048 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
5049 because this locale does not use the 12-hour clock.
5050 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
5051 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
5052
27841a7d
RL
50532018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
5054
5055 [BZ #10496]
5056 [BZ #23724]
5057 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
5058 (t_fmt_ampm): Likewise.
5059 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
5060 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
5061 (d_fmt): Set to "%-d.%-m.%y".
5062
0253580a
AZ
50632018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5064
5065 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
5066 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
5067 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
5068 Likewise.
5069 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
5070 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
5071 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
5072 function.
5073 * support/blob_repeat.c (check_mul_overflow_size_t,
5074 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
5075
09104e5b
AJ
50762018-12-28 Aurelien Jarno <aurelien@aurel32.net>
5077
5078 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
5079
c0feb731
PE
50802018-12-27 Paul Eggert <eggert@cs.ucla.edu>
5081
5082 regex: simplify Gnulib port
5083 This simplifies the code, by removing stuff intended for porting
5084 to Gnulib but no longer needed there.
5085 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
5086 uses of libc_hidden_def, weak_alias.
5087 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
5088 _Restrict_ except for public-facing headers.
5089 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
5090 Remove; already defined elsewhere.
5091 * posix/regex.c, posix/regex_internal.h:
5092 Use __GNUC_PREREQ instead of rolling our own.
5093 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
5094
5289f1f5
WD
50952018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
5096
5097 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 5098 (memchr_strlen): New function.
5289f1f5 5099
ba4b8fab
L
51002018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5101
5102 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
5103 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
5104 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
5105
9412979a
L
51062018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5107
5108 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
5109
8700a785
L
51102018-12-26 H.J. Lu <hongjiu.lu@intel.com>
5111
5112 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
5113 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
5114 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
5115 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
5116 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
5117 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
5118 <sysdeps/ieee754/flt-32/s_sincosf.c>.
5119
57b3ff8e
JM
51202018-12-21 Joseph Myers <joseph@codesourcery.com>
5121
5122 [BZ #24023]
5123 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
5124 PLT reference in libc.so.
5125 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
5126 _Q_lltoq and _Q_qtod PLT references in libc.so.
5127
90d3320d
WD
51282018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
5129
5130 * benchtests/bench-memchr.c: Cleanup defines.
5131 * benchtests/bench-memcmp.c: Likewise.
5132 * benchtests/bench-memset.c: Likewise.
5133 * benchtests/bench-memset-large.c: Likewise.
5134 * benchtests/bench-memset-walk.c: Likewise.
5135 * benchtests/bench-stpcpy.c: Likewise.
5136 * benchtests/bench-stpncpy.c: Likewise.
5137 * benchtests/bench-strcat.c: Likewise.
5138 * benchtests/bench-strchr.c: Likewise.
5139 * benchtests/bench-strcmp.c: Likewise.
5140 * benchtests/bench-strcpy.c: Likewise.
5141 * benchtests/bench-strcspn.c: Likewise.
5142 * benchtests/bench-string.h: Likewise.
5143 * benchtests/bench-strlen.c: Likewise.
5144 * benchtests/bench-strncat.c: Likewise.
5145 * benchtests/bench-strncmp.c: Likewise.
5146 * benchtests/bench-strncpy.c: Likewise.
5147 * benchtests/bench-strnlen.c: Likewise.
5148 * benchtests/bench-strpbrk.c: Likewise.
5149 * benchtests/bench-strrchr.c: Likewise.
5150 * benchtests/bench-strspn.c: Likewise.
5151
192963be
JM
51522018-12-21 Joseph Myers <joseph@codesourcery.com>
5153
5d025ea6
JM
5154 * stdlib/longlong.h: Update from GCC.
5155
192963be
JM
5156 [BZ #23993]
5157 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
5158 * configure: Regenerated.
5159 * manual/install.texi (Tools for Compilation): Update minimum GCC
5160 version.
5161 * INSTALL: Regenerated.
5162
6b5c8607 51632018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
5164
5165 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
5166
6b5c8607 51672018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
5168
5169 * malloc/malloc.c (mremap_chunk): Additional checks.
5170
5f72b005
MH
51712018-12-21 Mao Han <han_mao@c-sky.com>
5172
5173 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
5174 * scripts/build-many-glibcs.py: Add C-SKY targets.
5175 * sysdeps/csky/Implies: New file.
5176 * sysdeps/csky/Makefile: Likewise.
5177 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
5178 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
5179 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
5180 * sysdeps/csky/abiv2/memcmp.S: Likewise.
5181 * sysdeps/csky/abiv2/memcpy.S: Likewise.
5182 * sysdeps/csky/abiv2/memmove.S: Likewise.
5183 * sysdeps/csky/abiv2/memset.S: Likewise.
5184 * sysdeps/csky/abiv2/setjmp.S: Likewise.
5185 * sysdeps/csky/abiv2/start.S: Likewise.
5186 * sysdeps/csky/abiv2/strcmp.S: Likewise.
5187 * sysdeps/csky/abiv2/strcpy.S: Likewise.
5188 * sysdeps/csky/abiv2/strlen.S: Likewise.
5189 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
5190 * sysdeps/csky/abort-instr.h: Likewise.
5191 * sysdeps/csky/atomic-machine.h: Likewise.
5192 * sysdeps/csky/bits/endian.h: Likewise.
5193 * sysdeps/csky/bits/fenv.h: Likewise.
5194 * sysdeps/csky/bits/link.h: Likewise.
5195 * sysdeps/csky/bits/setjmp.h: Likewise.
5196 * sysdeps/csky/bsd-_setjmp.S: Likewise.
5197 * sysdeps/csky/bsd-setjmp.S: Likewise.
5198 * sysdeps/csky/configure: Likewise.
5199 * sysdeps/csky/configure.ac: Likewise.
5200 * sysdeps/csky/dl-machine.h: Likewise.
5201 * sysdeps/csky/dl-procinfo.c: Likewise.
5202 * sysdeps/csky/dl-procinfo.h: Likewise.
5203 * sysdeps/csky/dl-sysdep.h: Likewise.
5204 * sysdeps/csky/dl-tls.h: Likewise.
5205 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
5206 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
5207 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
5208 * sysdeps/csky/fpu/fegetenv.c: Likewise.
5209 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
5210 * sysdeps/csky/fpu/fegetmode.c: Likewise.
5211 * sysdeps/csky/fpu/fegetround.c: Likewise.
5212 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
5213 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
5214 * sysdeps/csky/fpu/fenv_private.h: Likewise.
5215 * sysdeps/csky/fpu/fesetenv.c: Likewise.
5216 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
5217 * sysdeps/csky/fpu/fesetmode.c: Likewise.
5218 * sysdeps/csky/fpu/fesetround.c: Likewise.
5219 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
5220 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
5221 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
5222 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
5223 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
5224 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
5225 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
5226 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
5227 * sysdeps/csky/fpu_control.h: Likewise.
5228 * sysdeps/csky/gccframe.h: Likewise.
5229 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
5230 * sysdeps/csky/ldsodefs.h: Likewise.
5231 * sysdeps/csky/libc-tls.c: Likewise.
5232 * sysdeps/csky/linkmap.h: Likewise.
5233 * sysdeps/csky/machine-gmon.h: Likewise.
5234 * sysdeps/csky/memusage.h: Likewise.
5235 * sysdeps/csky/nofpu/Implies: Likewise.
5236 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
5237 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
5238 * sysdeps/csky/nptl/Makefile: Likewise.
5239 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
5240 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
5241 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
5242 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
5243 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
5244 * sysdeps/csky/nptl/tls.h: Likewise.
5245 * sysdeps/csky/preconfigure: Likewise.
5246 * sysdeps/csky/sfp-machine.h: Likewise.
5247 * sysdeps/csky/sotruss-lib.c: Likewise.
5248 * sysdeps/csky/stackinfo.h: Likewise.
5249 * sysdeps/csky/sysdep.h: Likewise.
5250 * sysdeps/csky/tininess.h: Likewise.
5251 * sysdeps/csky/tst-audit.h: Likewise.
5252 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
5253 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
5254 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
5255 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
5256 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
5257 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
5258 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
5259 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
5260 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
5261 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
5262 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
5263 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
5264 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
5265 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
5266 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
5267 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
5268 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
5269 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
5270 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
5271 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
5272 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
5273 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
5274 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
5275 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
5276 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
5277 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
5278 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
5279 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
5280 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
5281 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
5282 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
5283 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
5284 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
5285 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
5286 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
5287 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
5288 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
5289 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
5290 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
5291 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
5292 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
5293 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
5294 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
5295 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
5296
6b5c8607 52972018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
5298
5299 * include/time.h (__difftime64): Add.
5300 * time/difftime.c (subtract): convert to 64-bit time.
5301 * time/difftime.c (__difftime64): Add.
5302 * time/difftime.c (__difftime): Wrap around __difftime64.
5303
ab416931
L
53042018-12-20 H.J. Lu <hongjiu.lu@intel.com>
5305
5306 * manual/examples/add.c: Remove redundant "if not".
5307 * manual/examples/argp-ex1.c: Likewise.
5308 * manual/examples/argp-ex2.c: Likewise.
5309 * manual/examples/argp-ex3.c: Likewise.
5310 * manual/examples/argp-ex4.c: Likewise.
5311 * manual/examples/atexit.c: Likewise.
5312 * manual/examples/db.c: Likewise.
5313 * manual/examples/dir.c: Likewise.
5314 * manual/examples/dir2.c: Likewise.
5315 * manual/examples/execinfo.c: Likewise.
5316 * manual/examples/filecli.c: Likewise.
5317 * manual/examples/filesrv.c: Likewise.
5318 * manual/examples/fmtmsgexpl.c: Likewise.
5319 * manual/examples/genpass.c: Likewise.
5320 * manual/examples/inetcli.c: Likewise.
5321 * manual/examples/inetsrv.c: Likewise.
5322 * manual/examples/isockad.c: Likewise.
5323 * manual/examples/longopt.c: Likewise.
5324 * manual/examples/memopen.c: Likewise.
5325 * manual/examples/memstrm.c: Likewise.
5326 * manual/examples/mkdirent.c: Likewise.
5327 * manual/examples/mkfsock.c: Likewise.
5328 * manual/examples/mkisock.c: Likewise.
5329 * manual/examples/mygetpass.c: Likewise.
5330 * manual/examples/pipe.c: Likewise.
5331 * manual/examples/popen.c: Likewise.
5332 * manual/examples/rprintf.c: Likewise.
5333 * manual/examples/search.c: Likewise.
5334 * manual/examples/select.c: Likewise.
5335 * manual/examples/setjmp.c: Likewise.
5336 * manual/examples/sigh1.c: Likewise.
5337 * manual/examples/sigusr.c: Likewise.
5338 * manual/examples/stpcpy.c: Likewise.
5339 * manual/examples/strdupa.c: Likewise.
5340 * manual/examples/strftim.c: Likewise.
5341 * manual/examples/subopt.c: Likewise.
5342 * manual/examples/swapcontext.c: Likewise.
5343 * manual/examples/termios.c: Likewise.
5344 * manual/examples/testopt.c: Likewise.
5345 * manual/examples/testpass.c: Likewise.
5346 * manual/examples/timeval_subtract.c: Likewise.
5347
515f463f
JM
53482018-12-19 Joseph Myers <joseph@codesourcery.com>
5349
da75c1b1
JM
5350 * sysdeps/x86/fpu/math_private.h: New file.
5351 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5352
515f463f
JM
5353 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5354 definition.
5355 (cosh): Likewise.
5356 (tanh): Likewise.
5357
1616d034
TMQMF
53582018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5359
5360 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5361 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5362 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5363 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5364 fields.
5365 (_dl_show_auxv): Give a special treatment to
5366 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5367 and AT_L3_CACHEGEOMETRY.
5368 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5369 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5370 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5371 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5372
61595e3d
AS
53732018-12-19 Andreas Schwab <schwab@suse.de>
5374
5375 * nscd/connections.c (check_use): Don't abort on invalid len.
5376
bbb7dc84
ST
53772018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5378
5379 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5380 values in the 64bit value cases.
5381
6b5c8607 53822018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5383
c4c2836a
AA
5384 * include/time.h
5385 (__ctime64_r): Add.
5386 * time/ctime_r.c
5387 (__ctime64_r): Add.
5388 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5389
7755e504
AA
5390 * include/time.h
5391 (__ctime64): Add.
5392 * time/gmtime.c
5393 (__ctime64): Add.
5394 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5395
a1d346ce
AA
5396 * include/time.h
5397 (__gmtime64_r): Add.
5398 * time/gmtime.c
5399 (__gmtime64_r): Add.
5400 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5401
131db8b0
AA
5402 * include/time.h
5403 (__gmtime64): Add.
5404 * time/gmtime.c
5405 (__gmtime64): Add.
5406 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5407
64c2277d
AA
5408 * include/time.h
5409 (__localtime64_r): Add.
5410 * time/localtime.c
5411 (__localtime64_r): Add.
5412 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5413
56b98bf1
AZ
54142018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5415
64dd7a16
AZ
5416 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5417 kernel_sigction definition.
5418
8b1d5da5
AZ
5419 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5420
f9eabb19
AZ
5421 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5422
56b98bf1
AZ
5423 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5424 __syscall_rt_sigaction.
5425 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5426 (kernel_sigaction): Use Linux generic defintion.
5427 (STUB): Define.
5428 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5429 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5430 (__syscall_rt_sigaction): Remove implementation.
5431 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5432 hidden.
5433 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5434 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5435 INTERNAL_SYSCALL): Remove definitions.
5436 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5437 action and signal set size.
5438 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5439 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5440
43a45c2d
AZ
54412018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5442 James Clarke <jrtc27@jrtc27.com>
5443
dfa6216f 5444 [BZ #23967]
43a45c2d
AZ
5445 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5446 Define if SA_RESTORER is defined.
5447 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5448 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5449 already defined.
5450 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5451 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5452 definitions.
5453 (HAS_SA_RESTORER): Define.
5454 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5455 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5456 (HAS_SA_RESTORER): Define.
5457 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5458 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5459 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5460 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5461 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5462
646ce7e0
JM
54632018-12-18 Joseph Myers <joseph@codesourcery.com>
5464
5465 * sysdeps/unix/sysv/linux/kernel-features.h
5466 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5467 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5468 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5469 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5470 (__ASSUME_ST_INO_64_BIT): Likewise.
5471 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5472 <kernel-features.h>.
5473 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5474 Remove conditional code.
5475 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5476 <kernel-features.h>.
5477 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5478 Remove conditional code.
5479 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5480 <kernel-features.h>.
5481 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5482 Remove conditional code.
5483 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5484 <kernel-features.h>.
5485 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5486 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5487
80190d2b
SL
54882018-12-18 Stefan Liebler <stli@linux.ibm.com>
5489
5490 * sysdeps/s390/multiarch/ifunc-resolve.h
5491 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5492 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5493 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5494 Delete macro definition.
5495 (s390_libc_ifunc_init): Rename to
5496 s390_libc_ifunc_expr_stfle_init.
5497 * sysdeps/s390/bzero: Use
5498 s390_libc_ifunc_expr_stfle_init instead of
5499 s390_libc_ifunc_init.
5500 * sysdeps/s390/memcmp.c: Likewise.
5501 * sysdeps/s390/memcpy.c: Likewise.
5502 * sysdeps/s390/mempcpy.c: Likewise.
5503 * sysdeps/s390/memset.c: Likewise.
5504
12f0dcb8
SL
55052018-12-18 Stefan Liebler <stli@linux.ibm.com>
5506
5507 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5508 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5509
25654a8c
SL
55102018-12-18 Stefan Liebler <stli@linux.ibm.com>
5511
5512 * sysdeps/s390/multiarch/Makefile
5513 (sysdep_routines): Remove wmemcmp variants.
5514 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5515 * sysdeps/s390/multiarch/ifunc-impl-list.c
5516 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5517 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5518 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5519 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5520 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5521 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5522 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5523 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5524
d2a7436c
SL
55252018-12-18 Stefan Liebler <stli@linux.ibm.com>
5526
5527 * sysdeps/s390/multiarch/Makefile
5528 (sysdep_routines): Remove wmemset variants.
5529 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5530 * sysdeps/s390/multiarch/ifunc-impl-list.c
5531 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5532 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5533 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5534 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5535 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5536 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5537 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5538 * sysdeps/s390/ifunc-wmemset.h: New file.
5539
c62534ae
SL
55402018-12-18 Stefan Liebler <stli@linux.ibm.com>
5541
5542 * sysdeps/s390/multiarch/Makefile
5543 (sysdep_routines): Remove wmemchr variants.
5544 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5545 * sysdeps/s390/multiarch/ifunc-impl-list.c
5546 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5547 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5548 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5549 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5550 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5551 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5552 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/ifunc-wmemchr.h: New file.
5554
79b44cf6
SL
55552018-12-18 Stefan Liebler <stli@linux.ibm.com>
5556
5557 * sysdeps/s390/multiarch/Makefile
5558 (sysdep_routines): Remove wcscspn variants.
5559 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5560 * sysdeps/s390/multiarch/ifunc-impl-list.c
5561 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5562 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5563 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5564 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5565 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5566 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5567 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5568 * sysdeps/s390/ifunc-wcscspn.h: New file.
5569
8e87c1f6
SL
55702018-12-18 Stefan Liebler <stli@linux.ibm.com>
5571
5572 * sysdeps/s390/multiarch/Makefile
5573 (sysdep_routines): Remove wcspbrk variants.
5574 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5575 * sysdeps/s390/multiarch/ifunc-impl-list.c
5576 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5577 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5578 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5579 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5580 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5581 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5582 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5583 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5584
8507e831
SL
55852018-12-18 Stefan Liebler <stli@linux.ibm.com>
5586
5587 * sysdeps/s390/multiarch/Makefile
5588 (sysdep_routines): Remove wcsspn variants.
5589 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5590 * sysdeps/s390/multiarch/ifunc-impl-list.c
5591 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5592 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5593 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5594 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5595 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5596 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5597 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5598 * sysdeps/s390/ifunc-wcsspn.h: New file.
5599
4753713a
SL
56002018-12-18 Stefan Liebler <stli@linux.ibm.com>
5601
5602 * sysdeps/s390/multiarch/Makefile
5603 (sysdep_routines): Remove wcsrchr variants.
5604 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5605 * sysdeps/s390/multiarch/ifunc-impl-list.c
5606 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5607 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5608 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5609 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5610 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5611 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5612 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5613 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5614
c09c1b6f
SL
56152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5616
5617 * sysdeps/s390/multiarch/Makefile
5618 (sysdep_routines): Remove wcschrnul variants.
5619 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5620 * sysdeps/s390/multiarch/ifunc-impl-list.c
5621 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5622 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5623 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5624 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5625 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5626 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5627 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5628 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5629
cf3ccc31
SL
56302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5631
5632 * sysdeps/s390/multiarch/Makefile
5633 (sysdep_routines): Remove wcschr variants.
5634 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5635 * sysdeps/s390/multiarch/ifunc-impl-list.c
5636 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5637 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5638 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5639 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5640 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5641 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5642 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5643 * sysdeps/s390/ifunc-wcschr.h: New file.
5644
e9873e1d
SL
56452018-12-18 Stefan Liebler <stli@linux.ibm.com>
5646
5647 * sysdeps/s390/multiarch/Makefile
5648 (sysdep_routines): Remove wcsncmp variants.
5649 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5650 * sysdeps/s390/multiarch/ifunc-impl-list.c
5651 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5652 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5653 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5654 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5655 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5656 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5657 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5658 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5659
3459e23d
SL
56602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5661
5662 * sysdeps/s390/multiarch/Makefile
5663 (sysdep_routines): Remove wcscmp variants.
5664 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5665 * sysdeps/s390/multiarch/ifunc-impl-list.c
5666 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5667 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5668 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5669 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5670 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5671 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5672 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5673 * sysdeps/s390/ifunc-wcscmp.h: New file.
5674
814a76e1
SL
56752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5676
5677 * sysdeps/s390/multiarch/Makefile
5678 (sysdep_routines): Remove wcsncat variants.
5679 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5680 * sysdeps/s390/multiarch/ifunc-impl-list.c
5681 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5682 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5683 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5684 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5685 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5686 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5687 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5688 * sysdeps/s390/ifunc-wcsncat.h: New file.
5689
3389cae4
SL
56902018-12-18 Stefan Liebler <stli@linux.ibm.com>
5691
5692 * sysdeps/s390/multiarch/Makefile
5693 (sysdep_routines): Remove wcscat variants.
5694 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5695 * sysdeps/s390/multiarch/ifunc-impl-list.c
5696 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5697 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5698 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5699 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5700 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5701 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5702 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5703 * sysdeps/s390/ifunc-wcscat.h: New file.
5704
c3081bcb
SL
57052018-12-18 Stefan Liebler <stli@linux.ibm.com>
5706
5707 * sysdeps/s390/multiarch/Makefile
5708 (sysdep_routines): Remove wcpncpy variants.
5709 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5710 * sysdeps/s390/multiarch/ifunc-impl-list.c
5711 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5712 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5713 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5714 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5715 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5716 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5717 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5718 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5719
0966dd86
SL
57202018-12-18 Stefan Liebler <stli@linux.ibm.com>
5721
5722 * sysdeps/s390/multiarch/Makefile
5723 (sysdep_routines): Remove wcsncpy variants.
5724 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5725 * sysdeps/s390/multiarch/ifunc-impl-list.c
5726 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5727 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5728 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5729 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5730 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5731 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5732 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5733 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5734
0582e428
SL
57352018-12-18 Stefan Liebler <stli@linux.ibm.com>
5736
5737 * sysdeps/s390/multiarch/Makefile
5738 (sysdep_routines): Remove wcpcpy variants.
5739 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5740 * sysdeps/s390/multiarch/ifunc-impl-list.c
5741 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5742 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5743 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5744 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5745 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5746 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5747 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5748 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5749
804f2e5c
SL
57502018-12-18 Stefan Liebler <stli@linux.ibm.com>
5751
5752 * sysdeps/s390/multiarch/Makefile
5753 (sysdep_routines): Remove wcscpy variants.
5754 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5755 * sysdeps/s390/multiarch/ifunc-impl-list.c
5756 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5757 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5758 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5759 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5760 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5761 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5762 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5763 * sysdeps/s390/ifunc-wcscpy.h: New file.
5764
c7e7cd26
SL
57652018-12-18 Stefan Liebler <stli@linux.ibm.com>
5766
5767 * sysdeps/s390/multiarch/Makefile
5768 (sysdep_routines): Remove wcsnlen variants.
5769 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5770 * sysdeps/s390/multiarch/ifunc-impl-list.c
5771 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5772 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5773 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5774 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5775 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5776 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5777 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5778 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5779
2e02d0b7
SL
57802018-12-18 Stefan Liebler <stli@linux.ibm.com>
5781
5782 * sysdeps/s390/multiarch/Makefile
5783 (sysdep_routines): Remove wcslen variants.
5784 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5785 * sysdeps/s390/multiarch/ifunc-impl-list.c
5786 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5787 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5788 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5789 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5790 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5791 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5792 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5793 * sysdeps/s390/ifunc-wcslen.h: New file.
5794
89bfcbdf
SL
57952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5796
5797 * sysdeps/s390/multiarch/Makefile
5798 (sysdep_routines): Remove memrchr variants.
5799 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5800 * sysdeps/s390/multiarch/ifunc-impl-list.c
5801 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5802 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5803 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5804 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5805 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5806 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5807 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5808 * sysdeps/s390/ifunc-memrchr.h: New file.
5809
196655ba
SL
58102018-12-18 Stefan Liebler <stli@linux.ibm.com>
5811
5812 * sysdeps/s390/multiarch/Makefile
5813 (sysdep_routines): Remove memccpy variants.
5814 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5815 * sysdeps/s390/multiarch/ifunc-impl-list.c
5816 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5817 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5818 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5819 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5820 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5821 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5822 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5823 * sysdeps/s390/ifunc-memccpy.h: New file.
5824
4c7b3cec
SL
58252018-12-18 Stefan Liebler <stli@linux.ibm.com>
5826
5827 * sysdeps/s390/multiarch/Makefile
5828 (sysdep_routines): Remove rawmemchr variants.
5829 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5830 * sysdeps/s390/multiarch/ifunc-impl-list.c
5831 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5832 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5833 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5834 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5835 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5836 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5837 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5838 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5839
581a051c
SL
58402018-12-18 Stefan Liebler <stli@linux.ibm.com>
5841
5842 * sysdeps/s390/multiarch/Makefile
5843 (sysdep_routines): Remove memchr variants.
5844 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5845 * sysdeps/s390/multiarch/ifunc-impl-list.c
5846 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5847 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5848 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5849 * sysdeps/s390/multiarch/memchr.c: Move to ...
5850 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5851 * sysdeps/s390/ifunc-memchr.h: New file.
5852 * sysdeps/s390/s390-64/memchr.S: Move to ...
5853 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5854 for 31/64bit and ifunc handling.
5855 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5856 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5857 * sysdeps/s390/s390-32/memchr.S: Likewise.
5858
5d2ec20a
SL
58592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5860
5861 * sysdeps/s390/multiarch/Makefile
5862 (sysdep_routines): Remove strcspn variants.
5863 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5864 * sysdeps/s390/multiarch/ifunc-impl-list.c
5865 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5866 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5867 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5868 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5869 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5870 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5871 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5872 * sysdeps/s390/ifunc-strcspn.h: New file.
5873
572cca93
SL
58742018-12-18 Stefan Liebler <stli@linux.ibm.com>
5875
5876 * sysdeps/s390/multiarch/Makefile
5877 (sysdep_routines): Remove strpbrk variants.
5878 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5879 * sysdeps/s390/multiarch/ifunc-impl-list.c
5880 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5881 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5882 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5883 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5884 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5885 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5886 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5887 * sysdeps/s390/ifunc-strpbrk.h: New file.
5888
483fc569
SL
58892018-12-18 Stefan Liebler <stli@linux.ibm.com>
5890
5891 * sysdeps/s390/multiarch/Makefile
5892 (sysdep_routines): Remove strspn variants.
5893 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5894 * sysdeps/s390/multiarch/ifunc-impl-list.c
5895 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5896 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5897 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5898 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5899 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5900 * sysdeps/s390/multiarch/strspn.c: Move to ...
5901 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5902 * sysdeps/s390/ifunc-strspn.h: New file.
5903
26ea8760
SL
59042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5905
5906 * sysdeps/s390/multiarch/Makefile
5907 (sysdep_routines): Remove strrchr variants.
5908 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5909 * sysdeps/s390/multiarch/ifunc-impl-list.c
5910 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5911 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5912 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5913 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5914 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5915 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5916 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5917 * sysdeps/s390/ifunc-strrchr.h: New file.
5918
a1361e65
SL
59192018-12-18 Stefan Liebler <stli@linux.ibm.com>
5920
5921 * sysdeps/s390/multiarch/Makefile
5922 (sysdep_routines): Remove strchrnul variants.
5923 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5924 * sysdeps/s390/multiarch/ifunc-impl-list.c
5925 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5926 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5927 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5928 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5929 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5930 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5931 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5932 * sysdeps/s390/ifunc-strchrnul.h: New file.
5933
32f12653
SL
59342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5935
5936 * sysdeps/s390/multiarch/Makefile
5937 (sysdep_routines): Remove strchr variants.
5938 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5939 * sysdeps/s390/multiarch/ifunc-impl-list.c
5940 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5941 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5942 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5943 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5944 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5945 * sysdeps/s390/multiarch/strchr.c: Move to ...
5946 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5947 * sysdeps/s390/ifunc-strchr.h: New file.
5948
316b8842
SL
59492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5950
5951 * sysdeps/s390/multiarch/Makefile
5952 (sysdep_routines): Remove strncmp variants.
5953 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5954 * sysdeps/s390/multiarch/ifunc-impl-list.c
5955 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5956 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5957 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5958 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5959 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5960 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5961 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5962 * sysdeps/s390/ifunc-strncmp.h: New file.
5963
cdab85fe
SL
59642018-12-18 Stefan Liebler <stli@linux.ibm.com>
5965
5966 * sysdeps/s390/multiarch/Makefile
5967 (sysdep_routines): Remove strcmp variants.
5968 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5969 * sysdeps/s390/multiarch/ifunc-impl-list.c
5970 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5971 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5972 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5973 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5974 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5975 * sysdeps/s390/ifunc-strcmp.h: New file.
5976 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5977 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5978 for 31/64bit and ifunc handling.
5979 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5980 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5981 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5982
b9353351
SL
59832018-12-18 Stefan Liebler <stli@linux.ibm.com>
5984
5985 * sysdeps/s390/multiarch/Makefile
5986 (sysdep_routines): Remove strncat variants.
5987 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5988 * sysdeps/s390/multiarch/ifunc-impl-list.c
5989 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5990 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5991 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5992 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5993 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5994 * sysdeps/s390/multiarch/strncat.c: Move to ...
5995 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5996 * sysdeps/s390/ifunc-strncat.h: New file.
5997
8e5a0afb
SL
59982018-12-18 Stefan Liebler <stli@linux.ibm.com>
5999
6000 * sysdeps/s390/multiarch/Makefile
6001 (sysdep_routines): Remove strcat variants.
6002 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
6003 * sysdeps/s390/multiarch/ifunc-impl-list.c
6004 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
6005 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
6006 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
6007 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
6008 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
6009 * sysdeps/s390/multiarch/strcat.c: Move to ...
6010 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
6011 * sysdeps/s390/ifunc-strcat.h: New file.
6012
25218822
SL
60132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6014
6015 * sysdeps/s390/multiarch/Makefile
6016 (sysdep_routines): Remove stpncpy variants.
6017 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
6018 * sysdeps/s390/multiarch/ifunc-impl-list.c
6019 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
6020 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
6021 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
6022 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
6023 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
6024 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
6025 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
6026 * sysdeps/s390/ifunc-stpncpy.h: New file.
6027
d1bdbf38
SL
60282018-12-18 Stefan Liebler <stli@linux.ibm.com>
6029
6030 * sysdeps/s390/multiarch/Makefile
6031 (sysdep_routines): Remove strncpy variants.
6032 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
6033 * sysdeps/s390/multiarch/ifunc-impl-list.c
6034 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
6035 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
6036 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
6037 * sysdeps/s390/multiarch/strncpy.c: Move to ...
6038 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
6039 * sysdeps/s390/ifunc-strncpy.h: New file.
6040 * sysdeps/s390/s390-64/strncpy.S: Move to ...
6041 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
6042 and adjust ifunc handling.
6043 * sysdeps/s390/s390-32/strncpy.S: Move to ...
6044 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
6045 and adjust ifunc handling.
6046 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
6047 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
6048
97044931
SL
60492018-12-18 Stefan Liebler <stli@linux.ibm.com>
6050
6051 * sysdeps/s390/multiarch/Makefile
6052 (sysdep_routines): Remove stpcpy variants.
6053 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
6054 * sysdeps/s390/multiarch/ifunc-impl-list.c
6055 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
6056 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
6057 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
6058 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
6059 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
6060 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
6061 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
6062 * sysdeps/s390/ifunc-stpcpy.h: New file.
6063
914a4e05
SL
60642018-12-18 Stefan Liebler <stli@linux.ibm.com>
6065
6066 * sysdeps/s390/multiarch/Makefile
6067 (sysdep_routines): Remove strcpy variants.
6068 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
6069 * sysdeps/s390/multiarch/ifunc-impl-list.c
6070 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
6071 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
6072 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
6073 * sysdeps/s390/multiarch/strcpy.c: Move to ...
6074 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
6075 * sysdeps/s390/ifunc-strcpy.h: New file.
6076 * sysdeps/s390/s390-64/strcpy.S: Move to ...
6077 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
6078 for 31/64bit and ifunc handling.
6079 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
6080 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
6081 * sysdeps/s390/s390-32/strcpy.S: Likewise.
6082
de10e44d
SL
60832018-12-18 Stefan Liebler <stli@linux.ibm.com>
6084
6085 * sysdeps/s390/multiarch/Makefile
6086 (sysdep_routines): Remove strnlen variants.
6087 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
6088 * sysdeps/s390/multiarch/ifunc-impl-list.c
6089 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
6090 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
6091 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
6092 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
6093 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
6094 * sysdeps/s390/multiarch/strnlen.c: Move to ...
6095 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
6096 * sysdeps/s390/ifunc-strnlen.h: New file.
6097
ff3ca374
SL
60982018-12-18 Stefan Liebler <stli@linux.ibm.com>
6099
6100 * sysdeps/s390/multiarch/Makefile
6101 (sysdep_routines): Remove strlen variants.
6102 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
6103 * sysdeps/s390/multiarch/ifunc-impl-list.c
6104 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
6105 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
6106 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
6107 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
6108 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
6109 * sysdeps/s390/multiarch/strlen.c: Move to ...
6110 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
6111 * sysdeps/s390/ifunc-strlen.h: New file.
6112
d2c4c403
SL
61132018-12-18 Stefan Liebler <stli@linux.ibm.com>
6114
6115 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
6116 * sysdeps/s390/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
6118 * sysdeps/s390/ifunc-memmem.h: New file.
6119 * sysdeps/s390/memmem.c: Likewise.
6120 * sysdeps/s390/memmem-c.c: Likewise.
6121 * sysdeps/s390/memmem-vx.c: Likewise.
6122
8c25dddd
SL
61232018-12-18 Stefan Liebler <stli@linux.ibm.com>
6124
6125 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
6126 * sysdeps/s390/multiarch/ifunc-impl-list.c
6127 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
6128 * sysdeps/s390/ifunc-strstr.h: New file.
6129 * sysdeps/s390/strstr.c: Likewise.
6130 * sysdeps/s390/strstr-c.c: Likewise.
6131 * sysdeps/s390/strstr-vx.c: Likewise.
6132
cdd927d9
SL
61332018-12-18 Stefan Liebler <stli@linux.ibm.com>
6134
6135 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
6136 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
6137 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
6138 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
6139 New defines.
6140 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
6141 * sysdeps/s390/memmove-c.c: New file.
6142 * sysdeps/s390/memmove.c: Likewise.
6143 * sysdeps/s390/multiarch/ifunc-impl-list.c
6144 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
6145
2ee1bc57
SL
61462018-12-18 Stefan Liebler <stli@linux.ibm.com>
6147
6148 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
6149 * sysdeps/s390/configure.ac: Add check for z13 support.
6150 * sysdeps/s390/configure: Regenerated.
6151
d097d976
SL
61522018-12-18 Stefan Liebler <stli@linux.ibm.com>
6153
6154 * sysdeps/s390/memcopy.h: New file.
6155
e099aab0
SL
61562018-12-18 Stefan Liebler <stli@linux.ibm.com>
6157
6158 * sysdeps/s390/s390-32/bcopy.S: Remove.
6159 * sysdeps/s390/s390-64/bcopy.S: Likewise.
6160
18eb862d
SL
61612018-12-18 Stefan Liebler <stli@linux.ibm.com>
6162
6163 * sysdeps/s390/ifunc-memcpy.h: New File.
6164 * sysdeps/s390/memcpy.S: Move to ...
6165 * sysdeps/s390/memcpy-z900.S ... here.
6166 Move implementations from memcpy-s390x.s to here.
6167 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
6168 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6169 Remove memcpy/mempcpy variants.
6170 * sysdeps/s390/Makefile (sysdep_routines):
6171 Add memcpy/mempcpy variants.
6172 * sysdeps/s390/multiarch/ifunc-impl-list.c
6173 (__libc_ifunc_impl_list): Adjust ifunc variants for
6174 memcpy and mempcpy.
6175 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
6176 to ...
6177 * sysdeps/s390/memcpy.c: ... here.
6178 Adjust ifunc variants for memcpy.
6179 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
6180 * sysdeps/s390/mempcpy.c: ... here.
6181 Adjust ifunc variants for mempcpy.
6182 * sysdeps/s390/mempcpy.S: Delete file.
6183
df3eb8de
SL
61842018-12-18 Stefan Liebler <stli@linux.ibm.com>
6185
6186 * sysdeps/s390/s390-64/memcpy.S: Move to ...
6187 * sysdeps/s390/memcpy.S: ... here.
6188 Adjust to be usable for 31/64bit.
6189 * sysdeps/s390/s390-32/memcpy.S: Delete File.
6190 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
6191 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
6192 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6193 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
6194 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
6195 Adjust to be usable for 31/64bit.
6196 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
6197 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
6198 * sysdeps/s390/multiarch/memcpy.c: ... here.
6199 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
6200
b7e024a8
SL
62012018-12-18 Stefan Liebler <stli@linux.ibm.com>
6202
6203 * sysdeps/s390/ifunc-memcmp.h: New File.
6204 * sysdeps/s390/memcmp.S: Move to ...
6205 * sysdeps/s390/memcmp-z900.S ... here.
6206 Move implementations from memcmp-s390x.s to here.
6207 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
6208 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6209 Remove memcmp variants.
6210 * sysdeps/s390/Makefile (sysdep_routines):
6211 Add memcmp variants.
6212 * sysdeps/s390/multiarch/ifunc-impl-list.c
6213 (__libc_ifunc_impl_list): Adjust ifunc variants for
6214 memcmp.
6215 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
6216 to ...
6217 * sysdeps/s390/memcmp.c: ... here.
6218 Adjust ifunc variants for memcmp.
6219
6c6b8c74
SL
62202018-12-18 Stefan Liebler <stli@linux.ibm.com>
6221
6222 * sysdeps/s390/s390-64/memcmp.S: Move to ...
6223 * sysdeps/s390/memcmp.S: ... here.
6224 Adjust to be usable for 31/64bit.
6225 * sysdeps/s390/s390-32/memcmp.S: Delete File.
6226 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
6227 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6228 Remove memcmp.
6229 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6230 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
6231 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
6232 Adjust to be usable for 31/64bit.
6233 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
6234 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
6235 * sysdeps/s390/multiarch/memcmp.c: ... here.
6236 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
6237
07be3928
SL
62382018-12-18 Stefan Liebler <stli@linux.ibm.com>
6239
6240 * sysdeps/s390/s390-32/bzero.S: Delete file.
6241 * sysdeps/s390/s390-64/bzero.S: Likewise.
6242 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
6243 * sysdeps/s390/bzero.c: New file.
6244 * sysdeps/s390/memset-z900.S: Add bzero entry points.
6245 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
6246 * sysdeps/s390/multiarch/ifunc-impl-list.c
6247 (__libc_ifunc_impl_list): Add bzero ifunc variants.
6248
712a254a
SL
62492018-12-18 Stefan Liebler <stli@linux.ibm.com>
6250
6251 * sysdeps/s390/ifunc-memset.h: New File.
6252 * sysdeps/s390/memset.S: Move to ...
6253 * sysdeps/s390/memset-z900.S ... here.
6254 Move implementations from memset-s390x.s to here.
6255 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
6256 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
6257 Remove memset variants.
6258 * sysdeps/s390/Makefile (sysdep_routines):
6259 Add memset variants.
6260 * sysdeps/s390/multiarch/ifunc-impl-list.c
6261 (__libc_ifunc_impl_list): Adjust ifunc variants for
6262 memset.
6263 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
6264 to ...
6265 * sysdeps/s390/memset.c: ... here.
6266 Adjust ifunc variants for memset.
6267
5f1743d1
SL
62682018-12-18 Stefan Liebler <stli@linux.ibm.com>
6269
6270 * sysdeps/s390/s390-64/memset.S: Move to ...
6271 * sysdeps/s390/memset.S: ... here.
6272 Adjust to be usable for 31/64bit.
6273 * sysdeps/s390/s390-32/memset.S: Delete File.
6274 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
6275 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
6276 Remove memset.
6277 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
6278 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
6279 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
6280 Adjust to be usable for 31/64bit.
6281 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
6282 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
6283 * sysdeps/s390/multiarch/memset.c: ... here.
6284 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
6285
e8023f26
SL
62862018-12-18 Stefan Liebler <stli@linux.ibm.com>
6287
6288 * sysdeps/s390/multiarch/ifunc-resolve.h
6289 (s390_libc_ifunc_init, s390_libc_ifunc,
6290 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
6291
b8686c0d
SL
62922018-12-18 Stefan Liebler <stli@linux.ibm.com>
6293
6294 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
6295 * sysdeps/s390/configure.ac: Add check for z10 support.
6296 * sysdeps/s390/configure: Regenerated.
6297
cd815050
L
62982018-12-18 H.J. Lu <hongjiu.lu@intel.com>
6299
6300 * sysdeps/i386/atomic-machine.h: Merged with ...
6301 * sysdeps/x86_64/atomic-machine.h: To ...
6302 * sysdeps/x86/atomic-machine.h: This. New file.
6303
053c52b1
FW
63042018-12-18 Florian Weimer <fweimer@redhat.com>
6305
6306 Rewrite locale/gen-translit.pl in Python.
6307 * locale/Makefile (generated): Add C-translit.h.
6308 (before-compile): Add $(objpfx)C-translit.h.
6309 (C-translit.h): Move to $(objpfx). Create target directory.
6310 Build using Python script.
6311 * locale/gen-translit.py: New file.
6312 * locale/gen-translit.pl: Remove file.
6313 * locale/C-translit.h.in: Change comment character to '#' for
6314 easier parsing without a C preprocessor.
6315 * locale/C-translit.h: Remove generated file.
6316 * manual/install.texi (Tools for Compilation): Do not mention
6317 C-translit.h.
6318 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
6319 Remove locale/C-translit.h.
6320 * scripts/update-copyrights: Likewise.
6321 * INSTALL: Regenerate.
6322
40e6c1ec
FW
63232018-12-18 Florian Weimer <fweimer@redhat.com>
6324
6325 [BZ #23995]
6326 * localedata/locales/bi_VU: Remove executable bit from file.
6327
6b5c8607 63282018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6329
6330 * include/time.h
6331 (__localtime64): Add.
6332 * manual/maint.texi: Document Y2038 symbol handling.
6333 * time/localtime.c
6334 (__localtime64): Add.
bfb79db4 6335 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6336
df648905
JM
63372018-12-17 Joseph Myers <joseph@codesourcery.com>
6338
551e81d9
JM
6339 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6340 Do not clobber r12.
6341
df648905
JM
6342 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6343 to allow extra macros from first or second sources.
6344 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6345 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6346 (tests-special): Add $(objpfx)tst-mman-consts.out.
6347 ($(objpfx)tst-mman-consts.out): New makefile target.
6348
6bbfc5c0
MH
63492018-12-17 Mao Han <han_mao@c-sky.com>
6350
6351 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6352 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6353 without stat64 system call support.
6354 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6355 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6356 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6357 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6358 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6359 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6360 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6361 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6362 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6363 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6364 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6365
ef202e53
PE
63662018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6367
6368 regex: fix storage-exhaustion error
6369 [BZ #18040]
6370 * posix/regexec.c (get_subexp):
6371 Do not continue if storage is exhausted.
6372
077caf61
AG
63732018-12-15 Assaf Gordon <assafgordon@gmail.com>
6374
6375 regex: fix heap-use-after-free error
6376 [BZ #18040]
6377 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6378 https://debbugs.gnu.org/32592
6379 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6380 call extend_buffers which reallocates the re_string_t internal buffer.
6381 Local variable 'buf' was not updated in such case, resulting in
6382 use-after-free.
6383 * posix/regexec.c (get_subexp): Update 'buf' after call to
6384 get_subexp_sub.
6385
0c1719e6
FW
63862018-12-15 Florian Weimer <fweimer@redhat.com>
6387
6388 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6389 (minimum_stride_size): Use it.
6390 (support_blob_repeat_allocate): Likewise.
6391
033a2c0a
JM
63922018-12-14 Joseph Myers <joseph@codesourcery.com>
6393
6394 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6395 definition.
6396 (acosh): Likewise.
6397 (atanh): Likewise.
6398
e361dc04
FW
63992018-12-14 Florian Weimer <fweimer@redhat.com>
6400
6401 * manual/process.texi (Process Creation Concepts): Remove
6402 documentation of process (ID) lifetime. List more process
6403 creation functions. Reference Process Identification section.
6404 (Process Identification): Add information about process ID
6405 lifetime. Describe Linux thread/task IDs.
6406 * manual/signal.texi (Signaling Another Process): Mention that the
6407 signal is always sent to the process.
6408
bd51ff5e
GG
64092018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6410
6411 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6412 and tst-ldbl-efgcvt.
6413 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6414 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6415 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6416 (fcvt_tests, output_error, output_r_error, do_test): Use the
6417 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6418 select the type of floating-point variables and arguments; to
6419 produce extra tests for double and conversion specifiers for
6420 printf; and to set the names of called functions.
6421 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6422 in tst-efgcvt-template.c.
6423 * misc/tst-ldbl-efgcvt.c: Likewise.
6424
268bb71e
SL
64252018-12-14 Stefan Liebler <stli@linux.ibm.com>
6426
6427 * nss/Makefile (tst-nss-test3.out): New rule.
6428
db6df070
JM
64292018-12-13 Joseph Myers <joseph@codesourcery.com>
6430
6431 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6432 clobber sp.
6433
ade8b817
CD
64342018-12-13 fanjinke <fanjinke@hygon.cn>
6435
6436 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6437 "HygonGenuine".
6438
3d265911
AS
64392018-12-13 Andreas Schwab <schwab@suse.de>
6440
f21e8f8c 6441 [BZ #23861]
3d265911 6442 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6443 (__pthread_rwlock_rdlock_full): Update expected value for
6444 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6445 * nptl/tst-rwlock-pwn.c: New file.
6446 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6447
bf8ae8c0
JM
64482018-12-12 Joseph Myers <joseph@codesourcery.com>
6449
6450 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6451 definition.
6452
de099757
LS
64532018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6454
6455 * benchtests/scripts/compare_bench.py (do_compare): write to
6456 stderr in casestat is not present.
6457 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6458 stderr in case timings field is not present. Also string showing
6459 the output filename goes into the stderr.
6460
1990185f
LS
64612018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6462
6463 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6464 and ZeroDivisorError exceptions.
6465 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6466 argument to loop through user provided statistics.
6467 * benchtests/scripts/compare_bench.py (main): Include the --stats
6468 argument.
6469
587426d4
LS
64702018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6471
6472 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6473 instead of return.
6474
46703efa
FW
64752018-12-12 Florian Weimer <fweimer@redhat.com>
6476
6477 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6478 clause to copyright header.
6479
1d880d4a
TMQMF
64802018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6481
6482 [BZ #23614]
6483 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6484 registers saved in the stack frame.
6485 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6486 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6487
1a502f52
GG
64882018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6489
6490 * include/bits/monetary-ldbl.h: New file.
6491 * include/bits/printf-ldbl.h: Likewise.
6492 * include/bits/stdio-ldbl.h: Likewise.
6493 * include/bits/stdlib-ldbl.h: Likewise.
6494 * include/bits/syslog-ldbl.h: Likewise.
6495 * include/bits/wchar-ldbl.h: Likewise.
6496
df682d1d
GG
64972018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6498
6499 * libio/libio.h: Remove redirection for _IO_vfprintf.
6500
c2c082c1
AS
65012018-12-11 Andreas Schwab <schwab@suse.de>
6502
6503 * Makerules: Remove all references to abilist-pattern.
6504 (update-all-abi): Simplify find expression.
6505
505b5b29
SN
65062018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6507
6508 [BZ #23961]
6509 * math/auto-libm-test-in: Add new test case.
6510 * math/auto-libm-test-out-pow: Regenerated.
6511 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6512
304c61a2
DD
65132018-12-10 DJ Delorie <dj@redhat.com>
6514
6515 [BZ #23948]
6516 * support/test-container.c: Move postclean step to before we
6517 change namespaces.
6518
a8110b72
JM
65192018-12-10 Joseph Myers <joseph@codesourcery.com>
6520
cb7be159
JM
6521 * scripts/gen-as-const.py (main): Handle --python option.
6522 * scripts/gen-py-const.awk: Remove.
6523 * Makerules (py-const-script): Use gen-as-const.py.
6524 ($(py-const)): Likewise.
6525 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6526 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6527 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6528 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6529 ~PTHREAD_MUTEX_NO_ELISION_NP.
6530 * manual/README.pretty-printers: Update reference to
6531 gen-py-const.awk.
6532
a8110b72
JM
6533 * scripts/glibcextract.py: New file.
6534 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6535 or tempfile. Import glibcexctract.
6536 (compute_c_consts): Remove. Moved to glibcextract.py.
6537 (gen_test): Update reference to compute_c_consts.
6538 (main): Likewise.
6539 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6540 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6541 * sysdeps/unix/sysv/linux/Makefile
6542 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6543 Redirect stderr as well as stdout.
6544
f9ba9eb8
RÁE
65452018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6546
6547 [BZ #19767]
6548 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6549 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6550 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6551 ALWAYS_USE_VSYSCALL.
b39d961c 6552 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6553 ALWAYS_USE_VSYSCALL.
6554 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6555 ALWAYS_USE_VSYSCALL.
6556
8d20a2f4
FW
65572018-12-10 Florian Weimer <fweimer@redhat.com>
6558
6559 [BZ #23972]
6560 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6561 offset instead of count for clarity. Fix typo in comment.
6562 (__old_getdents64): Keep track of previous offset. Use it to call
6563 handle_overflow.
6564 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6565 that d_off is never zero.
6566
80472e2f
AS
65672018-12-10 Andreas Schwab <schwab@suse.de>
6568
6569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6570 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6572 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6573 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6574
0afcb29d
JM
65752018-12-10 Joseph Myers <joseph@codesourcery.com>
6576
6577 * timezone/private.h: Update from tzcode 2018g.
6578 * timezone/tzfile.h: Likewise.
6579 * timezone/tzselect.ksh: Likewise.
6580 * timezone/zdump.c: Likewise.
6581 * timezone/zic.c: Likewise.
6582
b93f4052
PP
65832018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6584
6585 [BZ #23490]
6586 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6587 (do_test): Adjust buffer size and fix format.
6588
7c9a7c68
DD
65892018-12-07 DJ Delorie <dj@redhat.com>
6590
6591 [BZ #23907]
6592 * malloc/tst-tcfree3.c: New.
6593 * malloc/Makefile: Add it.
6594
37caec3a
L
65952018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6596
6597 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6598
10446f5d
GG
65992018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6600
6601 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6602 used as a mask for the mode argument of __vfscanf_internal and
6603 __vfwscanf_internal.
6604 * stdio-common/vfscanf-internal.c
6605 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6606 (__strtof128_internal): Define to __wcstof128_internal.
6607 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6608 __strtof128_internal or __wcstof128_internal when the format of
6609 long double is the same as _Float128.
6610
45f33aac
ST
66112018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6612
6613 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6614 * posix/confstr.c (confstr): Rename to __confstr.
6615 (__confstr): Add hidden def.
6616 (confstr): Add weak alias for __confstr.
6617 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6618 confstr.
6619
a092ca94
L
66202018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6621
6622 * NEWS: Mention getcpu.
6623 * include/sched.h (__getcpu): New libc_hidden_proto.
6624 * manual/resource.texi: Document getcpu.
6625 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6626 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6627 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6628 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6629 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6630 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6631 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6632 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6633 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6634 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6635 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6636 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6637 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6638 Likewise.
6639 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6640 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6641 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6643 Likewise.
6644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6645 Likewise.
6646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6647 Likewise.
6648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6649 Likewise.
6650 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6651 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6652 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6653 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6654 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6655 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6656 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6657 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6658 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6659 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6660 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6661 Also check getcpu.
6662
7c857b6f
ST
66632018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6664
6665 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6666 functions.
6667 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6668
3a3fb755
FW
66692018-12-07 Florian Weimer <fweimer@redhat.com>
6670
6671 [BZ #17405]
6672 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6673 * posix/Versions (GLIBC_2.29): Export
6674 posix_spawn_file_actions_addfchdir_np.
6675 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6676 * posix/spawn_faction_destroy.c
6677 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6678 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6679 and the field action.fchdir_action.
6680 * posix/tst-spawn-chdir.c (add_chdir): New function.
6681 (do_test): Add do_fchdir loop. Call add_chdir.
6682 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6683 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6684 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6685 posix_spawn_file_actions_addfchdir_np.
6686 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6687 Likewise.
6688 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6689 Likewise.
6690 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6691 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6692 Likewise.
6693 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6694 Likewise.
6695 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6696 Likewise.
6697 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6698 Likewise.
6699 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6700 Likewise.
6701 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6702 Likewise.
6703 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6704 (GLIBC_2.29): Likewise.
6705 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6706 (GLIBC_2.29): Likewise.
6707 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6708 (GLIBC_2.29): Likewise.
6709 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6710 (GLIBC_2.29): Likewise.
6711 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6712 Likewise.
6713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6714 (GLIBC_2.29): Likewise.
6715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6716 (GLIBC_2.29): Likewise.
6717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6718 (GLIBC_2.29): Likewise.
6719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6720 (GLIBC_2.29): Likewise.
6721 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6722 Likewise.
6723 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6724 Likewise.
6725 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6726 Likewise.
6727 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6728 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6729 Likewise.
6730 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6731 Likewise.
6732 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6733 Likewise.
6734 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6735 Likewise.
6736
c37cd439
JM
67372018-12-06 Joseph Myers <joseph@codesourcery.com>
6738
6739 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6740 trailing whitespace removed.
6741 * scripts/config.guess: Update to version 2018-11-28.
6742 * scripts/config.sub: Update to version 2018-11-28.
6743 * scripts/install-sh: Update to version 2018-03-11.20.
6744 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6745 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6746
899478c2
FW
67472018-12-07 Florian Weimer <fweimer@redhat.com>
6748
6749 [BZ #23927]
6750 CVE-2018-19591
6751 * inet/tst-if_index-long.c: New file.
6752 * inet/Makefile (tests): Add tst-if_index-long.
6753
f255336a
FW
67542018-12-07 Florian Weimer <fweimer@redhat.com>
6755
6756 * support/check.h (support_record_failure_is_failed): Declare.
6757 * support/descriptors.h: New file.
6758 * support/support_descriptors.c: Likewise.
6759 * support/tst-support_descriptors.c: Likewise.
6760 * support/support_record_failure.c
6761 (support_record_failure_is_failed): New function.
6762 * support/Makefile (libsupport-routines): Add support_descriptors.
6763 (tests): Add tst-support_descriptors.
6764
35caceb1
ZW
67652018-12-05 Zack Weinberg <zackw@panix.com>
6766 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6767
6768 * stdio-common/vfprintf-internal.c
6769 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6770 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6771 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6772 and __no_long_double.
6773 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6774 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6775 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6776 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6777 and __nldbl_*syslog* functions.
6778 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6779 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6780 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6781 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6782 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6783 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6784 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6785 (__nldbl_vwprintf, __nldbl_wprintf):
6786 Directly call the appropriate __v*printf_internal routine, passing
6787 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6788 variable names.
6789 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6790 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6791 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6792 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6793 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6794 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6795 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6796 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6797 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6798 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6799 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6800 (__nldbl_syslog, __nldbl_vsyslog):
6801 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6802 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6803 appropriate.
6804 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6805 appropriate.
6806
4e2f43f8
ZW
68072018-12-05 Zack Weinberg <zackw@panix.com>
6808 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6809
6810 [BZ #11319]
6811 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6812 Moved here from debug/vsprintf_chk.c.
6813 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6814 and completion logic for the strfile to match exactly what
6815 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6816 _IO_str_init_static_internal instead of maxlen-1.
6817 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6818 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6819 __vsprintf_internal.
6820
6821 * debug/vsprintf_chk.c (__vsprintf_chk)
6822 * debug/sprintf_chk.c (__sprintf_chk):
6823 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6824 'flags' argument is positive, and slen as maxlen. No need to lock
6825 the FILE and/or construct a temporary FILE. Minimize and normalize
6826 header inclusions and variable names. Do not libc_hidden_def anything.
6827
6828 * debug/asprintf_chk.c (__asprintf_chk)
6829 * debug/dprintf_chk.c (__dprintf_chk)
6830 * debug/fprintf_chk.c (__fprintf_chk)
6831 * debug/fwprintf_chk.c (__fwprintf_chk)
6832 * debug/printf_chk.c (__printf_chk)
6833 * debug/snprintf_chk.c (__snprintf_chk)
6834 * debug/swprintf_chk.c (__swprintf_chk)
6835 * debug/vasprintf_chk.c (__vasprintf_chk)
6836 * debug/vdprintf_chk.c (__vdprintf_chk)
6837 * debug/vfprintf_chk.c (__vfprintf_chk)
6838 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6839 * debug/vprintf_chk.c (__vprintf_chk)
6840 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6841 * debug/vswprintf_chk.c (__vswprintf_chk)
6842 * debug/vwprintf_chk.c (__vwprintf_chk)
6843 * debug/wprintf_chk.c (__wprintf_chk):
6844 Directly call the corresponding vxxprintf_internal function, passing
6845 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6846 the FILE and/or construct a temporary FILE. Minimize and normalize
6847 header inclusions and variable names. Do not libc_hidden_def anything.
6848
6849 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6850 __obstack_vprintf_internal.
6851 (__obstack_vprintf_chk): Convert into a wrapper that calls
6852 __obstack_vprintf_internal (these two functions already had the
6853 same code) and move to new file...
6854 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6855 file.
6856 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6857 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6858 * debug/Makefile (routines): Add vobprintf_chk.
6859
6860 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6861 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6862 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6863 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6864 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6865 (__nldbl___obstack_vfprintf_chk):
6866 Directly call the corresponding vxxprintf_internal function,
6867 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6868 duplicate comparison of slen with 0 or maxlen from the corresponding
6869 non-__nldbl function.
6870
6871 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6872 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6873 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6874 Remove libc_hidden_proto.
6875
6876 * stdio-common/vfprintf-internal.c
6877 (__vfprintf_internal, __vfwprintf_internal):
6878 Do not check _IO_FLAGS2_FORTIFY.
6879 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6880 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6881 a comment explaining why it has the maxlen argument.
6882 (_IO_acquire_lock_clear_flags2_fct): Remove.
6883 (_IO_acquire_lock_clear_flags2): Remove.
6884 (_IO_release_lock): Remove conditional statement which will
6885 now never execute.
6886 (_IO_acquire_lock): Remove variable which is now unused.
6887 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6888 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6889
6890 * stdio-common/Makefile (tests): Add tst-bz11319 and
6891 tst-bz11319-fortify2.
6892 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6893 * stdio-common/tst-bz11319-fortify2.c: New file.
6894 * stdio-common/tst-bz11319.c: Likewise.
6895
124fc732
ZW
68962018-12-05 Zack Weinberg <zackw@panix.com>
6897 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6898
6899 * misc/syslog.c: Include libioP.h, not iolibio.h.
6900 (__vsyslog_internal): New function with the former body of
6901 __vsyslog_chk; takes mode_flags argument same as
6902 __v*printf_internal. Call __vfprintf_internal directly.
6903
6904 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6905 Remove libc_hidden_def.
6906 (__syslog, __syslog_chk): Use __vsyslog_internal.
6907 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6908
6909 * include/sys/syslog.h: Add multiple inclusion guard.
6910 Add prototype for __vsyslog_internal.
6911 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6912
6913 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6914 Use __vsyslog_internal.
6915
698fb75b
ZW
69162018-12-05 Zack Weinberg <zackw@panix.com>
6917 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6918
6919 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6920 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6921 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6922 New functions.
6923 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6924 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6925
6926 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6927 Include wctype.h here if COMPILE_WPRINTF is defined.
6928 Define __vfprintf_internal or __vfwprintf_internal, depending
6929 on COMPILE_WPRINTF.
6930 Temporarily, on entry to this function, update mode_flags
6931 according to the environmental settings corresponding to
6932 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6933 Throughout, check mode_flags instead of __ldbl_is_dbl and
6934 _IO_FLAGS2_FORTIFY on the destination FILE.
6935 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6936 Include vfprintf-internal.c. Don't include wctype.h.
6937 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6938 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6939 and vfprintf.
6940 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6941 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6942 and vfwprintf.
6943 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6944
6945 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6946 and add mode_flags argument; use __vfprintf_internal.
6947 (__vdprintf): New function. Alias vdprintf to this.
6948 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6949 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6950 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6951 (__obstack_printf): Use __obstack_printf_internal.
6952 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6953 public aliases __vsnprintf and vsnprintf.
6954 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6955 called internally.
6956 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6957 public aliases _IO_vsprintf and vsprintf.
6958 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6959 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6960 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6961 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6962 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6963
6964 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6965 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6966 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6967 * stdio-common/printf.c: Use __vfprintf_internal.
6968
6969 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6970 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6971 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6972
6973 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6974 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6975 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6976 __vfwprintf_internal.
6977
6978 * libio/libio.h: Remove libc_hidden_proto and declaration for
6979 _IO_vfprintf.
6980 Remove declaration of _IO_vfwprintf.
6981 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6982 _IO_vsprintf.
6983 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6984 _IO_obstack_printf.
6985 * include/stdio.h: Add prototype for __vasprintf.
6986 (__vsnprintf): Remove declaration, because there are no more
6987 internal calls.
6988 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6989 declaration, because there are no more internal calls.
6990
6991 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6992 __vsnprintf_internal, instead of _IO_vsnprintf.
6993 * argp/argp-help.c (__argp_error, __argp_failure): Use
6994 __vasprintf_internal, instead of _IO_vasprintf.
6995 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6996 redefine, because there are no more internal calls.
6997
d91798b3
ZW
69982018-12-05 Zack Weinberg <zackw@panix.com>
6999 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7000
7001 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
7002 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
7003 Include libio/strfile.h instead of libioP.h.
7004 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
7005 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
7006 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
7007 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
7008 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
7009 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
7010 necessary. Do not set __no_long_double. Normalize variable names.
7011 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
7012 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
7013 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
7014 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
7015 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
7016 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
7017 Call __vfscanf_internal / __vfwscanf_internal directly, passing
7018 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
7019 Do not set __no_long_double. Normalize variable names.
7020
b87eb3f8
ZW
70212018-12-05 Zack Weinberg <zackw@panix.com>
7022 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7023
7024 * stdio-common/isoc99_scanf.c
7025 * stdio-common/isoc99_fscanf.c
7026 * stdio-common/isoc99_sscanf.c
7027 * stdio-common/isoc99_vscanf.c
7028 * stdio-common/isoc99_vfscanf.c
7029 * stdio-common/isoc99_vsscanf.c
7030 * wcsmbs/isoc99_wscanf.c
7031 * wcsmbs/isoc99_fwscanf.c
7032 * wcsmbs/isoc99_swscanf.c
7033 * wcsmbs/isoc99_vwscanf.c
7034 * wcsmbs/isoc99_vfwscanf.c
7035 * wcsmbs/isoc99_vswscanf.c:
7036 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
7037 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
7038 No need to lock and unlock the FILE passed to that function.
7039
7040 * stdio-common/vfscanf-internal.c
7041 (__vfscanf_internal, __vfwscanf_internal):
7042 Don't look at _IO_FLAGS2_SCANF_STD.
7043 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
7044 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
7045 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
7046
349718d4
ZW
70472018-12-05 Zack Weinberg <zackw@panix.com>
7048 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7049
7050 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
7051 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
7052 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
7053 * libio/strfile.h: Add multiple inclusion guard.
7054 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
7055
7056 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
7057 consistency with the other version of this file.
7058 (ldbl_compat_symbol): New macro.
7059 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
7060 New macro.
7061
7062 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
7063 Define __vfscanf_internal or __vfwscanf_internal, depending on
7064 COMPILE_WSCANF; don't define any other public symbols.
7065 Remove errval and code to set errp.
7066 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
7067 as the mode_flags argument.
7068 (encode_error, conv_error, input_error): Don't set errval.
7069 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
7070 Include vfscanf-internal.c.
7071 * stdio-common/vfscanf.c: New file defining the public entry
7072 point vfscanf, which calls __vfscanf_internal.
7073 * stdio-common/vfwscanf.c: New file defining the public entry
7074 point vfwscanf, which calls __vfwscanf_internal.
7075
7076 * stdio-common/iovfscanf.c: New file.
7077 * stdio-common/iovfwscanf.c: Likewise.
7078
7079 * stdio-common/Makefile (routines): Add vfscanf-internal,
7080 vfwscanf-internal, iovfscanf, iovfwscanf.
7081 * stdio-common/Versions: Mention GLIBC_2.29, so that
7082 it can be used in SHLIB_COMPAT expressions.
7083 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
7084 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
7085 Call __vfscanf_internal, instead of _IO_vfscanf.
7086 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
7087 _IO_vfscanf.
7088 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
7089 _IO_vfwscanf.
7090
7091 * libio/iovsscanf.c: Clean up includes, when possible. Use
7092 _IO_strfile_read or _IO_strfile_readw, when needed. Call
7093 __vfscanf_internal or __vfwscanf_internal directly.
7094 * libio/iovswscanf.c: Likewise.
7095 * libio/swscanf.c: Likewise.
7096 * libio/vscanf.c: Likewise.
7097 * libio/vwscanf.c: Likewise.
7098 * libio/wscanf.c: Likewise.
7099 * stdio-common/isoc99_fscanf.c: Likewise.
7100 * stdio-common/isoc99_scanf.c: Likewise.
7101 * stdio-common/isoc99_sscanf.c: Likewise.
7102 * stdio-common/isoc99_vfscanf.c: Likewise.
7103 * stdio-common/isoc99_vscanf.c: Likewise.
7104 * stdio-common/isoc99_vsscanf.c: Likewise.
7105 * stdio-common/scanf.c: Likewise.
7106 * stdio-common/sscanf.c: Likewise.
7107 * wcsmbs/isoc99_fwscanf.c: Likewise.
7108 * wcsmbs/isoc99_swscanf.c: Likewise.
7109 * wcsmbs/isoc99_vfwscanf.c: Likewise.
7110 * wcsmbs/isoc99_vswscanf.c: Likewise.
7111 * wcsmbs/isoc99_vwscanf.c: Likewise.
7112 * wcsmbs/isoc99_wscanf.c: Likewise.
7113
6b5c8607 71142018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
7115
7116 * include/time.h
7117 (__tz_compute): Replace time_t with __time64_t.
7118 (__tz_convert): Replace time_t* with __time64_t.
7119 (__offtime): Replace time_t* with __time64_t.
7120 * time/gmtime.c
7121 (__gmtime_r): Adjust call to __tz_convert.
7122 (gmtime): Likewise.
7123 * time/localtime.c
7124 (__localtime_r): Likewise.
7125 (localtime): Likewise.
7126 * time/offtime.c: Replace time_t with __time64_t.
7127 * time/tzset.c: Likewise.
7128
bd598da9
JM
71292018-12-04 Joseph Myers <joseph@codesourcery.com>
7130
7131 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
7132 dynamic linker unless [$(run-built-tests) = yes].
7133
b2e93de0
DD
71342018-12-03 DJ Delorie <dj@delorie.com>
7135
7136 * support/test-container.c (check_for_unshare_hints): New.
7137 (main): Call it if unshare fails. Add support for "su" scriptlet
7138 command.
7139
477a02f6
JM
71402018-12-03 Joseph Myers <joseph@codesourcery.com>
7141
7142 * scripts/gen-as-const.py (compute_c_consts): Take an argument
7143 'START' to indicate that start text should be output.
7144 (gen_test): Likewise.
7145 (main): Generate 'START' for first symbol or '--' line, or at end
7146 of input if not previously generated.
7147
6af956e5
RÁE
71482018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
7149
7150 [BZ #19767]
7151 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
7152 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
7153 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
7154 ALWAYS_USE_VSYSCALL.
7155
f5ec0ea9
AZ
71562018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7157
7158 [BZ #23913]
7159 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
7160 new_argv by one.
7161
8cebd4ff
CD
71622018-12-03 Carlos O'Donell <carlos@redhat.com>
7163
7164 [BZ #23923]
7165 * locale/programs/localedef.c: Declare boolean hard_links default true.
7166 (options): Add --no-hard-links option.
7167 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
7168 * locale/programs/localedef.h: Declare prototype for hard_links.
7169 * locale/programs/locfile.c (write_locale_data): Don't use hard
7170 links if hard_links is false.
7171
c22e4c2a
L
71722018-12-03 H.J. Lu <hongjiu.lu@intel.com>
7173
7174 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
7175 cpu_features_basic.
7176 (__cache_sysconf): Likewise.
7177 (init_cacheinfo): Likewise.
7178 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
7179 populate COMMON_CPUID_INDEX_80000007 and
7180 COMMON_CPUID_INDEX_80000008.
7181 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
7182 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
7183 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
7184 (init_cpu_features): Use _Static_assert on
7185 index_arch_Fast_Unaligned_Load.
7186 __get_cpuid_registers and __get_arch_feature. Updated for
7187 cpu_features_basic. Set stepping in cpu_features.
7188 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
7189 (FEATURE_INDEX_2): New.
7190 (FEATURE_INDEX_MAX): Changed to enum.
7191 (COMMON_CPUID_INDEX_D_ECX_1): New.
7192 (COMMON_CPUID_INDEX_80000007): Likewise.
7193 (COMMON_CPUID_INDEX_80000008): Likewise.
7194 (cpuid_registers): Likewise.
7195 (cpu_features_basic): Likewise.
7196 (CPU_FEATURE_USABLE): Likewise.
7197 (bit_arch_XXX_Usable): Likewise.
7198 (cpu_features): Use cpuid_registers and cpu_features_basic.
7199 (bit_arch_XXX): Reweritten.
7200 (bit_cpu_XXX): Likewise.
7201 (index_cpu_XXX): Likewise.
7202 (reg_XXX): Likewise.
7203 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
7204 <support/check.h>.
7205 (CHECK_CPU_FEATURE): New.
7206 (CHECK_CPU_FEATURE_USABLE): Likewise.
7207 (cpu_kinds): Likewise.
7208 (do_test): Print vendor, family, model and stepping. Check
7209 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
7210 (TEST_FUNCTION): Removed.
7211 Include <support/test-driver.c> instead of
7212 "../../test-skeleton.c".
7213 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
7214 Check POPCNT instead of POPCOUNT.
7215 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
7216
7b36d26b
ST
72172018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7218
7219 * scripts/gen-as-const.py (main): Avoid emitting empty line when
7220 there is no element in `consts'.
7221
02cd5c1a
FW
72222018-12-01 Florian Weimer <fweimer@redhat.com>
7223
7224 * support/support_capture_subprocess.c
7225 (support_capture_subprocess): Check that pipe descriptors have
7226 expected values. Close original pipe descriptors in subprocess.
7227
fc493bc9
ST
72282018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
7229
7230 [BZ #23032]
7231 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
7232 attr with __pthread_default_barrierattr.
7233 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
7234 attr with __pthread_default_condattr.
7235 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
7236 attr with __pthread_default_mutexattr.
7237 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
7238 attr with __pthread_default_rwlockattr.
7239
6310e6be
KW
72402018-12-01 Kemi Wang <kemi.wang@intel.com>
7241
7242 * manual/tunables.texi (POSIX Thread Tunables): New node.
7243 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
7244 * nptl/nptl-init.c: Include pthread_mutex_conf.h
7245 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
7246 __pthread_tunables_init.
7247 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
7248 (max_adaptive_count): Define.
7249 * nptl/pthread_mutex_conf.c: New file.
7250 * nptl/pthread_mutex_conf.h: New file.
7251 * sysdeps/generic/adaptive_spin_count.h: New file.
7252 * sysdeps/nptl/dl-tunables.list: New file.
7253 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
7254 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
7255 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
7256 Likewise.
7257
8e67b39e
PP
72582018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
7259
7260 [BZ #20544]
7261 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
7262 * stdlib/on_exit.c (__on_exit): Likewise.
7263 * stdlib/Makefile (tests): Add tst-bz20544.
7264 * stdlib/tst-bz20544.c: New test.
7265
15b8d67e
RÁE
72662018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
7267
7268 [BZ #19767]
7269 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
7270 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
7271 New.
7272
5e63c240
FW
72732018-11-30 Florian Weimer <fweimer@redhat.com>
7274
7275 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
7276 Extend error logging.
7277 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
7278 symbol.
7279
71058602 72802018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 7281
5fb7fc96
AZ
7282 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
7283 __sigismember instead of sigismember.
7284 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
7285 cancel_handler): New definitions.
7286 (do_system): Use posix_spawn instead of fork and execl and remove
7287 reentracy code.
7288 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
7289 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
7290 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
7291 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7292 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7293 * sysdeps/unix/sysv/linux/system.c: Likewise.
7294
14d0e87d
AZ
7295 [BZ #22834]
7296 [BZ #17490]
7297 * NEWS: Add new semantic for atfork with popen and system.
7298 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
7299 fork and execl.
7300
e5d262ef
TMQMF
73012018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
7302
7303 [BZ #23690]
7304 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
7305 modification order when accessing reloc_result->addr.
7306 * include/link.h (reloc_result): Add field init.
7307 * nptl/Makefile (tests): Add tst-audit-threads.
7308 (modules-names): Add tst-audit-threads-mod1 and
7309 tst-audit-threads-mod2.
7310 Add rules to build tst-audit-threads.
7311 * nptl/tst-audit-threads-mod1.c: New file.
7312 * nptl/tst-audit-threads-mod2.c: Likewise.
7313 * nptl/tst-audit-threads.c: Likewise.
7314 * nptl/tst-audit-threads.h: Likewise.
7315
7e1d4240
JM
73162018-11-30 Joseph Myers <joseph@codesourcery.com>
7317
7318 * scripts/gen-as-const.py: New file.
7319 * scripts/gen-as-const.awk: Remove.
7320 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
7321 gen-as-const.py.
7322 ($(objpfx)test-as-const-%.c): Likewise.
7323
ce7387cc
L
73242018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7325
7326 * elf/dl-exception.c: Include <_itoa.h>.
7327
c6a5bdc1
ST
73282018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7329
7330 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7331 returned by __f_setlk.
7332
a5275ba5
L
73332018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7334 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7335
7336 * elf/Makefile (tests-internal): Add tst-create_format1.
7337 * elf/dl-exception.c (_dl_exception_create_format): Support
7338 %x, %lx and %zx.
7339 * elf/tst-create_format1.c: New file.
7340
3a67e81d
CAC
73412018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7342
7343 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7344 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7345 gnulib.)
7346 * argp/argp-help.c (__argp_failure): Likewise.
7347
4975f0c3
MH
73482018-11-29 Mao Han <han_mao@c-sky.com>
7349
7350 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7351 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7352 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7353 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7354 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7355 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7356 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7357 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7358 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7359 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7360 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7361 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7362 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7363 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7364 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7365 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7366 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7367 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7368 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7369 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7370 (R_CKCORE_TLS_TPOFF32): New defines.
7371
250102c8
FW
73722018-11-29 Florian Weimer <fweimer@redhat.com>
7373
7374 * posix/Makefile (before-compile): Remove testcases.h and
7375 ptestcases.h.
7376 (generated): Add testcases.h and ptestcases.h.
7377 (testcases.h, ptestcases.h): Move to $(objpfx).
7378 (runtests.o): Add dependency on testcases.h.
7379 (runptests.o): Add dependency on ptestcases.h.
7380 * posix/testcases.h, posix/ptestcases.h: Remove files.
7381 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7382 not touch posix/testcases.h and posix/ptestcases.h.
7383
96cd0558
FW
73842018-11-28 Florian Weimer <fweimer@redhat.com>
7385
7386 support: Add signal support to support_capture_subprocess_check.
7387 * support/capture_subprocess.h (support_capture_subprocess_check):
7388 Adjust comment and rename parameter.
7389 * support/support_capture_subprocess_check.c
7390 (print_actual_status): New function.
7391 (support_capture_subprocess_check): Support negative
7392 status_or_signal. Call print_actual_status.
7393 * support/tst-support_capture_subprocess.c (do_test): Call
7394 support_capture_subprocess_check.
7395 * libio/tst-vtables-common.c (termination_status)
7396 (init_termination_status): Remove.
7397 (check_for_termination): Adjust support_capture_subprocess_check
7398 call.
7399 (do_test): Remove call to init_termination_status.
7400
530504e3
JM
74012018-11-28 Joseph Myers <joseph@codesourcery.com>
7402
7403 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7404 source directory instead of a copy.
7405 (CommandList.create_copy_dir): Remove.
7406
9a0b6970
SL
74072018-11-28 Stefan Liebler <stli@linux.ibm.com>
7408
7409 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7410
47d8d9a2
FW
74112018-11-28 Florian Weimer <fweimer@redhat.com>
7412
7413 * support/support.h (support_quote_string): Do not use str
7414 parameter name.
7415
b473b7d8
JM
74162018-11-27 Joseph Myers <joseph@codesourcery.com>
7417
7418 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7419 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7420
c74a91de
FW
74212018-11-27 Florian Weimer <fweimer@redhat.com>
7422
7423 * support/support.h (support_quote_string): Declare.
7424 * support/support_quote_string.c: New file.
7425 * support/tst-support_quote_string.c: Likewise.
7426 * support/Makefile (libsupport-routines): Add
7427 support_quote_string.
7428 (tests): Add tst-support_quote_string.
7429
d527c860
FW
74302018-11-27 Florian Weimer <fweimer@redhat.com>
7431
7432 [BZ #23927]
7433 CVE-2018-19591
7434 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7435 descriptor leak in case of ENODEV error.
7436
979cfed0
RÁE
74372018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7438
7439 [BZ #19767]
7440 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7441 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7443
ce035c6e
CD
74442018-11-26 Carlos O'Donell <carlos@redhat.com>
7445
7446 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7447 Error for unknown lines.
7448
2bd0bfcc
JM
74492018-11-26 Joseph Myers <joseph@codesourcery.com>
7450
7451 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7452 Touch additional files.
7453
affec03b
FW
74542018-11-26 Florian Weimer <fweimer@redhat.com>
7455
7456 [BZ #23907]
7457 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7458 double-frees.
7459
8ae74ead
RÁE
74602018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7461
7462 [BZ #19767]
7463 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7464 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7465 SHARED. Include sysdep.h.
7466 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7467 ALWAYS_USE_VSYSCALL.
7468 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7469 ALWAYS_USE_VSYSCALL.
7470
1e8bdc3a
RÁE
74712018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7472
7473 [BZ #19767]
7474 * nptl/Makefile (tests-static): Add tst-cond11-static.
7475 (tests): Likewise.
7476 * nptl/tst-cond11-static.c: New File.
7477 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7478 tst-affinity-static.
7479 (tests): Likewise.
7480 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7481 instead of SHARED.
7482 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7483 (USE_VSYSCALL): Likewise.
7484 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7485 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7486 instead of SHARED.
7487 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7488 SHARED.
7489 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7490 New.
7491
1283c478
JM
74922018-11-23 Joseph Myers <joseph@codesourcery.com>
7493
7494 [BZ #23915]
7495 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7496 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7497 Undefine.
7498
c089fd80
L
74992018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7500
7501 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7502 (tst-cet-legacy-1a-ARGS): New.
7503 ($(objpfx)tst-cet-legacy-1a): New target.
7504 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7505
cc6c89fa
JM
75062018-11-22 Joseph Myers <joseph@codesourcery.com>
7507
95edd05c
JM
7508 * conform/conformtest.py (CompileSubTest.__init__): Set
7509 self.run_early to False.
7510 (ExecuteSubTest.__init__): Likewise.
7511 (HeaderTests.run): Try running all non-optional, non-XFAILed
7512 compilation tests in a single execution of the compiler.
7513
cc6c89fa
JM
7514 * conform/conformtest.py (CompileSubTest): New class.
7515 (ExecuteSubTest): Likewise.
7516 (ElementTest.run): Rename to gen_subtests. Append tests to
7517 self.subtests instead of running them.
7518 (ConstantTest.run): Likewise.
7519 (SymbolTest.run): Likewise.
7520 (TypeTest.run): Likewise.
7521 (TagTest.run): Likewise.
7522 (FunctionTest.run): Likewise.
7523 (VariableTest.run): Likewise.
7524 (MacroFunctionTest.run): Likewise.
7525 (MacroStrTest.run): Likewise.
7526 (HeaderTests.handle_test_line): Generate subtests for tests.
7527 (HeaderTests.run): Run subtests for tests.
7528
a502c529
SN
75292018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7530
7531 * math/Versions (GLIBC_2.29): Add pow.
7532 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7533 symbol.
7534 * math/w_pow.c: New file.
7535 * sysdeps/i386/fpu/w_pow.c: New file.
7536 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7537 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7538 and add necessary aliases.
7539 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7540 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7541 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7544 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7545 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7546 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7547 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7548 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7549 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7550 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7551 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7552 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7553 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7558 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7559 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7560 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7561 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7562 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7563 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7564 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7565 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7566 __pow.
7567 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7568 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7569 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7570
718d6542
SN
75712018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7572
7573 * math/Versions (GLIBC_2.29): Add log2.
7574 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7575 symbol.
7576 * math/w_log2.c: New file.
7577 * sysdeps/i386/fpu/w_log2.c: New file.
7578 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7579 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7580 and add necessary aliases.
7581 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7582 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7583 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7584 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7586 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7587 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7588 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7589 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7590 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7591 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7592 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7593 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7594 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7595 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7600 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7601 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7602 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7603 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7604 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7605 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7606 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7607
f29b7c49
SN
76082018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7609
7610 * math/Versions (GLIBC_2.29): Add log.
7611 * math/w_log_compat.c (__log_compat): Change to versioned compat
7612 symbol.
7613 * math/w_log.c: New file.
7614 * sysdeps/i386/fpu/w_log.c: New file.
7615 * sysdeps/ia64/fpu/e_log.S: Update.
7616 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7617 and add necessary aliases.
7618 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7619 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7620 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7621 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7622 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7623 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7624 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7625 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7626 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7627 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7628 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7629 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7630 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7631 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7632 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7634 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7637 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7638 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7639 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7640 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7641 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7642 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7643 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7644 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7645 __log.
7646 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7647 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7648 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7649 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7650
c20a1056
SN
76512018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7652
7653 * math/Versions (GLIBC_2.29): Add exp and exp2.
7654 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7655 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7656 * math/w_exp_compat.c (__exp_compat): Likewise.
7657 * math/w_exp.c: New file.
7658 * math/w_exp2.c: New file.
7659 * sysdeps/i386/fpu/w_exp.c: New file.
7660 * sysdeps/i386/fpu/w_exp2.c: New file.
7661 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7662 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7663 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7664 and add necessary aliases.
7665 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7666 and add necessary aliases.
7667 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7668 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7669 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7670 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7671 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7672 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7673 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7674 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7675 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7676 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7677 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7678 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7679 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7680 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7681 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7682 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7683 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7688 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7689 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7690 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7691 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7692 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7693 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7694 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7695 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7696 (__ieee754_exp): Rename to __exp.
7697 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7698 (__ieee754_exp): Rename to __exp.
7699 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7700 (__ieee754_exp): Rename to __exp.
7701 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7702 __exp.
7703 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7704
bcdaad21
DD
77052018-11-20 DJ Delorie <dj@redhat.com>
7706
7707 * malloc/malloc.c (tcache_entry): Add key field.
7708 (tcache_put): Set it.
7709 (tcache_get): Likewise.
7710 (_int_free): Check for double free in tcache.
7711 * malloc/tst-tcfree1.c: New.
7712 * malloc/tst-tcfree2.c: New.
7713 * malloc/Makefile: Run the new tests.
7714 * manual/probes.texi: Document memory_tcache_double_free probe.
7715
7716 * dlfcn/dlerror.c (check_free): Prevent double frees.
7717
5770c0ad
WD
77182018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7719
7720 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7721
9a62a939
JM
77222018-11-20 Joseph Myers <joseph@codesourcery.com>
7723
7724 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7725 in tests. Use names for format arguments.
7726 (ConstantTest.run): Likewise.
7727 (SymbolTest.run): Likewise.
7728 (TypeTest.run): Likewise.
7729 (TagTest.run): Likewise.
7730 (FunctionTest.run): Likewise.
7731 (VariableTest.run): Likewise.
7732 (MacroFunctionTest.run): Likewise.
7733 (MacroStrTest.run): Likewise.
7734 (HeaderTests.__init__): Set self.num_tests.
7735 (HeaderTests.handle_test_line): Set test.num. Increment
7736 self.num_tests.
7737
b15b1a95
ST
77382018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7739
7740 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7741 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7742 SEEK_SET.
7743
0c7f97ae
MH
77442018-11-19 Mao Han <han_mao@c-sky.com>
7745
7746 * scripts/config.guess: Update to version 2018-08-29.
7747 * scripts/config.sub: Update to version 2018-08-29.
7748
35e3fbc4
FW
77492018-11-19 Florian Weimer <fweimer@redhat.com>
7750
7751 support: Print timestamps in timeout handler.
7752 * support/support_test_main.c (print_timestamp): New function.
7753 (signal_handler): Use it to print the termination time and the
7754 time of the last write to standard output.
7755
c75772e3
ZW
77562018-11-16 Zack Weinberg <zackw@panix.com>
7757 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7758
7759 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7760 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7761 argument.
7762 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7763 and add flags argument. Check flags instead of __ldbl_is_dbl when
7764 deciding whether to set is_long_double.
7765 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7766 passing zero for flags argument.
7767 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7768
7769 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7770 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7771 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7772 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7773 variable names. Remove libc_hidden_def/libc_hidden_proto from
7774 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7775 longer called from within the library.
7776 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7777 for __nldbl___vstrfmon_l, declare it explicitly.
7778
7779 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7780
346ef23f
ST
77812018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7782
7783 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7784 macros
7785 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7786 F_SETLK64, F_SETLKW64, respectively.
7787 * sysdeps/mach/hurd/f_setlk.c: New file.
7788 * sysdeps/mach/hurd/f_setlk.h: New file.
7789 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7790 f_setlk.
7791 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7792 (__libc_fcntl): Move non-flock operations to...
7793 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7794 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7795
de20b81a
PE
77962018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7797
5d8af156
PE
7798 mktime: DEBUG_MKTIME cleanup
7799 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7800 And it’s no longer needed now that glibc and Gnulib both have
7801 their own testing mechanisms for mktime.
7802 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7803
86aece3b
PE
7804 mktime: fix non-EOVERFLOW errno handling
7805 [BZ#23789]
7806 mktime was not properly reporting failures when the underlying
7807 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7808 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7809 The problem could happen on non-glibc platforms, with Gnulib.
7810 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7811 (tm_diff): ... this simpler function, which does not change errno.
7812 All callers changed to deal with errno themselves.
7813 (ranged_convert, __mktime_internal): Return failure immediately if
7814 the underlying function reports any failure other than EOVERFLOW.
7815 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7816 gap code fails.
7817
f6b3331b
PE
7818 mktime: fix bug with Y2038 DST transition
7819 [BZ#23789]
7820 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7821 mishandle a DST transition that jumps over the Y2038 boundary.
7822 No such DST transitions are known so this is only a theoretical
7823 bug, but we might as well do things right.
7824
efbdddc3
PE
7825 mktime: make more room for overflow
7826 [BZ#23789]
7827 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7828 This is so that we can add tm_diff results to a previous guess,
7829 which will be useful in a later patch.
7830
6c90d759
PE
7831 mktime: simplify offset guess
7832 [BZ#23789]
7833 * time/mktime.c (__mktime_internal): Omit excess precision.
7834
32c12f3f
PE
7835 mktime: new test for mktime failure
7836 [BZ#23789]
7837 Based on a test suggested by Albert Aribaud in:
7838 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7839 * time/Makefile (tests): Add bug-mktime4.
7840 * time/bug-mktime4.c: New file.
7841
de20b81a
PE
7842 mktime: fix EOVERFLOW bug
7843 [BZ#23789]
7844 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7845 Include libc-config.h, not config.h, for __set_errno.
7846 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7847
8c6c3fb0
ST
78482018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7849
7850 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7851 __attribute_copy__ to copy attributes from name. Drop static qualifier
7852 to avoid warnings about leaf attribute not having effect on static
7853 functions.
7854
6923f6db
FW
78552018-11-13 Florian Weimer <fweimer@redhat.com>
7856
7857 * malloc/malloc.c (fastbin_push_entry): New function.
7858 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7859 (REMOVE_FB): Remove macro.
7860 (_int_malloc): Use fastbin_pop_entry and reindent.
7861 (_int_free): Use fastbin_push_entry.
7862 (malloc_consolidate): Use atomic_exchange_acquire.
7863
53f5c659
JM
78642018-11-13 Joseph Myers <joseph@codesourcery.com>
7865
0c096dcf
JM
7866 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7867 alias attribute, not with strong_alias.
7868
9c4b457e
JM
7869 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7870 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7871 with additional parameter thread.
7872 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7873 in terms of __hidden_ver2.
7874 (hidden_tls_def): New macro.
7875 (libc_hidden_tls_def): Likewise.
7876 (rtld_hidden_tls_def): Likewise.
7877 (libm_hidden_tls_def): Likewise.
7878 (libmvec_hidden_tls_def): Likewise.
7879 (libresolv_hidden_tls_def): Likewise.
7880 (librt_hidden_tls_def): Likewise.
7881 (libdl_hidden_tls_def): Likewise.
7882 (libnss_files_hidden_tls_def): Likewise.
7883 (libnsl_hidden_tls_def): Likewise.
7884 (libnss_nisplus_hidden_tls_def): Likewise.
7885 (libutil_hidden_tls_def): Likewise.
7886 (libutil_hidden_tls_def): Likweise.
7887 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7888 libc_hidden_tls_def.
7889 (__sim_disabled_exceptions_thread): Likewise.
7890 (__sim_round_mode_thread): Likewise.
7891
53f5c659
JM
7892 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7893 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7894 copy attributes from name.
7895
092dfde6
JM
78962018-11-12 Joseph Myers <joseph@codesourcery.com>
7897
f578f97b
JM
7898 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7899 Use __attribute_copy__ to copy attributes from name.
7900
9a7c643a
JM
7901 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7902 with __hidden_ver1 call.
7903 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7904 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7905 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7906 (__cosf): Do not declare here.
7907 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7908 (__sincosf): Do not declare here.
7909 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7910 (__sinf): Do not declare here.
7911
092dfde6
JM
7912 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7913 (__BIG_ENDIAN): Likewise.
7914 (__BYTE_ORDER): Likewise.
7915 (strong_alias): Likewise.
7916 (_strong_alias): Likewise.
7917
1ecba1fa
FW
79182018-11-12 Florian Weimer <fweimer@redhat.com>
7919
7920 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7921 function. Move after the definition of in_smallbin_range. Do not
7922 use __builtin_expect for paths that lead to a noreturn function.
7923 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7924 because it is unclear whether this is in fact an unlikely
7925 condition.
7926 (_int_malloc, _int_free): Adjust.
7927 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7928 variables.
7929 * malloc/arena.c (heap_trim): Likewise.
7930
434c34bd
ST
79312018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7932
7933 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7934 it, free it if needed.
7935 (reauthenticate): Test and use ccwdir.
7936 (child_init_port): In non-resetids case, test and use ccwdir.
7937 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7938 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7939 * hurd/hurd/port.h (_hurd_port_move): New function.
7940 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7941 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7942 * hurd/Versions (_hurd_port_move): Export function.
7943 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7944 symbol.
58bb655a
ST
7945 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7946 of dtablesize for allocating dtable_cloexec.
434c34bd 7947
1626a1cf
MS
79482018-11-09 Martin Sebor <msebor@redhat.com>
7949
7950 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7951 it's already defined.
7952 (_strong_alias): Use __attribute_copy__.
7953 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7954 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7955 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7956 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7957 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7958 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7959 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7960 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7961 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7962 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7963 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7964 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7965 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7966 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7967 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7968 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7969 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7970 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7971 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7972
968ed530
GG
79732018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7974
7975 * misc/tst-efgcvt.c: Include support/check.h and
7976 support/test-driver.c. Do not include test-skeleton.c.
7977 (error_count): Remove.
7978 (output_error): Replace increments to error_count with calls to
7979 support_record_failure.
7980 (output_r_error): Likewise.
7981 (special): Likewise.
7982 (do_test): Unconditionally return zero.
7983 (TEST_FUNCTION): Remove.
7984
c3ec0972
JM
79852018-11-09 Joseph Myers <joseph@codesourcery.com>
7986
91faaa93
JM
7987 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7988 not $(@D)/scratch.
7989 ($(linknamespace-header-tests)): Likewise.
7990
c3ec0972
JM
7991 * conform/conformtest.py: New file.
7992 * conform/conformtest.pl: Remove.
7993 * conform/GlibcConform.pm: Likewise.
7994 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7995 (KEYWORDS_C99): Likewise.
7996 (KEYWORDS): Likewise.
7997 * conform/Makefile ($(conformtest-header-tests)): Use
7998 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7999 option. Use --header instead of --headers.
8000 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
8001 function entries.
8002 * conform/data/spawn.h-data: Likewise.
8003 * conform/data/fcntl.h-data (openat): Add space after function
8004 name.
8005 * conform/data/wchar.h-data (wcscasecmp): Likewise.
8006 (wcscasecmp_l): Likewise.
8007 * conform/data/termios.h-data (c_cc): Add space after element
8008 name.
8009
43257c33
GG
80102018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8011
8012 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
8013 instead of manually comparing and reporting mismatching strings.
8014 * misc/tst-ldbl-error.c (do_one_test): Likewise.
8015 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
8016
e5de3b5b
JM
80172018-11-08 Joseph Myers <joseph@codesourcery.com>
8018
8019 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
8020 __ASSUME_SOCKETCALL.
8021 * sysdeps/unix/sysv/linux/i386/kernel-features.h
8022 (__ASSUME_SOCKETCALL): Remove.
8023 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8024 (__ASSUME_SOCKETCALL): Likewise.
8025 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8026 (__ASSUME_SOCKETCALL): Likewise.
8027 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8028 (__ASSUME_SOCKETCALL): Likewise.
8029 * sysdeps/unix/sysv/linux/s390/kernel-features.h
8030 (__ASSUME_SOCKETCALL): Likewise.
8031 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8032 (__ASSUME_SOCKETCALL): Likewise.
8033 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8034 (__ASSUME_SOCKETCALL): Likewise.
8035
d524fa6c
L
80362018-11-08 H.J. Lu <hongjiu.lu@intel.com>
8037
8038 [BZ #23509]
8039 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
8040 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
8041 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
8042 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
8043 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
8044 lc_unknown.
8045
ac806026
AH
80462018-11-08 Alexandra Hájková <ahajkova@redhat.com>
8047
8048 [BZ #17630]
8049 * resolv/tst-resolv-network.c: Add test for getnetbyname.
8050
596cc360
JM
80512018-11-07 Joseph Myers <joseph@codesourcery.com>
8052
8053 [BZ #23867]
8054 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8055 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8056 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8057 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
8058
00c86a37
AZ
80592018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8060
8061 * support/support_test_compare_string.c
8062 (support_test_compare_string): Fix printf format.
8063
1df872fd
FW
80642018-11-07 Florian Weimer <fweimer@redhat.com>
8065
8066 Implement TEST_COMPARE_STRING.
8067 * support/check.h (TEST_COMPARE_STRING): Define.
8068 (support_test_compare_string): Declare.
8069 * support/Makefile (libsupport-routines): Add
8070 support_test_compare_string.
8071 (tests): Add tst-test_compare_string.
8072 * support/support_test_compare_string.c: New file.
8073 * support/tst-test_compare_string.c: Likewise.
8074
295132ff
AS
80752018-11-07 Andreas Schwab <schwab@suse.de>
8076
8077 [BZ #23864]
8078 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
8079 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
8080 Undef.
8081
e143ceba
JM
80822018-11-06 Joseph Myers <joseph@codesourcery.com>
8083
8084 [BZ #23862]
8085 * sysdeps/unix/sysv/linux/sh/kernel-features.h
8086 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
8087 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
8088 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
8089 Likewise.
8090
4a938cb2
FW
80912018-11-06 Florian Weimer <fweimer@redhat.com>
8092
8093 [BZ #17405]
8094 * posix/Makefile (routines): Add spawn_faction_addchdir.
8095 (tests): Add tst-spawn-chdir.
8096 * posix/Versions (GLIBC_2.29): Add
8097 posix_spawn_file_actions_addchdir_np.
8098 * posix/spawn_faction_addchdir.c: New file.
8099 * posix/spawn_faction_destroy.c
8100 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
8101 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
8102 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
8103 chdir_action.
8104 * posix/tst-spawn-chdir.c: New file.
8105 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
8106 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
8107 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
8108 posix_spawn_file_actions_addchdir_np.
8109 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
8110 Likewise.
8111 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
8112 Likewise.
8113 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
8114 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
8115 Likewise.
8116 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
8117 Likewise.
8118 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
8121 Likewise.
8122 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
8123 Likewise.
8124 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
8125 Likewise.
8126 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8127 (GLIBC_2.29): Likewise.
8128 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8129 (GLIBC_2.29): Likewise.
8130 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8131 (GLIBC_2.29): Likewise.
8132 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8133 (GLIBC_2.29): Likewise.
8134 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
8135 Likewise.
8136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8137 (GLIBC_2.29): Likewise.
8138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8139 (GLIBC_2.29): Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8141 (GLIBC_2.29): Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8143 (GLIBC_2.29): Likewise.
8144 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
8145 Likewise.
8146 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
8147 Likewise.
8148 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
8149 Likewise.
8150 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
8152 Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
8154 Likewise.
8155 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
8156 Likewise.
8157 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
8158 Likewise.
8159
7597b0c7
GG
81602018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8161
8162 * misc/Makefile (tests): Add tst-ldbl-error.
8163 * misc/tst-ldbl-error.c: New file.
8164
9771e6cb
GG
81652018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8166
8167 * misc/Makefile (tests): Add tst-ldbl-warn.
8168 * misc/tst-ldbl-warn.c: New file.
8169
2c03961f
GG
81702018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
8171
8172 * argp/Makefile (tests): Add tst-ldbl-argp.
8173 * argp/tst-ldbl-argp.c: New file.
8174
6d6ee046
AS
81752018-11-05 Arjun Shankar <arjun@redhat.com>
8176
8177 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
8178 __gconv_path_elem and call __gconv_get_path unconditionally.
8179
bd3b0fba
AS
81802018-11-05 Andreas Schwab <schwab@suse.de>
8181
8182 [BZ #22927]
8183 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
8184 creating the first helper thread failed.
8185
2e96e980
ST
81862018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
8187
8188 * sysdeps/mach/hurd/msync.c: New file.
8189
6e36266c
FW
81902018-11-02 Florian Weimer <fweimer@redhat.com>
8191
8192 * support/shell-container.c (copy_func): Call
8193 support_copy_file_range instead of copy_file_range to support
8194 cross-device copies.
8195
599f7bee
FW
81962018-11-02 Florian Weimer <fweimer@redhat.com>
8197
8198 * support/test-container.c: Include <libc-pointer-arith.h> for
8199 ALIGN_UP.
8200
ff48ea67
ZL
82012018-11-01 Zong Li <zong@andestech.com>
8202
af1d5782
ZL
8203 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
8204 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
8205 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
8206 (__FP_FRAC_SET_8): Add implementation for RV32 use.
8207
ff48ea67
ZL
8208 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
8209 variable to avoid overlap arguments.
8210
daea71c2
JM
82112018-11-01 Joseph Myers <joseph@codesourcery.com>
8212
eac4405a
JM
8213 * posix/bug-regex22.c (main): Use puts with distinct error
8214 messages for unexpected success of re_compile_pattern, not printf
8215 with NULL argument to %s.
8216
6f30e59f
JM
8217 * stdio-common/bug22.c: Include <libc-diag.h>.
8218 (do_test): Disable -Wformat-overflow= warnings around fprintf
8219 calls outputting more than INT_MAX characters.
8220 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
8221 around printf call with NULL %s argument.
8222
daea71c2
JM
8223 [BZ #23848]
8224 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
8225 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
8226 Undefine.
8227 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8228 (__ASSUME_RECVMSG_SYSCALL): Likewise.
8229 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8230 (__ASSUME_SENDTO_SYSCALL): Likewise.
8231 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8232 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
8233 [!__arch64__].
8234 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8235 (__ASSUME_CONNECT_SYSCALL): Likewise.
8236 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
8237 (__ASSUME_RECVFROM_SYSCALL): Likewise.
8238 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
8239 Define.
8240 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
8241 Likewise.
8242 [__LINUX_KERNEL_VERSION >= 0x040400]
8243 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8244 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
8245 Remove.
8246 (listen): Likewise.
8247 (setsockopt): Likewise.
8248
8e3c00db
FN
82492018-11-01 Fredrik Noring <noring@nocrew.org>
8250
8251 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
8252 with the ISA override.
8253
9c3dbdbe
RAE
82542018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
8255
8256 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
8257 #endif.
8258
e3a88b3e
ST
82592018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
8260
a67377e7 8261 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 8262 translate the error message.
a67377e7
ST
8263 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
8264 printing trailing whitespaces refused by git.
8265 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
8266 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 8267 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 8268
3ca235ed
JM
82692018-10-30 Joseph Myers <joseph@codesourcery.com>
8270
8271 * conform/linknamespace.py: New file.
8272 * conform/linknamespace.pl: Remove file.
8273 * conform/Makefile ($(linknamespace-header-tests)): Use
8274 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
8275 option.
8276
60708030
FW
82772018-10-30 Florian Weimer <fweimer@redhat.com>
8278
8279 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
8280 memory leaks.
8281
a91e9301
FW
82822018-10-30 Florian Weimer <fweimer@redhat.com>
8283
8284 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
8285
07da99aa
FW
82862018-10-30 Florian Weimer <fweimer@redhat.com>
8287
8288 * stdlib/tst-strtod-overflow.c (do_test): Switch to
8289 support_blob_repeat.
8290
f5e7e959
FW
82912018-10-30 Florian Weimer <fweimer@redhat.com>
8292
8293 Avoid spurious test failures in stdlib/test-bz22786.
8294 * support/Makefile (libsupport-routines): Add blob_repeat.
8295 (tests): Add tst-support_blob_repeat.
8296 * support/blob_repeat.h: New file.
8297 * support/blob_repeat.c: Likewise.
8298 * support/tst-support_blob_repeat.c: Likewise.
8299 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
8300 support_blob_repeat_allocate.
8301
2dd12baa
AS
83022018-10-30 Andreas Schwab <schwab@suse.de>
8303
8304 [BZ #23125]
8305 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
8306 Don't use tail call.
8307 * elf/tst-unwind-main.c: New file.
8308 * elf/Makefile (tests): Add tst-unwind-main.
8309 (CFLAGS-tst-unwind-main.c): Define.
8310
6b5c8607 83112018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
8312
8313 [BZ #23791]
8314 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
8315 n_cs_precedes to 0.
8316 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
8317
c6982f7e
JM
83182018-10-29 Joseph Myers <joseph@codesourcery.com>
8319
954cf3c2
JM
8320 * conform/glibcconform.py: Do not import shutil.
8321 (list_exported_functions): Use tempfile.TemporaryDirectory instead
8322 of mkdtemp.
8323
c6982f7e
JM
8324 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
8325 critic_missing for versions before 3.4.
8326 * configure: Regenerated.
8327 * manual/install.texi (Tools for Compilation): Document
8328 requirement for Python to build glibc.
8329 * INSTALL: Regenerated.
8330 * Rules [PYTHON]: Make code unconditional.
8331 * benchtests/Makefile [PYTHON]: Likewise.
8332 * conform/Makefile [PYTHON]: Likewise.
8333 * manual/Makefile [PYTHON]: Likewise.
8334 * math/Makefile [PYTHON]: Likewise.
8335
46a7f24c
ST
83362018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8337
8338 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8339 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8340 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8341 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8342 _hurd_intr_rpc_msg_about_to global point to start of controlled
8343 assembly snippet. Make it check canceled flag.
8344 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8345 the _hurd_intr_rpc_msg_about_to point.
8346 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8347 issue, remove cancel flag check.
46a7f24c 8348
e5b8756d
JM
83492018-10-26 Joseph Myers <joseph@codesourcery.com>
8350
8351 * scripts/build-many-glibcs.py: Remove compatibility for missing
8352 os.cpu_count and re.fullmatch.
8353
ba5b14c7
SN
83542018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8355
8356 [BZ #23822]
8357 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8358 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8359 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8360
fe61f17c
JM
83612018-10-25 Joseph Myers <joseph@codesourcery.com>
8362
8363 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8364 macro.
8365
7c5e34d7
FW
83662018-10-25 Florian Weimer <fweimer@redhat.com>
8367
8368 [BZ #23562]
8369 [BZ #23821]
8370 XFAIL siginfo_t si_band conform test on sparc64.
8371 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8372 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8373 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8374 (conformtest-xfail-conds): Add sparc64-linux.
8375 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8376 sparc64.
8377 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8378
5b784e88
JM
83792018-10-25 Joseph Myers <joseph@codesourcery.com>
8380
8381 * elf/elf.h (NT_MIPS_DSP): New macro.
8382 (NT_MIPS_FP_MODE): Likewise.
8383
41432ebe
ZL
83842018-10-25 Zong Li <zong@andestech.com>
8385
8386 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8387 name by adding the file extension (.so).
8388
d026efea
ST
83892018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8390
8391 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8392 (test-xfail-ISO11/threads.h/linknamespace,
8393 test-xfail-ISO11/threads.h/conform): Add.
8394
b71ac2b9
JM
83952018-10-24 Joseph Myers <joseph@codesourcery.com>
8396
8397 * math/gen-libm-test.py: Import os.
8398 (ALL_FLOATS_MANUAL): New constant.
8399 (ALL_FLOATS_SUFFIX): Likewise.
8400 (Ulps.all_functions): New function.
8401 (real_all_ulps): Likewise.
8402 (generate_err_table_sub): Likewise.
8403 (generate_err_table): Likewise.
8404 (main): Handle -s and -m options.
8405 * manual/libm-err-tab.pl: Remove.
8406 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8407 instead of libm-err-tab.pl.
8408 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8409 != no].
8410 * manual/install.texi (Tools for Compilation): Document
8411 requirement for Python to build manual.
8412 * INSTALL: Regenerated.
8413
6b5c8607 84142018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8415
8416 * bits/time64.h: New file.
8417 * include/time.h: Replace internal_time_t with __time64_t.
8418 * posix/bits/types (__time64_t): Add.
8419 * stdlib/Makefile: Add bits/time64.h to includes.
8420 * time/tzfile.c: Replace internal_time_t with __time64_t.
8421
97d91fcc 84222018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8423
8424 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8425 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8426 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8427 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8428 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8429 prototype.
8430 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8431 * posix/spawn_faction_addclose.c
8432 (__posix_spawn_file_actions_addclose): Add hidden definition.
8433 * posix/spawn_faction_adddup2.c
8434 (__posix_spawn_file_actions_adddup2): Likewise.
8435 * posix/spawn_faction_destroy.c
8436 (__posix_spawn_file_actions_destroy): Likewise.
8437 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8438 Likewise.
8439 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8440 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8441 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8442 Likewise.
8443 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8444 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8445 Likewise.
8446
2954daf0
AS
84472018-10-24 Andreas Schwab <schwab@suse.de>
8448
8449 [BZ #18093]
8450 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8451 format cache.
8452 * elf/cache.c (print_cache): Likewise.
8453
6b5c8607 84542018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8455
8456 * bits/timesize.h: New file.
8457 * stdlib/Makefile (headers): Add bits/timesize.h.
8458 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8459 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8460 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8461 (__SEM_PAD_AFTER_TIME): Likewise.
8462 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8463 (__SHM_PAD_AFTER_TIME): Likewise.
8464 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8465 (__MSQ_PAD_BEFORE_TIME): Likewise.
8466 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8467 (__SEM_PAD_BEFORE_TIME): Likewise.
8468 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8469 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8470 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8471 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8472 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8473 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8474 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8475 (__SEM_PAD_BEFORE_TIME): Likewise.
8476 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8477 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8478 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8479 (__MSQ_PAD_BEFORE_TIME): Likewise.
8480 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8481 (__SEM_PAD_BEFORE_TIME): Likewise.
8482 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8483 (__SHM_PAD_BEFORE_TIME): Likewise.
8484 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8485 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8486 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8487
7cc65773
L
84882018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8489
8490 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8491 USE_RDTSCP is defined.
8492 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8493 USE_RDTSCP is defined.
8494
c3d8dc45
AZ
84952018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8496
18ad0de6
AZ
8497 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8498 defined.
8499
c3d8dc45
AZ
8500 [BZ #23709]
8501 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8502 independently of other flags.
8503
f1034472
FW
85042018-10-23 Florian Weimer <fweimer@redhat.com>
8505
8506 * time/tst-mktime2.c (N_STRINGS): Remove.
8507 (set_timezone): New function.
8508 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8509 (mktime_test1): Report localtime failure and check errno value.
8510 Use TEST_COMPARE.
8511 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8512 (do_test): Remove alarm call. Use set_timezone and array_length.
8513
367d7cc2
AS
85142018-10-23 Andreas Schwab <schwab@suse.de>
8515
8516 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8517 (__start_context): Use END instead of PSEUDO_END.
8518
be8ff03f
JM
85192018-10-22 Joseph Myers <joseph@codesourcery.com>
8520
029ad711
JM
8521 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8522 version to 4.19.
8523
8190520f
JM
8524 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8525 version to 4.19.
8526
be8ff03f
JM
8527 [BZ #23793]
8528 * wcsmbs/c32rtomb.c: New file.
8529 * wcsmbs/mbrtoc32.c: Likewise.
8530 * wcsmbs/tst-c32-state.c: Likewise.
8531 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8532 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8533 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8534 (tests): Add tst-c32-state.
8535 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8536 $(gen-locales).
8537
2dd8e58c
L
85382018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8539
8540 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8541 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8542
d0a74159
JM
85432018-10-19 Joseph Myers <joseph@codesourcery.com>
8544
8545 [BZ #23794]
8546 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8547 pair and return 0 in that case, and use saved character to
8548 interpret following character.
8549 * wcsmbs/tst-c16-surrogate.c: New file.
8550 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8551 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8552 Depend on $(gen-locales)
8553
f997b4be
IYM
85542018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8555
8556 [BZ #23562]
8557 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8558 (struct siginfo_t): Use correct type for si_band.
8559
53b2bb87
FW
85602018-10-19 Florian Weimer <fweimer@redhat.com>
8561
8562 [BZ #23689]
8563 * resource/bits/types/struct_rusage.h (struct rusage): Update
8564 comment on struct. Remove extraneous field comment.
8565
0a271c8f
DM
85662018-10-18 David S. Miller <davem@davemloft.net>
8567
94a3a27f
DM
8568 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8569 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8570 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8571 sysdep_routines in subdir elf.
8572 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8573 version for __vdso_clock_gettime.
8574 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8575 Define.
8576 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8577 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8578
0a271c8f
DM
8579 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8580
72771e53
L
85812018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8582
8583 * sysdeps/i386/init-arch.h: Removed.
8584 * sysdeps/i386/i586/init-arch.h: Likewise.
8585 * sysdeps/i386/i686/init-arch.h: Likewise.
8586 * sysdeps/i386/i686/hp-timing.h: Likewise.
8587 * sysdeps/x86_64/hp-timing.h: Likewise.
8588 * sysdeps/i386/isa.h: New file.
8589 * sysdeps/i386/i586/isa.h: Likewise.
8590 * sysdeps/i386/i686/isa.h: Likewise.
8591 * sysdeps/x86_64/isa.h: Likewise.
8592 * sysdeps/x86/hp-timing.h: New file.
8593 * sysdeps/x86/init-arch.h: Include <isa.h>.
8594
c2b7ccad
JM
85952018-10-17 Joseph Myers <joseph@codesourcery.com>
8596
8597 * math/libm-test-pow.inc (pow_test_data): Do not allow
8598 divide-by-zero exception for pow(+/- 0, -Inf).
8599
26756e57
ZW
86002018-10-17 Zack Weinberg <zackw@panix.com>
8601
8602 * manual/job.texi (Job Control is Optional): Remove node, as
8603 job control has not been optional in quite some time.
8604 (Job Control): Mention briefly that systems older than
8605 POSIX.1-2001 might not support job control.
8606 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8607 defined on systems conforming to POSIX.1-2001.
8608
c5288d37
AS
86092018-10-17 Arjun Shankar <arjun@redhat.com>
8610
8611 [BZ #22062]
8612 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8613 indentation.
8614 * (__gconv_read_conf): Mark function static.
8615 * (once): New static variable.
8616 * (__gconv_load_conf): New function.
8617 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8618 * iconv/gconv_db.c (once): Remove static variable.
8619 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8620 __gconv_read_conf.
8621 * (__gconv_find_transform): Likewise.
8622 * iconv/tst-iconv-mt.c: New test.
8623 * iconv/Makefile: Add tst-iconv_mt.
8624
8c8d2a8a
JM
86252018-10-17 Joseph Myers <joseph@codesourcery.com>
8626
8627 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8628 bits/shm-pad.h.
8629 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8630 (shmatt_t): Define as __syscall_ulong_t.
8631 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8632 and [__SHM_PAD_AFTER_TIME].
8633 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8634 Define shm_segsz and associated padding based on
8635 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8636 Use __syscall_ulong_t instead of unsigned long int.
8637 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8638 unsigned long int.
8639 [__USE_MISC] (struct shm_info): Likewise.
8640 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8641 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8642 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8643 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8644 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8645 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8646 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8647 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8648 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8649 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8650 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8651
8652 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8653 bits/shmlba.h.
8654 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8655 (SHMLBA): Remove macro.
8656 (__getpagesize): Remove function declaration.
8657 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8658 <bits/shmlba.h>.
8659 (SHMLBA): Remove macro.
8660 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8661 <bits/shmlba.h>.
8662 (SHMLBA): Remove macro.
8663 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8664 <bits/shmlba.h>.
8665 (SHMLBA): Remove macro.
8666 (__getpagesize): Remove function declaration.
8667 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8668 <bits/shmlba.h>.
8669 (SHMLBA): Remove macro.
8670 (__getshmlba): Remove function declaration.
8671 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8672 (SHMLBA): Remove macro.
8673 (__getpagesize): Remove function declaration.
8674 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8675 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8676 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8677 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8678 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8679 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8680 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8681 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8682 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8683 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8684
403b4feb
SL
86852018-10-17 Stefan Liebler <stli@linux.ibm.com>
8686
8687 [BZ #23275]
8688 * nptl/tst-mutex10.c: New File.
8689 * nptl/Makefile (tests): Add tst-mutex10.
8690 (tst-mutex10-ENV): New variable.
8691 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8692 Ensure that elision path is used if elision is available.
8693 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8694 Likewise.
8695 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8696 Likewise.
8697 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8698 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8699 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8700 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8701 Likewise.
8702 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8703 (__pthread_mutex_cond_lock_adjust): Likewise.
8704 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8705 Likewise.
8706 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8707 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8708 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8709 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8710 Add comments.
8711 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8712 Use atomic_load_relaxed and atomic_store_relaxed.
8713 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8714 Use atomic_store_relaxed.
8715
ce5a7de6
AS
87162018-10-17 Andreas Schwab <schwab@suse.de>
8717
8718 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8719 * crypt/badsalttest.c (TIMEOUT): Likewise.
8720 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8721 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8722 * io/test-lfs.c (TIMEOUT): Likewise.
8723 * libio/tst-atime.c (TIMEOUT): Likewise.
8724 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8725 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8726 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8727 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8728 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8729 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8730 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8731 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8732 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8733 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8734 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8735 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8736 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8737 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8738 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8739 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8740 * nptl/tst-once2.c (TIMEOUT): Likewise.
8741 * nptl/tst-once3.c (TIMEOUT): Likewise.
8742 * nptl/tst-once4.c (TIMEOUT): Likewise.
8743 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8744 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8745 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8746 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8747 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8748 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8749 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8750 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8751 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8752 * posix/tst-chmod.c (TIMEOUT): Likewise.
8753 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8754 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8755 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8756 * posix/tst-regex2.c (TIMEOUT): Likewise.
8757 * posix/tst-waitid.c (TIMEOUT): Likewise.
8758 * rt/tst-aio.c (TIMEOUT): Likewise.
8759 * rt/tst-aio10.c (TIMEOUT): Likewise.
8760 * rt/tst-aio4.c (TIMEOUT): Likewise.
8761 * rt/tst-aio5.c (TIMEOUT): Likewise.
8762 * rt/tst-aio6.c (TIMEOUT): Likewise.
8763 * rt/tst-aio64.c (TIMEOUT): Likewise.
8764 * rt/tst-aio7.c (TIMEOUT): Likewise.
8765 * rt/tst-aio9.c (TIMEOUT): Likewise.
8766 * rt/tst-clock.c (TIMEOUT): Likewise.
8767 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8768 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8769 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8770 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8771 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8772 * rt/tst-timer4.c (TIMEOUT): Likewise.
8773 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8774 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8775 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8776 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8777 * time/tst-ftime.c (TIMEOUT): Likewise.
8778 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8779
6b5c8607 87802018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8781
8782 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8783 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8784 for thunderX2.
8785
bcdb1bfa
JM
87862018-10-15 Joseph Myers <joseph@codesourcery.com>
8787
8788 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8789 bits/sem-pad.h.
8790 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8791 instead of <bits/wordsize.h>.
8792 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8793 and [__SEM_PAD_AFTER_TIME].
8794 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8795 __syscall_ulong_t instead of unsigned long int.
8796 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8797 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8798 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8799 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8800 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8801 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8802 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8803 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8804 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8805 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8806 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8807
f4efbdfb
PE
88082018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8809
620a5d4c
PE
8810 regex: simplify by using intprops.h
8811 [BZ#23744]
8812 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8813 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8814 intprops.h defines them.
8815
f4efbdfb
PE
8816 regex: __builtin_expect → __glibc_unlikely
8817 [BZ#23744]
8818 This refactoring was prompted by a problem when the regex code is
8819 used as part of Gnulib and when the builder’s compiler does not grok
8820 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8821 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8822 Although this refactoring does not fix the problem directly,
8823 we might as well have Gawk use the now-preferred glibc style for when
8824 __builtin_expect is unavailable.
8825 * posix/regex_internal.h (BE): Remove.
8826 All uses replaced by __glibc_unlikely or __glibc_likely.
8827
9f9feb6d
JM
88282018-10-11 Joseph Myers <joseph@codesourcery.com>
8829
8830 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8831 bits/msq-pad.h.
8832 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8833 instead of <bits/wordsize.h>.
8834 (msgqnum_t): Define as __syscall_ulong_t.
8835 (msglen_t): Likewise.
8836 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8837 and [__MSQ_PAD_AFTER_TIME].
8838 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8839 __syscall_ulong_t instead of unsigned long int.
8840 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8841 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8842 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8843 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8844 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8845 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8846 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8847 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8848 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8849 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8850 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8851
b9c0f6c1
JM
88522018-10-10 Joseph Myers <joseph@codesourcery.com>
8853
2a4b25fa
JM
8854 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8855 (struct shmid_ds): Condition padding after time fields on
8856 [__WORDSIZE == 32].
8857 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8858 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8859 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8860
19e62f26
JM
8861 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8862 (struct semid_ds): Condition padding after time fields on
8863 [__WORDSIZE == 32].
8864 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8865 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8866 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8867 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8868
b9c0f6c1
JM
8869 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8870 (struct msqid_ds): Condition padding after time fields on
8871 [__WORDSIZE == 32].
8872 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8873 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8874 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8875 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8876
97785a61
SN
88772018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8878
8879 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8880
ed643089
SN
88812018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8882
8883 * libio/tst-readline.c (TIMEOUT): Define.
8884
5a580643
PE
88852018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8886
8887 mktime fix for Gnulib + coreutils
8888 [BZ#23745]
8889 This fix affects only Gnulib. Problem discovered when
8890 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8891 * time/mktime.c:
8892 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8893 Do not define since it is not used. Defining an unused static
8894 function prompts a warning from GCC when Coreutils is configured
8895 with --enable-gcc-warnings.
8896
c892ae04
LS
88972018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8898
8899 * benchtests/scripts/compare_bench.py (main): set float type on
8900 threshold argument.
8901
a68ec8ea
RL
89022018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8903
8904 [BZ #23740]
8905 * localedata/locales/kl_GL (mon): Update, the relative case.
8906 (alt_mon): Add, fill with month names in the nominative case.
8907 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8908 (d_fmt): Set to "%b %d %Y".
8909
a1987621
JM
89102018-10-04 Joseph Myers <joseph@codesourcery.com>
8911
47c49251
JM
8912 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8913 <bits/mman-linux.h>.
8914 (PROT_READ): Don't define here.
8915 (PROT_WRITE): Likewise.
8916 (PROT_EXEC): Likewise.
8917 (PROT_NONE): Likewise.
8918 (PROT_GROWSDOWN): Likewise.
8919 (PROT_GROWSUP): Likewise.
8920 (MAP_SHARED): Likewise.
8921 (MAP_PRIVATE): Likewise.
8922 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8923 [__USE_MISC] (MAP_FILE): Likewise.
8924 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8925 [__USE_MISC] (MAP_ANON): Likewise.
8926 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8927 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8928 (MCL_CURRENT): Likewise.
8929 (MCL_FUTURE): Likewise.
8930 (MCL_ONFAULT): Likewise.
8931 [__USE_MISC] (MADV_NORMAL): Likewise.
8932 [__USE_MISC] (MADV_RANDOM): Likewise.
8933 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8934 [__USE_MISC] (MADV_WILLNEED): Likewise.
8935 [__USE_MISC] (MADV_DONTNEED): Likewise.
8936 [__USE_MISC] (MADV_FREE): Likewise.
8937 [__USE_MISC] (MADV_REMOVE): Likewise.
8938 [__USE_MISC] (MADV_DONTFORK): Likewise.
8939 [__USE_MISC] (MADV_DOFORK): Likewise.
8940 [__USE_MISC] (MADV_HWPOISON): Likewise.
8941 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8942 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8943 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8944 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8945 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8946 (__MAP_ANONYMOUS): New macro.
8947 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8948 <bits/mman-linux.h> inclusion.
8949 (MAP_FIXED): Likewise.
8950 (MS_SYNC): Likewise.
8951 (MS_ASYNC): Likewise.
8952 (MS_INVALIDATE): Likewise.
8953 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8954 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8955 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8956 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8957 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8958 [__USE_MISC] (MADV_DODUMP): Likewise.
8959 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8960 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8961
a1987621
JM
8962 [BZ #23735]
8963 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8964 Define.
8965 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8966 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8967 Add test-nldbl-redirect.
8968 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8969 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8970 $(objpfx)libnldbl_nonshared.a.
8971
e7624d70
SL
89722018-10-04 Stefan Liebler <stli@linux.ibm.com>
8973
8974 * support/support.h (support_objdir_elf_ldso): New variable.
8975 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8976 * support/Makefile (CFLAGS-support_paths.c): Add definition
8977 for OBJDIR_ELF_LDSO_PATH.
8978 * support/test-container.c (main): Search for the ld.so
8979 which is also used by the testsuite.
8980
dae3ed95
RL
89812018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8982
8983 [BZ #20209]
8984 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8985 should be "sap" rather than "sab".
8986 (day): Fix spelling of Sunday, should be "sapaat" rather than
8987 "sabaat".
8988
f346b5b3
JM
89892018-10-02 Joseph Myers <joseph@codesourcery.com>
8990
8991 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8992
4a06ceea
MJ
89932018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8994
8995 [BZ #19444]
8996 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8997 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8998 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8999
a06fc4a5
AZ
90002018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9001
9002 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
9003
a1ccc065
L
90042018-10-02 H.J. Lu <hongjiu.lu@intel.com>
9005
9006 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
9007 Add -mrtm.
9008 (CFLAGS-elision-unlock.c): Likewise.
9009 (CFLAGS-elision-timed.c): Likewise.
9010 (CFLAGS-elision-trylock.c): Likewise.
9011 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
9012
0b727ed4
AZ
90132018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9014
9015 [BZ #21037]
9016 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
9017 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
9018 new fd_to_filename interface.
9019 * libio/freopen64.c (freopen64): Likewise.
9020 * libio/tst-memstream.h: New file.
9021 * libio/tst-memstream4.c: Likewise.
9022 * libio/tst-wmemstream4.c: Likewise.
9023 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
9024 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
9025 and remove internal dynamic allocation.
9026
d0e91e8c
JM
90272018-10-01 Joseph Myers <joseph@codesourcery.com>
9028
9029 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
9030 (MREMAP_MAYMOVE): Do not define here.
9031 [__USE_GNU] (MREMAP_FIXED): Likewise.
9032 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
9033 (MREMAP_MAYMOVE): Define here instead.
9034 [__USE_GNU] (MREMAP_FIXED): Likewise.
9035 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
9036 (MREMAP_MAYMOVE): Remove.
9037 [__USE_GNU] (MREMAP_FIXED): Likewise.
9038
c52944e8
JM
90392018-09-28 Joseph Myers <joseph@codesourcery.com>
9040
9041 * math/fromfp.h: Do not include <math_private.h>.
9042 * math/s_cacosh_template.c: Likewise.
9043 * math/s_casin_template.c: Likewise.
9044 * math/s_casinh_template.c: Likewise.
9045 * math/s_ccos_template.c: Likewise.
9046 * math/s_cproj_template.c: Likewise.
9047 * math/s_fdim_template.c: Likewise.
9048 * math/s_fmaxmag_template.c: Likewise.
9049 * math/s_fminmag_template.c: Likewise.
9050 * math/s_iseqsig_template.c: Likewise.
9051 * math/s_ldexp_template.c: Likewise.
9052 * math/s_nextdown_template.c: Likewise.
9053 * math/w_log1p_template.c: Likewise.
9054 * math/w_scalbln_template.c: Likewise.
9055 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9056 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9057 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9058 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9059 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
9060 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
9061 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
9062 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
9063 * sysdeps/i386/fpu/s_atanl.c: Likewise.
9064 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
9065 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
9066 * sysdeps/i386/fpu/s_fdim.c: Likewise.
9067 * sysdeps/i386/fpu/s_logbl.c: Likewise.
9068 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9069 * sysdeps/i386/fpu/s_significandl.c: Likewise.
9070 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
9071 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
9072 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9073 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
9074 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9076 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
9077 * sysdeps/ieee754/k_standardf.c: Likewise.
9078 * sysdeps/ieee754/k_standardl.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9080 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
9081 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
9082 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
9083 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
9084 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
9085 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
9086 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9087 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9088 * sysdeps/ieee754/s_signgam.c: Likewise.
9089 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
9090 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
9091 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
9092 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9093 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9094 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9095 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9096 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9097 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9098 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9099 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9100 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9101 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9102 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9103 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9104 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9105 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9106 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9107 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9108 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9109 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9110 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9111 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9112 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9113 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9114 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9115 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9116 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9117 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9118 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9119 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9120 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9121 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9122 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9123 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9124 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9125 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
9126 <math_private.h>.
9127 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9128
7b1f9406
L
91292018-09-28 H.J. Lu <hongjiu.lu@intel.com>
9130
9131 [BZ #23716]
9132 * sysdeps/i386/dl-cet.c: Removed.
9133 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
9134 prototype.
9135 (_dl_runtime_profile_shstk): Likewise.
9136 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
9137 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
9138
7a16bdbb
AZ
91392018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9140
9141 [BZ #23579]
9142 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
9143 do_test_with_invalid_iov): New tests.
9144 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
9145 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
9146 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
9147 errno is ENOSYS.
9148 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
9149 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
9150 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
9151
9755bc46
JM
91522018-09-27 Joseph Myers <joseph@codesourcery.com>
9153
81dca813
JM
9154 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9155 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
9156 (MATH_REDIRECT_BINARY_ARGS): New macro.
9157 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9158 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
9159 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
9160 header inclusion.
9161 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
9162 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
9163 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
9164 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
9165 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
9166 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
9167 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
9168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
9169 Likewise.
9170 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
9171 Likewise.
9172 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
9173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
9174 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
9175 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
9176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
9177 Likewise.
9178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
9179 Likewise.
9180 * sysdeps/generic/math_private_calls.h
9181 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
9182 Do not declare and define as an inline function.
9183 * math/divtc3.c (__divtc3): Use copysign functions instead of
9184 __copysign variants.
9185 * math/multc3.c (__multc3): Likewise.
9186 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
9187 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
9188 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
9189 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9190 Likewise.
9191 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
9192 (__ieee754_yn): Likewise.
9193 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
9194 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
9195 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
9196 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
9197 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
9198 (__sin): Likewise.
9199 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
9200 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
9201 Likewise.
9202 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
9203 Likewise.
9204 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
9205 Likewise.
9206 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
9207 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9208 Likewise.
9209 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
9210 (__ieee754_ynf): Likewise.
9211 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
9212 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
9213 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9214 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9215 Likewise.
9216 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
9217 (__ieee754_ynl): Likewise.
9218 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
9219 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
9220 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9221 Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9223 (__ieee754_ynl): Likewise.
9224 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
9225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9226 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9227 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9228 Likewise.
9229 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
9230 (__ieee754_ynl)
9231 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
9232 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
9233 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
9234 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9235 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9236
9755bc46
JM
9237 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9238 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
9239 using MATH_REDIRECT.
9240 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
9241 header inclusion.
9242 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
9243 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
9244 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
9245 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
9246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
9247 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
9248 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
9249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
9250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
9251 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
9252 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
9253 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9254 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9255 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
9256 (round): Redirect to __round.
9257 (__roundl): Call round instead of __round.
9258 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
9259 Remove macro.
9260 [_ARCH_PWR5X] (__roundf): Likewise.
9261 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
9262 functions instead of __round variants.
9263 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9264 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9265 Likewise.
9266 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9267 Likewise.
9268 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9269 Likewise.
9270 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
9271 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
9272 __lroundl.
9273 (__ieee754_expl): Call roundl instead of __roundl.
9274
f841c97e
AS
92752018-09-27 Andreas Schwab <schwab@suse.de>
9276
9277 [BZ #23717]
9278 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
9279 (do_test): Make st1 static.
9280
6ca8284e
AS
92812018-09-26 Andreas Schwab <schwab@suse.de>
9282
9283 [BZ #23707]
9284 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
9285 * elf/Makefile (tests): Add tst-unwind-ctor.
9286 (modules-names): Add tst-unwind-ctor-lib.
9287 ($(objpfx)tst-unwind-ctor): Depend on
9288 $(objpfx)tst-unwind-ctor-lib.so.
9289
61d8b5fe
JM
92902018-09-26 Joseph Myers <joseph@codesourcery.com>
9291
9292 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
9293 file. Most contents moved from ....
9294 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
9295 and include <bits/mman-map-flags-generic.h>.
9296 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9297 (sysdep_headers): Add bits/mman-map-flags-generic.h.
9298 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
9299 <bits/mman-map-flags-generic.h>.
9300 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
9301 macros defined in <bits/mman-map-flags-generic.h>.
9302 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
9303 <bits/mman-map-flags-generic.h>.
9304 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
9305 defined in <bits/mman-map-flags-generic.h>.
9306
46341286
AS
93072018-09-26 Andreas Schwab <schwab@suse.de>
9308
9309 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
9310 output.
9311
b5c45e83
AZ
93122018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
9313 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9314 Fangrui Song <maskray@google.com>
9315
9316 [BZ #20480]
9317 * config.make.in (have-textrel_ifunc): New define.
9318 * configure.ac: Add check if linker supports textrel relocation with
9319 ifunc.
9320 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
9321 tst-ifunc-textrel.
9322 (CFLAGS-tst-ifunc-textrel.c): New rule.
9323 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
9324 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
9325 * elf/tst-ifunc-textrel.c: New file.
9326
8ea4d2b7
JM
93272018-09-25 Joseph Myers <joseph@codesourcery.com>
9328
d62f9ec0
JM
9329 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9330 <bits/procfs-prregset.h>.
9331 (prgregset_t): Define using __prgregset_t.
9332 (prfpregset_t): Define using __prfpregset_t.
9333 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9334 (sysdep_headers): Add bits/procfs-prregset.h.
9335 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9336 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9337 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9338 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9339
d0d8eb43
JM
9340 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9341 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9342 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9343 pr_uid and pr_gid.
9344 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9345 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9346 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9347 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9348 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9349 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9350 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9351 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9352 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9353 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9354 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9355 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9356 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9357 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9358 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9359 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9360 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9361 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9362 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9363 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9364 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9365 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9366 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9367 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9368
8ea4d2b7
JM
9369 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9370 AArch64 version. Include <bits/procfs.h>.
9371 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9372 (sysdep_headers): Add bits/procfs.h.
9373 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9374 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9375 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9376 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9377 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9378 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9379 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9380 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9381 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9382 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9383 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9384 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9385 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9386 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9387 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9388 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9389 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9390
c7027166
AZ
93912018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9392
9393 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9394 Use libsupport.
9395
335a3b0a
AS
93962018-09-25 Arjun Shankar <arjun@redhat.com>
9397
9398 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9399 (__gconv_max_path_elem_len): Likewise.
9400 (__gconv_nmodules): Likewise.
9401 (__gconv_get_path): Likewise.
9402 (path_elem): Move to ...
9403 * iconv/gconv_conf.c: ... here.
9404 (__gconv_get_path): Mark function static.
9405 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9406 * iconv/gconv_open.c: ... here.
9407
462d348c
AS
94082018-09-24 Andreas Schwab <schwab@suse.de>
9409
9410 * scripts/haveversions.awk: New file.
9411 * Makerules ($(common-objpfx)Versions.def)
9412 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9413 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9414 Move rules ...
9415 * Makeconfig ($(common-objpfx)Versions.def)
9416 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9417 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9418 ... here.
9419 ($(common-objpfx)Versions.mk): New rule. Include it.
9420 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9421 Emit error if build-obsolete-nsl = yes.
9422 * manual/install.texi (Configuring and compiling): Describe
9423 --enable-obsolete-nsl as unavaiable after version 2.28.
9424 * INSTALL: Regenerate.
9425
f0458cf4
AZ
94262018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9427
9428 * NEWS: Add note about new TLE support on powerpc64le.
9429 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9430 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9431 __ununsed1.
9432 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9433 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9434 * sysdeps/powerpc/powerpc32/sysdep.h,
9435 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9436 ABORT_TRANSACTION): Remove macros.
9437 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9438 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9439 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9441 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9442 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9443 usage.
9444 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9445
434d45fd
RL
94462018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9447
9448 [BZ #10425]
9449 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9450 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9451 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9452 which is the same as in it_IT.
9453 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9454 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9455
d90c9b1a
JM
94562018-09-20 Joseph Myers <joseph@codesourcery.com>
9457
7abf97be
JM
9458 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9459 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9460 using MATH_REDIRECT.
9461 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9462 header inclusion.
9463 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9464 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9465 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9466 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9467 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9468 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9469 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9472 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9473 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9474 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9475 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9476 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9477 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9478 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9479 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9481 (ceil): Redirect to __ceil.
9482 (floor): Redirect to __floor.
9483 (trunc): Redirect to __trunc.
9484 (__truncl): Call trunc instead of __trunc.
9485 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9486 Remove macro.
9487 [_ARCH_PWR5X] (__truncf): Likewise.
9488 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9489 trunc functions instead of __trunc variants.
9490 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9491 Likewise.
9492 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9493 Likewise.
9494 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9495 Likewise.
9496 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9497 Likewise.
9498
d90c9b1a
JM
9499 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9500 [__i586__ || __pentium__].
9501 [__i486__]: Handle explicitly.
9502 (HAS_CPUID): Define to 1 if above macros are undefined.
9503 (HAS_I586): Likewise.
9504 (HAS_I686): Likewise.
9505
db9a8ad4
FW
95062018-09-20 Florian Weimer <fweimer@redhat.com>
9507
9508 * misc/tst-gethostid.c: New file.
9509 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9510 (tst-gethostid): Link with -ldl.
9511
1214ba06
MY
95122018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9513
9514 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9515 value from gethostbyname_r.
9516
791b350d
CD
95172018-09-19 Carlos O'Donell <carlos@redhat.com>
9518
9519 * stdlib/tst-setcontext9.c (f1): Rename to...
9520 (f1a): ... this.
9521 (f1b): New function implementing lower half of f1 in alternate stack.
9522
8e6fd2bd
PE
95232018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9524
e1080e7e
PE
9525 Fix mktime localtime offset confusion
9526 [BZ #23603]
9527 * include/time.h (__mktime_internal): The localtime offset is now
9528 of type long int instead of time_t. This is the longstanding type
9529 in glibc, and it is more than enough to represent difference
9530 between localtime and gmtime even if it is 32 bits and time_t is
9531 64. Changing it now will let us avoid an unnecessary change when
9532 time_t is widened to 64 bits on 32-bit platforms.
9533 * time/mktime-internal.h (mktime_offset_t): Now long int.
9534
8e6fd2bd
PE
9535 Merge mktime, timegm from upstream Gnulib
9536 [BZ #23603][BZ #16346]
9537 This fixes some obscure problems with integer overflow.
9538 Although it looks scary, it is almost all a byte-for-byte copy
9539 from Gnulib, and the Gnulib code has been tested reasonably well.
9540 * include/intprops.h: New file, copied from Gnulib.
9541 * include/verify.h, time/mktime-internal.h:
9542 New tiny files, simplified from Gnulib.
9543 * time/mktime.c: Copy from Gnulib. This has the following changes:
9544 Do not include config.h if DEBUG_MKTIME is nonzero.
9545 Include stdbool.h, intprops.h, verify.h.
9546 Include string.h only if needed.
9547 Include stdlib.h on MS-Windows.
9548 Include mktime-internal.h.
9549 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9550 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9551 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9552 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9553 simplify later conditionals; default the others to zero. Use
9554 these conditionals to express only the code needed on the current
9555 platform. In uses of these conditionals, explicitly spell out how
9556 _LIBC affects things, so it’s easier to review from a glibc
9557 viewpoint.
9558 (WRAPV): Remove; no longer needed now that we have
9559 systematic overflow checking.
9560 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9561 compartmentalize tzset issues. Move system-dependent tzsettish
9562 code here from mktime.
9563 (verify): Remove; now done by verify.h. All uses changed.
9564 (long_int): Use a more-conservative definition, to avoid
9565 integer overflow.
9566 (SHR): Remove, replacing with ...
9567 (shr): New function, which means we needn’t worry about side
9568 effects in args, and conversion analysis is simpler.
9569 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9570 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9571 (time_t_avg, time_t_add_ok): Remove.
9572 (mktime_min, mktime_max): New constants.
9573 (leapyear, isdst_differ): Use bool for booleans.
9574 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9575 Use long_int, not time_t, for mktime differences.
9576 (long_int_avg): New function, replacing time_t_avg.
9577 INT_ADD_WRAPV replaces time_t_add_ok.
9578 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9579 All uses changed.
9580 (convert_time): New function.
9581 (ranged_convert): Use it.
9582 (__mktime_internal): Last arg now points to mktime_offset_t, not
9583 time_t. All uses changed. This is a no-op on glibc, where
9584 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9585 offset guess. Directly check for integer overflow instead of
9586 using a heuristic that works only 99.9...% of the time.
9587 Access *OFFSET only once, to avoid an unlikely race if the
9588 compiler delays a load and if this cascades into a signed integer
9589 overflow.
9590 (mktime): Move tzsettish code to my_tzset, and move
9591 localtime_offset to within mktime so that it doesn’t
9592 need a separate ifdef.
9593 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9594 instead of localtime.
9595 * time/timegm.c: Copy from Gnulib. This has the following changes:
9596 Include mktime-internal.h.
9597 [!_LIBC]: Include config.h and time.h. Do not include
9598 timegm.h or time_r.h. Make __mktime_internal a macro,
9599 and include mktime-internal.h to get its declaration.
9600 (timegm): Temporary is now mktime_offset_t, not time_t.
9601 This affects only Gnulib.
9602
83a552b0
WD
96032018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9604
9605 [BZ #23637]
9606 * string/test-strstr.c (pr23637): New function.
9607 (test_main): Add tests with longer needles.
9608 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9609 * string/strstr.c (AVAILABLE): Likewise.
9610
d7347278
SN
96112018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9612
9613 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9614
424c4f60
SN
96152018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9616
9617 * NEWS: Mention pow improvements.
9618 * math/Makefile (type-double-routines): Add e_pow_log_data.
9619 * sysdeps/generic/math_private.h (__exp1): Remove.
9620 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9621 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9622 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9623 contraction.
9624 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9625 (exp_inline): Remove.
9626 (__ieee754_exp): Only single double input is handled.
9627 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9628 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9629 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9630 (__pow_log_data): Define.
9631 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9632 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9633 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9634 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9635 contraction.
9636 (CFLAGS-e_pow-fma4.c): Likewise.
9637
e4e4fde5
PE
96382018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9639
dab9c348
PE
9640 Simplify tzfile fstat failure code
9641 [BZ #21716]
9642 * time/tzfile.c (__tzfile_read): Simplify slightly.
9643
e4e4fde5
PE
9644 Fix tzfile low-memory assertion failure
9645 [BZ #21716]
9646 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9647 when registering time zone abbreviations.
9648
50bc59ca
JM
96492018-09-18 Joseph Myers <joseph@codesourcery.com>
9650
d3a43e49
JM
9651 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9652 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9653 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9654 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9655 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9656 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9657 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9658 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9659 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9660
50bc59ca
JM
9661 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9662 __ceil.
9663 (__ceill): Call ceil instead of __ceil.
9664 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9665 __floor.
9666 (__floorl): Call floor instead of __floor.
9667
89983cb3
JM
96682018-09-17 Joseph Myers <joseph@codesourcery.com>
9669
71223ef9
JM
9670 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9671 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9672 using MATH_REDIRECT.
9673 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9674 header inclusion.
9675 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9678 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9679 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9680 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9681 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9682 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9684 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9687 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9688 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9691 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9692 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9693 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9694 Remove macro.
9695 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9696 functions instead of __ceil variants.
9697 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9698 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9699 Likewise.
9700 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9701 Likewise.
9702 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9703 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9704 Likewise.
9705 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9706 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9707
89983cb3
JM
9708 [BZ #21286]
9709 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9710 constant.
9711 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9712 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9713 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9714 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9715 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9716 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9717 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9718 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9719 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9720 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9721 (ILL_BADIADDR): Remove constant.
9722 (TRAP_BRANCH): Likewise.
9723 (TRAP_HWBKPT): Likewise.
9724
e44acb20
JM
97252018-09-14 Joseph Myers <joseph@codesourcery.com>
9726
3f7f1d18
JM
9727 [BZ #23656]
9728 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9729 Remove [_MIPS_SIM = _ABIN32] conditional case.
9730 (struct elf_prpsinfo): Likewise.
9731
d59f3e5e
JM
9732 [BZ #23649]
9733 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9734 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9735 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9736 Likewise.
9737 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9738 elf_prpsinfo): Likewise.
9739 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9740 elf_prpsinfo): Likewise.
9741 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9742 Likewise.
9743
f29b6f17
JM
9744 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9745 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9746 using MATH_REDIRECT.
9747 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9748 header inclusion.
9749 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9750 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9751 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9752 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9755 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9756 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9757 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9759 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9760 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9761 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9762 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9763 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9764 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9765 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9766 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9767 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9769 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9770 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9771 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9772 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9773 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9774 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9775 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9776 __rint variants.
9777 * math/e_scalbf.c (invalid_fn): Likewise.
9778 * math/e_scalbl.c (invalid_fn): Likewise.
9779 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9780 Likewise.
9781 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9782 Likewise.
9783 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9784 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9785 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9786 Likewise.
9787 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9788 Likewise.
9789 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9790 Likewise.
9791 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9792 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9793
e44acb20
JM
9794 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9795 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9796 New macro.
9797 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9798 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9799 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9800 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9801 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9802 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9803 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9804 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9805 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9806 && !NO_MATH_REDIRECT] (floor): Likewise.
9807 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9808 header inclusion.
9809 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9812 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9813 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9814 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9816 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9821 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9822 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9823 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9824 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9825 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9826 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9827 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9828 Remove macro.
9829 [_ARCH_PWR5X] (__floorf): Likewise.
9830 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9831 inline function.
9832 [__SSE4_1__] (__floorf): Likewise.
9833 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9834 instead of __floor variants.
9835 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9836 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9837 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9838 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9839 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9840 * math/w_tgamma_compat.c (__tgamma): Likewise.
9841 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9842 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9843 * math/w_tgammal_compat.c (__tgammal): Likewise.
9844 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9845 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9846 Likewise.
9847 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9848 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9849 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9850 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9851 Likewise.
9852 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9853 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9854 Likewise.
9855 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9857 Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9860 Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9863 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9864 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9865 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9866 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9867
221e4bab
JM
98682018-09-12 Joseph Myers <joseph@codesourcery.com>
9869
9870 * elf/Makefile (modules-names-tests): New variable.
9871
3e08ff54
SN
98722018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9873
9874 * NEWS: Mention log2 improvements.
9875 * math/Makefile (type-double-routines): Add e_log2_data.
9876 * sysdeps/i386/fpu/e_log2_data.c: New file.
9877 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9878 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9879 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9880 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9881 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9882 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9883
f41b0a43
SN
98842018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9885
9886 * NEWS: Mention log improvement.
9887 * math/Makefile (type-double-routines): Add e_log_data.
9888 * sysdeps/i386/fpu/e_log_data.c: New file.
9889 * sysdeps/ia64/fpu/e_log_data.c: New file.
9890 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9891 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9892 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9893 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9894 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9895 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9896
5a274db4
L
98972018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9898 Xuepeng Guo <xuepeng.guo@intel.com>
9899
9900 [BZ #23606]
9901 * sysdeps/i386/start.S: Include <sysdep.h>
9902 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9903 enabled. Add cfi_undefined (eip).
9904
b1176270
JM
99052018-09-11 Joseph Myers <joseph@codesourcery.com>
9906
4e7fbdd7
JM
9907 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9908 (MOVQ): Likewise.
9909 (EXTRACT_WORDS64): Likewise.
9910 (INSERT_WORDS64): Likewise.
9911 (GET_FLOAT_WORD): Likewise.
9912 (SET_FLOAT_WORD): Likewise.
9913
b1176270
JM
9914 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9915 argument.
9916 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9917 build, but not for second build if --full-gcc. Use
9918 --enable-languages=all for second build if --full-gcc.
9919 (get_parser): Add --full-gcc option.
9920 (main): Update call to Context.
9921
527f355e
RL
99222018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9923
9924 [BZ #10797]
9925 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9926 Single Quotation Mark).
9927 (thousands_sep): Likewise.
9928 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9929 * localedata/locales/it_IT (thousands_sep): Use ".".
9930 (grouping): Use "3;3".
9931
7244f13d
JM
99322018-09-10 Joseph Myers <joseph@codesourcery.com>
9933
9934 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9935 x86_64 and i686 configs using --enable-obsolete-rpc
9936 --enable-obsolete-nsl.
9937
38245425
SL
99382018-09-06 Stefan Liebler <stli@linux.ibm.com>
9939
9940 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9941
28669f86
SL
99422018-09-06 Stefan Liebler <stli@linux.ibm.com>
9943
9944 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9945 Increment size of new_argv by one.
9946
a33650d1
RL
99472018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9948
9949 [BZ #17426]
9950 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9951 * localedata/locales/ar_IN (d_fmt): Likewise.
9952 * localedata/locales/bhb_IN (d_fmt): Likewise.
9953 * localedata/locales/bho_IN (d_fmt): Likewise.
9954 * localedata/locales/bn_BD (d_fmt): Likewise.
9955 * localedata/locales/bn_IN (d_fmt): Likewise.
9956 * localedata/locales/doi_IN (d_fmt): Likewise.
9957 * localedata/locales/gu_IN (d_fmt): Likewise.
9958 * localedata/locales/hi_IN (d_fmt): Likewise.
9959 * localedata/locales/hne_IN (d_fmt): Likewise.
9960 * localedata/locales/kn_IN (d_fmt): Likewise.
9961 * localedata/locales/mag_IN (d_fmt): Likewise.
9962 * localedata/locales/mai_IN (d_fmt): Likewise.
9963 * localedata/locales/mjw_IN (d_fmt): Likewise.
9964 * localedata/locales/ml_IN (d_fmt): Likewise.
9965 * localedata/locales/mni_IN (d_fmt): Likewise.
9966 * localedata/locales/mr_IN (d_fmt): Likewise.
9967 * localedata/locales/pa_IN (d_fmt): Likewise.
9968 * localedata/locales/raj_IN (d_fmt): Likewise.
9969 * localedata/locales/sat_IN (d_fmt): Likewise.
9970 * localedata/locales/sd_IN (d_fmt): Likewise.
9971 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9972 * localedata/locales/ta_IN (d_fmt): Likewise.
9973 * localedata/locales/ta_LK (d_fmt): Likewise.
9974 * localedata/locales/tcy_IN (d_fmt): Likewise.
9975 * localedata/locales/ur_IN (d_fmt): Likewise.
9976
9977 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9978 * localedata/locales/ks_IN (d_fmt): Likewise.
9979 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9980
9981 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9982 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9983 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9984 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9985
d114e6a7
SN
99862018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9987
9988 * NEWS: Mention exp and exp2 improvements.
9989 * math/Makefile (libm-support): Remove t_exp.
9990 (type-double-routines): Add math_err and e_exp_data.
9991 * sysdeps/aarch64/libm-test-ulps: Update.
9992 * sysdeps/arm/libm-test-ulps: Update.
9993 * sysdeps/i386/fpu/e_exp_data.c: New file.
9994 * sysdeps/i386/fpu/math_err.c: New file.
9995 * sysdeps/i386/fpu/t_exp.c: Remove.
9996 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9997 * sysdeps/ia64/fpu/math_err.c: New file.
9998 * sysdeps/ia64/fpu/t_exp.c: Remove.
9999 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
10000 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
10001 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
10002 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
10003 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
10004 * sysdeps/ieee754/dbl-64/math_config.h: New file.
10005 * sysdeps/ieee754/dbl-64/math_err.c: New file.
10006 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
10007 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
10008 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
10009 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
10010 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
10011 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
10012 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
10013 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10014 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10015
b9d8c474
JM
100162018-09-05 Joseph Myers <joseph@codesourcery.com>
10017
b7cdc2ae
JM
10018 * sysdeps/alpha/fpu/math_private.h: Remove.
10019
b9d8c474
JM
10020 * sysdeps/generic/math_private.h
10021 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
10022 Move this inline function ....
10023 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
10024 * include/math.h [!_ISOMAC]: To here....
10025
418d99e6
JM
100262018-09-04 Joseph Myers <joseph@codesourcery.com>
10027
10028 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
10029 code ....
10030 [!FE_HAVE_ROUNDING_MODES]: And this code ....
10031 * include/fenv.h [!_ISOMAC]: ... to here.
10032 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
10033 (feraiseexcept): Likewise.
10034 * math/fromfp.h: Do not include <fenv_private.h>.
10035 * math/s_cexp_template.c: Likewise.
10036 * math/s_csin_template.c: Likewise.
10037 * math/s_csinh_template.c: Likewise.
10038 * math/s_ctan_template.c: Likewise.
10039 * math/s_ctanh_template.c: Likewise.
10040 * math/s_iseqsig_template.c: Likewise.
10041 * math/w_acos_compat.c: Likewise.
10042 * math/w_acosf_compat.c: Likewise.
10043 * math/w_acosl_compat.c: Likewise.
10044 * math/w_asin_compat.c: Likewise.
10045 * math/w_asinf_compat.c: Likewise.
10046 * math/w_asinl_compat.c: Likewise.
10047 * math/w_j0_compat.c: Likewise.
10048 * math/w_j0f_compat.c: Likewise.
10049 * math/w_j0l_compat.c: Likewise.
10050 * math/w_j1_compat.c: Likewise.
10051 * math/w_j1f_compat.c: Likewise.
10052 * math/w_j1l_compat.c: Likewise.
10053 * math/w_jn_compat.c: Likewise.
10054 * math/w_jnf_compat.c: Likewise.
10055 * math/w_log10_compat.c: Likewise.
10056 * math/w_log10f_compat.c: Likewise.
10057 * math/w_log10l_compat.c: Likewise.
10058 * math/w_log2_compat.c: Likewise.
10059 * math/w_log2f_compat.c: Likewise.
10060 * math/w_log2l_compat.c: Likewise.
10061 * math/w_log_compat.c: Likewise.
10062 * math/w_logf_compat.c: Likewise.
10063 * math/w_logl_compat.c: Likewise.
10064 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10065 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10066 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10069 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10070 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10071 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10072 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10073 * sysdeps/ieee754/k_standardl.c: Likewise.
10074 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10075 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10076 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10077 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10078 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10079 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10080 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10081 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10082 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10083 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10084 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10085 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10086 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10087 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10088 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10089 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10090 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10091 * math/w_ilogb_template.c: Include <fenv.h> instead of
10092 <fenv_private.h>.
10093 * math/w_llogb_template.c: Likewise.
10094 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10095 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10096
70e2ba33
JM
100972018-09-03 Joseph Myers <joseph@codesourcery.com>
10098
10099 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
10100 * math/fromfp.h: Include <fenv_private.h>.
10101 * math/math-narrow.h: Likewise.
10102 * math/s_cexp_template.c: Likewise.
10103 * math/s_csin_template.c: Likewise.
10104 * math/s_csinh_template.c: Likewise.
10105 * math/s_ctan_template.c: Likewise.
10106 * math/s_ctanh_template.c: Likewise.
10107 * math/s_iseqsig_template.c: Likewise.
10108 * math/w_acos_compat.c: Likewise.
10109 * math/w_acosf_compat.c: Likewise.
10110 * math/w_acosl_compat.c: Likewise.
10111 * math/w_asin_compat.c: Likewise.
10112 * math/w_asinf_compat.c: Likewise.
10113 * math/w_asinl_compat.c: Likewise.
10114 * math/w_ilogb_template.c: Likewise.
10115 * math/w_j0_compat.c: Likewise.
10116 * math/w_j0f_compat.c: Likewise.
10117 * math/w_j0l_compat.c: Likewise.
10118 * math/w_j1_compat.c: Likewise.
10119 * math/w_j1f_compat.c: Likewise.
10120 * math/w_j1l_compat.c: Likewise.
10121 * math/w_jn_compat.c: Likewise.
10122 * math/w_jnf_compat.c: Likewise.
10123 * math/w_llogb_template.c: Likewise.
10124 * math/w_log10_compat.c: Likewise.
10125 * math/w_log10f_compat.c: Likewise.
10126 * math/w_log10l_compat.c: Likewise.
10127 * math/w_log2_compat.c: Likewise.
10128 * math/w_log2f_compat.c: Likewise.
10129 * math/w_log2l_compat.c: Likewise.
10130 * math/w_log_compat.c: Likewise.
10131 * math/w_logf_compat.c: Likewise.
10132 * math/w_logl_compat.c: Likewise.
10133 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
10134 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
10135 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
10136 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
10137 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10138 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
10139 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10140 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10141 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10142 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
10143 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10144 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10145 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
10146 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
10147 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10148 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
10149 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
10150 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
10151 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10152 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10153 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
10154 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10156 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10158 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
10159 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
10160 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
10161 * sysdeps/ieee754/float128/float128_private.h: Likewise.
10162 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
10163 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
10164 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
10165 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
10166 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
10167 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
10168 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
10169 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
10170 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
10171 * sysdeps/ieee754/k_standardl.c: Likewise.
10172 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10173 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
10174 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
10175 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
10176 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
10177 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
10178 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
10179 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
10180 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
10181 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
10182 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
10183 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
10184 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
10185 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10186 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
10187 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
10188 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
10189 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
10190 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
10191 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
10192 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
10193 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
10194 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
10195 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
10196 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
10197 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
10198 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
10200 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
10201 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
10202 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
10203 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
10204 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
10205 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
10206 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
10207 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
10208 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
10209 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
10210 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
10211 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
10212 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
10213 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
10214 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
10215 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
10216 * sysdeps/riscv/rvd/s_finite.c: Likewise.
10217 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
10218 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
10219 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
10220 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
10221 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
10222 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
10223 * sysdeps/riscv/rvf/fegetround.c: Likewise.
10224 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
10225 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
10226 * sysdeps/riscv/rvf/fesetround.c: Likewise.
10227 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
10228 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
10229 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
10230 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
10231 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
10232 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
10233 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
10234 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
10235 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
10236 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
10237 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
10238 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
10239 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
10240 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
10241 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
10242 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
10243
a6e8926f
PP
102442018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
10245
10246 [BZ #20271]
10247 * include/stdio.h (__libc_fatal): Mention newline in comment.
10248 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
10249 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
10250 * nscd/initgrcache.c (addinitgroupsX): Likewise.
10251 * nss/nsswitch.c (__nss_next2): Likewise.
10252 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
10253 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
10254 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
10255 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
10256 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
10257 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
10258 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
10259 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
10260 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
10261 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
10262 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
10263 * sysdeps/unix/sysv/linux/netlink_assert_response.c
10264 (__netlink_assert_response): Likewise.
10265
2bbd06bc
JM
102662018-08-31 Joseph Myers <joseph@codesourcery.com>
10267
10268 * conform/glibcconform.py: New file.
10269 * conform/list-header-symbols.py: Likewise.
10270 * conform/list-header-symbols.pl: Remove.
10271 * conform/Makefile (tests-special): Only add linknamespace tests
10272 if [PYTHON].
10273 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
10274
81b9d87b
L
102752018-08-31 H.J. Lu <hongjiu.lu@intel.com>
10276
10277 [BZ #23597]
10278 * support/Makefile (libsupport-routines): Add
10279 support_copy_file_range and xcopy_file_range.
10280 * support/support.h: Include <sys/types.h>.
10281 (support_copy_file_range): New prototype.
10282 * support/support_copy_file_range.c: New file. Copied and
10283 modified from io/copy_file_range-compat.c.
10284 * support/test-container.c (copy_one_file): Call xcopy_file_rang
10285 instead of copy_file_range.
10286 * support/xcopy_file_range.c: New file.
10287 * support/xunistd.h (xcopy_file_range): New prototype.
10288
d330f31a
CD
102892018-08-30 Carlos O'Donell <carlos@redhat.com>
10290
10291 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
10292 xpthread_create and xpthread_join.
10293
2bda273a
FW
102942018-08-30 Florian Weimer <fweimer@redhat.com>
10295
10296 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
10297
3bad2358
SL
102982018-08-30 Stefan Liebler <stli@linux.ibm.com>
10299
10300 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
10301 if malloc fails.
10302
09c12efc
JM
103032018-08-29 Joseph Myers <joseph@codesourcery.com>
10304
10305 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
10306 and minus_oflow as non-finite.
10307
ff6b2450
JM
103082018-08-28 Joseph Myers <joseph@codesourcery.com>
10309
10310 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
10311 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
10312 moved to fenv_private.h except for ...
10313 (TOINT_INTRINSICS): Kept in math_private.h.
10314 (roundtoint): Likewise.
10315 (converttoint): Likewise.
10316 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
10317 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10318 * sysdeps/arm/math_private.h: Remove.
10319 * sysdeps/generic/fenv_private.h: New file. Contents moved from
10320 ....
10321 * sysdeps/generic/math_private.h: ... this file. Include
10322 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
10323 Include <fenv_private.h>. Remove functions and macros moved to
10324 fenv_private.h.
10325 * sysdeps/i386/fpu/math_private.h: Remove.
10326 * sysdeps/mips/math_private.h: Move to ....
10327 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
10328 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10329 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10330 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10331 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10332 * sysdeps/powerpc/fpu/math_private.h: Do not include
10333 <fenv_private.h>.
10334 * sysdeps/riscv/rvf/math_private.h: Move to ....
10335 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10336 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10337 <fenv_private.h>.
10338 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10339 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10340 * sysdeps/sparc/fpu/math_private.h: Remove.
10341 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10342 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10343 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10344 <fenv_private.h>.
10345 * sysdeps/x86_64/fpu/math_private.h: Do not include
10346 <sysdeps/i386/fpu/fenv_private.h>.
10347
761404b7
FW
103482018-08-28 Florian Weimer <fweimer@redhat.com>
10349
10350 [BZ #23578]
10351 * posix/tst-regcomp-truncated.c: New file.
10352 * posix/Makefile (tests): Add it.
10353 (tst-regcomp-truncated.out): Depend on generated locales.
10354
d6c44c3d
FW
103552018-08-28 Florian Weimer <fweimer@redhat.com>
10356
10357 * support/test-container.c (main): Treat unshare failure with
10358 EPERM as an unsupported test.
10359
745664bd
FW
103602018-08-28 Florian Weimer <fweimer@redhat.com>
10361
10362 [BZ #23520]
10363 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10364 * nscd/netgroupcache.c
10365 (addgetnetgrentX): Add tofreep parameter. Do not free
10366 heap-allocated buffer.
10367 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10368 (addgetnetgrentX_ignore): New function.
10369 (addgetnetgrent): Call it.
10370 (readdgetnetgrent): Likewise.
10371
c8dd67e7
RS
103722018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10373
10374 * string/memmem.c: Use memcmp for first match.
10375
5abedf97
RL
103762018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10377
10378 [BZ #17426]
10379 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10380
86de0499
DD
103812018-08-27 DJ Delorie <dj@redhat.com>
10382
10383 * support/Makefile (others): Don't list programs explicitly as a
10384 dependency of "others".
10385
c3ab2110
JM
103862018-08-27 Joseph Myers <joseph@codesourcery.com>
10387
10388 * sysdeps/generic/math-tests-trap-force.h: New file.
10389 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10390 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10391 * sysdeps/powerpc/math-tests.h: Remove file.
10392 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10393
6b5c8607
TS
103942018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10395 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10396
10397 [BZ #23538]
10398 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10399 Update r to include the set wake-request flag if waiters are
10400 remaining after spinning.
10401
4061791f
JM
104022018-08-27 Joseph Myers <joseph@codesourcery.com>
10403
10404 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10405
bc680b33
PE
104062018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10407
761404b7 10408 [BZ #23578]
bc680b33
PE
10409 regex: fix uninitialized memory access
10410 I introduced this bug into gnulib in commit
10411 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10412 eventually it was merged into glibc. The bug was found by
10413 project-repo <bugs@feusi.co> and reported here:
10414 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10415 Diagnosis and draft fix reported by Assaf Gordon here:
10416 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10417 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10418 * posix/regex_internal.c (build_wcs_upper_buffer):
10419 Fix bug when mbrtowc returns 0.
10420
02458a52
CD
104212018-08-24 Carlos O'Donell <carlos@redhat.com>
10422
10423 * po/be.po: Update translation.
10424
acc2842a
DD
104252018-08-24 DJ Delorie <dj@delorie.com>
10426
10427 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10428 $(libunwind).
10429
6c3a8a9d
PP
104302018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10431
b39d961c
TS
10432 [BZ #23400]
10433 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10434 create temporary files in source tree.
6c3a8a9d 10435
895ef79e
JM
104362018-08-24 Joseph Myers <joseph@codesourcery.com>
10437
10438 * sysdeps/generic/math-tests-trap.h: New file.
10439 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10440 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10441 * sysdeps/aarch64/math-tests.h: Remove file.
10442 * sysdeps/arm/math-tests.h: Likewise.
10443 * sysdeps/riscv/math-tests.h: Likewise.
10444 * sysdeps/aarch64/math-tests-trap.h: New file.
10445 * sysdeps/arm/math-tests-trap.h: Likewise.
10446 * sysdeps/riscv/math-tests-trap.h: Likewise.
10447
ca3aac57
WD
104482018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10449
10450 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10451 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10452 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10453 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10454 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10455 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10456 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10457 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10458 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10459 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10460 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10461 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10462 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10463 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10464 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10465 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10466 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10467 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10468
60bcac09
JM
104692018-08-23 Joseph Myers <joseph@codesourcery.com>
10470
10471 * sysdeps/generic/math-tests-exceptions.h: New file.
10472 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10473 (EXCEPTION_TESTS_float): Do not define here.
10474 (EXCEPTION_TESTS_double): Likewise.
10475 (EXCEPTION_TESTS_long_double): Likewise.
10476 (EXCEPTION_TESTS_float128): Likewise.
10477 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10478 Likewise.
10479 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10480 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10481 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10482 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10483 * sysdeps/mips/math-tests.h: Likewise.
10484 * sysdeps/nios2/math-tests.h: Likewise.
10485 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10486 (EXCEPTION_TESTS_float): Do not define here.
10487 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10488 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10489 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10490
3bded567
WD
104912018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10492
10493 * NEWS: Move optimized sinf entry to 2.29.
10494
900fb446
WD
104952018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10496
10497 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10498
561b0bec
DD
104992018-08-22 DJ Delorie <dj@redhat.com>
10500
10501 * Makefile (testroot.pristine): New rules to initialize the
10502 test-in-container "testroot".
10503 * Makerules (all-testsuite): Add tests-container.
10504 * Rules (tests-expected): Add tests-container.
10505 (binaries-all-tests): Likewise.
10506 (tests-container): New, run these tests in the testroot container.
10507 * support/Makefile (others): Add *-container, support_paths.c,
10508 xmkdirp, and links-dso-program.
10509 * support/links-dso-program-c.c: New.
10510 * support/links-dso-program.cc: New.
10511 * support/test-container.c: New.
10512 * support/shell-container.c: New.
10513 * support/echo-container.c: New.
10514 * support/true-container.c: New.
10515 * support/xmkdirp.c: New.
10516 * support/xsymlink.c: New.
10517 * support/support_paths.c: New.
10518 * support/support.h: Add support paths prototypes.
10519 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10520
10521 * nss/tst-nss-test3.c: Convert to test-in-container.
10522 * nss/tst-nss-test3.root/: New.
10523
b35d3509
PE
105242018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10525
10526 regex: port Gnulib code to z/OS POSIX environment
10527 Problem reported by Arnold Robbins in:
10528 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10529 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10530 Undef.
10531
16a25138
JM
105322018-08-22 Joseph Myers <joseph@codesourcery.com>
10533
debc4c98
JM
10534 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10535 (ROUNDING_TESTS_double): Remove.
10536 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10537 (ROUNDING_TESTS_double): Remove.
10538 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10539 (ROUNDING_TESTS_double): Remove.
10540 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10541 (ROUNDING_TESTS_float): Remove.
10542 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10543 (ROUNDING_TESTS_float): Remove.
10544 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10545 (ROUNDING_TESTS_float): Remove.
10546 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10547 !TEST_MATHVEC here.
10548 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10549 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10550
16a25138
JM
10551 * sysdeps/generic/math-tests-rounding.h: New file.
10552 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10553 (ROUNDING_TESTS_float): Do not define here.
10554 (ROUNDING_TESTS_double): Likewise.
10555 (ROUNDING_TESTS_long_double): Likewise.
10556 (ROUNDING_TESTS_float128): Likewise.
10557 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10558 (ROUNDING_TESTS_double): Undefine before defining.
10559 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10560 (ROUNDING_TESTS_double): Undefine before defining.
10561 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10562 (ROUNDING_TESTS_double): Undefine before defining.
10563 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10564 (ROUNDING_TESTS_float): Undefine before defining.
10565 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10566 (ROUNDING_TESTS_float): Undefine before defining.
10567 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10568 (ROUNDING_TESTS_float): Undefine before defining.
10569 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10570 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10571 not define here.
10572 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10573 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10574 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10575 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10576 (ROUNDING_TESTS_float): Do not define here.
10577 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10578 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10579 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10580 (ROUNDING_TESTS_float): Likewise.
10581 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10582 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10583 * sysdeps/mips/math-tests.h [__mips_soft_float]
10584 (ROUNDING_TESTS_float): Likewise.
10585 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10586 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10587 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10588 (ROUNDING_TESTS_double): Likewise.
10589 (ROUNDING_TESTS_long_double): Likewise.
10590
38b0593e
TK
105912018-08-21 Tobias Klauser <tklauser@distanz.ch>
10592
10593 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10594 (PF_XDP): New macro.
10595 (AF_XDP): New macro.
10596 (SOL_XDP): New macro.
10597
5cd7dbde
JM
105982018-08-21 Joseph Myers <joseph@codesourcery.com>
10599
10600 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10601 (TCP_INQ): Likewise.
10602 (TCP_CM_INQ): Likewise.
10603 (TCP_REPAIR_ON): Likewise.
10604 (TCP_REPAIR_OFF): Likewise.
10605 (TCP_REPAIR_OFF_NO_WP): Likewise.
10606 (struct tcp_zerocopy_receive): New type.
10607
aa42b3db
FW
106082018-08-21 Florian Weimer <fweimer@redhat.com>
10609
10610 * support/support.h (support_descriptor_supports_holes): Declare.
10611 * support/Makefile (libsupport-routines): Add
10612 support_descriptor_supports_holes.
10613 * support/support_descriptor_supports_holes.c: New file.
10614 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10615 and stop testing if holes are not supported.
10616 * io/test-lfs.c (do_prepare): Likewise.
10617 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10618 Likewise.
10619 * timezone/tst-tzset.c (create_tz_file): Likewise.
10620 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10621 variable.
10622 (do_prepare): Set it.
10623 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10624
c7627f41
FW
106252018-08-21 Florian Weimer <fweimer@redhat.com>
10626
10627 [BZ #17248]
10628 * Makeconfig (+cflags): Do not sort (and deduplicate).
10629
ef939d92
FW
106302018-08-21 Florian Weimer <fweimer@redhat.com>
10631
10632 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10633 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10634
88ffb39d
FW
106352018-08-20 Florian Weimer <fweimer@redhat.com>
10636
10637 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10638 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10639
17419540
JM
106402018-08-20 Joseph Myers <joseph@codesourcery.com>
10641
e6edd40d
JM
10642 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10643 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10644 and ssi_arch members.
10645
17419540
JM
10646 * elf/elf.c (NT_VMCOREDD): New macro.
10647 (AT_MINSIGSTKSZ): Likewise.
10648
fa78896b
RS
106492018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10650
10651 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10652 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10653 s_cosf-ppc64 and s_cosf-power8.
10654 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10655 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10656 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10657 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10664 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10665 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10666
86a6c75a
FW
106672018-08-17 Florian Weimer <fweimer@redhat.com>
10668
10669 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10670
35cfefd9
FW
106712018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10672
10673 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10674
6413fcde
FW
106752018-08-16 Florian Weimer <fweimer@redhat.com>
10676
10677 * configure.ac: Add --with-nonshared-cflags option.
10678 * config.make.in (extra-nonshared-cflags): Set variable.
10679 * Makeconfig (CFLAGS-.oS): Use it.
10680 * manual/install.texi (Configuring and compiling): Document
10681 --with-nonshared-cflags.
10682 * configure: Regenerate.
10683 * INSTALL: Likewise.
10684
93a2584c
FW
106852018-08-16 Florian Weimer <fweimer@redhat.com>
10686
10687 * Makeconfig (ASFLAGS): Always append required assembler flags.
10688
f6f275d2 106892018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10690
10691 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10692 (malloc_consolidate): Likewise.
10693
30a17d8c
PC
106942018-08-16 Pochang Chen <johnchen902@gmail.com>
10695
10696 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10697
953a5a4a
SP
106982018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10699
34f86d61
SP
10700 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10701 every strlen call.
10702
953a5a4a
SP
10703 * benchtests/bench-strlen.c: Print performance numbers in json.
10704
7793ad7a
RS
107052018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10706
10707 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10708 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10709 only for little endian.
10710 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10711 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10712 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10713 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10714 Add check for little endian.
10715 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10716 (__strcmp_power9): Add check for little endian.
10717 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10718 Add check for little endian.
10719 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10720 (__strncmp_power9): Add check for little endian.
10721 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10722 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10723 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10724 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10725 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10726
436e4d5b
SP
107272018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10728
10729 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10730 [!STRLEN](STRLEN): Set to __strlen.
10731 * sysdeps/aarch64/multiarch/strlen.c: New file.
10732 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10733 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10734 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10735 (__libc_ifunc_impl_list): Add strlen.
10736 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10737 strlen_generic and strlen_asimd.
10738
126c4e3f
WD
107392018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10740
10741 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10742 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10743 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10744
49acec17
WD
107452018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10746
10747 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10748
fdb16de3
FW
107492018-08-14 Florian Weimer <fweimer@redhat.com>
10750
10751 [BZ #23519]
10752 * include/stdio.h (__vfxprintf): Declare.
10753 * stdio-common/fxprintf.c (__vfxprintf): New function.
10754 (__fxprintf): Call it.
10755 * misc/err.c (convert_and_print): Remove function.
10756 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10757 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10758 * misc/Makefile (tests): Add tst-warn-wide.
10759 * misc/tst-warn-wide.c: New file.
10760
599cf397
WD
107612018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10762 Szabolcs Nagy <szabolcs.nagy@arm.com>
10763
10764 * NEWS: Mention sinf, cosf, sincosf.
10765 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10766 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10767 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10768 constants rather than including generic sincosf.h.
10769 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10770 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10771 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10772 (reduced_cos): Remove.
10773 (sinf_poly): New function.
10774 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10775
e95c6f61
FW
107762018-08-14 Florian Weimer <fweimer@redhat.com>
10777
10778 [BZ #23521]
10779 [BZ #23522]
10780 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10781 processing, bail out if no room, and close the stream before
10782 returning ERANGE.
10783 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10784 (tst-nss-files-alias-leak): Link with libdl.
10785 (tst-nss-files-alias-leak.out): Depend on nss_files.
10786
10787 * nss/tst-nss-files-alias-leak.c: New file.
10788
2d7acfac
FW
107892018-08-14 Florian Weimer <fweimer@redhat.com>
10790
10791 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10792 server_user, stat_user.
10793
f3cd0904
JM
107942018-08-13 Joseph Myers <joseph@codesourcery.com>
10795
17b26500
JM
10796 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10797 version to 4.18.
10798 (io_pgetevents): New syscall.
10799 (rseq): Likewise.
10800
3c1622eb
JM
10801 * manual/install.texi (Configuring and compiling): Do not list
10802 tools used for testing pretty printers here.
10803 (Tools for Compilation): List Python, PExpect and GDB here.
10804 Update descriptions of uses of Perl and Python.
10805 * INSTALL: Regenerate.
10806
f3cd0904
JM
10807 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10808 version to 4.18.
10809
b7b52b9d
FW
108102018-08-13 Florian Weimer <fweimer@redhat.com>
10811
10812 * misc/error.c (error): Add missing va_end call.
10813 (error_at_line): Likewise.
10814
01780188
FW
108152018-08-13 Florian Weimer <fweimer@redhat.com>
10816
10817 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10818
44727aec
SP
108192018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10820
8cac1f26
SP
10821 * benchtests/scripts/benchout.schema.json (properties): Add
10822 new properties.
10823
44727aec
SP
10824 * benchtests/bench-skeleton.c (main): Add duration and
10825 iterations attributes.
10826
c77bf91b
PE
108272018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10828
10829 regex: Gnulib unibyte RRI uses bytes not chars
10830 Adjust the non-glibc code to agree with what Gawk needs for
10831 rational range interpretation (RRI) for regular expression ranges.
10832 In unibyte locales, Gawk wants ranges to use the underlying byte
10833 rather than the character code point. This change does not affect
10834 glibc proper.
10835 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10836 In unibyte locales, use the byte value rather than
10837 running it through btowc.
10838
2ce7ba7d
JM
108392018-08-10 Joseph Myers <joseph@codesourcery.com>
10840
10841 * sysdeps/generic/math-tests-snan.h: New file.
10842 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10843 (SNAN_TESTS_float): Do not define here.
10844 (SNAN_TESTS_double): Likewise.
10845 (SNAN_TESTS_long_double): Likewise.
10846 (SNAN_TESTS_float128): Likewise.
10847 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10848 * sysdeps/i386/fpu/math-tests.h: Remove file.
10849 * sysdeps/ia64/math-tests-snan.h: New file.
10850 * sysdeps/ia64/math-tests.h: Remove file.
10851 * sysdeps/x86/math-tests.h: Likewise.
10852 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10853
ea5c662c
WD
108542018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10855 Szabolcs Nagy <szabolcs.nagy@arm.com>
10856
10857 * math/Makefile: Add s_sincosf_data.c.
10858 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10859 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10860 (sincosf_poly): Likewise.
10861 (reduce_small): Likewise.
10862 (reduce_large): Likewise.
10863 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10864 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10865 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10866 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10867
43cfdf8f
SN
108682018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10869 Szabolcs Nagy <szabolcs.nagy@arm.com>
10870
10871 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10872 (converttoint): Use lround.
10873 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10874 document the semantics when TOINT_INTRINSICS is set.
10875 (converttoint): Likewise.
10876 (TOINT_RINT): Remove.
10877 (TOINT_SHIFT): Remove.
10878 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10879 path.
10880
69065288
FW
108812018-08-10 Florian Weimer <fweimer@redhat.com>
10882
10883 [BZ #23497]
10884 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10885 function.
10886 (__old_getdents64): Use getdents64. Convert entries without
10887 moving them.
10888 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10889 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10890 tst-readdir64-compat.
10891
8f135efc
IL
108922018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10893
10894 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10895 Fix unwind.
10896
71c01af5
IL
108972018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10898
10899 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10900 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10901 code to s390x-mcount.h and #include it.
10902 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10903 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10904 (__fentry__): Add.
10905
8d997d22
IL
109062018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10907
10908 * stdlib/Versions: Remove __fentry__.
10909 * sysdeps/i386/Versions: Add __fentry__.
10910 * sysdeps/x86_64/Versions: Add __fentry__.
10911
69e2444a
IL
109122018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10913
10914 * sysdeps/s390/Makefile: Register the new tests.
10915 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10916 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10917 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10918 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10919 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10920 * sysdeps/s390/tst-dl-runtime.c: New file.
10921
bde6320f
IL
109222018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10923
10924 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10925 Do not clobber R0.
10926
5755f5e4
IL
109272018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10928
10929 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10930 Do not clobber R0.
10931
c8ad8522
IL
109322018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10933
10934 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10935 Do not clobber R0.
10936
b215eee1
IL
109372018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10938
10939 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10940 Do not clobber R0.
10941
329c6fec
IL
109422018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10943
10944 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10945 Use symbolic offsets for stack variables.
10946
0fb7afa2
IL
109472018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10948
10949 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10950 Use symbolic offsets for stack variables.
10951
6954059a
IL
109522018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10953
10954 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10955 Use symbolic offsets for stack variables.
10956
c7099673
IL
109572018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10958
10959 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10960 Use symbolic offsets for stack variables.
10961
2813e41e
JM
109622018-08-09 Joseph Myers <joseph@codesourcery.com>
10963
10964 * math/gen-libm-test.py: New file.
10965 * math/gen-libm-test.pl: Remove.
10966 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10967 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10968 gen-libm-test.pl.
10969 ($(libm-test-c-noauto-obj)): Likewise.
10970 ($(libm-test-c-auto-obj)): Likewise.
10971 ($(libm-test-c-narrow-obj)): Likewise.
10972 (regen-ulps): Likewise.
10973 * math/README.libm-test: Update references to gen-libm-test.pl.
10974 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10975 referencing gen-libm-test.pl.
10976 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10977 * math/libm-test-support.c: Likewise.
10978 * math/libm-test-support.h: Likewise.
10979 * sysdeps/generic/libm-test-ulps: Likewise.
10980
be64b194
SP
109812018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10982
10983 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10984 Fix value.
10985
140137fb
JM
109862018-08-08 Joseph Myers <joseph@codesourcery.com>
10987
10988 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10989 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10990
b5403eca
ST
109912018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10992
10993 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10994 symbols.
8ac0f9e6
ST
10995 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10996 __pthread_setspecific): Add hidden proto.
10997 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10998 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10999
014efdd7
SP
110002018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
11001
11002 * benchtests/bench-string.h (buf1_size, buf2_size): New
11003 variables.
11004 (init_sizes): New function.
11005 (test_init): Use it.
11006 (alloc_buf, exit_error): New functions.
11007 (alloc_bufs): Use ALLOC_BUF.
11008 (realloc_bufs): Remove.
11009 * benchtests/bench-memcmp.c (do_test): Adjust.
11010 * benchtests/bench-memset-large.c (do_test): Likewise.
11011 * benchtests/bench-memset-walk.c (do_test): Likewise.
11012 * benchtests/bench-memset.c (do_test): Likewise.
11013 * benchtests/bench-strncmp.c (do_test): Likewise.
11014
92a4cba7
AS
110152018-08-06 Andreas Schwab <schwab@suse.de>
11016
11017 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
11018 of CONST_THREAD_AREA.
11019
fb4c32ae
L
110202018-08-06 H.J. Lu <hongjiu.lu@intel.com>
11021
11022 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
11023 (STATE_SAVE_MASK): Likewise.
11024 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
11025 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
11026 (STATE_SAVE_MASK): Likewise.
11027 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
11028 instead of <cpu-features.h>.
11029
bf418187
DD
110302018-08-03 DJ Delorie <dj@redhat.com>
11031
11032 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 11033 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 11034
bb17621a
DD
11035 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
11036
ea705eb5
JM
110372018-08-03 Joseph Myers <joseph@codesourcery.com>
11038
11039 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
11040 after TEST_* calls.
11041 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
11042 * math/libm-test-logb.inc (logb_test_data): Likewise.
11043
284f42bc
WD
110442018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
11045
11046 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
11047 * string/strstr.c (AVAILABLE): Likewise.
11048
430388d5
L
110492018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11050
11051 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
11052 <init-arch.h>.
11053 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
11054 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
11055 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
11056
c5760aa9
CD
110572018-08-03 Carlos O'Donell <carlos@redhat.com>
11058
11059 * po/be.po: Update translation.
11060
6b535b84
CD
11061 * po/be.po: Update translation.
11062
ae67f2e5
L
110632018-08-03 H.J. Lu <hongjiu.lu@intel.com>
11064
11065 * sysdeps/x86/cpu-features-offsets.sym
11066 (rtld_global_ro_offsetof): Removed.
11067 (CPU_FEATURES_SIZE): Likewise.
11068 (CPUID_OFFSET): Likewise.
11069 (CPUID_SIZE): Likewise.
11070 (CPUID_EAX_OFFSET): Likewise.
11071 (CPUID_EBX_OFFSET): Likewise.
11072 (CPUID_ECX_OFFSET): Likewise.
11073 (CPUID_EDX_OFFSET): Likewise.
11074 (FAMILY_OFFSET): Likewise.
11075 (MODEL_OFFSET): Likewise.
11076 (FEATURE_OFFSET): Likewise.
11077 (FEATURE_SIZ): Likewise.
11078 (COMMON_CPUID_INDEX_1): Likewise.
11079 (COMMON_CPUID_INDEX_7): Likewise.
11080 (FEATURE_INDEX_1): Likewise.
11081 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
11082
6b5c8607 110832018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
11084
11085 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
11086 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
11087 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
11088 (install-locales): Depend on install-locale-archive.
11089 (install-locale-archive): Define.
7b7adbd8 11090 (install-locale-files): Define.
08a5ee14
CD
11091 (build-one-locale): Define macro.
11092 * manual/install.texi (Running make install): Document.
11093 * manual/INSTALL: Regenerate.
11094
525691bd
SP
110952018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
11096
d67d634b
SP
11097 * benchtests/scripts/compare_strings.py: Import traceback.
11098 (parse_file): Pretty-print error.
11099
525691bd
SP
11100 * NEWS: Mention the change.
11101 * elf/dl-tunables.list: Rename tune namespace to cpu.
11102 * sysdeps/powerpc/dl-tunables.list: Likewise.
11103 * sysdeps/x86/dl-tunables.list: Likewise.
11104 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
11105 cpu.name.
11106 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
11107 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
11108 * manual/README.tunables: Likewise.
11109 * manual/tunables.texi: Likewise.
11110 * sysdeps/powerpc/cpu-features.c: Likewise.
11111 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
11112 (init_cpu_features): Likewise.
11113 * sysdeps/x86/cpu-features.c: Likewise.
11114 * sysdeps/x86/cpu-features.h: Likewise.
11115 * sysdeps/x86/cpu-tunables.c: Likewise.
11116 * sysdeps/x86_64/Makefile: Likewise.
11117 * sysdeps/x86/dl-cet.c: Likewise.
11118
506d7fb1
JM
111192018-08-02 Joseph Myers <joseph@codesourcery.com>
11120
11121 [BZ #23479]
11122 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
11123 [__mips_hard_float].
11124 (FE_UNDERFLOW): Likewise.
11125 (FE_OVERFLOW): Likewise.
11126 (FE_DIVBYZERO): Likewise.
11127 (FE_INVALID): Likewise.
11128 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
11129 (FE_TOWARDZERO): Define only if [__mips_hard_float].
11130 (FE_UPWARD): Likewise.
11131 (FE_DOWNWARD): Likewise.
11132 (__FE_UNDEFINED): Define if [!__mips_hard_float]
11133 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
11134 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
11135 [__mips_hard_float].
11136 (FP_ROUNDMODE): Likewise.
11137 (FP_RND_NEAREST): Likewise.
11138 (FP_RND_ZERO): Likewise.
11139 (FP_RND_PINF): Likewise.
11140 (FP_RND_MINF): Likewise.
11141 (FP_EX_INVALID): Likewise.
11142 (FP_EX_OVERFLOW): Likewise.
11143 (FP_EX_UNDERFLOW): Likewise.
11144 (FP_EX_DIVZERO): Likewise.
11145 (FP_EX_INEXACT): Likewise.
11146 (FP_INIT_ROUNDMODE): Likewise.
11147 * sysdeps/mips/nofpu/fesetenv.c: New file.
11148 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
11149
f6dcefbe
JM
111502018-08-01 Joseph Myers <joseph@codesourcery.com>
11151
11152 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
11153 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
11154 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
11155 conditional on [FE_UPWARD].
11156
fa67ba06
PE
111572018-08-01 Paul Eggert <eggert@cs.ucla.edu>
11158
11159 regex: fix memory leak in Gnulib
11160 Problem and fix reported by Assaf Gordon in:
11161 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
11162 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
11163 range_ends members too, as they are defined in 'struct
11164 re_charset_t' even if not _LIBC. This affects only Gnulib.
11165
82c80ac2
L
111662018-08-01 H.J. Lu <hongjiu.lu@intel.com>
11167
11168 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
11169 ...
11170 (get_common_indices): This.
11171 (init_cpu_features): Updated.
11172
c0e7e2c1
JM
111732018-08-01 Joseph Myers <joseph@codesourcery.com>
11174
46f8cf57
JM
11175 * sysdeps/generic/math-tests-snan-payload.h: New file.
11176 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
11177 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
11178 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
11179 * sysdeps/generic/math-tests.h: Include
11180 <math-tests-snan-payload.h>.
11181 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11182 * sysdeps/hppa/math-tests.h: Remove file.
11183 * sysdeps/mips/math-tests.h [!__mips_nan2008]
11184 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
11185 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
11186 Likewise.
11187
c0e7e2c1
JM
11188 * sysdeps/generic/math-tests-snan-cast.h: New file.
11189 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
11190 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
11191 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
11192 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
11193
74939c83
CD
111942018-08-01 Carlos O'Donel <carlos@redhat.com>
11195
b029723b
CD
11196 * version.h (RELEASE): Set to "development".
11197 (VERSION): Set to "2.28.9000".
11198 * NEWS (2.29): New section.
11199
3c03baca
CD
11200 * version.h (RELEASE): Set to "stable".
11201 (VERSION): Set to "2.28".
11202 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
11203 * NEWS: Add the list of bugs fixed in 2.28.
11204
74939c83
CD
11205 * po/ca.po: Update to latest version.
11206 * po/cs.po: Likewise
11207 * po/da.po: Likewise
11208 * po/el.po: Likewise
11209 * po/eo.po: Likewise
11210 * po/es.po: Likewise
11211 * po/fi.po: Likewise
11212 * po/fr.po: Likewise
11213 * po/gl.po: Likewise
11214 * po/hu.po: Likewise
11215 * po/ia.po: Likewise
11216 * po/id.po: Likewise
11217 * po/it.po: Likewise
11218 * po/ja.po: Likewise
11219 * po/ko.po: Likewise
11220 * po/lt.po: Likewise
11221 * po/nb.po: Likewise
11222 * po/nl.po: Likewise
11223 * po/pt_BR.po: Likewise
11224 * po/ru.po: Likewise
11225 * po/rw.po: Likewise
11226 * po/sk.po: Likewise
11227 * po/sl.po: Likewise
11228 * po/tr.po: Likewise
11229 * po/zh_CN.po: Likewise
11230 * po/zh_TW.po: Likewise
11231
d4b54bdf
ST
112322018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
11233
11234 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
11235 initialization...
11236 (init): ... before initializing libpthread.
11237
42fc12ef
ST
11238 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
11239 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
11240 (__mach_setup_tls): ... new function.
11241 (mach_setup_tls): New alias.
11242 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
11243 __mach_setup_thread.
11244 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
11245 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
11246 * mach/Versions [libc] (mach_setup_tls): Add symbol.
11247 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
11248
6cca855e
CD
112492018-07-31 Carlos O'Donell <carlos@redhat.com>
11250
f650932b
CD
11251 * manual/install.texi: Update versions.
11252 * INSTALL: Regenerate.
11253
6cca855e
CD
11254 * manual/contrib.texi (Contributors): Update contributions.
11255
07fdea47
CD
112562018-07-31 Carlos O'Donell <carlos@redhat.com>
11257
11258 * po/be.po: Update translations.
11259
63d5fad4
AZ
112602018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11261
11262 * sysdeps/sh/libm-test-ulps: Update.
11263
1ff712a6
CD
112642018-07-30 Carlos O'Donell <carlos@redhat.com>
11265
11266 * po/bg.po: Update translations.
11267 * po/de.po: Likewise.
11268 * po/hr.po: Likewise.
11269 * po/pt_BR.po: Likewise.
11270 * po/sv.po: Likewise.
11271 * po/vi.po: Likewise.
11272
98864ed0
L
112732018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11274
11275 [BZ #23467]
11276 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11277 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
11278 (CFLAGS-tst-cet-property-1.o): New.
11279 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
11280 ($(objpfx)tst-cet-property-2): Likewise.
11281 ($(objpfx)tst-cet-property-2.out): Likewise.
11282 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
11283 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
11284 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
11285 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
11286 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
11287
c92a00d8
L
112882018-07-30 H.J. Lu <hongjiu.lu@intel.com>
11289
11290 [BZ #23458]
11291 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
11292
99bc6241
ST
112932018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
11294
11295 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
11296 __sbrk): Do not set attribute_hidden.
af86087f 11297 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
11298 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11299 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
11300
bcb1c4af
CD
113012018-07-27 Carlos O'Donell <carlos@redhat.com>
11302
11303 * po/uk.po: Update translations.
11304 * po/cs.po: Likewise.
11305 * po/pl.po: Likewise.
11306
4591b7db
L
113072018-07-27 H.J. Lu <hongjiu.lu@intel.com>
11308
11309 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
11310 parse beyond the note end.
11311
2c6da2f4
AZ
113122018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11313
11314 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
11315 kernel does not support OFD locks.
11316 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
11317
20365a31
ST
113182018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
11319
11320 * sysdeps/mach/hurd/Versions (libc): Make __access and
11321 __access_noerrno external so they can override the ld symbols.
11322 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
11323 __writev, __open64, __access_noerrno extern so they can be overrided.
11324 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
11325 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
11326
cb1a43db
CD
113272018-07-26 Carlos O'Donell <carlos@redhat.com>
11328
11329 * po/libc.pot: Regenerate.
11330
74759ae5
JM
113312018-07-26 Joseph Myers <joseph@codesourcery.com>
11332
11333 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11334
da80612d
L
113352018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11336
11337 [BZ #23459]
11338 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11339 function.
11340 (init_cpu_features): Call get_extended_indices for both Intel
11341 and AMD CPUs.
11342 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11343 Remove "for AMD" comment.
11344
65d87ade
L
113452018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11346
11347 [BZ # 23456]
11348 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11349 COMMON_CPUID_INDEX_80000001.
11350
c9dc4d51
SL
113512018-07-26 Stefan Liebler <stli@linux.ibm.com>
11352
11353 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11354 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11355
cfba5dbb
FW
113562018-07-26 Florian Weimer <fweimer@redhat.com>
11357
11358 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11359 aliases for symbols not in the implementation namespace.
11360
6b5c8607 113612018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11362
11363 [BZ #23393]
11364 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11365 lowercase in LATIN script.
11366 * localedata/Makefile (test-input): Add en_US.UTF-8.
11367 * localedata/en_US.UTF-8.in: New file.
11368 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11369 and restore old tests.
11370 * posix/tst-regexloc.c (do_test): Add back range expression test.
11371
3fb455b3
L
113722018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11373
11374 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11375
d6499b70
AZ
113762018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11377
11378 * nptl/threads.h: Move to ...
11379 * sysdeps/nptl/threads.h: ... here.
11380 * sysdeps/hurd/stdc-predef.h: New file.
11381
08ac6bed
L
113822018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11383
11384 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11385 tst-cet-setcontext-1 if CET is enabled.
11386 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11387 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11388
9faaf938
AZ
113892018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11390
11391 * include/threads.h: Move to ...
11392 * sysdeps/nptl/threads.h: ... here.
11393 * sysdeps/htl/threads.h: New file.
11394 * conform/Makefile (linknamespace-libs-ISO11): Use
11395 static-thread-library instead of linking libpthread.
11396 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11397
d6b8f847
FW
113982018-07-25 Florian Weimer <fweimer@redhat.com>
11399
11400 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11401 nanoseconds into seconds.
11402 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11403 (do_test): Likewise.
11404 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11405 (do_test): Likewise. Avoid nanosecond overflow and spurious
11406 timeouts due to system load.
11407 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11408 (child_wait): Increment it.
11409 (do_test): Wait as long as necessary until all expected threads
11410 have arrived.
11411
25123a1c
L
114122018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11413 H.J. Lu <hongjiu.lu@intel.com>
11414
11415 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11416 __ssp.
11417 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11418 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11419 (__push___start_context): New.
11420 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11421 <asm/prctl.h>.
11422 (__getcontext): Record the current shadow stack base. Save the
11423 caller's shadow stack pointer and base.
11424 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11425 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11426 (__push___start_context): New prototype.
11427 (__makecontext): Call __push___start_context to allocate a new
11428 shadow stack, push __start_context onto the new stack as well
11429 as the new shadow stack.
11430 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11431 <asm/prctl.h>.
11432 (__setcontext): Restore the target shadow stack.
11433 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11434 <asm/prctl.h>.
11435 (__swapcontext): Record the current shadow stack base. Save
11436 the caller's shadow stack pointer and base. Restore the target
11437 shadow stack.
11438 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11439 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11440 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11441
375a4844
L
114422018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11443
11444 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11445 tst-setcontext8 and tst-setcontext9.
11446 * stdlib/tst-setcontext6.c: New file.
11447 * stdlib/tst-setcontext7.c: Likewise.
11448 * stdlib/tst-setcontext8.c: Likewise.
11449 * stdlib/tst-setcontext9.c: Likewise.
11450
bd4f7903
L
114512018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11452
11453 * stdlib/Makefile ((tests): Add tst-setcontext5.
11454 * stdlib/tst-setcontext5.c: New file.
11455
7e28f203
L
114562018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11457
11458 * stdlib/Makefile (tests): Add tst-setcontext4.
11459 * stdlib/tst-setcontext4.c: New file.
11460
8516ad2d
L
114612018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11462
11463 * stdlib/Makefile (tests): Add tst-swapcontext1.
11464 * stdlib/tst-swapcontext1.c: New test.
11465
fddcd003
L
114662018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11467
11468 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11469 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11470 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11471 and tst-cet-legacy-4c.
11472 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11473 and tst-cet-legacy-mod-4.
11474 (CFLAGS-tst-cet-legacy-2.c): New.
11475 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11476 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11477 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11478 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11479 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11480 ($(objpfx)tst-cet-legacy-1): Likewise.
11481 ($(objpfx)tst-cet-legacy-2): Likewise.
11482 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11483 ($(objpfx)tst-cet-legacy-2a): Likewise.
11484 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11485 ($(objpfx)tst-cet-legacy-4): Likewise.
11486 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11487 ($(objpfx)tst-cet-legacy-4a): Likewise.
11488 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11489 (tst-cet-legacy-4a-ENV): Likewise.
11490 ($(objpfx)tst-cet-legacy-4b): Likewise.
11491 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11492 (tst-cet-legacy-4b-ENV): Likewise.
11493 ($(objpfx)tst-cet-legacy-4c): Likewise.
11494 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11495 (tst-cet-legacy-4c-ENV): Likewise.
11496 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11497 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11498 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11499 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11500 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11501 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11502 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11503 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11504 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11505 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11506 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11507
9aa3113a
L
115082018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11509
11510 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11511 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11512 with ssp_base.
11513 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11514 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11515 with ssp_base.
11516
9c79cec8
AS
115172018-07-25 Andreas Schwab <schwab@suse.de>
11518
11519 [BZ #23442]
11520 * locale/weightwc.h (findidx): Handle the case where usrc is a
11521 prefix of cp but one character too short.
11522
969c3355
AZ
115232018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11524
11525 * NEWS: Add ISO C threads addition.
11526
e0f9c462
FW
115272018-07-24 Florian Weimer <fweimer@redhat.com>
11528
11529 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11530 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11531 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11532 4.13.
11533
394df381
L
115342018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11535
11536 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11537 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11538 <sys/prctl.h> and <asm/prctl.h>.
11539 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11540 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11541 and <asm/prctl.h>.
11542 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11543 ARCH_CET_LEGACY_BITMAP.
11544 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11545 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11546 * sysdeps/x86/libc-start.c: Include <startup.h>.
11547
46545530
FW
115482018-07-24 Florian Weimer <fweimer@redhat.com>
11549
11550 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11551 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11552
6b5c8607 115532018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11554 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11555 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11556
11557 [BZ #14092]
9d0a979e
RJ
11558 * manual/debug.texi: Update adjacent chapter name.
11559 * manual/probes.texi: Likewise.
11560 * manual/threads.texi (ISO C Threads): New section.
11561 (POSIX Threads): Convert to a section.
11562
115632018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11564 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11565
11566 [BZ# 14092]
0a07288b
AZ
11567 * nptl/Makefile (tests): Add new test files.
11568 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11569 * nptl/tst-cnd-basic.c: Likewise.
11570 * nptl/tst-cnd-broadcast.c: Likewise.
11571 * nptl/tst-cnd-timedwait.c: Likewise.
11572 * nptl/tst-mtx-basic.c: Likewise.
11573 * nptl/tst-mtx-recursive.c: Likewise.
11574 * nptl/tst-mtx-timedlock.c: Likewise.
11575 * nptl/tst-mtx-trylock.c: Likewise.
11576 * nptl/tst-thrd-basic.c: Likewise.
11577 * nptl/tst-thrd-detach.c: Likewise.
11578 * nptl/tst-thrd-sleep.c: Likewise.
11579 * nptl/tst-tss-basic.c: Likewise.
11580
ce7528f6
AZ
115812018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11582
c6dd669b
AZ
11583 [BZ #14092]
11584 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11585 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11586 symbols.
11587 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11588 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11589 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11590 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11591 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11592 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11593 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11594 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11595 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11596 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11597 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11598 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11602 Likewise.
11603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11606 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11607 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11608 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11609 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11610 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11611 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11612 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11613 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11614 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11615 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11616 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11617 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11618 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11619 Likewise.
11620 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11621 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11622 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11623 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11624 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11625 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11626 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11627 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11628 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11629 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11630 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11631 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11632 ikewise.
11633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11635 Likewise.
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11637 Likewise.
11638 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11639 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11640 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11641 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11642 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11643 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11644 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11645 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11646
78d40132
AZ
11647 [BZ #14092]
11648 * conform/data/threads.h-data (thread_local): New macro.
11649 (TSS_DTOR_ITERATIONS): Likewise.
11650 (tss_t): New type.
11651 (tss_dtor_t): Likewise.
11652 (tss_create): New function.
11653 (tss_get): Likewise.
11654 (tss_set): Likewise.
11655 (tss_delete): Likewise.
11656 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11657 tss_get, and tss_set objects.
11658 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11659 * nptl/tss_create.c: New file.
11660 * nptl/tss_delete.c: Likewise.
11661 * nptl/tss_get.c: Likewise.
11662 * nptl/tss_set.c: Likewise.
11663 * sysdeps/nptl/threads.h (thread_local): New define.
11664 (TSS_DTOR_ITERATIONS): Likewise.
11665 (tss_t): New typedef.
11666 (tss_dtor_t): Likewise.
11667 (tss_create): New prototype.
11668 (tss_get): Likewise.
11669 (tss_set): Likewise.
11670 (tss_delete): Likewise.
11671
918311a3
AZ
11672 [BZ #14092]
11673 * conform/data/threads.h-data (cnd_t): New type.
11674 (cnd_init): New function.
11675 (cnd_signal): Likewise.
11676 (cnd_broadcast): Likewise.
11677 (cnd_wait): Likewise.
11678 (cnd_timedwait): Likewise.
11679 (cnd_destroy): Likewise.
11680 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11681 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11682 object.
11683 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11684 * nptl/cnd_broadcast.c: New file.
11685 * nptl/cnd_destroy.c: Likewise.
11686 * nptl/cnd_init.c: Likewise.
11687 * nptl/cnd_signal.c: Likewise.
11688 * nptl/cnd_timedwait.c: Likewise.
11689 * nptl/cnd_wait.c: Likewise.
11690 * sysdeps/nptl/threads.h (cnd_t): New type.
11691 (cnd_init): New prototype.
11692 (cnd_signa): Likewise.
11693 (cnd_broadcast): Likewise.
11694 (cnd_wait): Likewise.
11695 (cnd_timedwait): Likewise.
11696 (cnd_destroy): Likewise.
11697
3c20a679
AZ
11698 [BZ #14092]
11699 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11700 (once_flag): New type.
11701 (call_once): New function.
11702 * nptl/Makefile (libpthread-routines): Add call_once object.
11703 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11704 * nptl/call_once.c: New file.
11705 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11706 (once_flag): New type.
11707 (call_once): New prototype.
11708
18d59c1b
AZ
11709 [BZ #14092]
11710 * conform/data/threads.h-data (mtx_plain): New constant.
11711 (mtx_recursive): Likewise.
11712 (mtx_timed): Likewise.
11713 (mtx_t): New type.
11714 (mtx_init): New function.
11715 (mtx_lock): Likewise.
11716 (mtx_timedlock): Likewise.
11717 (mtx_trylock): Likewise.
11718 (mtx_unlock): Likewise.
11719 (mtx_destroy): Likewise.
11720 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11721 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11722 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11723 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11724 * nptl/mtx_destroy.c: New file.
11725 * nptl/mtx_init.c: Likewise.
11726 * nptl/mtx_lock.c: Likewise.
11727 * nptl/mtx_timedlock.c: Likewise.
11728 * nptl/mtx_trylock.c: Likewise.
11729 * nptl/mtx_unlock.c: Likewise.
11730 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11731 (mtx_recursive): Likewise.
11732 (mtx_timed): Likewise.
11733 (mtx_t): New type.
11734 (mtx_init): New prototype.
11735 (mtx_lock): Likewise.
11736 (mtx_timedlock): Likewise.
11737 (mtx_trylock): Likewise.
11738 (mtx_unlock): Likewise.
11739 (mtx_destroy): Likewise.
11740
ce7528f6
AZ
11741 [BZ #14092]
11742 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11743 (linknamespace-libs-ISO11): Add libpthread.a.
11744 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11745 functions.
11746 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11747 * nptl/Makefile (headers): Add threads.h.
11748 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11749 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11750 thrd_yield.
11751 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11752 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11753 thrd_join, thrd_sleep, and thrd_yield symbols.
11754 * nptl/descr.h (struct pthread): Add c11 field.
11755 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11756 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11757 routine with expected function prototype.
11758 (__pthread_create_2_1): Add C11 threads check based on attribute
11759 value.
11760 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11761 * nptl/thrd_create.c: New file.
11762 * nptl/thrd_current.c: Likewise.
11763 * nptl/thrd_detach.c: Likewise.
11764 * nptl/thrd_equal.c: Likewise.
11765 * nptl/thrd_exit.c: Likewise.
11766 * nptl/thrd_join.c: Likewise.
11767 * nptl/thrd_priv.h: Likewise.
11768 * nptl/thrd_sleep.c: Likewise.
11769 * nptl/thrd_yield.c: Likewise.
11770 * include/threads.h: Likewise.
11771
e27f41ba
L
117722018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11773
11774 * bits/indirect-return.h: New file.
11775 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11776 * sysdeps/x86/bits/indirect-return.h: Likewise.
11777 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11778 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11779 (swapcontext): Add __INDIRECT_RETURN.
11780 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11781 (prepare_test_buffer): Use it.
11782
21526a50
AS
117832018-07-24 Andreas Schwab <schwab@suse.de>
11784
11785 [BZ #23448]
11786 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11787 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11788
3650e1d9
L
117892018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11790
11791 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11792 Redefine if shadow stack is enabled.
11793 (SYSCALL_ERROR_LABEL): Likewise.
11794 (__vfork): Pop shadow stack and jump back to to caller directly
11795 when shadow stack is in use.
11796 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11797 Redefine if shadow stack is enabled.
11798 (SYSCALL_ERROR_LABEL): Likewise.
11799 (__vfork): Pop shadow stack and jump back to to caller directly
11800 when shadow stack is in use.
11801
ca027e0f
L
118022018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11803
11804 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11805 enabled.
11806 (foo): Likewise.
11807 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11808 (foo): Likewise.
11809
b99f1c95
JM
118102018-07-20 Joseph Myers <joseph@codesourcery.com>
11811
11812 * scripts/build-many-glibcs.py (Context.checkout): Default
11813 binutils version to 2.31 branch.
11814
c8fabb84
ZL
118152018-07-20 Zong Li <zong@andestech.com>
11816
11817 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11818 URL of gcc's tarball.
11819
786658a0
FW
118202018-07-20 Florian Weimer <fweimer@redhat.com>
11821
11822 [BZ #23396]
11823 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11824 not compare an extra byte after the end of the weights.
11825
46f2474e
ST
118262018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11827
11828 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11829 to 1.
8ba1520e
ST
11830 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11831 hidden prototypes.
11832 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11833 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11834 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11835 list of libraries whose stack executability is expected.
11836 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11837 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11838 variable.
11839 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11840 libc.so libpthread.so.
46f2474e 11841
60088242
TS
118422018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11843
11844 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11845 SOCK_NONBLOCK.
75d5e4a0
TS
11846 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11847 and SOCK_NONBLOCK.
de195be0
TS
11848 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11849 implement __pipe2.
11850 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11851
1cf4ae7f
LS
118522018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11853
11854 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11855 library to improve command line parsing.
11856 (__main__): make schema file as optional parameter (--schema),
11857 defaulting to benchtests/scripts/benchout.schema.json.
11858 (main): move out of the parsing stuff to __main_  and leave it
11859 only as caller of main comparison functions.
11860
e84bd851
L
118612018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11862
11863 * NEWS: Add a note for Intel CET status.
11864 * manual/install.texi: Likewise.
11865 * INSTALL: Regenerated.
11866
df467d22
QP
118672018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11868
11869 [BZ #23140]
11870 * localedata/locales/oc_FR (mon): Rename to...
11871 (alt_mon): This, then update October (typo fix).
11872 (mon): New content (genitive case, month names preceded by
11873 "de" or "d’").
11874
11875 [BZ #23422]
11876 * localedata/locales/oc_FR (abday): Update all items.
11877 (day): Update Wednesday and Saturday (typo fixes).
11878 (abmon): Update all items, except May.
11879 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11880 (LC_IDENTIFICATION): Bump the revision number and date.
11881 Keep the "category" entries in alphabetic order.
11882 (LC_ADDRESS): Remove no longer needed comment.
11883 (LC_COLLATE): Use “copy "ca_ES"”.
11884 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11885 "name_mrs".
11886
5c112f1b
JM
118872018-07-18 Joseph Myers <joseph@codesourcery.com>
11888
11889 * grp/tst_fgetgrent.c: Include <unistd.h>.
11890 (main): Use mkstemp instead of tmpnam.
11891 * io/test-utime.c (main): Likewise.
11892 * posix/annexc.c (macrofile): Change to modifiable array.
11893 (main): Remove macrofile here.
11894 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11895 macrofile here.
11896 (check_header): Do not remove macrofile here.
11897 * posix/bug-getopt1.c: Include <stdlib.h>.
11898 (do_test): Use mkstemp instead of tmpnam.
11899 * posix/bug-getopt2.c: Include <stdlib.h>.
11900 (do_test): Use mkstemp instead of tmpnam.
11901 * posix/bug-getopt3.c: Include <stdlib.h>.
11902 (do_test): Use mkstemp instead of tmpnam.
11903 * posix/bug-getopt4.c: Include <stdlib.h>.
11904 (do_test): Use mkstemp instead of tmpnam.
11905 * posix/bug-getopt5.c: Include <stdlib.h>.
11906 (do_test): Use mkstemp instead of tmpnam.
11907 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11908 (main): Use mkstemp instead of tmpnam.
11909 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11910 (main): Use mkstemp instead of tmpnam.
11911 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11912 (main): use mkstemp instead of tmpnam.
11913 * stdlib/isomac.c (macrofile): Change to modifiable array.
11914 (main): Remove macrofile here.
11915 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11916 macrofile here.
11917 (check_header): Do not remove macrofile here.
11918
6d90776d
L
119192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11920
11921 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11922 glibc.tune.x86_shstk.
11923
e6c69509
L
119242018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11925
11926 * NEWS: Mention --enable-cet.
11927 * manual/install.texi: Document --enable-cet.
11928 * INSTALL: Regenerated.
11929
e2d40a88
L
119302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11931
11932 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11933 Add _CET_NOTRACK before indirect jump to jump table.
11934
77a8ae09
L
119352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11936
11937 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11938 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11939 to jump table.
11940
90d15dc5
L
119412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11942
11943 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11944 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11945 to jump table.
11946
f1574581
L
119472018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11948
11949 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11950 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11951 to jump table.
11952
7fb61336
L
119532018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11954
11955 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11956 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11957 to jump table.
11958
0a899af0
L
119592018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11960
11961 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11962 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11963 to jump table.
11964 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11965
177824e2
L
119662018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11967
11968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11969 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11970 to jump table.
11971
00e7b76a
L
119722018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11973
11974 * sysdeps/i386/i686/multiarch/memset-sse2.S
11975 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11976 to jump table.
11977
7e119cd5
L
119782018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11979
11980 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11981 indirect jump to jump table.
11982
03aaf49b
L
119832018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11984
11985 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11986 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11987 to jump table.
11988 (MEMCPY): Likewise.
11989
811e9e52
L
119902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11991
11992 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11993 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11994 to jump table.
11995 (MEMCPY): Likewise.
11996
8817df42
L
119972018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11998
11999 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12000 _CET_NOTRACK before indirect jump to jump table.
12001
921595d1
L
120022018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12003
12004 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
12005 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
12006 to jump table.
12007
4ef60d95
L
120082018-07-18 H.J. Lu <hongjiu.lu@intel.com>
12009
12010 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
12011 indirect jump to jump table.
12012
61c4aad7
VT
120132018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
12014
12015 [BZ #22241]
12016 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
12017 (LOCALES): Likewise.
12018 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
12019 * localedata/locales/sah_RU: New file.
12020 * localedata/sah_RU.UTF-8.in: New file.
12021
be9ccd27
L
120222018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12023
12024 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
12025 "sysdep.h".
12026 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12027 _CET_ENDBR to indirect jump targets and adjust jump destination
12028 for _CET_ENDBR.
12029 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
12030 "sysdep.h".
12031 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
12032 _CET_ENDBR to indirect jump targets and adjust jump destination
12033 for _CET_ENDBR.
12034 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
12035 "sysdep.h".
12036 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
12037 _CET_ENDBR to indirect jump targets and adjust jump destination
12038 for _CET_ENDBR.
12039
5efc6777
L
120402018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12041
12042 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
12043 _CET_ENDBR.
12044
562837c0
L
120452018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12046
12047 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
12048 _CET_ENDBR.
12049 (_dl_tlsdesc_undefweak): Likewise.
12050 (_dl_tlsdesc_dynamic): Likewise.
12051 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
12052 (_dl_tlsdesc_resolve_rel): Likewise.
12053 (_dl_tlsdesc_resolve_rela): Likewise.
12054 (_dl_tlsdesc_resolve_hold): Likewise.
12055 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
12056 (_dl_tlsdesc_undefweak): Likewise.
12057 (_dl_tlsdesc_dynamic): Likewise.
12058 (_dl_tlsdesc_resolve_rela): Likewise.
12059 (_dl_tlsdesc_resolve_hold): Likewise.
12060
124bcde6
L
120612018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12062
12063 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
12064 (_fini): Likewise.
12065 * sysdeps/x86_64/crti.S (_init): Likewise.
12066 (_fini): Likewise.
12067
9145f033
RL
120682018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
12069
12070 [BZ #23140]
12071 * localedata/locales/os_RU (mon): Rename to...
12072 (alt_mon): This.
12073 (mon): Import from CLDR (genitive case).
12074
ba2ea23d
L
120752018-07-17 H.J. Lu <hongjiu.lu@intel.com>
12076
12077 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
12078 cet-tunables.h> when CET is enabled.
12079
f753fa7d
L
120802018-07-16 H.J. Lu <hongjiu.lu@intel.com>
12081
6b5c8607 12082 [BZ #21598]
f753fa7d
L
12083 * configure.ac: Add --enable-cet.
12084 * configure: Regenerated.
12085 * elf/Makefille (all-built-dso): Add a comment.
12086 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
12087 Include <dl-prop.h>.
12088 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
12089 segment.
12090 * elf/dl-open.c: Include <dl-prop.h>.
12091 (dl_open_worker): Call _dl_open_check.
12092 * elf/rtld.c: Include <dl-prop.h>.
12093 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
12094 _rtld_main_check.
12095 * sysdeps/generic/dl-prop.h: New file.
12096 * sysdeps/i386/dl-cet.c: Likewise.
12097 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
12098 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
12099 * sysdeps/x86/cet-tunables.h: Likewise.
12100 * sysdeps/x86/check-cet.awk: Likewise.
12101 * sysdeps/x86/configure: Likewise.
12102 * sysdeps/x86/configure.ac: Likewise.
12103 * sysdeps/x86/dl-cet.c: Likewise.
12104 * sysdeps/x86/dl-procruntime.c: Likewise.
12105 * sysdeps/x86/dl-prop.h: Likewise.
12106 * sysdeps/x86/libc-start.h: Likewise.
12107 * sysdeps/x86/link_map.h: Likewise.
12108 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
12109 _CET_ENDBR.
12110 (_dl_runtime_profile): Likewise.
12111 (_dl_runtime_resolve_shstk): New.
12112 (_dl_runtime_profile_shstk): Likewise.
12113 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
12114 if CET is enabled.
12115 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
12116 (CFLAGS-.os): Likewise.
12117 (CFLAGS-.op): Likewise.
12118 (CFLAGS-.oS): Likewise.
12119 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
12120 is enabled.
12121 (tests-special): Add $(objpfx)check-cet.out.
12122 (cet-built-dso): New.
12123 (+$(cet-built-dso:=.note)): Likewise.
12124 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
12125 ($(objpfx)check-cet.out): New.
12126 (generated): Add check-cet.out.
12127 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
12128 <cet-tunables.h>.
12129 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
12130 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12131 (init_cpu_features): Call get_cet_status to check CET status
12132 and update dl_x86_feature_1 with CET status. Call
12133 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
12134 (set_x86_shstk). Disable and lock CET in libc.a.
12135 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
12136 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
12137 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
12138 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
12139 (_CET_ENDBR): Define if not defined.
12140 (ENTRY): Add _CET_ENDBR.
12141 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
12142 x86_shstk.
12143 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
12144 _CET_ENDBR.
12145 (_dl_runtime_profile): Likewise.
12146
52b2a80f
RA
121472018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
12148
12149 [BZ #21895]
12150 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
12151 restore r2 on longjmp.
12152 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
12153 test list.
12154 Added rules to build test tst-setjmp-bug21895-static.
12155 Added module setjmp-bug21895 and rules to build a shared object from it.
12156 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
12157 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
12158
3ae725df
WD
121592018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
12160
12161 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
12162 * benchtests/bench-strstr.c: Likewise.
12163 * string/memmem.c (FASTSEARCH): Define.
12164 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
12165 Add support for FASTSEARCH.
12166 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
12167 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
12168 (FASTSEARCH): Define.
12169 * string/test-strcasestr.c: Rename __strnlen to strnlen.
12170 * string/test-strstr.c: Likewise.
12171
31e422ca
L
121722018-07-15 H.J. Lu <hongjiu.lu@intel.com>
12173
12174 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
12175 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
12176
faaee1f0
L
121772018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
12178 H.J. Lu <hongjiu.lu@intel.com>
12179
12180 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
12181 (__longjmp): Restore shadow stack pointer if shadow stack is
12182 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12183 isn't defined for __longjmp_cancel.
12184 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
12185 (_setjmp): Save shadow stack pointer if shadow stack is enabled
12186 and SHADOW_STACK_POINTER_OFFSET is defined.
12187 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
12188 (setjmp): Save shadow stack pointer if shadow stack is enabled
12189 and SHADOW_STACK_POINTER_OFFSET is defined.
12190 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
12191 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12192 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12193 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
12194 <jmp_buf-ssp.h>.
12195 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12196 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12197 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
12198 Remove jmp_buf-ssp.sym.
12199 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
12200 <jmp_buf-ssp.h>.
12201 (____longjmp_chk): Restore shadow stack pointer if shadow stack
12202 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12203 * sysdeps/x86/Makefile (gen-as-const-headers): Add
12204 jmp_buf-ssp.sym.
12205 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
12206 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
12207 (__longjmp): Restore shadow stack pointer if shadow stack is
12208 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
12209 isn't defined for __longjmp_cancel.
12210 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
12211 (__sigsetjmp): Save shadow stack pointer if shadow stack is
12212 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
12213
ebff9c5c
L
122142018-07-14 H.J. Lu <hongjiu.lu@intel.com>
12215
12216 [BZ #22563]
12217 * nptl/pthread_create.c: Include <tls-setup.h>.
12218 (__pthread_create_2_1): Call tls_setup_tcbhead.
12219 * sysdeps/generic/tls-setup.h: New file.
12220 * sysdeps/x86/nptl/tls-setup.h: Likewise.
12221 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
12222 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
12223 Likewise.
12224 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
12225 to feature_1.
12226 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
12227 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
12228 (X86_FEATURE_1_SHSTK): Likewise.
12229 (CET_ENABLED): Likewise.
12230 (IBT_ENABLED): Likewise.
12231 (SHSTK_ENABLED): Likewise.
12232
0a83bad2
RL
122332018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
12234
12235 [BZ #23208]
12236 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
12237 (LOCALES): Likewise.
12238 * localedata/dsb_DE.UTF-8.in: New file.
12239 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
12240
046bfed9
FW
122412018-07-12 Florian Weimer <fweimer@redhat.com>
12242
12243 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
12244 __mprotect, not mprotect.
12245
93304f5f
FW
122462018-07-11 Florian Weimer <fweimer@redhat.com>
12247
12248 * io/Makefile (headers): Add bits/statx.h.
12249
4beefeeb
MF
122502018-07-10 Mike FABIAN <mfabian@redhat.com>
12251
12252 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
12253 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
12254 and headers.
12255 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
12256 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
12257 for utf8_gen.py
12258
fd70af45
FW
122592018-07-10 Florian Weimer <fweimer@redhat.com>
12260
12261 * io/Makefile (routines): Add statx.
12262 (tests-internal): Add tst-statx.
12263 * io/Versions (GLIBC_2.28): Export statx.
12264 * io/bits/statx.h: New file.
12265 * io/sys/stat.h [__USE_GNU]: Include it.
12266 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
12267 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
12268 Define.
12269 * io/statx.c: New file.
12270 * io/statx_generic.: Likewise.
12271 * io/tst-statx.: Likewise.
12272 * include/bits/statx.h: Likewise.
12273 * sysdeps/unix/sysv/linux/kernel-features.h
12274 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
12275 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12276 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
12277 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
12278 Undefine.
12279 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12280 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
12281 * sysdeps/unix/sysv/linux/statx.c: New file.
12282 * manual/filesys.texi: Note that statx is undocumented.
12283 * sysdeps/**/libc*.abilist: Update.
12284
b444e8f7
AZ
122852018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12286
12287 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
12288 a kernel issue which lead to test failure in some cases.
12289
7b2f4ced
FW
122902018-07-10 Florian Weimer <fweimer@redhat.com>
12291
12292 [BZ #23036]
12293 * posix/regexec.c (check_node_accept_bytes): When comparing
12294 weights, do not compare an extra byte after the end of the
12295 weights.
12296
4fa34da6
FW
122972018-07-10 Florian Weimer <fweimer@redhat.com>
12298
12299 * libio/readline.c: Fix copyright year.
12300 * libio/tst-readline.c Likewise.
12301 * nss/tst-nss-files-hosts-getent.c: Likewise.
12302
916124ed
FW
123032018-07-06 Florian Weimer <fweimer@redhat.com>
12304
12305 [BZ #18991]
12306 * nss/nss_files/files-XXX.c (internal_getent): Use
12307 __libc_readline_unlocked. Seek back to the start of the line if
12308 parsing failes with ERANGE.
12309 (get_contents_ret, get_contents): Remove.
12310 * nss/tst-nss-files-hosts-getent.c: New file.
12311 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
12312 (tst-nss-files-hosts-getent): Link with -ldl.
12313
3f5e3f5d
FW
123142018-07-06 Florian Weimer <fweimer@redhat.com>
12315
12316 * include/stdio.h (__libc_readline_unlocked): Declare.
12317 (__ftello64, __fseeko64): Declare aliases.
12318 * libio/readline.c: New file.
12319 * libio/tst-readline.c: Likewise.
12320 (routines): Add readline.
12321 (tests-internal): Add tst-readlime.
12322 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
12323 __libc_readline_unlocked.
12324 * libio/fseeko.c (__fseeko): Rename from fseeko.
12325 (fseeko): Add alias.
12326 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
12327 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
12328 (fseeko64): Add alias.
12329 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12330 * libio/ftello64.c (__ftello64): Rename from ftello64.
12331 (ftello64): Add alias.
12332
397c54c1
SN
123332018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12334
12335 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12336 HWCAP_ATOMICS.
12337
d0cd7980
SN
123382018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12339
12340 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12341 Use dl_hwcap without masking.
12342 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12343 Remove HWCAP_CPUID.
12344
ddb3c626
FW
123452018-07-06 Florian Weimer <fweimer@redhat.com>
12346
12347 * conform/conformtest.pl (checknamespace): Escape literal braces
12348 in regular expressions.
12349
bce5911b
AP
123502018-07-06 Amit Pawar <amit.pawar@amd.com>
12351
12352 * sysdeps/x86/cpu-features.c (get_common_indeces):
12353 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12354 * sysdeps/x86/cpu-features.c (init_cpu_features):
12355 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12356
3a885c1f
FW
123572018-07-05 Florian Weimer <fweimer@redhat.com>
12358
12359 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12360 protector.
12361 (CFLAGS-elf-init.oS): Likewise.
12362
38cade0c
FW
123632018-07-05 Florian Weimer <fweimer@redhat.com>
12364 Carlos O'Donell <carlos@redhat.com>
12365
12366 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12367 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12368 with stack protector enabled because there is no risk of infinite
12369 recursion.
12370
9449a295
MR
123712018-07-05 Maciej W. Rozycki <macro@mips.com>
12372
12373 [BZ #19818]
12374 [BZ #23307]
12375 * libc-abis (ABSOLUTE): New ABI.
12376 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12377 * NEWS: Mention the new ABI.
12378
d6da5cb6
FW
123792018-07-05 Florian Weimer <fweimer@redhat.com>
12380
12381 [BZ # 17662]
12382 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12383 (RENAME_WHITEOUT): Define.
12384 [__USE_GNU] (renameat2): Declare.
12385 * stdio-common/Makefile (routines): Add renameat2.
12386 (tests): Add tst-renameat2.
12387 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12388 * stdio-common/renameat2.c: New file.
12389 * stdio-common/tst-renameat2.c: Likewise.
12390 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12391 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12392 undocumented.
12393 * sysdeps/unix/sysv/linux/kernel-features.h
12394 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12395 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12396 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12397 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12398 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12399 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12400 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12401 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12402 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12403 * include/stdio.h (__renameat): Add alias for renameat.
12404 * stdio-common/renameat.c (__renameat): Rename from renameat.
12405 Add hidden definition and alias.
12406 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12407 * sysdeps/mach/hurd/renameat.c: Likewise.
12408 * sysdeps/**/libc*.abilist: Add renameat2.
12409
1002d708
AZ
124102018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12411
12412 * posix/bug-regex33.c: Fix build after regex sync.
12413
34fdb893
CD
124142018-07-04 Carlos O'Donell <carlos@redhat.com>
12415
12416 [BZ #23164]
12417 * localedata/tst-langinfo-setlocale.c: New file.
12418 * localedata/tst-langinfo-setlocale-static.c: New file.
12419 * localedata/tst-langinfo-newlocale.c: New file.
12420 * localedata/tst-langinfo-newlocale-static.c: New file.
12421 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12422 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12423 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12424 (tests-static): Remove tst-langinfo-static. Add
12425 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12426 (tests-special): Remove $(objpfx)tst-langinfo.out,
12427 $(objpfx)tst-langinfo-static.out. Add
12428 $(objpfx)tst-langinfo-setlocale.out,
12429 $(objpfx)tst-langinfo-newlocale.out,
12430 $(objpfx)tst-langinfo-setlocale-static.out,
12431 $(objpfx)tst-langinfo-newlocale-static.out.
12432 ($(objpfx)tst-langinfo.out): Remove.
12433 ($(objpfx)tst-langinfo-static.out): Remove.
12434 ($(objpfx)tst-langinfo-newlocale.out): New target.
12435 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12436 (test-xfail-tst-langinfo-newlocale-static): Add.
12437 ($(objpfx)tst-langinfo-setlocale.out): New target.
12438 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12439 * localedata/tst-langinfo.c: Call test_locale.
12440 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12441 data.
12442
f2873d2d
FW
124432018-07-04 Florian Weimer <fweimer@redhat.com>
12444
12445 testrun.sh: Implement --tool=strace, --tool=valgrind
12446 * Makefile (testrun-script): Define variable.
12447 (testrun.sh): Use variable.
12448 * manual/install.texi (Tools for Compilation): make 4.0 or later
12449 is required.
12450 * configure.ac: Check for make 4.0 or later.
12451 * INSTALL: Regenerate.
12452 * configure: Likewise.
12453
eb04c213
AZ
124542018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12455
12456 [BZ #23233]
12457 [BZ #21163]
12458 [BZ #18986]
12459 [BZ #13762]
12460 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12461 * posix/PCRE.tests: Remove invalid test.
12462 * posix/bug-regex28.c: Fix expected values for used syntax.
12463 * posix/bug-regex37.c: New file.
12464 * posix/bug-regex38.c: Likewise.
12465 * posix/regcomp.c: Sync with gnulib.
12466 * posix/regex.c: Likewise.
12467 * posix/regex.h: Likewise.
12468 * posix/regex_internal.c: Likewise.
12469 * posix/regex_internal.h: Likewise.
12470 * posix/regexec.c: Likewise.
12471
b11643c2
MF
124722018-06-26 Mike FABIAN <mfabian@redhat.com>
12473
12474 [BZ #23308]
12475 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12476 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12477 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12478 * localedata/unicode-gen/PropList.txt: likewise.
12479 * localedata/unicode-gen/UnicodeData.txt: likewise.
12480 * localedata/charmaps/UTF-8: Regenerate.
12481 * localedata/locales/i18n_ctype: likewise.
12482 * localedata/locales/tr_TR: likewise.
12483 * localedata/locales/translit_circle: likewise.
12484 * localedata/locales/translit_cjk_compat: likewise.
12485 * localedata/locales/translit_combining: likewise.
12486 * localedata/locales/translit_compat: likewise.
12487 * localedata/locales/translit_font: likewise.
12488 * localedata/locales/translit_fraction: likewise.
12489
5a357506
FW
124902018-07-03 Florian Weimer <fweimer@redhat.com>
12491
12492 [BZ #23363]
12493 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12494 * stdio-common/tst-printf.sh: Adjust expected output.
12495 * LICENSES: Update.
12496
7279af00
AZ
124972018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12498
12499 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12500 symbol.
12501
b7b88cea
GG
125022018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12503
12504 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12505 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12506 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12507 * stdio-common/tst-printfsz-islongdouble.c: New file.
12508 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12509 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12510 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12511 [subdir == stdio-common] (tests-internal): Add
12512 test-printf-size-ieee128, and test-printf-size-ibm128.
12513 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12514 (CFLAGS-test-printf-size-ibm128.c): New variables.
12515 [subdir == stdio-common] (tests-special): Add
12516 $(objpfx)test-printf-size-ieee128.out and
12517 $(objpfx)test-printf-size-ibm128.out.
12518 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12519 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12520 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12521 __printf_sizeieee128.
12522 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12523 New file.
12524 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12525 Likewise.
12526 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12527 Likewise.
12528
2b445206
SN
125292018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12530
12531 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12532 (exp2f_inline): Likewise.
12533 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12534 (__math_uflowf): Likewise.
12535 (__math_may_uflowf): Likewise.
12536 (__math_divzerof): Likewise.
12537 (__math_invalidf): Likewise.
12538 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12539 (__math_oflowf): Likewise.
12540 (__math_uflowf): Likewise.
12541 (__math_may_uflowf): Likewise.
12542 (__math_divzerof): Likewise.
12543 (__math_invalidf): Likewise.
12544
2827ab99
CD
125452018-06-29 DJ Delorie <dj@redhat.com>
12546 Carlos O'Donell <carlos@redhat.com>
12547
12548 [BZ #23329]
12549 * include/libc-symbols.h: Comment the freeres framework.
12550 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12551 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12552 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12553 * dlfcn/dlerror.c: Include libc-symbols.h
12554 (__dlerror_main_freeres): New function.
12555 * dlfcn/dlfreeres.c: New file.
12556 * dlfcn/sdlfreeres.c: New file.
12557 * include/dlfcn.h: Declare __dlerror_main_freeres.
12558 * malloc/set-freeres.c: Declare __libdl_freeres, and
12559 __libpthread_freeres.
12560 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12561 the releavant libraries are loaded.
12562 * malloc/thread-freeres.c: Add comments.
12563 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12564 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12565 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12566 (__free_stacks): Rename to...
12567 (free_stacks): ...this. Mark static.
12568 (queue_stack): Call free_stacks.
12569 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12570 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12571 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12572 ptr_freeres element from struct.
12573 (pthread_functions): Remove .ptr_freeres from struct initializer.
12574 [SHARED] (nptl_freeres): Remove.
12575 * nptl/nptlfreeres.c: New file.
12576 * nptl/pthreadP.h
12577 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12578 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12579 attribute_hidden.
12580 (__free_stacks): Rename to...
12581 (__nptl_stacks_freeres): ...this.
12582 (__shm_directory_freeres): Declare.
12583 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12584 (__nptl_unwind_freeres): ...this.
12585 * resolv/res-close.c: Add comment.
12586 * resolv/resolv_conf.c: Include libc-symbols.h.
12587 * string/strerror_l.c: Include libc-symbols.h.
12588 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12589 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12590 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12591 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12592
37d3d244
RS
125932018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12594
12595 * stdlib/tst-strfmon_l.c: Add tests for long double.
12596
a1e0c5fa
MW
125972018-06-29 Michael Wolf <milupo@sorbzilla.de>
12598
12599 [BZ #23208]
12600 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12601 * localedata/locales/dsb_DE: New file.
12602
2e0c5de6
RL
126032018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12604
12605 [BZ #23140]
12606 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12607 genitive case).
12608 (alt_mon): New entry, import from CLDR (nominative case).
12609
cdb52c71
SL
126102018-06-29 Sylvain Lesage <severo@rednegra.net>
12611
12612 [BZ #22996]
12613 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12614
ce76a5cb
SP
126152018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12616
0aec4c1d
SP
12617 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12618 Use vector registers.
12619
ce76a5cb
SP
12620 * sysdeps/aarch64/multiarch/memmove_falkor.S
12621 (__memcpy_falkor): Use vector registers.
12622
7e8989d0
MS
126232018-06-29 Martin Sebor <msebor@redhat.com>
12624
12625 * manual/stdio.texi (Customizing Printf): Mention interaction
12626 with GCC built-ins.
12627
bac15a72
MR
126282018-06-29 Maciej W. Rozycki <macro@mips.com>
12629
12630 [BZ #23307]
12631 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12632 `st_value' is 0 if `st_shndx' is SHN_ABS.
12633 * elf/tst-absolute-zero.c: New file.
12634 * elf/tst-absolute-zero-lib.c: New file.
12635 * elf/tst-absolute-zero-lib.lds: New file.
12636 * elf/Makefile (tests): Add `tst-absolute-zero'.
12637 (modules-names): Add `tst-absolute-zero-lib'.
12638 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12639 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12640 ($(objpfx)tst-absolute-zero: New dependency.
12641
e69d994a
ZW
126422018-06-29 Zack Weinberg <zackw@panix.com>
12643
12644 * configure.ac: New command-line option --disable-crypt.
12645 Force --disable-nss-crypt when --disable-crypt is given, with a
12646 warning if it was explicitly enabled.
12647 * configure: Regenerate.
12648 * config.make.in: New boolean substitution variable $(build-crypt).
12649 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12650 when $(build-crypt).
12651 * manual/install.texi: Document --disable-crypt.
12652 * INSTALL: Regenerate.
12653
12654 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12655 which is never set.
12656 * conform/Makefile: Only include libcrypt.a in
12657 linknamespace-libs-xsi and linknamespace-libs-XPG4
12658 when $(build-crypt).
12659 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12660 USE_CRYPT to 1 when $(build-crypt).
12661 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12662 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12663 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12664
841785ba
ZW
126652018-06-29 Zack Weinberg <zackw@panix.com>
12666
12667 * crypt/crypt.h, posix/unistd.h: Update comments and
12668 prototypes for crypt and crypt_r.
12669
12670 * manual/crypt.texi (Cryptographic Functions): New initial
12671 exposition.
12672 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12673 (Unpredictable Bytes): Improve initial exposition. Clarify error
12674 behavior of getentropy and getrandom.
12675 * manual/examples/genpass.c: Generate a salt using getentropy
12676 instead of the current time. Use hash $5$ (SHA-2-256).
12677 * manual/examples/testpass.c: Demonstrate validation against
12678 hashes generated with three different one-way functions.
12679
12680 * manual/intro.texi: crypt.texi does not need an overview
12681 anymore.
12682
12683 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12684 * manual/terminal.texi: Consistently refer to "passphrases"
12685 * instead of "passwords", and to the "user database" instead
12686 * of the "password database".
12687 * manual/users.texi: Similarly. Add notes about how actual
12688 passphrase hashes are now stored in the shadow database.
12689 Remove 20-year-old junk todo note.
12690
6ab902e4
ZW
126912018-06-29 Zack Weinberg <zackw@panix.com>
12692
12693 * manual/crypt.texi: Use a normal top-level @node declaration.
12694 Move most of the introductory text to the 'crypt' section.
12695 Move the example programs below the @deftypefun for 'crypt_r'.
12696 Move the 'getpass' section...
12697 * manual/terminal.texi: ...here.
12698
b10a0acc
ZW
126992018-06-29 Zack Weinberg <zackw@panix.com>
12700 Florian Weimer <fweimer@redhat.com>
12701
12702 * posix/unistd.h: Do not declare encrypt.
12703 (_XOPEN_CRYPT): Remove macro definition.
12704 (crypt): Declare only for _USE_MISC.
12705 * stdlib/stdlib.h: Do not declare setkey.
12706 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12707 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12708
12709 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12710 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12711 into compat symbols. Don't define initial_perm if it's not
12712 going to be used.
12713 * crypt/cert.c: Link explicitly with the expected versions for
12714 setkey and encrypt. If they are not available at all, mark
12715 the test as unsupported.
12716
12717 * sunrpc/des_crypt.c: Unconditionally block linkage with
12718 cbc_crypt and ecb_crypt for new binaries.
12719 * sunrpc/des_soft.c: Unconditionally block linkage with
12720 des_setparity for new binaries.
12721
12722 * manual/crypt.texi: Remove the entire "DES Encryption"
12723 section. Also remove the paragraph talking about FIPS 140-2
12724 from the introduction.
12725 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12726 of libgcrypt for "real" encryption, not DES.
12727 * manual/conf.texi (Constants for Sysconf): Mention that
12728 _XOPEN_CRYPT is no longer impelemented.
12729
12730 * conform/data/unistd.h-data: Remove crypt function declaration.
12731
524d796d
FW
127322018-06-29 Florian Weimer <fweimer@redhat.com>
12733
12734 [BZ #23351]
12735 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12736 (disallow_malloc_check): Remove variable.
12737 (__malloc_check_init): Adjust.
12738 (malloc_set_state): Update comment.
12739 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12740 declarations.
12741
339124ab
RL
127422018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12743
12744 [BZ #23140]
12745 * localedata/locales/ast_ES (mon): Rename to...
12746 (alt_mon): This.
12747 (mon): Import from CLDR (genitive case).
12748
c1f86a33
DA
127492018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12750 Jakub Sitnicki <jkbs@redhat.com>
12751
12752 [BZ #21812]
12753 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12754 on NLM_F_DUMP_INTR.
12755
0b11b649
SN
127562018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12757
12758 * manual/llio.texi: Remove spurious space.
12759
c1c2848b
FW
127602018-06-28 Florian Weimer <fweimer@redhat.com>
12761
12762 [BZ #23349]
12763 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12764 _STRUCT_TIMESPEC.
12765
86a0f561
RS
127662018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12767
12768 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12769 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12770 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12771 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12772 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12773 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12774 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12775
780684eb
MR
127762018-06-27 Maciej W. Rozycki <macro@mips.com>
12777
12778 [BZ #23266]
12779 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12780 Copy and null-terminate entries that are not terminated, in
12781 addition to empty ones.
12782
c49e1822
FW
127832018-06-27 Florian Weimer <fweimer@redhat.com>
12784
12785 [BZ #18023]
b39d961c
TS
12786 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12787 (extend_alloca_account): Remove.
c49e1822
FW
12788 * manual/stdio.texi (Variable Arguments Output): Update comment.
12789
a833e627
JM
127902018-06-27 Joseph Myers <joseph@codesourcery.com>
12791
12792 * nptl/sockperf.c: Remove file.
12793
92d6aa85
FW
127942018-06-27 Florian Weimer <fweimer@redhat.com>
12795
12796 [BZ #18023]
12797 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12798 scratch_buffer instead of extend_alloca.
12799
890c2ced
FW
128002018-06-27 Florian Weimer <fweimer@redhat.com>
12801
12802 [BZ #18023]
12803 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12804 scratch_buffer instead of extend_alloca. Update comments.
12805
4272059d
FW
128062018-06-27 Florian Weimer <fweimer@redhat.com>
12807
12808 [BZ #18023]
12809 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12810 instead of extend_alloca.
12811
27f10a09
JM
128122018-06-26 Joseph Myers <joseph@codesourcery.com>
12813
12814 [BZ #13888]
12815 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12816 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12817 /tmp.
12818 * scripts/test-installation.pl: Put temporary files in build
12819 directory, not /tmp.
12820 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12821 (CFLAGS-bug4.c): Likewise.
12822 (CFLAGS-bug5.c): Likewise.
12823 (CFLAGS-test-fseek.c): Likewise.
12824 (CFLAGS-test-popen.c): Likewise.
12825 (CFLAGS-test_rdwr.c): Likewise.
12826 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12827 /tmp.
12828 * stdio-common/bug4.c (main): Likewise.
12829 * stdio-common/bug5.c (main): Likewise.
12830 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12831 * stdio-common/test-popen.c (do_test): Likewise.
12832 * stdio-common/test_rdwr.c (main): Likewise.
12833
05598a09
PF
128342018-06-26 Patsy Franklin <pfrankli@redhat.com>
12835
12836 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12837 (sem_open): Set sem.newsem.pad to zero for valgrind.
12838
06ab719d
AZ
128392018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12840
12841 [BZ #20251]
12842 * NEWS: Mention fcntl64 addition.
12843 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12844 * login/utmp_file.c: Likewise.
12845 * sysdeps/posix/fdopendir.c: Likewise.
12846 * sysdeps/posix/opendir.c: Likewise.
12847 * sysdeps/unix/pt-fcntl.c: Likewise.
12848 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12849 __fcntl64_nocancel_adjusted): New prototype.
12850 (__fcntl_nocancel_adjusted): Remove prototype.
12851 * io/Makefile (routines): Add fcntl64.
12852 (CFLAGS-fcntl64.c): New rule.
12853 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12854 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12855 * io/fcntl.h (fcntl64): Add prototype and redirect if
12856 __USE_FILE_OFFSET64 is defined.
12857 * io/fcntl64.c: New file.
12858 * manual/llio.text: Add a note for which commands fcntl acts a
12859 cancellation point.
12860 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12861 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12862 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12863 New symbols.
12864 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12865 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12866 non-LFS case.
12867 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12868 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12869 to __fcntl64_nocancel.
12870 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12871 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12872 to __fcntl64_nocancel.
12873 * sysdeps/generic/not-cancel.h: Likewise.
12874 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12875 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12876 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12877 (fcntl64): New symbol.
12878 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12879 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12880 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12883 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12884 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12885 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12886 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12887 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12888 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12889 fcntl64): Likewise.
12890 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12891 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12892 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12893 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12894 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12895 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12896 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12897 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12898 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12900 Likewise.
12901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12902 Likewise.
12903 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12904 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12905 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12906
124e0258
FW
129072018-06-26 Florian Weimer <fweimer@redhat.com>
12908
12909 Run thread shutdown functions in an explicit order.
12910 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12911 definition.
12912 (__libc_thread_freeres): Call thread shutdown functions
12913 explicitly.
12914 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12915 * include/string.h (__strerror_thread_freeres): Declare.
12916 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12917 arena_thread_freeres. No longer static. Remove thread shutdown
12918 hook registration.
12919 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12920 Declare.
12921 * resolv/res-close.c (__res_thread_freeres): Renamed from
12922 res_thread_freeres. No longer static. Remove thread shutdown
12923 hook registration.
12924 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12925 * resolv/resolv_conf.c (freeres): Remove incorrect section
12926 attribute and use libc_freeres_fn.
12927 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12928 strerror_thread_freeres. No longer static. Remove thread
12929 shutdown hook registration.
12930 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12931 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12932 shutdown hook registration.
12933 * Makerules (shlib.lds): Do not provide section boundary symbols
12934 for __libc_thread_subfreeres.
12935 * manual/memory.texi (Basic Allocation): Update comment.
12936
935d920e
FW
129372018-06-26 Florian Weimer <fweimer@redhat.com>
12938
12939 Remove always-defined _RPC_THREAD_SAFE_ macro.
12940 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12941 Do not define _RPC_THREAD_SAFE_.
12942 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12943 conditional.
12944 * sunrpc/clnt_perr.c: Likewise.
12945 * sunrpc/clnt_raw.c: Likewise.
12946 * sunrpc/clnt_simp.c: Likewise.
12947 * sunrpc/key_call.c: Likewise.
12948 * sunrpc/rpc_common.c: Likewise.
12949 * sunrpc/rpc_main.c: Likewise.
12950 * sunrpc/rpc_thread.c: Likewise.
12951 * sunrpc/svc.c: Likewise.
12952 * sunrpc/svc_raw.c: Likewise.
12953 * sunrpc/svc_simple.c: Likewise.
12954 * sumrpc/svcauth_des.c: Likewise.
12955
29055464
FW
129562018-06-26 Florian Weimer <fweimer@redhat.com>
12957
12958 * libio/Makefile (tests-internal): Add tst-vtables,
12959 tst-vtables-interposed.
12960 * libio/tst-vtables.c: New file.
12961 * libio/tst-vtables-common.c: Likewise.
12962 * libio/tst-vtables-interposed.c: Likewise.
12963
5c0202af
FW
129642018-06-26 Florian Weimer <fweimer@redhat.com>
12965
12966 * support/support_test_main.c (support_test_main): Only call
12967 setvbuf if not disables.
12968 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12969 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12970
c402355d
FW
129712018-06-26 Florian Weimer <fweimer@redhat.com>
12972
12973 [BZ #23313]
12974 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12975
43b1048a
FW
129762018-06-25 Florian Weimer <fweimer@redhat.com>
12977
12978 [BZ #18023]
12979 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12980 Use struct scratch_buffer instead of extend_alloca.
12981
1599ed4e
FW
129822018-06-25 Florian Weimer <fweimer@redhat.com>
12983
12984 [BZ #18023]
12985 * nss/getent.c (initgroups_keys): Use dynarray instead of
12986 extend_alloca.
12987
a26fe163
FW
129882018-06-25 Florian Weimer <fweimer@redhat.com>
12989
12990 [BZ #18023]
12991 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12992 Use struct scratch_buffer instead of extend_alloca.
12993
90d9d9ce
FW
129942018-06-25 Florian Weimer <fweimer@redhat.com>
12995
12996 [BZ #18023]
12997 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12998 back to malloc directly, without stack allocations.
12999
6b7b2aba
FW
130002018-06-25 Florian Weimer <fweimer@redhat.com>
13001
13002 [BZ #18023]
13003 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
13004 of extend_alloca.
13005
2f9f0d18
FW
130062018-06-25 Florian Weimer <fweimer@redhat.com>
13007
13008 [BZ #18023]
13009 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
13010 of extend_alloca.
13011 * nscd/hstcache.c (addhstbyX): Likewise.
13012 * nscd/pwdcache.c (addpwbyX): Likewise.
13013 * nscd/servicescache.c (addservbyX): Likewise.
13014
318bad78
FW
130152018-06-25 Florian Weimer <fweimer@redhat.com>
13016
13017 [BZ #18023]
13018 * nscd/connections.c (read_cmdline): New function.
13019 (restart): Use it. Update comment.
13020
189699ab
RL
130212018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13022
13023 [BZ #23140]
13024 * localedata/locales/csb_PL (mon): Rename to...
13025 (alt_mon): This.
13026 (abmon): Rename to...
13027 (ab_alt_mon): This.
13028 (mon): Add with proper genitive forms, copy from Wikipedia.
13029 (abmon): Likewise.
13030
0ea3f13c
RL
130312018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
13032
13033 [BZ #19485]
13034 * localedata/locales/csb_PL (mon): Fix typos:
13035 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
13036 (yesstr): Add, value is "jo".
13037 (nostr): Add, value is "nié".
13038
d93f4ff1
TMQMF
130392018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13040
13041 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
13042 all log1p and significand functions on m680x0.
13043 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
13044 of s_significand.c..
13045 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
13046 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
13047 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
13048 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
13049 s_log1p.c and include it..
13050
f6299d2a
VC
130512018-06-21 Vincent Chen <vincentc@andestech.com>
13052
13053 * elf/elf.h (R_NDS32_NONE): New define.
13054 (R_NDS32_32_RELA): Likewise.
13055 (R_NDS32_COPY): Likewise.
13056 (R_NDS32_GLOB_DAT): Likewise.
13057 (R_NDS32_JUMP_SLOT): Likewise.
13058 (R_NDS32_RELATIVE): Likewise.
13059 (R_NDS32_TLS_TPOFF): Likewise.
13060 (R_NDS32_TLS_DESC): Likewise.
13061
61ab61c2
MW
130622018-06-21 Mark Wielaard <mark@klomp.org>
13063
13064 * elf/elf.h (R_BPF_MAP_FD): Removed.
13065 (R_BPF_64_64, R_BPF_64_32): New.
13066
f496b28e
FW
130672018-06-21 Florian Weimer <fweimer@redhat.com>
13068
13069 [BZ #23253]
13070 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
13071 Renamed from libc_feholdsetround_ctx.
13072 (default_libc_feresetround_ctx): Renamed from
13073 libc_feresetround_ctx.
13074 (default_libc_feholdsetround_noex_ctx): Renamed from
13075 libc_feholdsetround_noex_ctx.
13076 (default_libc_feresetround_noex_ctx): Renamed from
13077 libc_feresetround_noex_ctx.
13078 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
13079 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
13080 forwardning to the old implementations under the new names.
13081 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
13082 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
13083 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
13084 (libc_feresetround_ctx): Forward to default implements for i386
13085 and MATH_SET_BOTH_ROUNDING_MODES.
13086 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
13087 Add -DMATH_SET_BOTH_ROUNDING_MODES.
13088
1760daad
JM
130892018-06-20 Joseph Myers <joseph@codesourcery.com>
13090
99c7adf9
JM
13091 * string/tst-cmp.c: Include <libc-diag.h>.
13092 (strncmp_max): Disable -Wstringop-overflow= around call to
13093 strncmp.
13094 (strncasecmp_max): Disable -Wstringop-overflow= around call to
13095 strncasecmp.
13096
1760daad
JM
13097 * string/bug-strpbrk1.c: Include <libc-diag.h>.
13098 (main): Disable -Wunused-value around call to strpbrk.
13099 * string/bug-strspn1.c: Include <libc-diag.h>.
13100 (main): Disable -Wunused-value around call to strspn.
13101
209ae17c
TMQMF
131022018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13103 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13104
13105 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
13106 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
13107
badba23c
TMQMF
131082018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13109
5e79e029
TMQMF
13110 * math/Makefile (libm-calls): Move s_significandF to...
13111 (gen-libm-calls): ... here.
13112 * math/s_significand_template.c: New file.
13113 * math/s_significand.c: Removed.
13114 * math/s_significandf.c: Removed.
13115 * math/s_significandl.c: Removed.
13116 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
13117 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
13118
badba23c
TMQMF
13119 * math/e_exp2_template.c (declare_mgen_finite_alias,
13120 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
13121 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
13122 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
13123
2d1c89a5
FW
131242018-06-20 Florian Weimer <fweimer@redhat.com>
13125
13126 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
13127
646c2833
JM
131282018-06-19 Joseph Myers <joseph@codesourcery.com>
13129
13130 [BZ #23280]
13131 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
13132 floating-point number to strtod functions rather than possibly
13133 negating result of those functions.
13134 * stdio-common/tst-scanf-round.c: New file.
13135 * stdio-common/Makefile (tests): Add tst-scanf-round.
13136 ($(objpfx)tst-scanf-round): Depend on $(libm).
13137
c77e4dc0
ST
131382018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
13139
13140 * sysdeps/mach/hurd/localplt.data: Move to...
13141 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
13142 R_386_GLOB_DAT like on Linux i386.
13143
91b2f3e5
JM
131442018-06-18 Joseph Myers <joseph@codesourcery.com>
13145
f2857da7
JM
13146 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
13147 (SHM_STAT_ANY): New macro.
13148 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
13149 (SHM_STAT_ANY): Likewise.
13150 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
13151 (SHM_STAT_ANY): Likewise.
13152 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
13153 (SHM_STAT_ANY): Likewise.
13154 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
13155 (SHM_STAT_ANY): Likewise.
13156 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
13157 (SHM_STAT_ANY): Likewise.
13158 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
13159 (SHM_STAT_ANY): Likewise.
13160 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
13161 (SHM_STAT_ANY): Likewise.
13162 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
13163 (SHM_STAT_ANY): Likewise.
13164 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
13165 (SHM_STAT_ANY): Likewise.
13166 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
13167 (SHM_STAT_ANY): Likewise.
13168 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
13169 (SHM_STAT_ANY): Likewise.
13170
176c7fee
JM
13171 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
13172 (SEM_STAT_ANY): New macro.
13173 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
13174 (SEM_STAT_ANY): Likewise.
13175 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
13176 (SEM_STAT_ANY): Likewise.
13177 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
13178 (SEM_STAT_ANY): Likewise.
13179 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
13180 (SEM_STAT_ANY): Likewise.
13181 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
13182 (SEM_STAT_ANY): Likewise.
13183 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
13184 (SEM_STAT_ANY): Likewise.
13185 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
13186 (SEM_STAT_ANY): Likewise.
13187 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
13188 (SEM_STAT_ANY): Likewise.
13189 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
13190 (SEM_STAT_ANY): Likewise.
13191
86bf0019
JM
13192 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
13193 (MSG_STAT_ANY): New macro.
13194 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
13195 (MSG_STAT_ANY): Likewise.
13196 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
13197 (MSG_STAT_ANY): Likewise.
13198 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
13199 (MSG_STAT_ANY): Likewise.
13200 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
13201 (MSG_STAT_ANY): Likewise.
13202 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
13203 (MSG_STAT_ANY): Likewise.
13204 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
13205 (MSG_STAT_ANY): Likewise.
13206 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
13207 (MSG_STAT_ANY): Likewise.
13208 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
13209 (MSG_STAT_ANY): Likewise.
13210 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
13211 (MSG_STAT_ANY): Likewise.
13212
91b2f3e5
JM
13213 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13214 (MAP_TYPE): Change value to 0x2b.
13215
3fe8fc79
FW
132162018-06-18 Florian Weimer <fweimer@redhat.com>
13217
13218 [BZ #15722]
13219 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
13220 socket with SOCK_CLOEXEC.
13221
809dc95d
JM
132222018-06-18 Joseph Myers <joseph@codesourcery.com>
13223
13224 [BZ #23303]
13225 * sysdeps/powerpc/powerpc64/le/Makefile
13226 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
13227 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
13228 (gnulib-tests): Also add $(f128-loader-link) for
13229 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
13230
298a8b59
ST
132312018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
13232
13233 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
13234 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
13235 of sendfile.
13236 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
13237 (sendfile64): New strong alias.
faf7bbc2
ST
13238 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
13239 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
13240 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
13241 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
13242 attribute.
13243 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
13244 ___pthread_get_cleanup_stack.
932d05f0 13245 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
13246 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
13247 * mach/shortcut.awk: Make syscall stubs include
13248 <mach-shortcuts-hidden.h> and add hidden definition.
13249 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
13250 (__mach_msg): Add hidden prototype.
13251 * mach/msg.c: Include <mach.h>.
13252 (__mach_msg): Add hidden definition.
b0344cf5
ST
13253 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
13254 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
13255 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
13256 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
13257 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
13258 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
13259 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
13260 prototype and definition.
13261 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
13262 hidden target for _hurd_self_sigstate.
298a8b59 13263
b12c1e79
JM
132642018-06-15 Joseph Myers <joseph@codesourcery.com>
13265
13266 [BZ #23007]
13267 * stdlib/tst-strtod-nan-sign-main.c: New file.
13268 * stdlib/tst-strtod-nan-sign.c: Likewise.
13269 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
13270 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
13271 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
13272 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
13273 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
13274
b0debe14
HB
132752018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
13276
13277 [BZ #23007]
13278 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
13279 appropriate sign.
13280
14beef75
FW
132812018-06-14 Florian Weimer <fweimer@redhat.com>
13282
13283 [BZ #23290]
13284 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
13285 that the result stays within the ISO-8859-1 range.
13286 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
13287 characters are defined in IBM273.
13288
c596630b
ST
132892018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
13290
13291 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
13292 __mach_task_self): Remove attribute_hidden.
13293
35ebb6b0
JM
132942018-06-14 Joseph Myers <joseph@codesourcery.com>
13295
13296 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
13297 ignore -Wrestrict for one test.
13298
3c7b9f1f
SE
132992018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
13300 Szabolcs Nagy <szabolcs.nagy@arm.com>
13301
13302 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
13303
c59ee916
FW
133042018-06-14 Florian Weimer <fweimer@redhat.com>
13305
13306 * scripts/update-abilist.sh: Accept empty list of files to patch.
13307
43b5ff50
ST
133082018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
13309
13310 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
13311 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
13312 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
13313 __libc_read and __libc_write to __read and __write.
c8c6e6d6 13314 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
13315 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
13316 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
13317 __thread_switch, __evc_wait): Move declarations to...
13318 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
13319 attribute_hidden.
06d1a826
ST
13320 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
13321 use PLT to call _hurd_self_sigstate.
43b5ff50 13322
fcd6b5ac
JM
133232018-06-13 Joseph Myers <joseph@codesourcery.com>
13324
13325 [BZ #23279]
13326 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
13327 MAX_EXP as overflowing.
13328 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13329 overflow flag.
13330 (round_str): Output also whether result overflows in each rounding
13331 mode.
13332 * stdlib/tst-strtod-round-data: Add more tests.
13333 * stdlib/tst-strtod-round-data.h: Regenerated.
13334 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13335 (TEST): Handle extra arguments for overflow flags.
13336 (struct test_overflow): New type.
13337 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13338 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13339 (test_in_one_mode): Take argument with overflow information.
13340 (do_test): Update calls to test_in_one_mode.
13341
35df5a77
CD
133422018-06-12 Carlos O'Donell <carlos@redhat.com>
13343
a745c837
CD
13344 * elf/dl-load (_dl_dst_substitute): Correct comment.
13345 (_dl_dst_count): Likewise.
13346
35df5a77
CD
13347 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13348 lll_futex_timed_wait.
13349
48b12ed5
JM
133502018-06-12 Joseph Myers <joseph@codesourcery.com>
13351
13352 [BZ #23277]
13353 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13354 attribute.
13355 * math/test-nan-const.c: New file.
13356 * math/Makefile (tests): Add test-nan-const.
13357 (CFLAGS-test-nan-const.c): New variable.
13358
cb8f6aff
L
133592018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13360
13361 * benchtests/scripts/compare_strings.py (process_results): Add
13362 funcs argument. Compare only functions which are selected.
13363 (main): Check if base function is among selected functions.
13364 Pass selected functions to process_results.
13365 (__main__): Add -f/--functions argument.
13366
fc2ba803
HZ
133672018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13368 Hongbo Zhang <hongbo.zhang@linaro.org>
13369
13370 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13371 __memcpy_falkor for phecda core.
13372 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13373 __memmove_falkor for phecda core.
13374 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13375 __memset_falkor for phecda core.
13376 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13377 for phecda core.
13378 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13379 macro to identify phecda core.
13380
5aad5f61
CD
133812018-06-12 Carlos O'Donell <carlos@redhat.com>
13382 Andreas Schwab <schwab@suse.de>
13383 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13384 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13385
13386 [BZ #23102]
13387 [BZ #21942]
13388 [BZ #18018]
13389 [BZ #23259]
13390 CVE-2011-0536
13391 * elf/dl-dst.h: Remove DL_DST_COUNT.
13392 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13393 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13394 (is_dst): Comment. Support ELF gABI.
13395 (_dl_dst_count): Comment. Simplify and count DSTs.
13396 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13397 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13398 locals.
13399
329ea513
ZW
134002018-06-12 Zack Weinberg <zackw@panix.com>
13401
13402 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13403 * sysdeps/unix/sysv/linux/dl-sysdep.c
13404 Include not-cancel.h. Use __close_nocancel instead of __close,
13405 __open64_nocancel instead of __open, __read_nocancel instead of
13406 __libc_read, and __write_nocancel instead of __libc_write.
13407
13408 * csu/check_fds.c (check_one_fd)
13409 * sysdeps/posix/fdopendir.c (__fdopendir)
13410 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13411 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13412
13413 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13414 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13415 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13416 Use __open64_nocancel instead of __open_nocancel.
13417
13418 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13419 hidden_proto declarations to the end and issue them if either
13420 IS_IN(libc) or IS_IN(rtld).
13421 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13422 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13423 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13424 read_nocancel, waitpid_nocancel, write_nocancel.
13425
b39d961c
TS
13426 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13427 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13428 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13429
b39d961c
TS
13430 * nptl/pt-fcntl.c: New file.
13431 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13432 (libpthread-routines): Add pt-fcntl.
13433 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13434 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13435 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13436 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13437 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13438 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13439 to fcntl_nocancel.c.
13440 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13443 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13444
13445 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13446 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13447 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13448 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13449 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13450 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13451 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13452 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13453 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13454 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13455 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13456 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13457 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13458 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13459 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13460 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13461 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13462 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13463 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13464 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13465
b39d961c
TS
13466 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13467 libpthread-routines.
13468 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13469 defines nothing.
329ea513 13470
b39d961c
TS
13471 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13472 __libc_read, and __write instead of __libc_write. Define
13473 __open64 in addition to __open.
329ea513 13474
0221ce2a
L
134752018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13476
13477 [BZ #23250]
13478 [BZ #10686]
13479 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13480 to _private_tm[3] and add __glibc_reserved2.
13481 Add _Static_assert of offset of __private_ss == 0x30.
13482 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13483 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13484
e826574c
FW
134852018-06-12 Florian Weimer <fweimer@redhat.com>
13486
13487 x86: Make strncmp usable from rtld.
13488 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13489 __strncmp_ia32 if in libc (and not in rtld).
13490 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13491 strncmp if not in libc (and not to __strncmp_sse2).
13492
c4ad5782
RL
134932018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13494
13495 [BZ #23140]
13496 * localedata/locales/gd_GB (mon): Rename to...
13497 (alt_mon): This.
13498 (mon): Import from CLDR (genitive case).
13499 * localedata/locales/hsb_DE (mon): Rename to...
13500 (alt_mon): This.
13501 (mon): Import from CLDR (genitive case).
13502 * localedata/locales/wa_BE (mon): Rename to...
13503 (alt_mon): This.
13504 (mon): Add, fill with the proper genitive forms, but CLDR data
13505 is incomplete; completed according to the comments in this file.
13506 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13507
13508 * localedata/locales/wa_BE (country_name): Reword
13509 "Beljike" -> "Beldjike".
13510
ca121b11
JM
135112018-06-11 Joseph Myers <joseph@codesourcery.com>
13512
13513 [BZ #23272]
13514 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13515 cases of non-finite arguments.
13516 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13517
2b69fecb
JDA
135182018-06-10 John David Anglin <danglin@gcc.gnu.org>
13519
13520 [BZ #23174]
13521 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13522
283d9851
AZ
135232018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13524
13525 [BZ #23264]
13526 * include/unistd.h (__execvpex): New prototype.
13527 * posix/Makefile (tests): Add tst-spawn4.
13528 (tests-internal): Add tst-spawn4-compat.
13529 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13530 * posix/tst-spawn4-compat.c: New file.
13531 * posix/tst-spawn4.c: Likewise.
13532 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13533 binaries as shell scripts.
13534 * sysdeps/posix/spawni.c (__spawni): Likewise.
13535
67c05796
L
135362018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13537
13538 [BZ #23145]
13539 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13540 ($(all-built-dso:=.dynsym): New target.
13541 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13542 ($(objpfx)check-initfini.out): New target.
13543 (generated): Add check-initfini.out.
13544 * scripts/check-initfini.awk: New file.
13545 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13546 (_fini): Likewise.
13547 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13548 (_fini): Likewise.
13549 * sysdeps/arm/crti.S (_init): Mark as hidden.
13550 (_fini): Likewise.
13551 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13552 (_fini): Likewise.
13553 * sysdeps/i386/crti.S (_init): Mark as hidden.
13554 (_fini): Likewise.
13555 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13556 (_fini): Likewise.
13557 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13558 (_fini): Likewise.
13559 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13560 (_fini): Likewise.
13561 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13562 (_fini): Likewise.
13563 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13564 (_fini): Likewise.
13565 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13566 (_fini): Likewise.
13567 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13568 (_fini): Likewise.
13569 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13570 (_fini): Likewise.
13571 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13572 (_fini): Likewise.
13573 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13574 (_fini): Likewise.
13575 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13576 (_fini): Likewise.
13577 * sysdeps/sh/crti.S (_init): Mark as hidden.
13578 (_fini): Likewise.
13579 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13580 (_fini): Likewise.
13581 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13582 (_fini): Likewise.
13583
1c09524e
TMQMF
135842018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13585
13586 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13587 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13588 and TF redirection to KFtype and KF only when the default
13589 long double type is not the IEEE 128-bit floating point type.
13590
0e0577c9
JM
135912018-06-05 Joseph Myers <joseph@codesourcery.com>
13592
0c1c33b2
JM
13593 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13594 macro.
13595 (HWCAP_USCAT): Likewise.
13596 (HWCAP_ILRCPC): Likewise.
13597 (HWCAP_FLAGM): Likewise.
13598 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13599 Increase to 28.
13600 (_dl_aarch64_cap_flags): Add new flag names.
13601
bef1cbf4
JM
13602 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13603 (MAP_FIXED_NOREPLACE): New macro.
13604 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13605 (MAP_FIXED_NOREPLACE): Likewise.
13606 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13607 (MAP_FIXED_NOREPLACE): Likewise.
13608 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13609 (MAP_FIXED_NOREPLACE): Likewise.
13610 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13611 (MAP_FIXED_NOREPLACE): Likewise.
13612 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13613 (MAP_FIXED_NOREPLACE): Likewise.
13614 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13615 (MAP_FIXED_NOREPLACE): Likewise.
13616 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13617 (MAP_FIXED_NOREPLACE): Likewise.
13618 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13619 (MAP_FIXED_NOREPLACE): Likewise.
13620 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13621 (MAP_FIXED_NOREPLACE): Likewise.
13622 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13623 (MAP_FIXED_NOREPLACE): Likewise.
13624 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13625 (MAP_FIXED_NOREPLACE): Likewise.
13626 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13627 (MAP_FIXED_NOREPLACE): Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13629 (MAP_FIXED_NOREPLACE): Likewise.
13630 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13631 (MAP_FIXED_NOREPLACE): Likewise.
13632
0e0577c9
JM
13633 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13634 version to 4.17.
13635
ab3a0da0
JM
136362018-06-04 Joseph Myers <joseph@codesourcery.com>
13637
13638 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13639 version to 4.17
13640
d2d9dfb6
ST
136412018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13642
13643 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13644 int.
13645 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13646
a650b05e
LS
136472018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13648
13649 * benchtests/scripts/compare_string.py: (process_results) Catch
13650 exception in non-existent base_func and catch exception in
13651 non-existent attribute.
13652 (parse_file) Catch exception if input file does not exist.
13653
195abbf4
LS
136542018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13655
13656 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13657 options to avoid diff calculation and omit header, respectively.
13658 (main): process --no-diff and --no-header
13659
14570163
LS
136602018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13661 H.J. Lu <hongjiu.lu@intel.com>
13662
13663 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13664 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13665 wcsncmp-sse2.
13666 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13667 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13668 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13669 and __wcsncmp_sse2.
13670 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13671 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13672 AVX unaligned load is fast and vzeroupper is preferred.
13673 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13674 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13675 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13676 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13677 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13678 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13679 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13680 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13681 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13682 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13683 is undefined.
13684
e02c026f
FW
136852018-06-01 Florian Weimer <fweimer@redhat.com>
13686
13687 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13688 configuring with --disable-multi-arch, building with
13689 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13690 Haswell-era CPU.
13691
d8c19275
FW
136922018-06-01 Florian Weimer <fweimer@redhat.com>
13693
13694 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13695 results from building with “-march=x86-64 -mtune=generic
13696 -mfpmath=sse” and running on a Haswell-era CPU.
13697
0d2163eb
JM
136982018-06-01 Joseph Myers <joseph@codesourcery.com>
13699
13700 [BZ #18473]
13701 * soft-fp/sqrttf2.c: Remove file.
13702 * soft-fp/sqrtdf2.c: Move to ....
13703 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13704 <shlib-compat.h>.
13705 (__sqrtdf2): Make conditional on
13706 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13707 symbol.
13708 * soft-fp/sqrtsf2.c: Move to ....
13709 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13710 <shlib-compat.h>.
13711 (__sqrtsf2): Make conditional on
13712 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13713 symbol.
13714 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13715 (gcc-double-routines): Remove sqrtdf2.
13716 (gcc-quad-routines): Remove sqrttf2.
13717 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13718 Do not filter out sqrtsf2 and sqrtdf2.
13719 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13720 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13721
10450210
FW
137222018-06-01 Florian Weimer <fweimer@redhat.com>
13723
13724 * sysdeps/generic/libcidn.abilist: Remove file.
13725
4e8a6346
FW
137262018-06-01 Florian Weimer <fweimer@redhat.com>
13727
13728 [BZ #23236]
13729 * libio/strfile.h (struct _IO_str_fields): Rename members to
13730 discourage their use and add comment.
13731 (_IO_STR_DYNAMIC): Remove unused macro.
13732 * libio/strops.c (_IO_str_init_static_internal): Do not use
13733 callback pointers. Call malloc and free.
13734 (_IO_str_overflow): Do not use callback pointers. Call malloc
13735 and free.
13736 (enlarge_userbuf): Likewise.
13737 (_IO_str_finish): Call free.
13738 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13739 _allocate_buffer_unused.
13740 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13741 and free.
13742 (enlarge_userbuf): Likewise.
13743 (_IO_wstr_finish): Call free.
13744 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13745 _allocate_buffer_unused, _free_buffer_unused.
13746 * libio/memstream.c (__open_memstream): Likewise.
13747 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13748 * libio/wmemstream.c (open_wmemstream): Likewise.
13749
50d004c9
PP
137502018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13751
13752 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13753 AMD Ryzen 7 1800X.
13754
2c93fce7
RS
137552018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13756
13757 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13758 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13759 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13760 New file.
13761 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13762 Likewise.
13763 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13764
0ce2fa69
FW
137652018-05-29 Florian Weimer <fweimer@redhat.com>
13766
13767 * support/Makefile (libsupport-routines): Add
13768 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13769 xpthread_barrierattr_setpshared.
13770 * support/xpthread_barrierattr_destroy.c: New file.
13771 * support/xpthread_barrierattr_init.c: Likewise.
13772 * support/xpthread_barrierattr_setpshared.c: Likewise.
13773
7f7b5d8d
L
137742018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13775
13776 [BZ #23206]
13777 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13778 _r_debug and update DT_DEBUG for debugger.
13779
e4890300
FW
137802018-05-29 Florian Weimer <fweimer@redhat.com>
13781
13782 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13783 (tst-strtod5i.out): Likewise.
13784
2c753f3e
JM
137852018-05-25 Joseph Myers <joseph@codesourcery.com>
13786
b5453d9f
JM
13787 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13788 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13789 (sparc64-quad-routines): New variable. Moved from ....
13790 [$(subdir) = soft-fp] (sysdep_routines): Add
13791 $(sparc64-quad-routines). Moved from ....
13792 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13793 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13794 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13795 moved from ....
13796 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13797 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13798 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13799 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13800 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13801 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13802 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13803 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13804 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13805 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13806 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13807 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13808 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13809 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13810 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13811 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13812 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13813 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13814 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13815 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13816 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13817 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13818 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13819 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13820 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13821 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13822 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13823 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13824 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13825 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13826 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13827 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13828 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13829 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13830 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13831 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13832 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13833 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13834 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13835 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13836 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13837 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13838 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13839 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13840 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13841 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13842 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13843 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13844 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13845 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13846 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13847 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13848 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13849 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13850 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13851 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13852 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13853 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13854
2c753f3e
JM
13855 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13856 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13857 (sparc32-quad-routines): New variable. Moved from ....
13858 [$(subdir) = soft-fp] (sysdep_routines): Add
13859 $(sparc32-quad-routines). Moved from ....
13860 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13861 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13862 moved from ....
13863 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13864 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13865 * sysdeps/sparc/sparc32/q_add.c: ... here.
13866 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13867 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13868 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13869 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13870 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13871 * sysdeps/sparc/sparc32/q_div.c: ... here.
13872 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13873 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13874 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13875 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13876 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13877 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13878 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13879 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13880 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13881 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13882 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13883 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13884 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13885 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13886 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13887 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13888 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13889 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13890 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13891 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13892 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13893 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13894 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13895 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13896 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13897 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13898 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13899 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13900 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13901 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13902 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13903 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13904 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13905 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13906 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13907 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13908 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13909 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13910 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13911 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13912 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13913 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13914 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13915 * sysdeps/sparc/sparc32/q_util.c: ... here.
13916 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13917 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13918 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13919 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13920
c1dc1e1b
TMQMF
139212018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13922 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13923
13924 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13925 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13926 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13927 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13928
14186e8d
JM
139292018-05-24 Joseph Myers <joseph@codesourcery.com>
13930
13931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13932 powerpc/soft-fp.
13933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13934 Likewise.
13935 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13936 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13937
fb0e10b8
GG
139382018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13939
13940 [BZ #23171]
13941 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13942 double version.
13943
1dfeb17e
JM
139442018-05-23 Joseph Myers <joseph@codesourcery.com>
13945
13946 * sysdeps/sh/Implies: Remove sh/soft-fp.
13947 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13948 * sysdeps/sh/sfp-machine.h: ... here.
13949
727b38df
L
139502018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13951
13952 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13953 (__mempcpy_erms): Skip zero length.
13954 (__memmove_erms): Likewise.
13955 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13956 (__memset_erms): Likewise.
13957
2834fb46
JM
139582018-05-23 Joseph Myers <joseph@codesourcery.com>
13959
13960 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13961 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13962 Add functions moved from ....
13963 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13964 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13965 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13966 from ....
13967 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13968 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13969 * sysdeps/alpha/e_sqrtl.c: ... here.
13970 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13971 * sysdeps/alpha/local-soft-fp.h: ... here.
13972 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13973 * sysdeps/alpha/ots_add.c: ... here.
13974 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13975 * sysdeps/alpha/ots_cmp.c: ... here.
13976 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13977 * sysdeps/alpha/ots_cmpe.c: ... here.
13978 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13979 * sysdeps/alpha/ots_cvtqux.c: ... here.
13980 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13981 * sysdeps/alpha/ots_cvtqx.c: ... here.
13982 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13983 * sysdeps/alpha/ots_cvttx.c: ... here.
13984 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13985 * sysdeps/alpha/ots_cvtxq.c: ... here.
13986 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13987 * sysdeps/alpha/ots_cvtxt.c: ... here.
13988 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13989 * sysdeps/alpha/ots_div.c: ... here.
13990 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13991 * sysdeps/alpha/ots_mul.c: ... here.
13992 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13993 * sysdeps/alpha/ots_nintxq.c: ... here.
13994 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13995 * sysdeps/alpha/ots_sub.c: ... here.
13996 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13997 * sysdeps/alpha/sfp-machine.h: ... here.
13998
7f9f1ecb
FW
139992018-05-23 Florian Weimer <fweimer@redhat.com>
14000
14001 [BZ #19728]
14002 [BZ #19729]
14003 [BZ #22247]
14004 CVE-2016-6261
14005 CVE-2016-6263
14006 CVE-2017-14062
14007 Switch to extern IDNA implementation (libidn2).
14008 * libidn: Remove subdirectory.
14009 * LICENSES: Do not mention licensing conditions for the removed
14010 libidn code.
14011 * config.h.in (HAVE_LIBIDN): Remove.
14012 * include/dlfcn.h (__libc_dlopen): Update comment.
14013 * include/idna.h: Remove file.
14014 * inet/Makefile (routines): Add idna.
14015 (tests-static, tests-internal): Add tst-idna_name_classify.
14016 (LOCALES): Generate locales for tests.
14017 (tst-idna_name_classify.out): Depend on generated locales.
14018 * inet/idna_name_classify.c: New file.
14019 * inet/tst-idna_name_classify.c: Likewise.
14020 * inet/net-internal.h (__idna_to_dns_encoding)
14021 (__idna_from_dns_encoding): Declare.
14022 * inet/net-internal.h (enum idna_name_classification): Define.
14023 (__idna_name_classify): Declare.
14024 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
14025 __idna_from_dns_encoding.
14026 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
14027 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
14028 name as a fallback in case of encoding errors.
14029 (getnameinfo): Use DEPRECATED_NI_IDN.
14030 * inet/idna.c: New file.
14031 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
14032 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
14033 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
14034 (modules-names): Add tst-no-libidn2.
14035 (extra-test-objs): Add tst-no-libidn2.os.
14036 (LDFLAGS-tst-no-libidn2.so): Set soname.
14037 (LOCALES): Set, and generate locales.
14038 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
14039 (tst-resolv-ai_idn-latin1): Likewise.
14040 (tst-resolv-ai_idn-nolibidn2): Likewise.
14041 (tst-resolv-ai_idn.out): Depend on locales.
14042 (tst-resolv-ai_idn-latin1.out): Depend on locales.
14043 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
14044 tst-no-libidn2.so.
14045 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
14046 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
14047 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
14048 * resolv/tst-resolv-ai_idn.c: New file.
14049 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
14050 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
14051 * resolv/tst-no-libidn2.c: Likewise.
14052 * support/support_format_addrinfo.c (format_ai_flags): Do not
14053 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
14054 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
14055 (gaih_inet): Call __idna_to_dns_encoding and
14056 __idna_from_dns_encoding, and use the original (punycode) name if
14057 __idna_from_dns_encoding fails due to an encoding error.
14058 (getaddrinfo): Use DEPRECATED_AI_IDN.
14059 * sysdeps/unix/inet/Subdirs (libidn): Remove.
14060 * sysdeps/unix/inet/configure: Remove file.
14061 * sysdeps/unix/inet/configure.ac: Likewise.
14062
5f7b841d
FW
140632018-05-23 Florian Weimer <fweimer@redhat.com>
14064
14065 Implement allocate_once.
14066 * include/allocate_once.h: New file.
14067 * misc/allocate_once.c: Likewise.
14068 * misc/tst-allocate_once.c: Likewise.
14069 * misc/Makefile (routines): Add allocate_once.
14070 (tests-internal): Add tst-allocate_once.
14071 (generated): Add tst-allocate_once.mtrace,
14072 tst-allocate_once-mem.out.
14073 (tests-special): Add tst-allocate_once-mem.out.
14074 (tst-allocate_once-ENV): Set MALLOC_TRACE.
14075 (tst-allocate_once-mem.out): Call mtrace.
14076 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
14077
ed983107
L
140782018-05-23 H.J. Lu <hongjiu.lu@intel.com>
14079
14080 [BZ #23196]
14081 * string/test-memcpy.c (do_test1): New function.
14082 (test_main): Call it.
14083
9aaaab7c
AS
140842018-05-23 Andreas Schwab <schwab@suse.de>
14085
14086 [BZ #23196]
14087 CVE-2018-11237
14088 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
14089 (L(preloop_large)): Save initial destination pointer in %r11 and
14090 use it instead of %rax after the loop.
14091 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
14092
5c5c0dd7
JM
140932018-05-22 Joseph Myers <joseph@codesourcery.com>
14094
8f145c77
JM
14095 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
14096 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
14097 -I../soft-fp. Moved from ....
14098 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
14099 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
14100 * sysdeps/aarch64/e_sqrtl.c: ... here.
14101 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
14102 * sysdeps/aarch64/sfp-machine.h: ... here.
14103
3d6302a5
JM
14104 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
14105 -Wmaybe-uninitialized around access to fq[0].
14106 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
14107 Likewise.
14108
5c5c0dd7
JM
14109 [BZ #18471]
14110 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
14111 aliases for non-libc case of versioned symbols.
14112 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
14113 (llseek): Define as compat symbol if
14114 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
14115 with link warning.
14116 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
14117 Make into a compat symbol, disabled for minimum symbol version
14118 GLIBC_2.28 and later.
14119 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
14120
ed0d6988
FW
141212018-05-22 Florian Weimer <fweimer@redhat.com>
14122
14123 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
14124 not add -mpreferred-stack-boundary=4.
14125 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
14126 (stack-align-test-flags): Likewise.
14127 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
14128 Likewise.
14129 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
14130 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
14131 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
14132 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
14133 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
14134 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
14135 (CFLAGS-tst-align2.c): Likewise.
14136
e28e9b1e
L
141372018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14138
14139 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
14140 (index_arch_Prefer_FSRM): Likewise.
14141 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
14142 Also check Prefer_FSRM.
14143 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
14144 Also return OPTIMIZE (erms) for Prefer_FSRM.
14145
1af30adc
L
141462018-05-21 H.J. Lu <hongjiu.lu@intel.com>
14147
14148 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
14149 (index_cpu_FSRM): Likewise.
14150 (reg_FSRM): Likewise.
14151
78274dc8
JM
141522018-05-18 Joseph Myers <joseph@codesourcery.com>
14153
7c67e6e8
JM
14154 * math/gen-tgmath-tests.py: Import sys.
14155 (Tests.__init__): Initialize macros_seen.
14156 (Tests.add_tests): Add macro to macros_seen. Only generate tests
14157 if requested to do so for this macro.
14158 (Tests.add_all_tests): Take argument for macro for which to
14159 generate tests.
14160 (Tests.check_macro_list): New function.
14161 (main): Handle check-list argument and argument specifying macro
14162 for which to generate tests.
14163 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
14164 [PYTHON] (tgmath3-macro-tests): Likewise.
14165 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
14166 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
14167 not test-tgmath3.c.
14168 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
14169 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
14170 to CFLAGS.
14171 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
14172 [PYTHON] ($(foreach
14173 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
14174 rule.
14175 [PYTHON] (tests-special): Add
14176 $(objpfx)test-tgmath3-macro-list.out.
14177 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
14178
ebc129fd
JM
14179 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
14180 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
14181 later.
14182
78274dc8
JM
14183 [BZ #22639]
14184 * time/tzset.c (SECSPERDAY): Cast to time_t.
14185 * time/tst-y2039.c: New file.
14186 * time/Makefile (tests): Add tst-y2039.
14187
6f7fdeeb
LS
141882018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
14189
14190 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
14191 (PREFETCH_ONE_SET): Remove duplicate line.
14192
e363a91c
FW
141932018-05-17 Florian Weimer <fweimer@redhat.com>
14194
14195 * sysdeps/generic/math-type-macros-double.h: Include
14196 <math-nan-payload-double.h> after <libm-alias-double.h>.
14197 * sysdeps/generic/math-type-macros-float.h: Include
14198 <math-nan-payload-float.h> after <libm-alias-float.h>.
14199 * sysdeps/generic/math-type-macros-float128.h: Include
14200 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
14201 * sysdeps/generic/math-type-macros-ldouble.h: Include
14202 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
14203
dae6c43c
AS
142042018-05-17 Andreas Schwab <schwab@suse.de>
14205
14206 * resolv/res_send.c (__res_context_send): Don't set errno when
14207 returing error after malloc failure.
14208
0068c085
L
142092018-05-17 H.J. Lu <hongjiu.lu@intel.com>
14210
14211 * nptl/allocatestack.c (allocate_stack): Remove the
14212 !__ASSUME_PRIVATE_FUTEX paths.
14213 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
14214 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
14215 Likewise.
14216 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
14217 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14218 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14219 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
14220 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
14221 !__ASSUME_PRIVATE_FUTEX path.
14222 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
14223 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
14224 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
14225 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
14226 !__ASSUME_PRIVATE_FUTEX macros.
14227 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
14228 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
14229 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
14230 * sysdeps/unix/sysv/linux/kernel-features.h
14231 (__ASSUME_PRIVATE_FUTEX): Removed.
14232
632a6cbe
JM
142332018-05-17 Joseph Myers <joseph@codesourcery.com>
14234
14235 * math/Makefile (libm-narrow-fns): Add div.
14236 (libm-test-funcs-narrow): Likewise.
14237 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
14238 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
14239 * math/gen-auto-libm-tests.c (test_functions): Add div.
14240 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
14241 (NARROW_DIV_ROUND_TO_ODD): Likewise.
14242 (NARROW_DIV_TRIVIAL): Likewise.
14243 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
14244 macro.
14245 (__ddivl): Likewise.
14246 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
14247 ddiv.
14248 (CFLAGS-nldbl-ddiv.c): New variable.
14249 (CFLAGS-nldbl-fdiv.c): Likewise.
14250 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14251 __nldbl_ddivl.
14252 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
14253 prototype.
14254 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
14255 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
14256 * math/auto-libm-test-in: Add tests of div.
14257 * math/auto-libm-test-out-narrow-div: New generated file.
14258 * math/libm-test-narrow-div.inc: New file.
14259 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
14262 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
14263 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
14264 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
14265 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
14266 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
14267 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
14268 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
14269 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
14270 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
14271 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
14272 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
14273 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
14274 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
14275 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
14276 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
14277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14278 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14279 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14280 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14281 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14282 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14283 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14284 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14285 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14286 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14287 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14288 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14289 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14290 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14295 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14296 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14297 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14298 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14299 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14300 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14301 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14302 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14303
8c78faa9
AZ
143042018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14305
14306 [BZ #23178]
14307 * nscd/nscd-client.h (sendfileall): Remove prototype.
14308 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
14309 (handle_request): Use writeall instead of sendfileall.
14310 * nscd/aicache.c (addhstaiX): Likewise.
14311 * nscd/grpcache.c (cache_addgr): Likewise.
14312 * nscd/hstcache.c (cache_addhst): Likewise.
14313 * nscd/initgrcache.c (addinitgroupsX): Likewise.
14314 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
14315 * nscd/pwdcache.c (cache_addpw): Likewise.
14316 * nscd/servicescache.c (cache_addserv): Likewise.
14317 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
14318 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
14319 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
14320 Remove define.
14321
04958880
L
143222018-05-16 H.J. Lu <hongjiu.lu@intel.com>
14323
14324 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
14325 Include <string/strncat.c>.
14326 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
14327 alias.
14328 (__GI___strncat): New hidden alias.
14329
c9992d13
JM
143302018-05-16 Joseph Myers <joseph@codesourcery.com>
14331
14332 * sysdeps/mips/mips32/libm-test-ulps: Update.
14333 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14334
2afece36
FW
143352018-05-16 Florian Weimer <fweimer@redhat.com>
14336
14337 * support/Makefile (libsupport-routines): Add support_quote_blob,
14338 support_test_compare_blob.
14339 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14340 * support/check.h (TEST_COMPARE_BLOB): Define.
14341 (support_test_compare_blob): Declare.
14342 * support/support.h (support_quote_blob): Declare.
14343 * support/support_quote_blob.c: New file.
14344 * support/support_test_compare_blob.c: Likewise.
14345 * support/tst-support_quote_blob.c: Likewise.
14346 * support/tst-test_compare_blob.c: Likewise.
14347
9761bf4d
FW
143482018-05-16 Florian Weimer <fweimer@redhat.com>
14349
14350 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14351 of <strtod_nan_double.h>.
14352 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14353 instead of SET_MANTISSA.
14354 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14355 of include <strtod_nan_float.h>.
14356 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14357 instead of <strtod_nan_ldouble.h>.
14358 * stdlib/strtod_nan_double.h: Move to ...
14359 * sysdeps/generic/math-nan-payload-double.h: ... here.
14360 (FLOAT): Remove definition.
14361 (SET_MANTISSA): Rename to ...
14362 (SET_NAN_PAYLOAD): ... this.
14363 * stdlib/strtod_nan_float.h: Move to ...
14364 * sysdeps/generic/math-nan-payload-float.h: ... here.
14365 (FLOAT): Remove definition.
14366 (SET_MANTISSA): Rename to ...
14367 (SET_NAN_PAYLOAD): ... this.
14368 * sysdeps/generic/math-type-macros-double.h: Include
14369 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14370 instead of <math-svid-compat.h>.
14371 * sysdeps/generic/math-type-macros-float.h: Include
14372 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14373 instead of <math-svid-compat.h>.
14374 * sysdeps/generic/math-type-macros-float128.h: Include
14375 <math-nan-payload-float128.h>.
14376 * sysdeps/generic/math-type-macros-ldouble.h: Include
14377 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14378 instead of <math-svid-compat.h>.
14379 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14380 check for definition.
14381 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14382 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14383 Include <ieee754_float128.h>.
14384 (FLOAT): Remove definition.
14385 (SET_MANTISSA): Rename to ...
14386 (SET_NAN_PAYLOAD): ... this.
14387 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14388 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14389 Do not include <float128_private.h>.
14390 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14391 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14392 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14393 (FLOAT): Remove definition.
14394 (SET_MANTISSA): Rename to ...
14395 (SET_NAN_PAYLOAD): ... this.
14396 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14397 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14398 (FLOAT): Remove definition.
14399 (SET_MANTISSA): Rename to ...
14400 (SET_NAN_PAYLOAD): ... this.
14401 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14402 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14403 (FLOAT): Remove definition.
14404 (SET_MANTISSA): Rename to ...
14405 (SET_NAN_PAYLOAD): ... this.
14406 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14407 of "../stdlib/strtod_nan_double.h".
14408 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14409 of "../stdlib/strtod_nan_float.h".
14410 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14411 instead of "../stdlib/strtod_nan_ldouble.h".
14412 * manual/arith.texi (Parsing of Floats): Adjust comment.
14413
69a01461
JM
144142018-05-16 Joseph Myers <joseph@codesourcery.com>
14415
14416 * math/Makefile (libm-narrow-fns): Add mul.
14417 (libm-test-funcs-narrow): Likewise.
14418 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14419 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14420 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14421 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14422 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14423 (NARROW_MUL_TRIVIAL): Likewise.
14424 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14425 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14426 macro.
14427 (__dmull): Likewise.
14428 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14429 dmul.
14430 (CFLAGS-nldbl-dmul.c): New variable.
14431 (CFLAGS-nldbl-fmul.c): Likewise.
14432 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14433 __nldbl_dmull.
14434 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14435 prototype.
14436 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14437 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14438 * math/auto-libm-test-in: Add tests of mul.
14439 * math/auto-libm-test-out-narrow-mul: New generated file.
14440 * math/libm-test-narrow-mul.inc: New file.
14441 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14442 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14443 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14444 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14445 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14446 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14447 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14448 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14449 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14450 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14451 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14452 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14453 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14454 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14455 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14456 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14457 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14458 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14460 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14461 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14462 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14463 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14485
a15529fd
L
144862018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14487
14488 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14489 with *%eax in call.
14490
98ee36c7
L
144912018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14492
14493 * sysdeps/i386/ldsodefs.h: Removed.
14494 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14495 * sysdeps/x86/ldsodefs.h: This.
14496 (La_i86_regs): New.
14497 (La_i86_retval): Likewise.
14498 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14499 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14500
e322ec32
L
145012018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14502
14503 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14504 unnecessary testl.
14505
0937e209
AM
145062018-05-13 Alan Modra <amodra@gmail.com>
14507
14508 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14509 R_PARISC_TLS_DTPOFF32 reloc addend.
14510
5db7d705
TMQMF
145112018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14512
14513 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14514 * math/math.h: Restrict the prototype definition for the functions
14515 issignaling(_Float128) and iszero(_Float128); and template
14516 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14517 __HAVE_FLOAT128_UNLIKE_LDBL.
14518 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14519 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14520 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14521 __f128() constants; define the type _Float128 as long double;
14522 and reuse long double in __CFLOAT128.
14523
b4d5b8b0
JM
145242018-05-11 Joseph Myers <joseph@codesourcery.com>
14525
14526 * sysdeps/generic/math_private.h: Do not include
14527 <math-barriers.h>.
14528 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14529 <math_private.h>.
14530 * math/fromfp.h: Include <math-barriers.h>.
14531 * math/math-narrow.h: Likewise.
14532 * math/s_nextafter.c: Likewise.
14533 * math/s_nexttowardf.c: Likewise.
14534 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14535 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14536 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14537 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14538 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14539 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14540 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14542 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14543 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14544 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14545 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14546 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14547 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14548 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14549 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14550 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14551 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14552 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14553 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14554 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14555 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14556 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14557 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14558 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14559 * sysdeps/ieee754/k_standardl.c: Likewise.
14560 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14561 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14562 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14563 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14564 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14565 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14566 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14567 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14569 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14570 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14571 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14572 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14573 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14574 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14575 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14576 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14577 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14578 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14579 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14580 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14581 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14582
fc79706a
FW
145832018-05-11 Florian Weimer <fweimer@redhat.com>
14584
14585 Use 64-bit epoch values in the time zone file parser.
14586 * include/time.h (internal_time_t): Define.
14587 (__tzfile_compute): Use it.
14588 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14589 member.
14590 (transitions): Switch to internal_time_t.
14591 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14592 types.
14593 (__tzfile_compute): Use internal_time_t for timer argument. Check
14594 for truncation before calling __offtime.
14595
89aacb51
FW
145962018-05-11 Florian Weimer <fweimer@redhat.com>
14597
14598 [BZ #23166]
14599 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14600 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14601 Likewise.
14602 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14603 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14604 export without --enable-obsolete-rpc.
14605 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14606 symbol. This should not have been exported, ever.
14607
bb066cb8
RL
146082018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14609
14610 [BZ #23152]
14611 * localedata/locales/gd_GB (abmon): Fix typo in May:
14612 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14613
70c97f84
SP
146142018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14615
db725a45
SP
14616 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14617 Use multiple registers to copy data in loop tail.
14618
70c97f84
SP
14619 * sysdeps/aarch64/multiarch/memmove_falkor.S
14620 (__memmove_falkor): Use multiple registers to move data in
14621 loop tail.
14622
8f5b00d3
JM
146232018-05-10 Joseph Myers <joseph@codesourcery.com>
14624
14625 * math/math-underflow.h: New file.
14626 * sysdeps/generic/math_private.h: Do not include <float.h>.
14627 (fabs_tg): Remove macro. Moved to math-underflow.h.
14628 (min_of_type_f): Likewise.
14629 (min_of_type_): Likewise.
14630 (min_of_type_l): Likewise.
14631 (min_of_type_f128): Likewise.
14632 (min_of_type): Likewise.
14633 (math_check_force_underflow): Likewise.
14634 (math_check_force_underflow_nonneg): Likewise.
14635 (math_check_force_underflow_complex): Likewise.
14636 * math/e_exp2_template.c: Include <math-underflow.h>.
14637 * math/k_casinh_template.c: Likewise.
14638 * math/s_catan_template.c: Likewise.
14639 * math/s_catanh_template.c: Likewise.
14640 * math/s_ccosh_template.c: Likewise.
14641 * math/s_cexp_template.c: Likewise.
14642 * math/s_clog10_template.c: Likewise.
14643 * math/s_clog_template.c: Likewise.
14644 * math/s_csin_template.c: Likewise.
14645 * math/s_csinh_template.c: Likewise.
14646 * math/s_csqrt_template.c: Likewise.
14647 * math/s_ctan_template.c: Likewise.
14648 * math/s_ctanh_template.c: Likewise.
14649 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14650 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14651 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14652 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14653 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14654 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14655 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14656 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14657 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14658 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14659 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14660 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14661 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14662 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14663 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14664 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14665 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14666 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14667 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14668 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14669 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14670 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14671 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14672 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14673 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14674 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14675 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14676 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14677 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14678 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14679 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14680 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14681 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14682 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14683 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14687 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14688 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14689 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14690 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14691 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14692 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14693 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14694 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14695 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14696 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14697 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14698 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14699 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14700 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14701 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14702 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14704 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14705 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14706 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14707 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14708 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14709 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14710 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14711 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14712 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14713 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14715 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14716 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14717 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14718 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14719 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14720 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14721 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14722 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14723 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14724 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14725 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14726 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14727 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14728 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14729 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14730 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14731 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14732 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14733
9ed2e15f
JM
147342018-05-09 Joseph Myers <joseph@codesourcery.com>
14735
14736 * sysdeps/generic/math-barriers.h: New file.
14737 * sysdeps/generic/math_private.h [!math_opt_barrier]
14738 (math_opt_barrier): Move to math-barriers.h.
14739 [!math_opt_barrier] (math_force_eval): Likewise.
14740 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14741 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14742 math-barriers.h.
14743 (math_force_eval): Likewise.
14744 * sysdeps/alpha/fpu/math-barriers.h: New file.
14745 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14746 math-barriers.h.
14747 (math_force_eval): Likewise.
14748 * sysdeps/x86/fpu/math-barriers.h: New file.
14749 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14750 math-barriers.h.
14751 (math_force_eval): Likewise.
14752 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14753 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14754 multiple-include guard for rename.
14755 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14756 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14757 math-barriers.h.
14758 (math_force_eval): Likewise.
14759
5460617d
PP
147602018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14761
14762 [BZ #22786]
43d4f3d5 14763 CVE-2018-11236
5460617d
PP
14764 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14765 computation.
14766 * stdlib/Makefile (test-bz22786): New test.
14767 * stdlib/test-bz22786.c: New test.
14768
aaee3cd8
JM
147692018-05-09 Joseph Myers <joseph@codesourcery.com>
14770
14771 * include/math-narrow-eval.h: New file. Contents moved from ....
14772 * sysdeps/generic/math_private.h: ... here.
14773 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14774 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14775 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14776 * stdlib/strtod_l.c: Likewise.
14777 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14778 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14779 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14780 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14781 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14782 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14783 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14784 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14785 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14786 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14787 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14788 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14789 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14790 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14791 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14792 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14793 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14794 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14795 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14796 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14797 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14798 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14799 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14800 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14801 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14802 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14803 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14804 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14805 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14806
0555c477
AS
148072018-05-08 Andreas Schwab <schwab@suse.de>
14808
14809 * sysdeps/nptl/internaltypes.h: Fix comment.
14810
50d7d351
L
148112018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14814 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14815 hidden.
14816
543477f7
SP
148172018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14818
14819 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14820 of I into loop header.
14821 * benchtests/bench-memmove-walk.c
14822 (test_main): Likewise.
14823
148242018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14825
14826 Revert:
14827 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14828 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14829
0065aaaa
PP
148302018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14831
14832 [BZ #20419]
14833 * elf/dl-load.c (open_verify): Fix stack overflow.
14834 * elf/Makefile (tst-big-note): New test.
14835 * elf/tst-big-note-lib.S: New.
14836 * elf/tst-big-note.c: New.
14837
b289cd9d
JM
148382018-05-04 Joseph Myers <joseph@codesourcery.com>
14839
14840 * scripts/abilist.awk: Ignore absolute symbols.
14841 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14842 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14843 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14844 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14845 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14846 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14847 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14848 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14849 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14850 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14851 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14852 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14864 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14871 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14872 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14873 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14874 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14875 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14876 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14877 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14878 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14879 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14880 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14881 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14882 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14883 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14884 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14885 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14886 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14887 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14888 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14889 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14890 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14891 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14892 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14893 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14894 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14895 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14896 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14897 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14898 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14899 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14900 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14901 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14902 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14903 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14904 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14905 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14906 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14907 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14908 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14909 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14910 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14911 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14912 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14913 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14914 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14915 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14922 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14923 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14924 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14925 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14926 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14927 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14928 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14929 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14930 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14931 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14932 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14933 Likewise.
14934 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14935 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14936 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14937 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14938 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14939 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14940 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14941 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14942 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14943 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14944 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14945 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14946 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14947 Likewise.
14948 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14949 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14950 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14951 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14953 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14954 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14955 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14956 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14957 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14958 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14959 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14960 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14961 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14962 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14963 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14964 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14965 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14966 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14967 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14968 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14969 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14970 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14971 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14972 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14973 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14974 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14975 Likewise.
14976 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14977 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14978 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14979 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14980 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14981 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14982 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14983 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14984 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14985 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14986 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14987 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14988 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14989 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14990 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14991 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14992 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14993 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14994 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14995 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14996 Likewise.
14997 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14998 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14999 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
15000 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15001 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
15002 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
15003 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
15004 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
15005 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
15006 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
15007 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
15008 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
15009 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
15010 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
15011 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
15012 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
15013 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
15014 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
15015 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
15016 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
15017 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
15018 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15019 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
15020 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
15021 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
15022 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
15023 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
15024 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
15026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
15029 Likewise.
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
15031 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
15035 Likewise.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
15037 Likewise.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
15040 Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
15042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
15043 Likewise.
15044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15045 Likewise.
15046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
15047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
15048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
15049 Likewise.
15050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
15051 Likewise.
15052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
15053 Likewise.
15054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
15055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
15056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
15057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
15058 Likewise.
15059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
15060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
15061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
15063 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
15064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
15065 Likewise.
15066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
15067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
15068 Likewise.
15069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
15070 Likewise.
15071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
15072 Likewise.
15073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
15074 Likewise.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
15076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
15078 Likewise.
15079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
15080 Likewise.
15081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
15082 Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
15084 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
15085 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
15086 Likewise.
15087 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
15088 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
15089 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
15090 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
15091 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
15092 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
15093 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
15094 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
15095 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
15096 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
15097 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
15098 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
15099 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
15100 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
15101 Likewise.
15102 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
15103 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
15104 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
15105 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15106 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
15107 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
15108 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
15109 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
15110 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
15111 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
15112 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
15113 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
15114 Likewise.
15115 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
15116 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
15117 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
15118 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15119 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
15120 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
15121 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
15122 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
15123 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
15124 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
15125 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
15126 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
15127 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
15128 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
15129 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
15130 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
15131 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15132 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
15133 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
15134 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
15135 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
15136 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
15137 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
15138 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
15139 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
15140 Likewise.
15141 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
15143 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
15144 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
15145 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15146 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
15147 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
15148 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
15149 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
15150 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
15151 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
15152 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
15153 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
15154 Likewise.
15155 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
15156 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
15157 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
15158 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
15159 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15160 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
15161 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
15162 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
15163 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
15164 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
15165 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
15166 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
15167 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
15168 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
15169 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
15170 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
15171 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
15172 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15173 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
15174 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
15175 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
15176 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
15177 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
15178 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
15179 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
15180 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
15181 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
15182 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
15183 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
15184 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
15185 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
15186 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15187 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
15188 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
15189 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
15190 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
15191 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
15192 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
15193
16609018
SL
151942018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
15195
15196 [BZ #23137]
15197 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
15198 Use atomic_load_acquire to load __tid.
15199
556f5c46
L
152002018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15201
15202 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
15203 Restore the pointer into %rdx, after syscall and use %rdx,
15204 instead of %rsi, to restore context.
15205
8b8f32b2
L
152062018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15207
15208 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
15209 Pop the pointer into %rdx after syscall and use %rdx, instead
15210 of %rsi, to restore context.
15211
d6cc1829
L
152122018-05-02 H.J. Lu <hongjiu.lu@intel.com>
15213
15214 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
15215 handlers after setjmp.
15216 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
15217 defined.
15218 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
15219 <libc-pointer-arith.h>.
15220 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
15221 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
15222 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
15223 _JUMP_BUF_SIGSET_BITS_PER_WORD.
15224 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
15225 * sysdeps/x86/__longjmp_cancel.S: New file.
15226 * sysdeps/x86/longjmp.c: Likewise.
15227 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
15228
cf2478d5
AZ
152292018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15230
15231 * NEWS: Add ustat.h deprecation entry.
15232 * bits/ustat.h: Remove file.
15233 * misc/sys/ustat.h: Likewise.
15234 * misc/ustat.h: Likewise.
15235 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
15236 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
15237 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
15238 compatibility mode.
15239 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
15240 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
15241 generic Linux implementation.
15242
dc115e1c
TMQMF
152432018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15244
15245 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
15246 * math/w_expl_compat.c: Likewise.
15247 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
15248
6b5c8607 152492018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
15250
15251 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
15252
c57bf7c1
AZ
152532018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15254
15255 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
15256 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
15257 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
15258 Remove.
15259 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
15261 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
15262 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
15263 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
15264 and SYSCALL_LL64.
15265
06135c33
TMQMF
152662018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15267
33927914
TMQMF
15268 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
15269
06135c33
TMQMF
15270 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
15271 * math/w_asin_template.c: Likewise.
15272 * math/w_atanh_template.c: Likewise.
15273
3a33b069
GG
152742018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
15275
15276 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
15277 to powerpc/powerpc64/be for big-endian.
15278 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
15279 little-endian.
15280
15281 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
15282 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
15283 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
15284 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
15285 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15286 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
15287 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
15288 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
15289 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
15290 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
15291 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
15292 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
15293 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
15294 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
15295 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
15296 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
15297 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
15298 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
15299 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
15300 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
15301 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
15302 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
15303 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
15304 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
15305 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
15306 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
15307 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
15308 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
15309 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
15310 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15311 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15312 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15313
15314 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
15315 adjusted to imply powerpc64 and older processors on powerpc64/be.
15316 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
15317 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
15318 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
15319 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
15320 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
15321 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
15322 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
15323 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
15324 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
15325 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
15326 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
15327 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
15328 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15329 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15330 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15331 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15332 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15333 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15334 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15335 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15336 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15337 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15338 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15339 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15340 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15341 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15342 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15343 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15344 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15345 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15346 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15347
15348 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15349 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15350 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15351 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15352
15353 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15354 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15355 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15356 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15357
15358 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15359 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15360 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15361 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15362 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15363 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15364 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15365 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15366 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15367 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15368 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15369
15370 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15371 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15372 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15373 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15374 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15375 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15376 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15377 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15378 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15379 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15380 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15381
15382 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15383 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15384 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15385 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15386 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15387 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15388 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15389 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15390 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15391 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15392 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15393 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15394
15395 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15396 and adjusted to imply olders processors.
15397 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15398 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15399 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15400 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15401 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15402 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15403 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15404 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15405 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15406 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15407 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15408
15409 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15410 powerpc64/le.
15411 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15412 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15413
15414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15415 powerpc64le.
15416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15418
15419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15420 powerpc64/be.
15421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15424
15425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15426 powerpc64 and adjusted.
15427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15430 Likewise.
15431
a3fb6b6b
JM
154322018-04-27 Joseph Myers <joseph@codesourcery.com>
15433
15434 * sysdeps/tile: Remove.
15435 * sysdeps/unix/sysv/linux/tile: Likewise.
15436 * README (tilegx-*-linux-gnu): Remove from list of supported
15437 configurations.
15438 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15439 contribution of support for generic Linux kernel syscall
15440 interface.
15441 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15442 tilegx configurations.
15443 (Config.install_linux_headers): Do not handle tile.
15444 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15445 in comment.
15446 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15447 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15448 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15449 conditional undefine and redefine.
15450 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15451 in comment.
15452 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15453 conditional undefine and redefine.
15454
7a6f7478
AJ
154552018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15456
15457 * signal/tst-sigaction.c: New file to test BZ #23069.
15458 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15459
81b49e96
TMQMF
154602018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15461
15462 [BZ #22766]
15463 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15464 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15465 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15466 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15467
7d80f48e
AZ
154682018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15469
15470 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15471 _DIRENT_MATCHES_DIRENT64 is not defined.
15472 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15473 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15474 is defined.
15475 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15476 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15477
42a2bf58
JM
154782018-04-25 Joseph Myers <joseph@codesourcery.com>
15479
15480 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15481 version to GCC 8 branch.
15482
9320ca88
JM
154832018-04-24 Joseph Myers <joseph@codesourcery.com>
15484
5e14bb97
JM
15485 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15486 (check_no_hidden): Use type of original function when declaring
15487 alias.
15488
9320ca88
JM
15489 * sysdeps/unix/sysv/linux/sys/ptrace.h
15490 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15491 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15492 (struct __ptrace_seccomp_metadata): New type.
15493 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15494 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15495 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15496 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15497 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15498 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15499 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15500 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15501 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15502 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15503 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15504 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15505 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15506 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15507 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15508 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15509
af7e376b
AZ
155102018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15511
15512 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15513 defined.
15514 * dirent/versionsort.c (versionsort): Likewise.
15515 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15516 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15517 * dirent/versionsort64.c (versionsort64): Likewise.
15518 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15519 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15520 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15521 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15522 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15523 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15524 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15525 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15526 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15527 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15530 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15531 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15532
da5e0361
JM
155332018-04-23 Joseph Myers <joseph@codesourcery.com>
15534
15535 * elf/elf.h (NT_PPC_PKEY): New macro.
15536
6b5c8607 155372018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15538
15539 [BZ #23094]
15540 * localedata/locales/hr_HR: fix thousands_sep and
15541 mon_thousands_sep
15542
573963e3
JM
155432018-04-20 Joseph Myers <joseph@codesourcery.com>
15544
15545 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15546 (XTABS): Define to TAB3.
15547
c0123b3b
AZ
155482018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15549
0900a849
AZ
15550 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15551
c0123b3b
AZ
15552 * dirent/scandir-tail-common.c: New file.
15553 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15554 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15555 * dirent/scandir.c: Use scandir-tail-common.c.
15556 * dirent/scandirat.c: Likewise.
15557 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15558 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15559 if _DIRENT_MATCHES_DIRENT64 is defined.
15560 * dirent/scandirat64.c (scandirat64): Likewise.
15561 * include/dirent.h (__scandir_tail): Only define iff
15562 _DIRENT_MATCHES_DIRENT64 is not defined.
15563 (__scandir64_tail): Define regardless.
15564 (__scandirat, scandirat64): Remove libc_hidden_proto.
15565 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15566 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15568 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15569 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15570 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15571 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15572
458b94f6
JM
155732018-04-20 Joseph Myers <joseph@codesourcery.com>
15574
15575 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15576 New macro.
15577 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15578 Increase to 24.
15579 (_dl_aarch64_cap_flags): Add asimdfhm.
15580
9f0437e8
CLT
155812018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15582
15583 * sysdeps/nios2/libm-test-ulps: Update.
15584
298d0e31
AZ
155852018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15586
50511ca4
AZ
15587 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15588 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15589
298d0e31
AZ
15590 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15591 requirements.
6b5c8607 15592 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15593 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15594 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15595 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15596 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15597 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15598 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15599 use getdents64 syscalls as base.
15600 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15601 symbol if required.
15602 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15603 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15604 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15605 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15606 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15607 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15608 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15609 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15610 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15611 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15612 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15613
0085be14
SL
156142018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15615
15616 * scripts/test_printers_common.py (init_test): Disable lock elision.
15617
da796524
SL
156182018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15619
15620 * math/test-tgmath.c (count_double, count_float,
15621 count_ldouble, count_cdouble, count_cfloat,
15622 count_cldouble): Use volatile int.
15623
0dd25301
ST
156242018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15625
15626 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15627 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15628 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15629 i386-gnu.
15630 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15631 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15632 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15633 msqid_ds.msg_lrpid): Likewise.
15634 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15635 Likewise.
15636 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15637 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15638 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15639 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15640 unsigned int.
15641 (struct statvfs64): Likewise.
f55a4fde
ST
15642 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15643 Likewise.
77b93390
ST
15644 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15645 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15646 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15647 instead of wait_queue.
15648 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15649 instead of vm_area_struct.
5cd2931a
ST
15650 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15651 struct sched_param definition to it.
e60c3f2b
ST
15652 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15653 * bits/types/struct_sched_param.h: New file.
15654 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15655 <bits/types/struct_sched_param.h> instead of <sched.h>.
15656 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15657 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15658 generic version but include <bits/pthreadtypes.h> to make struct
15659 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15660 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15661 non-compliant.
a564872d
ST
15662 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15663 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15664 [__USE_XOPEN] (OFDEL): New macro.
15665 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15666 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15667 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15668 prototypes.
15669 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15670 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15671 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15672 non-compliant.
15673 * sysdeps/i386/sys/ucontext.h: Likewise.
15674 * sysdeps/m68k/sys/ucontext.h: Likewise.
15675 * sysdeps/mips/sys/ucontext.h: Likewise.
15676 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15677 * sysdeps/mach/hurd/i386/Makefile
15678 (test-xfail-POSIX/fcntl.h/conform): Add.
15679 (test-xfail-POSIX/signal.h/conform): Add.
15680 (test-xfail-POSIX/semaphore.h/conform): Add.
15681 (test-xfail-POSIX/regex.h/conform): Add.
15682 (test-xfail-POSIX/aio.h/conform): Add.
15683 (test-xfail-POSIX/mqueue.h/conform): Add.
15684 (test-xfail-POSIX/sys/types.h/conform): Add.
15685 (test-xfail-UNIX98/fcntl.h/conform): Add.
15686 (test-xfail-UNIX98/netdb.h/conform): Add.
15687 (test-xfail-UNIX98/signal.h/conform): Add.
15688 (test-xfail-UNIX98/semaphore.h/conform): Add.
15689 (test-xfail-UNIX98/regex.h/conform): Add.
15690 (test-xfail-UNIX98/aio.h/conform): Add.
15691 (test-xfail-UNIX98/ftw.h/conform): Add.
15692 (test-xfail-UNIX98/mqueue.h/conform): Add.
15693 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15694 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15695 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15696 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15697 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15698 (test-xfail-UNIX98/sys/types.h/conform): Add.
15699 (test-xfail-UNIX98/stdlib.h/conform): Add.
15700 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15701 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15702 (test-xfail-POSIX2008/netdb.h/conform): Add.
15703 (test-xfail-POSIX2008/signal.h/conform): Add.
15704 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15705 (test-xfail-POSIX2008/regex.h/conform): Add.
15706 (test-xfail-POSIX2008/aio.h/conform): Add.
15707 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15708 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15709 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15710 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15711 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15712 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15713 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15714 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15715 (test-xfail-XOPEN2K/signal.h/conform): Add.
15716 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15717 (test-xfail-XOPEN2K/regex.h/conform): Add.
15718 (test-xfail-XOPEN2K/aio.h/conform): Add.
15719 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15720 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15721 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15722 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15723 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15724 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15725 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15726 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15727 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15728 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15729 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15730 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15731 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15732 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15733 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15734 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15735 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15736 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15737 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15738 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15739 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15740 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15741 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15742 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15743 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15744 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15745 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15746 i386-gnu.
15747 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15748 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15749
d6397de3
JM
157502018-04-18 Joseph Myers <joseph@codesourcery.com>
15751
15752 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15753 --enable-obsolete for powerpc-linux-gnuspe.
15754
8323a902
ST
157552018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15756
3dc0814c 15757 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15758 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15759 prototypes.
c5896a45
ST
15760 * sysdeps/mach/include/mach.h: Likewise.
15761 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15762 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15763
743b9c2a
AZ
157642018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15765
15766 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15767 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15768 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15769 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15770
326e74e7
AS
157712018-04-16 Andreas Schwab <schwab@suse.de>
15772
15773 [BZ #19527]
15774 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15775
6b5c8607 157762018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15777
15778 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15779 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15780
a700e7cb
DD
157812018-04-12 DJ Delorie <dj@redhat.com>
15782
15783 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15784 version to 4.16.
15785
d8abfab7
SL
157862018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15787
15788 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15789 (struct kernel_sigaction): Use the same definition on 31bit as is used
15790 on 64bit.
15791
583a27d5
FW
157922018-04-09 Florian Weimer <fweimer@redhat.com>
15793
15794 [BZ #23037]
15795 * resolv/res_send.c (send_dg): Use designated initializers instead
15796 of assignment to zero-initialize other fields of struct mmsghdr.
15797
243f59e5
AZ
157982018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15799
942de61a
AZ
15800 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15801 __READDIR_ALIAS): Undefine after usage.
15802 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15803 __READDIR_R_ALIAS): Likewise.
15804 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15805 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15806 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15807 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15808 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15809 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15810 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15811 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15812 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15813 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15814 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15815 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15816 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15817 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15818 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15819 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15820 * sysdeps/unix/sysv/linux/readdir.c: New file.
15821 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15822 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15823 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15824
243f59e5
AZ
15825 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15826
690c3475
AS
158272018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15828
15829 * manual/charset.texi (Converting a Character): Fix typo.
15830
6b5c8607 158312018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15832
bbc2062a
AZ
15833 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15834
fa7c6199
AZ
15835 * sysdeps/arm/libm-test-ulps: Update.
15836
b4a5d26d
AZ
15837 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15838 as base implementation.
15839 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15840 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15842 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15843 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15844 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15845 remove unrequired definitions and update comments.
15846 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15847 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15848 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15849 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15850 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15851 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15852 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15853 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15854 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15855 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15856 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15857 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15858 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15859 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15860 and RESET_SA_RESTORER hooks.
15861
db9e55ff
SL
158622018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15863
15864 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15865
cf138b0c
FW
158662018-04-05 Florian Weimer <fweimer@redhat.com>
15867
15868 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15869 integer overflow, memory leak on error, and indeterminate errno
15870 value. Add a null wide character to terminate the result string.
15871 * manual/charset.texi (Converting a Character): Mention embedded
15872 null bytes in the mbrtowc input string. Explain what happens in
15873 the -2 result case. Do not claim that mbrtowc is simple or
15874 obvious to use. Adjust the description of the code example. Use
15875 @code, not @var, for concrete variables.
15876
0f339252
FW
158772018-04-05 Florian Weimer <fweimer@redhat.com>
15878
15879 * manual/examples/mbstouwcs.c: New file.
15880 * manual/charset.texi (Converting a Character): Include it.
15881
e5f9508a
ST
158822018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15883
c120981d
ST
15884 * include/dirent.h (dirfd): Add hidden proto.
15885 * dirent/dirfd.c (dirfd): Add hidden def.
15886 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15887 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15888
b2fd61ca
TMQMF
158892018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15890
15891 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15892 sin, cos and sincos to 1 ULP.
15893
10a446dd
MR
158942018-04-04 Maciej W. Rozycki <macro@mips.com>
15895
e7feec37
MR
15896 [BZ #19818]
15897 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15898 symbols.
15899 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15900 * elf/tst-absolute-sym.c: New file.
15901 * elf/tst-absolute-sym-lib.c: New file.
15902 * elf/tst-absolute-sym-lib.lds: New file.
15903 * elf/Makefile (tests): Add `tst-absolute-sym'.
15904 (modules-names): Add `tst-absolute-sym-lib'.
15905 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15906 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15907 ($(objpfx)tst-absolute-sym): New dependency.
15908
10a446dd
MR
15909 [BZ #19818]
15910 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15911 parameter.
15912 (SYMBOL_ADDRESS): New macro.
15913 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15914 SYMBOL_ADDRESS for symbol address calculation.
15915 * elf/dl-runtime.c (_dl_fixup): Likewise.
15916 (_dl_profile_fixup): Likewise.
15917 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15918 * elf/rtld.c (dl_main): Likewise.
15919 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15920 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15921 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15922 (elf_machine_rela): Likewise.
15923 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15924 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15925 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15926 (elf_machine_rela): Likewise.
15927 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15928 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15929 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15930 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15931 Likewise.
15932 (elf_machine_reloc): Likewise.
15933 (elf_machine_got_rel): Likewise.
15934 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15935 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15936 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15937 Likewise.
15938 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15939 Likewise.
15940 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15941 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15942 Likewise.
15943 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15944 Likewise.
15945 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15947 Likewise.
15948 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15949 Likewise.
15950 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15951 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15952
9185f86d
ZW
159532018-04-04 Zack Weinberg <zackw@panix.com>
15954
15955 * sysdeps/generic/internal-signals.h: Include signal.h,
15956 sigsetops.h, and stdbool.h.
15957 (__libc_signal_block_all): Actually block all signals.
15958 (__libc_signal_block_app): Likewise.
15959 (__libc_signal_restore_set): Actually restore the signal mask.
15960
b07367bc
FW
159612018-04-04 Florian Weimer <fweimer@redhat.com>
15962
15963 inet: Actually build and run tst-deadline.
15964 * inet/Makefile (tests-internal): Add tst-deadline and do not
15965 overwrite the variable.
15966 (tests-static-internal): Remove variable.
15967
f2652643
L
159682018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15969
15970 [BZ #22947]
15971 * bits/uio-ext.h (RWF_APPEND): New.
15972 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15973 * manual/llio.texi: Document RWF_APPEND.
15974 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15975 (RWF_SUPPORTED): Add RWF_APPEND.
15976
6b5c8607 159772018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15978
15979 [BZ #22391]
15980 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15981 check for internal nptl signals.
15982 * nptl/sigaction.c (__sigaction): Likewise.
15983 * signal/sigaddset.c (sigaddset): Likewise.
15984 * signal/sigdelset.c (sigdelset): Likewise.
15985 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15986 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15987 value.
15988 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15989 to filter out internal nptl signals.
15990 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15991 also check realtime signals using standard macros.
15992 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15993 __is_internal_signal, __libc_signal_block_all,
15994 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15995 * sysdeps/nptl/sigfillset.c: Remove file.
15996 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15997 Change return to bool.
15998 (__clear_internal_signals): Remove SIGTIMER clean since it is
15999 equal to SIGCANEL on Linux.
16000 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
16001 signal set was constructed using standard functions.
16002
511ed56f
ST
160032018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
16004
92846492
ST
16005 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
16006 ifname is too long.
e8ef51b1
ST
16007 * hurd/hurdsig.c (interrupted_reply_port_location): Use
16008 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
16009 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
16010 hidden def.
16011 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
16012 * signal/sigaddset.c: Include <sigsetopts.h>.
16013 * signal/sigdelset.c: Likewise.
511ed56f 16014
e88ecbbf
WD
160152018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16016
16017 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
16018 (__cos): Likewise.
16019 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
16020 logic as sin and cos.
16021
aef3e255
WD
160222018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16023
16024 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
16025 inputs. Return correct sign.
16026 (do_sincos): Remove small input check before do_sin, let do_sin set
16027 the sign.
16028 (__sin): Likewise.
16029 (__cos): Likewise.
16030
72f6e9a3
WD
160312018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16032
16033 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
16034 (do_cos_slow): Likewise.
16035 (do_sin_slow): Likewise.
16036 (reduce_and_compute): Likewise.
16037 (slow): Likewise.
16038 (slow1): Likewise.
16039 (slow2): Likewise.
16040 (sloww): Likewise.
16041 (sloww1): Likewise.
16042 (sloww2): Likewise.
16043 (bslow): Likewise.
16044 (bslow1): Likewise.
16045 (bslow2): Likewise.
16046 (cslow2): Likewise.
16047
64909583
WD
160482018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16049
16050 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
16051 (do_cos): Remove corp parameter and calculations.
16052 (do_sin): Likewise.
16053 (do_sincos): Remove cor variable.
16054 (__sin): Use do_sincos for huge inputs.
16055 (__cos): Likewise.
16056 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16057 (reduce_and_compute_sincos): Remove unused function.
16058
d9469deb
WD
160592018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16060
16061 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
16062 reduce_sincos, improve accuracy to 136 bits.
16063 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
16064 (__sin): Use improved reduction and simplified do_sincos calculation.
16065 (__cos): Likewise.
16066 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
16067
7a5640f2
WD
160682018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16069
16070 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
16071 (do_sincos_2): Likewise.
16072 (__sin): Remove middle range reduction case.
16073 (__cos): Likewise.
16074 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
16075 reduction case.
16076
19a8b9a3
WD
160772018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
16078
16079 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
16080 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
16081 inputs.
16082 (__cos): Likewise.
16083 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
16084
f72aa11d
JM
160852018-04-03 Joseph Myers <joseph@codesourcery.com>
16086
16087 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 16088 version to 4.16
f72aa11d 16089
8e4754ed
AZ
160902018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16091
16092 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
16093 Remove definitions.
16094 (opendir_oflags): Use O_DIRECTORY regardless.
16095 (__opendir, __opendirat): Remove need_isdir_precheck usage.
16096 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
16097
8e2666ea
ST
160982018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16099
16100 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
16101 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
16102 macros.
16103 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
16104 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
16105 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
16106 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
16107 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
16108 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 16109
ad2b41bf
ST
16110 * htl/Makefile: Bump licence to LGPL 2.1+.
16111 * htl/alloca_cutoff.c: Likewise.
16112 * htl/cthreads-compat.c: Likewise.
16113 * htl/lockfile.c: Likewise.
16114 * htl/pt-alloc.c: Likewise.
16115 * htl/pt-cancel.c: Likewise.
16116 * htl/pt-cleanup.c: Likewise.
16117 * htl/pt-create.c: Likewise.
16118 * htl/pt-dealloc.c: Likewise.
16119 * htl/pt-detach.c: Likewise.
16120 * htl/pt-exit.c: Likewise.
16121 * htl/pt-getattr.c: Likewise.
16122 * htl/pt-initialize.c: Likewise.
16123 * htl/pt-internal.h: Likewise.
16124 * htl/pt-join.c: Likewise.
16125 * htl/pt-self.c: Likewise.
16126 * htl/pt-setcancelstate.c: Likewise.
16127 * htl/pt-setcanceltype.c: Likewise.
16128 * htl/pt-sigmask.c: Likewise.
16129 * htl/pt-spin-inlines.c: Likewise.
16130 * htl/pt-testcancel.c: Likewise.
16131 * htl/pt-yield.c: Likewise.
16132 * htl/tests/test-1.c: Likewise.
16133 * htl/tests/test-10.c: Likewise.
16134 * htl/tests/test-11.c: Likewise.
16135 * htl/tests/test-12.c: Likewise.
16136 * htl/tests/test-13.c: Likewise.
16137 * htl/tests/test-14.c: Likewise.
16138 * htl/tests/test-15.c: Likewise.
16139 * htl/tests/test-16.c: Likewise.
16140 * htl/tests/test-17.c: Likewise.
16141 * htl/tests/test-2.c: Likewise.
16142 * htl/tests/test-3.c: Likewise.
16143 * htl/tests/test-4.c: Likewise.
16144 * htl/tests/test-5.c: Likewise.
16145 * htl/tests/test-6.c: Likewise.
16146 * htl/tests/test-7.c: Likewise.
16147 * htl/tests/test-8.c: Likewise.
16148 * htl/tests/test-9.c: Likewise.
16149 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
16150 * sysdeps/htl/bits/cancelation.h: Likewise.
16151 * sysdeps/htl/bits/pthread-np.h: Likewise.
16152 * sysdeps/htl/bits/pthread.h: Likewise.
16153 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
16154 * sysdeps/htl/bits/semaphore.h: Likewise.
16155 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
16156 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
16157 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
16158 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
16159 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
16160 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
16161 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
16162 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
16163 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
16164 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
16165 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
16166 * sysdeps/htl/old_pt-atfork.c: Likewise.
16167 * sysdeps/htl/pt-atfork.c: Likewise.
16168 * sysdeps/htl/pt-attr-destroy.c: Likewise.
16169 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
16170 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
16171 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
16172 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
16173 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
16174 * sysdeps/htl/pt-attr-getscope.c: Likewise.
16175 * sysdeps/htl/pt-attr-getstack.c: Likewise.
16176 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
16177 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
16178 * sysdeps/htl/pt-attr-init.c: Likewise.
16179 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
16180 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
16181 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
16182 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
16183 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
16184 * sysdeps/htl/pt-attr-setscope.c: Likewise.
16185 * sysdeps/htl/pt-attr-setstack.c: Likewise.
16186 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
16187 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
16188 * sysdeps/htl/pt-attr.c: Likewise.
16189 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
16190 * sysdeps/htl/pt-barrier-init.c: Likewise.
16191 * sysdeps/htl/pt-barrier-wait.c: Likewise.
16192 * sysdeps/htl/pt-barrier.c: Likewise.
16193 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
16194 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
16195 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
16196 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
16197 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
16198 * sysdeps/htl/pt-cond-destroy.c: Likewise.
16199 * sysdeps/htl/pt-cond-init.c: Likewise.
16200 * sysdeps/htl/pt-cond-signal.c: Likewise.
16201 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
16202 * sysdeps/htl/pt-cond-wait.c: Likewise.
16203 * sysdeps/htl/pt-cond.c: Likewise.
16204 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
16205 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
16206 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
16207 * sysdeps/htl/pt-condattr-init.c: Likewise.
16208 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
16209 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
16210 * sysdeps/htl/pt-destroy-specific.c: Likewise.
16211 * sysdeps/htl/pt-equal.c: Likewise.
16212 * sysdeps/htl/pt-getconcurrency.c: Likewise.
16213 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
16214 * sysdeps/htl/pt-getschedparam.c: Likewise.
16215 * sysdeps/htl/pt-getspecific.c: Likewise.
16216 * sysdeps/htl/pt-init-specific.c: Likewise.
16217 * sysdeps/htl/pt-key-create.c: Likewise.
16218 * sysdeps/htl/pt-key-delete.c: Likewise.
16219 * sysdeps/htl/pt-key.h: Likewise.
16220 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
16221 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
16222 * sysdeps/htl/pt-mutex-init.c: Likewise.
16223 * sysdeps/htl/pt-mutex-lock.c: Likewise.
16224 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
16225 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
16226 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
16227 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
16228 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
16229 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
16230 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
16231 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
16232 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
16233 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
16234 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
16235 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
16236 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
16237 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
16238 * sysdeps/htl/pt-mutexattr.c: Likewise.
16239 * sysdeps/htl/pt-once.c: Likewise.
16240 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
16241 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
16242 * sysdeps/htl/pt-rwlock-init.c: Likewise.
16243 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
16244 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
16245 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
16246 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
16247 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
16248 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
16249 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
16250 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
16251 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
16252 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
16253 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
16254 * sysdeps/htl/pt-setconcurrency.c: Likewise.
16255 * sysdeps/htl/pt-setschedparam.c: Likewise.
16256 * sysdeps/htl/pt-setschedprio.c: Likewise.
16257 * sysdeps/htl/pt-setspecific.c: Likewise.
16258 * sysdeps/htl/pt-spin.c: Likewise.
16259 * sysdeps/htl/pt-startup.c: Likewise.
16260 * sysdeps/htl/pthread.h: Likewise.
16261 * sysdeps/htl/sem-close.c: Likewise.
16262 * sysdeps/htl/sem-destroy.c: Likewise.
16263 * sysdeps/htl/sem-getvalue.c: Likewise.
16264 * sysdeps/htl/sem-init.c: Likewise.
16265 * sysdeps/htl/sem-open.c: Likewise.
16266 * sysdeps/htl/sem-post.c: Likewise.
16267 * sysdeps/htl/sem-timedwait.c: Likewise.
16268 * sysdeps/htl/sem-trywait.c: Likewise.
16269 * sysdeps/htl/sem-unlink.c: Likewise.
16270 * sysdeps/htl/sem-wait.c: Likewise.
16271 * sysdeps/hurd/htl/pt-kill.c: Likewise.
16272 * sysdeps/i386/htl/pt-machdep.h: Likewise.
16273 * sysdeps/mach/htl/pt-block.c: Likewise.
16274 * sysdeps/mach/htl/pt-spin.c: Likewise.
16275 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
16276 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
16277 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
16278 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
16279 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
16280 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
16281 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
16282 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
16283 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
16284 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
16285 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
16286 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
16287 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
16288 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
16289 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
16290 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
16291 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
16292 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
16293 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
16294 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
16295 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
16296 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
16297 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
16298 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
16299 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
16300 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
16301 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
16302 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
16303 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
16304 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
16305 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
16306 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
16307 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
16308 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
16309 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
16310 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
16311 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
16312 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
16313 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
16314 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
16315 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
16316 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
16317 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
16318
fb03b04b
ST
16319 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
16320 * README: Remove the mention of out-of-tree patches needed for
16321 GNU/Hurd.
16322
fa9e1555
ST
16323 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
16324 (UTIME_NOW, UTIME_OMIT): Define macros.
16325
f6fb29d2
ST
16326 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
16327 instead of pthread_detach.
16328 (__cthread_fork): Call __pthread_create instead of pthread_create.
16329 (__cthread_keycreate): Call __pthread_key_create instead of
16330 pthread_key_create.
16331 (__cthread_getspecific): Call __pthread_getspecific instead of
16332 pthread_getspecific.
16333 (__cthread_setspecific): Call __pthread_setspecific instead of
16334 pthread_setspecific.
16335 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16336 __pthread_mutex_unlock instead of pthread_mutex_lock and
16337 pthread_mutex_unlock.
16338 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16339 ___pthread_get_cleanup_stack.
16340 (__pthread_get_cleanup_stack): New strong alias.
16341 * htl/pt-create.c: Include <pthreadP.h>.
16342 (entry_point): Call __pthread_exit instead of pthread_exit.
16343 (pthread_create): Rename to __pthread_create.
16344 (pthread_create): New strong alias.
16345 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16346 (pthread_detach): New strong alias.
16347 (__pthread_detach): Call __pthread_cond_broadcast instead of
16348 pthread_cond_broadcast.
fe9748cc
ST
16349 * htl/pt-exit.c: Include <pthreadP.h>.
16350 (__pthread_exit): Call __pthread_setcancelstate and
16351 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16352 __pthread_get_cleanup_stack.
f6fb29d2
ST
16353 * htl/pt-testcancel.c: Include <pthreadP.h>.
16354 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16355 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16356 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16357 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16358 pthread_attr_getstacksize.
16359 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16360 Rename to __pthread_attr_getstackaddr.
16361 (pthread_attr_getstackaddr): New strong alias.
16362 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16363 Rename to __pthread_attr_getstacksize.
16364 (pthread_attr_getstacksize): New strong alias.
16365 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16366 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16367 (pthread_attr_setstack): New strong alias.
16368 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16369 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16370 pthread_attr_getstacksize, pthread_attr_setstacksize and
16371 pthread_attr_setstackaddr.
16372 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16373 Rename to __pthread_attr_setstackaddr.
16374 (pthread_attr_setstackaddr): New strong alias.
16375 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16376 Rename to __pthread_attr_setstacksize.
16377 (pthread_attr_setstacksize): New strong alias.
16378 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16379 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16380 pthread_exit.
16381 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16382 (__pthread_key_create): New hidden def.
16383 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16384 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16385 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16386 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16387 __pthread_setspecific, __pthread_setcancelstate,
16388 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16389 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16390 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16391 declarations.
16392 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16393 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16394 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16395 (pthread_attr_setstackaddr): New strong alias.
16396 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16397 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16398 (pthread_attr_setstacksize): New strong alias.
16399 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16400 (call_exit): Call __pthread_exit instead of pthread_exit.
16401 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16402 (_pthread_mutex_init): New hidden definition.
16403 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16404 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16405 instead of pthread_attr_init and pthread_attr_setstack.
16406
dba2bdbe
ST
16407 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16408 __vm_deallocate instead of vm_allocate and vm_deallocate.
16409 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16410 setenv.
16411 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16412 of geteuid.
16413 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16414 strdup.
16415 * hurd/siginfo.c: Include <libioP.h>.
16416 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16417 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16418 munmap.
dba2bdbe
ST
16419 * mach/devstream.c: Include <libioP.h>.
16420 (dealloc_ref): Call __mach_port_deallocate instead of
16421 mach_port_deallocate.
16422 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16423 Call __mach_port_deallocate instead of mach_port_deallocate.
16424 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16425 pathconf.
16426 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16427 munmap.
16428 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16429 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16430 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16431 of munmap.
16432 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16433 of close.
16434 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16435 instead of sysconf.
16436 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16437 __clock_gettime instead of clock_gettime.
16438 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16439 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16440 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16441 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16442 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16443 tcgetattr.
16444 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16445 __clock_gettime and __nanosleep instead of clock_gettime and
16446 nanosleep.
7a8f45e3
ST
16447 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16448 __hurd_catch_signal.
16449 (hurd_catch_signal): New strong alias.
16450 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16451 __hurd_catch_signal instead of hurd_catch_signal.
16452 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16453 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16454 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16455 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16456 (_hurd_thread_sigstate): Add hidden def.
16457 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16458 mutex_unlock.
16459 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16460 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16461 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16462 __hurd_file_name_path_lookup.
16463 (hurd_file_name_path_lookup): New strong alias.
16464 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16465 hurd_file_name_path_lookup.
16466 * mach/errstring.c (mach_error_type): Add hidden def.
16467 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16468 * mach/mutex-init.c (__mutex_init): Add hidden def.
16469 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16470 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16471 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16472 * sysdeps/mach/hurd/getcwd.c
16473 (_hurd_canonicalize_directory_name_internal): Rename to
16474 __hurd_canonicalize_directory_name_internal.
16475 (_hurd_canonicalize_directory_name_internal): New strong alias.
16476 (__canonicalize_directory_name_internal, __getcwd): Call
16477 __hurd_canonicalize_directory_name_internal instead of
16478 _hurd_canonicalize_directory_name_internal.
16479 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16480 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16481 hidden defs.
16482 * sysdeps/hurd/include/hurd.h: New file.
16483 * sysdeps/hurd/include/hurd/fd.h: New file.
16484 * sysdeps/hurd/include/hurd/signal.h: New file.
16485 * sysdeps/mach/include/lock-intern.h: New file.
16486 * sysdeps/mach/include/mach.h: New file.
16487 * sysdeps/mach/include/mach/mig_support.h: New file.
16488 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16489 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16490 prototype.
16491 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16492 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16493 _HEADER_H_HIDDEN_DEF macro.
16494 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16495 _hurd_fd_error_signal): Add hidden prototype.
16496 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16497 hidden def.
82dbf555
ST
16498 * libio/iolibio.h (_IO_puts): New hidden prototype.
16499 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16500 * sysdeps/mach/hurd/localplt.data: New file.
16501
33574c17 165022018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16503 Amos Jeffries <squid3@treenet.co.nz>
16504 David Michael <fedora.dm0@gmail.com>
16505 Marco Gerards <marco@gnu.org>
16506 Marcus Brinkmann <marcus@gnu.org>
16507 Neal H. Walfield <neal@gnu.org>
16508 Pino Toscano <toscano.pino@tiscali.it>
16509 Richard Braun <rbraun@sceen.net>
16510 Roland McGrath <roland@gnu.org>
16511 Samuel Thibault <samuel.thibault@ens-lyon.org>
16512 Thomas DiModica <ricinwich@yahoo.com>
16513 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16514
16515 * htl: New directory.
16516 * sysdeps/htl: New directory.
16517 * sysdeps/hurd/htl: New directory.
16518 * sysdeps/i386/htl: New directory.
16519 * sysdeps/mach/htl: New directory.
16520 * sysdeps/mach/hurd/htl: New directory.
16521 * sysdeps/mach/hurd/i386/htl: New directory.
16522 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16523 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16524 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16525
03e2aa50
ST
165262018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16527
16528 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16529 signals in thread created for runing timers.
16530
1aa52ced
FW
165312018-04-01 Florian Weimer <fweimer@redhat.com>
16532
16533 * support/support_format_addrinfo.c (support_format_addrinfo):
16534 Include unknown error number in formatted result.
16535
4d76d3e5
FW
165362018-03-29 Florian Weimer <fweimer@redhat.com>
16537
16538 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16539 capture SIGBUS.
16540
d39c0a45
AZ
165412018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16542
16543 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16544 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16545 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16546 (__ASSUME_CLONE_BACKWARDS): Define.
16547
cc8a1620
JH
165482018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16549
57408435 16550 [BZ #23024]
cc8a1620
JH
16551 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16552 early when linux sentinel value is set.
16553
8bfd94d0
ST
165542018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16555
16556 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16557
f178e59f
AS
165582018-03-27 Andreas Schwab <schwab@suse.de>
16559
16560 [BZ #23005]
16561 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16562 allocation of private copy of nsaddr_list fails.
16563
5f45f96a
JM
165642018-03-26 Joseph Myers <joseph@codesourcery.com>
16565
16566 [BZ #16552]
16567 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16568 * sysdeps/unix/sysv/linux/umount.c: ... here.
16569 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16570 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16571 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16572 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16574 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16575 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16576
3dfd23eb
AS
165772018-03-26 Andreas Schwab <schwab@suse.de>
16578
16579 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16580 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16581 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16582 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16583 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16584 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16585 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16586 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16587 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16588 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16589 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16590 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16591 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16592 (R_RISCV_NUM): Define.
16593
fa97d2ab
ST
165942018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16595
16596 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16597 TLS declaration of errno.
37be82a0
ST
16598 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16599 __libc_setup_tls.
16600 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16601 (ARCH_SETUP_TLS): Likewise.
16602 * sysdeps/mach/hurd/libc-start.h: New file copied from
16603 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16604 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16605 instead of __libc_setup_tls.
37be82a0 16606 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16607 __libc_setup_tls before initializing libpthread and running _hurd_init
16608 which starts the signal thread.
16609 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16610 Declare function.
2d813d7b 16611 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16612
b8114edd
L
166132018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16614
16615 [BZ #22998]
16616 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16617 after it is defined.
16618
cd66c0e5
AS
166192018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16620 Max Horn <max@quendi.de>
16621
16622 [BZ #22644]
43d4f3d5 16623 CVE-2017-18269
cd66c0e5
AS
16624 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16625 branch conditions.
16626 * string/test-memmove.c (do_test2): New testcase.
16627
a4406139
JM
166282018-03-22 Joseph Myers <joseph@codesourcery.com>
16629
16630 * sysdeps/generic/frame.h: Remove file.
16631 * sysdeps/arm/frame.h: Likewise.
16632 * sysdeps/hppa/frame.h: Likewise.
16633 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16634 macro.
16635 (GET_FRAME): Likewise.
16636 (GET_STACK): Likewise.
16637 (CALL_SIGHANDLER): Likewise.
16638 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16639 Likewise.
16640 (GET_FRAME): Likewise.
16641 (GET_STACK): Likewise.
16642 (CALL_SIGHANDLER): Likewise.
16643 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16644 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16645 (GET_FRAME): Likewise.
16646 (GET_STACK): Likewise.
16647 (CALL_SIGHANDLER): Likewise.
16648 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16649 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16650 (GET_FRAME): Likewise.
16651 (GET_STACK): Likewise.
16652 (ADVANCE_STACK_FRAME): Likewise.
16653 (CALL_SIGHANDLER): Likewise.
16654 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16655 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16656 (GET_FRAME): Likewise.
16657 (GET_STACK): Likewise.
16658 (CALL_SIGHANDLER): Likewise.
16659 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16660 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16661 (GET_FRAME): Likewise.
16662 (GET_STACK): Likewise.
16663 (CALL_SIGHANDLER): Likewise.
16664 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16665 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16666 (GET_FRAME): Likewise.
16667 (GET_STACK): Likewise.
16668 (CALL_SIGHANDLER): Likewise.
16669 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16670 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16671 (GET_FRAME): Likewise.
16672 (GET_STACK): Likewise.
16673 (CALL_SIGHANDLER): Likewise.
16674 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16675 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16676 (GET_FRAME): Likewise.
16677 (GET_STACK): Likewise.
16678 (CALL_SIGHANDLER): Likewise.
16679 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16680 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16681 (GET_FRAME): Likewise.
16682 (GET_STACK): Likewise.
16683 (CALL_SIGHANDLER): Likewise.
16684 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16685 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16686 (GET_FRAME): Likewise.
16687 (GET_STACK): Likewise.
16688 (CALL_SIGHANDLER): Likewise.
16689 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16690 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16691 (GET_FRAME): Likewise.
16692 (GET_STACK): Likewise.
16693 (CALL_SIGHANDLER): Likewise.
16694 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16695 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16696 (GET_FRAME): Likewise.
16697 (GET_STACK): Likewise.
16698 (CALL_SIGHANDLER): Likewise.
16699 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16700 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16701 (FIRST_FRAME_POINTER): Likewise.
16702 (ADVANCE_STACK_FRAME): Likewise.
16703 (GET_STACK): Likewise.
16704 (GET_FRAME): Likewise.
16705 (CALL_SIGHANDLER): Likewise.
16706 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16707 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16708 (ADVANCE_STACK_FRAME): Likewise.
16709 (GET_STACK): Likewise.
16710 (GET_FRAME): Likewise.
16711 (CALL_SIGHANDLER): Likewise.
16712 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16713 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16714 (GET_FRAME): Likewise.
16715 (GET_STACK): Likewise.
16716 (CALL_SIGHANDLER): Likewise.
16717 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16718 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16719 (GET_FRAME): Likewise.
16720 (GET_STACK): Likewise.
16721 (CALL_SIGHANDLER): Likewise.
16722
ffec7b27
JM
167232018-03-21 Joseph Myers <joseph@codesourcery.com>
16724
16725 * sysdeps/x86_64/backtrace.c: Move to ....
16726 * debug/backtrace.c: ... here.
16727 * sysdeps/aarch64/backtrace.c: Remove file.
16728 * sysdeps/alpha/backtrace.c: Likewise.
16729 * sysdeps/hppa/backtrace.c: Likewise.
16730 * sysdeps/ia64/backtrace.c: Likewise.
16731 * sysdeps/mips/backtrace.c: Likewise.
16732 * sysdeps/nios2/backtrace.c: Likewise.
16733 * sysdeps/riscv/backtrace.c: Likewise.
16734 * sysdeps/sh/backtrace.c: Likewise.
16735 * sysdeps/tile/backtrace.c: Likewise.
16736
8a07b0c4
JM
167372018-03-20 Joseph Myers <joseph@codesourcery.com>
16738
d0c5d731
JM
16739 [BZ #22987]
16740 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16741 function.
16742 (fdimf): Likewise.
16743 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16744
8a07b0c4
JM
16745 [BZ #17343]
16746 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16747 possibly overflowing computations.
16748
ceb54b9b
ST
167492018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16750
16751 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16752 values from Linux-specific section now that it is in the GNU section.
16753 * sysdeps/gnu/errlist.c: Regenerate.
16754
8d3f9e85
JM
167552018-03-20 Joseph Myers <joseph@codesourcery.com>
16756
16757 * math/Makefile (libm-narrow-fns): Add sub.
16758 (libm-test-funcs-narrow): Likewise.
16759 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16760 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16761 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16762 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16763 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16764 (NARROW_SUB_TRIVIAL): Likewise.
16765 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16766 macro.
16767 (__dsubl): Likewise.
16768 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16769 dsub.
16770 (CFLAGS-nldbl-dsub.c): New variable.
16771 (CFLAGS-nldbl-fsub.c): Likewise.
16772 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16773 __nldbl_dsubl.
16774 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16775 prototype.
16776 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16777 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16778 * math/auto-libm-test-in: Add tests of sub.
16779 * math/auto-libm-test-out-narrow-sub: New generated file.
16780 * math/libm-test-narrow-sub.inc: New file.
16781 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16782 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16783 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16784 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16785 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16786 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16787 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16788 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16789 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16790 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16791 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16792 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16793 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16794 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16795 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16796 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16797 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16798 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16800 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16801 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16802 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16803 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16804 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16805 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16806 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16807 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16808 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16809 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16810 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16811 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16812 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16817 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16818 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16819 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16820 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16821 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16822 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16823 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16824 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16825 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16826 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16827
d473f015
JM
168282018-03-19 Joseph Myers <joseph@codesourcery.com>
16829
16830 [BZ #20079]
16831 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16832
fbce6f72
WD
168332018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16834
16835 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16836
72e7ffc3
RB
168372018-03-18 Richard Braun <rbraun@sceen.net>
16838
16839 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16840 thread reference.
16841
542c20a1
AA
168422018-03-18 Agustina Arzille <avarzille@riseup.net>
16843
16844 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16845 (__libc_cleanup_fct): Define function.
16846 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16847 __libc_cleanup_end): Rewrite implementation using
16848 __attribute__ ((__cleanup__)).
16849 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16850 * hurd/Makefile (routines): Add hurdlock.
16851 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16852 interface.
16853 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16854 * hurd/hurdpid.c: Include <lowlevellock.h>
16855 (_S_msg_proc_newids): Use lll_wait to synchronize.
16856 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16857 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16858 * mach/Makefile (lock-headers): Remove machine-lock.h.
16859 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16860 <machine-lock.h>.
16861 (__spin_lock_t): New type.
16862 (__SPIN_LOCK_INITIALIZER): New macro.
16863 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16864 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16865 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16866 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16867 (__mutex_init): Initialize with lll.
16868 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16869 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16870 needing lll.
16871 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16872 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16873 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16874 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16875 (__setpgid): Use lll for synchronization.
16876 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16877 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16878 instead of <cthreads.h>.
16879 (_IO_lock_inexpensive): New macro
16880 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16881 (__libc_lock_self0): New declaration.
16882 (__libc_lock_owner_self): New macro.
16883 (__libc_key_t): Remove type.
16884 (_LIBC_LOCK_INITIALIZER): New macro.
16885 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16886 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16887 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16888 __libc_lock_define_initialized_recursive,
16889 __rtld_lock_define_initialized_recursive,
16890 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16891 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16892 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16893 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16894 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16895 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16896 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16897 New macros.
16898 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16899 * hurd/hurdlock.c: New file.
16900 * hurd/hurdlock.h: New file.
16901 * mach/lowlevellock.h: New file
542c20a1 16902
9a37922e
ST
169032018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16904
16905 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16906 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16907 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16908 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16909 path when flags contains O_NOFOLLOW.
16910 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16911 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16912 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16913 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16914 * sysdeps/mach/hurd/mlockall.c: New file.
16915 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16916
34e6a869
ST
169172018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16918
16919 * hurd/hurdsig.c: Include <pthread.h>.
16920 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16921 get the signal thread stack layout.
dc33bef3
ST
16922 * hurd/Makefile (headers): Remove threadvar.h.
16923 (inline-headers): Remove threadvar.h.
16924 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16925 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16926 __hurd_threadvar_max, __hurd_errno_location.
16927 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16928 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16929 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16930 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16931 unless TLS is not initialized yet, in which case we do not need a
16932 critical section yet anyway.
16933 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16934 <machine-sp.h>.
16935 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16936 declarations.
16937 (__hurd_threadvar_index): Remove enum.
16938 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16939 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16940 inlines.
16941 (__hurd_reply_port0): New variable declaration.
16942 (__hurd_local_reply_port): New macro.
16943 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16944 (interrupted_reply_port_location): Add thread_t parameter. Use it
16945 with THREAD_TCB to access thread-local variables.
16946 (_hurdsig_abort_rpcs): Pass ss->thread to
16947 interrupted_reply_port_location.
16948 (_hurd_internal_post_signal): Likewise.
16949 (_hurdsig_init): Use presence of cthread_fork instead of
16950 __hurd_threadvar_stack_mask to start signal thread by hand.
16951 Remove signal thread threadvar initialization.
16952 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16953 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16954 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16955 of threadvar.
16956 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16957 __libc_lock_self0.
16958 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16959 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16960 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16961 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16962 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16963 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16964 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16965 define variables.
16966 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16967 <hurd/threadvar.h>.
16968 [IS_IN(rtld)] (rtld_errno): New variable.
16969 [IS_IN(rtld)] (__errno_location): New weak function.
16970 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16971 * sysdeps/mach/hurd/errno.c: Remove file.
16972 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16973 (__fork): Remove THREADVAR_SPACE macro and its use.
16974 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16975 variable.
16976 (init): Do not initialize threadvar.
16977 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16978 symbol.
16979 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16980 __hurd_local_reply_port instead of threadvar.
16981 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16982 _hurd_sigstate fields.
16983 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16984 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16985 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16986 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16987 instead of threadvar.
16988 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16989 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16990 (use_threadvar, global_reply_port): Remove variables.
16991 (__hurd_reply_port0): New variable.
16992 (__mig_get_reply_port): Use __hurd_local_reply_port and
16993 __hurd_reply_port0 instead of threadvar.
16994 (__mig_dealloc_reply_port): Likewise.
16995 (__mig_init): Do not initialize threadvar.
16996 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16997 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16998 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16999 cthread_keycreate, cthread_getspecific, cthread_setspecific to
17000 __cthread_fork, __cthread_detach, __pthread_getattr_np,
17001 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
17002 __cthread_setspecific.
17003 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
17004 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
17005 __cthread_t instead of cthread_fork, cthread_detach,
17006 pthread_getattr_np, pthread_attr_getstack.
17007 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
17008 __cthread_keycreate.
17009 (cthread_getspecific): Rename to __cthread_getspecific.
17010 (cthread_setspecific): Rename to __cthread_setspecific.
17011 (__libc_getspecific): Use __cthread_getspecific instead of
17012 cthread_getspecific.
17013 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
17014 __cthread_keycreate instead of cthread_keycreate.
17015 (__libc_setspecific): Use __cthread_setspecific instead of
17016 cthread_setspecific.
17017 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
17018 Likewise.
dd28d4ba
ST
17019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
17020 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
17021 testing whether it is defined.
34e6a869 17022
f8baf2a2
ST
170232018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
17024
17025 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
17026 Define macro.
17027 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
17028 * sysdeps/mach/i386/thread_state.h
17029 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
17030 i386_THREAD_STATE.
17031 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
17032 i386_THREAD_STATE.
17033 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
17034
17035 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
17036 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
17037
17038 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
17039 macros.
17040 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
17041 descriptor instead of creating a new one.
17042 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
17043
17044 * mach/setup-thread.c: Include <ldsodefs.h>.
17045 (__mach_setup_thread): Call _dl_allocate_tls, pass
17046 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
17047 MACHINE_THREAD_STATE_FLAVOR, before getting
17048 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
17049 MACHINE_THREAD_STATE_FLAVOR with the result.
17050 * hurd/hurdfault.c (_hurdsig_fault_init): Call
17051 MACHINE_THREAD_STATE_FIX_NEW.
17052 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
17053 too. Add original thread parameter.
17054
34ba96b8
JM
170552018-03-16 Joseph Myers <joseph@codesourcery.com>
17056
5d75b75f
JM
17057 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
17058 Remove inline function.
17059
34ba96b8
JM
17060 * sysdeps/i386/fpu/libm-test-ulps: Update.
17061 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
17062
22679b2c
WD
170632018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
17064
17065 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
17066 commit.
17067
c429a8d8
JM
170682018-03-15 Joseph Myers <joseph@codesourcery.com>
17069
17070 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
17071 (__sincos_code): Remove define and undefine.
17072 [__FAST_MATH__] (__sincos): Remove inline function.
17073 [__FAST_MATH__] (__sincosf): Remove inline function.
17074 [__FAST_MATH__] (__sincosl): Remove inline function.
17075 (__atan2l): Remove inline functions.
17076 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
17077 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
17078 function.
17079 (floor): Remove inline function.
17080 (ceil): Likewise.
17081 [__FAST_MATH__] (__ldexp_code): Remove macro.
17082 [__FAST_MATH__] (ldexp): Remove inline function.
17083 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
17084 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
17085 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
17086 [__USE_ISOC99] (__lrint_code): Remove macro.
17087 [__USE_ISOC99] (__llrint_code): Likewise.
17088 [__USE_ISOC99] (lrintf): Remove inline function.
17089 [__USE_ISOC99] (lrint): Likewise.
17090 [__USE_ISOC99] (lrintl): Likewise.
17091 [__USE_ISOC99] (llrint): Likewise.
17092 [__USE_ISOC99] (llrintf): Likewise.
17093 [__USE_ISOC99] (llrintl): Likewise.
17094
700593fd
WD
170952018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17096
17097 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
17098 (__ieee754_sqrtf): Remove.
17099 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
17100 (__ieee754_sqrtf): Remove.
17101 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
17102 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17103 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
17104 (__ieee754_sqrtf): Remove.
17105 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
17106 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
17107 (sqrtf): Remove.
17108 (sqrtl): Remove.
17109 (__ieee754_sqrt): Remove.
17110 (__ieee754_sqrtf): Remove.
17111 (__ieee754_sqrtl): Remove.
17112 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
17113 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
17114 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
17115 (__ieee754_sqrtf): Remove.
17116 (__ieee754_sqrtl): Remove.
17117
f67a8147
WD
171182018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17119
17120 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
17121 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
17122 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17123 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
17124 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
17125 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17126 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17127 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17128 Likewise.
17129 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
17130 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
17131 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
17132 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
17133 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
17134 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
17135 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17136 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
17137 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
17138 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17139 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
17140 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
17141 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
17142 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
17143 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
17144 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17145 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17146 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
17147 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
17148 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
17149 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
17150 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
17151 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
17152 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
17153 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
17154 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
17155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17156 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
17157 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
17158 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
17159 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
17160 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
17161 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
17162 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
17163 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17164 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17165 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
17166 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
17167 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
17168 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
17169
1294b189
WD
171702018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17171
17172 * include/math.h (sqrt): Declare with asm redirect.
17173 (sqrtf): Likewise.
17174 (sqrtl): Likewise.
17175 (sqrtf128): Likewise.
17176 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
17177 nonlib and libnldbl with -fmath-errno.
17178 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
17179 * math/w_sqrt_template.c: Likewise.
17180 * math/w_sqrtf_compat.c: Likewise.
17181 * math/w_sqrtl_compat.c: Likewise.
17182 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
17183 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
17184 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
17185 complex.h.
17186
f1c8185d
WD
171872018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
17188
17189 * benchtests/Makefile: Define _ISOMAC.
17190 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
17191 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
17192 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
17193 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
17194 * benchtests/bench-timing.h: Define attribute_hidden.
17195
b47c3e76
SP
171962018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
17197
17198 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
17199 mov + lsr.
17200
807fee29
RL
172012018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17202
17203 [BZ #22963]
17204 * localedata/locales/cs_CZ (mon): Rename to...
17205 (alt_mon): This.
17206 (mon): Import from CLDR (genitive case).
17207
e7155a28
RL
172082018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17209
17210 [BZ #22937]
17211 * localedata/locales/el_CY (abmon): Rename to...
17212 (ab_alt_mon): This.
17213 (abmon): Import from CLDR (abbreviated genitive case).
17214 * localedata/locales/el_GR (abmon): Rename to...
17215 (ab_alt_mon): This.
17216 (abmon): Import from CLDR (abbreviated genitive case).
17217
71d7b121
RL
172182018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
17219
17220 [BZ #22932]
17221 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
17222
a00bffe8
RB
172232018-03-15 Robert Buj <robert.buj@gmail.com>
17224
17225 [BZ #22848]
17226 * localedata/locales/ca_ES (abmon): Rename to...
17227 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
17228 (mon): Rename to...
17229 (alt_mon): This.
17230 (abmon): Import from CLDR (genitive case, month names preceded by
17231 "de" or "d’").
17232 (mon): Likewise.
17233 (abday): Synchronize with CLDR.
17234 (d_t_fmt): Likewise.
17235 (d_fmt): Likewise.
17236 (am_pm): Likewise.
17237
17238 (LC_TIME): Improve indentation.
17239 (LC_TELEPHONE): Likewise.
17240 (LC_NAME): Likewise.
17241 (LC_ADDRESS): Likewise.
17242
f9555d73
JM
172432018-03-14 Joseph Myers <joseph@codesourcery.com>
17244
17245 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
17246 (lrintf): Remove definitions used only with old GCC.
17247 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
17248 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
17249 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
17250 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
17251 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
17252 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
17253 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
17254 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
17255 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
17256 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
17257 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
17258 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
17259 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
17260 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
17261 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
17262 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
17263 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
17264 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
17265 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
17266 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
17267 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
17268 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
17269 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
17270 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
17271 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
17272 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
17273 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
17274 [__FAST_MATH__] (__M_SQRT2): Remove macro.
17275
d46f84de
SP
172762018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
17277
17278 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
17279 instruction to unbreak builds with binutils 2.26 and older.
17280
7108f1f9
SP
172812018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
17282
17283 * sysdeps/aarch64/strncmp.S (count): New macro.
17284 (strncmp): Store misaligned length in SRC1 in COUNT.
17285 (mutual_align): Adjust.
17286 (misaligned8): Load dword at a time when it is safe.
17287
2cc7bad0
ZW
172882018-03-12 Zack Weinberg <zackw@panix.com>
17289
17290 [BZ #1190]
17291 [BZ #19476]
17292 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
17293 if the _IO_EOF_SEEN bit is already set; update commentary.
17294 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
17295 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
17296
17297 * support/support_openpty.c, support/tty.h: New files.
17298 * support/Makefile (libsupport-routines): Add support_openpty.
17299
17300 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
17301 New test cases.
17302 * libio/Makefile (tests): Add tst-fgetc-after-eof.
17303 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
17304
778f1974
DL
173052018-03-12 Dmitry V. Levin <ldv@altlinux.org>
17306
17307 * po/pt_BR.po: Update translations.
17308
6b5c8607 173092018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
17310
17311 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
17312 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
17313 get a port to the startup server.
17314
d3da750d
ZW
173152018-03-11 Zack Weinberg <zackw@panix.com>
17316
17317 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
17318 before nldbl-compat.h.
17319
054b72cc
ZW
173202018-03-10 Zack Weinberg <zackw@panix.com>
17321
0d13dfa1
ZW
17322 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
17323 math.h or math_private.h.
17324
17325 * sysdeps/alpha/fpu/s_isnan.c
17326 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
17327 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
17328 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17329 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17330 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17331 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17332 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17333 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17334 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17336 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17337 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17338 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17339 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17340 Include math_private.h.
17341
17342 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17343 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17344 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17345 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17346 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17347 * sysdeps/powerpc/power7/fpu/s_logb.c:
17348 Include math.h and math_private.h.
17349
054b72cc
ZW
17350 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17351 uses of $at in .set noat / .set at.
17352
6253bacd
L
173532018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17354
17355 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17356 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17357 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17358 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17359 Likewise.
17360
229855e5
FW
173612018-03-09 Florian Weimer <fweimer@redhat.com>
17362
17363 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17364 in comment.
17365
9aa5c222
AJ
173662018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17367
17368 [BZ #22919]
17369 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17370 Add nop before __startcontext, add explaining comments.
17371
3dc21497
AZ
173722018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17373
e921c89e
AZ
17374 [BZ #22926]
17375 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17376 empty for __SPE__.
17377 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17378 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17379 Do not build hardware transactional code for __SPE__.
17380 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17381 (__lll_trylock_elision): Likewise.
17382 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17383 (__lll_unlock_elision): Likewise.
17384
d9f26dab 17385 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17386 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17387 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17388 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17389 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17390 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17391 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17392 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17393 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17394 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17395 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17396 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17397 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17398 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17399 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17400 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17401 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17402 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17403 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17404 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17405 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17406 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17407 (__ASSUME_CLONE_BACKWARDS): Define.
17408 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17409 __clone2 if __NR_clone2 is defined.
17410 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17411 (__ASSUME_CLONE_BACKWARDS): Likewise.
17412 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17413 (__ASSUME_CLONE_BACKWARDS): Likewise.
17414 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17415 (__ASSUME_CLONE2): Likewise.
17416 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17417 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17418 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17419 variants and the define architecture can use.
17420 (__ASSUME_CLONE_DEFAULT): Define as default.
17421 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17422 (__ASSUME_CLONE_BACKWARDS): Likewise.
17423 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17424 (__ASSUME_CLONE_BACKWARDS): Likewise.
17425 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17426 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17427
adc95fb0
SP
174282018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17429
4e54d918
SP
17430 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17431
30a81dae
SP
17432 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17433 time.
17434
adc95fb0
SP
17435 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17436 (do_test_limit): Likewise.
17437
17438 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17439 for every implementation.
17440 (do_test): Likewise.
17441
17442 * benchtests/bench-strncmp.c: Convert output to json.
17443
4e9066bc
ST
174442018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17445
17446 * io/futimens.c: Add missing start-of-file descriptive comment.
17447 * io/utime.c: Likewise.
17448 * misc/futimesat.c: Likewise.
17449 * misc/utimes.c: Likewise.
17450 * sysdeps/mach/hurd/futimesat.c: Likewise.
17451 * sysdeps/mach/hurd/utimes.c: Likewise.
17452 * sysdeps/posix/utime.c: Likewise.
17453 * sysdeps/posix/utimes.c: Likewise.
17454 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17455 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17456 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17457 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17458
ec1300cf
ST
174592018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17460
17461 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17462 hurd_futimes.
17463 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17464 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17465 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17466 (__futimens): Move implementation to...
17467 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17468 utime_tvalue_from_tspec): ... new helper functions.
17469 (hurd_futimens): New function.
17470 * sysdeps/mach/hurd/futimesat.c: New file.
17471 * sysdeps/mach/hurd/utimensat.c: New file.
17472
bbe762d1
FC
174732018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17474
17475 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17476 UTIME_OMIT): New macros.
17477 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17478 before reverting to converting time spec to time value and calling
17479 __file_utimes.
17480 * sysdeps/mach/hurd/utime-helper.c: New file.
17481 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17482 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17483 reverting to utime_tvalue_from_tval and __file_utimes.
17484 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17485 (__lutimes): Just call hurd_futimens after lookup.
17486 * sysdeps/mach/hurd/utimes.c: Likewise.
17487
a1ede3a4
ST
174882018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17489
17490 * bits/sigaction.h: Add include guard.
17491 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17492 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17493 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17494 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17495 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17496 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17497 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17498 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17499 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17500
6900d2ca
JM
175012018-03-05 Joseph Myers <joseph@codesourcery.com>
17502
17503 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17504 -Wmaybe-uninitialized for -Os.
17505 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17506 this disabling.
17507
68448be2
AZ
175082018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17509
5226a81f
AZ
17510 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17511 __INO_T_MATCHES_INO64_T is defined.
17512 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17513 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17514 of definition.
17515 * dirent/alphasort64.c: Likewise.
17516 * dirent/scandir.c: Likewise.
17517 * dirent/scandir64-tail.c: Likewise.
17518 * dirent/scandir64.c: Likewise.
17519 * dirent/scandirat.c: Likewise.
17520 * dirent/scandirat64.c: Likewise.
17521 * dirent/versionsort.c: Likewise.
17522 * dirent/versionsort64.c: Likewise.
17523 * include/dirent.h: Likewise.
17524
fbd01e6c
AZ
17525 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17526 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17527 for socketpair endpoint.
17528 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17529 WRITE_BUFFER_SIZE as buffer size for sending socket.
17530 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17531 issue on system where send is implemented with sendto syscall.
17532 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17533 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17534 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17535 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17536
68448be2
AZ
17537 [BZ #21269]
17538 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17539 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17540 sa_restorer for vDSO case.
17541 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17542
eb1ca47e
ST
175432018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17544
17545 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17546 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17547 * hurd/hurd/ioctl.h: Include <mach/port.h>
17548 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17549 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17550 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17551 (headers): Move mach/param.h to bits/mach/param.h.
17552 * sysdeps/mach/i386/mach/param.h: Move file to ...
17553 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17554 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17555 of <mach/param.h>.
3403cb7d
ST
17556 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17557 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17558 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17559 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17560 trivial, for C++ conformity.
44c6376c 17561 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17562 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17563 Process mig output through $(migheadersed).
17564 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17565 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17566 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17567 headers.
ba89615d
ST
17568 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17569 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17570 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17571 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17572 <bits/types/sigset_t.h>.
17573 [!defined __USE_GNU]: Do not #error out.
17574 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17575 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17576 Include <stddef.h> and <bits/types/sigset_t.h>
17577 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17578 instead of sighandler_t.
974393ea
ST
17579 * stdlib/errno.h (error_t): Move definition to...
17580 * bits/types/error_t.h: ... new header.
17581 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17582 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17583 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17584 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17585 * hurd/hurd.h: Include <bits/types/error_t.h>
17586 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17587 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17588 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17589 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17590 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17591 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17592 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17593
eaf6753f
AS
175942018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17595
17596 [BZ #22918]
17597 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17598 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17599 * nscd/gai.c (__nss_hosts_database): Readd definition.
17600 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17601 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17602 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17603
4dc23804
JM
176042018-03-02 Joseph Myers <joseph@codesourcery.com>
17605
17606 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17607 (ifunc_one): Likewise.
17608
1c81d55f
DD
176092018-03-01 DJ Delorie <dj@delorie.com>
17610
17611 [BZ #22342]
17612 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17613 key value.
17614
b717c14f
MR
176152018-03-01 Maciej W. Rozycki <macro@mips.com>
17616
17617 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17618 `match_pid' parameter.
17619 (td_ta_thr_iter): Update accordingly.
17620
1efe1358
FW
176212018-03-01 Florian Weimer <fweimer@redhat.com>
17622
17623 * nptl/Makefile (install-lib-ldscripts): Remove.
17624 (install): Remove rule.
17625 ($(inst_libdir)/libpthread.so): Likewise.
17626
a527f09c
MF
176272018-03-01 Mike FABIAN <mfabian@redhat.com>
17628
17629 [BZ #22896]
17630 * localedata/locales/an_ES: update month and day names,
17631 improve d_fmt, improve postal_fmt, add country_post,
17632 add country_isbn
17633
35d660b0
MF
176342018-03-01 Mike FABIAN <mfabian@redhat.com>
17635
17636 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17637 Ukrainian instead of Bulgarian.
17638
1a2f44a8
FW
176392018-03-01 Florian Weimer <fweimer@redhat.com>
17640
17641 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17642 reference.
17643
bd60ce86
FW
176442018-03-01 Florian Weimer <fweimer@redhat.com>
17645
17646 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17647 * nptl/Makefile (routines): Add pthread_atfork.
17648 (static-only-routines): Set to pthread_atfork.
17649 (libpthread-routines): Remove pthread_atfork.
17650 (libpthread-static-only-routines): Remove.
17651 (install): Update comment.
17652 (libpthread.so): Do not install libpthread_nonshared.a.
17653 (tests): Do not link with libpthread_nonshared.a.
17654 (generated): Remove libpthread_nonshared.a.
17655 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17656 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17657 with libpthread_nonshared.a.
17658
000f290f
JM
176592018-02-28 Joseph Myers <joseph@codesourcery.com>
17660
e2bcf6a8
JM
17661 [BZ #22902]
17662 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17663 (libc_feholdexcept_setroundf128): New macro.
17664 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17665
000f290f
JM
17666 [BZ #15105]
17667 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17668 libc_hidden_def.
17669 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17670 * include/inttypes.h: New file.
17671
02f2fead
JM
176722018-02-27 Joseph Myers <joseph@codesourcery.com>
17673
17674 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17675 -Os in two more places.
17676
874c56d7
MF
176772018-02-27 Mike FABIAN <mfabian@redhat.com>
17678
17679 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17680 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17681 be sorted correctly at the moment because of a bug.
17682
15973854
MF
176832018-02-27 Mike FABIAN <mfabian@redhat.com>
17684
17685 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17686 treat ñ as a primary different character, sync the collation
17687 for Spanish with CLDR.
17688 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17689 * localedata/Makefile: Add new test files.
17690 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17691 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17692 collation order.
17693 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17694 * localedata/am_ET.UTF-8.in: New test file.
17695 * localedata/az_AZ.UTF-8.in: Likewise.
17696 * localedata/be_BY.UTF-8.in: Likewise.
17697 * localedata/ber_DZ.UTF-8.in: Likewise.
17698 * localedata/ber_MA.UTF-8.in: Likewise.
17699 * localedata/bg_BG.UTF-8.in: Likewise.
17700 * localedata/br_FR.UTF-8.in: Likewise.
17701 * localedata/cmn_TW.UTF-8.in: Likewise.
17702 * localedata/crh_UA.UTF-8.in: Likewise.
17703 * localedata/csb_PL.UTF-8.in: Likewise.
17704 * localedata/cv_RU.UTF-8.in: Likewise.
17705 * localedata/cy_GB.UTF-8.in: Likewise.
17706 * localedata/dz_BT.UTF-8.in: Likewise.
17707 * localedata/eo.UTF-8.in: Likewise.
17708 * localedata/es_ES.UTF-8.in: Likewise.
17709 * localedata/fa_IR.UTF-8.in: Likewise.
17710 * localedata/fi_FI.UTF-8.in: Likewise.
17711 * localedata/fil_PH.UTF-8.in: Likewise.
17712 * localedata/fur_IT.UTF-8.in: Likewise.
17713 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17714 * localedata/ha_NG.UTF-8.in: Likewise.
17715 * localedata/ig_NG.UTF-8.in: Likewise.
17716 * localedata/ik_CA.UTF-8.in: Likewise.
17717 * localedata/kk_KZ.UTF-8.in: Likewise.
17718 * localedata/ku_TR.UTF-8.in: Likewise.
17719 * localedata/ky_KG.UTF-8.in: Likewise.
17720 * localedata/ln_CD.UTF-8.in: Likewise.
17721 * localedata/mi_NZ.UTF-8.in: Likewise.
17722 * localedata/ml_IN.UTF-8.in: Likewise.
17723 * localedata/mn_MN.UTF-8.in: Likewise.
17724 * localedata/mr_IN.UTF-8.in: Likewise.
17725 * localedata/mt_MT.UTF-8.in: Likewise.
17726 * localedata/nb_NO.UTF-8.in: Likewise.
17727 * localedata/om_KE.UTF-8.in: Likewise.
17728 * localedata/os_RU.UTF-8.in: Likewise.
17729 * localedata/ps_AF.UTF-8.in: Likewise.
17730 * localedata/ro_RO.UTF-8.in: Likewise.
17731 * localedata/ru_RU.UTF-8.in: Likewise.
17732 * localedata/sc_IT.UTF-8.in: Likewise.
17733 * localedata/se_NO.UTF-8.in: Likewise.
17734 * localedata/sq_AL.UTF-8.in: Likewise.
17735 * localedata/sv_SE.UTF-8.in: Likewise.
17736 * localedata/szl_PL.UTF-8.in: Likewise.
17737 * localedata/tg_TJ.UTF-8.in: Likewise.
17738 * localedata/tk_TM.UTF-8.in: Likewise.
17739 * localedata/tt_RU.UTF-8.in: Likewise.
17740 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17741 * localedata/ug_CN.UTF-8.in: Likewise.
17742 * localedata/uz_UZ.UTF-8.in: Likewise.
17743 * localedata/vi_VN.UTF-8.in: Likewise.
17744 * localedata/yi_US.UTF-8.in: Likewise.
17745 * localedata/yo_NG.UTF-8.in: Likewise.
17746 * localedata/zh_CN.UTF-8.in: Likewise.
17747 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17748 file and fix bugs in the collation.
17749 * localedata/locales/az_AZ: Likewise.
17750 * localedata/locales/be_BY: Likewise.
17751 * localedata/locales/ber_DZ: Likewise.
17752 * localedata/locales/ber_MA: Likewise.
17753 * localedata/locales/bg_BG: Likewise.
17754 * localedata/locales/br_FR: Likewise.
17755 * localedata/locales/br_FR@euro: Likewise.
17756 * localedata/locales/ca_ES: Likewise.
17757 * localedata/locales/cns11643_stroke: Likewise.
17758 * localedata/locales/crh_UA: Likewise.
17759 * localedata/locales/cs_CZ: Likewise.
17760 * localedata/locales/csb_PL: Likewise.
17761 * localedata/locales/cv_RU: Likewise.
17762 * localedata/locales/cy_GB: Likewise.
17763 * localedata/locales/da_DK: Likewise.
17764 * localedata/locales/dz_BT: Likewise.
17765 * localedata/locales/en_CA: Likewise.
17766 * localedata/locales/eo: Likewise.
17767 * localedata/locales/es_CU: Likewise.
17768 * localedata/locales/es_EC: Likewise.
17769 * localedata/locales/es_ES: Likewise.
17770 * localedata/locales/es_US: Likewise.
17771 * localedata/locales/et_EE: Likewise.
17772 * localedata/locales/fa_IR: Likewise.
17773 * localedata/locales/fi_FI: Likewise.
17774 * localedata/locales/fil_PH: Likewise.
17775 * localedata/locales/fur_IT: Likewise.
17776 * localedata/locales/gez_ER@abegede: Likewise.
17777 * localedata/locales/ha_NG: Likewise.
17778 * localedata/locales/hr_HR: Likewise.
17779 * localedata/locales/hsb_DE: Likewise.
17780 * localedata/locales/hu_HU: Likewise.
17781 * localedata/locales/ig_NG: Likewise.
17782 * localedata/locales/ik_CA: Likewise.
17783 * localedata/locales/is_IS: Likewise.
17784 * localedata/locales/iso14651_t1_pinyin: Likewise.
17785 * localedata/locales/kk_KZ: Likewise.
17786 * localedata/locales/ku_TR: Likewise.
17787 * localedata/locales/ky_KG: Likewise.
17788 * localedata/locales/ln_CD: Likewise.
17789 * localedata/locales/lt_LT: Likewise.
17790 * localedata/locales/lv_LV: Likewise.
17791 * localedata/locales/mi_NZ: Likewise.
17792 * localedata/locales/ml_IN: Likewise.
17793 * localedata/locales/mn_MN: Likewise.
17794 * localedata/locales/mr_IN: Likewise.
17795 * localedata/locales/mt_MT: Likewise.
17796 * localedata/locales/nb_NO: Likewise.
17797 * localedata/locales/om_KE: Likewise.
17798 * localedata/locales/os_RU: Likewise.
17799 * localedata/locales/pl_PL: Likewise.
17800 * localedata/locales/ps_AF: Likewise.
17801 * localedata/locales/ro_RO: Likewise.
17802 * localedata/locales/ru_RU: Likewise.
17803 * localedata/locales/ru_UA: Likewise.
17804 * localedata/locales/sc_IT: Likewise.
17805 * localedata/locales/se_NO: Likewise.
17806 * localedata/locales/si_LK: Likewise.
17807 * localedata/locales/sq_AL: Likewise.
17808 * localedata/locales/sv_FI: Likewise.
17809 * localedata/locales/sv_FI@euro: Likewise.
17810 * localedata/locales/sv_SE: Likewise.
17811 * localedata/locales/szl_PL: Likewise.
17812 * localedata/locales/tg_TJ: Likewise.
17813 * localedata/locales/ti_ER: Likewise.
17814 * localedata/locales/tk_TM: Likewise.
17815 * localedata/locales/tl_PH: Likewise.
17816 * localedata/locales/tr_TR: Likewise.
17817 * localedata/locales/tt_RU: Likewise.
17818 * localedata/locales/tt_RU@iqtelif: Likewise.
17819 * localedata/locales/ug_CN: Likewise.
17820 * localedata/locales/uk_UA: Likewise.
17821 * localedata/locales/uz_UZ: Likewise.
17822 * localedata/locales/uz_UZ@cyrillic: Likewise.
17823 * localedata/locales/vi_VN: Likewise.
17824 * localedata/locales/yi_US: Likewise.
17825 * localedata/locales/yo_NG: Likewise.
17826
ce6636b0
MF
178272018-02-27 Mike FABIAN <mfabian@redhat.com>
17828
17829 * gen-locales.mk: Make test files which contain @ modifiers in their
17830 name work.
17831 * localedata/gen-locale.sh: Likewise.
17832
ac3a3b4b
MF
178332018-02-27 Mike FABIAN <mfabian@redhat.com>
17834
17835 * posix/tst-fnmatch.input: Fix results for range expressions
17836 for non C locales.
17837 * posix/tst-regexloc.c: Do not use a range expression for
17838 de_DE.ISO-8859-1 locale.
17839
770cbe14
MF
178402018-02-27 Mike FABIAN <mfabian@redhat.com>
17841
17842 * posix/bug-regex5.c: Fix test case because with the new
17843 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17844 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17845 file.
17846
0fc355d9
MF
178472018-02-27 Mike FABIAN <mfabian@redhat.com>
17848
17849 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17850 downloaded from ISO, the collation order of @-. and space has changed.
17851 Therefore, this test file needed to be adapted.
17852 * localedata/fr_CA.UTF-8.in: Likewise.
17853 * localedata/fr_FR.UTF-8.in: Likewise.
17854 * localedata/uk_UA.UTF-8.in: Likewise.
17855
43f3893f
MF
178562018-02-27 Mike FABIAN <mfabian@redhat.com>
17857
17858 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17859 order of ȥ in the new iso14651_t1_common file.
17860 * localedata/pl_PL.UTF-8.in: Likewise.
17861
df74ef78
MF
178622018-02-27 Mike FABIAN <mfabian@redhat.com>
17863
17864 * localedata/locales/iso14651_t1_common: Add sections for various
17865 scripts to the iso14651_t1_common file.
17866
d5adfbad
MF
178672018-02-27 Mike FABIAN <mfabian@redhat.com>
17868
17869 * localedata/locales/iso14651_t1_common: Use the code point of a
17870 character in the fourth collation level instead of IGNORE for all
17871 entries which have IGNORE on all 4 levels.
17872
5f5a9610
MF
178732018-02-27 Mike FABIAN <mfabian@redhat.com>
17874
17875 * localedata/locales/iso14651_t1_common: Add some convenient collation
17876 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17877 rules similar to those in CLDR.
17878
8a97e900
MF
178792018-02-27 Mike FABIAN <mfabian@redhat.com>
17880
17881 * localedata/locales/iso14651_t1_common: The new version of this
17882 file downloaded from ISO contained several syntax errors which
17883 are fixed by this patch.
17884
bbdd2fba
MF
178852018-02-27 Mike FABIAN <mfabian@redhat.com>
17886
17887 * localedata/locales/iso14651_t1_common: replace all <U.....>
17888 with <U000.....> because glibc understands only 4 digit or 8 digit
17889
1569e551
MF
178902018-02-27 Mike FABIAN <mfabian@redhat.com>
17891
17892 * localedata/locales/iso14651_t1_common: Necessary changes
17893 to make the file downloaded from ISO usable by glibc.
17894
9479b6d5
MF
178952018-02-27 Mike FABIAN <mfabian@redhat.com>
17896
17897 [BZ #14095]
17898 * localedata/locales/iso14651_t1_common: Update file to
17899 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17900
03b540b3
ST
179012018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17902
17903 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17904 of <nptl/pthreadP.h>
17905 (thread_attr_compare): Move function to...
eb937a52 17906 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17907 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17908 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17909
20602c72
JM
179102018-02-26 Joseph Myers <joseph@codesourcery.com>
17911
f54d8f73
JM
17912 * string/strcoll_l.c: Include <libc-diag.h>.
17913 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17914 declarations of seq1 and seq2.
17915
20602c72
JM
17916 [BZ #15105]
17917 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17918 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17919
f5f473a9
DL
179202018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17921
17922 [BZ #22433]
17923 [BZ #22807]
17924 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17925 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17926 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17927 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17928 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17929 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17930
398c6fdd
TMQMF
179312018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17932
17933 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17934 macros used in __ptrace_request.
17935
f5d1f629
L
179362018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17937
17938 [BZ #22792]
17939 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17940 to $(CC).
17941 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17942 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17943 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17944 <tcb-offsets.h>.
17945
54412d20
JM
179462018-02-23 Joseph Myers <joseph@codesourcery.com>
17947
17948 [BZ #15105]
17949 * ctype/ctype.c (tolower): Use libc_hidden_def.
17950 (toupper): Likewise.
17951 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17952 [!_ISOMAC] (toupper): Likewise.
17953
81be4b5e
MF
179542018-02-23 Mike FABIAN <mfabian@redhat.com>
17955
17956 * localedata/Makefile: Remove --quiet argument when
17957 installing locales
17958
9d5cfd8e
MF
179592018-02-23 Mike FABIAN <mfabian@redhat.com>
17960
17961 [BZ #17438]
17962 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17963 in d_fmt.
17964 * localedata/locales/pt_PT (LC_TIME): likewise
17965
6c7269f3
MF
179662018-02-23 Mike FABIAN <mfabian@redhat.com>
17967
17968 [BZ #22646]
17969 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17970 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17971 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17972
92aabad9
AZ
179732018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17974
4cdc25a4
AZ
17975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17976
27761a10
AZ
17977 * nptl/Makefile (routines): Remove unregister-atfork.
17978 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17979 (fork_handler_alloc): Remove function.
17980 (fork_handlers, fork_handler_init): New variables.
17981 (__fork_lock): Rename to atfork_lock.
17982 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17983 to use a dynamic array to add/remove atfork handlers.
17984 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17985 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17986 Remove declaration.
17987 (fork_handler): Remove next, refcntr, and need_signal member.
17988 (__run_fork_handler_type): New enum.
17989 (__run_fork_handlers): New prototype.
17990 * nptl/register-atfork.c: Remove file.
17991 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17992
92aabad9
AZ
17993 * sysdeps/nptl/nptl-signals.h: Move to ...
17994 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17995 comments.
17996 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17997 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17998 unnecessary check for SIGTIMER.
17999 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
18000 remove unnecessary removal of SIGTIMER.
18001 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
18002 include-signals.h rename.
18003 * nptl/pthreadP.h: Likewise.
18004 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
18005 __is_internal_signal instead of __nptl_is_internal_signal.
18006
6b5c8607 180072018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 18008
7e04eb29 18009 [BZ # 22884]
fdcc6253
AW
18010 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
18011 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
18012 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
18013 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
18014
8090720a
DD
180152018-02-22 DJ Delorie <dj@delorie.com>
18016
18017 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
18018
6ca24c43
SP
180192018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
18020
18021 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
18022 do_misaligned, not misaligned8.
18023
e9537ddd
SE
180242018-02-22 Steve Ellcey <sellcey@cavium.com>
18025
18026 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
18027 Add memcpy_thunderx2.
18028 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
18029 Increment to 4.
18030 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
18031 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
18032 and IS_THUNDERX2PA checks.
18033 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
18034 Use macro to set name appropriately.
18035 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
18036 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
18037 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
18038 New macro.
18039 (IS_THUNDERX2): New macro.
18040
6e336476
SL
180412018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
18042
18043 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18044
34957904
ZW
180452018-02-21 Zack Weinberg <zackw@panix.com>
18046
30bfee26
ZW
18047 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
18048 Define here, unconditionally.
18049 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
18050 * libio/libioP.h: Remove #if 0 blocks.
18051 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
18052 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
18053 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
18054
18055 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
18056 Assume weak_alias is always defined.
18057
18058 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
18059 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
18060 Remove #if 0 and #ifdef TODO blocks.
18061 Assume text_set_element is always defined.
18062
18063 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
18064 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
18065 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
18066
df6c012b
ZW
18067 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
18068 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
18069 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
18070 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
18071 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
18072 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
18073 Reformat bit flags for _flags field to make occupancy clearer.
18074 Update commentary.
18075 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
18076 Keep definitions consistent with those in libio/libio.h.
18077
18078 * libio/libio.h (_IO_file_flags): Remove macro.
18079 All uses changed to _flags.
18080
177aad3f
ZW
18081 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
18082 (__HAVE_COLUMN, _IO_BE): Don't define.
18083 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
18084 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
18085 * libio/libioP.h (EOF): Don't define.
18086 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
18087 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
18088 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
18089 testing _IO_UNIFIED_JUMPTABLES.
18090
9964a145
ZW
18091 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
18092 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
18093 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
18094 (_IO_size_t): Delete; all uses changed to size_t.
18095 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
18096 (_IO_off_t): Delete; all uses changed to off_t.
18097 (_IO_off64_t): Delete; all uses changed to off64_t.
18098 (_IO_pid_t): Delete; all uses changed to pid_t.
18099 (_IO_uid_t): Delete; all uses changed to uid_t.
18100 (_IO_wint_t): Delete; all uses changed to wint_t.
18101 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
18102 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
18103 (_IO_cookie_io_functions_t): Delete; all uses changed to
18104 cookie_io_functions_t.
18105 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
18106 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
18107 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
18108 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
18109
18110 * libio/iofopncook.c: Remove unnecessary forward declarations.
18111 * libio/iolibio.h: Correct outdated commentary.
18112 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
18113 * stdio-common/fxprintf.c (__fxprintf_nocancel):
18114 Remove unnecessary casts.
18115 * stdio-common/getline.c: Use _IO_getdelim directly.
18116 Don't redefine ssize_t.
18117 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
18118 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
18119 Remove outdated comments.
18120 * stdio-common/vfscanf.c: Don't redefine va_list.
18121
34957904
ZW
18122 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
18123 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
18124 Remove preprocessor conditionals on _LIBC and __USE_GNU,
18125 which are always true, and __cplusplus, which is always false.
18126
30ac923d
JM
181272018-02-21 Joseph Myers <joseph@codesourcery.com>
18128
039c721a
JM
18129 [BZ #15105]
18130 [BZ #19463]
18131 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
18132 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
18133 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
18134 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
18135 libc_hidden_proto.
18136 [!_ISOMAC] (putc_unlocked): Likewise.
18137 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
18138 define inline if [__USE_EXTERN_INLINES].
18139 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
18140 putc_unlocked.
18141
30ac923d
JM
18142 [BZ #15105]
18143 [BZ #19463]
18144 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
18145 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
18146 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
18147 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
18148 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
18149 getc_unlocked.
18150 * time/tzfile.c (__tzfile_read): Likewise.
18151
7ec5f946
MF
181522018-02-21 Mike FABIAN <mfabian@redhat.com>
18153
18154 [BZ #22517]
18155 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
18156
0d217f40
RJ
181572018-02-21 Rical Jasan <ricaljasan@pacific.net>
18158
18159 * io/fcntl.h: Fix a typo in a comment.
18160
862b4502
RJ
181612018-02-21 Rical Jasan <ricaljasan@pacific.net>
18162
18163 [BZ #22862]
18164 * include/features.h: Add _ISOC11_SOURCE to test for whether to
18165 define _DEFAULT_SOURCE.
18166 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
18167
999a6dab
FW
181682018-02-21 Florian Weimer <fweimer@redhat.com>
18169
18170 [BZ #20890]
18171 * elf/cache.c (save_cache): Call fsync on temporary file before
18172 renaming it.
18173 (save_aux_cache): Call fdatasync on temporary file before renaming
18174 it.
18175
52a01100
FW
181762018-02-21 Florian Weimer <fweimer@redhat.com>
18177
18178 [BZ #22787]
18179 * include/caller.h: Remove file.
18180 * elf/dl-caller.c: Likewise.
18181 * elf/Makefile (dl-routines): Remove dl-caller.
18182 (shared-only-routines): Do not add dl-caller.
18183 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
18184 __check_caller.
18185 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
18186 member.
18187 (dl_open_worker): Do not call __check_caller.
18188 (_dl_open): Do not set caller_dl_open member.
18189 * elf/rtld.c (_rtld_global_ro): Do not initialize
18190 _dl_check_caller member.
18191 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
18192 _dl_check_caller member.
18193 (_dl_check_caller): Remove declaration.
18194 * sysdeps/unix/sysv/linux/dl-execstack.c
18195 (_dl_make_stack_executable): Do not call __check_caller.
18196
b5bf62e4
ST
181972018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
18198
18199 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 18200 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 18201
e8d190b9
RJ
182022018-02-20 Rical Jasan <ricaljasan@pacific.net>
18203
18204 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
18205 description.
18206
6a3962c4
RJ
182072018-02-20 Rical Jasan <ricaljasan@pacific.net>
18208
da81ae64 18209 [BZ #16335]
6a3962c4
RJ
18210 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
18211 of 199606L, 200112L, and 200809L.
18212 (_XOPEN_SOURCE): Document special values of 600 and 700.
18213 (_ISOC11_SOURCE): Document macro.
18214 (_ATFILE_SOURCE): Likewise.
18215 (_FORTIFY_SOURCE): Likewise.
18216
ec481ad8
JM
182172018-02-19 Joseph Myers <joseph@codesourcery.com>
18218
18219 [BZ #15105]
18220 [BZ #19463]
18221 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
18222 and define as weak alias of __ferror_unlocked. Use
18223 libc_hidden_weak.
18224 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
18225 libc_hidden_proto.
18226 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
18227 function if [__USE_EXTERN_INLINES].
18228 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
18229 ferror_unlocked.
18230
7d15ef84
RJ
182312018-02-19 Rical Jasan <ricaljasan@pacific.net>
18232
18233 [BZ #6889]
18234 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
18235
f8d79582
AJ
182362018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18237
18238 [BZ #22818]
18239 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
18240 the GLIBC_2.1 version.
18241
56456a2a
AJ
182422018-02-18 Aurelien Jarno <aurelien@aurel32.net>
18243
18244 [BZ #21508]
18245 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
18246 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
18247 intl/tst-gettext-de.po from po/de.po by removing the
18248 POT-Creation-Date line.
18249 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
18250 ../po/de.po.
18251 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
18252 ../po/de.po.
18253
13768813
ST
182542018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
18255
18256 * mach/Makefile (headers): Add mach/param.h.
18257 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
18258 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
18259 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
18260 (__ptsname_r): Move implementation to...
18261 (__ptsname_internal): ... new function. Add filling the STP
18262 structure.
13768813 18263
6aca1b61
JDA
182642018-02-17 John David Anglin <danglin@gcc.gnu.org>
18265
18266 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
18267 idouble to 1 ULP.
18268
16efad51
RJ
182692018-02-16 Rical Jasan <ricaljasan@pacific.net>
18270
18271 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
18272 syntax.
18273
87245073
SL
182742018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
18275
18276 * nptl/Makefile (tst-mutex8-ENV): Delete.
18277 * nptl/tst-mutex8.c (check_type):
18278 Add runtime check if mutex will be elided.
18279
7fc03cf3
JM
182802018-02-15 Joseph Myers <joseph@codesourcery.com>
18281
db9881ec
JM
18282 [BZ #20980]
18283 [BZ #21234]
18284 * manual/install.texi (Configuring and compiling): Describe
18285 passing CC and CFLAGS on configure command line, not as
18286 environment variables. Use @code markup on those variables.
18287 Specify what options go in CC and what go in CFLAGS. Note the
18288 requirement to compile with optimization.
18289 * INSTALL: Regenerated.
18290
3785b31c
JM
18291 [BZ #18124]
18292 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
18293 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
18294 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
18295 __sigprocmask instead of sigprocmask.
18296 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
18297 Likewise.
18298 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
18299 __sigsetjmp and sigprocmask.
18300
055ac2a7
JM
18301 [BZ #15105]
18302 * include/argz.h (argz_next): Use libc_hidden_proto.
18303 (__argz_next): Likewise.
18304 * string-argz-next.c (__argz_next): Use libc_hidden_def.
18305 (argz_next): Use libc_hidden_weak.
18306
e4452a2d
JM
18307 [BZ #15105]
18308 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
18309 libc_hidden_proto.
18310 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
18311 libc_hidden_def.
18312
499b3153
JM
18313 [BZ #15105]
18314 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
18315 libc_hidden_proto.
18316 * libio/iofputs.c (fputs): Use libc_hidden_weak.
18317
7fc03cf3
JM
18318 [BZ #15105]
18319 [BZ #19463]
18320 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
18321 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
18322 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
18323 (__feof_unlocked): New declaration, and inline function if
18324 [__USE_EXTERN_INLINES].
18325 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
18326 instead of feof_unlocked.
18327 * intl/localealias.c [_LIBC] (FEOF): Likewise.
18328 * nss/nsswitch.c (nss_parse_file): Likewise.
18329 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18330 Likewise.
18331 * time/getdate.c (__getdate_r): Likewise.
18332 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18333 Define as macro to call __feof_unlocked.
18334
0c8a67a5
WD
183352018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18336
18337 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18338
610ee1fc
WD
183392018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18340
18341 * math/Makefile: Remove mpexp.c and mplog.c
18342 * sysdeps/i386/fpu/mpexp.c: Delete file.
18343 * sysdeps/i386/fpu/mplog.c: Likewise.
18344 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18345 * sysdeps/ia64/fpu/mplog.c: Likewise.
18346 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18347 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18348 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18349 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18350 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18351 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18352 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18353 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18354 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18355 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18356 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18357 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18359 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18360 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18361 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18362
8e7196c8
SL
183632018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18364
18365 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18366
4f55ad0b
AZ
183672018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18368
18369 * sysdeps/sh/libm-test-ulps: Update.
18370
261a851c
TMQMF
183712018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18372
18373 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18374 idouble to 1 ULP.
18375
e16deca6
ZW
183762018-02-12 Zack Weinberg <zackw@panix.com>
18377
18378 [BZ #19239]
18379 * posix/sys/types.h: Don't include sys/sysmacros.h.
18380 * misc/sys/sysmacros.h: Remove the conditional deprecation
18381 warnings for the macros defined by this header.
18382
de800d83
SN
183832018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18384
18385 * manual/probes.texi: Remove slowexp probes.
18386 * math/Makefile: Remove slowexp.
18387 * sysdeps/generic/math_private.h (__slowexp): Remove.
18388 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18389 document error bounds.
18390 * sysdeps/i386/fpu/slowexp.c: Remove.
18391 * sysdeps/ia64/fpu/slowexp.c: Remove.
18392 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18393 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18394 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18395 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18396 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18397 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18398 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18399 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18400 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18401 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18402 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18403
c3d466cb
WD
184042018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18405
18406 [BZ #13932]
18407 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18408 * benchtests/pow-inputs: Update comment for slow path cases.
18409 * manual/probes.texi (slowpow_p10): Delete removed probe.
18410 (slowpow_p10): Likewise.
18411 * math/Makefile: Remove halfulp.c and slowpow.c.
18412 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18413 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18414 (__halfulp): Remove.
18415 (__slowpow): Remove.
18416 * sysdeps/i386/fpu/halfulp.c: Delete file.
18417 * sysdeps/i386/fpu/slowpow.c: Likewise.
18418 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18419 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18420 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18421 improve comments and add error analysis.
18422 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18423 (power1): Remove function:
18424 (log1): Remove error argument, add error analysis.
18425 (my_log2): Remove function.
18426 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18427 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18428 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18429 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18430 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18431 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18432 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18433 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18434 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18435 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18436 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18437 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18438 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18439 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18440
7bb087bd
ST
184412018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18442
18443 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18444 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18445
2fd4bbaa
DL
184462018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18447
18448 [BZ #22433]
18449 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18450 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18451 and PTRACE_SETHBPREGS.
18452
402ecba4
ZW
184532018-02-10 Zack Weinberg <zackw@panix.com>
18454
18455 [BZ #22830]
18456 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18457 correctly.
18458 * malloc/tst-malloc-stats-cancellation.c: New test case.
18459 * malloc/Makefile: Add new test case.
18460
4f5b921e
WD
184612018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18462
18463 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18464
a85b70db
JM
184652018-02-10 Joseph Myers <joseph@codesourcery.com>
18466
d8742dd8
JM
18467 * math/Makefile (libm-narrow-fns): Add add.
18468 (libm-test-funcs-narrow): Likewise.
18469 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18470 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18471 * math/gen-auto-libm-tests.c (test_functions): Add add.
18472 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18473 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18474 (NARROW_ADD_TRIVIAL): Likewise.
18475 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18476 macro.
18477 (__daddl): Likewise.
18478 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18479 dadd.
18480 (CFLAGS-nldbl-dadd.c): New variable.
18481 (CFLAGS-nldbl-fadd.c): Likewise.
18482 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18483 __nldbl_daddl.
18484 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18485 prototype.
18486 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18487 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18488 * math/auto-libm-test-in: Add tests of add.
18489 * math/auto-libm-test-out-narrow-add: New generated file.
18490 * math/libm-test-narrow-add.inc: New file.
18491 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18492 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18493 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18494 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18495 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18496 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18497 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18498 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18499 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18500 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18501 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18502 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18503 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18504 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18505 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18506 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18507 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18508 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18509 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18510 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18511 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18512 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18513 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18514 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18515 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18516 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18517 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18518 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18519 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18520 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18521 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18522 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18524 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18525 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18526 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18527 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18528 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18529 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18530 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18531 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18532 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18533 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18534 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18535 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18536 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18537
a85b70db
JM
18538 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18539 (f128-pairs): New variable.
18540 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18541 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18542 to CFLAGS.
18543 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18544 Also make tests add $(f128-loader-link) to gnulib-tests.
18545
6a1ff640
DD
185462018-02-09 DJ Delorie <dj@redhat.com>
18547
18548 [BZ #22827]
18549 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18550 64-bit ELF type for 64-bit ELF objects.
18551
bfd47587
JM
185522018-02-09 Joseph Myers <joseph@codesourcery.com>
18553
31958338
JM
18554 * math/libm-test-driver.c (snan_tests_arg): New variable.
18555 * math/libm-test-support.h (snan_tests_arg): New declaration.
18556 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18557
8e554659
JM
18558 * math/Makefile (test-type-pairs): New variable.
18559 (test-type-pairs-f64xf128-yes): Likewise.
18560 (tests): Add test-narrow-macros.
18561 (libm-test-funcs-narrow): New variable.
18562 (libm-test-c-narrow): Likewise.
18563 (generated): Add $(libm-test-c-narrow).
18564 (libm-tests-base-narrow): New variable.
18565 (libm-tests-narrow): Likewise.
18566 (libm-tests): Add $(libm-tests-narrow).
18567 (libm-tests-for-type): Handle $(libm-tests-narrow).
18568 (libm-test-c-narrow-obj): New variable.
18569 ($(libm-test-c-narrow-obj)): New rule.
18570 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18571 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18572 $(o-iterator) to set dependencies and CFLAGS.
18573 * math/gen-auto-libm-tests.c: Document use for narrowing
18574 functions.
18575 (output_for_one_input_case): Take argument NARROW.
18576 (generate_output): Likewise. Update call to
18577 output_for_one_input_case.
18578 (main): Take --narrow option. Update call to generate_output.
18579 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18580 (apply_lit): Update call to _apply_lit.
18581 (apply_arglit): New function.
18582 (parse_args): Handle "a" arguments.
18583 (parse_auto_input): Handle format names using ":".
18584 * math/README.libm-test: Document "a" parameter type.
18585 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18586 (ARG_TYPE_TRUE_MIN): Likewise.
18587 (ARG_TYPE_MAX): Likwise.
18588 (ARG_MIN_EXP): Likewise.
18589 (ARG_MAX_EXP): Likewise.
18590 (ARG_MANT_DIG): Likewise.
18591 (TEST_COND_arg_ibm128): Likewise.
18592 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18593 (TEST_COND_arg_fmt): New macro.
18594 (init_max_error): Update prototype.
18595 * math/libm-test-support.c (test_ibm128): New variable.
18596 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18597 instead of using [TEST_COND_ibm128] conditional.
18598 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18599 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18600 [TEST_NARROW] (TEST_MSG): New definition.
18601 (arg_plus_zero): New macro.
18602 (arg_minus_zero): Likewise.
18603 (arg_plus_infty): Likewise.
18604 (arg_minus_infty): Likewise.
18605 (arg_qnan_value_pl): Likewise.
18606 (arg_qnan_value): Likewise.
18607 (arg_snan_value_pl): Likewise.
18608 (arg_snan_value): Likewise.
18609 (arg_max_value): Likewise.
18610 (arg_min_value): Likewise.
18611 (arg_min_subnorm_value): Likewise.
18612 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18613 (RUN_TEST_LOOP_aa_f): New macro.
18614 (TEST_SUFF): New macro.
18615 (TEST_SUFF_STR): Likewise.
18616 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18617 (TEST_COND_any_ibm128): New macro.
18618 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18619 this_func. Update call to init_max_error.
18620 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18621 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18622 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18623 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18624 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18625 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18626 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18627 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18628 * math/test-math-vector.h (TEST_NARROW): Likewise.
18629 * math/test-arg-double.h: New file.
18630 * math/test-arg-float128.h: Likewise.
18631 * math/test-arg-float32x.h: Likewise.
18632 * math/test-arg-float64.h: Likewise.
18633 * math/test-arg-float64x.h: Likewise.
18634 * math/test-arg-ldouble.h: Likewise.
18635 * math/test-math-narrow.h: Likewise.
18636 * math/test-narrow-macros.c: Likewise.
18637 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18638 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18639 test-narrow-macros-ldbl-64.
18640 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18641
63716ab2
JM
18642 * math/bits/mathcalls-narrow.h: New file.
18643 * include/bits/mathcalls-narrow.h: Likewise.
18644 * math/math-narrow.h: Likewise.
18645 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18646 (__MATHCALL_NARROW_ARGS_2): Likewise.
18647 (__MATHCALL_NARROW_ARGS_3): Likewise.
18648 (__MATHCALL_NARROW_NORMAL): Likewise.
18649 (__MATHCALL_NARROW_REDIR): Likewise.
18650 (__MATHCALL_NARROW): Likewise.
18651 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18652 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18653 defined.
18654 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18655 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18656 (libm-narrow-fns): New variable.
18657 (libm-narrow-types-basic): Likewise.
18658 (libm-narrow-types-ldouble-yes): Likewise.
18659 (libm-narrow-types-float128-yes): Likewise.
18660 (libm-narrow-types-float128-alias-yes): Likewise.
18661 (libm-narrow-types): Likewise.
18662 (libm-routines): Add narrowing functions.
18663 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18664 (libc_feholdexcept_setroundf128): New macro.
18665 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18666 * sysdeps/ieee754/float128/float128_private.h: Include
18667 <math/math-narrow.h>.
18668 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18669 Undefine and redefine.
18670 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18671 (libm_alias_float_ldouble): Undefine and redefine.
18672 (libm_alias_double_ldouble): Likewise.
18673
bfd47587
JM
18674 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18675
3f8d9d58
WD
186762018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18677
18678 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18679 FPCR/FPSR.
18680
1f6676d7
RJ
186812018-02-09 Rical Jasan <ricaljasan@pacific.net>
18682
18683 * manual/creature.texi: Convert references to gcc.info to gcc.
18684 * manual/stdio.texi: Likewise.
18685 * manual/string.texi: Likewise.
18686
d80441dd
JM
186872018-02-07 Joseph Myers <joseph@codesourcery.com>
18688
15081be9
JM
18689 [BZ #17979]
18690 * posix/bits/types.h (__int_least8_t): New typedef.
18691 (__uint_least8_t): Likewise.
18692 (__int_least16_t): Likewise.
18693 (__uint_least16_t): Likewise.
18694 (__int_least32_t): Likewise.
18695 (__uint_least32_t): Likewise.
18696 (__int_least64_t): Likewise.
18697 (__uint_least64_t): Likewise.
18698 * sysdeps/generic/stdint.h (int_least8_t): Define using
18699 __int_least8_t.
18700 (int_least16_t): Define using __int_least16_t.
18701 (int_least32_t): Define using __int_least32_t.
18702 (int_least64_t): Define using __int_least64_t.
18703 (uint_least8_t): Define using __uint_least8_t.
18704 (uint_least16_t): Define using __uint_least16_t.
18705 (uint_least32_t): Define using __uint_least32_t.
18706 (uint_least64_t): Define using __uint_least64_t.
18707 * wcsmbs/uchar.h: Include <bits/types.h>.
18708 (char16_t): Define using __uint_least16_t conditional only on
18709 [!__USE_ISOCXX11].
18710 (char32_t): Define using __uint_least32_t conditional only on
18711 [!__USE_ISOCXX11].
18712 * wcsmbs/test-char-types.c: New file.
18713 * wcsmbs/Makefile (tests): Add test-char-types.
18714
d80441dd
JM
18715 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18716 version to 4.0.1.
18717
6c6c962a
ZW
187182018-02-07 Zack Weinberg <zackw@panix.com>
18719
63fb8f9a
ZW
18720 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18721 Delete all contents except for definitions of _G_HAVE_MMAP and
18722 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18723 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18724 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18725 change as above.
18726
18727 * libio/libio.h: Don't include bits/_G_config.h here.
18728 Include stddef.h with __need_wchar_t defined. Include
18729 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18730 Define _IO_iconv_t here, directly.
18731 Don't define _IO_HAVE_ST_BLKSIZE.
18732 * libio/libioP.h: Include _G_config.h here. Move include of
18733 shlib-compat.h up with rest of includes. Simplify conditionals
18734 controlling definition of _IO_JUMPS_OFFSET.
18735
18736 * csu/init.c: Remove always-true #if around entire file.
18737 Don't include stdio.h. Set _IO_stdin_used to hardwired
18738 constant 0x20001, and update commentary.
18739 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18740 Replace all uses of _G_va_list with __gnuc_va_list.
18741 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18742 instead of #if _IO_HAVE_ST_BLKSIZE.
18743 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18744 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18745 not #ifdef.
18746
6c6c962a
ZW
18747 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18748 multiple-include guard to match.
18749 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18750 into this file.
18751 Remove preprocessor conditionals that are always true and/or
18752 redundant to other preprocessor conditionals in the same nest.
18753 Include shlib-compat.h unconditionally.
18754 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18755 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18756 defined after including stdio.h.
18757 Use __BEGIN_DECLS/__END_DECLS.
18758
18759 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18760 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18761 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18762
a4fea3f2
ZW
187632018-02-07 Zack Weinberg <zackw@panix.com>
18764
18765 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18766 New single-type headers split from _G_config.h.
18767 * libio/bits/types/cookie_io_functions_t.h
18768 * libio/bits/types/struct_FILE.h
18769 New single-type headers split from libio.h.
18770
18771 * libio/Makefile: Install the above new headers. Don't install
18772 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18773 bits/libio-ldbl.h.
18774 * libio/_G_config.h, libio/libio.h: Delete file.
18775
18776 * libio/bits/libio.h: Remove improper-inclusion guard.
18777 Include stdio.h and don't repeat anything that it does.
18778 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18779 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18780 __io_read_fn as cookie_read_function_t,
18781 __io_write_fn as cookie_write_function_t,
18782 __io_seek_fn as cookie_seek_function_t,
18783 __io_close_fn as cookie_close_function_t,
18784 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18785 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18786 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18787 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18788 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18789 and _IO_ferror_unlocked.
18790 Move prototypes of __uflow and __overflow...
18791
18792 * libio/stdio.h: ...here. Don't include bits/libio.h.
18793 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18794 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18795 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18796 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18797 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18798 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18799 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18800 __ssize_t, not _IO_ssize_t. Unconditionally define
18801 BUFSIZ as 8192 and EOF as (-1).
18802
18803 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18804 macros from bits/types/struct_FILE.h instead of _IO_* macros
18805 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18806 instead of _IO_ssize_t.
18807 * libio/bits/stdio2.h: Similarly.
18808
18809 * libio/iolibio.h: Add multiple-include guard.
18810 Include bits/libio.h after stdio.h.
18811 * libio/libioP.h: Add multiple-include guard.
18812 Include stdio.h and bits/libio.h before iolibio.h.
18813
6c6c962a 18814 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18815 * include/bits/types/cookie_io_functions_t.h
18816 * include/bits/types/struct_FILE.h: New wrappers.
18817
18818 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18819 Get definitions of _G_fpos_t and _G_fpos64_t from
18820 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18821 respectively. Remove improper-inclusion guards.
a4fea3f2 18822
6c6c962a 18823 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18824 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18825 libio.h and _G_config.h.
a4fea3f2 18826
ce999220
JM
188272018-02-07 Joseph Myers <joseph@codesourcery.com>
18828
8b4a1182
JM
18829 [BZ #15105]
18830 [BZ #19463]
18831 * include/sys/sysmacros.h [!_ISOMAC]
18832 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18833 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18834 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18835 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18836 libc_hidden_proto.
18837 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18838 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18839 Likewise.
18840 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18841 Undefine and redefine to add use __gnu_dev_ prefix.
18842 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18843 Likewise.
18844 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18845 and define as hidden inline function.
18846 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18847 Likewise.
18848 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18849 Likewise.
18850 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18851 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18852 (gnu_dev_minor): Likewise.
18853 (gnu_dev_makedev): Likewise.
18854 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18855 makedev.
18856 * posix/wordexp.c (exec_comm_child): Likewise.
18857 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18858 instead of minor and __gnu_dev_major instead of major.
18859 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18860 __gnu_dev_major instead of major.
18861 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18862 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18863 instead of gnu_dev_minor.
18864 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18865 (SLAVE_P): Likewise.
18866 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18867 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18868 instead of major.
18869
ce999220
JM
18870 [BZ #21313]
18871 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18872 in another place.
18873 * locale/weightwc.h (findidx): Likewise.
18874
b7c83ca3
WD
188752018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18876
18877 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18878 (slowlog_inexact): Likewise
18879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18880 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18881
388ff7bd
IG
188822018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18883
18884 [BZ #22797]
18885 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18886 missing second underscore to parameter name.
18887
663e7d78
JM
188882018-02-06 Joseph Myers <joseph@codesourcery.com>
18889
0d40d0ec
JM
18890 [BZ #14508]
18891 [BZ #15512]
18892 [BZ #17082]
18893 [BZ #20530]
18894 * bits/byteswap.h: Update file comment. Do not include
18895 <bits/byteswap-16.h>.
18896 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18897 constant.
18898 (__bswap_16): Define as inline function.
18899 (__bswap_constant_32): Reformat definition.
18900 (__bswap_32): Always define as inline function, not macro, using
18901 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18902 otherwise __bswap_constant_32.
18903 (__bswap_constant_64): Reformat definition. Do not use
18904 __extension__ here.
18905 (__bswap_64): Always define as inline function, not macro. Use
18906 __extension__ on function definition. Use __builtin_bswap64 if
18907 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18908 * string/test-endian-file-scope.c: New file.
18909 * string/test-endian-sign-conversion.c: Likewise.
18910 * string/Makefile (headers): Remove bits/byteswap-16.h.
18911 (tests): Add test-endian-file-scope and
18912 test-endian-sign-conversion.
18913 (CFLAGS-test-endian-sign-conversion.c): New variable.
18914 * bits/byteswap-16.h: Remove file.
18915 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18916 * sysdeps/ia64/bits/byteswap.h: Likewise.
18917 * sysdeps/m68k/bits/byteswap.h: Likewise.
18918 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18919 * sysdeps/s390/bits/byteswap.h: Likewise.
18920 * sysdeps/tile/bits/byteswap.h: Likewise.
18921 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18922 * sysdeps/x86/bits/byteswap.h: Likewise.
18923
383e87c9
JM
18924 [BZ #17721]
18925 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18926 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18927 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18928 199901L] (__restrict): Define to restrict.
18929
d92c2759
JM
18930 [BZ #19667]
18931 * string/testcopy.c: Include <support/support.h>. Do not include
18932 <malloc.h>. Use <support/test-driver.c>.
18933 (main): Rename to do_test. Make static. Use xmalloc instead of
18934 malloc.
18935
625fb764
JM
18936 [BZ #13575]
18937 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18938 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18939 (SSIZE_MAX): Define to INT_MAX.
18940 * posix/test-ssize-max.c: New file.
18941 * posix/Makefile (tests): Add test-ssize-max.
18942
02325d6c
JM
18943 [BZ #19668]
18944 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18945 <support/support.h>. Do not include <malloc.h>.
18946 (query_auxv): Use xmalloc instead of malloc.
18947
663e7d78
JM
18948 [BZ #14553]
18949 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18950 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18951 instead of loff_t.
18952
6b5c8607 189532018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18954
18955 [BZ #18023]
18956 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18957 Use scratch_buffer instead of extend_alloca.
18958
de6da571
ZW
189592018-02-06 Zack Weinberg <zackw@panix.com>
18960
26c07172
ZW
18961 * libio/stdio.h: Don't define getc or putc as macros.
18962 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18963 not _IO_getc and _IO_putc.
18964
de6da571
ZW
18965 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18966 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18967
92669d6e
JM
189682018-02-06 Joseph Myers <joseph@codesourcery.com>
18969
c2b84df9
JM
18970 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18971 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18972
41376f8c
JM
18973 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18974
d28bf648
JM
18975 [BZ #14890]
18976 * elf/elf.h (NT_PRFPREG): New macro.
18977 (NT_S390_VXRS_LOW): Likewise.
18978 (NT_S390_VXRS_HIGH): Likewise.
18979 (NT_S390_GS_CB): Likewise.
18980 (NT_S390_GS_BC): Likewise.
18981 (NT_S390_RI_CB): Likewise.
18982
e76def72
JM
18983 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18984 (MAP_SYNC): New macro.
18985 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18986 Likewise.
18987 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18988 (MAP_SYNC): Likewise.
18989 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18990 (MAP_SYNC): Likewise.
18991 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18992 (MAP_SYNC): Likewise.
18993 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18994 (MAP_SYNC): Likewise.
18995 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18996 (MAP_SYNC): Likewise.
18997 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18998 (MAP_SYNC): Likewise.
18999 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
19000 Likewise.
19001 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
19002 Likewise.
19003
92669d6e
JM
19004 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
19005 (MAP_SHARED_VALIDATE): New macro.
19006 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
19007 (MAP_SHARED_VALIDATE): Likewise.
19008
6a5cac49
L
190092018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19010
19011 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
19012 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
19013 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
19014
b44e0dfb
L
190152018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19016
19017 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
19018 (DT_NUM): Updated to 35.
19019
f886c16c
L
190202018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19021
19022 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
19023 __builtin_expect with __glibc_likely and __glibc_unlikely.
19024 (elf_machine_rela): Likewise.
19025 (elf_machine_lazy_rel): Likewise.
19026
06fbebff
L
190272018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19028
19029 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 19030 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
19031 (elf_machine_lazy_rel): Likewise.
19032
371b220f
L
190332018-02-05 H.J. Lu <hongjiu.lu@intel.com>
19034
19035 [BZ #22638]
19036 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
19037 SHARED.
65805016 19038 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 19039
f649a1b8
AS
190402018-02-05 Andreas Schwab <schwab@suse.de>
19041
19042 [BZ #22761]
19043 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
19044 string.
19045
9fdb340e
ST
190462018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
19047
19048 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
19049 not check against PTHREAD_STACK_MIN.
19050
09e56b9e
SM
190512018-02-02 Sean McKean <smckean83@gmail.com>
19052
19053 [BZ #22735]
19054 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
19055
d4b4a00a
FW
190562018-02-02 Florian Weimer <fweimer@redhat.com>
19057
19058 [BZ #22753]
19059 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
19060 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
19061 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
19062 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
19063 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
19064 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
19065 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
19066 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
19067 * manual/llio.texi (Scatter-Gather): Mention offset -1.
19068 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
19069 * misc/tst-preadvwritev2.c (do_test): Call it.
19070 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
19071
3dfcbfa1
SP
190722018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
19073
84c94d2f
SP
19074 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
19075
96e6a716
SP
19076 * benchtests/bench-memcmp.c: Print json instead of plain text.
19077
3dfcbfa1
SP
19078 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
19079 every test run.
19080
049375e2
JM
190812018-02-01 Joseph Myers <joseph@codesourcery.com>
19082
39f898c6
JM
19083 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
19084 version to 4.15.
19085 (s390_sthyi): New syscall.
19086
6f9a3dd8
JM
19087 * sysdeps/generic/ldbl-classify-compat.h: New file.
19088 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
19089 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
19090 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
19091 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
19092 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
19093 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
19094 * sysdeps/ieee754/dbl-64/s_finite.c: Include
19095 <ldbl-classify-compat.h>.
19096 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19097 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
19098 <ldbl-classify-compat.h>.
19099 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19100 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
19101 <ldbl-classify-compat.h>.
19102 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19103 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
19104 <ldbl-classify-compat.h>.
19105 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19106 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
19107 <ldbl-classify-compat.h>.
19108 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19109 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
19110 <ldbl-classify-compat.h>.
19111 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
19112 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
19113 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
19114 * sysdeps/m68k/coldfire/math_private.h: Remove file.
19115 * sysdeps/microblaze/math_private.h: Likewise.
19116 * sysdeps/nios2/math_private.h: Likewise.
19117 * sysdeps/sh/math_private.h: Likewise.
19118
eb65a3d5
JM
19119 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
19120 * sysdeps/m68k/coldfire/math_private.h: ... here.
19121 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
19122 * sysdeps/tile/math_private.h: Likewise.
19123 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
19124 Remove macro.
19125 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
19126 Likewise.
19127
8a6bb1d0
JM
19128 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
19129 Remove macro.
19130 (libc_fetestexcept): Likewise.
19131 (libc_feupdateenv_test): Likewise.
19132 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
19133 (libc_fetestexcept): Likewise.
19134 (libc_feupdateenv_test): Likewise.
19135 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
19136 (libc_fetestexcept): Likewise.
19137 (libc_feupdateenv_test): Likewise.
19138 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
19139 (libc_fetestexcept): Likewise.
19140 (libc_feupdateenv_test): Likewise.
19141
ae1fcb7b
JM
19142 * sysdeps/generic/math_private.h
19143 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
19144 New inline function.
19145 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
19146 Likewise.
19147
b1c347e2
JM
19148 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
19149 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
19150 * sysdeps/generic/math_private.h
19151 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
19152 inline function.
19153 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
19154 Likewise.
19155 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
19156 Likewise.
19157 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
19158 Likewise.
19159 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
19160 Likewise.
19161 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
19162 Likewise.
19163 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
19164 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
19165 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
19166 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
19167 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
19168 (__fegetenv): Likewise.
19169 (fesetenv): Likewise.
19170 (__fesetenv): Likewise.
19171 (feupdateenv): Likewise.
19172 (__feupdateenv): Likewise.
19173 (fegetround): Likewise.
19174 (__fegetround): Likewise.
19175 (fesetround): Likewise.
19176 (__fesetround): Likewise.
19177
d23a4962
JM
19178 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
19179 (feraiseexcept): New macro.
19180 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
19181 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
19182 Remove macro.
19183 (__feraiseexcept): Likewise.
19184 (feclearexcept): Likewise.
19185 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
19186 (__feraiseexcept): Likewise.
19187 (feclearexcept): Likewise.
19188 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
19189 (__feraiseexcept): Likewise.
19190 (feclearexcept): Likewise.
19191 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
19192 (__feraiseexcept): Likewise.
19193 (feclearexcept): Likewise.
19194 (fetestexcept): Likewise.
19195
5f167950
JM
19196 * sysdeps/m68k/coldfire/math-tests.h: New file.
19197
ccc9035a
JM
19198 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
19199 * sysdeps/m68k/bits/fenv.h: ... here.
19200 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
19201 not define.
19202 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
19203 Likewise.
19204 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
19205 Likewise.
19206 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
19207 Likewise.
19208 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
19209 Likewise.
19210 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
19211 Define to 0.
19212 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
19213 (__FE_UNDEFINED): New enum constant.
19214 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
19215 Do not define.
19216 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
19217 Likewise.
19218 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
19219 Likewise.
19220 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
19221 to match generic bits/fenv.h.
19222 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
19223 Do not define.
19224
049375e2
JM
19225 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
19226 packed on bits.
19227 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
19228 * soft-fp/half.h (union _FP_UNION_H): Likewise.
19229 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
19230 * soft-fp/single.h (union _FP_UNION_S): Likewise.
19231
f1d73681
CD
192322018-02-01 Carlos O'Donell <carlos@redhat.com>
19233 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
19234 Joseph Myers <joseph@codesourcery.com>
19235
19236 [BZ #21314]
19237 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
19238 (__log1p): Disable -Wmaybe-uninitialized for -Os around
19239 computation using c.
19240 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
19241 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
19242 computation using c.
19243
242cbc90
DL
192442018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19245
086ee48e
DL
19246 * version.h (RELEASE): Set to "development".
19247 (VERSION): Set to "2.27.9000".
19248 * NEWS (2.28): New section.
19249
23158b08
DL
19250 * version.h (RELEASE): Set to "stable".
19251 (VERSION): Set to "2.27".
19252 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
19253
242cbc90
DL
19254 * NEWS: Add the list of bugs fixed in 2.27.
19255
673e2305
AZ
192562018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19257
19258 * stdlib/test-atexit-race-common.c (do_test): Check stack size
19259 against PTHREAD_STACK_MIN.
19260
ced64e01
DL
192612018-02-01 Dmitry V. Levin <ldv@altlinux.org>
19262
19263 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
19264 New entries.
19265 (Rafal Luzynski, Andreas Schwab): Update.
19266
c10c9a5e
RL
192672018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
19268
19269 [BZ #10871]
19270 * NEWS: List the languages which actually use the alternative
19271 months feature in this release. Also explain that "alt_mon" and
19272 "ab_alt_mon" are optional.
19273
650ba77a
IM
192742018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
19275
19276 [BZ #22765]
19277 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
19278
93493119
DL
192792018-01-31 Dmitry V. Levin <ldv@altlinux.org>
19280
19281 * manual/install.texi (Tools for Compilation): Update the newest
19282 versions of gcc, binutils, texinfo, gawk, bison, and sed.
19283 * INSTALL: Regenerated.
19284
363e4519 192852018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
19286
19287 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
19288 instead of __builtin_expect.
19289
d7536874
FW
192902018-01-30 Florian Weimer <fweimer@redhat.com>
19291
19292 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
19293 data.
19294 * nss/tst-nss-getpwent.c (do_test): Likewise.
19295
9a1b267d
RL
192962018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
19297
19298 [BZ #10871]
19299 * localedata/locales/hr_HR (mon): Rename to...
19300 (alt_mon): This.
19301 (mon): Import from CLDR (genitive case).
19302 (d_t_fmt): Update the comment.
19303
9a179328
AS
193042018-01-29 Andreas Schwab <schwab@linux-m68k.org>
19305
19306 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
19307 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
19308 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
19309
e01e0ddc
ST
193102018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
19311
19312 * mach/Versions: Fix version when __mach_host_self_ was added.
19313 * hurd/Versions: Fix version when _hurd_exec_paths was added.
19314 * sysdeps/mach/hurd/i386/ld.abilist: New file.
19315 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
19316 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
19317 * sysdeps/mach/hurd/i386/libc.abilist: New file.
19318 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
19319 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
19320 * sysdeps/mach/hurd/i386/libm.abilist: New file.
19321 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
19322 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
19323 * sysdeps/mach/hurd/i386/librt.abilist: New file.
19324 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
19325 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
19326 || to respect codestyle.
2aadb705
ST
19327 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
19328 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19329 * malloc/malloc.c: Include <assert.h>.
19330 (assert): Do not define.
19331 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19332 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19333 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19334 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19335 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19336
521877e1
PD
193372018-01-29 Darius Rad <darius@bluespec.com>
19338
19339 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19340
532cf290
PD
193412018-01-29 Palmer Dabbelt <palmer@sifive.com>
19342
19343 * sysdeps/init_array/crti.S (.section .init_array): Add
19344 PREINIT_FUNCTION when defined.
40ca951b 19345 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19346 * config.h.in: Regenerate.
ba9e25a6
PD
19347 * manual/platform.texi: Add RISC-V documenation for
19348 __riscv_flush_icache.
c776fa11
PD
19349 * sysdeps/riscv/__longjmp.S: New file.
19350 * sysdeps/riscv/backtrace.c: Likewise.
19351 * sysdeps/riscv/bits/endian.h: Likewise.
19352 * sysdeps/riscv/bits/setjmp.h: Likewise.
19353 * sysdeps/riscv/bits/wordsize.h: Likewise.
19354 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19355 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19356 * sysdeps/riscv/dl-trampoline.S: Likewise.
19357 * sysdeps/riscv/gccframe.h: Likewise.
19358 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19359 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19360 * sysdeps/riscv/machine-gmon.h: Likewise.
19361 * sysdeps/riscv/memusage.h: Likewise.
19362 * sysdeps/riscv/setjmp.S: Likewise.
19363 * sysdeps/riscv/sys/asm.h: Likewise.
19364 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19365 * sysdeps/riscv/dl-tls.h: New file.
19366 * sysdeps/riscv/libc-tls.c: Likewise.
19367 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19368 * sysdeps/riscv/nptl/tls.h: Likewise.
19369 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19370 * sysdeps/riscv/bits/fenv.h: New file.
19371 * sysdeps/riscv/e_sqrtl.c: Likewise.
19372 * sysdeps/riscv/fpu_control.h: Likewise.
19373 * sysdeps/riscv/math-tests.h: Likewise.
19374 * sysdeps/riscv/nofpu/Implies: Likewise.
19375 * sysdeps/riscv/sfp-machine.h: Likewise.
19376 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19377 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19378 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19379 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19380 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19381 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19382 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19383 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19384 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19385 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19386 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19387 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19388 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19389 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19390 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19391 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19392 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19393 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19394 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19395 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19396 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19397 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19398 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19399 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19400 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19401 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19402 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19403 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19404 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19405 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19406 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19407 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19408 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19409 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19410 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19411 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19412 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19413 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19414 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19415 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19416 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19417 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19418 * sysdeps/riscv/rvf/math_private.h: Likewise.
19419 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19420 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19421 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19422 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19423 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19424 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19425 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19426 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19427 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19428 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19429 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19430 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19431 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19432 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19433 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19434 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19435 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19436 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19437 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19438 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19439 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19440 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19441 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19442 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19443 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19444 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19445 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19446 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19447 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19448 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19449 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19450 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19451 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19452 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19453 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19454 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19455 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19456 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19457 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19458 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19459 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19460 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19461 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19462 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19463 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19464 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19465 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19466 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19467 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19468 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19469 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19470 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19471 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19472 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19473 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19474 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19475 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19476 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19477 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19478 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19479 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19480 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19481 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19482 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19483 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19484 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19485 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19486 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19487 * sysdeps/riscv/Implies: New file.
19488 * sysdeps/riscv/Makefile: Likewise.
19489 * sysdeps/riscv/configure: Likewise.
19490 * sysdeps/riscv/configure.ac: Likewise.
19491 * sysdeps/riscv/nptl/Makefile: Likewise.
19492 * sysdeps/riscv/preconfigure: Likewise.
19493 * sysdeps/riscv/rv64/Implies-after: Likewise.
19494 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19495 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19496 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19497 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19498 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19499 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19500 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19501 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19502 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19503 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19504 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19505 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19506 (Config): Likewise.
532cf290 19507
cdd14619
FW
195082018-01-29 Florian Weimer <fweimer@redhat.com>
19509
19510 [BZ #22701]
19511 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19512 libnsl_hidden_proto.
19513 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19514 libnsl_hidden_proto.
19515 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19516 * nis/Makefile (libnsl-routines): Add nss-default only for
19517 build-obsolete-nsl.
19518 * nis/nis_defaults.c (__nis_default_ttl): Add
19519 libnsl_hidden_nolink_def.
19520 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19521 declaration.
19522 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19523 * nis/ypclnt.c (yp_maplist): Likewise.
19524
b7ccb5de
RN
195252018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19526
19527 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19528 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19529
522623e4
JM
195302018-01-29 Joseph Myers <joseph@codesourcery.com>
19531
e3aa6999
JM
19532 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19533 clean -dxfq for git updates when replacing sources.
19534
088de7d0
JM
19535 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19536 --disable-libcilkrts unconditionally, not just for the final GCC
19537 build for Hurd.
19538
522623e4
JM
19539 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19540 version to 4.15.
19541
8b406f87
RL
195422018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19543
19544 [BZ #10871]
19545 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19546 case).
19547
105e90bd
RL
195482018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19549
19550 [BZ #10871]
19551 * localedata/locales/be_BY (mon): Rename to...
19552 (alt_mon): This, then synchronize with CLDR (nominative case).
19553 (abmon): Rename to...
19554 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19555 (mon): Import from CLDR (genitive case).
19556 (abmon): Likewise.
19557 * localedata/locales/be_BY@latin (mon): Rename to...
19558 (alt_mon): This.
19559 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19560
19561 * localedata/locales/be_BY@latin (lang_name): Reworded to
19562 "biełaruskaja mova".
19563
561cb414
RL
195642018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19565
19566 [BZ #10871]
19567 * localedata/locales/el_CY (mon): Renamed to...
19568 (alt_mon): This.
19569 (mon): Import from CLDR (genitive case).
19570 * localedata/locales/el_GR: Likewise.
19571
f7bdf30d
RL
195722018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19573
19574 [BZ #10871]
19575 * localedata/locales/ru_RU (mon): Rename to...
19576 (alt_mon): This.
19577 (abmon): Rename to...
19578 (ab_alt_mon): This.
19579 (mon): Import from CLDR (genitive case).
19580 (abmon): Copy from the old content except the 5th month which is
19581 now in the genitive case, even when abbreviated.
19582 * localedata/locales/ru_UA: Likewise.
19583 * time/tst-strptime.c (day_tests): Add an actual example of
19584 a difference between %b and %Ob in Russian.
19585
85285a0c
ST
195862018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19587
19588 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19589 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19590 a `c' variable.
3538a4b6 19591 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19592 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19593 <sys/wait.h>, <time.h>, <sys/uio.h>.
19594 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19595 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19596 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19597 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19598 return 0.
05ebfe87
ST
19599 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19600 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19601 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19602 instead of void *.
19603 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19604 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19605 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19606 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19607 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19608 and make them the default for now.
903d3633
ST
19609 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19610 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19611 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19612 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19613 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19614 MACH_IPC_COMPAT.
06fac9f5
ST
19615 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19616 __task_terminate would ever return successfully.
f8177753
ST
19617 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19618 to global scope.
41cdb1eb
ST
19619 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19620 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19621 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19622 critical section to make code simpler and avoid warning.
19623 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19624 critical section to make code simpler and avoid warning.
844bf921
ST
19625 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19626 const char * instead of char *.
f8bee46c
ST
19627 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19628 __hurd_file_name_split, hurd_file_name_split,
19629 __hurd_directory_name_split, hurd_directory_name_split,
19630 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19631 hurd_file_name_path_lookup): Make lookup function parameter take a
19632 const char *name instead of char *name.
19633 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19634 __hurd_directory_name_split): Likewise.
19635 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19636 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19637 * sysdeps/mach/hurd/check_native.c: New file.
19638 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19639 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19640 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19641 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19642 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19643 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19644 (do_test_bz20181): Rename accordingly.
19645 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19646 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19647 <sys/mount.h>.
28f6186f
ST
19648 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19649 version only if __USE_EXTERN_INLINES is defined.
19650 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19651 __hurd_sockfail): Likewise.
19652 (_hurd_fd_get): Always declare functions, and provide inline versions
19653 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19654 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19655 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19656 _hurd_port_set): Always declare functions, and provide inline versions
19657 only if __USE_EXTERN_INLINES and _LIBC are defined and
19658 IS_IN(libc).
19659 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19660 _hurd_critical_section_unlock): Likewise.
19661 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19662 * __hurd_threadvar_location): Likewise.
19663 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19664 _hurd_userlink_clear): Likewise.
19665 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19666 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19667 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19668 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19669 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19670 __spin_lock_locked): Likewise.
19671 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19672 __spin_lock_locked): Likewise.
19673 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19674 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19675 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19676 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19677 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19678 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19679 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19680 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19681 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19682 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19683 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19684 * mach/Makefile (user-interfaces): Add mach/gnumach.
19685 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19686 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19687 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19688 instead of invalid -1.
1f89ac71
ST
19689 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19690 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19691 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19692 <net/ppp_defs.h>.
85285a0c 19693
1fd1e27c 196942018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19695
19696 * hurd/fcntl-internal.h: New file.
19697
3854c5a8
JC
196982018-01-27 James Clarke <jrtc27@jrtc27.com>
19699
7e23a7dd
JC
19700 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19701
3854c5a8
JC
19702 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19703
5503f413
AS
197042018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19705
19706 [BZ #22701]
19707 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19708 Build only shared objects.
19709
caaf7804
CD
197102018-01-26 Carlos O'Donell <carlos@redhat.com>
19711
19712 * README: Update for hppa.
19713
1cbf818d
PM
197142018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19715
caaf7804
CD
19716 * sysdeps/sparc/fpu/libm-test-ulps: Update
19717 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19718
caaf7804 197192018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19720
19721 Revert:
19722
19723 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19724
19725 [BZ #22563]
19726 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19727 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19728 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19729 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19730 to feature_1.
19731
19732 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19733
19734 [BZ #22563]
19735 * bits/types/__cancel_jmp_buf_tag.h: New file.
19736 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19737 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19738 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19739 * nptl/Makefile (headers): Add
19740 bits/types/__cancel_jmp_buf_tag.h.
19741 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19742 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19743 * sysdeps/nptl/pthread.h: Include
19744 <bits/types/__cancel_jmp_buf_tag.h>.
19745 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19746 __cancel_jmp_buf.
19747 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19748
65f6c94e
RL
197492018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19750
19751 [BZ #10871]
19752 * localedata/locales/uk_UA (mon): Renamed to...
19753 (alt_mon): This.
19754 (alt_digits): "0" removed and then renamed to...
19755 (mon): This.
19756 (date_fmt): Definition changed not to use the alternative
19757 digits hack.
19758
fb58aac5
PD
197592018-01-25 Palmer Dabbelt <palmer@sifive.com>
19760
19761 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19762 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19763 * elf/elf.h (EF_RISCV_RVC): New define.
19764 (EF_RISCV_FLOAT_ABI): Likewise.
19765 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19766 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19767 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19768 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19769 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19770 define.
19771 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19772
128c43a2
AS
197732018-01-25 Andreas Schwab <schwab@suse.de>
19774
19775 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19776 single quotes.
19777 * sysdeps/gnu/configure: Regenerate.
19778 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19779 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19781 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19782 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19783 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19784 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19785 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19786
f9015003
ST
197872018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19788
48130690 19789 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19790 URL, and run autoconf, make it the default for now.
f9015003 19791
91b2cffa
JM
197922018-01-24 Joseph Myers <joseph@codesourcery.com>
19793
3005b705
JM
19794 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19795 soft-float ColdFire configuration.
19796
69231fab
JM
19797 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19798 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19799 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19800
d4c7e1d0
JM
19801 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19802 MicroBlaze file.
19803
0cfe5be5
JM
19804 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19805 ....
19806 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19807 ... here.
19808 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19809 New file.
19810
91b2cffa
JM
19811 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19812 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19813 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19814 file.
19815
c739e191
SN
198162018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19817
19818 [BZ #22742]
19819 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19820 Rename to __reserved and add comment.
19821 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19822 Rename to __reserved.
19823
394b5bac
JM
198242018-01-24 Joseph Myers <joseph@codesourcery.com>
19825
19826 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19827 i686-gnu configurations.
19828 (Context.run_builds): Include mig, gnumach and hurd in components
19829 considered.
19830 (Context.checkout): Add mig, gnumach and hurd to components.
19831 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19832 hurd.
19833 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19834 (Config.build): Install gnumach headers, build mig and install
19835 hurd headers for 'gnu' OS.
19836 (Config.install_gnumach_headers): New function.
19837 (Config.install_hurd_headers): Likewise.
19838 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19839 when building for 'gnu' OS.
19840
28c3f14f
TK
198412018-01-23 Tobias Klauser <tklauser@distanz.ch>
19842
19843 * manual/tunables.texi (Hardware Capability Tunables): Fix
19844 spelling.
19845
0f5e2da1
RJ
198462018-01-22 Rical Jasan <ricaljasan@pacific.net>
19847
19848 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19849 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19850 (ALTMON_11, ALTMON_12): Improve documentation.
19851 * manual/time.texi (strftime): Likewise.
19852
7817b14a
RL
198532018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19854
19855 [BZ #10871]
19856 * localedata/locales/pl_PL: Alternative month names added,
19857 primary month names are genitive now.
19858 * time/tst-strptime.c (day_tests): Actually use a genitive case
19859 of a month name in Polish language.
19860
22390764
RL
198612018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19862
19863 [BZ #10871]
19864 * manual/locale.texi: Document ALTMON_1..12 constants for
19865 nl_langinfo. Specify when to use ALTMON instead of MON.
19866 * manual/time.texi (strftime, strptime): Document GNU extension
19867 permitting O modifier with %B and %b. Specify when to use
19868 %OB instead of %B.
19869
761a585c
RL
198702018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19871
19872 [BZ #10871]
19873 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19874 names, define them as the same as abbreviated month names explicitly.
19875 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19876 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19877 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19878 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19879 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19880 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19881 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19882 _NL_WABALTMON_12): New enum constants.
19883 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19884 wab_alt_mon, and ab_alt_mon_defined members.
19885 (time_output): Output ab_alt_mon and wab_alt_mon members.
19886 (time_read): Read them, initialize them as copies of abmon and wabmon
19887 respectively if they are missing, initialize ab_alt_mon_defined.
19888 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19889 * locale/programs/locfile-kw.h: Regenerate.
19890 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19891 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19892 and ru_RU.UTF-8.
19893 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19894 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19895 (__strftime_internal): Handle %Ob and %Oh formats.
19896 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19897 (__strptime_internal): Handle %Ob and %Oh formats.
19898 * time/tst-strptime.c (day_tests): Add more tests to parse different
19899 forms of month names including the new %Ob format specifier.
19900
95cb863a
RL
199012018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19902
19903 [BZ #10871]
19904 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19905 define them as the same as primary full month names explicitly.
19906 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19907 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19908 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19909 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19910 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19911 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19912 _NL_WALTMON_12): New enum constants.
19913 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19914 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19915 macros.
19916 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19917 walt_mon, and alt_mon_defined members.
19918 (time_output): Output alt_mon and walt_mon members.
19919 (time_read): Read them, initialize them as copies of mon and wmon
19920 respectively if they are missing, initialize alt_mon_defined.
19921 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19922 * locale/programs/locfile-kw.h: Regenerate.
19923 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19924 * localedata/tst-langinfo.c (map): Add tests for the new constants
19925 ALTMON_1 .. ALTMON_12.
19926 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19927 and pl_PL.UTF-8.
19928 * time/strftime_l.c (f_altmonth): New macro.
19929 (__strftime_internal): Handle %OB format.
19930 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19931 (__strptime_internal): Handle %OB format.
19932 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19933 of month names including the new %OB format specifier.
19934
4612268a
TMQMF
199352018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19936
19937 [BZ #22685]
19938 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19939 from ABORT_TRANSACTION.
19940 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19941 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19942 ABORT_TRANSACTION_IMPL): Likewise.
19943 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19944 Linux code, but remove the code that aborts transactions.
19945
64f63cb4
ST
199462018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19947
19948 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19949
32ac6e92
RL
199502018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19951
19952 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19953 in date: "2004-14-09" should be "2004-09-14".
19954 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19955 "2003-15-09" should be "2003-09-15".
19956
8e448310
AS
199572018-01-18 Arjun Shankar <arjun@redhat.com>
19958
19959 [BZ #22343]
71aa429b 19960 [BZ #22774]
4590634f 19961 CVE-2018-6485
71aa429b 19962 CVE-2018-6551
8e448310
AS
19963 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19964 after padding.
19965 (_int_memalign): check for integer overflow before calling
19966 _int_malloc.
19967 * malloc/tst-malloc-too-large.c: New test.
19968 * malloc/Makefile: Add tst-malloc-too-large.
19969
e234d7cb
RL
199702018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19971
19972 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19973 in date: "2017-24-07" should be "2017-07-24".
19974 * localedata/locales/mai_IN: Likewise.
19975 * localedata/locales/mai_NP: Likewise.
19976
48b66019
DL
199772018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19978
19979 * po/ru.po: Update translations.
19980
1eeddc58
JM
199812018-01-17 Joseph Myers <joseph@codesourcery.com>
19982
19983 [BZ #22719]
19984 * sysdeps/hppa/backtrace.c: New file.
19985
207a72e2
L
199862018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19987
19988 [BZ #22715]
19989 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19990 align La_x86_64_retval to VEC_SIZE.
19991
4942c4ea
JM
199922018-01-16 Joseph Myers <joseph@codesourcery.com>
19993
19994 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19995 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19996
10d200db
FW
199972018-01-16 Florian Weimer <fweimer@redhat.com>
19998
19999 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
20000 Move tst-thread-exit-clobber ...
20001 [$(CXX)] (tests-unsupported): ... to here.
20002
953c49cc
SN
200032018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20004
20005 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
20006 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
20007 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20008 (_dl_aarch64_cap_flags): Update.
20009 (_DL_HWCAP_COUNT): Update.
20010
afce1991
SN
200112018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
20012
20013 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
20014 (_DL_HWCAP_LAST): Remove.
20015 (_DL_HWCAP_COUNT): Move to ...
20016 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
20017 (_DL_HWCAP_COUNT): ... here.
20018
b725132d
FW
200192018-01-16 Florian Weimer <fweimer@redhat.com>
20020
20021 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
20022 mode with GNU extensions.
20023
c9e613a7
AH
200242018-01-15 Alan Hayward <alan.hayward@arm.com>
20025
20026 * elf/elf.h (NT_ARM_SVE): Define.
20027
860b0240
FW
200282018-01-15 Florian Weimer <fweimer@redhat.com>
20029
20030 [BZ #22636]
20031 * nptl/tst-minstack-throw.cc: New file.
20032 * nptl/Makefile (tests): Add tst-minstack-throw.
20033 (LDLIBS-tst-minstack-throw): Link with libstdc++.
20034 [!CXX] (tests-unsupported): Add tst-minstack-throw.
20035
16d0f6ac
JM
200362018-01-15 Joseph Myers <joseph@codesourcery.com>
20037
20038 * scripts/build-many-glibcs.py (Context.checkout): Default
20039 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
20040 version to 1.1.0.
20041
505d3910
CD
200422018-01-13 Carlos O'Donell <carlos@redhat.com>
20043
20044 [BZ #22707]
20045 * elf/elf.h (DF_1_STUB): Define.
20046 (DF_1_PIE): Define.
20047
af1e6be4
TMQMF
200482018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20049
20050 [BZ #22697]
20051 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
20052 Do not add 0.5 to integer or out-of-range arguments.
20053
98d13ce0
DL
200542018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20055
20056 * po/bg.po: Update translations.
20057 * po/cs.po: Likewise.
20058 * po/de.po: Likewise.
20059 * po/ko.po: Likewise.
20060 * po/pl.po: Likewise.
20061 * po/sv.po: Likewise.
20062 * po/uk.po: Likewise.
20063 * po/vi.po: Likewise.
20064
3d1d7928
SN
200652018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
20066
20067 * aarch64/start.S (_start): Use __wrap_main.
20068 (__wrap_main): New local symbol.
20069
52a713fd
DL
200702018-01-12 Dmitry V. Levin <ldv@altlinux.org>
20071
20072 [BZ #22679]
20073 CVE-2018-1000001
20074 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
20075 generic_getcwd if the path returned by getcwd syscall is not absolute.
20076 * io/tst-getcwd-abspath.c: New test.
20077 * io/Makefile (tests): Add tst-getcwd-abspath.
20078
249a5895
IK
200792018-01-12 Istvan Kurucsai <pistukem@gmail.com>
20080
20081 * malloc/malloc.c (malloc_consolidate): Add size check.
20082
1a51e46e
FW
200832018-01-12 Florian Weimer <fweimer@redhat.com>
20084
20085 * support/write_message.c (write_message): Preserve errno.
20086 * support/check.c (print_failure): Likewise.
20087 * support/support_test_verify_impl.c (support_test_verify_impl):
20088 Likewise.
20089 * support/support_test_compare_failure.c
20090 (support_test_compare_failure): Likewise.
20091
9a08a366
FW
200922018-01-12 Florian Weimer <fweimer@redhat.com>
20093
20094 [BZ #22701]
20095 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
20096 Prevent installation of libnsl.so.
20097 (libnsl-inhibit-o): Do not build (or install) static libraries.
20098
80647883 200992018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
20100
20101 [BZ #22657]
20102 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
20103 before the day number which may produce a double space.
20104 (date_fmt): Likewise.
20105
c8924f1f
JM
201062018-01-12 Joseph Myers <joseph@codesourcery.com>
20107
20108 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
20109 instead of fegetenv.
20110
da09e6fa
JM
201112018-01-11 Joseph Myers <joseph@codesourcery.com>
20112
20113 [BZ #22702]
20114 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
20115 comment to say exceptions are discarded.
20116 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
20117 __fegetenv.
20118 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
20119 be enabled.
20120
08c6e952
FW
201212018-01-11 Florian Weimer <fweimer@redhat.com>
20122
20123 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
20124 and error message.
20125
d8b77890
FW
201262018-01-11 Florian Weimer <fweimer@redhat.com>
20127
20128 [BZ #22636]
20129 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
20130 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
20131
b303185d
JM
201322018-01-10 Joseph Myers <joseph@codesourcery.com>
20133
20134 [BZ #22693]
20135 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
20136 negative arguments in test for NaN or infinity argument.
20137
ee61d028
DL
201382018-01-10 Dmitry V. Levin <ldv@altlinux.org>
20139
20140 * po/libc.pot: Regenerate.
20141
f993b875
FW
201422018-01-10 Florian Weimer <fweimer@redhat.com>
20143
20144 [BZ #22636]
20145 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
20146 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
20147
09085ede
ST
201482018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
20149
20150 * hurd/hurd/fd.h: Include <fcntl.h>
20151 (__hurd_at_flags): New function.
20152 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
20153 with call to __hurd_at_flags.
20154 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
20155 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
20156 __faccessat
20157 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
20158 (__access_noerrno): Use __faccessat_common instead of access_common.
20159 (__access): Likewise.
20160 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
20161 with a call to __faccessat.
20162 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
20163 (__faccessat_common): ... this. Move implementation of __access into it when
20164 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
20165 reauthenticate_cwdir_at helper to implement AT mechanism.
20166 (__faccessat_noerrno): New function, just calls __faccessat_common.
20167 (__faccessat): New function, just calls __faccessat_common.
20168 (faccessat): Define weak alias.
20169
12727488
JM
201702018-01-10 Joseph Myers <joseph@codesourcery.com>
20171
87faac55
JM
20172 [BZ #22691]
20173 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20174 (CFLAGS-s_fmaxmagl.c): New variable.
20175 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
20176
12727488
JM
20177 [BZ #22690]
20178 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
20179 long int for arguments of possibly overflowing addition or
20180 subtraction.
20181 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
20182
e134ca17
JM
201832018-01-09 Joseph Myers <joseph@codesourcery.com>
20184
b2584ac2
JM
20185 [BZ #22688]
20186 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20187 (CFLAGS-e_remainderl.c): New variable.
20188
e134ca17
JM
20189 [BZ #22687]
20190 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
20191 variable.
20192 (CFLAGS-s_cacoshl.c): Likewise.
20193 (CFLAGS-s_casinhl.c): Likewise.
20194 (CFLAGS-s_catanl.c): Likewise.
20195 (CFLAGS-s_catanhl.c): Likewise.
20196 (CFLAGS-s_cexpl.c): Likewise.
20197 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
20198 (CFLAGS-s_csinhl.c): Likewise.
20199 (CFLAGS-s_clogl.c): Likewise.
20200 (CFLAGS-s_clog10l.c): Likewise.
20201 (CFLAGS-s_csinl.c): Likewise.
20202 (CFLAGS-s_csqrtl.c): Likewise.
20203
d31a4a48
ST
202042017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
202052017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
20206
20207 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
20208 (_hurd_exec_paths): New function.
20209 * hurd/hurd.h (_hurd_exec): Deprecate function.
20210 (_hurd_exec_paths): Declare function.
20211 * hurd/Versions: Export _hurd_exec_paths.
20212 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
20213 (__execve): Use __getcwd to build absolute path, and use
20214 _hurd_exec_paths instead of _hurd_exec.
20215 * sysdeps/mach/hurd/spawni.c: Likewise.
20216 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
20217 _hurd_exec.
20218
d7ff3f11
DL
202192018-01-08 Dmitry V. Levin <ldv@altlinux.org>
20220
20221 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
20222 test instead of failing in case of ENOENT returned by posix_openpt.
20223
401311cf
FW
202242018-01-08 Florian Weimer <fweimer@redhat.com>
20225
20226 resolv: Support binary labels in test framework.
20227 * support/resolv_test.c (struct to_be_freed): Remove.
20228 (struct compressed_name): New.
20229 (allocate_compressed_name, ascii_tolower)
20230 (compare_compressed_name): New functions.
20231 (struct resolv_response_builder): Update type of
20232 compression_offsets for use with tsearch. Rempve to_be_freed.
20233 (response_push_pointer_to_free): Remove function.
20234 (resolv_response_add_name): Rewrite using struct compressed_name
20235 and tsearch instead of hsearch_r.
20236 (response_builder_allocate): Remove initialization of
20237 compression_offsets.
20238 (response_builder_free): Update for removal of to_be_freed. Use
20239 tdestroy instead of hdestroy_r.
20240 * resolv/Makefile (tests): Add tst-resolv-binary.
20241 (tst-resolv-binary): Link with -lresolv -lpthread.
20242
2b3aa446
FW
202432018-01-08 Florian Weimer <fweimer@redhat.com>
20244
20245 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
20246 time. Pass positive flag instead of negative flag to
20247 support_test_compare_failure.
20248 (support_test_compare_failure): Change negative parameter to
20249 positive.
20250 * support/support_test_compare_failure.c (report)
20251 (support_test_compare_failure): Likewise.
20252 * support/tst-test_compare.c (return_ssize_t, return_int): New.
20253 (do_test): Check int/size_t, ssize_t/size_t comparisons.
20254
630f4cc3
SN
202552018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
20256
20257 [BZ #22637]
20258 * nptl/descr.h (stackblock, stackblock_size): Update comments.
20259 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
20260 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
20261 stacksize.
20262 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
20263
c70e4e9c
L
202642018-01-08 H.J. Lu <hongjiu.lu@intel.com>
20265
20266 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20267 Add s_sincosf-sse2 and s_sincosf-fma.
20268 (CFLAGS-s_sincosf-fma.c): New.
20269 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
20270 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
20271 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
20272 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
20273 __sincosf is defined.
20274
579396ee
FW
202752018-01-08 Florian Weimer <fweimer@redhat.com>
20276
20277 * nptl/tst-thread-exit-clobber.cc: New file.
20278 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
20279 C++11 mode.
20280 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
20281 (tests): Add tst-thread-exit-clobber.
20282 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
20283
dabd75b6
FW
202842018-01-08 Florian Weimer <fweimer@redhat.com>
20285
20286 * support/check.h (support_static_assert): Define.
20287 (TEST_COMPARE): Use it.
20288
c2e014cc
AJ
202892018-01-07 Aurelien Jarno <aurelien@aurel32.net>
20290
20291 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
20292 [!__RLIM_T_MATCHES_RLIM64_T]
20293 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
20294 __getrlimit64. Add libc_hidden_weak.
20295
31a98837
PD
202962018-01-06 Palmer Dabbelt <palmer@sifive.com>
20297
20298 * elf/elf.h (R_RISCV_NONE): New define.
20299 (R_RISCV_32): Likewise.
20300 (R_RISCV_64): Likewise.
20301 (R_RISCV_RELATIVE): Likewise.
20302 (R_RISCV_COPY): Likewise.
20303 (R_RISCV_JUMP_SLOT): Likewise.
20304 (R_RISCV_TLS_DTPMOD32): Likewise.
20305 (R_RISCV_TLS_DTPMOD64): Likewise.
20306 (R_RISCV_TLS_DTPREL32): Likewise.
20307 (R_RISCV_TLS_DTPREL64): Likewise.
20308 (R_RISCV_TLS_TPREL32): Likewise.
20309 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
20310 * Makerules (make-link-multidir): Make directories before linking into
20311 them.
150bbac1
PD
20312 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
20313 define.
20314 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
20315 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
20316 in subdirectories of lib.
8e13c51b
PD
20317 * nptl/Makefile (/librt.so): Always depend on
20318 "$(shared-thread-library)".
31a98837 20319
fad7d57e
ST
203202018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
20321
20322 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
20323 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
20324 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
20325 (___tls_get_addr).
20326 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
20327 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
20328 "-O2 -march=i686".
01c7e549 20329 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20330 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20331 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20332 * sysdeps/gnu/glob-lstat-compat.c: New file.
20333 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20334 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20335
3a32b716
TMQMF
203362018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20337
20338 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20339 Reserve 16 chars to reloc_addr before calling _itoa_word.
20340
24731685
AJ
203412018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20342
20343 [BZ #22678]
20344 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20345 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20346
19be56d8
AJ
20347 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20348 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20349
a6d0afb5
AJ
20350 * resource/tst-getrlimit.c: Add copyright header.
20351
8e900969
AJ
203522018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20353 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20354
20355 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20356 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20357 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20358 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20359 instead.
20360 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20361 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20362 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20363 RLIM64_INFINITY): Fix values to match the kernel ones.
20364 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20365 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20366 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20367 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20368 getrlimit64@@GLIBC_2_27.
20369 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20370 and setrlimit64.
20371 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20372 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20373 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20374 setrlimit, getrlimit64 and setrlimit64.
20375
0d0bc784
AJ
203762018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20377
20378 [BZ #22648]
20379 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20380 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20381
ba374b6d
JM
203822018-01-04 Joseph Myers <joseph@codesourcery.com>
20383
20384 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20385 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20386 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20387
4854ddd8
AZ
203882018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20389
b0a4eca2
AZ
20390 [BZ #15479]
20391 [BZ #22666]
20392 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20393 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20394
4854ddd8
AZ
20395 [BZ #15479]
20396 [BZ #22665]
20397 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20398 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20399 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20400 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20401
8a5df95f
FW
204022018-01-04 Florian Weimer <fweimer@redhat.com>
20403
20404 [BZ #22667]
20405 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20406 Align the stack before calling exit.
20407 * stdlib/tst-makecontext-align.c: New file.
20408 * stdlib/Makefile (tests): Add tst-makecontext-align.
20409
82eef55f
FW
204102018-01-04 Florian Weimer <fweimer@redhat.com>
20411
20412 Add support for calling dlvsym from libc.so.
20413 * include/dlfcn.h (__libc_dlvsym): Declare.
20414 * elf/Makefile (tests-static-internal): Add
20415 tst-libc_dlvsym-static.
20416 (tests-internal): Add tst-libc_dlvsym.
20417 (modules-names): Add tst-libc_dlvsym-dso.
20418 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20419 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20420 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20421 object tst-libc_dlvsym-dso.so needs to be built before running
20422 these tests.
20423 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20424 * elf/Versions: Export __libc_dlvsym.
20425 * elf/dl-libc.c (struct do_dlvsym_args): New.
20426 (do_dlvsym, __libc_dlvsym): New functions.
20427 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20428 (_dl_open_hook2): New variable.
20429 (__libc_register_dl_open_hook): Set it.
20430 * elf/tst-libc_dlvsym-dso.c: New file.
20431 * elf/tst-libc_dlvsym-static.c: Likewise.
20432 * elf/tst-libc_dlvsym.c: Likewise.
20433 * elf/tst-libc_dlvsym.h: Likewise.
20434
1714fc06
ST
204352018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20436
20437 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20438 include <sys/mount.h>.
20439
3c7d0312
WD
204402018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20441
20442 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20443 Add __NO_MATH_ERRNO__ check.
20444
7eff0954
JM
204452018-01-02 Joseph Myers <joseph@codesourcery.com>
20446
20447 * sysdeps/mips/mips32/libm-test-ulps: Update.
20448 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20449
77f49956
FW
204502018-01-02 Florian Weimer <fweimer@redhat.com>
20451
20452 * misc/tst-pselect.c: Add copyright header.
20453
363e4519 204542018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20455
20456 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20457 comment.
20458 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20459 comment.
20460 (settrlimit): Rename into setrlimit.
20461 (__sttrlimit): Rename into __setrlimit.
20462
3e4226ff
AJ
20463 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20464 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20465 never defined in that case.
20466
b9256ab6
JM
204672018-01-02 Joseph Myers <joseph@codesourcery.com>
20468
28fd6a44
JM
20469 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20470
a4933a15
JM
20471 * sysdeps/arm/libm-test-ulps: Update.
20472
b9256ab6
JM
20473 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20474 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20475
4cf82d23
RS
204762018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20477
20478 * NEWS: Add cosf and sincosf to list of optimized functions.
20479
6a9dd7a7
AJ
204802018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20481
20482 [BZ #22660]
20483 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20484 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20485 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20486 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20487
dbba87d5
DL
204882018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20489
b05cb613
DL
20490 [BZ #22433]
20491 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20492
dbba87d5
DL
20493 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20494 making a copy of it.
20495
688903eb
JM
204962018-01-01 Joseph Myers <joseph@codesourcery.com>
20497
66ac23de
JM
20498 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20499 trailing whitespace removed.
20500 * scripts/config.guess: Update to version 2018-01-01.
20501 * scripts/config.sub: Update to version 2018-01-01.
20502 * scripts/move-if-change: Update from gnulib.
20503
09533208
JM
20504 * NEWS: Update copyright dates.
20505 * catgets/gencat.c (print_version): Likewise.
20506 * csu/version.c (banner): Likewise.
20507 * debug/catchsegv.sh: Likewise.
20508 * debug/pcprofiledump.c (print_version): Likewise.
20509 * debug/xtrace.sh (do_version): Likewise.
20510 * elf/ldconfig.c (print_version): Likewise.
20511 * elf/ldd.bash.in: Likewise.
20512 * elf/pldd.c (print_version): Likewise.
20513 * elf/sotruss.sh: Likewise.
20514 * elf/sprof.c (print_version): Likewise.
20515 * iconv/iconv_prog.c (print_version): Likewise.
20516 * iconv/iconvconfig.c (print_version): Likewise.
20517 * locale/programs/locale.c (print_version): Likewise.
20518 * locale/programs/localedef.c (print_version): Likewise.
20519 * login/programs/pt_chown.c (print_version): Likewise.
20520 * malloc/memusage.sh (do_version): Likewise.
20521 * malloc/memusagestat.c (print_version): Likewise.
20522 * malloc/mtrace.pl: Likewise.
20523 * manual/libc.texinfo: Likewise.
20524 * nptl/version.c (banner): Likewise.
20525 * nscd/nscd.c (print_version): Likewise.
20526 * nss/getent.c (print_version): Likewise.
20527 * nss/makedb.c (print_version): Likewise.
20528 * posix/getconf.c (main): Likewise.
20529 * scripts/test-installation.pl: Likewise.
20530 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20531
688903eb
JM
20532 * All files with FSF copyright notices: Update copyright dates
20533 using scripts/update-copyrights.
20534 * locale/programs/charmap-kw.h: Regenerated.
20535 * locale/programs/locfile-kw.h: Likewise.
20536
4f820792
ZW
205372017-12-31 Zack Weinberg <zackw@panix.com>
20538
20539 * libio/bits/libio-ldbl.h: Correct check for improper
20540 inclusion. Add own multiple include guard.
20541
3e3c904d
AJ
205422017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20543 Dmitry V. Levin <ldv@altlinux.org>
20544
20545 [BZ #22625]
31f96325 20546 CVE-2017-16997
3e3c904d
AJ
20547 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20548 string token expansion. Check for NULL pointer or empty string possibly
20549 returned by expand_dynamic_string_token.
20550 (decompose_rpath): Check for empty path after dynamic string
20551 token expansion.
20552
7e21972b
DL
205532017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20554
c48831d0
DL
20555 [BZ #22433]
20556 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20557
ac583f50
DL
20558 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20559 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20560 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20561 and PTRACE_SYSCALL.
20562 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20563 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20565 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20566 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20567 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20568
7e21972b
DL
20569 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20570 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20571 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20572 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20573 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20574 bits/ptrace-shared.h.
20575 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20576 <bits/ptrace-shared.h>.
20577 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20578 __ptrace_peeksiginfo_flags, ptrace): Remove.
20579 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20580 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20581 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20582 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20583 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20584
72f29e3a
AJ
205852017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20586
20587 [BZ #17804]
20588 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20589 end of the loop. Improve comments.
20590
54e4efc2
AJ
205912017-12-29 Zack Weinberg <zackw@panix.com>
20592
20593 [BZ #22615]
20594 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20595 might be set on success.
20596
f8aa69be
AJ
205972017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20598
20599 [BZ #22611]
20600 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20601 is unchanged on success.
20602
97f13188
DL
206032017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20604
2bd86632
DL
20605 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20606 updated.
20607 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20608 expand_dynamic_string_token): Likewise.
20609 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20610 is_path argument.
20611
1c36e1e6
DL
20612 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20613 contains ':'.
20614
97f13188
DL
20615 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20616 is set and name contains ':', and all code depending on these checks.
20617
48a8f832
ZW
206182017-12-24 Zack Weinberg <zackw@panix.com>
20619
20620 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20621 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20622 respectively.
20623 * libio/libio.h: Rename the original version of this file to
20624 libio/bits/libio.h. Error out if not included by stdio.h or the
20625 stub libio.h.
20626 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20627 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20628 if not included by bits/libio.h or the stub _G_config.h.
20629 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20630 sysdeps/unix/sysv/linux/bits. Error out if not included by
20631 bits/libio.h or the stub _G_config.h.
20632 * libio/stdio.h: Include bits/libio.h, not libio.h.
20633 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20634 well as libio.h and _G_config.h.
20635
20636 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20637 * libio/strfile.h, stdio-common/vfscanf.c
20638 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20639 Include stdio.h, not _G_config.h nor libio.h.
20640 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20641 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20642
20643 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20644
a47ad79a
DL
206452017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20646
20647 [BZ #22347]
20648 * stdlib/getrandom.c (getrandom): Fix comment.
20649 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20650
363e4519 206512017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20652
f5c558f3
AJ
20653 [BZ #21161]
20654 * manual/arith.texi (strtoul): Fix a typo.
20655
e65a5644
AJ
20656 [BZ #22596]
20657 * manual/arith.texi (finite): Fix the description of the return
20658 value.
20659
ed8ae46b
EB
206602017-12-22 Eric Blake <ebb9@byu.net>
20661
20662 Avoid gcc warnings on cygwin
20663 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20664 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20665 Avoid unused variable.
20666
bad7a0c8
FW
206672017-12-22 Florian Weimer <fweimer@redhat.com>
20668
20669 * io/Makefile (routines): Add copy_file_range.
20670 (tests): Add tst-copy_file_range.
20671 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20672 * io/Versions (GLIBC_2.27): Export copy_file_range.
20673 * io/copy_file_range-compat.c: New file.
20674 * io/copy_file_range.c: Likewise.
20675 * io/tst-copy_file_range-compat.c: Likewise.
20676 * io/tst-copy_file_range.c: Likewise.
20677 * manual/llio.texi (Copying File Data): New section.
20678 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20679 * support/Makefile (libsupport-routines): Add support-xfstat,
20680 xftruncate, xlseek.
20681 * support/support-xfstat.c: New file.
20682 * support/xftruncate.c: Likewise.
20683 * support/xlseek.c: Likewise.
20684 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20685 * sysdeps/unix/sysv/linux/**.abilist: Update.
20686 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20687
6cb86fd2
SN
206882017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20689
20690 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20691 disable-multi-arch variant to aarch64-linux-gnu.
20692
41d11b15
JM
206932017-12-20 Joseph Myers <joseph@codesourcery.com>
20694
20695 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20696 trailing whitespace removed.
20697 * scripts/config.guess: Update to version 2017-12-17.
20698 * scripts/config.sub: Update to version 2017-11-23.
20699 * scripts/install-sh: Update to version 2017-09-23.17.
20700 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20701
4735850f
AZ
207022017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20703
8d2d239c
AZ
20704 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20705 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20706 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20707 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20708 * sysdeps/tile/crtn.S: Likewise.
20709 * sysdeps/tile/dl-start.S (_start): Likewise.
20710 * sysdeps/tile/dl-trampoline.S: Likewise.
20711 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20712 * sysdeps/tile/start.S (_start): Likewise.
20713 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20714 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20715 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20716 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20717 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20718 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20719 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20720
24d1d8ec
AZ
20721 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20722 comment.
20723 * sysdeps/tile/preconfigure: Remove tilegx folder.
20724 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20725 * sysdeps/tile/Implies: ... here.
20726 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20727 * sysdeps/tile/Makefile: ... here.
20728 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20729 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20730 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20731 * sysdeps/tile/bits/wordsize.h: ... here.
20732 * sysdeps/tile/tilegx/*: Move to ...
20733 * sysdeps/tile/*: ... here.
20734 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20735 * sysdeps/tile/tilegx32/Implies: ... here.
20736 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20737 * sysdeps/tile/tilegx64/Implies: ... here.
20738 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20739 to ...
20740 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20741 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20742 * sysdeps/unix/sysv/linux/tile/*: ... here.
20743 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20744 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20745 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20746 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20747
ed95f611
AZ
20748 * README: Remove tilepro-*-linux-gnu from supported architecture.
20749 * scripts/build-many-glibcs.py: Likewise.
20750 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20751 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20752 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20753 elf_machine_matches_host, elf_machine_dynamic,
20754 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20755 howto, elf_machine_rela): Likewise.
20756 * sysdeps/tile/dl-start.S (_start): Likewise.
20757 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20758 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20759 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20760 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20761 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20762 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20763 Likewise.
20764 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20765 * sysdeps/tile/preconfigure: Likewise.
20766 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20767 POINTER_CHK_GUARD): Likewise.
20768 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20769 * sysdeps/tile/start.S (_start): Likewise.
20770 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20771 Likewise.
20772 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20773 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20774 CMOVNEZ): Remove.
20775 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20776 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20777 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20778 Likewise.
20779 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20780 * sysdeps/tile/tilepro/Implies: Remove file.
20781 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20782 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20783 * sysdeps/tile/tilepro/memchr.c: Likewise.
20784 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20785 * sysdeps/tile/tilepro/memset.c: Likewise.
20786 * sysdeps/tile/tilepro/memusage.h: Likewise.
20787 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20788 * sysdeps/tile/tilepro/strchr.c: Likewise.
20789 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20790 * sysdeps/tile/tilepro/strlen.c: Likewise.
20791 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20792 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20793 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20794 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20795 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20796 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20797 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20798 Likewise.
20799 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20800 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20801 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20802 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20803 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20804 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20805 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20806 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20807 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20808 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20809 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20810 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20811 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20812 tilepro mention in comment.
20813
4735850f
AZ
20814 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20815 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20816 * nptl/pthread_join_common.c: New file: common function used on
20817 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20818 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20819 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20820 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20821 (cleanup): Move definition to pthread_join_common.c.
20822 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20823 Remove superflous checks.
20824 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20825 Likewise.
20826
8bfb461e
SN
208272017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20828
20829 * sysdeps/aarch64/libm-test-ulps: Update.
20830
4e001969
AZ
208312017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20832
20833 * sysdeps/aarch64/memset.S (MEMSET): Define.
20834
8a26ad2a
FW
208352017-12-20 Florian Weimer <fweimer@redhat.com>
20836
20837 [BZ #22635]
20838 nptl: Provide full implementation of pthread_self in libc.so.
20839 * nptl/Makefile (routines): Add pthread_self.
20840 (libpthread-routines): Replace pthread_self with
20841 compat-pthread_self.
20842 * nptl/forward.c (pthread_self): Remove.
20843 * nptl/nptl-init.c (pthread_functions): Do not initialize
20844 ptr_pthread_self.
20845 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20846 * nptl/compat-pthread_self.c: New file.
20847 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20848 Remove ptr_pthread_self.
20849
5069ff32
AR
208502017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20851
20852 * posix/regcomp.c: Fix spelling in comments.
20853 * posix/regex.h: Likewise.
20854 * posix/regex_internal.c: Likewise.
20855 * posix/regexec.c: Likewise.
20856
c85e54ac
GG
208572017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20858
20859 [BZ #22377]
20860 * math/Makefile [C++] (tests): Add test for iseqsig.
20861 * math/math.h [C++] (iseqsig): New implementation, which does
20862 not rely on __MATH_TG/__builtin_types_compatible_p.
20863 * math/test-math-iseqsig.cc: New file.
20864 * sysdeps/powerpc/powerpc64le/Makefile
20865 (CFLAGS-test-math-iseqsig.cc): New variable.
20866
10e93d96
DL
208672017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20868
20869 * elf/dl-load.c (is_trusted_path): Remove.
20870 (fillin_rpath): Remove check_trusted argument and its use,
20871 all callers changed.
20872
ce16eb52
L
208732017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20874
20875 [BZ #22630]
20876 * Makeconfig (link-pie-before-libc): Replace -pie with
20877 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20878 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20879 (tst-dlopen-aout-no-pie): New.
20880 (LDFLAGS-tst-prelink): Removed.
20881 (tst-prelink-no-pie): New.
20882 (LDFLAGS-tst-main1): Removed.
20883 (tst-main1-no-pie): New.
20884 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20885 (tst-gmon-no-pie): New.
20886
126adc89
L
208872017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20888
20889 * manual/install.texi: Document that --enable-static-pie
20890 implies PIE.
20891 * INSTALL: Regenerated.
20892
648615e1
BE
208932017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20894
20895 [BZ #21309]
20896 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20897 unsigned.
20898
f1e00502
JM
208992017-12-19 Joseph Myers <joseph@codesourcery.com>
20900
20901 Revert:
20902
20903 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20904
20905 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20906
20907 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20908
20909 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20910 <errno.h>. Include "eexp.tbl".
20911 (half): New constant.
20912 (one): Likewise.
20913 (__ieee754_exp): Rewrite.
20914 (__slowexp): Remove prototype.
20915 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20916 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20917 * sysdeps/i386/fpu/slowexp.c: Likewise.
20918 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20919 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20920 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20921 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20922 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20923 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20924 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20925 comment.
20926 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20927 (CPPFLAGS-slowexp.c): Remove variable.
20928 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20929 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20930 (CFLAGS-slowexp-fma.c): Remove variable.
20931 (CFLAGS-slowexp-fma4.c): Likewise.
20932 (CFLAGS-slowexp-avx.c): Likewise.
20933 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20934 define as macro.
20935 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20936 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20937 * math/Makefile (type-double-routines): Remove slowexp.
20938 * manual/probes.texi (slowexp_p6): Remove.
20939 (slowexp_p32): Likewise.
20940
d711a00f
AZ
209412017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20942
e184ac3a
AZ
20943 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20944 arithmetic.
20945
d711a00f
AZ
20946 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20947
6f58c10d
JM
209482017-12-19 Joseph Myers <joseph@codesourcery.com>
20949
20950 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20951
6fd0a3c6
PM
209522017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20953
20954 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20955 <errno.h>. Include "eexp.tbl".
20956 (half): New constant.
20957 (one): Likewise.
20958 (__ieee754_exp): Rewrite.
20959 (__slowexp): Remove prototype.
20960 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20961 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20962 * sysdeps/i386/fpu/slowexp.c: Likewise.
20963 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20964 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20965 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20966 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20967 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20968 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20969 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20970 comment.
20971 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20972 (CPPFLAGS-slowexp.c): Remove variable.
20973 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20974 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20975 (CFLAGS-slowexp-fma.c): Remove variable.
20976 (CFLAGS-slowexp-fma4.c): Likewise.
20977 (CFLAGS-slowexp-avx.c): Likewise.
20978 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20979 define as macro.
20980 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20981 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20982 * math/Makefile (type-double-routines): Remove slowexp.
20983 * manual/probes.texi (slowexp_p6): Remove.
20984 (slowexp_p32): Likewise.
20985
3bb1ef58 209862017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20987 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20988
20989 [BZ #22603]
20990 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20991 addition.
20992
554e3d51
AZ
209932017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20994
20995 [BZ #22605]
20996 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20997 code.
20998
cba595c3
L
209992017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21000
21001 [BZ #22563]
21002 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21003 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
21004 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
21005 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
21006 to feature_1.
21007
f81ddabf
L
210082017-12-19 H.J. Lu <hongjiu.lu@intel.com>
21009
21010 [BZ #22563]
21011 * bits/types/__cancel_jmp_buf_tag.h: New file.
21012 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
21013 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
21014 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
21015 * nptl/Makefile (headers): Add
21016 bits/types/__cancel_jmp_buf_tag.h.
21017 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
21018 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
21019 * sysdeps/nptl/pthread.h: Include
21020 <bits/types/__cancel_jmp_buf_tag.h>.
21021 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
21022 __cancel_jmp_buf.
21023 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
21024
1a49fc59
L
210252017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21026
21027 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
21028 --enable-static-pie variants to x86_64, x32 and i686.
21029
8e52f573
JM
210302017-12-19 Joseph Myers <joseph@codesourcery.com>
21031
66425185
JM
21032 [BZ #22631]
21033 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
21034 argument for attrubutes. All callers changed.
21035 (__inline_mathop1): Likewise. All callers changed.
21036 (__inline_mathop): Likewise. All callers changed.
21037 [__USE_MISC] (scalbn): Use __inline_forward instead of
21038 __inline_forward_c.
21039 [__USE_ISOC99] (scalbln): Likewise.
21040 [__USE_ISOC99] (nearbyint): Likewise.
21041 [__USE_ISOC99] (lrint): Likewise.
21042 [__USE_MISC] (scalbnf): Likewise.
21043 [__USE_ISOC99] (scalblnf): Likewise.
21044 [__USE_ISOC99] (nearbyintf): Likewise.
21045 [__USE_ISOC99] (lrintf): Likewise.
21046 [__USE_MISC] (scalbnl): Likewise.
21047 [__USE_ISOC99] (scalblnl): Likewise.
21048 [__USE_ISOC99] (nearbyintl): Likewise.
21049 [__USE_ISOC99] (lrintl): Likewise.
21050 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
21051 __inline_mathop and __m81_defun changed.
21052
8e52f573
JM
21053 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
21054 CPU or FPU for ARM hard-float configurations.
21055
1421f39b
JM
210562017-12-18 Joseph Myers <joseph@codesourcery.com>
21057
40c4162d
JM
21058 * nptl/tst-attr3.c: Include <libc-diag.h>.
21059 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
21060
5983df32
JM
21061 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
21062
1421f39b
JM
21063 * string/tester.c (test_strncat): Also disable -Warray-bounds
21064 warnings for two tests.
21065
00c714df
L
210662017-12-18 H.J. Lu <hongjiu.lu@intel.com>
21067
21068 [BZ #22614]
21069 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
21070 $(cc-pie-default) == yes.
21071 * config.make.in (cc-pie-default): New.
21072 * configure.ac (libc_cv_pie_default): Renamed to ...
21073 (libc_cv_cc_pie_default): This.
21074 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
21075 * configure: Regenerated.
21076
8e1472d2
FW
210772017-12-18 Florian Weimer <fweimer@redhat.com>
21078
21079 [BZ #20204]
21080 ld.so: Harden dl-libc/libdl hooks.
21081 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
21082 (rtld_active): New function.
21083 * dlfcn/dladdr.c (__dladdr): Call it.
21084 * dlfcn/dladdr1.c (__dladdr1): Likewise.
21085 * dlfcn/dlclose.c (__dlcose): Likewise.
21086 * dlfcn/dlerror.c (__dlerror): Likewise.
21087 * dlfcn/dlinfo.c (__dlinfo): Likewise.
21088 * dlfcn/dlmopen.c (__dlmopen): Likewise.
21089 * dlfcn/dlopen.c (__dlopen): Likewise.
21090 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
21091 * dlfcn/dlsym.c (__dlsym): Likewise.
21092 * dlfcn/dlvsym.c (__dlvsym): Likewise.
21093 * libio/vtables.c (_IO_vtable_check): Likewise.
21094 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
21095 (__libc_dlclose): Likewise.
21096 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
21097 assignment.
21098
49b036bc
JM
210992017-12-18 Joseph Myers <joseph@codesourcery.com>
21100
21101 [BZ #22446]
21102 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
21103 buffers for readlink input and output.
21104
368b6c8d
ST
211052017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
21106
c85c564d
ST
21107 [BZ #22624]
21108 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
21109 inhibit_stack_protector.
21110
368b6c8d
ST
21111 [BZ #22624]
21112 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
21113 inhibit_stack_protector.
21114
bb195224
DL
211152017-12-18 Dmitry V. Levin <ldv@altlinux.org>
21116
21117 [BZ #22627]
21118 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
21119 code and invocation.
21120
14d886ed
SN
211212017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
21122
21123 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
21124
7d38eb38
AJ
211252017-12-16 Aurelien Jarno <aurelien@aurel32.net>
21126
21127 [BZ #22505]
21128 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
21129
2e77deef
RS
211302017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21131
21132 * sysdeps/s390/fpu/libm-test-ulps: Update.
21133
0b9bef6d
RS
211342017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21135
21136 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21137
984ae996
RS
211382017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21139
21140 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
21141 constants to s_sincosf.h file.
21142 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
21143 * sysdeps/ieee754/flt-32/s_sincosf.c: New
21144 implementation.
21145 * sysdeps/ieee754/flt-32/s_sincosf.h:
21146 New file.
21147
363e4519 211482017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
21149
21150 [BZ #14681]
21151 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
21152 before mtrace.
21153
9d7a3741
L
211542017-12-15 H.J. Lu <hongjiu.lu@intel.com>
21155
21156 [BZ #19574]
21157 * INSTALL: Regenerated.
21158 * Makeconfig (real-static-start-installed-name): New.
21159 (pic-default): Updated for --enable-static-pie.
21160 (pie-default): New for --enable-static-pie.
21161 (default-pie-ldflag): Likewise.
21162 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
21163 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
21164 Replace $(static-start-installed-name) with
21165 $(real-static-start-installed-name).
21166 (+prectorT): Updated for --enable-static-pie.
21167 (+postctorT): Likewise.
21168 (CFLAGS-.o): Add $(pie-default).
21169 (CFLAGS-.op): Likewise.
21170 * NEWS: Mention --enable-static-pie.
21171 * config.h.in (ENABLE_STATIC_PIE): New.
21172 * configure.ac (--enable-static-pie): New configure option.
21173 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
21174 (have-static-pie): Likewise.
21175 Enable static PIE if linker supports --no-dynamic-linker.
21176 (ENABLE_STATIC_PIE): New AC_DEFINE.
21177 (enable-static-pie): New LIBC_CONFIG_VAR.
21178 * configure: Regenerated.
21179 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
21180 gr$(start-installed-name) for --enable-static-pie.
21181 (extra-objs): Likewise.
21182 (install-lib): Likewise.
21183 (extra-objs): Add static-reloc.o and static-reloc.os
21184 ($(objpfx)$(start-installed-name)): Also depend on
21185 $(objpfx)static-reloc.o.
21186 ($(objpfx)r$(start-installed-name)): New.
21187 ($(objpfx)g$(start-installed-name)): Also depend on
21188 $(objpfx)static-reloc.os.
21189 ($(objpfx)gr$(start-installed-name)): New.
21190 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
21191 in libc.a.
21192 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
21193 initimage.
21194 * csu/static-reloc.c: New file.
21195 * elf/Makefile (routines): Add dl-reloc-static-pie.
21196 (elide-routines.os): Likewise.
21197 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
21198 (tst-tls1-static-non-pie-no-pie): New.
21199 * elf/dl-reloc-static-pie.c: New file.
21200 * elf/dl-support.c (_dl_get_dl_main_map): New function.
21201 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
21202 STATIC_PIE_BOOTSTRAP.
21203 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
21204 * gmon/Makefile (tests): Add tst-gmon-static-pie.
21205 (tests-static): Likewise.
21206 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
21207 (tst-gmon-static-no-pie): New.
21208 (CFLAGS-tst-gmon-static-pie.c): Likewise.
21209 (CRT-tst-gmon-static-pie): Likewise.
21210 (tst-gmon-static-pie-ENV): Likewise.
21211 (tests-special): Likewise.
21212 ($(objpfx)tst-gmon-static-pie.out): Likewise.
21213 (clean-tst-gmon-static-pie-data): Likewise.
21214 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
21215 * gmon/tst-gmon-static-pie.c: New file.
21216 * manual/install.texi: Document --enable-static-pie.
21217 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
21218 (_dl_get_dl_main_map): Likewise.
21219 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
21220 * sysdeps/x86_64/configure.ac: Likewise.
21221 * sysdeps/i386/configure: Regenerated.
21222 * sysdeps/x86_64/configure: Likewise.
21223 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
21224 (ASFLAGS-.op): Likewise.
21225
95511aab
JM
212262017-12-15 Joseph Myers <joseph@codesourcery.com>
21227
21228 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
21229 * posix/tst-mmap-offset.c (fname): Use /tmp.
21230 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
21231
a7e3edf4
SE
212322017-12-15 Steve Ellcey <sellcey@cavium.com>
21233
21234 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
21235
d232f2e1
TS
212362017-12-15 Thomas Schwinge <thomas@codesourcery.com>
21237
21238 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
21239 errno.
21240
174edbde
JM
212412017-12-15 Joseph Myers <joseph@codesourcery.com>
21242
5170fa49
JM
21243 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
21244 --with-float=hard for arm-linux-gnueabihf configurations.
21245
f2da2fd8
JM
21246 [BZ #14121]
21247 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
21248 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
21249 ($(mo-installed)): Use $(objpfx)%.mo.
21250 (realclean): Remove rule.
21251
0c4fe28d
JM
21252 * po/Makefile (linguas): Remove rule and dependencies.
21253 (linguas.mo): Likewise.
21254 (.PHONY): Do not depend on linguas and linguas.mo.
21255 (podir): Remove variable.
21256 (pofiles): Likewise.
21257 [$(pofiles)] (%.po): Remove rule.
21258
174edbde
JM
21259 * sysdeps/sparc/sparc32/Makefile
21260 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
21261 start-of-line whitespace in argument of echo.
21262 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
21263 with whitespace. Generate __wrap_.udiv alias.
21264 * sysdeps/sparc/sparc32/rem.S: Regenerated.
21265 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
21266 * sysdeps/sparc/sparc32/udiv.S: Likewise.
21267 * sysdeps/sparc/sparc32/urem.S: Likewise.
21268
1e36806f
RS
212692017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21270
21271 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
21272 for aligned inputs.
21273
aa6932aa
SP
212742017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
21275
5f1603c3
SP
21276 * benchtests/bench-strcmp.c: Print output in JSON format.
21277
aa6932aa
SP
21278 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
21279
3ff3dfa5
FW
212802017-12-14 Florian Weimer <fweimer@redhat.com>
21281
21282 [BZ #22607]
21283 CVE-2017-1000409
21284 * elf/dl-load.c (_dl_init_paths): Compute number of components in
21285 the expanded path string.
21286
8a0b17e4
FW
212872017-12-14 Florian Weimer <fweimer@redhat.com>
21288
21289 [BZ #22606]
21290 CVE-2017-1000408
21291 * elf/dl-load.c (system_dirs): Update comment.
21292 (nsystem_dirs_len): Use array_length.
21293 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
21294
f58bd7f0
FW
212952017-12-14 Florian Weimer <fweimer@redhat.com>
21296
21297 Simplify compiling most of support/ outside of glibc.
21298 * support/check_addrinfo.c: Include <string.h>.
21299 * support/check_dns_packet.c: Likewise.
21300 * support/check_hostent.c: Likewise.
21301 * support/support_can_chroot.c: Include <support/xunistd.h>.
21302 * support/support_format_addrinfo.c: Include <stdlib.h>
21303 * support/support_format_dns_packet.c: Include <stdbool.h>.
21304 * support/support_format_hostent.c: Include <stdlib.h>.
21305 * support/support_format_netent.c: Likewise.
21306 * support/support_write_string.c: Include <support/xunistd.h>.
21307 * support/xdlfcn.c: Include <stddef.h>.
21308
4ca945e9
L
213092017-12-14 H.J. Lu <hongjiu.lu@intel.com>
21310
21311 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
21312
1b6e07f8
PM
213132017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
21314 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21315
e6a1c5dc
PM
21316 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21317 (sysdeps_routines): Add memset-niagara7.
21318 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
21319 Likewise.
21320 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
21321 file.
21322 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
21323 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21324 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
21325 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
21326 Add niagara7 option.
21327 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
21328 memset.
21329
1b6e07f8
PM
21330 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21331 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21332 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21333 Likewise.
21334 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21335 New file.
21336 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21337 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21338 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21339 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21340 and __memmove_niagara7.
21341 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21342 Add niagara7 option.
21343 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21344 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21345 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21346 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21347 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21348
bfb7bf22
JM
213492017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21350
767a26d6
JM
21351 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21352 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21353 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21354 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21355
bfb7bf22
JM
21356 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21357 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21358 _dl_sparc_cap_flags array.
21359 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21360
2bce01eb
SP
213612017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21362
21363 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21364 time whenever possible.
21365
363e4519 213662017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21367
21368 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21369 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21370
6f7c0092
JM
213712017-12-12 Joseph Myers <joseph@codesourcery.com>
21372
21373 * soft-fp/fmadf4.c: Move to ....
21374 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21375 * soft-fp/fmasf4.c: Move to ....
21376 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21377 * soft-fp/fmatf4.c: Move to ....
21378 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21379 * sysdeps/ieee754/soft-fp/Makefile: New file.
21380 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21381 * sysdeps/arm/preconfigure: Regenerated.
21382 * sysdeps/arm/nofpu/Implies: New file.
21383 * sysdeps/arm/s_fma.c: Remove file.
21384 * sysdeps/arm/s_fmaf.c: Likewise.
21385 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21386 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21387 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21388 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21389 * sysdeps/microblaze/s_fma.c: Remove file.
21390 * sysdeps/microblaze/s_fmaf.c: Likewise.
21391 * sysdeps/mips/mips32/nofpu/Implies: New file.
21392 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21393 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21394 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21395 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21396 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21397 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21398 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21399 implementation.
21400 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21401 * sysdeps/nios2/s_fma.c: Remove file.
21402 * sysdeps/nios2/s_fmaf.c: Likewise.
21403 * sysdeps/sh/nofpu/Implies: New file.
21404 * sysdeps/sh/s_fma.c: Remove file.
21405 * sysdeps/sh/s_fmaf.c: Likewise.
21406 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21407 * sysdeps/tile/s_fma.c: Remove file.
21408 * sysdeps/tile/s_fmaf.c: Likewise.
21409
ac817e08
L
214102017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21411
21412 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21413 Add s_cosf-sse2 and s_cosf-fma.
21414 (CFLAGS-s_cosf-fma.c): New.
21415 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21416 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21417 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21418
eb428576
SE
214192017-12-12 Steve Ellcey <sellcey@cavium.com>
21420
21421 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21422
c80acdc3
AZ
214232017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21424
cc683f7e
AZ
21425 * libio/Makefile (tests): Add tst-bz22415.
21426 (tst-bz22415-ENV): New rule.
21427 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21428 (tests-special): Add tst-bz22415-mem.out.
21429 ($(objpfx)tst-bz22415-mem.out): New rule.
21430 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21431 in case of a successful seek operation.
21432 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21433 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21434 buffer is required.
21435 * libio/tst-bz22415.c: New test.
21436
c80acdc3
AZ
21437 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21438
363e4519 214392017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21440
21441 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21442 __IPC_64 to 0 to avoid IPC_64 being set.
21443
4e0dca54
SN
214442017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21445
21446 [BZ #22593]
21447 * math/bits/mathcalls.h (nextafter): Remove const.
21448 (nexttoward): Likewise.
21449
8df5d347
JM
214502017-12-12 Joseph Myers <joseph@codesourcery.com>
21451
21452 * configure.ac (--with-fp): Remove configure option.
21453 (with_fp_cond): New variable.
21454 (libc_cv_with_fp): New configure test. Use this variable instead
21455 of with_fp.
21456 * configure: Regenerated.
21457 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21458 * manual/install.texi (Configuring and compiling): Remove
21459 --without-fp.
21460 * INSTALL: Regenerated.
21461 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21462 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21463 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21464 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21465 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21466 use --without-fp to configure glibc.
21467
0cee1257
RJ
214682017-12-12 Rical Jasan <ricaljasan@pacific.net>
21469
21470 * manual/locale.texi (nl_langinfo): Fix a typo.
21471
363e4519 214722017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21473
21474 [BZ #22588]
21475 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21476
36975e8e
L
214772017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21478
21479 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21480 (CFLAGS-argp-parse.c): Likewise.
21481 (CFLAGS-argp-fmtstream.c): Likewise.
21482 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21483 (CPPFLAGS-sha512-crypt.c): Likewise.
21484 (CPPFLAGS-md5-crypt.c): Likewise.
21485 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21486 (CFLAGS-stack_chk_fail_local.c): Likewise.
21487 (CFLAGS-backtrace.c): Likewise.
21488 (CFLAGS-sprintf_chk.c): Likewise.
21489 (CFLAGS-snprintf_chk.c): Likewise.
21490 (CFLAGS-vsprintf_chk.c): Likewise.
21491 (CFLAGS-vsnprintf_chk.c): Likewise.
21492 (CFLAGS-asprintf_chk.c): Likewise.
21493 (CFLAGS-vasprintf_chk.c): Likewise.
21494 (CFLAGS-obprintf_chk.c): Likewise.
21495 (CFLAGS-dprintf_chk.c): Likewise.
21496 (CFLAGS-vdprintf_chk.c): Likewise.
21497 (CFLAGS-printf_chk.c): Likewise.
21498 (CFLAGS-fprintf_chk.c): Likewise.
21499 (CFLAGS-vprintf_chk.c): Likewise.
21500 (CFLAGS-vfprintf_chk.c): Likewise.
21501 (CFLAGS-gets_chk.c): Likewise.
21502 (CFLAGS-fgets_chk.c): Likewise.
21503 (CFLAGS-fgets_u_chk.c): Likewise.
21504 (CFLAGS-fread_chk.c): Likewise.
21505 (CFLAGS-fread_u_chk.c): Likewise.
21506 (CFLAGS-swprintf_chk.c): Likewise.
21507 (CFLAGS-vswprintf_chk.c): Likewise.
21508 (CFLAGS-wprintf_chk.c): Likewise.
21509 (CFLAGS-fwprintf_chk.c): Likewise.
21510 (CFLAGS-vwprintf_chk.c): Likewise.
21511 (CFLAGS-vfwprintf_chk.c): Likewise.
21512 (CFLAGS-fgetws_chk.c): Likewise.
21513 (CFLAGS-fgetws_u_chk.c): Likewise.
21514 (CFLAGS-read_chk.c): Likewise.
21515 (CFLAGS-pread_chk.c): Likewise.
21516 (CFLAGS-pread64_chk.c): Likewise.
21517 (CFLAGS-recv_chk.c): Likewise.
21518 (CFLAGS-recvfrom_chk.c): Likewise.
21519 (CFLAGS-tst-longjmp_chk.c): Likewise.
21520 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21521 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21522 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21523 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21524 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21525 (CFLAGS-tst-chk1.c): Likewise.
21526 (CFLAGS-tst-chk2.c): Likewise.
21527 (CFLAGS-tst-chk3.c): Likewise.
21528 (CFLAGS-tst-chk4.cc): Likewise.
21529 (CFLAGS-tst-chk5.cc): Likewise.
21530 (CFLAGS-tst-chk6.cc): Likewise.
21531 (CFLAGS-tst-lfschk1.c): Likewise.
21532 (CFLAGS-tst-lfschk2.c): Likewise.
21533 (CFLAGS-tst-lfschk3.c): Likewise.
21534 (CFLAGS-tst-lfschk4.cc): Likewise.
21535 (CFLAGS-tst-lfschk5.cc): Likewise.
21536 (CFLAGS-tst-lfschk6.cc): Likewise.
21537 (CFLAGS-tst-ssp-1.c): Likewise.
21538 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21539 (CFLAGS-scandir64.c): Likewise.
21540 (CFLAGS-scandir-tail.c): Likewise.
21541 (CFLAGS-scandir64-tail.c): Likewise.
21542 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21543 (CFLAGS-dl-tunables.c): Likewise.
21544 (CFLAGS-dl-runtime.c): Likewise.
21545 (CFLAGS-dl-lookup.c): Likewise.
21546 (CFLAGS-dl-iterate-phdr.c): Likewise.
21547 (CFLAGS-vismain.c): Likewise.
21548 (CFLAGS-tst-linkall-static.c): Likewise.
21549 (CFLAGS-tst-linkall-static.c): Likewise.
21550 (CPPFLAGS-dl-load.c): Likewise.
21551 (CFLAGS-ldconfig.c): Likewise.
21552 (CFLAGS-dl-cache.c): Likewise.
21553 (CFLAGS-cache.c): Likewise.
21554 (CFLAGS-rtld.c): Likewise.
21555 (CFLAGS-multiload.c): Likewise.
21556 (CFLAGS-filtmod1.c): Likewise.
21557 (CFLAGS-tst-align.c): Likewise.
21558 (CFLAGS-tst-align2.c): Likewise.
21559 (CFLAGS-tst-alignmod.c): Likewise.
21560 (CFLAGS-tst-alignmod2.c): Likewise.
21561 (CPPFLAGS-tst-execstack.c): Likewise.
21562 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21563 (CFLAGS-tst-latepthreadmod.c): Likewise.
21564 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21565 (CFLAGS-getgrnam_r.c): Likewise.
21566 (CFLAGS-getgrent_r.c): Likewise.
21567 (CFLAGS-getgrent.c): Likewise.
21568 (CFLAGS-fgetgrent.c): Likewise.
21569 (CFLAGS-fgetgrent_r.c): Likewise.
21570 (CFLAGS-putgrent.c): Likewise.
21571 (CFLAGS-initgroups.c): Likewise.
21572 (CFLAGS-getgrgid.c): Likewise.
21573 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21574 (CFLAGS-getsgent.c): Likewise.
21575 (CFLAGS-fgetsgent.c): Likewise.
21576 (CFLAGS-fgetsgent_r.c): Likewise.
21577 (CFLAGS-putsgent.c): Likewise.
21578 (CFLAGS-getsgnam.c): Likewise.
21579 (CFLAGS-getsgnam_r.c): Likewise.
21580 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21581 (CFLAGS-iconv_charmap.c): Likewise.
21582 (CFLAGS-dummy-repertoire.c): Likewise.
21583 (CFLAGS-charmap.c): Likewise.
21584 (CFLAGS-linereader.c): Likewise.
21585 (CFLAGS-simple-hash.c): Likewise.
21586 (CFLAGS-gconv_conf.c): Likewise.
21587 (CFLAGS-iconvconfig.c): Likewise.
21588 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21589 (CFLAGS-gethstbyad.c): Likewise.
21590 (CFLAGS-gethstbynm_r.c): Likewise.
21591 (CFLAGS-gethstbynm.c): Likewise.
21592 (CFLAGS-gethstbynm2_r.c): Likewise.
21593 (CFLAGS-gethstbynm2.c): Likewise.
21594 (CFLAGS-gethstent_r.c): Likewise.
21595 (CFLAGS-gethstent.c): Likewise.
21596 (CFLAGS-rcmd.c): Likewise.
21597 (CFLAGS-getnetbynm_r.c): Likewise.
21598 (CFLAGS-getnetbynm.c): Likewise.
21599 (CFLAGS-getnetbyad_r.c): Likewise.
21600 (CFLAGS-getnetbyad.c): Likewise.
21601 (CFLAGS-getnetent_r.c): Likewise.
21602 (CFLAGS-getnetent.c): Likewise.
21603 (CFLAGS-getaliasent_r.c): Likewise.
21604 (CFLAGS-getaliasent.c): Likewise.
21605 (CFLAGS-getrpcent_r.c): Likewise.
21606 (CFLAGS-getrpcent.c): Likewise.
21607 (CFLAGS-getservent_r.c): Likewise.
21608 (CFLAGS-getservent.c): Likewise.
21609 (CFLAGS-getprtent_r.c): Likewise.
21610 (CFLAGS-getprtent.c): Likewise.
21611 (CFLAGS-either_ntoh.c): Likewise.
21612 (CFLAGS-either_hton.c): Likewise.
21613 (CFLAGS-getnetgrent.c): Likewise.
21614 (CFLAGS-getnetgrent_r.c): Likewise.
21615 (CFLAGS-tst-checks-posix.c): Likewise.
21616 (CFLAGS-tst-sockaddr.c): Likewise.
21617 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21618 (CFLAGS-tst-translit.c): Likewise.
21619 (CFLAGS-tst-gettext2.c): Likewise.
21620 (CFLAGS-tst-codeset.c): Likewise.
21621 (CFLAGS-tst-gettext3.c): Likewise.
21622 (CFLAGS-tst-gettext4.c): Likewise.
21623 (CFLAGS-tst-gettext5.c): Likewise.
21624 (CFLAGS-tst-gettext6.c): Likewise.
21625 * io/Makefile (CFLAGS-open.c): Likewise.
21626 (CFLAGS-open64.c): Likewise.
21627 (CFLAGS-creat.c): Likewise.
21628 (CFLAGS-creat64.c): Likewise.
21629 (CFLAGS-fcntl.c): Likewise.
21630 (CFLAGS-poll.c): Likewise.
21631 (CFLAGS-ppoll.c): Likewise.
21632 (CFLAGS-lockf.c): Likewise.
21633 (CFLAGS-statfs.c): Likewise.
21634 (CFLAGS-fstatfs.c): Likewise.
21635 (CFLAGS-statvfs.c): Likewise.
21636 (CFLAGS-fstatvfs.c): Likewise.
21637 (CFLAGS-fts.c): Likewise.
21638 (CFLAGS-fts64.c): Likewise.
21639 (CFLAGS-ftw.c): Likewise.
21640 (CFLAGS-ftw64.c): Likewise.
21641 (CFLAGS-lockf.c): Likewise.
21642 (CFLAGS-posix_fallocate.c): Likewise.
21643 (CFLAGS-posix_fallocate64.c): Likewise.
21644 (CFLAGS-fallocate.c): Likewise.
21645 (CFLAGS-fallocate64.c): Likewise.
21646 (CFLAGS-read.c): Likewise.
21647 (CFLAGS-write.c): Likewise.
21648 (CFLAGS-test-stat.c): Likewise.
21649 (CFLAGS-test-lfs.c): Likewise.
21650 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21651 (CFLAGS-fputc.c): Likewise.
21652 (CFLAGS-fputwc.c): Likewise.
21653 (CFLAGS-freopen64.c): Likewise.
21654 (CFLAGS-freopen.c): Likewise.
21655 (CFLAGS-fseek.c): Likewise.
21656 (CFLAGS-fseeko64.c): Likewise.
21657 (CFLAGS-fseeko.c): Likewise.
21658 (CFLAGS-ftello64.c): Likewise.
21659 (CFLAGS-ftello.c): Likewise.
21660 (CFLAGS-fwide.c): Likewise.
21661 (CFLAGS-genops.c): Likewise.
21662 (CFLAGS-getc.c): Likewise.
21663 (CFLAGS-getchar.c): Likewise.
21664 (CFLAGS-getwc.c): Likewise.
21665 (CFLAGS-getwchar.c): Likewise.
21666 (CFLAGS-iofclose.c): Likewise.
21667 (CFLAGS-iofflush.c): Likewise.
21668 (CFLAGS-iofgetpos64.c): Likewise.
21669 (CFLAGS-iofgetpos.c): Likewise.
21670 (CFLAGS-iofgets.c): Likewise.
21671 (CFLAGS-iofgetws.c): Likewise.
21672 (CFLAGS-iofputs.c): Likewise.
21673 (CFLAGS-iofputws.c): Likewise.
21674 (CFLAGS-iofread.c): Likewise.
21675 (CFLAGS-iofsetpos64.c): Likewise.
21676 (CFLAGS-iofsetpos.c): Likewise.
21677 (CFLAGS-ioftell.c): Likewise.
21678 (CFLAGS-iofwrite.c): Likewise.
21679 (CFLAGS-iogetdelim.c): Likewise.
21680 (CFLAGS-iogetline.c): Likewise.
21681 (CFLAGS-iogets.c): Likewise.
21682 (CFLAGS-iogetwline.c): Likewise.
21683 (CFLAGS-ioputs.c): Likewise.
21684 (CFLAGS-ioseekoff.c): Likewise.
21685 (CFLAGS-ioseekpos.c): Likewise.
21686 (CFLAGS-iosetbuffer.c): Likewise.
21687 (CFLAGS-iosetvbuf.c): Likewise.
21688 (CFLAGS-ioungetc.c): Likewise.
21689 (CFLAGS-ioungetwc.c): Likewise.
21690 (CFLAGS-oldfileops.c): Likewise.
21691 (CFLAGS-oldiofclose.c): Likewise.
21692 (CFLAGS-oldiofgetpos64.c): Likewise.
21693 (CFLAGS-oldiofgetpos.c): Likewise.
21694 (CFLAGS-oldiofsetpos64.c): Likewise.
21695 (CFLAGS-oldiofsetpos.c): Likewise.
21696 (CFLAGS-peekc.c): Likewise.
21697 (CFLAGS-putc.c): Likewise.
21698 (CFLAGS-putchar.c): Likewise.
21699 (CFLAGS-putwc.c): Likewise.
21700 (CFLAGS-putwchar.c): Likewise.
21701 (CFLAGS-rewind.c): Likewise.
21702 (CFLAGS-wfileops.c): Likewise.
21703 (CFLAGS-wgenops.c): Likewise.
21704 (CFLAGS-oldiofopen.c): Likewise.
21705 (CFLAGS-iofopen.c): Likewise.
21706 (CFLAGS-iofopen64.c): Likewise.
21707 (CFLAGS-oldtmpfile.c): Likewise.
21708 (CFLAGS-tst_putwc.c): Likewise.
21709 * locale/Makefile (CFLAGS-md5.c): Likewise.
21710 (CFLAGS-charmap.c): Likewise.
21711 (CFLAGS-locfile.c): Likewise.
21712 (CFLAGS-charmap-dir.c): Likewise.
21713 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21714 (CFLAGS-getpt.c): Likewise.
21715 (CFLAGS-pt_chown.c): Likewise.
21716 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21717 (CFLAGS-obstack.c): Likewise.
21718 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21719 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21720 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21721 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21722 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21723 (CFLAGS-test-tgmath.c): Likewise.
21724 (CFLAGS-test-tgmath2.c): Likewise.
21725 (CFLAGS-test-tgmath-ret.c): Likewise.
21726 (CFLAGS-test-powl.c): Likewise.
21727 (CFLAGS-test-snan.c): Likewise.
21728 (CFLAGS-test-signgam-finite.c): Likewise.
21729 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21730 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21731 (CFLAGS-test-signgam-uchar.c): Likewise.
21732 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21733 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21734 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21735 (CFLAGS-test-signgam-uint.c): Likewise.
21736 (CFLAGS-test-signgam-uint-init.c): Likewise.
21737 (CFLAGS-test-signgam-uint-static.c): Likewise.
21738 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21739 (CFLAGS-test-signgam-ullong.c): Likewise.
21740 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21741 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21742 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21743 (CFLAGS-test-math-cxx11.cc): Likewise.
21744 (CFLAGS-test-math-isinff.cc): Likewise.
21745 (CFLAGS-test-math-iszero.cc): Likewise.
21746 (CFLAGS-test-math-issignaling.cc): Likewise.
21747 (CFLAGS-test-math-iscanonical.cc): Likewise.
21748 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21749 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21750 (CFLAGS-test-flt-eval-method.c): Likewise.
21751 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21752 (CFLAGS-test-finite-macros.c): Likewise.
21753 * misc/Makefile (CFLAGS-select.c): Likewise.
21754 (CFLAGS-tsearch.c): Likewise.
21755 (CFLAGS-lsearch.c): Likewise.
21756 (CFLAGS-pselect.c): Likewise.
21757 (CFLAGS-readv.c): Likewise.
21758 (CFLAGS-writev.c): Likewise.
21759 (CFLAGS-preadv.c): Likewise.
21760 (CFLAGS-preadv64.c): Likewise.
21761 (CFLAGS-pwritev.c): Likewise.
21762 (CFLAGS-pwritev64.c): Likewise.
21763 (CFLAGS-preadv2.c): Likewise.
21764 (CFLAGS-preadv64v2.c): Likewise.
21765 (CFLAGS-pwritev2.c): Likewise.
21766 (CFLAGS-pwritev64v2.c): Likewise.
21767 (CFLAGS-usleep.c): Likewise.
21768 (CFLAGS-syslog.c): Likewise.
21769 (CFLAGS-error.c): Likewise.
21770 (CFLAGS-getpass.c): Likewise.
21771 (CFLAGS-mkstemp.c): Likewise.
21772 (CFLAGS-mkstemp64.c): Likewise.
21773 (CFLAGS-getsysstats.c): Likewise.
21774 (CFLAGS-getusershell.c): Likewise.
21775 (CFLAGS-err.c): Likewise.
21776 (CFLAGS-tst-tsearch.c): Likewise.
21777 (CFLAGS-msync.c): Likewise.
21778 (CFLAGS-fdatasync.c): Likewise.
21779 (CFLAGS-fsync.c): Likewise.
21780 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21781 (CFLAGS-unwind.c): Likewise.
21782 (CFLAGS-unwind-forcedunwind.c): Likewise.
21783 (CFLAGS-pthread_cancel.c): Likewise.
21784 (CFLAGS-pthread_setcancelstate.c): Likewise.
21785 (CFLAGS-pthread_setcanceltype.c): Likewise.
21786 (CFLAGS-cancellation.c): Likewise.
21787 (CFLAGS-libc-cancellation.c): Likewise.
21788 (CFLAGS-pthread_exit.c): Likewise.
21789 (CFLAGS-forward.c): Likewise.
21790 (CFLAGS-pthread_testcancel.c): Likewise.
21791 (CFLAGS-pthread_join.c): Likewise.
21792 (CFLAGS-pthread_timedjoin.c): Likewise.
21793 (CFLAGS-pthread_once.c): Likewise.
21794 (CFLAGS-pthread_cond_wait.c): Likewise.
21795 (CFLAGS-sem_wait.c): Likewise.
21796 (CFLAGS-sem_timedwait.c): Likewise.
21797 (CFLAGS-fcntl.c): Likewise.
21798 (CFLAGS-lockf.c): Likewise.
21799 (CFLAGS-pread.c): Likewise.
21800 (CFLAGS-pread64.c): Likewise.
21801 (CFLAGS-pwrite.c): Likewise.
21802 (CFLAGS-pwrite64.c): Likewise.
21803 (CFLAGS-wait.c): Likewise.
21804 (CFLAGS-waitpid.c): Likewise.
21805 (CFLAGS-sigwait.c): Likewise.
21806 (CFLAGS-msgrcv.c): Likewise.
21807 (CFLAGS-msgsnd.c): Likewise.
21808 (CFLAGS-tcdrain.c): Likewise.
21809 (CFLAGS-open.c): Likewise.
21810 (CFLAGS-open64.c): Likewise.
21811 (CFLAGS-pause.c): Likewise.
21812 (CFLAGS-recv.c): Likewise.
21813 (CFLAGS-send.c): Likewise.
21814 (CFLAGS-accept.c): Likewise.
21815 (CFLAGS-sendto.c): Likewise.
21816 (CFLAGS-connect.c): Likewise.
21817 (CFLAGS-recvfrom.c): Likewise.
21818 (CFLAGS-recvmsg.c): Likewise.
21819 (CFLAGS-sendmsg.c): Likewise.
21820 (CFLAGS-close.c): Likewise.
21821 (CFLAGS-read.c): Likewise.
21822 (CFLAGS-write.c): Likewise.
21823 (CFLAGS-nanosleep.c): Likewise.
21824 (CFLAGS-sigsuspend.c): Likewise.
21825 (CFLAGS-msync.c): Likewise.
21826 (CFLAGS-fdatasync.c): Likewise.
21827 (CFLAGS-fsync.c): Likewise.
21828 (CFLAGS-pt-system.c): Likewise.
21829 (CFLAGS-tst-cleanup2.c): Likewise.
21830 (CFLAGS-tst-cleanupx2.c): Likewise.
21831 (CFLAGS-flockfile.c): Likewise.
21832 (CFLAGS-ftrylockfile.c): Likewise.
21833 (CFLAGS-funlockfile.c): Likewise.
21834 (CFLAGS-tst-initializers1.c): Likewise.
21835 (CFLAGS-tst-initializers1-c89.c): Likewise.
21836 (CFLAGS-tst-initializers1-c99.c): Likewise.
21837 (CFLAGS-tst-initializers1-c11.c): Likewise.
21838 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21839 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21840 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21841 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21842 (CFLAGS-nscd_getgr_r.c): Likewise.
21843 (CFLAGS-nscd_gethst_r.c): Likewise.
21844 (CFLAGS-nscd_getai.c): Likewise.
21845 (CFLAGS-nscd_initgroups.c): Likewise.
21846 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21847 (CFLAGS-pause.c): Likewise.
21848 (CFLAGS-pread.c): Likewise.
21849 (CFLAGS-pread64.c): Likewise.
21850 (CFLAGS-pwrite.c): Likewise.
21851 (CFLAGS-pwrite64.c): Likewise.
21852 (CFLAGS-sleep.c): Likewise.
21853 (CFLAGS-wait.c): Likewise.
21854 (CFLAGS-waitid.c): Likewise.
21855 (CFLAGS-waitpid.c): Likewise.
21856 (CFLAGS-getopt.c): Likewise.
21857 (CFLAGS-wordexp.c): Likewise.
21858 (CFLAGS-sysconf.c): Likewise.
21859 (CFLAGS-pathconf.c): Likewise.
21860 (CFLAGS-fpathconf.c): Likewise.
21861 (CFLAGS-spawn.c): Likewise.
21862 (CFLAGS-spawnp.c): Likewise.
21863 (CFLAGS-spawni.c): Likewise.
21864 (CFLAGS-glob.c): Likewise.
21865 (CFLAGS-glob64.c): Likewise.
21866 (CFLAGS-getconf.c): Likewise.
21867 (CFLAGS-nanosleep.c): Likewise.
21868 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21869 (CFLAGS-getpwent.c): Likewise.
21870 (CFLAGS-getpw.c): Likewise.
21871 (CFLAGS-fgetpwent_r.c): Likewise.
21872 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21873 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21874 (CFLAGS-mq_timedreceive.c): Likewise.
21875 (CFLAGS-mq_timedsend.c): Likewise.
21876 (CFLAGS-clock_nanosleep.c): Likewise.
21877 (CFLAGS-librt-cancellation.c): Likewise.
21878 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21879 (CFLAGS-getspent.c): Likewise.
21880 (CFLAGS-fgetspent.c): Likewise.
21881 (CFLAGS-fgetspent_r.c): Likewise.
21882 (CFLAGS-putspent.c): Likewise.
21883 (CFLAGS-getspnam.c): Likewise.
21884 (CFLAGS-getspnam_r.c): Likewise.
21885 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21886 (CFLAGS-sigsuspend.c): Likewise.
21887 (CFLAGS-sigtimedwait.c): Likewise.
21888 (CFLAGS-sigwait.c): Likewise.
21889 (CFLAGS-sigwaitinfo.c): Likewise.
21890 (CFLAGS-sigreturn.c): Likewise.
21891 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21892 (CFLAGS-vfwprintf.c): Likewise.
21893 (CFLAGS-tmpfile.c): Likewise.
21894 (CFLAGS-tmpfile64.c): Likewise.
21895 (CFLAGS-tempname.c): Likewise.
21896 (CFLAGS-psignal.c): Likewise.
21897 (CFLAGS-vprintf.c): Likewise.
21898 (CFLAGS-cuserid.c): Likewise.
21899 (CFLAGS-errlist.c): Likewise.
21900 (CFLAGS-siglist.c): Likewise.
21901 (CFLAGS-scanf15.c): Likewise.
21902 (CFLAGS-scanf17.c): Likewise.
21903 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21904 (CFLAGS-msort.c): Likewise.
21905 (CFLAGS-qsort.c): Likewise.
21906 (CFLAGS-system.c): Likewise.
21907 (CFLAGS-fmtmsg.c): Likewise.
21908 (CFLAGS-strfmon.c): Likewise.
21909 (CFLAGS-strfmon_l.c): Likewise.
21910 (CFLAGS-strfromd.c): Likewise.
21911 (CFLAGS-strfromf.c): Likewise.
21912 (CFLAGS-strfroml.c): Likewise.
21913 (CFLAGS-tst-bsearch.c): Likewise.
21914 (CFLAGS-tst-qsort.c): Likewise.
21915 (CFLAGS-tst-makecontext2.c): Likewise.
21916 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21917 (CFLAGS-xnlm_prot.c): Likewise.
21918 (CFLAGS-xrstat.c): Likewise.
21919 (CFLAGS-xyppasswd.c): Likewise.
21920 (CFLAGS-xklm_prot.c): Likewise.
21921 (CFLAGS-xrex.c): Likewise.
21922 (CFLAGS-xsm_inter.c): Likewise.
21923 (CFLAGS-xmount.c): Likewise.
21924 (CFLAGS-xrusers.c): Likewise.
21925 (CFLAGS-xspray.c): Likewise.
21926 (CFLAGS-xnfs_prot.c): Likewise.
21927 (CFLAGS-xrquota.c): Likewise.
21928 (CFLAGS-xkey_prot.c): Likewise.
21929 (CFLAGS-auth_unix.c): Likewise.
21930 (CFLAGS-key_call.c): Likewise.
21931 (CFLAGS-pmap_rmt.c): Likewise.
21932 (CFLAGS-clnt_perr.c): Likewise.
21933 (CFLAGS-openchild.c): Likewise.
21934 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21935 (CFLAGS-msgsnd.c): Likewise.
21936 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21937 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21938 (CFLAGS-tzset.c): Likewise.
21939 (CFLAGS-getdate.c): Likewise.
21940 (CFLAGS-test_time.c): Likewise.
21941 (CPPFLAGS-tst-tzname.c): Likewise.
21942 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21943 (CFLAGS-zic.c): Likewise.
21944 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21945 (CFLAGS-wcswidth.c): Likewise.
21946 (CFLAGS-wcstol.c): Likewise.
21947 (CFLAGS-wcstoul.c): Likewise.
21948 (CFLAGS-wcstoll.c): Likewise.
21949 (CFLAGS-wcstoull.c): Likewise.
21950 (CFLAGS-wcstod.c): Likewise.
21951 (CFLAGS-wcstold.c): Likewise.
21952 (CFLAGS-wcstof128.c): Likewise.
21953 (CFLAGS-wcstof.c): Likewise.
21954 (CFLAGS-wcstol_l.c): Likewise.
21955 (CFLAGS-wcstoul_l.c): Likewise.
21956 (CFLAGS-wcstoll_l.c): Likewise.
21957 (CFLAGS-wcstoull_l.c): Likewise.
21958 (CFLAGS-wcstod_l.c): Likewise.
21959 (CFLAGS-wcstold_l.c): Likewise.
21960 (CFLAGS-wcstof128_l.c): Likewise.
21961 (CFLAGS-wcstof_l.c): Likewise.
21962 (CPPFLAGS-tst-wchar-h.c): Likewise.
21963 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21964
f4b2aea6
PC
219652017-12-11 Paul A. Clarke <pc@us.ibm.com>
21966
21967 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21968
c9cd7b0c
AZ
219692017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21970 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21971
21972 * manual/tunables.texi (Hardware Capability Tunables): Document
21973 glibc.tune.cached_memopt.
21974 * sysdeps/powerpc/cpu-features.c: New file.
21975 * sysdeps/powerpc/cpu-features.h: New file.
21976 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21977 _dl_powerpc_cpu_features.
21978 * sysdeps/powerpc/dl-tunables.list: New file.
21979 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21980 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21981 (INIT_ARCH): Initialize use_aligned_memopt.
21982 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21983 IS_IN(rtld))]: Restrict dl_platform_init availability and
21984 initialize CPU features used by tunables.
21985 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21986 Add memcpy-power8-cached.
21987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21988 __memcpy_power8_cached.
21989 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21990 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21991 New file.
21992
e70c6fee
L
219932017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21994
21995 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21996 (CFLAGS-noinl-tester.c): Likewise.
21997 (CFLAGS-tst-strlen.c): Likewise.
21998 (CFLAGS-stratcliff.c): Likewise.
21999 (CFLAGS-test-ffs.c): Likewise.
22000 (CFLAGS-tst-inlcall.c): Likewise.
22001 (CFLAGS-tst-xbzero-opt.c): Likewise.
22002 (CFLAGS-memcpy.c): Likewise.
22003 (CFLAGS-wordcopy.c): Likewise.
22004
dee94366
SL
220052017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
22006
22007 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
22008 Store r15 on stack and add cfi rule.
22009 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22010 Likewise.
22011
363e4519 220122017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
22013
22014 [BZ #22577]
22015 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
22016 call.
22017
9d0ffa60
L
220182017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22019
22020 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
22021 Add s_sinf-sse2 and s_sinf-fma.
22022 (CFLAGS-s_sinf-fma.c): New.
22023 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
22024 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
22025 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
22026
9574c7b6
L
220272017-12-07 H.J. Lu <hongjiu.lu@intel.com>
22028
22029 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
22030
d15e83c5
JM
220312017-12-07 Joseph Myers <joseph@codesourcery.com>
22032
22033 [BZ #22568]
22034 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
22035 part of result to imaginary part of argument if it is zero and the
22036 real part of the argument is not finite.
22037 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
22038 of result to real part of argument if it is zero and the imaginary
22039 part of the argument is not finite.
22040
d89756eb
MF
220412017-12-07 Mike FABIAN <mfabian@redhat.com>
22042
22043 [BZ #22524]
22044 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
22045 and to the list of locales to be built for testing.
22046 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
22047 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
22048 and build the collation rules upon that.
22049
1f9055ce
JM
220502017-12-07 Joseph Myers <joseph@codesourcery.com>
22051
22052 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
22053 * manual/math.texi (Mathematics): Document support for _Float32.
22054 * math/Makefile (test-types): Add float32.
22055 * math/Versions (GLIBC_2.27): Add _Float32 functions.
22056 * stdlib/Versions (GLIBC_2.27): Likewise.
22057 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22058 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22059 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22060 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22061 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22062 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22063 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22064 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22065 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22066 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22067 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22068 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22069 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22070 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22071 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22072 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22073 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22074 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22075 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22076 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22077 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22078 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22079 Likewise.
22080 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22081 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22082 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22083 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22084 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22086 Likewise.
22087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22088 Likewise.
22089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22090 Likewise.
22091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22092 Likewise.
22093
22094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22095 Likewise.
22096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22097 Likewise.
22098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22099 Likewise.
22100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22101 Likewise.
22102 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22103 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22104 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22105 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22106 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22107 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22109 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22112 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22113 Likewise.
22114 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22115 Likewise.
22116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22117 Likewise.
22118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22119 Likewise.
22120 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22121 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22122 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22123 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22124 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22125 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22126 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22127 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22128
5244527d
JM
221292017-12-06 Joseph Myers <joseph@codesourcery.com>
22130
fb1ca2aa
JM
22131 * stdlib/strtof.c: Include <bits/floatn.h>
22132 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
22133 and later undefine as macro. Define as weak alias if
22134 [!USE_WIDE_CHAR].
22135 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
22136 and later undefine as macro. Define as weak alias if
22137 [USE_WIDE_CHAR].
22138 * stdlib/strtof_l.c: Include <bits/floatn.h>
22139 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
22140 and later undefine as macro. Define as weak alias if
22141 [!USE_WIDE_CHAR].
22142 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
22143 and later undefine as macro. Define as weak alias if
22144 [USE_WIDE_CHAR].
22145
fc10cc3f
JM
22146 * stdlib/strfromf.c: Include <bits/floatn.h>.
22147 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
22148 and later undefine as macro and define as weak alias.
22149
e420d228
JM
22150 * math/test-float32.h: New file.
22151
26007a2f
JM
22152 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
22153 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
22154 (libm_alias_float_other_r): Create f32 alias.
22155 (libm_alias_float_r): Use semicolon before call to
22156 libm_alias_float_other_r.
22157
c191f64c
JM
22158 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
22159 second argument to libm_alias_float_other.
22160 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
22161 second argument to libm_alias_float_other.
22162 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
22163 argument to libm_alias_float_other.
22164
5244527d
JM
22165 [BZ #22561]
22166 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
22167 real part of result for argument 0 + i * NaN.
22168 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
22169 results for tests of 0 + i * NaN.
22170
d73fac82
AZ
221712017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22172
22173 * sysdeps/alpha/fpu/libm-test-ulps: Update.
22174
7ec094e8
DM
221752017-12-06 David S. Miller <davem@davemloft.net>
22176
22177 * sysdeps/sparc/fpu/libm-test-ulps: Update
22178 exp_{downward,towardzero,upward} ulps.
22179
53994f12
JM
221802017-12-06 Joseph Myers <joseph@codesourcery.com>
22181
1dbe6f64
JM
22182 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
22183 variables static.
22184
53994f12
JM
22185 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
22186 (Y0_2D): Likewise.
22187 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
22188 (Y0_2D): Likewise.
22189 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
22190 (Y0_2D): Likewise.
22191 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
22192 (Y0_2D): Likewise.
22193
62ea2193
MF
221942017-12-06 Mike FABIAN <mfabian@redhat.com>
22195
22196 [BZ #22515]
22197 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
22198 and to the list of locales to be built for testing.
22199 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
22200 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
22201 and build the collation rules upon that.
22202
87235d70
RS
222032017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22204
22205 * NEWS: Add sinf to list of optimized functions.
22206
0d93b7fd
JM
222072017-12-06 Joseph Myers <joseph@codesourcery.com>
22208
22209 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
22210 (__HAVE_FLOAT32X): Likewise.
22211 * manual/math.texi (Mathematics): Document support for _Float64
22212 and _Float32x.
22213 * math/Makefile (test-types): Add float64 and float32x.
22214 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
22215 functions.
22216 * stdlib/Versions (GLIBC_2.27): Likewise.
22217 * wcsmbs/Versions (GLIBC_2.27): Likewise.
22218 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
22219 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
22220 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
22221 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
22222 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
22223 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
22224 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
22225 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
22226 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
22227 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
22228 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
22229 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
22230 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
22231 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
22232 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
22233 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
22234 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
22235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
22236 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
22237 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
22238 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
22239 Likewise.
22240 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
22241 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
22242 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
22243 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
22244 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
22245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
22246 Likewise.
22247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
22248 Likewise.
22249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
22250 Likewise.
22251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
22252 Likewise.
22253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
22254 Likewise.
22255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
22256 Likewise.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
22258 Likewise.
22259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
22260 Likewise.
22261 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
22262 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
22263 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
22264 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
22265 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
22266 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
22267 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
22268 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
22269 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
22270 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
22271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22272 Likewise.
22273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22274 Likewise.
22275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22276 Likewise.
22277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22278 Likewise.
22279 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22280 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22281 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
22282 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
22283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
22284 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
22285 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
22286 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
22287
f7787234
JM
222882017-12-05 Joseph Myers <joseph@codesourcery.com>
22289
22290 * bits/floatn-common.h: Include <bits/long-double.h>.
22291 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22292 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
22293 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22294 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
22295 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
22296 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
22297 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22298 (__builtin_huge_valf64): Use __builtin_huge_vall.
22299 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22300 (__builtin_inff64): Use __builtin_infl.
22301 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22302 (__builtin_nanf64): Use __builtin_nanl.
22303 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
22304 (__builtin_nansf64): Use __builtin_nansl.
22305
363e4519
DL
223062017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
22307 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 22308 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
22309
22310 * elf/dl-tunables.list: Add elision parameters.
22311 * manual/tunables.texi: Add entries about elision tunable.
22312 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
22313 Add callback functions to dynamically enable/disable elision.
22314 Add multiple callbacks functions to set elision parameters.
22315 Deleted __libc_enable_secure check.
22316 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
22317 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
22318 * configure: Regenerated.
22319 * configure.ac: Option enable_lock_elision was deleted.
22320 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
22321 * config.make.in: Remove references to enable_lock_elision.
22322 * manual/install.texi: Elision configure option was removed.
22323 * INSTALL: Regenerated to remove enable_lock_elision.
22324 * nptl/Makefile:
22325 Disable elision so it can verify error case for destroying a mutex.
22326 * sysdeps/powerpc/nptl/elide.h:
22327 Cleanup ENABLE_LOCK_ELISION check.
22328 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22329 * sysdeps/s390/configure: Regenerated.
22330 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22331 * nptl/tst-mutex8.c:
22332 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22333 * sysdeps/powerpc/powerpc32/sysdep.h:
22334 Deleted all ENABLE_LOCK_ELISION checks.
22335 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22336 * sysdeps/powerpc/sysdep.h: Likewise.
22337 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22338 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22339 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22340 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22341 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22342 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22343 enable-lock-elision.
22344
a5a2a76b
JM
223452017-12-05 Joseph Myers <joseph@codesourcery.com>
22346
22347 * stdlib/strtod.c: Include <bits/floatn.h>.
22348 (BUILD_DOUBLE): New macro.
22349 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22350 (strtof64): Define and later undefine as macro. Define as weak
22351 alias if [!USE_WIDE_CHAR].
22352 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22353 (wcstof64): Define and later undefine as macro. Define as weak
22354 alias if [USE_WIDE_CHAR].
22355 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22356 (strtof32x): Define and later undefine as macro. Define as weak
22357 alias if [!USE_WIDE_CHAR].
22358 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22359 (wcstof32x): Define and later undefine as macro. Define as weak
22360 alias if [USE_WIDE_CHAR].
22361 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22362 (BUILD_DOUBLE): New macro.
22363 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22364 (strtof64_l): Define and later undefine as macro. Define as weak
22365 alias if [!USE_WIDE_CHAR].
22366 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22367 (wcstof64_l): Define and later undefine as macro. Define as weak
22368 alias if [USE_WIDE_CHAR].
22369 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22370 (strtof32x_l): Define and later undefine as macro. Define as weak
22371 alias if [!USE_WIDE_CHAR].
22372 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22373 (wcstof32x_l): Define and later undefine as macro. Define as weak
22374 alias if [USE_WIDE_CHAR].
22375
94d80dfc
AZ
223762017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22377
22378 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22379 (reduced): Use ones as double instead of integer.
22380
00d54af7
SN
223812017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22382
22383 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22384
f2d64d62
JM
223852017-12-05 Joseph Myers <joseph@codesourcery.com>
22386
1f70eae4
JM
22387 * stdlib/strfromd.c: Include <bits/floatn.h>.
22388 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22389 and later undefine as macro and define as weak alias.
22390 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22391 Likewise.
22392
e2c4dce5
JM
22393 * math/test-float32x.h: New file.
22394 * math/test-float64.h: Likewise.
22395
f2d64d62
JM
22396 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22397 (libm_alias_double_other_r_f64): New macro.
22398 (libm_alias_double_other_r_f32x): Likewise.
22399 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22400 libm_alias_double_other_r_f32x.
22401 (libm_alias_double_r): Use semicolon before call to
22402 libm_alias_double_other_r.
22403 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22404 <bits/floatn.h>.
22405 (libm_alias_double_other_r_f64): New macro.
22406 (libm_alias_double_other_r_f32x): Likewise.
22407 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22408 libm_alias_double_other_r_f32x.
22409
91c318e7
L
224102017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22411
22412 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22413 int.
22414 (SINF_FUNC): Likewise. Replace floor with simple casts.
22415
de9661d6
MF
224162017-12-05 Mike FABIAN <mfabian@redhat.com>
22417
22418 [BZ #22517]
22419 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22420 and to the list of locales to be built for testing.
22421 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22422 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22423 and build the collation rules upon that.
22424
f18b8dc7
CM
224252017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22426
22427 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22428 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22429 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22430 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22431 instead of __insn__xxx.
22432 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22433 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22434 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22435 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22436 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22437 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22438
446d22e9
FW
224392017-12-05 Florian Weimer <fweimer@redhat.com>
22440
22441 Linux: Implement interfaces for memory protection keys
22442 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22443 xsignal, xsysconf.
22444 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22445 * support/xunistd.h (xsysconf): Declare.
22446 * support/xraise.c: New file.
22447 * support/xsigaction.c: Likewise.
22448 * support/xsignal.c: Likewise.
22449 * support/xsysconf.c: Likewise.
22450 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22451 pkey_set, pkey_get, pkey_mprotect.
22452 [misc] (tests): Add tst-pkey.
22453 (tst-pkey): Link with -lpthread.
22454 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22455 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22456 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22457 (PKEY_DISABLE_WRITE): Define.
22458 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22459 Declare.
22460 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22461 (SEGV_PKUERR): Add.
22462 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22463 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22464 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22465 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22466 Add.
22467 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22468 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22469 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22470 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22471 * sysdeps/unix/sysv/linux/**.abilist: Update.
22472
da616c14
FW
224732017-12-05 Florian Weimer <fweimer@redhat.com>
22474
22475 * support/tst-test_compare.c (subprocess): Use long long instead
22476 of long argument for consistent type width across 32-bit and
22477 64-bit architectures.
22478 (do_test): Adjust expected output.
22479
216933b2
JM
224802017-12-05 Joseph Myers <joseph@codesourcery.com>
22481
22482 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22483 (cosf): Define using libm_alias_float.
22484 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22485 (fabsf): Define using libm_alias_float.
22486 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22487 (fmaf): Define using libm_alias_float.
22488 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22489 (rintf): Define using libm_alias_float.
22490 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22491 (sinf): Define using libm_alias_float.
22492 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22493 <libm-alias-float.h>.
22494 (modff): Define using libm_alias_float.
22495 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22496 <libm-alias-float.h>.
22497 (logbf): Define using libm_alias_float.
22498 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22499 <libm-alias-float.h>.
22500 (ceilf): Define using libm_alias_float.
22501 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22502 <libm-alias-float.h>.
22503 (copysignf): Define using libm_alias_float.
22504 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22505 <libm-alias-float.h>.
22506 (floorf): Define using libm_alias_float.
22507 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22508 <libm-alias-float.h>.
22509 (llrintf): Define using libm_alias_float.
22510 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22511 <libm-alias-float.h>.
22512 (llroundf): Define using libm_alias_float.
22513 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22514 <libm-alias-float.h>.
22515 (lrintf): Define using libm_alias_float.
22516 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22517 <libm-alias-float.h>.
22518 (lroundf): Define using libm_alias_float.
22519 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22520 <libm-alias-float.h>.
22521 (nearbyintf): Define using libm_alias_float.
22522 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22523 <libm-alias-float.h>.
22524 (rintf): Define using libm_alias_float.
22525 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22526 <libm-alias-float.h>.
22527 (roundf): Define using libm_alias_float.
22528 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22529 <libm-alias-float.h>.
22530 (truncf): Define using libm_alias_float.
22531 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22532 Include <libm-alias-float.h>.
22533 (ceilf): Define using libm_alias_float.
22534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22535 Include <libm-alias-float.h>.
22536 (copysignf): Define using libm_alias_float.
22537 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22538 Include <libm-alias-float.h>.
22539 (floorf): Define using libm_alias_float.
22540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22541 Include <libm-alias-float.h>.
22542 (llrintf): Define using libm_alias_float.
22543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22544 Include <libm-alias-float.h>.
22545 (llroundf): Define using libm_alias_float.
22546 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22547 Include <libm-alias-float.h>.
22548 (logbf): Define using libm_alias_float.
22549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22550 Include <libm-alias-float.h>.
22551 (lrintf): Define using libm_alias_float.
22552 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22553 Include <libm-alias-float.h>.
22554 (lroundf): Define using libm_alias_float.
22555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22556 Include <libm-alias-float.h>.
22557 (modff): Define using libm_alias_float.
22558 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22559 Include <libm-alias-float.h>.
22560 (roundf): Define using libm_alias_float.
22561 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22562 Include <libm-alias-float.h>.
22563 (truncf): Define using libm_alias_float.
22564 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22565 <libm-alias-float.h>.
22566 (llrintf): Define using libm_alias_float.
22567 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22568 <libm-alias-float.h>.
22569 (llroundf): Define using libm_alias_float.
22570 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22571 <libm-alias-float.h>.
22572 (ceilf): Define using libm_alias_float.
22573 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22574 <libm-alias-float.h>.
22575 (floorf): Define using libm_alias_float.
22576 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22577 <libm-alias-float.h>.
22578 (llroundf): Define using libm_alias_float.
22579 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22580 <libm-alias-float.h>.
22581 (lroundf): Define using libm_alias_float.
22582 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22583 <libm-alias-float.h>.
22584 (roundf): Define using libm_alias_float.
22585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22586 <libm-alias-float.h>.
22587 (truncf): Define using libm_alias_float.
22588 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22589 <libm-alias-float.h>.
22590 (copysignf): Define using libm_alias_float.
22591 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22592 <libm-alias-float.h>.
22593 (llrintf): Define using libm_alias_float.
22594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22595 <libm-alias-float.h>.
22596 (llroundf): Define using libm_alias_float.
22597 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22598 <libm-alias-float.h>.
22599 (lrintf): Define using libm_alias_float.
22600 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22601 <libm-alias-float.h>.
22602 (lroundf): Define using libm_alias_float.
22603 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22604 <libm-alias-float.h>.
22605 (ceilf): Define using libm_alias_float.
22606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22607 <libm-alias-float.h>.
22608 (copysignf): Define using libm_alias_float.
22609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22610 <libm-alias-float.h>.
22611 (cosf): Define using libm_alias_float.
22612 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22613 <libm-alias-float.h>.
22614 (floorf): Define using libm_alias_float.
22615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22616 <libm-alias-float.h>.
22617 (llrintf): Define using libm_alias_float.
22618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22619 <libm-alias-float.h>.
22620 (llroundf): Define using libm_alias_float.
22621 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22622 <libm-alias-float.h>.
22623 (logbf): Define using libm_alias_float.
22624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22625 <libm-alias-float.h>.
22626 (modff): Define using libm_alias_float.
22627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22628 <libm-alias-float.h>.
22629 (roundf): Define using libm_alias_float.
22630 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22631 <libm-alias-float.h>.
22632 (sinf): Define using libm_alias_float.
22633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22634 <libm-alias-float.h>.
22635 (truncf): Define using libm_alias_float.
22636 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22637 <libm-alias-float.h>.
22638 (ceilf): Define using libm_alias_float.
22639 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22640 <libm-alias-float.h>.
22641 (copysignf): Define using libm_alias_float.
22642 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22643 <libm-alias-float.h>.
22644 (floorf): Define using libm_alias_float.
22645 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22646 <libm-alias-float.h>.
22647 (llrintf): Define using libm_alias_float.
22648 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22649 <libm-alias-float.h>.
22650 (llroundf): Define using libm_alias_float.
22651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22652 <libm-alias-float.h>.
22653 (nearbyintf): Define using libm_alias_float.
22654 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22655 <libm-alias-float.h>.
22656 (rintf): Define using libm_alias_float.
22657 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22658 <libm-alias-float.h>.
22659 (roundf): Define using libm_alias_float.
22660 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22661 <libm-alias-float.h>.
22662 (truncf): Define using libm_alias_float.
22663 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22664 <libm-alias-float.h>.
22665 (ceilf): Define using libm_alias_float.
22666 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22667 <libm-alias-float.h>.
22668 (floorf): Define using libm_alias_float.
22669 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22670 <libm-alias-float.h>.
22671 (llroundf): Define using libm_alias_float.
22672 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22673 <libm-alias-float.h>.
22674 (roundf): Define using libm_alias_float.
22675 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22676 <libm-alias-float.h>.
22677 (truncf): Define using libm_alias_float.
22678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22679 <libm-alias-float.h>.
22680 (copysignf): Define using libm_alias_float.
22681 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22682 <libm-alias-float.h>.
22683 (llrintf): Define using libm_alias_float.
22684 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22685 <libm-alias-float.h>.
22686 (llroundf): Define using libm_alias_float.
22687 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22688 <libm-alias-float.h>.
22689 (cosf): Define using libm_alias_float.
22690 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22691 <libm-alias-float.h>.
22692 (llrintf): Define using libm_alias_float.
22693 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22694 <libm-alias-float.h>.
22695 (llroundf): Define using libm_alias_float.
22696 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22697 <libm-alias-float.h>.
22698 (sinf): Define using libm_alias_float.
22699
93485524
FW
227002017-12-04 Florian Weimer <fweimer@redhat.com>
22701
22702 * support/check.h (TEST_COMPARE): Define.
22703 (support_test_compare_failure): Declare.
22704 * support/Makefile (libsupport-routines): Add
22705 support_test_compare_failure.
22706 (tests): Add tst-test_compare.
22707 * support /support_test_compare_failure.c: New file.
22708 * support/tst-test_compare.c: Likewise.
22709
96b06a19
MF
227102017-12-04 Mike FABIAN <mfabian@redhat.com>
22711
22712 [BZ #22527]
22713 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22714 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22715 available, this rewrite of the collation rules does reproduce
22716 the test file in the same order.
22717
1f6d91f3
MF
227182017-12-04 Mike FABIAN <mfabian@redhat.com>
22719
22720 [BZ #10580]
22721 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22722 digraphs in the month and day names. Using single code points for
22723 digraphs is deprecated. While there are dedicated Unicode
22724 codepoints, for the digraphs, these are included for backwards
22725 compatibility and modern texts use a sequence of Basic Latin
22726 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22727 This makes the month and day names agree exactly with CLDR now,
22728 CLDR does not use the single code points for the digraphs either.
22729
2e49fed8
CM
227302017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22731
22732 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22733
73895b49
JM
227342017-12-04 Joseph Myers <joseph@codesourcery.com>
22735
22736 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22737 of floor.
22738
4c1d801a
SP
227392017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22740
22741 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22742 Define only for libc.so.
22743
478593e6
SL
227442017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22745
22746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22747 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22748 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22749 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22751
7863a711
RS
227522017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22753
22754 [BZ #5997]
22755 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22756
800a496a
JDA
227572017-12-02 John David Anglin <danglin@gcc.gnu.org>
22758
b3f7fb12
JDA
22759 [BZ libc/19170]
22760 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22761 PREINIT_FUNCTION_WEAK is nonzero.
22762 (gmon_initializer): New function. Put procedure label for it in
22763 .init_array section.
22764 (_init): Don't call PREINIT_FUNCTION.
22765 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22766 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22767 value when map argument is null.
22768
800a496a
JDA
22769 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22770 depi instruction from PIC pc-relative sequence.
22771 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22772 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22773 (elf_machine_load_address): Likewise.
22774 (elf_machine_runtime_setup): Likewise.
22775
d17542d2
JM
227762017-12-02 Joseph Myers <joseph@codesourcery.com>
22777
22778 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22779 <libm-alias-double.h>.
22780 (logb): Define using libm_alias_double.
22781 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22782 <libm-alias-double.h>.
22783 (copysign): Define using libm_alias_double.
22784 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22785 <libm-alias-double.h>.
22786 (llrint): Define using libm_alias_double.
22787 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22788 <libm-alias-double.h>.
22789 (llround): Define using libm_alias_double.
22790 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22791 <libm-alias-double.h>.
22792 (lrint): Define using libm_alias_double.
22793 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22794 <libm-alias-double.h>.
22795 (lround): Define using libm_alias_double.
22796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22797 Include <libm-alias-double.h>.
22798 (copysign): Define using libm_alias_double.
22799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22800 Include <libm-alias-double.h>.
22801 (llrint): Define using libm_alias_double.
22802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22803 Include <libm-alias-double.h>.
22804 (llround): Define using libm_alias_double.
22805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22806 <libm-alias-double.h>.
22807 (logb): Define using libm_alias_double.
22808 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22809 Include <libm-alias-double.h>.
22810 (lrint): Define using libm_alias_double.
22811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22812 Include <libm-alias-double.h>.
22813 (lround): Define using libm_alias_double.
22814 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22815 <libm-alias-double.h>.
22816 (llrint): Define using libm_alias_double.
22817 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22818 <libm-alias-double.h>.
22819 (llround): Define using libm_alias_double.
22820 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22821 <libm-alias-double.h>.
22822 (llround): Define using libm_alias_double.
22823 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22824 <libm-alias-double.h>.
22825 (lround): Define using libm_alias_double.
22826 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22827 <libm-alias-double.h>.
22828 (copysign): Define using libm_alias_double.
22829 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22830 <libm-alias-double.h>.
22831 (llrint): Define using libm_alias_double.
22832 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22833 <libm-alias-double.h>.
22834 (llround): Define using libm_alias_double.
22835 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22836 <libm-alias-double.h>.
22837 (lrint): Define using libm_alias_double.
22838 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22839 <libm-alias-double.h>.
22840 (lround): Define using libm_alias_double.
22841 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22842 <libm-alias-double.h>.
22843 (copysign): Define using libm_alias_double.
22844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22845 <libm-alias-double.h>.
22846 (llrint): Define using libm_alias_double.
22847 (lrint): Likewise.
22848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22849 <libm-alias-double.h>.
22850 (llround): Define using libm_alias_double.
22851 (lround): Likewise.
22852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22853 <libm-alias-double.h>.
22854 (logb): Define using libm_alias_double.
22855 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22856 <libm-alias-double.h>.
22857 (copysign): Define using libm_alias_double.
22858 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22859 <libm-alias-double.h>.
22860 (llrint): Define using libm_alias_double.
22861 (lrint): Likewise.
22862 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22863 <libm-alias-double.h>.
22864 (llround): Define using libm_alias_double.
22865 (lround): Likewise.
22866 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22867 <libm-alias-double.h>.
22868 (llround): Define using libm_alias_double.
22869 (lround): Likewise.
22870 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22871 <libm-alias-double.h>.
22872 (copysign): Define using libm_alias_double.
22873 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22874 <libm-alias-double.h>.
22875 (llrint): Define using libm_alias_double.
22876 (lrint): Likewise.
22877 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22878 <libm-alias-double.h>.
22879 (llround): Define using libm_alias_double.
22880 (lround): Likewise.
22881 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22882 <libm-alias-double.h>.
22883 (llrint): Define using libm_alias_double.
22884 (lrint): Likewise.
22885 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22886 <libm-alias-double.h>.
22887 (llround): Define using libm_alias_double.
22888 (lround): Likewise.
22889
ec2cf3f4
JM
228902017-12-01 Joseph Myers <joseph@codesourcery.com>
22891
0ddde474
JM
22892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22893 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22894 compat symbol based on llround.
22895
0d5ba561
JM
22896 * sysdeps/powerpc/power7/fpu/s_logb.c
22897 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22898 symbol based on __logb, not on logb.
22899 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22900 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22902 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22903
51ea3b20
JM
22904 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22905 (rint): Define using libm_alias_double.
22906 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22907 <libm-alias-double.h>.
22908 (modf): Define using libm_alias_double.
22909 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22910 <libm-alias-double.h>.
22911 (ceil): Define using libm_alias_double.
22912 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22913 <libm-alias-double.h>.
22914 (floor): Define using libm_alias_double.
22915 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22916 <libm-alias-double.h>.
22917 (nearbyint): Define using libm_alias_double.
22918 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22919 <libm-alias-double.h>.
22920 (rint): Define using libm_alias_double.
22921 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22922 <libm-alias-double.h>.
22923 (round): Define using libm_alias_double.
22924 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22925 <libm-alias-double.h>.
22926 (trunc): Define using libm_alias_double.
22927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22928 <libm-alias-double.h>.
22929 (ceil): Define using libm_alias_double.
22930 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22931 Include <libm-alias-double.h>.
22932 (floor): Define using libm_alias_double.
22933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22934 <libm-alias-double.h>.
22935 (modf): Define using libm_alias_double.
22936 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22937 Include <libm-alias-double.h>.
22938 (round): Define using libm_alias_double.
22939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22940 Include <libm-alias-double.h>.
22941 (trunc): Define using libm_alias_double.
22942 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22943 <libm-alias-double.h>.
22944 (ceil): Define using libm_alias_double.
22945 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22946 <libm-alias-double.h>.
22947 (floor): Define using libm_alias_double.
22948 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22949 <libm-alias-double.h>.
22950 (round): Define using libm_alias_double.
22951 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22952 <libm-alias-double.h>.
22953 (trunc): Define using libm_alias_double.
22954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22955 <libm-alias-double.h>.
22956 (ceil): Define using libm_alias_double.
22957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22958 <libm-alias-double.h>.
22959 (floor): Define using libm_alias_double.
22960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22961 <libm-alias-double.h>.
22962 (modf): Define using libm_alias_double.
22963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22964 <libm-alias-double.h>.
22965 (round): Define using libm_alias_double.
22966 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22967 <libm-alias-double.h>.
22968 (trunc): Define using libm_alias_double.
22969 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22970 <libm-alias-double.h>.
22971 (ceil): Define using libm_alias_double.
22972 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22973 <libm-alias-double.h>.
22974 (floor): Define using libm_alias_double.
22975 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22976 <libm-alias-double.h>.
22977 (nearbyint): Define using libm_alias_double.
22978 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22979 <libm-alias-double.h>.
22980 (rint): Define using libm_alias_double.
22981 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22982 <libm-alias-double.h>.
22983 (round): Define using libm_alias_double.
22984 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22985 <libm-alias-double.h>.
22986 (trunc): Define using libm_alias_double.
22987 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22988 <libm-alias-double.h>.
22989 (ceil): Define using libm_alias_double.
22990 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22991 <libm-alias-double.h>.
22992 (floor): Define using libm_alias_double.
22993 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22994 <libm-alias-double.h>.
22995 (round): Define using libm_alias_double.
22996 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22997 <libm-alias-double.h>.
22998 (trunc): Define using libm_alias_double.
22999
ec2cf3f4
JM
23000 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
23001 (fabs): Define using libm_alias_double.
23002 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
23003 (fma): Define using libm_alias_double.
23004 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
23005 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
23006 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
23008
5b7bd975
AZ
230092017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23010
0594b13f
AZ
23011 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
23012
dbdfcf3b
AZ
23013 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
23014 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
23015 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23016
5b7bd975
AZ
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
23018 due redirect macro.
23019
ef9ecfa6
AS
230202017-12-01 Andreas Schwab <schwab@linux-m68k.org>
23021
23022 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
23023
5b4e5e78
AZ
230242017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23025
2a14526b
AZ
23026 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
23027 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
23028 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
23029 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
23030
dbeb74ef 23031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
23032 (libm-sysdep_routines): Add s_nearbyintf-generic and
23033 s_nearbyint-generic.
23034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
23035 New file.
23036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
23037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
23038 Likewise.
23039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
23040 Likewise.
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
23042 file.
23043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23044 Likewise.
23045
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
23047 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
23048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
23049 file.
23050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
23051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
23052 Likewise.
23053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
23055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
23056
fa7ded96
AZ
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23058 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
23060 file.
23061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
23062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
23063 Likewise.
23064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
23067
e240cf0e
AZ
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23069 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
23070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
23071 file.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
23073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
23074 Likewise.
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
23076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
23078
5b4e5e78
AZ
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23080 (sysdep_calls): New rule.
23081 (sysdep_routines): Use sysdep_calls as base.
23082 (libm-sysdep_routines): Add generic rule for symbols shared with
23083 libc. Add s_copysign-generic and s_copysign-generic objects.
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
23085 New file.
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
23087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
23088 Likewise.
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
23090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
23092
d985adae
MF
230932017-12-01 Mike FABIAN <mfabian@redhat.com>
23094
23095 [BZ #22519]
23096 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
23097 the list of locales to be built for testing.
23098 * localedata/is_IS.UTF-8.in: New file.
23099 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
23100 on iso14651_t1.
23101
ff84a0e0
JM
231022017-12-01 Joseph Myers <joseph@codesourcery.com>
23103
23104 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
23105 <libm-alias-float.h>.
23106 (fabsf): Define using libm_alias_float.
23107
ef5d8b43
L
231082017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23109
23110 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
23111
c0535adf
JM
231122017-11-30 Joseph Myers <joseph@codesourcery.com>
23113
f938b397
JM
23114 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
23115 <libm-alias-float.h>.
23116 (fabsf): Define using libm_alias_float.
23117 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
23118 <libm-alias-float.h>.
23119 (lrintf): Define using libm_alias_float.
23120 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
23121 <libm-alias-float.h>.
23122 (rintf): Define using libm_alias_float.
23123
2251fad0
JM
23124 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
23125 <libm-alias-double.h>.
23126 (fabs): Define using libm_alias_double.
23127 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
23128 <libm-alias-double.h>.
23129 (lrint): Define using libm_alias_double.
23130 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
23131 <libm-alias-double.h>.
23132 (rint): Define using libm_alias_double.
23133
e53df1de
JM
23134 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
23135 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
23136 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
23137 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
23138 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
23139 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
23140 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
23141 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
23142 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
23143 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
23144 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
23145 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
23146 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
23147 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
23148 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
23149 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
23150 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
23151 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
23152 s_atan_template.c.
23153 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
23154 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
23155 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
23156 s_ceil_template.c.
23157 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
23158 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
23159 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
23160 s_cos_template.c.
23161 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
23162 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
23163 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
23164 s_expm1_template.c.
23165 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
23166 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
23167 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
23168 s_fabs_template.c.
23169 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
23170 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
23171 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
23172 s_floor_template.c.
23173 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
23174 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
23175 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
23176 s_frexp_template.c.
23177 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
23178 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
23179 s_lrint_template.c.
23180 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
23181 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
23182 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
23183 s_modf_template.c.
23184 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
23185 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
23186 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
23187 s_nearbyint_template.c.
23188 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
23189 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
23190 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
23191 s_remquo_template.c.
23192 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
23193 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
23194 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
23195 s_rint_template.c.
23196 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
23197 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
23198 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
23199 s_sin_template.c.
23200 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
23201 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
23202 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
23203 s_sincos_template.c.
23204 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
23205 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
23206 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
23207 s_tan_template.c.
23208 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
23209 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
23210 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
23211 s_tanh_template.c.
23212 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
23213 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
23214 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
23215 s_trunc_template.c.
23216 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
23217 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
23218 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
23219 s_atan.c instead of including s_atan.c.
23220 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
23221 s_atanf.c instead of including s_atanf.c.
23222 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
23223 s_atanl.c instead of including s_atanl.c.
23224 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
23225 instead of s_atan.c.
23226 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
23227 instead of s_atanf.c.
23228 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
23229 instead of s_atanl.c.
23230
c0535adf
JM
23231 * scripts/update-copyrights: Do not handle intl/plural.c
23232 specially.
23233
1faaf703
JB
232342017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
23235
23236 [BZ #22432]
23237 * configure.ac (BISON): Require to be present.
23238 * configure: Regenerated.
23239 * intl/Makefile (generated): Add plural.c.
23240 [$(BISON) != no]: Make code unconditional.
23241 (plural.c): Change rule to $(objpfx)plural.c.
23242 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
23243 * intl/plural.c: Remove.
23244 * manual/install.texi (Tools for Compilation): Document bison as
23245 required.
23246 * INSTALL: Regenerated.
23247
faec6323
JM
232482017-11-30 Joseph Myers <joseph@codesourcery.com>
23249
bd6ea9ed
JM
23250 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
23251 <libm-alias-double.h>.
23252 (llrint): Define using libm_alias_double.
23253 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
23254 <libm-alias-float.h>.
23255 (llrintf): Define using libm_alias_float.
23256 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
23257 <libm-alias-ldouble.h>.
23258 (llrintl): Define using libm_alias_ldouble.
23259
faec6323
JM
23260 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
23261 declare_mgen_alias instead of weak_alias.
23262 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
23263 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
23264 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
23265
023cade3
AZ
232662017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23267
9e2279a0
AZ
23268 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23269 Add add_n-generic.
23270 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
23271 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
23272 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
23273
75f37c71
AZ
23274 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23275 Add submul_1-generic.
23276 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
23277 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
23278 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
23279
b70cbbfc 23280 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
23281 Add addmul_1-generic.
23282 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
23283 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
23284 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
23285
23286 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
23287 Add sub_n-generic.
23288 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
23289 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
23290 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
23291
023cade3
AZ
23292 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
23293 Add mul_1-generic.
23294 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
23295 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
23296 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
23297
fbb5fd03
MF
232982017-11-30 Mike FABIAN <mfabian@redhat.com>
23299
23300 According to CLDR, collation rules for Serbian and Bosnian
23301 should be the same as for Croatian.
23302
23303 [BZ #22534]
23304 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
23305 and to the list of locales to be built for testing.
23306 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23307 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
23308 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
23309 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
23310
5e56e937
MF
233112017-11-30 Mike FABIAN <mfabian@redhat.com>
23312
23313 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
23314 to make test case pass.
23315 * localedata/hr_HR.UTF-8.in: Add more test strings.
23316
cf4341ca
MF
233172017-11-30 Mike FABIAN <mfabian@redhat.com>
23318
23319 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
23320
363e4519 233212017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
23322
23323 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
23324 the list of locales to built for testing.
23325 * localedata/hr_HR.UTF-8.in: New file.
23326
363e4519 233272017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
23328
23329 [BZ #10580]
23330 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23331 iso14651_t1.
23332 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23333 CLDR (except use ligatures for the digraphs, CLDR does not use
23334 the ligatures), add first_workday, some fixes in the date and time
23335 formats.
23336 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23337 for Đ and đ.
23338 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23339 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23340 Add int_p_cs_precedes and int_n_cs_precedes.
23341 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23342 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23343 LC_MONETARY now).
23344 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23345 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23346 name_miss.
23347 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23348 and lang_lib. Change postal_fmt.
23349
f33632cc
L
233502017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23351
23352 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23353 <setjmp.h>.
23354 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23355 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23356 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23357 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23358 * sysdeps/generic/setjmpP.h: New file.
23359 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23360 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23361 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23362 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23363 Add jmp_buf-ssp.sym.
23364 (tests): Add tst-saved_mask-1.
23365
34697694
AS
233662017-11-30 Arjun Shankar <arjun@redhat.com>
23367
23368 [BZ #22375]
37ac8e63 23369 CVE-2017-17426
34697694
AS
23370 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23371 instead of request2size.
23372
3e5efdbd
JM
233732017-11-30 Joseph Myers <joseph@codesourcery.com>
23374
18305fba
JM
23375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23376 (__lllrint): Remove alias.
23377 (lllrint): Likewise.
23378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23379 (__lllrintf): Likewise.
23380 (lllrintf): Likewise.
23381
3e5efdbd
JM
23382 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23383 <libm-alias-float.h>.
23384 (copysignf): Define using libm_alias_float.
23385 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23386 <libm-alias-float.h>.
23387 (fabsf): Define using libm_alias_float.
23388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23389 Include <libm-alias-float.h>.
23390 (copysignf): Define using libm_alias_float.
23391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23392 <libm-alias-float.h>.
23393 (fabsf): Define using libm_alias_float.
23394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23395 <libm-alias-float.h>.
23396 (fdimf): Define using libm_alias_float.
23397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23398 <libm-alias-float.h>.
23399 (fmaf): Define using libm_alias_float.
23400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23401 <libm-alias-float.h>.
23402 (llrintf): Define using libm_alias_float.
23403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23404 Include <libm-alias-float.h>.
23405 (nearbyintf): Define using libm_alias_float.
23406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23407 <libm-alias-float.h>.
23408 (rintf): Define using libm_alias_float.
23409 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23410 <libm-alias-float.h>.
23411 (llrintf): Define using libm_alias_float.
23412 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23413 <libm-alias-float.h>.
23414 (lrintf): Define using libm_alias_float.
23415 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23416 <libm-alias-float.h>.
23417 (nearbyintf): Define using libm_alias_float.
23418 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23419 <libm-alias-float.h>.
23420 (rintf): Define using libm_alias_float.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23422 <libm-alias-float.h>.
23423 (ceilf): Define using libm_alias_float.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23425 <libm-alias-float.h>.
23426 (floorf): Define using libm_alias_float.
23427 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23428 <libm-alias-float.h>.
23429 (fmaf): Define using libm_alias_float.
23430 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23431 <libm-alias-float.h>.
23432 (lrintf): Define using libm_alias_float.
23433 (llrintf): Likewise.
23434 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23435 <libm-alias-float.h>.
23436 (nearbyintf): Define using libm_alias_float.
23437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23438 <libm-alias-float.h>.
23439 (rintf): Define using libm_alias_float.
23440 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23441 <libm-alias-float.h>.
23442 (truncf): Define using libm_alias_float.
23443 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23444 <libm-alias-float.h>.
23445 (copysignf): Define using libm_alias_float.
23446 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23447 <libm-alias-float.h>.
23448 (fabsf): Define using libm_alias_float.
23449 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23450 <libm-alias-float.h>.
23451 (lrintf): Define using libm_alias_float.
23452 (llrintf): Likewise.
23453 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23454 <libm-alias-float.h>.
23455 (nearbyintf): Define using libm_alias_float.
23456 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23457 <libm-alias-float.h>.
23458 (rintf): Define using libm_alias_float.
23459
011fba7e
JM
234602017-11-29 Joseph Myers <joseph@codesourcery.com>
23461
875cd548
JM
23462 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23463 <libm-alias-double.h>.
23464 (copysign): Define using libm_alias_double.
23465 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23466 <libm-alias-double.h>.
23467 (fabs): Define using libm_alias_double.
23468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23469 Include <libm-alias-double.h>.
23470 (copysign): Define using libm_alias_double.
23471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23472 <libm-alias-double.h>.
23473 (fabs): Define using libm_alias_double.
23474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23475 <libm-alias-double.h>.
23476 (fdim): Define using libm_alias_double.
23477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23478 <libm-alias-double.h>.
23479 (fma): Define using libm_alias_double.
23480 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23481 <libm-alias-double.h>.
23482 (llrint): Define using libm_alias_double.
23483 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23484 Include <libm-alias-double.h>.
23485 (nearbyint): Define using libm_alias_double.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23487 <libm-alias-double.h>.
23488 (rint): Define using libm_alias_double.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23490 <libm-alias-double.h>.
23491 (fabs): Define using libm_alias_double.
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23493 <libm-alias-double.h>.
23494 (llrint): Define using libm_alias_double.
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23496 <libm-alias-double.h>.
23497 (nearbyint): Define using libm_alias_double.
23498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23499 <libm-alias-double.h>.
23500 (rint): Define using libm_alias_double.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23502 <libm-alias-double.h>.
23503 (ceil): Define using libm_alias_double.
23504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23505 <libm-alias-double.h>.
23506 (floor): Define using libm_alias_double.
23507 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23508 <libm-alias-double.h>.
23509 (fma): Define using libm_alias_double.
23510 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23511 <libm-alias-double.h>.
23512 (lrint): Define using libm_alias_double.
23513 (llrint): Likewise.
23514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23515 <libm-alias-double.h>.
23516 (nearbyint): Define using libm_alias_double.
23517 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23518 <libm-alias-double.h>.
23519 (rint): Define using libm_alias_double.
23520 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23521 <libm-alias-double.h>.
23522 (trunc): Define using libm_alias_double.
23523 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23524 <libm-alias-double.h>.
23525 (copysign): Define using libm_alias_double.
23526 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23527 <libm-alias-double.h>.
23528 (fabs): Define using libm_alias_double.
23529 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23530 <libm-alias-double.h>.
23531 (lrint): Define using libm_alias_double.
23532 (llrint): Likewise.
23533 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23534 <libm-alias-double.h>.
23535 (nearbyint): Define using libm_alias_double.
23536 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23537 <libm-alias-double.h>.
23538 (rint): Define using libm_alias_double.
23539
cf4ebc27
JM
23540 [BZ #22229]
23541 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23542 <math_ldbl_opt.h>.
23543 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23544
0c097378
JM
23545 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23546 SPARC --disable-multi-arch glibc variants.
23547
34bb10aa
JM
23548 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23549 <libm-alias-float.h>.
23550 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23551 if [SHARED].
23552 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23553 <libm-alias-float.h>.
23554 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23555 if [SHARED].
23556 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23557 <libm-alias-float.h>.
23558 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23559 if [SHARED].
23560 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23561 <libm-alias-float.h>.
23562 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23563 if [SHARED].
23564 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23565 <libm-alias-float.h>.
23566 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23567 if [SHARED].
23568 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23569 <libm-alias-float.h>.
23570 (ceilf): Define using libm_alias_float.
23571 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23572 <libm-alias-float.h>.
23573 (floorf): Define using libm_alias_float.
23574 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23575 <libm-alias-float.h>.
23576 (fmaf): Define using libm_alias_float.
23577 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23578 <libm-alias-float.h>.
23579 (nearbyintf): Define using libm_alias_float.
23580 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23581 <libm-alias-float.h>.
23582 (rintf): Define using libm_alias_float.
23583 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23584 <libm-alias-float.h>.
23585 (truncf): Define using libm_alias_float.
23586 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23587 (copysignf): Define using libm_alias_float.
23588 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23589 (cosf): Define using libm_alias_float.
23590 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23591 (fabsf): Define using libm_alias_float.
23592 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23593 (fmaxf): Define using libm_alias_float.
23594 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23595 (fminf): Define using libm_alias_float.
23596 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23597 (llrintf): Define using libm_alias_float.
23598 [!__ILP32__] (lrintf): Likewise.
23599 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23600 (sincosf): Define using libm_alias_float.
23601 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23602 (sinf): Define using libm_alias_float.
23603 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23604 (lrintf): Define using libm_alias_float.
23605
011fba7e
JM
23606 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23607 <libm-alias-double.h>.
23608 (atan): Define using libm_alias_double.
23609 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23610 <libm-alias-double.h>.
23611 (ceil): Define using libm_alias_double.
23612 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23613 <libm-alias-double.h>.
23614 (floor): Define using libm_alias_double.
23615 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23616 <libm-alias-double.h>.
23617 (fma): Define using libm_alias_double.
23618 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23619 <libm-alias-double.h>.
23620 (nearbyint): Define using libm_alias_double.
23621 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23622 <libm-alias-double.h>.
23623 (rint): Define using libm_alias_double.
23624 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23625 <libm-alias-double.h>.
23626 (sin): Define using libm_alias_double.
23627 (cos): Likewise.
23628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23629 <libm-alias-double.h>.
23630 (tan): Define using libm_alias_double.
23631 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23632 <libm-alias-double.h>.
23633 (trunc): Define using libm_alias_double.
23634 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23635 (copysign): Define using libm_alias_double.
23636 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23637 (fabs): Define using libm_alias_double.
23638 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23639 (fmax): Define using libm_alias_double.
23640 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23641 (fmin): Define using libm_alias_double.
23642 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23643 (llrint): Define using libm_alias_double.
23644 [!__ILP32__] (lrint): Likewise.
23645 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23646 (lrint): Define using libm_alias_double.
23647
1cbd7bfe
AZ
236482017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23649
21bfcc3d
AZ
23650 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23651 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23652 objects.
23653 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23654 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23655 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23656 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23657 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23658 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23659
522228dd
AZ
23660 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23661 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23662 objects.
23663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23666 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23667 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23668 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23669
2a6f4fab
AZ
23670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23671 (libm-sysdep_routines): Add s_nearbyint-generic and
23672 s_nearbyintf-generic objects.
23673 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23674 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23675 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23676 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23677 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23678 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23679
712b5b83
AZ
23680 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23681 Add s_finitef-generic and s_finite-generic objects.
23682 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23683 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23684 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23685 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23686 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23687 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23688
c96d3335
AZ
23689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23690 Add s_isinff-generic and s_isinf-generic objects.
23691 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23692 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23693 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23694 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23695 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23696 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23697
c6862a23
AZ
23698 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23699 Add s_isnanf-generic and s_isnan-generic objects.
23700 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23701 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23702 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23703 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23704 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23705 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23706
1cbd7bfe
AZ
23707 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23708 macro.
23709 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23710 rule.
23711 (sysdep_routines): Use sysdep_calls as base.
23712 (libm-sysdep_routines): Add generic rule for symbols shared with
23713 libc. Add s_signbit-generic and s_signbitf-generic objects.
23714 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23715 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23716 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23717 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23718 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23719 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23720
aa1142c5
JM
237212017-11-29 Joseph Myers <joseph@codesourcery.com>
23722
23723 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23724 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23725 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23726 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23727 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23728 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23729 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23730 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23731 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23732 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23733 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23734 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23735 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23736 libm_alias_float_r.
23737 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23738 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23739 (logf): Likewise.
23740 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23741 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23742 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23743 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23744 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23745 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23746 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23747 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23748 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23749 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23750 libm_alias_float.
23751 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23752 (cosf): Likewise.
23753 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23754 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23755 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23756 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23757 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23758 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23759 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23760 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23761 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23762 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23763 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23764 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23765 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23766 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23767 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23768 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23769 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23770 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23771 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23772 libm_alias_float.
23773 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23774 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23775 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23776 * sysdeps/ia64/fpu/w_lgammaf_main.c
23777 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23778 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23779
363e4519
DL
237802017-11-28 Mike FABIAN <mfabian@redhat.com>
23781 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23782
23783 [BZ #17750]
23784 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23785 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23786 accents sorting.
23787 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23788 sorting.
23789 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23790 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23791 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23792 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23793 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23794 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23795 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23796 instead of “ifdef DIACRIT_BACKWARD”.
23797
a55430cb
AZ
237982017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23799
23800 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23801 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23802 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23803 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23804 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23805 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23806 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23807 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23808 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23809 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23810 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23811 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23812 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23813 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23814 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23815 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23816 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23817 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23819 ($(have-as-vis3) == yes): Remove conditional.
23820 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23821 Likewise.
23822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23823 file.
23824 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23825 file.
23826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23827 file.
23828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23829 file.
23830 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23831 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23832 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23833 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23834 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23835 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23836 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23837 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23838
0609ec0a
JM
238392017-11-29 Joseph Myers <joseph@codesourcery.com>
23840
23841 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23842 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23843 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23844 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23845 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23846 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23847 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23848 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23849 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23850 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23851 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23852 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23853 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23854 libm_alias_double_r.
23855 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23856 (log): Likewise.
23857 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23858 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23859 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23860 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23861 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23862 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23863 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23864 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23865 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23866 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23867 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23868 libm_alias_double.
23869 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23870 (cos): Likewise.
23871 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23872 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23873 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23874 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23875 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23876 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23877 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23878 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23879 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23880 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23881 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23882 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23883 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23884 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23885 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23886 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23887 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23888 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23889 libm_alias_double.
23890 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23891 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23892 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23893 * sysdeps/ia64/fpu/w_lgamma_main.c
23894 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23895 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23896
d5bfa34a
JDA
238972017-11-28 John David Anglin <danglin@gcc.gnu.org>
23898
23899 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23900 address of $global$ into %dp register earlier. Use pc-relative
23901 instruction sequence for PIC case.
23902
bc4e8f9b
JM
239032017-11-28 Joseph Myers <joseph@codesourcery.com>
23904
e4602cba
JM
23905 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23906 (asinhf): Define using libm_alias_float.
23907 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23908 (atanf): Define using libm_alias_float.
23909 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23910 (cbrtf): Define using libm_alias_float.
23911 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23912 (ceilf): Define using libm_alias_float.
23913 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23914 (copysignf): Define using libm_alias_float.
23915 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23916 (expm1f): Define using libm_alias_float.
23917 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23918 (fabsf): Define using libm_alias_float.
23919 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23920 (floorf): Define using libm_alias_float.
23921 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23922 (fmaxf): Define using libm_alias_float.
23923 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23924 (fminf): Define using libm_alias_float.
23925 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23926 (frexpf): Define using libm_alias_float.
23927 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23928 (llrintf): Define using libm_alias_float.
23929 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23930 (logbf): Define using libm_alias_float.
23931 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23932 (lrintf): Define using libm_alias_float.
23933 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23934 (nearbyintf): Define using libm_alias_float.
23935 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23936 (remquof): Define using libm_alias_float.
23937 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23938 (rintf): Define using libm_alias_float.
23939 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23940 (truncf): Define using libm_alias_float.
23941 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23942 <libm-alias-float.h>.
23943 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23944 if [SHARED].
23945 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23946 <libm-alias-float.h>.
23947 (expf): Define using libm_alias_float, or libm_alias_float_other
23948 if [SHARED].
23949 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23950 <libm-alias-float.h>.
23951 (log2f): Define using libm_alias_float, or libm_alias_float_other
23952 if [SHARED].
23953 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23954 <libm-alias-float.h>.
23955 (logf): Define using libm_alias_float, or libm_alias_float_other
23956 if [SHARED].
23957 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23958 <libm-alias-float.h>.
23959 (powf): Define using libm_alias_float, or libm_alias_float_other
23960 if [SHARED].
23961 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23962 <libm-alias-float.h>.
23963 (cosf): Define using libm_alias_float.
23964 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23965 <libm-alias-float.h>.
23966 (sincosf): Define using libm_alias_float.
23967 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23968 <libm-alias-float.h>.
23969 (sinf): Define using libm_alias_float.
23970 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23971 (fmaxf): Define using libm_alias_float.
23972 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23973 (fminf): Define using libm_alias_float.
23974 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23975 <libm-alias-float.h>.
23976 (fmaf): Define using libm_alias_float.
23977
bc4e8f9b
JM
23978 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23979 (asinh): Define using libm_alias_double.
23980 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23981 (atan): Define using libm_alias_double.
23982 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23983 (cbrt): Define using libm_alias_double.
23984 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23985 (ceil): Define using libm_alias_double.
23986 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23987 (copysign): Define using libm_alias_double.
23988 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23989 (expm1): Define using libm_alias_double.
23990 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23991 (fabs): Define using libm_alias_double.
23992 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23993 (fdim): Define using libm_alias_double.
23994 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23995 (floor): Define using libm_alias_double.
23996 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23997 (fmax): Define using libm_alias_double.
23998 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23999 (fmin): Define using libm_alias_double.
24000 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
24001 (frexp): Define using libm_alias_double.
24002 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
24003 (llrint): Define using libm_alias_double.
24004 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
24005 (logb): Define using libm_alias_double.
24006 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
24007 (lrint): Define using libm_alias_double.
24008 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
24009 (nearbyint): Define using libm_alias_double.
24010 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
24011 (remquo): Define using libm_alias_double.
24012 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
24013 (rint): Define using libm_alias_double.
24014 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
24015 (trunc): Define using libm_alias_double.
24016 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
24017 (fmax): Define using libm_alias_double.
24018 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
24019 (fmin): Define using libm_alias_double.
24020 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
24021 (fma): Define using libm_alias_double.
24022
8d81ce0c
L
240232017-11-28 H.J. Lu <hongjiu.lu@intel.com>
24024
24025 [BZ #22370]
24026 * elf/dl-hwcaps.c (ROUND): Removed.
24027 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
24028 and ELF_NOTE_NEXT_OFFSET.
24029 * elf/dl-load.c (ROUND): Removed.
24030 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24031 * elf/readelflib.c (ROUND): Removed.
24032 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
24033 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
24034 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
24035 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
24036
6940bd96
JM
240372017-11-28 Joseph Myers <joseph@codesourcery.com>
24038
313ba463
JM
24039 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24040 [!__fmaf] (fmaf): Define using libm_alias_float.
24041
6940bd96
JM
24042 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
24043 [!__fma] (fma): Define using libm_alias_double.
24044 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
24045
22c69b6a
MF
240462017-11-28 Mike FABIAN <mfabian@redhat.com>
24047
24048 [BZ #22336]
24049 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
24050 and implement the collation rules for cs from CLDR on top of that.
24051 * Makefile: Add cs_CZ.UTF-8 to test-input.
24052 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
24053
8d7d3ba8
SP
240542017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
24055
24056 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
24057
0422ed1e
VR
240582017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24059 Icarus Sparry <icarus.w.sparry@intel.com>
24060
24061 * benchtests/Makefile:Add BENCHSET to allow subsets of
24062 benchmarks to be run.
24063 * benchtests/README: Add documentation for: Running subsets of
24064 benchmarks.
24065
0595e360
VR
240662017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
24067
d5090db3
VR
24068 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
24069 range of tests names.
24070
0595e360
VR
24071 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
24072 result from property and remove "max", min" and "mean" from
24073 required properties based on benchtests/bench-skeleton.c.
24074
b4c645c2
FW
240752017-11-28 Florian Weimer <fweimer@redhat.com>
24076
24077 [BZ #20826]
24078 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
24079 due to Internet requirement.
24080 * posix/Makefile (tests): Remove tst-getaddrinfo4,
24081 tst-getaddrinfo5.
24082 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
24083
88684de7
AZ
240842017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24085
69056564
AZ
24086 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24087 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
24088 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24089 (sysdep_routines): Add memset-ultra1.
24090 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
24091 file.
24092 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
24093 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
24094 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
24095 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
24096 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
24097 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
24098 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
24099 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24100
88684de7
AZ
24101 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
24102 file.
24103 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
24104 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
24105 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
24106 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
24107 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
24108 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
24109 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
24110 macro.
24111 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
24112 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
24113 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
24114 (sysdep_routines): Add memcpy-ultra1.
24115 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
24116 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
24117
d8124864
JM
241182017-11-28 Joseph Myers <joseph@codesourcery.com>
24119
f433d0b3
JM
24120 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
24121 (cfloat_versions): Take function argument without trailing 'f'.
24122 Call libm_alias_float_other.
24123 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
24124 * sysdeps/alpha/fpu/cargf.c: Likewise.
24125 * sysdeps/alpha/fpu/cimagf.c: Likewise.
24126 * sysdeps/alpha/fpu/conjf.c: Likewise.
24127 * sysdeps/alpha/fpu/crealf.c: Likewise.
24128 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
24129 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
24130 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
24131 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
24132 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
24133 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
24134 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
24135 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
24136 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
24137 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
24138 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
24139 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
24140 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
24141 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
24142 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
24143 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
24144 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
24145 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
24146 (clog10f): Use libm_alias_float_other.
24147 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24148 (ceilf): Define using libm_alias_float.
24149 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
24150 (copysignf): Define using libm_alias_float.
24151 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
24152 (fabsf): Define using libm_alias_float.
24153 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
24154 (floorf): Define using libm_alias_float.
24155 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
24156 (fmaxf): Define using libm_alias_float.
24157 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
24158 (fminf): Define using libm_alias_float.
24159 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24160 (lrintf): Define using libm_alias_float.
24161 (llrintf): Likewise.
24162 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24163 (lroundf): Define using libm_alias_float.
24164 (llroundf): Likewise.
24165 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
24166 (rintf): Define using libm_alias_float.
24167 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
24168 (truncf): Define using libm_alias_float.
24169
15ff4900
JM
24170 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
24171 (ceilf): Define using libm_alias_float.
24172 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
24173 (floorf): Define using libm_alias_float.
24174 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
24175 (fmaf): Define using libm_alias_float.
24176 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
24177 (fmaxf): Define using libm_alias_float.
24178 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
24179 (fminf): Define using libm_alias_float.
24180 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
24181 (llrintf): Define using libm_alias_float.
24182 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
24183 (llroundf): Define using libm_alias_float.
24184 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
24185 (lrintf): Define using libm_alias_float.
24186 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
24187 (lroundf): Define using libm_alias_float.
24188 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
24189 <libm-alias-float.h>.
24190 (nearbyintf): Define using libm_alias_float.
24191 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
24192 (rintf): Define using libm_alias_float.
24193 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
24194 (roundf): Define using libm_alias_float.
24195 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
24196 (truncf): Define using libm_alias_float.
24197
5de60638
JM
24198 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
24199 (ceil): Define using libm_alias_double.
24200 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
24201 (copysign): Define using libm_alias_double.
24202 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
24203 (fabs): Define using libm_alias_double.
24204 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
24205 (floor): Define using libm_alias_double.
24206 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
24207 (fmax): Define using libm_alias_double.
24208 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
24209 (fmin): Define using libm_alias_double.
24210 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
24211 (lrint): Define using libm_alias_double.
24212 (llrint): Likewise.
24213 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
24214 (lround): Define using libm_alias_double.
24215 (llround): Likewise.
24216 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
24217 (rint): Define using libm_alias_double.
24218 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
24219 (trunc): Define using libm_alias_double.
24220
d8124864
JM
24221 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
24222 (libm_alias_double_r): Add semicolon after weak_alias call.
24223
f07d2ec8
JM
242242017-11-27 Joseph Myers <joseph@codesourcery.com>
24225
24226 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
24227 (ceil): Define using libm_alias_double.
24228 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
24229 (floor): Define using libm_alias_double.
24230 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
24231 (fma): Define using libm_alias_double.
24232 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
24233 (fmax): Define using libm_alias_double.
24234 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
24235 (fmin): Define using libm_alias_double.
24236 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
24237 (llrint): Define using libm_alias_double.
24238 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
24239 (llround): Define using libm_alias_double.
24240 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
24241 (lrint): Define using libm_alias_double.
24242 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
24243 (lround): Define using libm_alias_double.
24244 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
24245 (nearbyint): Define using libm_alias_double.
24246 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
24247 (rint): Define using libm_alias_double.
24248 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
24249 (round): Define using libm_alias_double.
24250 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
24251 (trunc): Define using libm_alias_double.
24252
4bab0224
FW
242532017-11-27 Florian Weimer <fweimer@redhat.com>
24254
24255 * sysdeps/unix/sysv/linux/mlock2.c: New file.
24256 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
24257 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
24258 (tests): Add tst-mlock2.
24259 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
24260 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
24261 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
24262 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
24263 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
24264 for mlock. Document mlock2.
24265
a23aa5b7
JM
242662017-11-27 Joseph Myers <joseph@codesourcery.com>
24267
24268 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
24269 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
24270 Likewise.
24271 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
24272 Likewise.
24273 * sysdeps/x86/Makeconfig: New file.
24274 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
24275 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24276 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
24277 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24278 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24279 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24280 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
24281 Likewise.
24282 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24283 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24284 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24285 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24286 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24287 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
24288 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
24289 * manual/math.texi (Mathematics): Document support for _Float64x.
24290 * math/Versions (GLIBC_2.27): Add _Float64x functions.
24291 * stdlib/Versions (GLIBC_2.27): Likewise.
24292 * wcsmbs/Versions (GLIBC_2.27): Likewise.
24293 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
24294 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
24295 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
24296 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
24297 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
24298 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
24299 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
24300 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
24301 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
24302 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
24303 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
24304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
24305 Likewise.
24306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
24307 Likewise.
24308 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
24309 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
24310 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
24311 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
24312 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
24313 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
24314 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
24315 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
24316 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
24317 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
24318 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
24319 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
24320 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
24321 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
24322
c2c299fd
AS
243232017-11-27 Andreas Schwab <schwab@suse.de>
24324
24325 * elf/Makefile (dl-routines): Add dl-sort-maps.
24326 * elf/dl-sort-maps.c: New file.
24327 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
24328 (_dl_sort_maps): Declare.
24329 * elf/dl-fini.c (_dl_sort_fini): Remove.
24330 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24331 * elf/dl-close.c (_dl_close_worker): Likewise.
24332 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24333 open-coding it.
24334 * elf/dl-open.c (dl_open_worker): Likewise.
24335
9d4b0117
JM
243362017-11-24 Joseph Myers <joseph@codesourcery.com>
24337
de61465c
JM
24338 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24339 using libm_alias_float128.
24340 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24341 Likewise.
24342 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24343 Likewise.
24344 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24345 (setpayloadsigf128): Likewise.
24346 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24347 Likewise.
24348 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24349 Likewise.
24350
9ae6d171
JM
24351 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24352 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24353 -mfloat128 to CFLAGS.
24354 ($(foreach
24355 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24356 Likewise.
24357 (CFLAGS-libm-test-support-float64x.c): New variable.
24358 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24359 $(f128-loader-link) to gnulib-tests.
24360
6e70d156
JM
24361 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24362 (libm_alias_float128_other_r): If
24363 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24364 alias.
24365 (libm_alias_float128_r): Add semicolon after weak_alias call.
24366 * sysdeps/generic/libm-alias-ldouble.h
24367 (libm_alias_ldouble_other_r_f128): New macro.
24368 (libm_alias_ldouble_other_r_f64x): Likewise.
24369 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24370 and libm_alias_ldouble_other_r_f64x.
24371 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24372 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24373 (libm_alias_ldouble_other_r_f128): New macro.
24374 (libm_alias_ldouble_other_r_f64x): Likewise.
24375 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24376 and libm_alias_ldouble_other_r_f64x.
24377
df2806cd
JM
24378 * stdlib/strfroml.c: Always include <stdlib.h>.
24379 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24380 undefine as macro and define as weak alias.
24381 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24382 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24383 <stdlib.h>.
24384 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24385 Define and later undefine as macro and define as weak alias.
24386
0df4fe35
JM
24387 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24388 Define and later undefine as macro. Define as weak alias if
24389 [!USE_WIDE_CHAR].
24390 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24391 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24392 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24393 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24394 Define and later undefine as macro. Define as weak alias if
24395 [!USE_WIDE_CHAR].
24396 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24397 Define and later undefine as macro. Define as weak alias if
24398 [USE_WIDE_CHAR].
24399 * sysdeps/ieee754/float128/strtof128_l.c
24400 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24401 Define and later undefine as macro. Define as weak alias if
24402 [!USE_WIDE_CHAR].
24403 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24404 Define and later undefine as macro. Define as weak alias if
24405 [USE_WIDE_CHAR].
24406 * sysdeps/ieee754/ldbl-128/strtold_l.c
24407 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24408 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24409 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24410 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24411 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24412 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24413 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24414 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24415 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24416 * sysdeps/ieee754/ldbl-96/strtold_l.c
24417 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24418 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24419 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24420 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24421
ae7207d0
JM
24422 * math/test-float64x.h: New file.
24423 * math/Makefile (type-float64x-yes): New variable.
24424 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24425
9596fc69
JM
24426 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24427 function-like macro.
24428 (min_of_type_): Likewise.
24429 (min_of_type_l): Likewise.
24430 (min_of_type_f128): Likewise.
24431 (min_of_type): Pass () as last argument of __MATH_TG.
24432
46453c3c
JM
24433 * stdlib/tst-strtod-round-skeleton.c
24434 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24435 headers.
24436
01e659e7
JM
24437 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24438 for combinations of long double with _Float64 and _Float64x.
24439
5c60afdd
JM
24440 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24441 (__DECL_SIMD_cosf32): Likewise.
24442 (__DECL_SIMD_cosf64): Likewise.
24443 (__DECL_SIMD_cosf32x): Likewise.
24444 (__DECL_SIMD_cosf64x): Likewise.
24445 (__DECL_SIMD_cosf128x): Likewise.
24446 (__DECL_SIMD_sinf16): Likewise.
24447 (__DECL_SIMD_sinf32): Likewise.
24448 (__DECL_SIMD_sinf64): Likewise.
24449 (__DECL_SIMD_sinf32x): Likewise.
24450 (__DECL_SIMD_sinf64x): Likewise.
24451 (__DECL_SIMD_sinf128x): Likewise.
24452 (__DECL_SIMD_sincosf16): Likewise.
24453 (__DECL_SIMD_sincosf32): Likewise.
24454 (__DECL_SIMD_sincosf64): Likewise.
24455 (__DECL_SIMD_sincosf32x): Likewise.
24456 (__DECL_SIMD_sincosf64x): Likewise.
24457 (__DECL_SIMD_sincosf128x): Likewise.
24458 (__DECL_SIMD_logf16): Likewise.
24459 (__DECL_SIMD_logf32): Likewise.
24460 (__DECL_SIMD_logf64): Likewise.
24461 (__DECL_SIMD_logf32x): Likewise.
24462 (__DECL_SIMD_logf64x): Likewise.
24463 (__DECL_SIMD_logf128x): Likewise.
24464 (__DECL_SIMD_expf16): Likewise.
24465 (__DECL_SIMD_expf32): Likewise.
24466 (__DECL_SIMD_expf64): Likewise.
24467 (__DECL_SIMD_expf32x): Likewise.
24468 (__DECL_SIMD_expf64x): Likewise.
24469 (__DECL_SIMD_expf128x): Likewise.
24470 (__DECL_SIMD_powf16): Likewise.
24471 (__DECL_SIMD_powf32): Likewise.
24472 (__DECL_SIMD_powf64): Likewise.
24473 (__DECL_SIMD_powf32x): Likewise.
24474 (__DECL_SIMD_powf64x): Likewise.
24475 (__DECL_SIMD_powf128x): Likewise.
24476
9d4b0117
JM
24477 * stdlib/Versions (libc): Move entries for wcstof128 and
24478 wcstof128_l to ....
24479 * wcsmbs/Versions (libc): ... here.
24480 Include <float128-abi.h>.
24481
7911dd47
FW
244822017-11-24 Florian Weimer <fweimer@redhat.com>
24483
24484 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24485 bits/mman-shared.h.
24486 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24487 <bits/mman-shared.h>.
24488 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24489 to ...
24490 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24491 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24492 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24493 <bits/mman-shared.h>.
24494
c45d78aa
AZ
244952017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24496
24497 [BZ #22457]
24498 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24499 posix_memalign/free.
24500 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24501
3ffc4cc1
MF
245022017-11-22 Mike FABIAN <mfabian@redhat.com>
24503
24504 [BZ #22469]
24505 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24506 and implement the collation rules for pl from CLDR on top of that.
24507 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24508 of locales to be built for testing.
24509 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24510
3a327316
JM
245112017-11-23 Joseph Myers <joseph@codesourcery.com>
24512
24513 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24514 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24515 libm_alias_ldouble_other.
24516 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24517 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24518 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24519 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24520 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24521 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24522 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24523 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24524 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24525 libm_alias_ldouble_r.
24526 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24527 libm_alias_ldouble_other.
24528 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24529 (log10l): Likewise.
24530 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24531 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24532 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24533 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24534 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24535 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24536 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24537 (atan2l): Likewise.
24538 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24539 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24540 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24541 libm_alias_ldouble.
24542 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24543 (cosl): Likewise.
24544 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24545 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24546 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24547 (expl): Likewise.
24548 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24549 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24550 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24551 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24552 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24553 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24554 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24555 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24556 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24557 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24558 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24559 libm_alias_ldouble.
24560 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24561 libm_alias_ldouble_other.
24562 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24563 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24564 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24565 libm_alias_ldouble.
24566 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24567 libm_alias_ldouble_other.
24568 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24569 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24570 * sysdeps/ia64/fpu/w_lgammal_main.c
24571 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24572 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24573
0a947e06
FW
245742017-11-23 Florian Weimer <fweimer@redhat.com>
24575
24576 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24577 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24578 alike. Remove freeres marker.
24579 * malloc/arena.c (arena_thread_freeres): Call
24580 tcache_thread_shutdown.
24581
67f36c79
FW
245822017-11-23 Florian Weimer <fweimer@redhat.com>
24583
24584 [BZ #22459]
24585 Export nscd hash function as __nss_hash.
24586 * include/nss.h (__nss_hash): Declare.
24587 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24588 symbol.
24589 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24590 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24591 of __nscd_hash.
24592 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24593 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24594 * nss/Makefiles (routines): Add nss_hash.
24595 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24596 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24597 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24598 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24599
cccb6d4e
FW
246002017-11-23 Florian Weimer <fweimer@redhat.com>
24601
24602 [BZ #22478]
24603 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24604 Return error code, not -1.
24605 * signal/tst-sigwait-eintr.c: New file.
24606 * signal/Makefile (tests): Add tst-sigwait-eintr.
24607
59d2cbb1
FW
246082017-11-23 Florian Weimer <fweimer@redhat.com>
24609
24610 Linux: Add memfd_create system call wrapper
24611 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24612 tst-memfd_create.
24613 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24614 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24615 [__USE_GNU] (memfd_create): Declare.
24616 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24617 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24618 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24619 * sysdeps/unix/sysv/linux/**.abilist: Update.
24620 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24621
a90d1ac2
JM
246222017-11-22 Joseph Myers <joseph@codesourcery.com>
24623
0a9d1d62
JM
24624 * localedata/gen-locale.sh: Fix typo in variable name.
24625
754034c4
JM
24626 * resolv/res_debug.c (p_secstodate): Condition definition on
24627 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24628 directly as __p_secstodate, and as a compat symbol. Do not use
24629 libresolv_hidden_def.
24630 * resolv/resolv.h (p_secstodate): Remove macro and function
24631 declaration.
24632 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24633 using p_secstodate.
24634 * include/resolv.h (__p_secstodate): Do not use
24635 libresolv_hidden_proto.
24636 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24637 (tests-internal): ... here.
24638 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24639 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24640 and declare and use __p_secstodate and use compat_symbol_reference
24641 in that case.
24642 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24643 implementation returning 77.
24644
f120cda6
JM
24645 [BZ #22463]
24646 * resolv/res_debug.c: Include <libc-diag.h>.
24647 (p_secstodate): Assert time_t at least as wide as u_long. On
24648 overflow, use integer seconds since the epoch as output, or use
24649 "<overflow>" as output and set errno to EOVERFLOW if integer
24650 seconds since the epoch would be 14 or more characters.
24651 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24652 for sprintf call.
24653 * resolv/tst-p_secstodate.c: New file.
24654 * resolv/Makefile (tests): Add tst-p_secstodate.
24655 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24656
a90d1ac2
JM
24657 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24658 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24659 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24660
0285e6bd
PE
246612017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24662
24663 * posix/regcomp.c (init_word_char): Add comments.
24664
4bae6150
JM
246652017-11-22 Joseph Myers <joseph@codesourcery.com>
24666
24667 [BZ #22447]
24668 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24669 strlen to compute length of ut_user and set trailing NUL byte of
24670 result explicitly.
24671
4b7af5fc
MF
246722017-11-21 Mike FABIAN <mfabian@redhat.com>
24673
24674 [BZ #15537]
24675 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24676 using “copy "iso14651_t1"” and then implementing the
24677 collation rules for lv from CLDR on top of that.
24678 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24679 of locales to be built for testing.
24680 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24681 sorting.
24682
922bb78c
JM
246832017-11-21 Joseph Myers <joseph@codesourcery.com>
24684
24685 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24686 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24687 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24688 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24689 [__USE_MISC] (MADV_HWPOISON): New macro.
24690 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24691
a3aaa598
AZ
246922017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24693
24694 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24695 -Wmissing-braces on GCC 4.9.
24696
8beba15d
SL
246972017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24698
24699 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24700 * sysdeps/s390/s390-32/start.S (_start): Likewise
24701 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24702 (thread_start): Likewise.
24703 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24704 (thread_start): Likewise.
24705 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24706 (__makecontext_ret): Likewise.
24707 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24708 (__makecontext_ret): Likewise.
24709
80eb52e3
SL
247102017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24711
24712 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24713 __wcschrnul): Remove attribute_hidden.
24714
567d8c1f
PE
247152017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24716
24717 regex: don't assume uint64_t or uint32_t
24718 This avoids -Werror=overflow errors for 32-bit systems in
24719 the 64-bit case. Problem reported by Joseph Myers in:
24720 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24721 Also, when this code is used in Gnulib it ports to platforms
24722 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24723 them, and on some 32-bit compilers there is no uint64_t.
24724 Problem reported by Gianluigi Tiesi in:
24725 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24726 * posix/regcomp.c (init_word_char): Don't assume that the types
24727 uint64_t and uint32_t exist. Adapted from Gnulib patch
24728 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24729 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24730
4d7632ff
SP
247312017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24732
5a67c4fa
SP
24733 * sysdeps/aarch64/memset-reg.h: New file.
24734 * sysdeps/aarch64/memset.S: Use it.
24735 (__memset): Rename to MEMSET macro.
24736 [ZVA_MACRO]: Use zva_macro.
24737 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24738 Add memset_generic and memset_falkor.
24739 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24740 (__libc_ifunc_impl_list): Add memset ifuncs.
24741 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24742 local variable zva_size.
24743 * sysdeps/aarch64/multiarch/memset.c: New file.
24744 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24745 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24746 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24747 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24748 (DCZID_DZP_MASK): New macro.
24749 (DCZID_BS_MASK): Likewise.
24750 (init_cpu_features): Read and set zva_size.
24751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24752 (struct cpu_features): New member zva_size.
24753
eb332f9f
SP
24754 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24755 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24756 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24757
4d7632ff
SP
24758 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24759 backwards. Fix timing computation.
24760 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24761 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24762 on memset by N at a time. Fix timing computation.
24763
a465b89e
FW
247642017-11-20 Florian Weimer <fweimer@redhat.com>
24765
24766 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24767 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24768
0f74bbf5
FW
247692017-11-19 Florian Weimer <fweimer@redhat.com>
24770
24771 manual: Document mprotect
24772 * manual/memory.texi (Memory Protection): New section.
24773 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24774 documentation of PROT_* flags and reference the Memory Protection
24775 section instead.
24776
f6e965ee
FW
247772017-11-19 Florian Weimer <fweimer@redhat.com>
24778
24779 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24780 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24781 (Scatter-Gather): ... to here. Remove misleading comment.
24782
363e4519 247832017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24784
5f9d1949
CB
24785 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24786 style.
24787
ea69a5c8
CB
24788 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24789 when /proc/<pid>/setgroups does not exist.
24790
8db7f48c
FW
247912017-11-18 Florian Weimer <fweimer@redhat.com>
24792
24793 * sysdeps/unix/sysv/linux/tst-ttyname.c
24794 (become_root_in_mount_ns): Remove.
24795 (do_in_chroot_1): Call support_enter_mount_namespace.
24796 (do_in_chroot_2): Likewise.
24797 (do_test): Call support_become_root early.
24798
273a0c49
FW
247992017-11-18 Florian Weimer <fweimer@redhat.com>
24800
24801 * support/namespace.h (support_enter_mount_namespace): Declare.
24802 * support/support_enter_mount_namespace.c: New file.
24803 * support/Makefile (libsupport-routines): Add
24804 support_enter_mount_namespace.
24805
8adfb0ee
FW
248062017-11-18 Florian Weimer <fweimer@redhat.com>
24807
24808 * support/temp_file.c (support_create_temp_directory): Use
24809 test_dir and do not rely on the presence of the XXXXXX suffix.
24810 * support/temp_file.h (support_create_temp_directory): Update
24811 comment.
24812 * support/tst-xreadlink.c (do_test): Adjust.
24813 * support/support_chroot.c (support_chroot_create): Likewise.
24814
df0c40ee
TMQMF
248152017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24816
24817 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24818 macro.
24819 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24820 htm-no-suspend.
24821
015c6dc2
JM
248222017-11-17 Joseph Myers <joseph@codesourcery.com>
24823
f58e5f48
JM
24824 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24825 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24826 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24827 (ceill): Define using libm_alias_ldouble.
24828 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24829 <libm-alias-ldouble.h>.
24830 (copysignl): Define using libm_alias_ldouble.
24831 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24832 (fabsl): Define using libm_alias_ldouble.
24833 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24834 (floorl): Define using libm_alias_ldouble.
24835 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24836 (fmaxl): Define using libm_alias_ldouble.
24837 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24838 (fminl): Define using libm_alias_ldouble.
24839 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24840 (llrintl): Define using libm_alias_ldouble.
24841 (lrintl): Likewise.
24842 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24843 <libm-alias-ldouble.h>.
24844 (nearbyintl): Define using libm_alias_ldouble.
24845 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24846 (truncl): Define using libm_alias_ldouble.
24847 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24848 <libm-alias-ldouble.h>.
24849 (lrintl): Define using libm_alias_ldouble.
24850
2ce30701
JM
24851 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24852 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24853 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24854 (asinhl): Define using libm_alias_ldouble.
24855 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24856 (atanl): Define using libm_alias_ldouble.
24857 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24858 (cbrtl): Define using libm_alias_ldouble.
24859 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24860 (ceill): Define using libm_alias_ldouble.
24861 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24862 (copysignl): Define using libm_alias_ldouble.
24863 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24864 (fabsl): Define using libm_alias_ldouble.
24865 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24866 (floorl): Define using libm_alias_ldouble.
24867 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24868 (fmaxl): Define using libm_alias_ldouble.
24869 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24870 (fminl): Define using libm_alias_ldouble.
24871 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24872 (frexpl): Define using libm_alias_ldouble.
24873 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24874 (llrintl): Define using libm_alias_ldouble.
24875 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24876 (logbl): Define using libm_alias_ldouble.
24877 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24878 (lrintl): Define using libm_alias_ldouble.
24879 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24880 (nearbyintl): Define using libm_alias_ldouble.
24881 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24882 (nextafterl): Define using libm_alias_ldouble.
24883 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24884 (remquol): Define using libm_alias_ldouble.
24885 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24886 (rintl): Define using libm_alias_ldouble.
24887 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24888 (truncl): Define using libm_alias_ldouble.
24889 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24890 (fmaxl): Define using libm_alias_ldouble.
24891 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24892 (fminl): Define using libm_alias_ldouble.
24893
015c6dc2
JM
24894 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24895 to C syntax instead of availability and properties of types.
24896 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24897 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24898 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24899 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24900 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24901 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24902
ce003e5d
FW
249032017-11-17 Florian Weimer <fweimer@redhat.com>
24904
24905 support_become_root: Enable file creation in namespaces.
24906 * support/support_become_root.c (setup_mapping): New function.
24907 (support_become_root): Call it.
24908
e7df6c5c
JM
249092017-11-17 Joseph Myers <joseph@codesourcery.com>
24910
24911 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24912 macro.
24913
58a813bf
AZ
249142017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24915
24916 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24917 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24918
f97773d1
JM
249192017-11-16 Joseph Myers <joseph@codesourcery.com>
24920
6a6aa1f3
JM
24921 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24922
f97773d1
JM
24923 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24924 version to 4.14.
24925
a306c790
SP
249262017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24927
7b0fb870
SP
24928 * INSTALL: Fix botched up regeneration.
24929
24930 * NEWS: Update sourceare link to https.
a306c790
SP
24931 * configure.ac: Likewise.
24932 * crypt/md5test-giant.c: Likewise.
24933 * dlfcn/bug-atexit1.c: Likewise.
24934 * dlfcn/bug-atexit2.c: Likewise.
24935 * localedata/README: Likewise.
24936 * malloc/tst-mallocfork.c: Likewise.
24937 * manual/install.texi: Likewise.
24938 * nptl/tst-pthread-getattr.c: Likewise.
24939 * stdio-common/tst-fgets.c: Likewise.
24940 * stdio-common/tst-fwrite.c: Likewise.
24941 * sunrpc/Makefile: Likewise.
24942 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24943 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24944 * configure: Regenerate.
24945 * INSTALL: Regenerate.
a306c790 24946
7532837d
MS
249472017-11-15 Martin Sebor <msebor@redhat.com>
24948
24949 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24950 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24951 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24952
495a56fd
LS
249532017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24954
d9611e30
LS
24955 [BZ #22145]
24956 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24957 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24958
a09dfc19
LS
24959 [BZ #22145]
24960 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24961 Defer is_pty check until end of the function.
24962 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24963
2fbce9c2
LS
24964 [BZ #22145]
24965 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24966 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24967 (ttyname): Likewise.
24968 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24969 (__ttyname_r): Likewise.
24970
d10d6cab
LS
24971 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24972 int to bool.
24973
9b5a8750
LS
24974 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24975
495a56fd
LS
24976 * manual/terminal.texi (Is It a Terminal):
24977 Mention ENODEV for ttyname and ttyname_r.
24978
fa680dc6
JM
249792017-11-15 Joseph Myers <joseph@codesourcery.com>
24980
78cde19f
JM
24981 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24982 constant and macro.
24983
fa680dc6
JM
24984 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24985 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24986 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24987 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24988 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24989 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24990
ad4f43a2
AZ
249912017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24992
1ba1d8a4
AZ
24993 * signal/sigrelse.c (sigrelse): Optimize implementation.
24994
ad4f43a2
AZ
24995 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24996 (__sigpause): Rely on __sigsuspend to implement single thread
24997 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24998
d0212d42
JM
249992017-11-15 Joseph Myers <joseph@codesourcery.com>
25000
25001 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
25002 kernel version to 4.14.
25003
2180fee1
SE
250042017-11-15 Steve Ellcey <sellcey@cavium.com>
25005
25006 [BZ #22442]
25007 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
25008 Check if ifname is too long.
25009
cad7ca39
LS
250102017-11-15 Luke Shumaker <lukeshu@parabola.nu>
25011
25012 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
25013
58c9f659
MF
250142017-11-15 Mike FABIAN <mfabian@redhat.com>
25015
25016 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
25017 was accidentally lost.
25018
0fa87c01
MF
250192017-11-15 Mike FABIAN <mfabian@redhat.com>
25020
25021 * localedata/locales/az_IR: Add standard copyright header.
25022
34eb4157
FW
250232017-11-15 Florian Weimer <fweimer@redhat.com>
25024
25025 [BZ #22439]
25026 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
25027 not just the top one. Output a new "subheaps" statistic.
25028
7a9368a1
FW
250292017-11-15 Florian Weimer <fweimer@redhat.com>
25030
25031 [BZ #22408]
25032 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
25033 under the per-arena lock.
25034 * malloc/Makefile (tests): Add tst-malloc_info.
25035 (tst-malloc_info): Link with libpthread.
25036 * malloc/tst-malloc_info.c: New file.
25037
be3a79a3
JM
250382017-11-15 Joseph Myers <joseph@codesourcery.com>
25039
25040 [BZ #21660]
25041 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
25042 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
25043 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
25044 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
25045 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
25046 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
25047 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
25048 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
25049 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
25050 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
25051 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
25052 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
25053 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
25054 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
25055 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
25056 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
25057 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
25058 (__floating_type): Likewise.
25059 (__real_integer_type): Likewise.
25060 (__complex_integer_type): Likewise.
25061 (__expr_is_real): Likewise.
25062 (__tgmath_real_type_sub): Likewise.
25063 (__tgmath_real_type): Likewise.
25064 (__tgmath_complex_type_sub): Likewise.
25065 (__tgmath_complex_type): Likewise.
25066 (__TGMATH_F128): Likewise.
25067 (__TGMATH_CF128): Likewise.
25068 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
25069 new macros.
25070 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
25071 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
25072 Likewise.
25073 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
25074 Likewise.
25075 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
25076 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
25077 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
25078 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
25079 Likewise.
25080 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
25081 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
25082 Likewise.
25083 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
25084 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
25085 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
25086 Likewise.
25087 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
25088 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
25089 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
25090 (cimag): Likewise.
25091 (creal): Likewise.
25092
ec72135e
JM
250932017-11-14 Joseph Myers <joseph@codesourcery.com>
25094
2e64ec9c
JM
25095 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
25096 for stpncpy calls for GCC 8.
25097 (test_strncat): Disable -Wstringop-truncation warning for strncat
25098 calls for GCC 8. Disable -Wstringop-overflow= warning for one
25099 strncat call for GCC 7.
25100 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
25101 calls for GCC 8.
25102 (test_memcmp): Use memcpy instead of strncpy for calls not copying
25103 trailing NUL.
25104
ec72135e
JM
25105 * string/bug-strncat1.c: Include <libc-diag.h>.
25106 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
25107
363e4519 251082017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
25109
25110 [BZ #22387]
25111 * localedata/locales/aa_DJ: Improved readibility by replacing
25112 <Uxxxx> sequences in the ASCII printable range by their ASCII
25113 character equivalents.
25114 * localedata/locales/aa_ER: Likewise.
25115 * localedata/locales/aa_ER@saaho: Likewise.
25116 * localedata/locales/aa_ET: Likewise.
25117 * localedata/locales/af_ZA: Likewise.
25118 * localedata/locales/agr_PE: Likewise.
25119 * localedata/locales/ak_GH: Likewise.
25120 * localedata/locales/am_ET: Likewise.
25121 * localedata/locales/anp_IN: Likewise.
25122 * localedata/locales/ar_AE: Likewise.
25123 * localedata/locales/ar_BH: Likewise.
25124 * localedata/locales/ar_DZ: Likewise.
25125 * localedata/locales/ar_EG: Likewise.
25126 * localedata/locales/ar_IN: Likewise.
25127 * localedata/locales/ar_IQ: Likewise.
25128 * localedata/locales/ar_JO: Likewise.
25129 * localedata/locales/ar_KW: Likewise.
25130 * localedata/locales/ar_LB: Likewise.
25131 * localedata/locales/ar_LY: Likewise.
25132 * localedata/locales/ar_MA: Likewise.
25133 * localedata/locales/ar_OM: Likewise.
25134 * localedata/locales/ar_QA: Likewise.
25135 * localedata/locales/ar_SA: Likewise.
25136 * localedata/locales/ar_SD: Likewise.
25137 * localedata/locales/ar_SS: Likewise.
25138 * localedata/locales/ar_SY: Likewise.
25139 * localedata/locales/ar_TN: Likewise.
25140 * localedata/locales/ar_YE: Likewise.
25141 * localedata/locales/as_IN: Likewise.
25142 * localedata/locales/ast_ES: Likewise.
25143 * localedata/locales/ayc_PE: Likewise.
25144 * localedata/locales/az_AZ: Likewise.
25145 * localedata/locales/az_IR: Likewise.
25146 * localedata/locales/be_BY: Likewise.
25147 * localedata/locales/be_BY@latin: Likewise.
25148 * localedata/locales/bem_ZM: Likewise.
25149 * localedata/locales/ber_DZ: Likewise.
25150 * localedata/locales/ber_MA: Likewise.
25151 * localedata/locales/bg_BG: Likewise.
25152 * localedata/locales/bhb_IN: Likewise.
25153 * localedata/locales/bho_IN: Likewise.
25154 * localedata/locales/bi_VU: Likewise.
25155 * localedata/locales/bn_BD: Likewise.
25156 * localedata/locales/bn_IN: Likewise.
25157 * localedata/locales/bo_CN: Likewise.
25158 * localedata/locales/bo_IN: Likewise.
25159 * localedata/locales/br_FR: Likewise.
25160 * localedata/locales/brx_IN: Likewise.
25161 * localedata/locales/bs_BA: Likewise.
25162 * localedata/locales/byn_ER: Likewise.
25163 * localedata/locales/ca_AD: Likewise.
25164 * localedata/locales/ca_ES: Likewise.
25165 * localedata/locales/ca_FR: Likewise.
25166 * localedata/locales/ca_IT: Likewise.
25167 * localedata/locales/ce_RU: Likewise.
25168 * localedata/locales/chr_US: Likewise.
25169 * localedata/locales/cmn_TW: Likewise.
25170 * localedata/locales/crh_UA: Likewise.
25171 * localedata/locales/cs_CZ: Likewise.
25172 * localedata/locales/csb_PL: Likewise.
25173 * localedata/locales/cv_RU: Likewise.
25174 * localedata/locales/cy_GB: Likewise.
25175 * localedata/locales/da_DK: Likewise.
25176 * localedata/locales/de_AT: Likewise.
25177 * localedata/locales/de_BE: Likewise.
25178 * localedata/locales/de_CH: Likewise.
25179 * localedata/locales/de_DE: Likewise.
25180 * localedata/locales/de_IT: Likewise.
25181 * localedata/locales/de_LI: Likewise.
25182 * localedata/locales/de_LU: Likewise.
25183 * localedata/locales/doi_IN: Likewise.
25184 * localedata/locales/dv_MV: Likewise.
25185 * localedata/locales/dz_BT: Likewise.
25186 * localedata/locales/el_CY: Likewise.
25187 * localedata/locales/el_GR: Likewise.
25188 * localedata/locales/en_AG: Likewise.
25189 * localedata/locales/en_AU: Likewise.
25190 * localedata/locales/en_BW: Likewise.
25191 * localedata/locales/en_CA: Likewise.
25192 * localedata/locales/en_DK: Likewise.
25193 * localedata/locales/en_GB: Likewise.
25194 * localedata/locales/en_HK: Likewise.
25195 * localedata/locales/en_IE: Likewise.
25196 * localedata/locales/en_IL: Likewise.
25197 * localedata/locales/en_IN: Likewise.
25198 * localedata/locales/en_NG: Likewise.
25199 * localedata/locales/en_NZ: Likewise.
25200 * localedata/locales/en_PH: Likewise.
25201 * localedata/locales/en_SG: Likewise.
25202 * localedata/locales/en_US: Likewise.
25203 * localedata/locales/en_ZA: Likewise.
25204 * localedata/locales/en_ZM: Likewise.
25205 * localedata/locales/en_ZW: Likewise.
25206 * localedata/locales/eo: Likewise.
25207 * localedata/locales/es_AR: Likewise.
25208 * localedata/locales/es_BO: Likewise.
25209 * localedata/locales/es_CL: Likewise.
25210 * localedata/locales/es_CO: Likewise.
25211 * localedata/locales/es_CR: Likewise.
25212 * localedata/locales/es_CU: Likewise.
25213 * localedata/locales/es_DO: Likewise.
25214 * localedata/locales/es_EC: Likewise.
25215 * localedata/locales/es_ES: Likewise.
25216 * localedata/locales/es_GT: Likewise.
25217 * localedata/locales/es_HN: Likewise.
25218 * localedata/locales/es_MX: Likewise.
25219 * localedata/locales/es_NI: Likewise.
25220 * localedata/locales/es_PA: Likewise.
25221 * localedata/locales/es_PE: Likewise.
25222 * localedata/locales/es_PR: Likewise.
25223 * localedata/locales/es_PY: Likewise.
25224 * localedata/locales/es_SV: Likewise.
25225 * localedata/locales/es_US: Likewise.
25226 * localedata/locales/es_UY: Likewise.
25227 * localedata/locales/es_VE: Likewise.
25228 * localedata/locales/et_EE: Likewise.
25229 * localedata/locales/eu_ES: Likewise.
25230 * localedata/locales/eu_ES@euro: Likewise.
25231 * localedata/locales/fa_IR: Likewise.
25232 * localedata/locales/ff_SN: Likewise.
25233 * localedata/locales/fi_FI: Likewise.
25234 * localedata/locales/fil_PH: Likewise.
25235 * localedata/locales/fo_FO: Likewise.
25236 * localedata/locales/fr_BE: Likewise.
25237 * localedata/locales/fr_CA: Likewise.
25238 * localedata/locales/fr_CH: Likewise.
25239 * localedata/locales/fr_FR: Likewise.
25240 * localedata/locales/fr_LU: Likewise.
25241 * localedata/locales/fur_IT: Likewise.
25242 * localedata/locales/fy_DE: Likewise.
25243 * localedata/locales/fy_NL: Likewise.
25244 * localedata/locales/ga_IE: Likewise.
25245 * localedata/locales/gd_GB: Likewise.
25246 * localedata/locales/gez_ER: Likewise.
25247 * localedata/locales/gez_ET: Likewise.
25248 * localedata/locales/gl_ES: Likewise.
25249 * localedata/locales/gu_IN: Likewise.
25250 * localedata/locales/gv_GB: Likewise.
25251 * localedata/locales/ha_NG: Likewise.
25252 * localedata/locales/hak_TW: Likewise.
25253 * localedata/locales/he_IL: Likewise.
25254 * localedata/locales/hi_IN: Likewise.
25255 * localedata/locales/hif_FJ: Likewise.
25256 * localedata/locales/hne_IN: Likewise.
25257 * localedata/locales/hr_HR: Likewise.
25258 * localedata/locales/hsb_DE: Likewise.
25259 * localedata/locales/ht_HT: Likewise.
25260 * localedata/locales/hu_HU: Likewise.
25261 * localedata/locales/hy_AM: Likewise.
25262 * localedata/locales/i18n: Likewise.
25263 * localedata/locales/ia_FR: Likewise.
25264 * localedata/locales/id_ID: Likewise.
25265 * localedata/locales/ig_NG: Likewise.
25266 * localedata/locales/ik_CA: Likewise.
25267 * localedata/locales/is_IS: Likewise.
25268 * localedata/locales/it_CH: Likewise.
25269 * localedata/locales/it_IT: Likewise.
25270 * localedata/locales/iu_CA: Likewise.
25271 * localedata/locales/ja_JP: Likewise.
25272 * localedata/locales/ka_GE: Likewise.
25273 * localedata/locales/kk_KZ: Likewise.
25274 * localedata/locales/kl_GL: Likewise.
25275 * localedata/locales/kn_IN: Likewise.
25276 * localedata/locales/ko_KR: Likewise.
25277 * localedata/locales/kok_IN: Likewise.
25278 * localedata/locales/ks_IN: Likewise.
25279 * localedata/locales/ks_IN@devanagari: Likewise.
25280 * localedata/locales/ku_TR: Likewise.
25281 * localedata/locales/kw_GB: Likewise.
25282 * localedata/locales/ky_KG: Likewise.
25283 * localedata/locales/lb_LU: Likewise.
25284 * localedata/locales/lg_UG: Likewise.
25285 * localedata/locales/li_BE: Likewise.
25286 * localedata/locales/li_NL: Likewise.
25287 * localedata/locales/lij_IT: Likewise.
25288 * localedata/locales/ln_CD: Likewise.
25289 * localedata/locales/lo_LA: Likewise.
25290 * localedata/locales/lt_LT: Likewise.
25291 * localedata/locales/lv_LV: Likewise.
25292 * localedata/locales/lzh_TW: Likewise.
25293 * localedata/locales/mag_IN: Likewise.
25294 * localedata/locales/mai_IN: Likewise.
25295 * localedata/locales/mg_MG: Likewise.
25296 * localedata/locales/mhr_RU: Likewise.
25297 * localedata/locales/mi_NZ: Likewise.
25298 * localedata/locales/mk_MK: Likewise.
25299 * localedata/locales/ml_IN: Likewise.
25300 * localedata/locales/mn_MN: Likewise.
25301 * localedata/locales/mni_IN: Likewise.
25302 * localedata/locales/mr_IN: Likewise.
25303 * localedata/locales/ms_MY: Likewise.
25304 * localedata/locales/mt_MT: Likewise.
25305 * localedata/locales/my_MM: Likewise.
25306 * localedata/locales/nan_TW: Likewise.
25307 * localedata/locales/nan_TW@latin: Likewise.
25308 * localedata/locales/nb_NO: Likewise.
25309 * localedata/locales/nds_DE: Likewise.
25310 * localedata/locales/nds_NL: Likewise.
25311 * localedata/locales/ne_NP: Likewise.
25312 * localedata/locales/nhn_MX: Likewise.
25313 * localedata/locales/niu_NU: Likewise.
25314 * localedata/locales/niu_NZ: Likewise.
25315 * localedata/locales/nl_AW: Likewise.
25316 * localedata/locales/nl_BE: Likewise.
25317 * localedata/locales/nl_NL: Likewise.
25318 * localedata/locales/nn_NO: Likewise.
25319 * localedata/locales/nr_ZA: Likewise.
25320 * localedata/locales/nso_ZA: Likewise.
25321 * localedata/locales/oc_FR: Likewise.
25322 * localedata/locales/om_ET: Likewise.
25323 * localedata/locales/om_KE: Likewise.
25324 * localedata/locales/or_IN: Likewise.
25325 * localedata/locales/os_RU: Likewise.
25326 * localedata/locales/pa_IN: Likewise.
25327 * localedata/locales/pa_PK: Likewise.
25328 * localedata/locales/pap_AW: Likewise.
25329 * localedata/locales/pap_CW: Likewise.
25330 * localedata/locales/pl_PL: Likewise.
25331 * localedata/locales/ps_AF: Likewise.
25332 * localedata/locales/pt_BR: Likewise.
25333 * localedata/locales/pt_PT: Likewise.
25334 * localedata/locales/quz_PE: Likewise.
25335 * localedata/locales/raj_IN: Likewise.
25336 * localedata/locales/ro_RO: Likewise.
25337 * localedata/locales/ru_RU: Likewise.
25338 * localedata/locales/ru_UA: Likewise.
25339 * localedata/locales/rw_RW: Likewise.
25340 * localedata/locales/sa_IN: Likewise.
25341 * localedata/locales/sat_IN: Likewise.
25342 * localedata/locales/sc_IT: Likewise.
25343 * localedata/locales/sd_IN: Likewise.
25344 * localedata/locales/sd_IN@devanagari: Likewise.
25345 * localedata/locales/se_NO: Likewise.
25346 * localedata/locales/sgs_LT: Likewise.
25347 * localedata/locales/shs_CA: Likewise.
25348 * localedata/locales/si_LK: Likewise.
25349 * localedata/locales/sid_ET: Likewise.
25350 * localedata/locales/sk_SK: Likewise.
25351 * localedata/locales/sl_SI: Likewise.
25352 * localedata/locales/sm_WS: Likewise.
25353 * localedata/locales/so_DJ: Likewise.
25354 * localedata/locales/so_ET: Likewise.
25355 * localedata/locales/so_KE: Likewise.
25356 * localedata/locales/so_SO: Likewise.
25357 * localedata/locales/sq_AL: Likewise.
25358 * localedata/locales/sq_MK: Likewise.
25359 * localedata/locales/sr_ME: Likewise.
25360 * localedata/locales/sr_RS: Likewise.
25361 * localedata/locales/sr_RS@latin: Likewise.
25362 * localedata/locales/ss_ZA: Likewise.
25363 * localedata/locales/st_ZA: Likewise.
25364 * localedata/locales/sv_FI: Likewise.
25365 * localedata/locales/sv_SE: Likewise.
25366 * localedata/locales/sw_KE: Likewise.
25367 * localedata/locales/sw_TZ: Likewise.
25368 * localedata/locales/szl_PL: Likewise.
25369 * localedata/locales/ta_IN: Likewise.
25370 * localedata/locales/ta_LK: Likewise.
25371 * localedata/locales/tcy_IN: Likewise.
25372 * localedata/locales/te_IN: Likewise.
25373 * localedata/locales/tg_TJ: Likewise.
25374 * localedata/locales/th_TH: Likewise.
25375 * localedata/locales/the_NP: Likewise.
25376 * localedata/locales/ti_ER: Likewise.
25377 * localedata/locales/ti_ET: Likewise.
25378 * localedata/locales/tig_ER: Likewise.
25379 * localedata/locales/tk_TM: Likewise.
25380 * localedata/locales/tl_PH: Likewise.
25381 * localedata/locales/tn_ZA: Likewise.
25382 * localedata/locales/to_TO: Likewise.
25383 * localedata/locales/tpi_PG: Likewise.
25384 * localedata/locales/tr_CY: Likewise.
25385 * localedata/locales/tr_TR: Likewise.
25386 * localedata/locales/ts_ZA: Likewise.
25387 * localedata/locales/tt_RU: Likewise.
25388 * localedata/locales/tt_RU@iqtelif: Likewise.
25389 * localedata/locales/ug_CN: Likewise.
25390 * localedata/locales/uk_UA: Likewise.
25391 * localedata/locales/unm_US: Likewise.
25392 * localedata/locales/ur_IN: Likewise.
25393 * localedata/locales/ur_PK: Likewise.
25394 * localedata/locales/uz_UZ: Likewise.
25395 * localedata/locales/uz_UZ@cyrillic: Likewise.
25396 * localedata/locales/ve_ZA: Likewise.
25397 * localedata/locales/vi_VN: Likewise.
25398 * localedata/locales/wa_BE: Likewise.
25399 * localedata/locales/wae_CH: Likewise.
25400 * localedata/locales/wal_ET: Likewise.
25401 * localedata/locales/wo_SN: Likewise.
25402 * localedata/locales/xh_ZA: Likewise.
25403 * localedata/locales/yi_US: Likewise.
25404 * localedata/locales/yo_NG: Likewise.
25405 * localedata/locales/yue_HK: Likewise.
25406 * localedata/locales/yuw_PG: Likewise.
25407 * localedata/locales/zh_CN: Likewise.
25408 * localedata/locales/zh_HK: Likewise.
25409 * localedata/locales/zh_SG: Likewise.
25410 * localedata/locales/zh_TW: Likewise.
25411 * localedata/locales/zu_ZA: Likewise.
25412
cae87e64
FW
254132017-11-13 Florian Weimer <fweimer@redhat.com>
25414
25415 * support/next_to_fault.h, support/next_to_fault.c: New files.
25416 * support/Makefile (libsupport-routines): Add next_to_fault.
25417 * resolv/tst-inet_pton.c (struct next_to_fault)
25418 (next_to_fault_allocate, next_to_fault_free): Remove.
25419 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25420
4a306ef1
L
254212017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25422
25423 * elf/dl-support.c: Include <dl-procruntime.c>.
25424 * include/link.h: Include <link_map.h>.
25425 * sysdeps/generic/dl-procruntime.c: New file.
25426 * sysdeps/generic/link_map.h: Likewise.
25427 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25428 the writable ld.so namespace.
25429
e69897bf
PE
254302017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25431
25432 timezone: pacify GCC -Wstringop-truncation
25433 Problem reported by Martin Sebor in:
25434 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25435 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25436
1ffe1ccb
FW
254372017-11-12 Florian Weimer <fweimer@redhat.com>
25438
eceed671
FW
25439 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25440 tst-xreadlink.
25441 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25442 * support/support.h (xstrndup): Declare.
25443 * support/xunistd.h (xunlink, xreadlink): Declare.
25444 * support/temp_file.h (support_create_temp_directory): Declare.
25445 * support/temp_file.c (support_create_temp_directory): New function.
25446 * support/support_chroot.c (support_chroot_create): Use it.
25447 * support/xreadlink.c: New file.
25448 * support/xstrndup.c: Likewise.
25449 * support/xunlink.c: Likewise.
25450 * support/tst-xreadlink.c: Likewise.
25451
456b40a9
JDA
254522017-11-11 John David Anglin <danglin@gcc.gnu.org>
25453
25454 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25455
c0a25aa9
FW
254562017-11-11 Florian Weimer <fweimer@redhat.com>
25457
25458 [BZ #22409]
25459 [BZ #22412]
25460 * resolv/res_comp.c (printable_string, binary_hnok)
25461 (binary_leading_dash): New functions.
25462 (res_hnok): Reimplement using these functions and ns_name_pton.
25463 (res_ownok): Likewise.
25464 (res_mailok): Reimplement using printable_string, ns_name_pton and
25465 binary_hnok.
25466 (res_dnok): Reimplement using printable_string and ns_name_pton.
25467 * resolv/tst-res_hnok.c (tests): Add additional tests.
25468 (LETTERDIGITS, PRINTABLE): Define.
25469 (do_test): Adjust one_char results.
25470
9e0ad304
FW
254712017-11-11 Florian Weimer <fweimer@redhat.com>
25472
25473 [BZ #22413]
25474 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25475 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25476
e2a9fca8
FW
254772017-11-11 Florian Weimer <fweimer@redhat.com>
25478
25479 * resolv/tst-ns_name_pton.c: New file.
25480 * resolv/Makefile (tests): Add tst-ns_name_pton.
25481 (tst-ns_name_pton): Link against libresolv.
25482
5c1a6923
FW
254832017-11-11 Florian Weimer <fweimer@redhat.com>
25484
25485 * resolv/tst-res_hnok.c: New file.
25486 * resolv/Makefile (tests): Add tst-res_hnok.
25487 (tst-res_hnok): Link against libresolv.
25488
a19c0a1d
FW
254892017-11-11 Florian Weimer <fweimer@redhat.com>
25490
25491 * resolv/tst-resolv-network.c: Use test framework instead explicit
25492 main function.
25493
8cb5295d
L
254942017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25495
25496 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25497 <jmp_buf-macros.h>.
25498 [!_ISOMAC] (STR_HELPER): New.
25499 [!_ISOMAC] (STR): Likewise.
25500 [!_ISOMAC] (TEST_SIZE): Likewise.
25501 [!_ISOMAC] (TEST_ALIGN): Likewise.
25502 [!_ISOMAC] (TEST_OFFSET): Likewise.
25503 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25504 field offsets of jmp_buf as well as sigjmp_buf.
25505 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25506 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25507 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25508 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25509 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25510 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25511 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25512 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25513 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25514 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25515 Likewise.
25516 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25517 Likewise.
25518 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25520 Likewise.
25521 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25522 Likewise.
25523 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25524 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25525 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25526 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25527 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25528 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25529 Likewise.
25530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25531 Likewise.
25532 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25533 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25534 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25535
58c4a161
JM
255362017-11-07 Joseph Myers <joseph@codesourcery.com>
25537
3683b423
JM
25538 * include/float.h
25539 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25540 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25541 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25542 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25543 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25544 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25545 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25546 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25547 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25548 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25549 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25550 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25551 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25552 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25553 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25554 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25555 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25556 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25557 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25558 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25559 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25560 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25561 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25562 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25563 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25564 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25565 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25566 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25567 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25568 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25569 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25570 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25571 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25572 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25573 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25574 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25575 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25576 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25577 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25578 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25579 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25580 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25581 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25582 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25583 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25584 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25585 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25586 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25587 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25588 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25589 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25590 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25591 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25592 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25593 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25594 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25595 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25596 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25597 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25598 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25599 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25600 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25601 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25602 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25603 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25604 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25605 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25606 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25607 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25608 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25609 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25610 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25611 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25612 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25613 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25614 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25615 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25616 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25617 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25618 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25619 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25620 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25621 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25622 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25623 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25624 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25625 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25626 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25627
58c4a161
JM
25628 * stdlib/tst-strtod.h (F16): New macro.
25629 (F32): Likewise.
25630 (F64): Likewise.
25631 (F32X): Likewise.
25632 (F64X): Likewise.
25633 (F128X): Likewise.
25634 (IF_FLOAT16): Likewise.
25635 (IF_FLOAT32): Likewise.
25636 (IF_FLOAT64): Likewise.
25637 (IF_FLOAT32X): Likewise.
25638 (IF_FLOAT64X): Likewise.
25639 (IF_FLOAT128X): Likewise.
25640 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25641 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25642 (STRTOD_TEST_FOREACH): Likewise.
25643 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25644 (CHOOSE_f64): Likewise.
25645 (CHOOSE_f32x): Likewise.
25646 (CHOOSE_f64x): Likewise.
25647
feda96a1
AS
256482017-11-07 Andreas Schwab <schwab@suse.de>
25649
25650 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25651
1bd0cbb8
MF
256522017-11-07 Mike FABIAN <mfabian@redhat.com>
25653
25654 [BZ #22403]
25655 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25656 to be escaped.
25657 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25658 to be escaped.
25659
363e4519 256602017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25661
25662 [BZ #22403]
25663 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25664 to be escaped.
25665 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25666 to be escaped.
25667 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25668 to be escaped.
25669
dff91cd4
AZ
256702017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25671
06be6368
AZ
25672 [BZ #22298]
25673 * nptl/allocatestack.c (allocate_stack): Check if
25674 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25675 __PTHREAD_MUTEX_HAVE_PREV is defined.
25676 * nptl/descr.h (pthread): Likewise.
25677 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25678 Likewise.
25679 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25680 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25681 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25682 * sysdeps/nptl/bits/thread-shared-types.h
25683 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25684 defines.
25685 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25686 of __WORDSIZE for internal layout.
25687 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25688 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25689 instead of __WORDSIZE whether to use an union for __spins and __list
25690 fields.
25691 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25692 case.
25693 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25694 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25695 defines.
25696 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25697 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25698 Likewise.
25699 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25700 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25701 Likewise.
25702 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25703 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25704 Likewise.
25705 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25706 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25707 Likewise.
25708 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25709 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25710 Likewise.
25711 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25712 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25713 Likewise.
25714 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25715 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25716 Likewise.
25717 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25718 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25719 Likewise.
25720 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25721 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25722 Likewise.
25723 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25724 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25725 Likewise.
25726 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25727 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25728 Likewise.
25729 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25730 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25731 Likewise.
25732 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25733 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25734 Likewise.
25735 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25736 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25737 Likewise.
25738
72b3c6ee
AZ
25739 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25740 New macros.
25741 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25742 checks for expected input type size.
25743 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25744 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25745 Likewise.
25746 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25747 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25748 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25749 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25750 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25751 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25752 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25753 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25754 superflous runtime assert check.
25755 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25756 Likewise.
25757 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25758 Likewise.
25759 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25760 Likewise.
25761 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25762 Likewise.
25763 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25764 Likewise.
25765 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25766 Likewise.
25767 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25768 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25769 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25770 Likewise.
25771 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25772 Likewise.
25773 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25774 Likewise.
25775 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25776 Likewise.
25777 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25778 Likewise.
25779 * nptl/pthread_attr_setinheritsched.c
25780 (__pthread_attr_setinheritsched): Likewise.
25781 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25782 Likewise.
25783 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25784 Likewise.
25785 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25786 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25787 __old_pthread_attr_setstack): Likewise.
25788 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25789 Likewise.
25790 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25791 Likewise.
25792 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25793 Likewise.
25794 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25795 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25796 Likewise.
25797 * nptl/tst-typesizes.c: Remove file.
25798
dff91cd4
AZ
25799 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25800 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25801 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25802 checks for internal pthread_mutex_t offsets.
25803 * sysdeps/aarch64/nptl/pthread-offsets.h
25804 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25805 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25806 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25807 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25808 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25809 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25810 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25811 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25812 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25813 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25814 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25815 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25816 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25817 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25818 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25819 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25820 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25821 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25822
b7fc95f8
FW
258232017-11-07 Florian Weimer <fweimer@redhat.com>
25824
25825 * bits/mman-linux.h: Move ...
25826 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25827 comment.
25828 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25829 outdated comment.
25830
6b860364
RS
258312017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25832
25833 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25834 Redefine STRNLEN as __strnlen_power8.
25835
802c1f16
AZ
258362017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25837
d83da3a4
AZ
25838 * signal/sighold.c (sighold): Optimize implementation.
25839
6a4235f1
AZ
25840 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25841 __NR_rt_sigqueueinfo.
25842
8b0e795a
AZ
25843 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25844 __sigtimedwait.
25845 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25846 assume __NR_rt_sigtimedwait.
25847 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25848 and add LIBC_CANCEL_HANDLED for cancellation marking.
25849 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25850
a1a638dd
AZ
25851 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25852 (sysdeps_routines): Add memchr_noneon.
25853 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25854 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25855 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25856 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25857 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25858 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25859 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25860
802c1f16
AZ
25861 * sysdeps/arm/arm-ifunc.h: New file.
25862 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25863 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25864 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25865 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25866 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25867 (__memcpy_neon): Avoid create hidden alias.
25868 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25869 (__memcpy_vfp): Likewise.
25870 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25871 (sysdep_routines): Add memcpy_arm.
25872 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25873
abcb584d
L
258742017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25875
25876 [BZ #22362]
25877 * Makerules (make-link-multidir): New.
25878 * config.make.in (multidir): New.
25879 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25880 * configure: Regenerated.
25881 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25882 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25883 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25884 New target.
25885
4e2dff67
JM
258862017-11-06 Joseph Myers <joseph@codesourcery.com>
25887
25888 [BZ #22402]
25889 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25890 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25891
a1c7cd3c
MF
258922017-11-04 Mike FABIAN <mfabian@redhat.com>
25893
25894 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25895 to be escaped.
25896
b9af29c0
FW
258972017-11-04 Florian Weimer <fweimer@redhat.com>
25898
25899 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25900
4ca70e1a
JM
259012017-11-03 Joseph Myers <joseph@codesourcery.com>
25902
25903 * math/math.h [__HAVE_DISTINCT_FLOAT16
25904 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25905 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25906 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25907 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25908 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25909 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25910 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25911 (__MATH_TG_F32): New macro.
25912 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25913 (__MATH_TG_F64X): Likewise.
25914 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25915 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25916
ba0e6668
DL
259172017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25918
25919 * po/de.po: Update translations.
25920 * po/ru.po: Likewise.
25921
bc18a6d3
FW
259222017-11-03 Florian Weimer <fweimer@redhat.com>
25923
25924 * manual/filesys.texi (Hard Links): Document linkat.
25925
97255170
JM
259262017-11-03 Joseph Myers <joseph@codesourcery.com>
25927
86ec4865
JM
25928 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25929 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25930 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25931 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25932 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25933 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25934 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25935 the same as _Float128.
25936 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25937 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25938 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25939
97255170
JM
25940 * stdlib/stdlib.h
25941 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25942 Declare.
25943 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25944 Likewise.
25945 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25946 Likewise.
25947 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25948 (strtof32x): Likewise.
25949 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25950 (strtof64x): Likewise.
25951 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25952 (strtof128x): Likewise.
25953 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25954 (strfromf16): Likewise.
25955 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25956 (strfromf32): Likewise.
25957 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25958 (strfromf64): Likewise.
25959 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25960 (strfromf32x): Likewise.
25961 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25962 (strfromf64x): Likewise.
25963 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25964 (strfromf128x): Likewise.
25965 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25966 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25967 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25968 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25969 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25970 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25971
6d58ce5e
RH
259722017-11-03 Richard Henderson <rth@twiddle.net>
25973
25974 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25975
659ca267
SN
259762017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25977
25978 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25979
94d2f0af
SN
259802017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25981
25982 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25983 DT_TLSDESC_GOT initialization.
25984 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25985 (_dl_tlsdesc_resolve_hold): Likewise.
25986 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25987 (_dl_tlsdesc_resolve_hold): Likewise.
25988 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25989 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25990
28e1ddf3
SN
259912017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25992
25993 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25994
0ca3d1d6
SN
259952017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25996
25997 [BZ #18572]
25998 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25999 non-lazily for R_ARM_TLS_DESC.
26000
2c1d4e5f
SN
260012017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26002
26003 [BZ #17078]
26004 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
26005 R_ARM_TLS_DESC case.
26006 (elf_machine_lazy_rel): Remove the prelink check.
26007
91c5a366
SN
260082017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26009
26010 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
26011 DT_TLSDESC_GOT initialization.
26012 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
26013 (_dl_tlsdesc_resolve_rela): Likewise.
26014 (_dl_tlsdesc_resolve_hold): Likewise.
26015 (_dl_tlsdesc_undefweak): Remove ldar.
26016 (_dl_tlsdesc_dynamic): Likewise.
26017 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
26018 (_dl_tlsdesc_resolve_rela): Likewise.
26019 (_dl_tlsdesc_resolve_hold): Likewise.
26020 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
26021 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
26022 (_dl_tlsdesc_resolve_rela): Likewise.
26023 (_dl_tlsdesc_resolve_hold): Likewise.
26024
b7cf203b
SN
260252017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26026
26027 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
26028 binding and initialization non-lazily for R_AARCH64_TLSDESC.
26029
0cc5b022
SN
260302017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
26031
26032 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
26033 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
26034
43ddff2e
JM
260352017-11-02 Joseph Myers <joseph@codesourcery.com>
26036
26037 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
26038 Declare.
26039 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
26040 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
26041 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
26042 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
26043 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
26044 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
26045 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
26046 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
26047 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
26048 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
26049 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
26050
5baac970
MF
260512017-11-02 Mike FABIAN <mfabian@redhat.com>
26052
26053 [BZ #22382]
26054 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
26055 * localedata/locales/tpi_PG: Add standard header.
26056
ef11081f
FW
260572017-11-02 Florian Weimer <fweimer@redhat.com>
26058
26059 test-errno-linux: quotactl can fail with EPERM in containers.
26060 * sysdeps/unix/sysv/linux/test-errno-linux.c
26061 (LIST, LIST_FORWARD): New macros.
26062 (check_error_in_list): New function.
26063 (test_wrp_rv): Accept list of permitted error codes.
26064 (test_wrp_rv2): Remove.
26065 (test_wrp): Call test_wrp_rv with list of error codes.
26066 (test_wrp2): Accept list of error codes.
26067 (do_test): Adjust. Allow EPERM for quotactl.
26068
d10b132b
FW
260692017-11-02 Florian Weimer <fweimer@redhat.com>
26070
26071 * stdio-common/bug16.c (do_test): Use array_length.
26072 * stdio-common/errlist.c (_sys_nerr): Likewise.
26073 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
26074 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
26075 * stdio-common/psiginfo.c (psiginfo): Use array_length.
26076 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
26077 (do_test): Use array_length.
26078 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
26079 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
26080 * stdio-common/tst-printf-round.c (do_test): Likewise.
26081 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
26082 (CHECK): Use array_length.
26083 * stdio-common/tstdiomisc.c (t3, F): Likewise.
26084 * stdio-common/tstscanf.c (main): Likewise.
26085 * stdio-common/vfprintf.c (process_string_arg): Likewise.
26086
c94a5688
FW
260872017-11-02 Florian Weimer <fweimer@redhat.com>
26088
26089 Add array_length and array_end macros.
26090 * include/array_length.h: New file.
26091
2fac6a6c
FW
260922017-11-02 Florian Weimer <fweimer@redhat.com>
26093
26094 [BZ #22332]
26095 * posix/tst-glob-tilde.c (do_noescape): New variable.
26096 (one_test): Process it.
26097 (do_test): Set do_noescape. Add unescaping test case.
26098
2f1b212e
JM
260992017-11-01 Joseph Myers <joseph@codesourcery.com>
26100
260fbd0a
JM
26101 * math/complex.h
26102 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
26103 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
26104 with appropriate macros defined and undefined.
26105 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
26106 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26107 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
26108 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26109 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
26110 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26111 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
26112 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26113 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
26114 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
26115
2f1b212e
JM
26116 * math/complex.h
26117 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
26118 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
26119 that for long double. Do not condition define and undefine of
26120 _Mdouble_complex_ on [__CFLOAT128].
26121
95b93c6e
L
261222017-11-01 H.J. Lu <hongjiu.lu@intel.com>
26123
26124 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26125 of <sysdeps/generic/sysdep.h>.
26126 (ALIGNARG): Removed.
26127 (ASM_SIZE_DIRECTIVE): Likewise.
26128 (ENTRY): Likewise.
26129 (END): Likewise.
26130 (ENTRY_CHK): Likewise.
26131 (END_CHK): Likewise.
26132 (syscall_error): Likewise.
26133 (mcount): Likewise.
26134 (PSEUDO_END): Likewise.
26135 (L): Likewise.
26136 (atom_text_section): Likewise.
26137 * sysdeps/x86/sysdep.h: New file.
26138 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
26139 of <sysdeps/generic/sysdep.h>.
26140 (ALIGNARG): Removed.
26141 (ASM_SIZE_DIRECTIVE): Likewise.
26142 (ENTRY): Likewise.
26143 (END): Likewise.
26144 (ENTRY_CHK): Likewise.
26145 (END_CHK): Likewise.
26146 (syscall_error): Likewise.
26147 (mcount): Likewise.
26148 (PSEUDO_END): Likewise.
26149 (L): Likewise.
26150 (atom_text_section): Likewise.
26151
1bb36539
RL
261522017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
26153
26154 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
26155 category of LC_CTYPE set to "i18n:2012".
26156 * localedata/locales/i18n_ctype: Regenerate.
26157
067f5d97 261582017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 26159
87bbc4cf
YN
26160 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
26161 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
26162 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
26163 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
26164
e8681faa
YN
26165 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
26166 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
26167 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
26168 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
26169
540af6e2
JM
261702017-10-31 Joseph Myers <joseph@codesourcery.com>
26171
43e66283
JM
26172 * math/complex.h
26173 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
26174 New macro.
26175 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
26176 Likewise.
26177 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
26178 Likewise.
26179 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26180 (CMPLXF32X): Likewise.
26181 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26182 (CMPLXF64X): Likewise.
26183 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26184 (CMPLXF128X): Likewise.
26185
540af6e2
JM
26186 * math/math.h
26187 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
26188 (__MATH_EVAL_FMT2): Define to add 0.0f.
26189
58af72b4
AM
261902017-10-31 Alan Modra <amodra@gmail.com>
26191
26192 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
26193 include sysdep.h.
26194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
26195 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
26196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
26197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
26198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
26199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
26200 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
26201 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
26202 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
26203 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
26204 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
26205 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
26206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
26207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
26208 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
26209 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
26210 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
26211 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
26212 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
26213 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
26214 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
26215 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
26216 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
26217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
26218 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26219 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
26220 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
26221 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
26222 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
26223 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
26224 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
26225 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
26226 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
26227 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
26228 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
26229 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
26230 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
26231 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
26232 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
26233 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
26234 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
26235 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
26236 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
26237 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
26238 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
26239 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
26240 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
26241 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
26242 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26243 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26244 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
26245 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
26246 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
26247 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
26248 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26249 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
26250 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
26251 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
26252 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26254 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26255 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
26256 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
26257 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
26258 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
26259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
26260 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
26261 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
26262 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
26263
26264 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
26265 include sysdep.h and math_ldbl_opt.h.
26266
26267 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
26268 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
26269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
26270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
26271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
26272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
26273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
26274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
26275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
26276 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
26277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
26278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
26279 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
26280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
26281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
26282 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
26283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
26284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
26285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
26286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
26287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
26288 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
26289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
26290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
26291 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
26292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
26293
112f30b3
AM
262942017-10-31 Alan Modra <amodra@gmail.com>
26295
26296 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
26297 string/strncase_l.c, not string/strncase.c.
26298 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
26299 (libc_hidden_def): Redefine.
26300
e9e7eced
AM
263012017-10-31 Alan Modra <amodra@gmail.com>
26302
26303 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
26304 (__STRCMP, STRCMP, __strcasecmp_l): Define.
26305 (__strcasecmp): Don't define.
26306
f7b465cf
AM
263072017-10-31 Alan Modra <amodra@gmail.com>
26308
26309 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
26310 IS_IN (libc).
26311 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
26312 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
26313 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
26314
d46b09f9
AM
263152017-10-31 Alan Modra <amodra@gmail.com>
26316
26317 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
26318 USE_AS_STPNCPY.
26319
e9b8e194
AM
263202017-10-31 Alan Modra <amodra@gmail.com>
26321
26322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
26323 Redefine only when SHARED.
26324
eda162dd
JM
263252017-10-30 Joseph Myers <joseph@codesourcery.com>
26326
b61afe8c
JM
26327 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26328 Include <bits/math-finite.h> with appropriate macros defined and
26329 undefined.
26330 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26331 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26332 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26333 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26334 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26335
eda162dd
JM
26336 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26337 [!_Mlong_double_] (_Mlong_double_): Likewise.
26338 [!_Mfloat16_] (_Mfloat16_): Likewise.
26339 [!_Mfloat32_] (_Mfloat32_): Likewise.
26340 [!_Mfloat64_] (_Mfloat64_): Likewise.
26341 [!_Mfloat128_] (_Mfloat128_): Likewise.
26342 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26343 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26344 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26345 (_Mdouble_): Define without indirection through those macros.
26346 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26347 [!_Mfloat128_] (_Mfloat128_): Likewise.
26348 [_Mlong_double_] (_Mlong_double_): Likewise.
26349 (_Mdouble_): Define without indirection through those macros.
26350 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26351 not add -D_Mlong_double_=double.
26352 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26353 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26354
4ad5106e
L
263552017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26356
26357 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26358
fe326df7
L
263592017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26360
26361 * sysdeps/x86/libc-start.c: Reformat.
26362
c5cc4514
L
263632017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26364
26365 [BZ #22353]
26366 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26367 (1): Renamed to ...
26368 (L(Src0)): This.
26369 (L(Src1)): New.
26370 (L(Src2)): Likewise.
26371 (L(1)): Renamed to ...
26372 (L(Src3)): This.
26373
ce12269f
JM
263742017-10-30 Joseph Myers <joseph@codesourcery.com>
26375
26376 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26377 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26378 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26379 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26380 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26381 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26382 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26383 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26384 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26385 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26386 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26387 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26388 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26389 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26390 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26391 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26392 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26393 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26394 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26395 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26396 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26397 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26398 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26399 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26400 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26401 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26402 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26403 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26404 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26405 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26406 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26407 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26408 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26409 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26410 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26411 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26412 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26413 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26414 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26415 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26416 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26417 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26418 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26419 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26420 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26421 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26422 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26423 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26424 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26425 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26426 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26427 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26428 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26429 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26430 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26431 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26432 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26433 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26434 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26435 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26436 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26437 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26438 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26439 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26440 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26441 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26442
4484b9e2
FW
264432017-10-30 Florian Weimer <fweimer@redhat.com>
26444
26445 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26446 always defined.
26447 * io/tst-mkdirat.c (do_test): Likewise.
26448 * io/tst-mkfifoat.c (do_test): Likewise.
26449 * io/tst-mknodat.c (do_test): Likewise.
26450 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26451 * locale/programs/locale.c (select_dirs): Likewise.
26452 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26453 * posix/bug-glob2.c (my_readdir): Likewise.
26454 * posix/tst-dir.c (main): Likewise.
26455 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26456 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26457
68fe16dd
FW
264582017-10-30 Florian Weimer <fweimer@redhat.com>
26459
26460 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26461 just __USE_GNU.
26462
dadf23f0
FW
264632017-10-30 Florian Weimer <fweimer@redhat.com>
26464
26465 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26466 Convert to support/test-driver.c.
26467 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26468 New macro parameters.
26469 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26470 * posix/tst-gnuglob.c: New file.
26471 * posix/tst-gnuglob64.c: Likewise.
26472 * posix/Makefile (tests): Add tst-gnuglob64.
26473
363e4519 264742017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26475
26476 [BZ #19485]
26477 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26478 and use a better translation for March in “mon”.
26479 * localedata/locales/csb_PL: Use more ASCII to improve the
26480 readability of the source.
26481
b110af82
MF
264822017-10-30 Mike FABIAN <mfabian@redhat.com>
26483
26484 [BZ #13953]
26485 * localedata/locales/km_KH: Use ASCII as much
26486 as possible for better readability of the source and
26487 remove useless comments.
26488 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26489 was commented out and apparently wrong anyway because it was
26490 using Lao characters. If Buddhist era should be used
26491 for km_KH, a native speaker should write the correct formaat
26492 for Khmer.
26493 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26494 (According to CLDR, the first weekday for Cambodia is Sunday).
26495 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26496 (These were using Lao characters which must be wrong. If we get
26497 the correct data from a native speaker, we could add it back, until
26498 then it is better not to have name_mr and name_mrs at all than
26499 having it wrong).
26500
f301e533
RL
265012017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26502
26503 * locale/loadlocale.c: Correct size of
26504 _nl_value_type_LC_<category> arrays.
26505
7e9d7073
JM
265062017-10-27 Joseph Myers <joseph@codesourcery.com>
26507
26508 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26509 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26510 with appropriate macros defined and undefined.
26511 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26512 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26513 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26514 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26515 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26516
63d3b468
L
265172017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26518
26519 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26520 "-O2 -march=i586".
26521
a4cc02c7
MF
265222017-10-27 Mike FABIAN <mfabian@redhat.com>
26523
26524 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26525 with lowercase letters to make it agree with CLDR.
26526
1e5971ec
MF
265272017-10-27 Mike FABIAN <mfabian@redhat.com>
26528
26529 [BZ #15260]
26530 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26531 first letters of yesstr and nostr in yesexpr and noexpr,
26532 not for the full words.
26533 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26534 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26535 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26536 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26537 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26538 first letters of yesstr and nostr in yesexpr and noexpr,
26539 until now only English was matched in yesexpr and noexpr.
26540 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26541 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26542 fil but not for tl. As tl and fil are very similar, using fil
26543 is probably better than using English.
26544
363e4519 265452017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26546
26547 [BZ #21706]
26548 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26549 in yesstr and nostr.
26550
5d220788
JM
265512017-10-26 Joseph Myers <joseph@codesourcery.com>
26552
ecc7da5b
JM
26553 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26554 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26555 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26556 Likewise.
26557 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26558 Likewise.
26559 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26560 Likewise.
26561 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26562 Likewise.
26563 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26564 (SNANF128X): Likewise.
26565
5d220788
JM
26566 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26567 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26568 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26569 (HUGE_VAL_F32): Likewise.
26570 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26571 (HUGE_VAL_F64): Likewise.
26572 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26573 (HUGE_VAL_F32X): Likewise.
26574 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26575 (HUGE_VAL_F64X): Likewise.
26576 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26577 (HUGE_VAL_F128X): Likewise.
26578
363e4519 265792017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26580
26581 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26582 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26583 for the br_FR locale.
26584
363e4519 265852017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26586
26587 [BZ #21706]
26588 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26589
337ff3c5
CD
265902017-10-25 Carlos O'Donell <carlos@redhat.com>
26591
02eec681
CD
26592 * locale/programs/record-status.h: Define globals, and function
26593 prototypes. Move function bodies...
26594 * locale/programs/record-status.c: ... to here. New file.
26595 * iconv/Makefile (iconv_prog-modules): Add record-status.
26596 * locale/Makefile (lib-modules): Likewise.
26597 * iconv/iconv_prog.c: Remove verbose.
26598 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26599 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26600 record a warning about ASCII compatibility.
26601 * locale/programs/ld-monetary.c (monetary_finish): If
26602 warn_int_curr_symbol is true then record a warning about the symbol
26603 not being in our ISO 4217 list.
26604 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26605 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26606 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26607 (OPT_NO_WARN): Define.
26608 (OPT_WARN): Define.
26609 (options): Add entry for --no-warnings, and --warnings.
26610 (set_warnings): New function to enable/disable warnings.
26611 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26612 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26613 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26614 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26615 Pass flags to generate_locale.
26616 (generate_locale): Accept new flag argument and pass it to localedef
26617 invocation.
26618 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26619 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26620
56fa555a
CD
26621 * localedata/Makefile (test-input-data): Use full file name.
26622 * localedata/da_DK.in: Rename to...
26623 * localedata/da_DK.ISO-8859-1.in: ...this.
26624 * localedata/de_DE.in: Rename to...
26625 * localedata/de_DE.ISO-8859-1.in: ...this.
26626 * localedata/en_US.in: Rename to...
26627 * localedata/en_US.ISO-8859-1.in: ...this.
26628 * localedata/fr_FR.in: Rename to...
26629 * localedata/fr_FR.UTF-8.in: ... this.
26630 * localedata/hr_HR.in: Rename to...
26631 * localedata/hr_HR.ISO-8859-2.in: ...this.
26632 * localedata/hu_HU.in: Rename to...
26633 * localedata/hu_HU.UTF-8.in: ...this.
26634 * localedata/si_LK.in: Rename to...
26635 * localedata/si_LK.UTF-8.in: ...this.
26636 * localedata/sv_SE.in: Rename to...
26637 * localedata/sv_SE.ISO-8859-1.in: ...this.
26638 * localedata/tr_TR.in: Rename to...
26639 * localedata/tr_TR.UTF-8.in: ...this.
26640 * localedata/uk_UA.in: Rename to...
26641 * localedata/uk_UA.UTF-8.in: ...this.
26642 * localedata/sort-test.sh: Test file is locale name with the
26643 suffix.
26644
337ff3c5
CD
26645 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26646 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26647 file.
26648 * localedata/locales/i18n_ctype: Regenerate.
26649 * localedata/locales/tr_TR: Likewise.
26650 * localedata/locales/translit_circle: Likewise.
26651 * localedata/locales/translit_cjk_compat: Likewise.
26652 * localedata/locales/translit_combining: Likewise.
26653 * localedata/locales/translit_compat: Likewise.
26654 * localedata/locales/translit_font: Likewise.
26655 * localedata/locales/translit_fraction: Likewise.
26656
63da5cd4
RS
266572017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26658
26659 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26660 lxvd2x/stxvd2x with lvx/stvx.
26661 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26662
a122dbfb
L
266632017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26664
26665 * include/alloc_buffer.h: Replace "if if " with "if " in
26666 comments.
26667 * sysdeps/mips/memcpy.S: Likkewise.
26668 * sysdeps/mips/memset.S: Likewise.
26669 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26670 Likewise.
26671 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26672 Likewise.
26673 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26674 Likewise.
26675
9be7530c
MF
266762017-10-25 Mike FABIAN <mfabian@redhat.com>
26677
26678 [BZ #15261]
26679 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26680 yesexpr and noexpr.
26681 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26682 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26683 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26684 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26685 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26686 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26687 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26688
6ccbf6ff
MF
266892017-10-25 Mike FABIAN <mfabian@redhat.com>
26690
26691 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26692 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26693 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26694 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26695 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26696 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26697 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26698 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26699 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26700 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26701 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26702 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26703
58b1a7ea
MF
267042017-10-25 Mike FABIAN <mfabian@redhat.com>
26705
26706 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26707 as possible for better readability of the source.
26708 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26709 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26710 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26711 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26712 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26713 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26714 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26715 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26716 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26717 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26718 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26719 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26720 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26721 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26722 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26723 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26724 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26725 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26726 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26727 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26728 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26729 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26730 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26731 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26732 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26733 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26734 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26735 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26736 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26737 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26738 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26739 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26740 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26741 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26742 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26743 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26744 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26745 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26746 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26747 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26748 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26749 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26750 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26751 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26752 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26753 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26754 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26755 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26756 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26757 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26758 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26759 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26760 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26761 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26762 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26763 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26764 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26765 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26766 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26767 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26768 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26769 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26770 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26771 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26772 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26773 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26774 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26775 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26776 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26777 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26778 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26779 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26780 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26781 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26782 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26783 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26784 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26785 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26786 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26787 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26788 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26789 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26790 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26791 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26792 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26793 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26794 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26795 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26796 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26797 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26798 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26799 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26800 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26801 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26802 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26803 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26804 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26805 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26806 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26807 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26808 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26809 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26810 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26811 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26812 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26813 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26814 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26815 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26816 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26817 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26818 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26819 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26820 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26821 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26822 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26823 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26824 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26825 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26826 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26827 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26828 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26829 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26830 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26831 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26832 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26833 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26834 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26835 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26836 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26837 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26838 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26839 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26840 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26841 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26842 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26843 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26844 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26845 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26846 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26847 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26848 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26849 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26850 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26851 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26852 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26853 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26854 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26855 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26856 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26857 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26858 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26859 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26860 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26861 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26862 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26863 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26864 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26865 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26866 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26867 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26868 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26869 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26870 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26871 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26872 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26873 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26874 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26875 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26876 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26877 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26878 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26879 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26880 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26881 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26882
17e78edb
MF
268832017-10-25 Mike FABIAN <mfabian@redhat.com>
26884
26885 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26886 (Use first letters of yesstr and nostr correctly instead of using
26887 full words).
26888
74e7284f
MF
268892017-10-25 Mike FABIAN <mfabian@redhat.com>
26890
26891 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26892 (Use first letters of yesstr and nostr correctly).
26893
b41a0ff1
MF
268942017-10-25 Mike FABIAN <mfabian@redhat.com>
26895
26896 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26897 also check for the first characters of yesstr and nostr.
26898 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26899 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26900
d971f380
MF
269012017-10-25 Mike FABIAN <mfabian@redhat.com>
26902
26903 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26904 also check for Chinese characters.
26905
effc9e1d
MF
269062017-10-25 Mike FABIAN <mfabian@redhat.com>
26907
26908 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26909 match also for the contents of yesstr and nostr. As the first letter
26910 of yesstr and nostr is equal, checking only for the first letter
26911 is not enough.
26912
10320881
MF
269132017-10-25 Mike FABIAN <mfabian@redhat.com>
26914
26915 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26916 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26917
d8682a15
MF
269182017-10-25 Mike FABIAN <mfabian@redhat.com>
26919
26920 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26921 of main contributor.
26922
1bfb86ae
MF
269232017-10-25 Mike FABIAN <mfabian@redhat.com>
26924
26925 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26926 instead of using English.
26927
da33d60b
MF
269282017-10-25 Mike FABIAN <mfabian@redhat.com>
26929
26930 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26931 by including the first letters of nostr and yesexpr in the regexp.
26932 Also make it more readable by using ASCII where possible.
26933
725bbb3e
MF
269342017-10-25 Mike FABIAN <mfabian@redhat.com>
26935
26936 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26937 the first letter of nostr in the regexp. It agrees with CLDR now.
26938 Also make it more readable by using ASCII where possible.
26939
fe043d8a
MF
269402017-10-24 Mike FABIAN <mfabian@redhat.com>
26941
26942 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26943 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26944 these strings contain a U+17D6 (which somewhat looks like a colon)
26945 instead of a real colon to separate the full words for “yes”
26946 and “no” from the single letter responses.
26947
360a8df3
MF
269482017-10-24 Mike FABIAN <mfabian@redhat.com>
26949
26950 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26951 it agree with CLDR (include the first letter of yesstr).
26952 Also make it more readable by using ASCII where possible.
26953
bab7b6b0
MF
269542017-10-24 Mike FABIAN <mfabian@redhat.com>
26955
26956 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26957 and improve yesexpr and noexpr. The yesstr and nostr apparently
26958 came from CLDR. And CLDR has a bug there: these strings contain
26959 a U+0903 (which looks like a colon) instead of a real colon
26960 to separate the full words for “yes” and “no” from the single
26961 letter responses.
26962
3e79f758
MF
269632017-10-24 Mike FABIAN <mfabian@redhat.com>
26964
26965 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26966 letters of the full yesstr and nostr in yesexpr and noexpr.
26967
4960c879
MF
269682017-10-24 Mike FABIAN <mfabian@redhat.com>
26969
26970 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26971 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26972 * localedata/locales/an_ES: Make source more readable by using ASCII
26973 where possible.
26974
b06a054f
MF
269752017-10-24 Mike FABIAN <mfabian@redhat.com>
26976
26977 [BZ #20952]
26978 * localedata/locales/yuw_PG: New file.
26979 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26980 * locale/iso-639.def: Add Yau (Uruwa).
26981
905a7725
WD
269822017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26983
26984 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26985
3f6bb8a3
WD
269862017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26987
26988 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26989 (__libc_realloc): Likewise.
26990 (_mid_memalign): Likewise.
26991 (__libc_calloc): Likewise.
26992
1d479c8c
MF
269932017-10-23 Mike FABIAN <mfabian@redhat.com>
26994
26995 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26996 by adding the generic +1 and -0 as in all other locales.
26997 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26998 day names and make it more readable by using ASCII where possible.
26999
91c3985c
JM
270002017-10-24 Joseph Myers <joseph@codesourcery.com>
27001
27002 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
27003 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
27004
aa95a241
AZ
270052017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27006
27007 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
27008 WNOHANG in waitpid call.
27009
db9bab09
SP
270102017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
27011
a2e0a7f1
SP
27012 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
27013 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
27014
db9bab09
SP
27015 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
27016 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
27017 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
27018 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
27019 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
27020 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
27021 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
27022 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
27023 variables.
27024
5062680c
MC
270252017-10-23 Michael Collison <michael.collison@arm.com>
27026
27027 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
27028 with __builtin_sqrt.
27029 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
27030 with __builtin_sqrtf.
27031 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
27032 with __builtin_ceil.
27033 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
27034 with __builtin_ceilf.
27035 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
27036 with __builtin_floor.
27037 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
27038 with __builtin_floorf.
27039 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
27040 with __builtin_fma.
27041 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
27042 with __builtin_fmaf.
27043 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
27044 with __builtin_fmax.
27045 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
27046 with __builtin_fmaxf.
27047 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
27048 with __builtin_fmin.
27049 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
27050 with __builtin_fminf.
27051 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
27052 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
27053 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
27054 with builtin_rint and conversion to int.
27055 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
27056 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
27057 with builtin_llround.
27058 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
27059 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
27060 with builtin_rint and conversion to long int.
27061 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
27062 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
27063 with builtin_lround.
27064 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
27065 with builtin_lroundf.
27066 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
27067 statements with __builtin_nearbyint.
27068 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
27069 statements with __builtin_nearbyintf.
27070 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
27071 with __builtin_rint.
27072 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
27073 with __builtin_rintf.
27074 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
27075 with __builtin_round.
27076 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
27077 with __builtin_roundf.
27078 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
27079 with __builtin_trunc.
27080 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
27081 with __builtin_truncf.
be080b6c
SN
27082 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
27083 and s_l[l]round[f].c too.
5062680c 27084
174935af
AM
270852017-10-23 Alan Modra <amodra@gmail.com>
27086
27087 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
27088 Adjust stack after restoring regs. Add missing LR cfi_restore.
27089
750a0e49
AM
270902017-10-23 Alan Modra <amodra@gmail.com>
27091
27092 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
27093 Move LR save and frame setup/teardown and LR restore to
27094 immediately around memset call. Provide cfi.
27095
5313581c
L
270962017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27097
27098 * sysdeps/i386/fpu/e_powf.S: Removed.
27099 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
27100 * sysdeps/i386/fpu/w_powf.c: Likewise.
27101 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
27102 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27103 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27104 Add e_powf-sse2.
27105 (CFLAGS-e_powf-sse2.c): New.
27106 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
27107 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
27108
6089a3ee
L
271092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27110
27111 * sysdeps/i386/fpu/e_log2f.S: Removed.
27112 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
27113 * sysdeps/i386/fpu/w_log2f.c: Likewise.
27114 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
27115 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27116 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27117 Add e_log2f-sse2.
27118 (CFLAGS-e_log2f-sse2.c): New.
27119 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
27120 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
27121
80bb5935
L
271222017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27123
27124 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27125 Add e_powf-fma.
27126 (CFLAGS-e_powf-fma.c): New.
27127 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
27128 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
27129
5c7adbd8
L
271302017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27131
27132 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27133 Add e_log2f-fma.
27134 (CFLAGS-e_log2f-fma.c): New.
27135 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
27136 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
27137
0ccc7153
L
271382017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27139
27140 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27141 Add e_logf-fma.
27142 (CFLAGS-e_logf-fma.c): New.
27143 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
27144 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
27145
fe596486
L
271462017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27147
27148 * sysdeps/i386/fpu/e_logf.S: Removed.
27149 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
27150 * sysdeps/i386/fpu/w_logf.c: Likewise.
27151 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
27152 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
27153 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27154 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27155 Add e_logf-sse2.
27156 (CFLAGS-e_logf-sse2.c): New.
27157 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
27158 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
27159
7eda65f6
L
271602017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27161
27162 * sysdeps/i386/fpu/e_exp2f.S: Removed.
27163 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
27164 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
27165 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27166 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27167 Add e_exp2f-sse2.
27168 (CFLAGS-e_exp2f-sse2.c): New.
27169 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
27170 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
27171
5d15c969
L
271722017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
27175 Add e_exp2f-fma.
27176 (CFLAGS-e_exp2f-fma.c): New.
27177 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
27178 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
27179
b2f6137e
L
271802017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27181
27182 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
27183 * sysdeps/i386/fpu/e_expf.S: Likewise.
27184 * sysdeps/i386/fpu/math_errf.c: Likewise.
27185 * sysdeps/i386/fpu/w_expf.c: Likewise.
27186 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
27187 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27188 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
27189 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
27190 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
27191 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
27192 Remove e_expf-ia32.
27193 (CFLAGS-e_expf-sse2.c): New.
27194 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
27195 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
27196
e1f59beb
L
271972017-10-22 H.J. Lu <hongjiu.lu@intel.com>
27198
27199 * sysdeps/x86_64/fpu/e_expf.S: Removed.
27200 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
27201 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
27202 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
27203 e_expf.c.
27204 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
27205 New.
27206 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
27207 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
27208 Renamed to ...
27209 (__redirect_expf): This.
27210 (SYMBOL_NAME): Changed to expf.
27211 (__ieee754_expf): Renamed to ...
27212 (__expf): This.
27213 (__GI___expf): This.
27214 (__ieee754_expf): Add strong_alias.
27215 (__expf_finite): Likewise.
27216 (__expf): New.
27217 Include <sysdeps/ieee754/flt-32/e_expf.c>.
27218
363e4519 272192017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
27220
27221 [BZ #22332]
27222 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
27223 unescaping.
27224
e80fc1fc
FW
272252017-10-21 Florian Weimer <fweimer@redhat.com>
27226
27227 * posix/Makefile (tests): Add tst-glob-tilde.
27228 (tests-special): Add tst-glob-tilde-mem.out
27229 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
27230 (tst-glob-tilde-mem.out): Add mtrace check.
27231 * posix/tst-glob-tilde.c: New file.
27232
797ba44b
JM
272332017-10-20 Joseph Myers <joseph@codesourcery.com>
27234
27235 * bits/floatn-common.h: New file.
27236 * math/Makefile (headers): Add bits/floatn-common.h.
27237 * bits/floatn.h: Include <bits/floatn-common.h>.
27238 * sysdeps/ia64/bits/floatn.h: Likewise.
27239 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27240 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
27241 * sysdeps/powerpc/bits/floatn.h: Likewise.
27242 * sysdeps/x86/bits/floatn.h: Likewise.
27243
fe05e1cb
AZ
272442017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27245
8f6f5362
AZ
27246 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
27247 indicates whether compiler emits an warning for alias for
27248 functions with incompatible types.
27249
fe05e1cb
AZ
27250 [BZ #22273]
27251 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
27252 the auxiliary process is terminated by a signal before calling _exit
27253 or execve.
27254
b52b0d79
L
272552017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27256
27257 [BZ #21265]
27258 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
27259 New.
27260 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
27261 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
27262 and bit_arch_XSAVEC_Usable if needed.
27263 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
27264 and bit_arch_Use_dl_runtime_resolve_opt.
27265 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
27266 Removed.
27267 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
27268 (bit_arch_Prefer_No_AVX512): Updated.
27269 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
27270 (bit_arch_XSAVEC_Usable): New.
27271 (STATE_SAVE_OFFSET): Likewise.
27272 (STATE_SAVE_MASK): Likewise.
27273 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
27274 (cpu_features): Add xsave_state_size and xsave_state_full_size.
27275 (index_arch_Use_dl_runtime_resolve_opt): Removed.
27276 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
27277 (index_arch_XSAVEC_Usable): New.
27278 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
27279 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
27280 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
27281 is enabled.
27282 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
27283 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
27284 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
27285 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
27286 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
27287 _dl_runtime_resolve_xsavec.
27288 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
27289 Removed.
27290 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
27291 instead of VEC_SIZE.
27292 (REGISTER_SAVE_BND0): Removed.
27293 (REGISTER_SAVE_BND1): Likewise.
27294 (REGISTER_SAVE_BND3): Likewise.
27295 (REGISTER_SAVE_RAX): Always defined to 0.
27296 (VMOV): Removed.
27297 (_dl_runtime_resolve_avx): Likewise.
27298 (_dl_runtime_resolve_avx_slow): Likewise.
27299 (_dl_runtime_resolve_avx_opt): Likewise.
27300 (_dl_runtime_resolve_avx512): Likewise.
27301 (_dl_runtime_resolve_avx512_opt): Likewise.
27302 (_dl_runtime_resolve_sse): Likewise.
27303 (_dl_runtime_resolve_sse_vex): Likewise.
27304 (USE_FXSAVE): New.
27305 (_dl_runtime_resolve_fxsave): Likewise.
27306 (USE_XSAVE): Likewise.
27307 (_dl_runtime_resolve_xsave): Likewise.
27308 (USE_XSAVEC): Likewise.
27309 (_dl_runtime_resolve_xsavec): Likewise.
27310 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
27311 Removed.
27312 (_dl_runtime_resolve_avx512_opt): Likewise.
27313 (_dl_runtime_resolve_avx): Likewise.
27314 (_dl_runtime_resolve_avx_opt): Likewise.
27315 (_dl_runtime_resolve_sse): Likewise.
27316 (_dl_runtime_resolve_sse_vex): Likewise.
27317 (_dl_runtime_resolve_fxsave): New.
27318 (_dl_runtime_resolve_xsave): Likewise.
27319 (_dl_runtime_resolve_xsavec): Likewise.
27320
363e4519 273212017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
27322
27323 [BZ #22320]
27324 CVE-2017-15670
27325 * posix/glob.c (__glob): Fix one-byte overflow.
27326
6d43de4b
WD
273272017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27328
27329 * malloc/malloc.c (sysdep-cancel.h): Add include.
27330
a15d53e2
WD
273312017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27332
27333 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27334
b9a558e7
WH
273352017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27336
27337 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27338 (tests): Remove $(objpfx)ga_test depdendency.
27339 * resolv/ga_test.c: Remove file.
27340
b6b08b8e
MF
273412017-10-20 Mike FABIAN <mfabian@redhat.com>
27342
27343 [BZ #18812]
27344 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27345 * localedata/locales/kab_DZ: New file.
27346
9ba7e810
L
273472017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27348
27349 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27350 _dl_relocate_static_pie instead of _dl_start to compute load
27351 address in static PIE.
27352
4027a4fd
L
273532017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27354
27355 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27356
2f9314b4
MF
273572017-10-20 Mike FABIAN <mfabian@redhat.com>
27358
27359 [BZ #13605]
27360 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27361 * localedata/locales/shn_MM: New file.
27362
63b4baa4
FW
273632017-10-20 Florian Weimer <fweimer@redhat.com>
27364
27365 [BZ #22321]
27366 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27367 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27368 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27369 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27370 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27371 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27372
95ccb619
L
273732017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27374
27375 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27376
37bb78cb
JM
273772017-10-19 Joseph Myers <joseph@codesourcery.com>
27378
76f2ed92
JM
27379 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27380
37bb78cb
JM
27381 [BZ #22322]
27382 * sysdeps/mips/bits/long-double.h: Move to ....
27383 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27384
d74e6f6c
WD
273852017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27386
27387 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27388
363e4519 273892017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27390 H.J. Lu <hongjiu.lu@intel.com>
27391
27392 [BZ #22299]
27393 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27394 GLRO(dl_platform) to NULL.
27395 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27396 (modules-names): Add tst-platformmod-1 and
27397 x86_64/tst-platformmod-2.
27398 (CFLAGS-tst-platform-1.c): New.
27399 (CFLAGS-tst-platformmod-1.c): Likewise.
27400 (CFLAGS-tst-platformmod-2.c): Likewise.
27401 (LDFLAGS-tst-platformmod-2.so): Likewise.
27402 ($(objpfx)tst-platform-1): Likewise.
27403 ($(objpfx)tst-platform-1.out): Likewise.
27404 (tst-platform-1-ENV): Likewise.
27405 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27406 * sysdeps/x86_64/tst-platform-1.c: New file.
27407 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27408 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27409
4b0fa403
MF
274102017-10-19 Mike FABIAN <mfabian@redhat.com>
27411
27412 [BZ #13994]
27413 * locale/iso-639.def: Add Karbi.
27414 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27415 * localedata/locales/mjw_IN: New file.
27416
81325b12
JM
274172017-10-18 Joseph Myers <joseph@codesourcery.com>
27418
27419 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27420 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27421 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27422 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27423 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27424 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27425 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27426 <bits/floatn.h>.
27427 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27428 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27429 * manual/math.texi (Mathematics): Document additional architecture
27430 support for _Float128.
27431 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27432 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27433 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27434 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27435 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27436 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27437 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27438 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27439 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27440 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27441 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27442 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27445 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27446
a68ba2f3
SN
274472017-10-18 Renlin Li <renlin.li@arm.com>
27448
27449 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27450 _DYNAMIC symbol to calculate load address.
27451
346729f6
PC
274522017-10-18 Paul A. Clarke <pc@us.ibm.com>
27453
27454 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27455 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27456 summary bits.
27457 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27458 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27459
508b1e71
MF
274602017-10-18 Mike FABIAN <mfabian@redhat.com>
27461
27462 [BZ #16777]
27463 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27464 and improve readability by using more ASCII.
27465 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27466 and improve readability by using more ASCII.
27467
2c2245b9
WD
274682017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27469
27470 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27471 not all targets support atomics on bool.
27472
13c92696
JM
274732017-10-17 Joseph Myers <joseph@codesourcery.com>
27474
27475 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27476 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27477 __f128.
27478 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27479 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27480 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27481 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27482 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27483 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27484
71d85045
AZ
274852017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27486
27487 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27488 defines.
27489
3381be5c
WD
274902017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27491
27492 [BZ #22159]
27493 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27494 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27495 (do_check_remalloced_chunk): Fix build bug.
27496 (do_check_malloc_state): Add assert that checks arena->top.
27497 (malloc_consolidate): Remove initialization.
27498 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27499 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27500
e956075a
WD
275012017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27502
27503 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27504 (have_fastchunks): Remove.
27505 (clear_fastchunks): Remove.
27506 (set_fastchunks): Remove.
27507 (malloc_state): Add have_fastchunks.
27508 (malloc_init_state): Use have_fastchunks.
27509 (do_check_malloc_state): Remove incorrect invariant checks.
27510 (_int_malloc): Use have_fastchunks.
27511 (_int_free): Likewise.
27512 (malloc_consolidate): Likewise.
27513
e4dd4ace
WD
275142017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27515
27516 * malloc/malloc.c (tcache_put): Inline.
27517 (tcache_get): Inline.
27518
5bf58bc7
AJ
275192017-10-17 Jordi Mallach <jordi@gnu.org>
27520
27521 Aurelien Jarno <aurelien@aurel32.net>
27522 [BZ #2522]
27523 * localedata/locales/ca_ES@valencia: New file.
27524 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27525
386e1c26
RN
275262017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27527
27528 [BZ #22296]
27529 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27530 < 6.x
27531
4e17c78e
AZ
275322017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27533
3d265601
AZ
27534 * scripts/build-many-glibcs.py (Context.add_all_configs):
27535 Add arm-linux-gnueabihf multiarch extra_glibcs.
27536
4e17c78e
AZ
27537 * sysdeps/generic/ifunc-init.h: New file.
27538 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27539
56a752ab
MF
275402017-10-17 Mike FABIAN <mfabian@redhat.com>
27541
27542 [BZ #22019]
27543 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27544 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27545 * stdlib/tst-strfmon_l.c: adapt test case.
27546
c38a4bfd
JM
275472017-10-16 Joseph Myers <joseph@codesourcery.com>
27548
27549 * sysdeps/generic/float128-abi.h: New file.
27550 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27551 non-__prefixed symbols to ....
27552 * math/Versions: ... here. Include <float128-abi.h>.
27553 * stdlib/Versions ... and here. Include <float128-abi.h>
27554
76009b26
FW
275552017-10-16 Florian Weimer <fweimer@redhat.com>
27556
27557 * version.h (VERSION): Switch to ".9000" as the development
27558 version suffix.
27559
7ece6cd5
FW
275602017-10-16 Florian Weimer <fweimer@redhat.com>
27561
27562 [BZ #22050]
27563 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27564 compat_symbol_reference to access non-default version.
27565
d8287b36
FW
275662017-10-16 Florian Weimer <fweimer@redhat.com>
27567
27568 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27569
3480ddc4
CD
275702017-10-16 Carlos O'Donell <carlos@redhat.com>
27571
27572 * include/shlib-compat.h (compat_symbol_reference): Update
27573 comment.
27574
02010e79
JM
275752017-10-16 Joseph Myers <joseph@codesourcery.com>
27576
596f7013
JM
27577 * math/Makefile (test-types): Add
27578 $(type-float128-$(float128-alias-fcts)).
27579 * math/test-float128.h (TYPE_STR): Define conditional on
27580 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27581 (ULP_IDX): Likewise.
27582 (ULP_I_IDX): Likewise.
27583
02010e79
JM
27584 * stdlib/strtold.c: Include <bits/floatn.h>
27585 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27586 and later undefine as macro. Define as weak alias if
27587 [!USE_WIDE_CHAR].
27588 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27589 and later undefine as macro. Define as weak alias if
27590 [USE_WIDE_CHAR].
27591 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27592 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27593 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27594 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27595 Define and later undefine as macro. Define as weak alias if
27596 [USE_WIDE_CHAR].
27597 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27598 <bits/floatn.h>.
27599 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27600 Define and later undefine as macro. Define as weak alias if
27601 [!USE_WIDE_CHAR].
27602 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27603 Define and later undefine as macro. Define as weak alias if
27604 [USE_WIDE_CHAR].
27605
ea91c315
CD
276062017-10-15 Carlos O'Donell <carlos@redhat.com>
27607
27608 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27609 record_verbose messages.
27610
8e57c943
L
276112017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27612
27613 [BZ #22052]
27614 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27615 to silence -O3 -Wall warning with GCC 7.
27616
a4777c46
L
276172017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27618
27619 * Makeconfig (+link-static-before-libc): Use the first of
27620 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27621 * gmon/Makefile (tests): Add tst-gmon-static.
27622 (tests-static): Likewise.
27623 (CFLAGS-tst-gmon-static.c): New.
27624 (CRT-tst-gmon-static): Likewise.
27625 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27626 (tst-gmon-static-ENV): Likewise.
27627 (tests-special): Likewise.
27628 ($(objpfx)tst-gmon-static.out): Likewise.
27629 (clean-tst-gmon-static-data): Likewise.
27630 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27631 * gmon/tst-gmon-static-gprof.sh: New file.
27632 * gmon/tst-gmon-static.c: Likewise.
27633
bc3821bb
CD
276342017-10-13 Carlos O'Donell <carlos@redhat.com>
27635
27636 [BZ #22295]
27637 * locale/programs/linereader.c (get_string): Don't warn on
27638 non-symbolic character.
27639
a3e23a2c
CD
27640 [BZ #22294]
27641 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27642 int_curr_symbol.
27643
f16491eb
CD
27644 [BZ #22292]
27645 * locale/programs/record-status.h: New file
27646 * locale/programs/locale.c: Add comment.
27647 * locale/programs/charmap-dir.c: Don't include error.h.
27648 (charmap_opendir): Use record_error.
27649 * locale/programs/charmap.c: Don't include error.h.
27650 (charmap_read): Use record_error, and record_warning.
27651 (parse_charmap): Likewise.
27652 * locale/programs/ld-address.c: Don't include error.h.
27653 (address_finish): Use record_error, and record_warning.
27654 * locale/programs/ld-collate.c: Don't include error.h.
27655 (collate_finish): Use record_error, and record_error_at_line.
27656 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27657 (ctype_class_new): Likewise.
27658 (ctype_map_new): Likewise.
27659 (set_one_default): Likewise.
27660 (set_class_defaults): Likewise.
27661 (translit_flatten): Likewise.
27662 (allocate_arrays): Use record_error, and record_verbose.
27663 * locale/programs/ld-identification.c: Don't include error.h.
27664 (indentation_finish): Use record_error and record_warning.
27665 * locale/programs/ld-measurement.c: Don't include error.h.
27666 (measurement_finish): Use record_error.
27667 * locale/programs/ld-messages.c
27668 (message_finish): Likewise.
27669 * locale/programs/ld-monetary.c
27670 (monetary_finish): Likewise.
27671 * locale/programs/ld-name.c (name_finish): Use record_error
27672 and record_warning.
27673 * locale/programs/ld-numeric.c
27674 (numeric_finish): Use record_error.
27675 * locale/programs/ld-paper.c: Don't include error.h.
27676 (paper_finish): Use record_error.
27677 * locale/programs/ld-telephone.c: Don't include error.h.
27678 (telephone_finish): Use record_error.
27679 * locale/programs/ld-time.c (time_finish): Likewise.
27680 * locale/programs/linereader.h (lr_error): Make inline func.
27681 * locale/programs/localedef.c: Define recorded_warning_count,
27682 and recorded_error_count.
27683 (main): Use record_error. Use recorded_error_count and
27684 recorded_warning_count to issue correct error returns.
27685 (add_to_readlist): Use record_error.
27686 (find_locale): Likewise.
27687 (load_locale): Likewise.
27688 * locale/programs/localedef.h: Remove be_quiet
27689 and WITH_CUR_LOCALE.
27690 * locale/programs/locarchive.c (compare_from_file): Use
27691 record_error.
27692 * locale/programs/locfile.c (write_locale_data): Use
27693 record_error.
27694 * locale/programs/repertoire.c: Dont include error.h.
27695 (repertoire_complain): Use record_error.
27696 * localedata/tst-fmon.sh: Expect failures from localedef.
27697 * localedata/tst-locale.sh: Likewise.
27698 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27699
8dc8be75
CD
27700 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27701 (REPORTS): Likewise.
27702 (check): Likewise.
27703 (i18n): Rename to...
27704 (i18n_ctype): ...this.
27705 (i18n-report): Rename to...
27706 (i18n_ctype-report): ...this.
27707 * localedata/locales/i18n_ctype: Regenerate.
27708 * localedata/locales/i18n: copy i18n_ctype.
27709
f8718a9e
JM
277102017-10-13 Joseph Myers <joseph@codesourcery.com>
27711
18c08b96
JM
27712 * stdlib/strfroml.c: Include <bits/floatn.h>.
27713 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27714 Define before include of <stdlib.h> and undefine afterwards, then
27715 define as weak alias.
27716
f8718a9e
JM
27717 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27718 Undefine and restore default definition. Use
27719 libm_alias_ldouble_other.
27720
e4f530da
PZ
277212017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27722
27723 [BZ #22153]
27724 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27725 in coredumps.
27726
86445888
JC
277272017-10-13 James Clarke <jrtc27@jrtc27.com>
27728
27729 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27730 Assign sym_map to be map for local symbols, as TLS relocations
27731 use sym_map to determine whether the symbol is defined and to
27732 extract the TLS information.
27733 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27734 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27735
179dcdb7
TMQMF
277362017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27737
e8dbd6a3
TMQMF
27738 [BZ #22189]
27739 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27740 (math_force_eval): Add powerpc version.
27741
179dcdb7
TMQMF
27742 [BZ #22142]
27743 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27744 -DBL_MAX.
27745 (do_test): Likewise.
27746 * stdio-common/tst-printf.sh: Likewise.
27747 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27748 ifdef clause in order to set the carry bit right. Replace r0 by
27749 0 without changing the behavior.
27750
7d25d410
JM
277512017-10-13 Joseph Myers <joseph@codesourcery.com>
27752
006e7664
JM
27753 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27754 <libm-alias-ldouble.h>.
27755 (fabsl): Define using libm_alias_ldouble.
27756 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27757 <libm-alias-ldouble.h>.
27758 (fabsl): Define using libm_alias_ldouble.
27759
1def91b3
JM
27760 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27761 Remove conditional code.
27762
7d25d410
JM
27763 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27764 Rename to __clog10_internal_l.
27765 (__clog10_internal_l): Define aliases using
27766 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27767 with __clog10.
27768
077ee129
RS
277692017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27770
27771 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27772 * benchtests/sincosf-inputs: New file.
27773 * benchtests/cosf-inputs: New file.
27774 * benchtests/sinf-inputs: New file.
27775
5ba41de9
SN
277762017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27777
27778 * posix/tst-spawn.c (do_test): Wait for both children.
27779
d165ca64
L
277802017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27781
27782 [BZ #22284]
27783 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27784 tests-pie): Add tst-gmon-pie.
27785 (CFLAGS-tst-gmon-pie.c): New.
27786 (CRT-tst-gmon-pie): Likewise.
27787 (tst-gmon-pie-ENV): Likewise.
27788 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27789 ($(objpfx)tst-gmon-pie.out): Likewise.
27790 (clean-tst-gmon-pie-data): Likewise.
27791 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27792 * gmon/gmon.c [PIC]: Include <link.h>.
27793 [PIC] (callback): New function.
27794 (write_hist): Add an argument for load address. Subtract load
27795 address from PCs.
27796 (write_call_graph): Likewise.
27797 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27798 it to write_hist and write_call_graph.
7bacdcfc 27799 * gmon/tst-gmon-pie.c: New file.
d165ca64 27800
bc9620d0
JM
278012017-10-11 Joseph Myers <joseph@codesourcery.com>
27802
27803 * math/Makefile (test-types-basic): New variable.
27804 (test-types): Likewise.
27805 (libm-test-support): Use $(test-types) instead of $(types).
27806 (libm-tests-base-normal): Likewise.
27807 (libm-tests-base-finite): Likewise.
27808 (libm-tests-base-inline): Likewise.
27809 (generated): Likewise.
27810 ($(objpfx)libm-test-support-$(t).c): Likewise.
27811 (libm-tests-for-type iterator): Likewise.
27812 (libm-test-support iterator): Likewise.
27813 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27814 (ulp_idx): Use ULP_IDX.
27815 * math/test-ldouble.h: Include <float.h>.
27816 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27817 (ULP_IDX): New macro.
27818 (ULP_I_IDX): Likewise.
27819 * math/test-double.h (ULP_IDX): Likewise.
27820 (ULP_I_IDX): Likewise.
27821 * math/test-float.h (ULP_IDX): Likewise.
27822 (ULP_I_IDX): Likewise.
27823 * math/test-float128.h (ULP_IDX): Likewise.
27824 (ULP_I_IDX): Likewise.
27825
09c76a74
AZ
278262017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27827
27828 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27829 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27830 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27831 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27832 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27833 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27834 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27835 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27836 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27837 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27838 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27839 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27840 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27842 (SINGLE_THREAD_BY_GLOBAL): Define.
27843 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27844 Likewise.
27845 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27846 Likewise.
27847 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27848 Likewise.
27849 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27850 Likewise.
27851 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27852 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27853 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27854 Likewise.
27855
2faa42da
AS
278562017-10-11 Andreas Schwab <schwab@suse.de>
27857
27858 * nis/Makefile (aux): Remove.
27859 * nscd/Makefile (aux): Add nscd_hash.
27860 (nscd-modules): Likewise.
27861 ($(objpfx)nscd): Don't depend on libnsl.
27862 * nscd/nscd_hash.c: New file.
27863 * nscd/nscd_hash.h: Likewise.
27864 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27865 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27866 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27867 instead of <nis/rpcsvc/nis.h>.
27868 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27869
d8425e11
FW
278702017-10-11 Florian Weimer <fweimer@redhat.com>
27871
27872 [BZ #22078]
27873 Avoid large NSS buffers with many addresses, aliases.
27874 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27875 using dynarrays and struct alloc_buffer.
27876 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27877 (tst-nss-files-hosts-multi): Link with -ldl.
27878 * nss/tst-nss-files-hosts-multi.c: New file.
27879
78e806fd
FW
278802017-10-11 Florian Weimer <fweimer@redhat.com>
27881
27882 [BZ #18023]
27883 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27884 scratch_buffer. Eliminate gotos.
27885
541f19ba
JM
278862017-10-11 Joseph Myers <joseph@codesourcery.com>
27887
0ff64d3a
JM
27888 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27889 libm_alias_ldouble_other.
27890 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27891 undefine and redefine.
27892 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27893 (exp10l): Do not define here.
27894 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27895 (weak_alias): Undefine and redefine.
27896 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27897 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27898 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27899 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27900
541f19ba
JM
27901 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27902 [!__fma] (fma): Define using libm_alias_double.
27903 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27904 [!__fmaf] (fmaf): Define using libm_alias_float.
27905 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27906 (fmal): Define using libm_alias_ldouble.
27907
24b6515d
JM
279082017-10-10 Joseph Myers <joseph@codesourcery.com>
27909
27910 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27911 New macro.
27912 (libm_alias_double_other): Likewise.
27913 (libm_alias_double_r): Use libm_alias_double_other_r.
27914 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27915 New macro.
27916 (libm_alias_float_other): Likewise.
27917 (libm_alias_float_r): Use libm_alias_float_other_r.
27918 * sysdeps/generic/libm-alias-float128.h
27919 (libm_alias_float128_other_r): New macro.
27920 (libm_alias_float128_other): Likewise.
27921 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27922 * sysdeps/generic/libm-alias-ldouble.h
27923 (libm_alias_ldouble_other_r): New macro.
27924 (libm_alias_ldouble_other): Likewise.
27925 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27926 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27927 (libm_alias_double_other_r): New macro.
27928 (libm_alias_double_other): Likewise.
27929 (libm_alias_double_r): Use libm_alias_double_other_r.
27930 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27931 (libm_alias_ldouble_other_r): New macro.
27932 (libm_alias_ldouble_other): Likewise.
27933 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27934 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27935 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27936 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27937 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27938 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27939 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27940 * math/w_exp2f.c: Use libm_alias_float_other.
27941 * math/w_expf.c: Likewise.
27942 * math/w_log2f.c: Likewise.
27943 * math/w_logf.c: Likewise.
27944 * math/w_powf.c: Likewise.
27945 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27946 [!__exp2f]: Use libm_alias_float_other.
27947 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27948 [!__expf]: Use libm_alias_float_other.
27949 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27950 [!__log2f]: Use libm_alias_float_other.
27951 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27952 [!__logf]: Use libm_alias_float_other.
27953 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27954 [!__powf]: Use libm_alias_float_other.
27955
8ed70de2
FW
279562017-10-10 Florian Weimer <fweimer@redhat.com>
27957
27958 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27959 function.
27960 (_nss_files_gethostbyname3_r): Call it.
27961
a8dce619
JM
279622017-10-09 Joseph Myers <joseph@codesourcery.com>
27963
27964 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27965 error. Remove default definition of declare_mgen_alias.
27966 [!declare_mgen_alias_r]: Likewise.
27967 * sysdeps/generic/math-type-macros-double.h
27968 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27969 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27970 (declare_mgen_alias_r): Likewise.
27971 * sysdeps/generic/math-type-macros-float128.h
27972 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27973 * sysdeps/generic/math-type-macros-ldouble.h
27974 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27975 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27976 macro.
27977 (declare_mgen_alias_r_s): Likewise.
27978 (declare_mgen_alias_r): Likewise.
27979 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27980 (lgamma_r): Define using libm_alias_double_r.
27981 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27982 (lgammaf_r): Define using libm_alias_float_r.
27983 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27984 (lgammal_r): Define using libm_alias_ldouble_r.
27985 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27986 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27987
bedac136
AZ
279882017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27989
27990 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27991 extern declaration.
27992
c7509db2
JM
279932017-10-09 Joseph Myers <joseph@codesourcery.com>
27994
27995 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27996
d6c064e9
JW
279972017-10-09 Jonathan Wakely <jwakely@redhat.com>
27998
27999 [BZ #21326]
28000 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
28001 [__cplusplus >= 201103] (__USE_ISOC99): Define.
28002 * math/Makefile (test-math-cxx11): New test.
28003 * math/test-math-cxx11.cc: New file.
28004
98e07420
CB
280052017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
28006
28007 * login/openpty.c (openpty): Close slave pty file descriptor on error.
28008
645ac9aa
CB
28009 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
28010 call to allocate the slave pty file descriptor.
28011
fd3b4e7c
JM
280122017-10-06 Joseph Myers <joseph@codesourcery.com>
28013
f85a176f
JM
28014 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
28015 [!__fma] (fma): Define using libm_alias_double.
28016 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
28017 [!__fma] (fma): Define using libm_alias_double.
28018
fd3b4e7c
JM
28019 * sysdeps/ieee754/float128/float128_private.h: Include
28020 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
28021 (libm_alias_ldouble_r): Undefine and redefine.
28022 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
28023 <libm-alias-ldouble.h>.
28024 (asinhl): Define using libm_alias_ldouble.
28025 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
28026 <libm-alias-ldouble.h>.
28027 (atanl): Define using libm_alias_ldouble.
28028 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
28029 <libm-alias-ldouble.h>.
28030 (cbrtl): Define using libm_alias_ldouble.
28031 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
28032 <libm-alias-ldouble.h>.
28033 (ceill): Define using libm_alias_ldouble.
28034 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
28035 <libm-alias-ldouble.h>.
28036 (copysignl): Define using libm_alias_ldouble.
28037 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
28038 <libm-alias-ldouble.h>.
28039 (cosl): Define using libm_alias_ldouble.
28040 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
28041 <libm-alias-ldouble.h>.
28042 (erfl): Define using libm_alias_ldouble.
28043 (erfcl): Likewise.
28044 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
28045 <libm-alias-ldouble.h>.
28046 (expm1l): Define using libm_alias_ldouble.
28047 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
28048 <libm-alias-ldouble.h>.
28049 (fabsl): Define using libm_alias_ldouble.
28050 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
28051 <libm-alias-ldouble.h>.
28052 (floorl): Define using libm_alias_ldouble.
28053 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
28054 <libm-alias-ldouble.h>.
28055 (fmal): Define using libm_alias_ldouble.
28056 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
28057 <libm-alias-ldouble.h>.
28058 (frexpl): Define using libm_alias_ldouble.
28059 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
28060 libm_alias_ldouble.
28061 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
28062 <libm-alias-ldouble.h>.
28063 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
28064 libm_alias_ldouble.
28065 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
28066 <libm-alias-ldouble.h>.
28067 (getpayloadl): Define using libm_alias_ldouble.
28068 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
28069 <libm-alias-ldouble.h>.
28070 (llrintl): Define using libm_alias_ldouble.
28071 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
28072 <libm-alias-ldouble.h>.
28073 (llroundl): Define using libm_alias_ldouble.
28074 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
28075 <libm-alias-ldouble.h>.
28076 (logbl): Define using libm_alias_ldouble.
28077 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
28078 <libm-alias-ldouble.h>.
28079 (lrintl): Define using libm_alias_ldouble.
28080 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
28081 <libm-alias-ldouble.h>.
28082 (lroundl): Define using libm_alias_ldouble.
28083 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
28084 <libm-alias-ldouble.h>.
28085 (modfl): Define using libm_alias_ldouble.
28086 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
28087 <libm-alias-ldouble.h>.
28088 (nearbyintl): Define using libm_alias_ldouble.
28089 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
28090 <libm-alias-ldouble.h>.
28091 (nextafterl): Define using libm_alias_ldouble.
28092 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
28093 <libm-alias-ldouble.h>.
28094 (nextupl): Define using libm_alias_ldouble.
28095 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
28096 <libm-alias-ldouble.h>.
28097 (remquol): Define using libm_alias_ldouble.
28098 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
28099 <libm-alias-ldouble.h>.
28100 (rintl): Define using libm_alias_ldouble.
28101 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
28102 <libm-alias-ldouble.h>.
28103 (roundevenl): Define using libm_alias_ldouble.
28104 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
28105 <libm-alias-ldouble.h>.
28106 (roundl): Define using libm_alias_ldouble.
28107 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
28108 using libm_alias_ldouble.
28109 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
28110 <libm-alias-ldouble.h>.
28111 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
28112 Define using libm_alias_ldouble.
28113 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
28114 <libm-alias-ldouble.h>.
28115 (sincosl): Define using libm_alias_ldouble.
28116 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
28117 <libm-alias-ldouble.h>.
28118 (sinl): Define using libm_alias_ldouble.
28119 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
28120 <libm-alias-ldouble.h>.
28121 (tanhl): Define using libm_alias_ldouble.
28122 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
28123 <libm-alias-ldouble.h>.
28124 (tanl): Define using libm_alias_ldouble.
28125 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
28126 <libm-alias-ldouble.h>.
28127 (totalorderl): Define using libm_alias_ldouble.
28128 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
28129 <libm-alias-ldouble.h>.
28130 (totalordermagl): Define using libm_alias_ldouble.
28131 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
28132 <libm-alias-ldouble.h>.
28133 (truncl): Define using libm_alias_ldouble.
28134 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
28135 libm_alias_ldouble.
28136 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
28137 libm_alias_ldouble.
28138 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
28139 <libm-alias-ldouble.h>.
28140 (weak_alias): Do not undefine and redefine.
28141 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28142 (copysignl): Define with long_double_symbol only if [IS_IN
28143 (libc)].
28144 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
28145 <libm-alias-ldouble.h>.
28146 (weak_alias): Do not undefine and redefine.
28147 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28148 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
28149 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
28150 <libm-alias-ldouble.h>.
28151 (weak_alias): Do not undefine and redefine.
28152 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
28153 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
28154 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
28155 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
28156 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
28157 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
28158 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
28159 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
28160 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
28161 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
28162 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
28163 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
28164 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
28165 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
28166 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
28167 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
28168 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
28169 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
28170 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
28171 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
28172 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
28173 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
28174 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
28175 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
28176 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
28177 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
28178
1e26d351
CD
281792017-10-06 Carlos O'Donell <carlos@redhat.com>
28180
28181 [BZ #22111]
28182 * malloc/malloc.c (tcache_shutting_down): Use bool type.
28183 (tcache_thread_freeres): Set tcache_shutting_down before
28184 freeing the tcache.
28185 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
28186 * malloc/tst-malloc-tcache-leak.c: New file.
28187
d1386762
RS
281882017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28189
28190 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
28191 back to powerpc32 file.
28192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28193 (memrchr): Add __memrchr_power8 to ifunc list.
28194 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
28195 extra bytes for unaligned inputs.
28196
6dff1983
JM
281972017-10-06 Joseph Myers <joseph@codesourcery.com>
28198
28199 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
28200 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
28201 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
28202 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28203 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28204
86f9568a
JM
282052017-10-05 Joseph Myers <joseph@codesourcery.com>
28206
0db0b931
JM
28207 * sysdeps/arm/libm-test-ulps: Update.
28208
86f9568a
JM
28209 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
28210 <libm-alias-ldouble.h>.
28211 (asinhl): Define using libm_alias_ldouble.
28212 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
28213 <libm-alias-ldouble.h>.
28214 (cbrtl): Define using libm_alias_ldouble.
28215 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
28216 <libm-alias-ldouble.h>.
28217 (copysignl): Define using libm_alias_ldouble.
28218 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
28219 <libm-alias-ldouble.h>.
28220 (cosl): Define using libm_alias_ldouble.
28221 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
28222 <libm-alias-ldouble.h>.
28223 (erfl): Define using libm_alias_ldouble.
28224 (erfcl): Likewise.
28225 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
28226 <libm-alias-ldouble.h>.
28227 (fmal): Define using libm_alias_ldouble.
28228 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
28229 <libm-alias-ldouble.h>.
28230 (frexpl): Define using libm_alias_ldouble.
28231 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
28232 libm_alias_ldouble.
28233 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
28234 <libm-alias-ldouble.h>.
28235 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
28236 libm_alias_ldouble.
28237 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
28238 <libm-alias-ldouble.h>.
28239 (getpayloadl): Define using libm_alias_ldouble.
28240 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
28241 <libm-alias-ldouble.h>.
28242 (llrintl): Define using libm_alias_ldouble.
28243 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
28244 <libm-alias-ldouble.h>.
28245 (llroundl): Define using libm_alias_ldouble.
28246 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
28247 <libm-alias-ldouble.h>.
28248 (lrintl): Define using libm_alias_ldouble.
28249 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
28250 <libm-alias-ldouble.h>.
28251 (lroundl): Define using libm_alias_ldouble.
28252 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
28253 <libm-alias-ldouble.h>.
28254 (modfl): Define using libm_alias_ldouble.
28255 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
28256 <libm-alias-ldouble.h>.
28257 (nextupl): Define using libm_alias_ldouble.
28258 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
28259 <libm-alias-ldouble.h>.
28260 (remquol): Define using libm_alias_ldouble.
28261 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
28262 <libm-alias-ldouble.h>.
28263 (roundevenl): Define using libm_alias_ldouble.
28264 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
28265 <libm-alias-ldouble.h>.
28266 (roundl): Define using libm_alias_ldouble.
28267 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
28268 using libm_alias_ldouble.
28269 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
28270 <libm-alias-ldouble.h>.
28271 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
28272 <libm-alias-ldouble.h>.
28273 (setpayloadsigl): Define using libm_alias_ldouble.
28274 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
28275 <libm-alias-ldouble.h>.
28276 (sincosl): Define using libm_alias_ldouble.
28277 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
28278 <libm-alias-ldouble.h>.
28279 (sinl): Define using libm_alias_ldouble.
28280 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
28281 <libm-alias-ldouble.h>.
28282 (tanhl): Define using libm_alias_ldouble.
28283 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
28284 <libm-alias-ldouble.h>.
28285 (tanl): Define using libm_alias_ldouble.
28286 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
28287 <libm-alias-ldouble.h>.
28288 (totalorderl): Define using libm_alias_ldouble.
28289 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
28290 <libm-alias-ldouble.h>.
28291 (totalordermagl): Define using libm_alias_ldouble.
28292 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
28293 libm_alias_ldouble.
28294 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
28295 libm_alias_ldouble.
28296
9ec87fd2
SP
282972017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
28298
dd5bc7f1
SP
28299 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
28300 memmove_falkor.
28301 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
28302 (__libc_ifunc_impl_list): Likewise.
28303 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
28304 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
28305
5bfb0404
SP
28306 * benchtests/bench-memmove-walk.c: New file.
28307 * benchtests/Makefile (string-benchset): Add it.
28308
36bb8edf
SP
28309 * benchtests/bench-memset-walk.c: New file.
28310 * benchtests/Makefile (string-benchset): Add it.
28311
9ec87fd2
SP
28312 * benchtests/bench-memcpy-walk.c: New file.
28313 * benchtests/Makefile (string-benchset): Add it.
28314
1e9522c6
FW
283152017-10-05 Florian Weimer <fweimer@redhat.com>
28316
28317 nscd: Eliminate compilation time dependency in the build output.
28318 * nscd/nscd_stat.c (STATDATA_VERSION)
28319 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
28320 (STATDATA_VERSION_FULL): New macro definitions.
28321 (compilation): Remove.
28322 (struct statdata): Adjust version member.
28323 (send_stats): Set version from STATDATA_VERSION_FULL.
28324 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
28325
644d3857
JM
283262017-10-05 Joseph Myers <joseph@codesourcery.com>
28327
28328 * configure.ac (--enable-add-ons): Remove option.
28329 (machine): Do not mention add-ons in comment.
28330 (LIBC_PRECONFIGURE): Likewise.
28331 (add_ons): Remove variable and sanity checks and logic to locate
28332 add-ons.
28333 (add_ons_automatic): Remove variable.
28334 (configured_add_ons): Likewise.
28335 (add_ons_sfx): Likewise.
28336 (add_ons_pfx): Likewise.
28337 (add_on_subdirs): Likewise.
28338 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28339 consideration of add-ons in Implies handling.
28340 (sysdeps_add_ons): Likewise.
28341 * configure: Regenerated.
28342 * libidn/configure.ac: Remove.
28343 * libidn/configure: Likewise.
28344 * sysdeps/unix/inet/configure.ac: New file.
28345 * sysdeps/unix/inet/configure: New generated file.
28346 * sysdeps/unix/inet/Subdirs: Add libidn.
28347 * Makeconfig (sysdeps-srcdirs): Remove variable.
28348 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28349 ($(common-objpfx)config.status): Do not depend on add-on files.
28350 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28351 comment.
28352 (all-subdirs): Do not include $(add-on-subdirs).
28353 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28354 * config.make.in (add-ons): Remove variable.
28355 (add-on-subdirs): Likewise.
28356 (sysdeps-add-ons): Likewise.
28357 * manual/Makefile (add-chapters): Remove.
28358 ($(objpfx)texis): Do not depend on $(add-chapters).
28359 (nonexamples): Do not handle $(add-chapters).
28360 (examples): Do not handle $(add-ons).
28361 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28362 libc-texinfo.sh.
28363 * manual/install.texi (Installation): Do not mention add-ons.
28364 (--enable-add-ons): Do not document configure option.
28365 * INSTALL: Regenerated.
28366 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28367 * manual/maint.texi (Hierarchy Conventions): Do not mention
28368 add-ons.
28369 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28370 --enable-add-ons.
28371 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28372 add-ons.
28373 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28374 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28375
19f82f35
AS
283762017-10-05 Andreas Schwab <schwab@suse.de>
28377
28378 [BZ #15142]
28379 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28380 (_IO_flush_all_lockp): Always lock list_all_lock.
28381 (_IO_flush_all_linebuffered): Likewise.
28382 (_IO_unbuffer_all): Likewise.
28383
91e7cf98
FW
283842017-10-05 Florian Weimer <fweimer@redhat.com>
28385
28386 [BZ #15436]
28387 Do not flush stdio streams on abort.
28388 * stdlib/abort.c (fflush): Remove macro definition.
28389 (abort): Remove stages related to stdio flushing.
28390
0c251257
FW
283912017-10-05 Florian Weimer <fweimer@redhat.com>
28392
28393 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28394
7ea59e3e
SL
283952017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28396
28397 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28398
84d0e6f0
FW
283992017-10-05 Florian Weimer <fweimer@redhat.com>
28400
28401 * support/support_format_hostent.c (support_format_hostent): Add
28402 more error information for NETDB_INTERNAL.
28403
ee417882
L
284042017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28405
28406 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28407 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28408 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28409 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28410 AC_DEFINE if multi-arch is enabled.
28411 * sysdeps/i386/configure: Regenerated.
28412
a67029ff
L
284132017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28414
28415 * Makeconfig (+link-static-before-libc): Use
28416 $(DEFAULT-LDFLAGS-$(@F)).
28417 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28418 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28419 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28420
5dba84b3
L
284212017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28422
28423 * elf/Makefile (tests): Add tst-main1.
28424 (modules-names): Add tst-main1mod.
28425 ($(objpfx)tst-main1): New.
28426 (CRT-tst-main1): Likewise.
28427 (LDFLAGS-tst-main1): Likewise.
28428 (LDLIBS-tst-main1): Likewise.
28429 (tst-main1mod.so-no-z-defs): Likewise.
28430 * elf/tst-main1.c: New file.
28431 * elf/tst-main1mod.c: Likewise.
28432
758f1bfa
L
284332017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28434
28435 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28436
7e16a5d1
JM
284372017-10-04 Joseph Myers <joseph@codesourcery.com>
28438
28439 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28440 (fma): Define using libm_alias_double.
28441 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28442 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28443 <math_ldbl_opt.h>.
28444 (fmal): Do not define as compat symbol here.
28445 * sysdeps/alpha/fpu/s_fma.c: New file.
28446
db4f87ba
SN
284472017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28448
28449 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28450
72d13ed1
JM
284512017-10-04 Joseph Myers <joseph@codesourcery.com>
28452
32d372d5
JM
28453 [BZ #22229]
28454 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28455 <math_ldbl_opt.h>
28456 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28457 and libc.
28458 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28459 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28460 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28461 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28462 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28463 Include <math_ldbl_opt.h>
28464 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28465 and libc.
28466 (compat_symbol): Undefine and redefine.
28467 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28468 <math_ldbl_opt.h>
28469 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28470 (compat_symbol): Undefine and redefine.
28471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28472 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28473 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28474 GLIBC_2_1 for libm.
28475 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28476 GLIBC_2.0 copysignl symbol.
28477 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28478 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28479
72d13ed1
JM
28480 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28481
11c4f501
FW
284822017-10-04 Florian Weimer <fweimer@redhat.com>
28483
28484 * scripts/check-local-headers.sh: Ignore nspr4 header file
28485 directory in addition to nspr.
28486
57b4af19
GT
284872017-10-04 Guido Trentalancia <guido@trentalancia.net>
28488
28489 [BZ #17956]
28490 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28491 * configure: Regenerate.
28492 * crypt/Makefile (nss-cpp-flags): New variable.
28493 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28494 (CPPFLAGS-md5-crypt.c): Use it.
28495 * scripts/check-local-headers.sh: Ignore nspr header file
28496 directory.
28497
64d1e08e
AS
284982017-10-04 Andreas Schwab <schwab@suse.de>
28499
28500 * nis/Makefile (services): Remove compat.
28501 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28502 ($(objpfx)libnss_compat.so): Remove rule.
28503 * nis/Versions (libnss_compat): Remove.
28504 * nss/Makefile (services): Add compat.
28505 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28506 * nss/Versions (libnss_compat): Define.
28507 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28508 Don't include <rpc/types.h>. Replace bool_t by bool.
28509 * nss/nss_compat/compat-initgroups.c: Likewise.
28510 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28511 instead of <rpcsrv/ypclnt.h>.
28512 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28513 yp_get_default_domain.
28514 * nss/nss_compat/compat-pwd.c: Likewise.
28515 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28516 yp_get_default_domain.
28517 * nss/nss_compat/nisdomain.c: New file.
28518 * nss/nss_compat/nisdomain.h: Likewise.
28519
86c27ade
SN
285202017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28521
28522 [BZ #22244]
28523 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28524 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28525
8f8f8ef7
SN
285262017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28527
28528 [BZ #22243]
28529 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28530 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28531
95577475
L
285322017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28533
28534 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28535 "movl main@GOTOFF(%ebx), %eax".
28536
02d2d892
L
285372017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28538
28539 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28540 allow undefined _DYNAMIC in PIE libc.a.
28541 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28542 Likewse.
28543
0c609d19
L
285442017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28545
28546 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28547 check _DYNAMIC.
28548
c34a19ed
L
285492017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28552 check _DYNAMIC.
28553
cdd4155d
L
285542017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 * math/test-math-iscanonical.cc (error): Replace bool with int.
28557
4699cb8b
JM
285582017-10-03 Joseph Myers <joseph@codesourcery.com>
28559
d8f619b3
JM
28560 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28561 (modf): Define using libm_alias_double, only if [!__modf].
28562 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28563 <libm-alias-double.h>.
28564 (modf): Define using libm_alias_double, only if [!__modf].
28565 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28566 compat symbol here.
28567 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28568 (weak_alias): Do not undefine and redefine.
28569 (strong_alias): Likewise.
28570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28571 (weak_alias): Likewise.
28572 (strong_alias): Likewise.
28573
4699cb8b
JM
28574 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28575 (logb): Define using libm_alias_double, only if [!__logb].
28576 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28577 <libm-alias-double.h>.
28578 (logb): Define using libm_alias_double, only if [!__logb].
28579 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28580 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28581 (weak_alias): Do not undefine and redefine.
28582 (strong_alias): Likewise.
28583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28584 (weak_alias): Likewise.
28585 (strong_alias): Likewise.
28586
bcc4e4bb
L
285872017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28588
28589 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28590 Check SHARED instead PIC.
28591
39793865
JM
285922017-10-03 Joseph Myers <joseph@codesourcery.com>
28593
7f1cbdf8
JM
28594 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28595 [!__fmaf] (fmaf): Define using libm_alias_float.
28596
39793865
JM
28597 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28598 (frexp): Define using libm_alias_double.
28599 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28600 <libm-alias-double.h>.
28601 (frexp): Define using libm_alias_double.
28602 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28603 compat symbol here.
28604
aa0235df
GG
286052017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28606
28607 [BZ #22235]
28608 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28609 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28610 (CFLAGS-test-math-iscanonical.cc): New variable.
28611 * math/test-math-iscanonical.cc: New file.
28612 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28613 Provide a C++ implementation based on function overloading,
28614 rather than using __MATH_TG, which uses C-only builtins.
28615 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28616 Likewise.
28617 * sysdeps/powerpc/powerpc64le/Makefile
28618 (CFLAGS-test-math-iscanonical.cc): New variable.
28619
a1132b5e
JM
286202017-10-03 Joseph Myers <joseph@codesourcery.com>
28621
28622 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28623 (ceil): Define using libm_alias_double.
28624 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28625 (floor): Define using libm_alias_double.
28626 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28627 <libm-alias-double.h>.
28628 (llround): Define using libm_alias_double.
28629 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28630 <libm-alias-double.h>.
28631 (lround): Define using libm_alias_double.
28632 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28633 <libm-alias-double.h>.
28634 (nearbyint): Define using libm_alias_double.
28635 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28636 <libm-alias-double.h>.
28637 (remquo): Define using libm_alias_double.
28638 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28639 (rint): Define using libm_alias_double.
28640 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28641 (round): Define using libm_alias_double.
28642 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28643 (trunc): Define using libm_alias_double.
28644 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28645 <libm-alias-double.h>.
28646 (ceil): Define using libm_alias_double.
28647 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28648 <libm-alias-double.h>.
28649 (floor): Define using libm_alias_double.
28650 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28651 <libm-alias-double.h>.
28652 (llround): Define using libm_alias_double.
28653 [_LP64] (lround): Likewise.
28654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28655 <libm-alias-double.h>.
28656 [!_LP64] (lround): Define using libm_alias_double.
28657 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28658 <libm-alias-double.h>.
28659 (nearbyint): Define using libm_alias_double.
28660 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28661 <libm-alias-double.h>.
28662 (remquo): Define using libm_alias_double.
28663 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28664 <libm-alias-double.h>.
28665 (rint): Define using libm_alias_double.
28666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28667 <libm-alias-double.h>.
28668 (round): Define using libm_alias_double.
28669 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28670 <libm-alias-double.h>.
28671 (trunc): Define using libm_alias_double.
28672 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28673 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28674 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28675 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28676 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28677 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28678 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28679 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28680 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28681
f275f64e
SN
286822017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28683
28684 * math/w_remainder.c: New file.
28685 * math/w_remainderf.c: New file.
28686 * math/w_remainderl.c: New file.
28687
b8818ab5
L
286882017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28689
28690 * elf/rtld.c (BOOTSTRAP_MAP): New.
28691 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28692 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28693 Likewise.
28694 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28695 Likewise.
28696 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28697 Likewise.
28698
3d1870fa
ST
286992017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28700
28701 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28702 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28703 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28704 rtld_hidden_data_ver): Define to empty.
28705 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28706 __assert_perror_fail): Likewise.
28707 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28708 (__rewinddir): Likewise.
28709 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28710 (__profile_frequency): Likewise.
28711 * include/setjmp.h (__sigsetjmp): Likewise.
28712 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28713 __libc_sigaction): Likewise.
28714 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28715 not set hidden attribute.
28716 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28717 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28718 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28719 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28720 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28721 __fxstatat64): Likewise.
28722 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28723 (__uname): Likewise.
28724 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28725 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28726 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28727 (NO_RTLD_HIDDEN): Set.
28728 * sysdeps/mach/hurd/configure: Refresh.
28729 * config.h.in: Refresh.
28730
527cd19c
JM
287312017-10-02 Joseph Myers <joseph@codesourcery.com>
28732
38722448
JM
28733 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28734 (atan): Define using libm_alias_double.
28735 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28736 (tan): Define using libm_alias_double.
28737 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28738 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28739
527cd19c
JM
28740 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28741 define as weak alias of __atan. Do not define any aliases if
28742 [__atan].
28743 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28744 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28745 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28746 as weak alias of __tan. Do not define any aliases if [__tan].
28747 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28748 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28749 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28750 __atan.
28751 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28752 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28753 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28754 and define as weak alias of __atan.
28755 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28756 __atan.
28757 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28758 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28759 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28760 define as weak alias of __tan.
28761
bdc5c592
SN
287622017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28763
28764 * math/w_lgamma.c: New file.
28765 * math/w_lgammaf.c: New file.
28766 * math/w_lgammal.c: New file.
28767
bd4430c2
SN
287682017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28769
28770 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28771 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28772 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28773 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28774 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28775 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28776 * sysdeps/i386/fpu/w_log2f.c: New file.
28777 * sysdeps/i386/fpu/w_logf.c: New file.
28778 * sysdeps/i386/fpu/w_powf.c: New file.
28779 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28780 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28781 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28782
f7a0b063
SN
287832017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28784 H.J. Lu <hongjiu.lu@intel.com>
28785
28786 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28787 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28788 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28789 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28790 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28791 the new expf code.
28792 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28793 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28794 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28795 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28796 * sysdeps/i386/fpu/w_exp2f.c: New file.
28797 * sysdeps/i386/fpu/w_expf.c: New file.
28798 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28799 * sysdeps/x86_64/fpu/w_expf.c: New file.
28800
72d3d281
SN
288012017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28802
28803 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28804 (log2f): Likewise.
28805 (powf): Likewise.
28806 * math/w_log2f.c: New file.
28807 * math/w_logf.c: New file.
28808 * math/w_powf.c: New file.
28809 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28810 * math/w_logf_compat.c (__logf_compat): Likewise.
28811 * math/w_powf_compat.c (__powf_compat): Likewise.
28812 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28813 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28814 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28815 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28816 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28817 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28818 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28819 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28820 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28821 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28822 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28823 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28824 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28825 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28826 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28828 Likewise.
28829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28830 Likewise.
28831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28832 Likewise.
28833 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28834 Likewise.
28835 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28836 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28837 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28838 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28839 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28840 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28841 Likewise.
28842 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28843 Likewise.
28844 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28845 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28846 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28847
59ba2d2b
RS
288482017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28849
28850 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28851 (sysdep_routines): Add memrchr_power8.
28852 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28853 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28854 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28855 New file.
28856 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28857 (memrchr): Add __memrchr_power8 to ifunc list.
28858 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28859
397286ea
L
288602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28861
28862 [BZ #18822]
28863 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28864 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28865 libc_hidden_def.
28866 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28867 (__posix_fallocate64_l64): Likewise.
28868
d0a4512b
L
288692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28870
28871 [BZ #18822]
28872 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28873 (__sched_setaffinity_new): Add libc_hidden_proto and
28874 libc_hidden_def.
28875
c0769f70
L
288762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28877
28878 [BZ #18822]
28879 * include/glob.h (__glob64): Add libc_hidden_proto.
28880 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28881 libc_hidden_def.
28882
0e7d5b6e
L
288832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 [BZ #18822]
28886 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28887 attribute_hidden.
28888
bde06c87
L
288892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28890
28891 [BZ #18822]
28892 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28893
fa426590
L
288942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28895
28896 [BZ #18822]
28897 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28898 libc_hidden_def.
28899
2f8a05d8
L
289002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 [BZ #18822]
28903 * csu/version.c (__libc_print_version): Add attribute_hidden.
28904
7bfd08ac
L
289052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28906
28907 [BZ #18822]
28908 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28909
0e1fd06c
L
289102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 [BZ #18822]
28913 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28914
36e7ae1e
L
289152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28916
28917 [BZ #18822]
28918 * nscd/nscd_helper.c (__nis_hash): New prototype.
28919
87078544
L
289202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28921
28922 [BZ #18822]
28923 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28924 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28925 libc_hidden_def.
28926 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28927 * termios/tcgetattr.c (__tcgetattr): Likewise.
28928
dd3121df
L
289292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 [BZ #18822]
28932 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28933 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28934 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28935 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28936 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28937
047d1a81
L
289382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28939
28940 [BZ #18822]
28941 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28942
fd331b11
L
289432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 [BZ #18822]
28946 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28947 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28948
57f859bd
L
289492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28950
28951 [BZ #18822]
28952 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28953
d1903329
L
289542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28955
28956 [BZ #18822]
28957 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28958 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28959
b4744101
L
289602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28961
28962 [BZ #18822]
28963 * include/ifreq.h: New file.
28964 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28965 (__ifreq): Likewise.
28966 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28967 (__ifreq): Likewise.
28968
43b7dfd1
L
289692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 [BZ #18822]
28972 * include/idna.h: New file.
28973 * inet/getnameinfo.c: Include <idna.h> instead of
28974 <libidn/idna.h>.
28975 (__idna_to_unicode_lzlz): Removed.
28976 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28977 <libidn/idna.h>.
28978 (__idna_to_ascii_lz): Removed.
28979 (__idna_to_unicode_lzlz): Likewise.
28980
2c0cd8f8
L
289812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28982
28983 [BZ #18822]
28984 * include/plural-exp.h: New file.
28985 * intl/plural-exp.c: Include <plural-exp.h> instead of
28986 "plural-exp.h".
28987
8369d216
L
289882017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28989
28990 [BZ #18822]
28991 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28992 "getsourcefilter.h".
28993 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28994 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28995 "getsourcefilter.h".
28996 (__get_sol): Removed.
28997
a0aef783
L
289982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28999
29000 [BZ #18822]
29001 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
29002 to ...
29003 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
29004
3ee8209b
L
290052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29006
29007 [BZ #18822]
29008 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
29009 attribute_hidden.
29010
6036fc38
L
290112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29012
29013 [BZ #18822]
29014 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
29015
fe84fed0
L
290162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29017
29018 [BZ #18822]
29019 * include/search.h (__tdestroy): Add libc_hidden_proto.
29020 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
29021
048dd681
L
290222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29023
29024 [BZ #18822]
29025 * include/assert.h (__assert_fail_base): Add attribute_hidden.
29026
6e342af6
L
290272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29028
29029 [BZ #18822]
29030 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
29031 attribute_hidden.
29032
6a088436
L
290332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29034
29035 [BZ #18822]
29036 * include/signal.h (__kill): Add libc_hidden_proto.
29037 (__sigblock): Likewise.
29038 (__sigprocmask): Likewise.
29039 (__sigaltstack): Likewise.
29040 * signal/kill.c (__kill): Add libc_hidden_def.
29041 * signal/sigblock.c (__sigblock): Likewise.
29042 * signal/sigprocmask.c (__sigprocmask): Likewise.
29043 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
29044 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
29045 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
29046 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
29047 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
29048 Likewise.
29049 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
29050 Likewise.
29051 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
29052 (__sigprocmask): Likewise.
29053 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
29054 Likewise.
29055 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
29056 (__sigprocmask): Likewise.
29057 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
29058 Likewise.
29059
78cf1d74
L
290602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29061
29062 [BZ #18822]
29063 * include/string.h (__strsep): Add libc_hidden_proto.
29064 * string/strsep.c (__strsep): Add libc_hidden_def.
29065
85b35894
L
290662017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29067
29068 [BZ #18822]
29069 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
29070 attribute_hidden.
29071 (__spawni): Likewise.
29072
225f7eec
L
290732017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29074
29075 [BZ #18822]
29076 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
29077 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
29078 libc_hidden_def.
29079
372fe247
L
290802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29081
29082 [BZ #18822]
29083 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
29084
9e5ee8b8
L
290852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29086
29087 [BZ #18822]
29088 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
29089 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
29090 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
29091 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
29092 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
29093 Likewise.
29094 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
29095 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
29096
2ff16592
L
290972017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 [BZ #18822]
29100 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
29101 (__dcigettext): Likewise.
29102
b5648377
L
291032017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29104
29105 [BZ #18822]
29106 * include/sys/sysinfo.h (__get_nprocs_conf): Add
29107 libc_hidden_proto.
29108 (__get_nprocs): Likewise.
29109 (__get_phys_pages): Likewise.
29110 (__get_avphys_pages): Likewise.
29111 (__get_child_max): Add attribute_hidden.
29112 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
29113 (__get_nprocs): Likewise.
29114 (__get_phys_pages): Likewise.
29115 (__get_avphys_pages): Likewise.
29116 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
29117 libc_hidden_def.
29118 (__get_nprocs): Likewise.
29119 (__get_phys_pages): Likewise.
29120 (__get_avphys_pages): Likewise.
29121 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
29122 libc_hidden_def.
29123 (__get_nprocs_conf): Likewise.
29124 (__get_phys_pages): Likewise.
29125 (__get_avphys_pages): Likewise.
29126
0389a6aa
L
291272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29128
29129 [BZ #18822]
29130 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
29131 attribute_hidden.
29132 (__netlink_close): Likewise.
29133 (__netlink_free_handle): Likewise.
29134 (__netlink_request): Likewise.
29135
d48354d8
L
291362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29137
29138 [BZ #18822]
29139 * include/rpc/rpc.h (__rpc_thread_variables): Add
29140 attribute_hidden.
29141 (__rpc_thread_svc_cleanup): Likewise.
29142 (__rpc_thread_clnt_cleanup): Likewise.
29143 (__rpc_thread_key_cleanup): Likewise.
29144
d6daff12
L
291452017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29146
29147 [BZ #18822]
29148 * include/sys/uio.h (__readv): Add libc_hidden_proto.
29149 (__writev): Likewise.
29150 * misc/readv.c (__readv): Add libc_hidden_def.
29151 * misc/writev.c (__writev): Likewise.
29152 * sysdeps/posix/readv.c (__readv): Likewise.
29153 * sysdeps/posix/writev.c (__writev): Likewise.
29154 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
29155 (__readv): Likewise.
29156 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
29157 (__writev): Likewise.
29158
b68f8620
L
291592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29160
29161 [BZ #18822]
29162 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
29163 (__regcomp): Add libc_hidden_proto.
29164 (__regexec): Likewise.
29165 (__regfree): Likewise.
29166 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
29167 (__regfree): Likewise.
29168 * posix/regexec.c (__regexec): Likewise.
29169
59c04e67
L
291702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29171
29172 [BZ #18822]
29173 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
29174 (__getutent): Likewise.
29175 (__getutid): Likewise.
29176 (__getutline): Likewise.
29177 (__pututline): Likewise.
29178 (__getutent_r): Likewise.
29179 (__getutid_r): Likewise.
29180 (__getutline_r): Likewise.
29181 (__utmpname): Add attribute_hidden.
29182 (__setutent): Likewise.
29183 (__endutent): Likewise.
29184 * login/getutent.c (__getutent): Add libc_hidden_def.
29185 * login/getutent_r.c (__getutent_r): Likewise.
29186 (__pututline): Likewise.
29187 * login/getutid.c (__getutid): Likewise.
29188 * login/getutid_r.c (__getutid_r): Likewise.
29189 * login/getutline.c (__getutline): Likewise.
29190 * login/getutline_r.c (__getutline_r): Likewise.
29191 * login/updwtmp.c (__updwtmp): Likewise.
29192
4587a421
L
291932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29194
29195 [BZ #18822]
29196 * include/dirent.h (__opendir): Always add attribute_hidden.
29197 (__fdopendir): Likewise.
29198 (__closedir): Likewise.
29199 (__readdir): Likewise.
29200 (__readdir64): Add libc_hidden_proto.
29201 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
29202 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
29203 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
29204 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
29205 New alias.
29206
9635ce69
L
292072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29208
29209 [BZ #18822]
29210 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
29211 * include/netdb.h (__gethostbyaddr_r): Likewise.
29212 (__gethostbyname_r): Likewise.
29213 (__gethostbyname2_r): Likewise.
29214 (__getnetbyaddr_r): Likewise.
29215 (__getnetbyname_r): Likewise.
29216 (__getservbyname_r): Likewise.
29217 (__getservbyport_r): Likewise.
29218 (__getprotobyname_r): Likewise.
29219 (__getprotobynumber_r): Likewise.
29220 (__getnetgrent_r): Likewise.
29221 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
29222 (__getrpcbynumber_r): Likewise.
29223 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
29224
2e0a6909
L
292252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29226
29227 [BZ #18822]
29228 * include/stdio.h (__fcloseall): Add attribute_hidden.
29229 (__getline): Likewise.
29230 (__path_search): Likewise.
29231 (__gen_tempname): Likewise.
29232 (__libc_message): Likewise.
29233 (__flockfile): Likewise.
29234 (__funlockfile): Likewise.
29235 (__fxprintf): Likewise.
29236 (__fxprintf_nocancel): Likewise.
29237
94fd682c
L
292382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29239
29240 [BZ #18822]
29241 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
29242 (__sgetsgent_r): Likewise.
29243
e1b33bba
L
292442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29245
29246 [BZ #18822]
29247 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
29248 (__statfs64): Likewise.
29249 (__fstatfs64): Likewise.
29250 * include/sys/statvfs.h (__statvfs64): Likewise.
29251 (__fstatvfs64): Likewise.
29252 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
29253 (__statfs_filesize_max): Likewise.
29254 (__statfs_symlinks): Likewise.
29255 (__statfs_chown_restricted): Likewise.
29256
b0f56784
L
292572017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29258
29259 [BZ #18822]
29260 * include/time.h (__tzstring): Add attribute_hidden.
29261 (__tzfile_read): Likewise.
29262 (__tzfile_compute): Likewise.
29263 (__tzfile_default): Likewise.
29264 (__tzset_parse_tz): Likewise.
29265 (__offtime): Likewise.
29266 (__asctime_r): Likewise.
29267 (__tzset): Likewise.
29268 (__tz_convert): Likewise.
29269 (__getdate_r): Likewise.
29270 (__getclktck): Likewise.
29271
a4338d99
L
292722017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29273
29274 [BZ #18822]
29275 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
29276 (__nscd_unmap): Likewise.
29277 (__nscd_cache_search): Likewise.
29278 (__nscd_get_nl_timestamp): Likewise.
29279 (__nscd_getpwnam_r): Likewise.
29280 (__nscd_getpwuid_r): Likewise.
29281 (__nscd_getgrnam_r): Likewise.
29282 (__nscd_getgrgid_r): Likewise.
29283 (__nscd_gethostbyname_r): Likewise.
29284 (__nscd_gethostbyname2_r): Likewise.
29285 (__nscd_gethostbyaddr_r): Likewise.
29286 (__nscd_getai): Likewise.
29287 (__nscd_getgrouplist): Likewise.
29288 (__nscd_getservbyname_r): Likewise.
29289 (__nscd_getservbyport_r): Likewise.
29290 (__nscd_innetgr): Likewise.
29291 (__nscd_setnetgrent): Likewise.
29292
a2ca1652
L
292932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29294
29295 [BZ #18822]
29296 * include/gmp.h: Declare internal functions only if _ISOMAC is
29297 undefined.
29298 (__mpn_extract_double): Add attribute_hidden.
29299 (__mpn_extract_long_double): Likewise.
29300 (__mpn_extract_float128): Likewise.
29301 (__mpn_construct_float): Likewise.
29302 (__mpn_construct_double): Likewise.
29303 (__mpn_construct_long_double): Likewise.
29304 (__mpn_construct_float128): Likewise.
29305 (mpn_add_1): Likewise.
29306 (mpn_addmul_1): Likewise.
29307 (mpn_add_n): Likewise.
29308 (mpn_cmp): Likewise.
29309 (mpn_divrem): Likewise.
29310 (mpn_lshift): Likewise.
29311 (mpn_mul): Likewise.
29312 (mpn_mul_1): Likewise.
29313 (mpn_rshift): Likewise.
29314 (mpn_sub_1): Likewise.
29315 (mpn_submul_1): Likewise.
29316 (mpn_sub_n): Likewise.
29317
44af8a32
L
293182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29319
29320 [BZ #18822]
29321 * include/wchar.h (__wcsnlen): Add attribute_hidden.
29322 (__wcscat): Likewise.
29323 (__btowc): Likewise.
29324 (__wcrtomb): Likewise.
29325 (__mbsrtowcs): Likewise.
29326 (__wcsrtombs): Likewise.
29327 (__mbsnrtowcs): Likewise.
29328 (__wcsnrtombs): Likewise.
29329 (__wcsncpy): Likewise.
29330 (__wcpncpy): Likewise.
29331 (__wmemcpy): Likewise.
29332 (__wmempcpy): Likewise.
29333 (__wmemmove): Likewise.
29334 (__wcschrnul): Likewise.
29335 (__vfwscanf): Likewise.
29336 (__vswprintf): Likewise.
29337 (__fwprintf): Likewise.
29338 (__vfwprintf): Likewise.
29339
783cd767
L
293402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29341
29342 [BZ #18822]
29343 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29344 (__getgrgid_r): Likewise.
29345 (__getgrnam_r): Likewise.
29346 * include/pwd.h (__getpwuid_r): Likewise.
29347 (__getpwnam_r): Likewise.
29348 (__fgetpwent_r): Likewise.
29349 * include/shadow.h (__getspnam_r): Likewise.
29350 (__sgetspent_r): Likewise.
29351 (__fgetspent_r): Likewise.
29352
7ec4b39a
L
293532017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29354
29355 [BZ #18822]
29356 * include/unistd.h (__access): Add attribute_hidden.
29357 (__lseek64): Likewise.
29358 (__libc_pread64): Likewise.
29359 (__pipe2): Likewise.
29360 (__sleep): Likewise.
29361 (__chdir): Likewise.
29362 (__fchdir): Likewise.
29363 (__getcwd): Likewise.
29364 (__rmdir): Likewise.
29365 (__execvpe): Likewise.
29366 (__execve): Likewise.
29367 (__setsid): Likewise.
29368 (__getuid): Likewise.
29369 (__geteuid): Likewise.
29370 (__getgid): Likewise.
29371 (__getegid): Likewise.
29372 (__getgroups): Likewise.
29373 (__group_member): Likewise.
29374 (__ttyname_r): Likewise.
29375 (__isatty): Likewise.
29376 (__readlink): Likewise.
29377 (__unlink): Likewise.
29378 (__gethostname): Likewise.
29379 (__profil): Likewise.
29380 (__getdtablesize): Likewise.
29381 (__brk): Likewise.
29382 (__ftruncate): Likewise.
29383 (__ftruncate64): Likewise.
29384
8345a760
L
293852017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29386
29387 [BZ #18822]
29388 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29389 * argp/argp-fs-xinl.c: Likewise.
29390 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29391 * argp/argp-parse.c: Include <argp.h>.
29392 * argp/argp-xinl.c: Likewise.
29393 * include/argp-fmtstream.h: New file.
29394 * include/argp.h (__argp_error): Add attribute_hidden.
29395 (__argp_failure): Likewise.
29396 (__argp_input): Likewise.
29397 (__argp_state_help): Likewise.
29398
c26dd7c6
L
293992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29400
29401 [BZ #18822]
29402 * include/wchar.h (____wcstof_l_internal): New prototype.
29403 (____wcstod_l_internal): Likewise.
29404 (____wcstold_l_internal): Likewise.
29405 (____wcstol_l_internal): Likewise.
29406 (____wcstoul_l_internal): Likewise.
29407 (____wcstoll_l_internal): Likewise.
29408 (____wcstoull_l_internal): Likewise.
29409 (____wcstof128_l_internal): Likewise.
29410 * sysdeps/ieee754/float128/wcstof128.c
29411 (____wcstof128_l_internal): Removed.
29412 * sysdeps/ieee754/float128/wcstof128_l.c
29413 (____wcstof128_l_internal): Likewise.
29414 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29415 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29416 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29417 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29418 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29419 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29420 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29421 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29422 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29423 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29424
3aff5644
L
294252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29426
29427 [BZ #18822]
29428 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29429 instead of <sys/statvfs.h>.
29430 (__internal_statvfs): Removed.
29431 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29432 instead of <sys/statvfs.h>.
29433 (__internal_statvfs64): Removed.
29434 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29435 "internal_statvfs.h" instead of <sys/statvfs.h>.
29436 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29437 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29438 instead of <sys/statvfs.h>.
29439 (__internal_statvfs): Removed.
29440 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29441 instead of <sys/statvfs.h>.
29442 (__internal_statvfs64): Removed.
29443
8bcdb7e0
L
294442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29445
29446 [BZ #18822]
29447 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29448 (__gconv_close): Likewise.
29449 (__gconv): Likewise.
29450 (__gconv_find_transform): Likewise.
29451 (__gconv_lookup_cache): Likewise.
29452 (__gconv_compare_alias_cache): Likewise.
29453 (__gconv_load_cache): Likewise.
29454 (__gconv_get_path): Likewise.
29455 (__gconv_close_transform): Likewise.
29456 (__gconv_release_cache): Likewise.
29457 (__gconv_find_shlib): Likewise.
29458 (__gconv_release_shlib): Likewise.
29459 (__gconv_get_builtin_trans): Likewise.
29460 (__gconv_compare_alias): Likewise.
29461 * include/dlfcn.h (_dlerror_run): Likewise.
29462 * include/stdio.h (__fortify_fail_abort): Likewise.
29463 * include/time.h (__tz_compute): Likewise.
29464 (__strptime_internal): Likewise.
29465 * intl/gettextP.h (_nl_find_domain): Likewise.
29466 (_nl_load_domain): Likewise.
29467 (_nl_find_msg): Likewise.
29468 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29469 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29470 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29471 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29472 (__gai_find_request): Likewise.
29473 (__gai_remove_request): Likewise.
29474 (__gai_notify): Likewise.
29475 (__gai_notify_only): Likewise.
29476 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29477 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29478 (_dl_non_dynamic_init): Likewise.
29479 (_dl_aux_init): Likewise.
29480 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29481 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29482 Likewise.
29483 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29484 (__wcsmbs_clone_conv): Likewise.
29485 (__wcsmbs_named_conv): Likewise.
29486
8ed3b643
L
294872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29488
29489 [BZ #18822]
29490 * include/stdlib.h (__random): Add attribute_hidden.
29491 (__random_r): Likewise.
29492 (__srandom_r): Likewise.
29493 (__initstate_r): Likewise.
29494 (__setstate_r): Likewise.
29495 (__erand48_r): Likewise.
29496 (__nrand48_r): Likewise.
29497 (__jrand48_r): Likewise.
29498 (__srand48_r): Likewise.
29499 (__seed48_r): Likewise.
29500 (__lcong48_r): Likewise.
29501 (__drand48_iterate): Likewise.
29502 (__setenv): Likewise.
29503 (__unsetenv): Likewise.
29504 (__clearenv): Likewise.
29505 (__ptsname_r): Likewise.
29506 (__posix_openpt): Likewise.
29507 (__add_to_environ): Likewise.
29508 (__realpath): Add libc_hidden_proto.
29509 (__ecvt_r): Likewise.
29510 (__fcvt_r): Likewise.
29511 (__qecvt_r): Likewise.
29512 (__qfcvt_r): Likewise.
29513 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29514 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29515
ef9b6f73
L
295162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29517
29518 [BZ #18822]
29519 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29520 * include/time.h (__mktime_internal): Likewise.
29521 * libio/iolibio.h (__fopen_internal): Likewise.
29522
8da92e72
JDA
295232017-10-01 John David Anglin <danglin@gcc.gnu.org>
29524
29525 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29526 pointer in frame.
29527 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29528 Correct offset used to restore PIC register.
29529
388784cf
JDA
295302017-09-30 John David Anglin <danglin@gcc.gnu.org>
29531
29532 [BZ libc/22165]
29533 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29534 code to load address of __getcontext_ret when generating PIC code.
29535
2000067a
L
295362017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29537
29538 * elf/Makefile (tests-static-internal): Add
29539 tst-tls1-static-non-pie.
29540 (LDFLAGS-tst-tls1-static-non-pie): New.
29541 * elf/tst-tls1-static-non-pie.c: New file.
29542
1e2bffd0
JM
295432017-09-29 Joseph Myers <joseph@codesourcery.com>
29544
29545 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29546 (asinh): Define using libm_alias_double.
29547 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29548 (cbrt): Define using libm_alias_double.
29549 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29550 <libm-alias-double.h>.
29551 (copysign): Define using libm_alias_double.
29552 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29553 (erf): Define using libm_alias_double.
29554 (erfc): Likewise.
29555 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29556 (expm1): Define using libm_alias_double.
29557 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29558 (fabs): Define using libm_alias_double.
29559 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29560 libm_alias_double.
29561 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29562 <libm-alias-double.h>.
29563 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29564 libm_alias_double.
29565 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29566 <libm-alias-double.h>.
29567 (getpayload): Define using libm_alias_double.
29568 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29569 <libm-alias-double.h>.
29570 (llrint): Define using libm_alias_double.
29571 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29572 (lrint): Define using libm_alias_double.
29573 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29574 <libm-alias-double.h>.
29575 (nextup): Define using libm_alias_double.
29576 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29577 <libm-alias-double.h>.
29578 (roundeven): Define using libm_alias_double.
29579 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29580 libm_alias_double.
29581 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29582 <libm-alias-double.h>.
29583 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29584 using libm_alias_double.
29585 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29586 (cos): Define using libm_alias_double.
29587 (sin): Likewise.
29588 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29589 <libm-alias-double.h>.
29590 (sincos): Define using libm_alias_double.
29591 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29592 (tanh): Define using libm_alias_double.
29593 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29594 <libm-alias-double.h>.
29595 (totalorder): Define using libm_alias_double.
29596 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29597 <libm-alias-double.h>.
29598 (totalordermag): Define using libm_alias_double.
29599 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29600 libm_alias_double.
29601 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29602 libm_alias_double.
29603 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29604 <libm-alias-double.h>.
29605 (getpayload): Define using libm_alias_double.
29606 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29607 <libm-alias-double.h>.
29608 (roundeven): Define using libm_alias_double.
29609 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29610 <libm-alias-double.h>.
29611 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29612 <libm-alias-double.h>.
29613 (totalorder): Define using libm_alias_double.
29614 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29615 <libm-alias-double.h>.
29616 (totalordermag): Define using libm_alias_double.
29617 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29618 libc compat symbol here.
29619 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29620 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29621 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29622 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29623 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29624 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29625 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29626 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29627 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29628 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29629
8172aad9
L
296302017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29631
29632 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29633 _dl_relocate_static_pie instead of _dl_start to compute load
29634 address in static PIE. Return 0 if _DYNAMIC is undefined for
29635 static executable.
29636
54464e74
L
296372017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29638
29639 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29640 _DYNAMIC is undefined for static executable.
29641
f6c5e5bc
L
296422017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29643
29644 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29645
2f92505d
JM
296462017-09-29 Joseph Myers <joseph@codesourcery.com>
29647
29648 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29649
bd8d53bb
WD
296502017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29651
29652 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29653 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29654 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29655 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29656 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29657 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29658 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29659 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29660 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29661 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29662 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29663 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29664 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29665 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29666 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29667 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29668 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29669
fffb1507
WD
296702017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29671
29672 * math/bits/cmathcalls.h (cimag): Remove inline.
29673 (creal): Remove inline.
29674 (conj): Remove inline.
29675
4ea49f4c
SN
296762017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29677
29678 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29679 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29680 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29681 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29682 (issignalingf_inline): Likewise.
29683 (POWF_LOG2_TABLE_BITS): Likewise.
29684 (POWF_LOG2_POLY_ORDER): Likewise.
29685 (POWF_SCALE_BITS): Likewise.
29686 (POWF_SCALE): Likewise.
29687 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29688 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29689 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29690
875c76c7
SN
296912017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29692
29693 * math/Makefile (type-float-routines): Add e_log2f_data.
29694 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29695 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29696 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29697 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29698 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29699 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29700 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29701
90c42e40
SN
297022017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29703
29704 * math/Makefile (type-float-routines): Add e_logf_data.
29705 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29706 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29707 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29708 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29709 * sysdeps/i386/fpu/e_logf_data.c: New file.
29710 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29711 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29712
4088d8dd
L
297132017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29714
29715 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29716 undefined _DYNAMIC in PIE libc.a.
29717 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29718 Likewse.
29719
4d3693ec
WD
297202017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29721
29722 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29723 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29724 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29725 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29726 (__signbit): Remove.
29727 (__signbitl): Remove.
29728 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29729 (__signbit): Remove.
29730 (__signbitl): Remove.
29731 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29732 (__signbit): Remove.
29733 (__signbitl): Remove.
29734 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29735 (__signbit): Remove.
29736 (__signbitl): Remove.
29737 * sysdeps/tile/bits/mathinline.h: Delete file.
29738 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29739 (__signbit): Remove.
29740 (__signbitl): Remove.
29741
1e6d0723
WD
297422017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29743
29744 * math/math.h: Improve handling of C99 isgreater macros.
29745 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29746 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29747 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29748 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29749 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29750
b2f03cf3
SN
297512017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29752
29753 * sysdeps/aarch64/libm-test-ulps: Update.
29754
f124cb38
JM
297552017-09-28 Joseph Myers <joseph@codesourcery.com>
29756
29757 [BZ #22225]
29758 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29759 math_opt_barrier on argument when doing arithmetic on it.
29760 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29761 Likewise. Use math_force_eval not math_opt_barrier after
29762 arithmetic.
29763 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29764 math_opt_barrier on argument when doing arithmetic on it.
29765 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29766 Likewise.
29767
7edd0691
L
297682017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29769
29770 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29771 libc_hidden_def.
29772 (__freeifaddrs): Likewise.
29773
2c7bbfaf
ST
297742017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29775
29776 * include/dirent.h (__dirfd): New declaration.
29777 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29778 alias.
29779 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29780 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29781 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29782 * include/unistd.h (__revoke): New declaration.
29783 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29784 alias.
29785 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29786 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29787 revoke.
64a4af28
ST
29788 * include/dirent.h (__seekdir): New declaration.
29789 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29790 redefine as weak alias.
29791 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29792 of seekdir.
4009ddc6
ST
29793 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29794 and use libc_hidden_def on them.
29795 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29796 them.
29797 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29798 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29799 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29800
825adeee
L
298012017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29802
29803 [BZ #18822]
29804 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29805 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29806 (__dso_handle): Remove declaration.
29807 * dlfcn/tstatexit.c (__dso_handle): Removed.
29808 (main): Don't check __dso_handle.
29809 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29810 (main): Don't check __dso_handle.
29811 * include/dso_handle.h: New file.
29812 * malloc/mtrace.c: Include <dso_handle.h>.
29813 (mtrace): Pass __dso_handle directly.
29814 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29815 (__dso_handle): Remove declaration.
29816 (__pthread_atfork): Pass __dso_handle directly.
29817 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29818 (__dso_handle): Removed.
29819 * posix/wordexp-test.c: Include <dso_handle.h>.
29820 (__dso_handle): Remove declaration.
29821 (__app_register_atfork): Pass __dso_handle directly.
29822 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29823 (__dso_handle): Remove declaration.
29824 (at_quick_exit): Pass __dso_handle directly.
29825 * stdlib/atexit.c: Include <dso_handle.h>.
29826 (__dso_handle): Remove declaration.
29827 (atexit): Pass __dso_handle directly.
29828 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29829 (__dso_handle): Removed.
29830
bfb0deb3
JM
298312017-09-26 Joseph Myers <joseph@codesourcery.com>
29832
29833 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29834 using VDSO.
29835
cebcb9f8
AM
298362017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29837
29838 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29839 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29840 values to correct default value for given type.
29841
592d5c75
L
298422017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29843
29844 [BZ #22101]
29845 * elf/Makefile (tests): Add tst-debug1.
29846 ($(objpfx)tst-debug1): New.
29847 ($(objpfx)tst-debug1.out): Likewise.
29848 ($(objpfx)tst-debug1mod1.so): Likewise.
29849 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29850 with p_filesz == 0.
29851 * elf/tst-debug1.c: New file.
29852
2d9193f2
JM
298532017-09-26 Joseph Myers <joseph@codesourcery.com>
29854
29855 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29856 Define using __ifunc.
29857
4c5a7a02
TMQMF
298582017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29859
29860 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29861 exp2f() values.
29862
12ef66c4
JM
298632017-09-26 Joseph Myers <joseph@codesourcery.com>
29864
29865 [BZ #22156]
29866 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29867
44dade71
FW
298682017-09-26 Florian Weimer <fweimer@redhat.com>
29869
29870 * resolv/Makefile (tests-internal): Fix typo in comment.
29871
eaca16f1
FW
298722017-09-26 Florian Weimer <fweimer@redhat.com>
29873
29874 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29875
ccf970c7
AZ
298762017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29877
5f9f31ad
AZ
29878 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29879 Use an union instead of a max_align_t array for __space,
29880 so that __space is the same size on all platforms.
29881 * malloc/scratch_buffer_grow_preserve.c
29882 (__libc_scratch_buffer_grow_preserve): Likewise.
29883
ccf970c7
AZ
29884 [BZ #22183]
29885 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29886 version to 2.
29887 * posix/Makefile (routines): Add glob-lstat-compat and
29888 glob64-lstat-compat.
29889 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29890 * posix/glob-lstat-compat.c: New file.
29891 * posix/glob64-lstat-compat.c: Likewise.
29892 * posix/tst-glob_lstat_compat.c: Likewise.
29893 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29894 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29895 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29896 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29897 Likewise.
29898 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29899 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29900 * posix/glob.c (glob_lstat): New function.
29901 (glob): Rename to __glob and add versioned symbol to 2.27.
29902 (glob_in_dir): Use glob_lstat.
29903 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29904 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29905 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29906 2.27.
29907 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29908 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29909 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29910 gl_lstat on glob call.
29911 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29912 and glob64 symbols.
29913 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29914 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29915 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29916 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29917 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29918 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29919 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29920 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29921 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29922 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29923 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29924 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29926 Likewise.
29927 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29929 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29930 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29931 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29932 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29933 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29936 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29937 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29938 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29939
b4396163
L
299402017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29941
29942 * configure.ac (AS): Require binutils 2.25 or later.
29943 * configure: Regenerated.
29944
8f834987
PP
299452017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29946
29947 [BZ #22207]
29948 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29949 VM size.
29950
3de93d19
DD
299512017-09-25 DJ Delorie <dj@redhat.com>
29952
29953 [BZ #22161]
29954 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29955 resetting timeout.
29956
9947638d
SL
299572017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29958
29959 * sysdeps/ieee754/dbl-64/sincos32.h
29960 [SINCCOS32_H]: Remove define.
29961 [SINCOS32_H]: Define.
29962
f5f0f526
SN
299632017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29964
29965 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29966 (exp2f): Likewise.
29967 * math/w_exp2f.c: New file.
29968 * math/w_expf.c: New file.
29969 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29970 * math/w_expf_compat.c (__expf_compat): Likewise.
29971 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29972 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29973 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29974 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29975 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29976 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29977 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29978 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29979 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29980 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29981 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29982 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29983 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29984 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29986 Likewise.
29987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29988 Likewise.
29989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29990 Likewise.
29991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29992 Likewise.
29993 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29994 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29995 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29996 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29997 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29999 Likewise.
30000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
30001 Likewise.
30002 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
30003 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
30004 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
30005
72aa6233
SN
300062017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
30007
30008 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
30009 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
30010 (roundtoint, converttoint): Likewise.
30011 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
30012 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
30013 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
30014 * sysdeps/ieee754/flt-32/math_config.h: New file.
30015 * sysdeps/ieee754/flt-32/math_errf.c: New file.
30016 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
30017 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
30018 * sysdeps/i386/fpu/math_errf.c: New file.
30019 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
30020 * sysdeps/ia64/fpu/math_errf.c: New file.
30021 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
30022 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
30023
5e6f3253
ST
300242017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
30025
30026 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
30027 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
30028 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
30029 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
30030 to make sure that these symbols are defined.
b38a42a0
ST
30031 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
30032 of <limits.h>
30033 (__need_NULL): Do not define.
30034 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
30035 alignment.
30036 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
30037 CMGROUP_MAX, cmsgcred): Do not define.
30038 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
30039 NULL.
30040 * bits/socket.h: Likewise.
fcafcd16
ST
30041 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
30042 __gettimeofday instead of gettimeofday.
30043 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
30044 instead of settimeofday.
5e6f3253 30045
2f49ce7d
JM
300462017-09-22 Joseph Myers <joseph@codesourcery.com>
30047
30048 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
30049 (asinhf): Define using libm_alias_float.
30050 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
30051 (atanf): Define using libm_alias_float.
30052 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
30053 (cbrtf): Define using libm_alias_float.
30054 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
30055 (ceilf): Define using libm_alias_float.
30056 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
30057 <libm-alias-float.h>.
30058 (copysignf): Define using libm_alias_float.
30059 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
30060 (cosf): Define using libm_alias_float.
30061 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
30062 (erff): Define using libm_alias_float.
30063 (erfcf): Likewise.
30064 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
30065 (expm1f): Define using libm_alias_float.
30066 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
30067 (fabsf): Define using libm_alias_float.
30068 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
30069 (floorf): Define using libm_alias_float.
30070 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
30071 (frexpf): Define using libm_alias_float.
30072 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
30073 libm_alias_float.
30074 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
30075 <libm-alias-float.h>.
30076 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
30077 libm_alias_float.
30078 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
30079 <libm-alias-float.h>.
30080 (getpayloadf): Define using libm_alias_float.
30081 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
30082 <libm-alias-float.h>.
30083 (llrintf): Define using libm_alias_float.
30084 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
30085 <libm-alias-float.h>.
30086 (llroundf): Define using libm_alias_float.
30087 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
30088 (logbf): Define using libm_alias_float.
30089 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
30090 (lrintf): Define using libm_alias_float.
30091 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
30092 (lroundf): Define using libm_alias_float.
30093 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
30094 (modff): Define using libm_alias_float.
30095 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
30096 <libm-alias-float.h>.
30097 (nearbyintf): Define using libm_alias_float.
30098 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
30099 <libm-alias-float.h>.
30100 (nextafterf): Define using libm_alias_float.
30101 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
30102 <libm-alias-float.h>.
30103 (nextupf): Define using libm_alias_float.
30104 * sysdeps/ieee754/flt-32/s_remquof.c: Include
30105 <libm-alias-float.h>.
30106 (remquof): Define using libm_alias_float.
30107 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
30108 (rintf): Define using libm_alias_float.
30109 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
30110 <libm-alias-float.h>.
30111 (roundevenf): Define using libm_alias_float.
30112 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
30113 (roundf): Define using libm_alias_float.
30114 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
30115 using libm_alias_float.
30116 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
30117 <libm-alias-float.h>.
30118 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
30119 Define using libm_alias_float.
30120 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
30121 <libm-alias-float.h>.
30122 (sincosf): Define using libm_alias_float.
30123 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
30124 (sinf): Define using libm_alias_float.
30125 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
30126 (tanf): Define using libm_alias_float.
30127 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
30128 (tanhf): Define using libm_alias_float.
30129 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
30130 <libm-alias-float.h>.
30131 (totalorderf): Define using libm_alias_float.
30132 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
30133 <libm-alias-float.h>.
30134 (totalordermagf): Define using libm_alias_float.
30135 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
30136 (truncf): Define using libm_alias_float.
30137 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
30138 libm_alias_float.
30139 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
30140 libm_alias_float.
30141
c5c4a626
GG
301422017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30143
30144 [BZ #22146]
30145 math/math.h: Let fpclassify use the builtin in C++ mode, even
30146 when optimazing for size.
30147
23947846
JM
301482017-09-22 Joseph Myers <joseph@codesourcery.com>
30149
30150 * csu/Makefile (generated): Do not add version-info.h.
30151 (before-compile): Likewise.
30152 (all-Banner-files): Remove variable.
30153 ($(objpfx)version-info.h): Remove rule.
30154 * csu/version.c (banner): Do not include "version-info.h".
30155 * libidn/Banner: Remove.
30156 * manual/contrib.texi (Simon Josefsson): New entry.
30157
9ac3c682
GG
301582017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30159
30160 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30161 Remove conditionals on LDBL_MANT_DIG.
30162 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
30163 (__ieee754_lgammal_r): Likewise.
30164
d2f0ed09
GG
301652017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30166
30167 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
30168 _Float128 and L().
30169 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
30170 _Float128 and L(). Replace _Float128 with long double and L(x)
30171 with xL, throughout the file.
30172 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30173 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30174 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30175 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30176
c5c2e667
GG
301772017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30178
30179 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
30180 sysdeps/ieee754/ldbl-128ibm.
30181 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
30182 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
30183 of including it. Keep _Float128 and L() intact. These will be
30184 reviewed by a separate patch.
30185 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
30186 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
30187 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
30188 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
30189
e010deb2
GG
301902017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30191
30192 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
30193 (__finitef128): Define to __redirect___finitef128.
30194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
30195 (__isinff128): Define to __redirect___isinff128.
30196 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
30197 (__isnanf128): Define to __redirect___isnanf128.
30198
ffa44804
GG
301992017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
30200
30201 * sysdeps/powerpc/powerpc64le/Makefile
30202 (CFLAGS-tst-strtod-nan-locale.c): New variable.
30203 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
30204
e5e4d7cc
PP
302052017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
30206 Carlos O'Donell <carlos@redhat.com>
30207
30208 [BZ #22180]
30209 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
30210 * stdlib/test-dlclose-exit-race.c: New file.
30211 * stdlib/test-dlclose-exit-race-helper.c: New file.
30212 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
30213
c10c5267
JM
302142017-09-21 Joseph Myers <joseph@codesourcery.com>
30215
30216 * crypt/Banner: Remove file.
30217 * nptl/Banner: Likewise.
30218 * resolv/Banner: Likewise.
30219 * soft-fp/Banner: Likewise.
30220 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
30221 ($(objpfx)version.d): Remove dependency on banner.h.
30222 ($(objpfx)version.os): Likewise.
30223 * nptl/version.c (banner): Do not include banner.h.
30224 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
30225 Jelinek and BIND code.
30226
1cc9e59a
PP
302272017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
30228 Carlos O'Donell <carlos@redhat.com>
30229
30230 * support/xdlfcn.h: New file.
30231 * support/xdlfcn.c: New file.
30232 * support/Makefile (libsupport-routines): Add xdlfcn.
30233 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
30234
ae8372d7
JM
302352017-09-20 Joseph Myers <joseph@codesourcery.com>
30236
30237 [BZ #20142]
30238 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
30239 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
30240 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
30241 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
30242 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
30243 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
30244 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
30245 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
30246
26e70aec 302472017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
30248 Ricky Zhou <rickyz@google.com>
30249 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
30250
30251 [BZ #14333]
30252 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
30253 Remove atomics.
30254 (__new_exitfn): Fail registration when we finished at_exit processing.
30255 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
30256 * stdlib/on_exit.c (__on_exit): Likewise.
30257 * stdlib/exit.c (__exit_funcs_done): New variable.
30258 (__run_exit_handlers): Use __exit_funcs_lock.
30259 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
30260 declarations.
30261 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
30262 (test-cxa_atexit-race, test-on_exit-race): New tests.
30263 * stdlib/test-atexit-race-common.c: New file.
30264 * stdlib/test-atexit-race.c: New file.
30265 * stdlib/test-at_quick_exit-race.c: New file.
30266 * stdlib/test-cxa_atexit-race.c: New file.
30267 * stdlib/test-on_exit-race.c: New file.
30268
0525ce48
SN
302692017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
30270
30271 * benchtests/Makefile: Add exp2f and log2f benchmarks.
30272 * benchtests/exp2f-inputs: Copy of expf-inputs.
30273 * benchtests/log2f-inputs: Copy of logf-inputs.
30274
d82468d1
JM
302752017-09-19 Joseph Myers <joseph@codesourcery.com>
30276
30277 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
30278 Explicitly take address of first element of array arguments in
30279 call to INLINE_SYSCALL.
30280
43ffc53a
AS
302812017-09-19 Andreas Schwab <schwab@suse.de>
30282
30283 [BZ #22134]
30284 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
30285 execveat first.
30286 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
30287 unimplemented.
30288 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
30289 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
30290 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30291 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
30292 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
30293 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30294 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
30295 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
30296 * posix/Makefile (tests): Add tst-fexecve.
30297 * posix/tst-fexecve.c: New file.
30298
a5dcc87e
WD
302992017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30300
30301 * benchtests/Makefile: Add logf benchmark.
30302 * benchtests/logf-inputs: Add reduced trace from wrf_r.
30303
7024d544
WD
303042017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30305
30306 * benchtests/Makefile: Add expf benchmark.
30307 * benchtests/expf-inputs: Add reduced trace from wrf_r.
30308
ca3a382e
WD
303092017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
30310
30311 * csu/Makefile: Add -funwind-tables to libc-start.c.
30312 * debug/Makefile: Add -funwind-tables to backtrace.c.
30313 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
30314 * sysdeps/arm/Makefile: Likewise.
30315 * sysdeps/i386/Makefile: Likewise.
30316 * sysdeps/m68k/Makefile: Likewise.
30317 * sysdeps/mips/Makefile: Likewise.
30318 * sysdeps/nios2/Makefile: Likewise.
30319 * sysdeps/sh/Makefile: Likewise.
30320 * sysdeps/sparc/Makefile: Likewise.
30321
eb375def
JM
303222017-09-19 Joseph Myers <joseph@codesourcery.com>
30323
30324 * benchtests/Makefile (bench-math): Add trunc and truncf.
30325 (CFLAGS-bench-trunc.c): New variable.
30326 (CFLAGS-bench-truncf.c): Likewise.
30327 * benchtests/trunc-inputs: New file.
30328 * benchtests/truncf-inputs: Likewise.
30329
bd17ba29
RS
303302017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30331
30332 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30333
92892fdb
JM
303342017-09-18 Joseph Myers <joseph@codesourcery.com>
30335
6d9b0b5a
JM
30336 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30337 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30338 redefine.
30339 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30340 (exp10l): Define as weak alias.
30341 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30342 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30343 and redefine.
30344 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30345 (remainderl): Define as weak alias.
30346
92892fdb
JM
30347 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30348 (fmal): Define using libm_alias_ldouble.
30349 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30350 (acoshl): Define using libm_alias_ldouble.
30351 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30352 (acosl): Define using libm_alias_ldouble.
30353 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30354 (asinl): Define using libm_alias_ldouble.
30355 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30356 (atan2l): Define using libm_alias_ldouble.
30357 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30358 (atanhl): Define using libm_alias_ldouble.
30359 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30360 (coshl): Define using libm_alias_ldouble.
30361 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30362 (exp10l): Define using libm_alias_ldouble.
30363 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30364 (exp2l): Define using libm_alias_ldouble.
30365 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30366 (expl): Define using libm_alias_ldouble.
30367 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30368 (fmodl): Define using libm_alias_ldouble.
30369 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30370 (hypotl): Define using libm_alias_ldouble.
30371 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30372 (j0l): Define using libm_alias_ldouble.
30373 (y0l): Likewise.
30374 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30375 (j1l): Define using libm_alias_ldouble.
30376 (y1l): Likewise.
30377 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30378 (jnl): Define using libm_alias_ldouble.
30379 (ynl): Likewise.
30380 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30381 (log10l): Define using libm_alias_ldouble.
30382 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30383 (log2l): Define using libm_alias_ldouble.
30384 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30385 (logl): Define using libm_alias_ldouble.
30386 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30387 (powl): Define using libm_alias_ldouble.
30388 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30389 (remainderl): Define using libm_alias_ldouble.
30390 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30391 (sinhl): Define using libm_alias_ldouble.
30392 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30393 (sqrtl): Define using libm_alias_ldouble.
30394 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30395 (tgammal): Define using libm_alias_ldouble.
30396 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30397 (exp10l): Do not use long_double_symbol here.
30398 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30399 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30400 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30401 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30402 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30403 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30404 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30405 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30406 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30407 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30408 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30409 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30410 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30411 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30412 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30413 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30414 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30415 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30416 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30417 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30418 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30419 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30420
6cd380dd
WB
304212017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30422
30423 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30424 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30425
1c6d89e9
ST
304262017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30427
30428 * io/read.c (read): Add libc_hidden_weak.
30429 * sysdeps/mach/hurd/read.c (read): Likewise.
30430 * io/write.c (write): Likewise.
30431 * sysdeps/mach/hurd/write.c (write): Likewise.
30432 * io/pread64.c (__pread64): Likewise.
30433 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30434 * posix/pread64.c (__pread64): Add libc_hidden_def.
30435
06b1de23
SP
304362017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30437
140647ea
SP
30438 * benchtests/scripts/compare_strings.py: New option -g.
30439 (draw_graph): Print a message that a graph is being generated.
30440 (process_results): Generate graph only if -g is passed.
30441 (main): Process option -g.
30442
5a6547b7
SP
30443 * benchtests/scripts/compare_strings.py (process_results):
30444 Better spacing for output.
30445
06b1de23
SP
30446 * benchtests/scripts/compare_strings.py: Use argparse.
30447 * benchtests/README: Document existence of compare_strings.py.
30448
c67a2328
JM
304492017-09-15 Joseph Myers <joseph@codesourcery.com>
30450
9ac44708
JM
30451 * math/s_fma.c: Include <libm-alias-double.h>.
30452 (fma): Define using libm_alias_double.
30453 * math/s_nextafter.c: Include <libm-alias-double.h>.
30454 (nextafter): Define using libm_alias_double.
30455 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30456 (acos): Define using libm_alias_double.
30457 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30458 (aocsh): Define using libm_alias_double.
30459 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30460 (asin): Define using libm_alias_double.
30461 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30462 (atan2): Define using libm_alias_double.
30463 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30464 (atanh): Define using libm_alias_double.
30465 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30466 (cosh): Define using libm_alias_double.
30467 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30468 (exp10): Define using libm_alias_double.
30469 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30470 (exp2): Define using libm_alias_double.
30471 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30472 (exp): Define using libm_alias_double.
30473 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30474 (fmod): Define using libm_alias_double.
30475 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30476 (hypot): Define using libm_alias_double.
30477 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30478 (j0): Define using libm_alias_double.
30479 (y0): Likewise.
30480 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30481 (j1): Define using libm_alias_double.
30482 (y1): Likewise.
30483 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30484 (jn): Define using libm_alias_double.
30485 (yn): Likewise.
30486 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30487 (log10): Define using libm_alias_double.
30488 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30489 (log2): Define using libm_alias_double.
30490 * math/w_log_compat.c: Include <libm-alias-double.h>.
30491 (log): Define using libm_alias_double.
30492 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30493 (pow): Define using libm_alias_double.
30494 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30495 (remainder): Define using libm_alias_double.
30496 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30497 (sinh): Define using libm_alias_double.
30498 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30499 (sqrt): Define using libm_alias_double.
30500 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30501 (tgamma): Define using libm_alias_double.
30502 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30503 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30504 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30505 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30506 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30507 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30508 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30509 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30510 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30511 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30512 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30513 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30514 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30515 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30516 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30517 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30518 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30519 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30520 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30521 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30522 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30523 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30524 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30525 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30526 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30527
c67a2328
JM
30528 * math/e_acoshl.c: Remove.
30529 * math/e_acosl.c: Likewise.
30530 * math/e_asinl.c: Likewise.
30531 * math/e_atan2l.c: Likewise.
30532 * math/e_atanhl.c: Likewise.
30533 * math/e_coshl.c: Likewise.
30534 * math/e_expl.c: Likewise.
30535 * math/e_fmodl.c: Likewise.
30536 * math/e_gammal_r.c: Likewise.
30537 * math/e_hypotl.c: Likewise.
30538 * math/e_j0l.c: Likewise.
30539 * math/e_j1l.c: Likewise.
30540 * math/e_jnl.c: Likewise.
30541 * math/e_lgammal_r.c: Likewise.
30542 * math/e_log10l.c: Likewise.
30543 * math/e_log2l.c: Likewise.
30544 * math/e_logl.c: Likewise.
30545 * math/e_powl.c: Likewise.
30546 * math/e_rem_pio2l.c: Likewise.
30547 * math/e_sinhl.c: Likewise.
30548 * math/e_sqrtf128.c: Likewise.
30549 * math/e_sqrtl.c: Likewise.
30550 * math/k_cosl.c: Likewise.
30551 * math/k_sinl.c: Likewise.
30552 * math/k_tanl.c: Likewise.
30553 * math/s_asinhl.c: Likewise.
30554 * math/s_atanl.c: Likewise.
30555 * math/s_cbrtl.c: Likewise.
30556 * math/s_erfl.c: Likewise.
30557 * math/s_expm1l.c: Likewise.
30558 * math/s_log1pl.c: Likewise.
30559 * math/s_tanhl.c: Likewise.
30560
61c45f25
TMQMF
305612017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30562
30563 [BZ #21745]
30564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30565 [$(subdir) = math] (sysdep_calls): New variable. Has the
30566 previous contents of sysdep_routines, but re-sorted..
30567 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30568 sysdep_calls.
30569 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30570 defined in sysdep_calls and replace by the respective m_* names.
30571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30572 (compat_symbol): Undefine to avoid duplicated compat symbols in
30573 libc.
30574
5bcdb315
JM
305752017-09-15 Joseph Myers <joseph@codesourcery.com>
30576
30577 * math/s_fmaf.c: Include <libm-alias-float.h>.
30578 (fmaf): Define using libm_alias_float.
30579 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30580 (acosf): Define using libm_alias_float.
30581 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30582 (acoshf): Define using libm_alias_float.
30583 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30584 (asinf): Define using libm_alias_float.
30585 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30586 (atan2f): Define using libm_alias_float.
30587 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30588 (atanhf): Define using libm_alias_float.
30589 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30590 (coshf): Define using libm_alias_float.
30591 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30592 (exp10f): Define using libm_alias_float.
30593 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30594 (fmodf): Define using libm_alias_float.
30595 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30596 (hypotf): Define using libm_alias_float.
30597 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30598 (j0f): Define using libm_alias_float.
30599 (y0f): Likewise.
30600 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30601 (j1f): Define using libm_alias_float.
30602 (y1f): Likewise.
30603 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30604 (jnf): Define using libm_alias_float.
30605 (ynf): Likewise.
30606 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30607 (log10f): Define using libm_alias_float.
30608 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30609 (log2f): Define using libm_alias_float.
30610 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30611 (logf): Define using libm_alias_float.
30612 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30613 (powf): Define using libm_alias_float.
30614 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30615 (remainderf): Define using libm_alias_float.
30616 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30617 (sinhf): Define using libm_alias_float.
30618 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30619 (sqrtf): Define using libm_alias_float.
30620 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30621 (tgammaf): Define using libm_alias_float.
30622
01f28812
JM
306232017-09-14 Joseph Myers <joseph@codesourcery.com>
30624
30625 * include/math.h (roundeven): Change hidden_proto call to
30626 __roundeven.
30627 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30628 alias.
30629 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30630 (y0): Rename to __y0 and define as weak alias.
30631 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30632 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30633 alias.
30634 (y0f): Rename to __y0f and define as weak alias.
30635 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30636 alias.
30637 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30638 (y1): Rename to __y1 and define as weak alias.
30639 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30640 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30641 alias.
30642 (y1f): Rename to __y1f and define as weak alias.
30643 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30644 alias.
30645 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30646 (yn): Rename to __yn and define as weak alias.
30647 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30648 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30649 alias.
30650 (ynf): Rename to __ynf and define as weak alias.
30651 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30652 (fromfp): Define as weak alias.
30653 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30654 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30655 (fromfpx): Define as weak alias.
30656 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30657 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30658 __getpayload and define as weak alias.
30659 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30660 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30661 __roundeven and define as weak alias.
30662 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30663 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30664 __setpayload.
30665 (setpayload): Define as weak alias.
30666 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30667 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30668 __setpayloadsig.
30669 (setpayloadsig): Define as weak alias.
30670 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30671 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30672 __totalorder and define as weak alias.
30673 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30674 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30675 to __totalordermag and define as weak alias.
30676 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30677 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30678 (ufromfp): Define as weak alias.
30679 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30680 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30681 __ufromfpx.
30682 (ufromfpx): Define as weak alias.
30683 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30684 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30685 Rename to __getpayload and define as weak alias.
30686 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30687 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30688 Rename to __roundeven and define as weak alias.
30689 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30690 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30691 Rename to __totalorder and define as weak alias.
30692 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30693 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30694 (totalordermag): Rename to __totalordermag and define as weak
30695 alias.
30696 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30697 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30698 macro.
30699 (__roundevenl): Likewise.
30700 (__totalorderl): Likewise.
30701 (__totalordermagl): Likewise
30702 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30703 __fromfpf128.
30704 (fromfpf128): Define as weak alias.
30705 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30706 __fromfpxf128.
30707 (fromfpxf128): Define as weak alias.
30708 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30709 __setpayloadf128.
30710 (setpayloadf128): Define as weak alias.
30711 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30712 __setpayloadsigf128.
30713 (setpayloadsigf128): Define as weak alias.
30714 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30715 __ufromfpf128.
30716 (ufromfpf128): Define as weak alias.
30717 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30718 __ufromfpxf128.
30719 (ufromfpxf128): Define as weak alias.
30720 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30721 (fromfpf): Define as weak alias.
30722 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30723 __fromfpxf.
30724 (fromfpxf): Define as weak alias.
30725 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30726 __getpayloadf and define as weak alias.
30727 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30728 __roundevenf and define as weak alias.
30729 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30730 __setpayloadf.
30731 (setpayloadf): Define as weak alias.
30732 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30733 __setpayloadsigf.
30734 (setpayloadsigf): Define as weak alias.
30735 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30736 __totalorderf and define as weak alias.
30737 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30738 Rename to __totalordermagf and define as weak alias.
30739 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30740 __ufromfpf.
30741 (ufromfpf): Define as weak alias.
30742 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30743 __ufromfpxf.
30744 (ufromfpxf): Define as weak alias.
30745 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30746 __fromfpl.
30747 (fromfpl): Define as weak alias.
30748 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30749 __fromfpxl.
30750 (fromfpxl): Define as weak alias.
30751 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30752 to __getpayloadl and define as weak alias.
30753 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30754 __roundevenl and define as weak alias.
30755 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30756 __setpayloadl.
30757 (setpayloadl): Define as weak alias.
30758 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30759 __setpayloadsigl.
30760 (setpayloadsigl): Define as weak alias.
30761 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30762 to __totalorderl and define as weak alias.
30763 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30764 Rename to __totalordermagl and define as weak alias.
30765 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30766 __ufromfpl.
30767 (ufromfpl): Define as weak alias.
30768 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30769 __ufromfpxl.
30770 (ufromfpxl): Define as weak alias.
30771 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30772 __fromfpl.
30773 (fromfpl): Define as weak alias.
30774 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30775 __fromfpxl.
30776 (fromfpxl): Define as weak alias.
30777 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30778 Rename to __getpayloadl and define as weak alias.
30779 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30780 to __roundevenl and define as weak alias. Call __roundeven
30781 instead of roundeven.
30782 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30783 __setpayloadl.
30784 (setpayloadl): Define as weak alias.
30785 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30786 __setpayloadsigl.
30787 (setpayloadsigl): Define as weak alias.
30788 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30789 Rename to __totalorderl and define as weak alias.
30790 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30791 Rename to __totalordermagl and define as weak alias.
30792 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30793 __ufromfpl.
30794 (ufromfpl): Define as weak alias.
30795 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30796 __ufromfpxl.
30797 (ufromfpxl): Define as weak alias.
30798 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30799 __fromfpl.
30800 (fromfpl): Define as weak alias.
30801 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30802 __fromfpxl.
30803 (fromfpxl): Define as weak alias.
30804 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30805 __getpayloadl and define as weak alias.
30806 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30807 __roundevenl and define as weak alias.
30808 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30809 __setpayloadl.
30810 (setpayloadl): Define as weak alias.
30811 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30812 __setpayloadsigl.
30813 (setpayloadsigl): Define as weak alias.
30814 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30815 __totalorderl and define as weak alias.
30816 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30817 Rename to __totalordermagl and define as weak alias.
30818 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30819 __ufromfpl.
30820 (ufromfpl): Define as weak alias.
30821 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30822 __ufromfpxl.
30823 (ufromfpxl): Define as weak alias.
30824
29c933fb
SP
308252017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30826
503c92c3
SP
30827 * benchtests/bench-string.h (realloc_bufs): New function.
30828 (test_init): Call it.
30829 * benchtests/bench-memset-large.c (do_test): Likewise.
30830 * benchtests/bench-memset.c (do_test): Likewise.
30831
29c933fb
SP
30832 * benchtests/bench-memset-large.c: Print output in JSON
30833 format.
30834 * benchtests/bench-memset.c: Likewise.
30835
799c8d69
MF
308362017-09-14 Mike FABIAN <mfabian@redhat.com>
30837
30838 [BZ #21084]
30839 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30840 * iconvdata/Makefile: Add IBM858.
30841 * iconvdata/gconv-modules: Likewise.
30842 * iconvdata/tst-tables.sh: Likewise.
30843 * iconvdata/ibm858.c: New file.
30844 * localedata/charmaps/IBM858: Likewise.
30845
c207f7ce 308462017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30847
30848 [BZ #22023]
30849 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30850 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30851
f28a0926
AK
308522017-09-14 Mike FABIAN <mfabian@redhat.com>
30853
30854 [BZ #22112]
30855 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30856 and add tel_int_fmt.
30857
02093e62
JM
308582017-09-14 Joseph Myers <joseph@codesourcery.com>
30859
30860 * sysdeps/generic/libm-alias-float128.h: New file.
30861 * sysdeps/generic/math-type-macros-float128.h: Include
30862 <libm-alias-float128.h>.
30863 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30864
1aae75ef
JM
308652017-09-13 Joseph Myers <joseph@codesourcery.com>
30866
30867 * sysdeps/generic/libm-alias-ldouble.h: New file.
30868 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30869 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30870 * sysdeps/generic/math-type-macros-ldouble.h: Include
30871 <libm-alias-ldouble.h>.
30872 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30873 libm_alias_ldouble.
30874
bcea7ad6
SN
308752017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30876
30877 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30878 * math/w_exp_compat.c: ... here.
30879 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30880 * math/w_expf_compat.c: ... here.
30881 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30882 * math/w_expl_compat.c: ... here.
30883 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30884 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30885 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30886 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30887
0fc56478
JM
308882017-09-13 Joseph Myers <joseph@codesourcery.com>
30889
30890 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30891 redefine.
30892 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30893 macro.
30894 (ldexpl): Only define as compat symbol for libc, not libm.
30895 (scalbnl): Define as compat symbol for libc here.
30896 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30897 define for [IS_IN (libc)].
30898 (__ldexpl_2): Remove alias.
30899 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30900 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30901 name in long_double_symbol call.
30902 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30903 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30904 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30905 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30906 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30907 Remove macro.
30908 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30909 Define as compat symbol.
30910
3ca622e4
AZ
309112017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30912
30913 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30914 * sysdeps/unix/sysv/linux/alpha/Makefile
30915 [$(subdir) = csu] (sysdep_routines): Remove rule.
30916
620ff9ee
JM
309172017-09-13 Joseph Myers <joseph@codesourcery.com>
30918
30919 * sysdeps/generic/libm-alias-double.h: New file.
30920 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30921 * sysdeps/generic/math-type-macros-double.h: Include
30922 <libm-alias-double.h>.
30923 [declare_mgen_alias] (declare_mgen_alias): Define to use
30924 libm_alias_double.
30925 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30926 (M_LIBM_NEED_COMPAT): Remove macro.
30927 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30928 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30929 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30930 code.
30931 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30932 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30933 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30934 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30935 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30936 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30937 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30938 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30939 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30940 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30941 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30942 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30943 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30944 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30945 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30946 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30947 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30948 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30949 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30950 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30951 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30952 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30953 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30954 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30955 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30956 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30957 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30958 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30959 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30960 macro.
30961 (declare_mgen_alias): New macro.
30962 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30963 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30965 (M_LIBM_NEED_COMPAT): Remove macro.
30966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30967 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30968 <first-versions.h>.
30969 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30970 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30971
a891caff
JM
309722017-09-12 Joseph Myers <joseph@codesourcery.com>
30973
30974 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30975 (declare_mgen_alias_2): Remove.
30976 * sysdeps/generic/math-type-macros-double.h
30977 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30978 Likewise.
30979 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30980 alias.
30981 (ldexp): Define with declare_mgen_alias.
30982 (scalbn): Likewise.
30983
a1a78204
SE
309842017-09-12 Steve Ellcey <sellcey@cavium.com>
30985
30986 * grp/initgroups.c: Include config.h.
30987 (DEFAULT_CONFIG): New macro.
30988 (internal_getgrouplist): Use DEFAULT_CONFIG.
30989 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30990 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30991 (DEFAULT_DEFCONFIG): New macro.
30992 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30993 * nss/grp-lookup.c: Include config.h
30994 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30995 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30996 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30997 * manual/nss.texi: Update default values section.
30998
ef8adeb0
L
309992017-09-12 H.J. Lu <hongjiu.lu@intel.com>
31000
31001 [BZ #21967]
31002 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
31003 New.
31004 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
31005 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
31006 Handle MathVec_Prefer_No_AVX512.
31007 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
31008 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
31009 is set.
31010
a166531f
ST
310112017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
31012
31013 * posix/sched_primax.c (__sched_get_priority_max): Add
31014 libc_hidden_def.
31015 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
31016 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
31017 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
31018 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
31019 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
31020 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
31021 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
31022 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
31023 Add aliases.
31024
4b7d1efb
JM
310252017-09-11 Joseph Myers <joseph@codesourcery.com>
31026
31027 * sysdeps/generic/libm-alias-float.h: New file.
31028 * sysdeps/generic/math-type-macros-float.h: Include
31029 <libm-alias-float.h>.
31030 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
31031
45ff3463
L
310322017-09-11 H.J. Lu <hongjiu.lu@intel.com>
31033
31034 [BZ #22093]
31035 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
31036 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
31037 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
31038 (HWCAP_IMPORTANT): Likewise.
31039 (HWCAP_X86_64): New enum.
31040 (HWCAP_X86_AVX512_1): Updated.
31041 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
31042 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
31043 (modules-names): Add x86_64/tst-x86_64mod-1.
31044 (LDFLAGS-tst-x86_64mod-1.so): New.
31045 ($(objpfx)tst-x86_64-1): Likewise.
31046 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
31047 (tst-x86_64-1-clean): Likewise.
31048 * sysdeps/x86_64/tst-x86_64-1.c: New file.
31049 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
31050
891abfd3
SP
310512017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
31052
31053 * po/sv.po: Update translations.
31054 * po/fr.po: Likewise.
31055
00c3da43
ST
310562017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
31057
31058 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
31059 seconds.
3bdfd9fb
ST
31060 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
31061 seconds.
65b22ebc 31062 * elf/rtld-Rules: Fix $(error) use.
00c3da43 31063
96480903
MF
310642017-09-09 Mike FABIAN <mfabian@redhat.com>
31065
31066 [BZ #14925]
31067 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
31068 * locale/iso-639.def: Change “Bengali” to “Bangla”.
31069 * localedata/locales/bn_BD: “Bengali” was still used in some
31070 comments. Change it to “Bangla”.
31071
4c03a696
MT
310722017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
31073
31074 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
31075
9c9ec581
SE
310762017-09-08 Steve Ellcey <sellcey@cavium.com>
31077
31078 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
31079 thunderx2t99p1 to list of cpu names.
31080 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
31081 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
31082
f00bce74
SE
310832017-09-08 Steve Ellcey <sellcey@cavium.com>
31084
31085 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
31086 Use strcmp instead of tunable_is_name.
31087
27342d17
JM
310882017-09-08 Joseph Myers <joseph@codesourcery.com>
31089
af1b7c8c
JM
31090 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31091 (F_GET_RW_HINT): New macro.
31092 [__USE_GNU] (F_SET_RW_HINT): Likewise.
31093 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
31094 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
31095 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
31096 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
31097 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
31098 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
31099 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
31100 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
31101
27342d17
JM
31102 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
31103 (F_ADD_SEALS): New macro.
31104 [__USE_GNU] (F_GET_SEALS): Likewise.
31105 [__USE_GNU] (F_SEAL_SEAL): Likewise.
31106 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
31107 [__USE_GNU] (F_SEAL_GROW): Likewise.
31108 [__USE_GNU] (F_SEAL_WRITE): Likewise.
31109
c66c9082
AZ
311102017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31111
07b4f49d
AZ
31112 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
31113 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
31114 * posix/glob_internal.h (__glob_pattern_type):
31115 * posix/glob.c (glob):
31116 * posix/glob_pattern_p.c (__glob_pattern_p):
31117 Use them.
31118
116f1c64
AZ
31119 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
31120 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
31121 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
31122 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
31123 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
31125 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
31126 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
31127 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31128 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
31129 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31130 * sysdeps/wordsize-64/glob.c: Likewise.
31131 * sysdeps/wordsize-64/glob64.c: Likewise.
31132 * sysdeps/wordsize-64/globfree.c: Likewise.
31133 * sysdeps/wordsize-64/globfree64.c: Likewise.
31134 * sysdeps/unix/sysv/linux/glob.c: New file.
31135 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
31136 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
31137 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
31138 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
31139 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
31140 adds !GLOB_NO_OLD_VERSION as an extra condition.
31141 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
31142 using relative path instead of absolute one.
31143 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
31144 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
31145 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
31146 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
31147 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
31148 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
31149
ffca8901
AZ
31150 [BZ #1062]
31151 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
31152 (glob): Use the same scratch buffer for both getlogin_r and
31153 getpwnam_r. Don’t require preallocation of the login name. This
31154 simplifies storage allocation, and corrects the handling of
31155 long login names.
31156
5a79f975
AZ
31157 [BZ #1062]
31158 * posix/glob.c (glob): Port recent patches to platforms
31159 lacking getpwnam_r.
31160 (glob): Fix longstanding misuse of errno after getpwnam_r, which
31161 returns an error number rather than setting errno.
31162
e00f2425
AZ
31163 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
31164 instead of GCC extension.
31165 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
31166 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
31167 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
31168
5554304f
AZ
31169 [BZ #866]
31170 [BZ #1062]
31171 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
31172 * posix/bug-glob1.c: Remove file.
31173 * posix/tst-glob_symlinks.c: New file.
31174 * posix/glob.c (__lstat64): New macro.
31175 (is_dir): New function.
31176 (glob, glob_in_dir): Match symlinks even if they are dangling.
31177 (link_stat, link_exists_p): Remove. All uses removed.
31178
686f2ea1
AZ
31179 [BZ #1062]
31180 [BZ #19971]
31181 * posix/glob.c (struct readdir_result): Remove skip_entry member.
31182 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
31183 All uses removed.
31184
c66c9082 31185 [BZ #1062]
914c9994 31186 CVE-2017-15671
c66c9082
AZ
31187 * posix/Makefile (routines): Add globfree, globfree64, and
31188 glob_pattern_p.
31189 * posix/flexmember.h: New file.
31190 * posix/glob_internal.h: Likewise.
31191 * posix/glob_pattern_p.c: Likewise.
31192 * posix/globfree.c: Likewise.
31193 * posix/globfree64.c: Likewise.
31194 * sysdeps/gnu/globfree64.c: Likewise.
31195 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
31196 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
31197 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
31198 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
31199 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
31200 * sysdeps/wordsize-64/globfree.c: Likewise.
31201 * sysdeps/wordsize-64/globfree64.c: Likewise.
31202 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
31203 [NDEBUG): Remove comments.
31204 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
31205 (dirent_type): New type. Use uint_fast8_t not
31206 uint8_t, as C99 does not require uint8_t.
31207 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
31208 (struct readdir_result): Use dirent_type. Do not define skip_entry
31209 unless it is needed; this saves a byte on platforms lacking d_ino.
31210 (readdir_result_type, readdir_result_skip_entry):
31211 New functions, replacing ...
31212 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 31213 these functions, which were removed. This makes the callers
c66c9082
AZ
31214 easier to read. All callers changed.
31215 (D_INO_TO_RESULT): Now empty if there is no d_ino.
31216 (size_add_wrapv, glob_use_alloca): New static functions.
31217 (glob, glob_in_dir): Check for size_t overflow in several places,
31218 and fix some size_t checks that were not quite right.
31219 Remove old code using SHELL since Bash no longer
31220 uses this.
31221 (glob, prefix_array): Separate MS code better.
31222 (glob_in_dir): Remove old Amiga and VMS code.
31223 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
31224 separate files.
31225 (glob_in_dir): Do not rely on undefined behavior in accessing
31226 struct members beyond their bounds. Use a flexible array member
31227 instead
31228 (link_stat): Rename from link_exists2_p and return -1/0 instead of
31229 0/1. Caller changed.
31230 (glob): Fix memory leaks.
31231 * posix/glob64 (globfree64): Move to separate file.
31232 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
31233 (globfree64): Remove hidden alias.
31234 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
31235 oldglob.
31236 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
31237 separate file.
31238 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
31239 define.
31240 Move compat code to separate file.
31241 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
31242 separate file.
31243
78bfa877
L
312442017-09-07 H.J. Lu <hongjiu.lu@intel.com>
31245
31246 * resolv/tst-resolv-qtypes.c (domain): Changed to
31247 "const char domain[] =".
31248
05f0011f
JM
312492017-09-07 Joseph Myers <joseph@codesourcery.com>
31250
85bec0f2
JM
31251 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
31252 version to 3.1.6.
31253
5c23ee6e
JM
31254 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
31255 (TCP_MD5SIG_EXT): Likewise.
31256 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
31257 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
31258 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
31259
05f0011f
JM
31260 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
31261
7c9c5be9
MF
312622017-09-07 Mike FABIAN <mfabian@redhat.com>
31263
31264 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
31265
c207f7ce 312662017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
31267
31268 [BZ #22100]
31269 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
31270
507fe027
ST
312712017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
31272
31273 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
31274 before assuming that the file is empty. Avoid testing buffer content
31275 when nread == 0.
31276
65687ac7
AZ
312772017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31278
7bbbb4b9 31279 [BZ #18858]
65687ac7
AZ
31280 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31281 Remove define.
31282 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
31283 Likewise.
31284 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
31285 Likewise.
31286 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
31287 Likewise.
31288 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
31289 Likewise.
31290 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
31291 Likewise.
31292 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
31293 Likewise.
31294
ab5ac271
FW
312952017-09-06 Florian Weimer <fweimer@redhat.com>
31296
31297 * malloc/dynarray_emplace_enlarge.c
31298 (__libc_dynarray_emplace_enlarge): Add missing else.
31299
a8304730
FW
313002017-09-06 Florian Weimer <fweimer@redhat.com>
31301
31302 [BZ #22096]
31303 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
31304 case of failure to obtain the global conf object.
31305
5670c4ab
FW
313062017-09-06 Florian Weimer <fweimer@redhat.com>
31307
31308 [BZ #22095]
31309 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
31310 dynarray allocation failure.
31311
c77eb969
FW
313122017-09-06 Florian Weimer <fweimer@redhat.com>
31313
31314 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
31315 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
31316 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
31317 New functions.
31318 (response): Call them. Add 'p', '6' flag processing.
31319 (test_reverse): New function.
31320 (test_get2_any): Call it.
31321 (test_no_inet6): Add 'p' test.
31322 (test_inet6): Likewise.
31323
5e9c4d17
FW
313242017-09-06 Florian Weimer <fweimer@redhat.com>
31325
31326 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
31327 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
31328 the QNAME.
31329 (test_gai): Adjust query names. Add additional tests.
31330 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31331 test_get2. Adjust query names. Add additional tests.
31332 (test_no_inet6): New function, extracted from threadfunc.
31333 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31334 Add additional tests.
31335
2ae5be04
MF
313362017-09-06 Mike FABIAN <mfabian@redhat.com>
31337
31338 [BZ #22070]
31339 * localedata/unicode-gen/utf8_gen.py: Set the width for
31340 characters with Prepended_Concatenation_Mark property to 1
31341 * localedata/charmaps/UTF-8: Updated using the improved script.
31342
af83ed5c
MF
313432017-09-06 Mike FABIAN <mfabian@redhat.com>
31344
31345 [BZ #21750]
31346 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31347 use the range notation for all ranges of neighbouring characters
31348 with the same width.
31349
4f3647e4
JM
313502017-09-05 Joseph Myers <joseph@codesourcery.com>
31351
31352 * sysdeps/generic/math-type-macros-double.h: Include
31353 <math-svid-compat.h>.
31354 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31355 * sysdeps/generic/math-type-macros-float.h: Include
31356 <math-svid-compat.h>.
31357 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31358 * sysdeps/generic/math-type-macros-ldouble.h: Include
31359 <math-svid-compat.h>.
31360 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31361 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31362 condition.
31363 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31364 * math/w_acosf_compat.c: Likewise.
31365 * math/w_acosh_compat.c: Likewise.
31366 * math/w_acoshf_compat.c: Likewise.
31367 * math/w_acoshl_compat.c: Likewise.
31368 * math/w_acosl_compat.c: Likewise.
31369 * math/w_asin_compat.c: Likewise.
31370 * math/w_asinf_compat.c: Likewise.
31371 * math/w_asinl_compat.c: Likewise.
31372 * math/w_atan2_compat.c: Likewise.
31373 * math/w_atan2f_compat.c: Likewise.
31374 * math/w_atan2l_compat.c: Likewise.
31375 * math/w_atanh_compat.c: Likewise.
31376 * math/w_atanhf_compat.c: Likewise.
31377 * math/w_atanhl_compat.c: Likewise.
31378 * math/w_cosh_compat.c: Likewise.
31379 * math/w_coshf_compat.c: Likewise.
31380 * math/w_coshl_compat.c: Likewise.
31381 * math/w_exp10_compat.c: Likewise.
31382 * math/w_exp10f_compat.c: Likewise.
31383 * math/w_exp10l_compat.c: Likewise.
31384 * math/w_exp2_compat.c: Likewise.
31385 * math/w_exp2f_compat.c: Likewise.
31386 * math/w_exp2l_compat.c: Likewise.
31387 * math/w_fmod_compat.c: Likewise.
31388 * math/w_fmodf_compat.c: Likewise.
31389 * math/w_fmodl_compat.c: Likewise.
31390 * math/w_hypot_compat.c: Likewise.
31391 * math/w_hypotf_compat.c: Likewise.
31392 * math/w_hypotl_compat.c: Likewise.
31393 * math/w_j0_compat.c: Likewise.
31394 * math/w_j0f_compat.c: Likewise.
31395 * math/w_j0l_compat.c: Likewise.
31396 * math/w_j1_compat.c: Likewise.
31397 * math/w_j1f_compat.c: Likewise.
31398 * math/w_j1l_compat.c: Likewise.
31399 * math/w_jn_compat.c: Likewise.
31400 * math/w_jnf_compat.c: Likewise.
31401 * math/w_jnl_compat.c: Likewise.
31402 * math/w_lgamma_r_compat.c: Likewise.
31403 * math/w_lgammaf_r_compat.c: Likewise.
31404 * math/w_lgammal_r_compat.c: Likewise.
31405 * math/w_log10_compat.c: Likewise.
31406 * math/w_log10f_compat.c: Likewise.
31407 * math/w_log10l_compat.c: Likewise.
31408 * math/w_log2_compat.c: Likewise.
31409 * math/w_log2f_compat.c: Likewise.
31410 * math/w_log2l_compat.c: Likewise.
31411 * math/w_log_compat.c: Likewise.
31412 * math/w_logf_compat.c: Likewise.
31413 * math/w_logl_compat.c: Likewise.
31414 * math/w_pow_compat.c: Likewise.
31415 * math/w_powf_compat.c: Likewise.
31416 * math/w_powl_compat.c: Likewise.
31417 * math/w_remainder_compat.c: Likewise.
31418 * math/w_remainderf_compat.c: Likewise.
31419 * math/w_remainderl_compat.c: Likewise.
31420 * math/w_sinh_compat.c: Likewise.
31421 * math/w_sinhf_compat.c: Likewise.
31422 * math/w_sinhl_compat.c: Likewise.
31423 * math/w_sqrt_compat.c: Likewise.
31424 * math/w_sqrtf_compat.c: Likewise.
31425 * math/w_sqrtl_compat.c: Likewise.
31426 * math/w_tgamma_compat.c: Likewise.
31427 * math/w_tgammaf_compat.c: Likewise.
31428 * math/w_tgammal_compat.c: Likewise.
31429 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31430 [LIBM_SVID_COMPAT].
31431 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31432 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31433 [LIBM_SVID_COMPAT].
31434 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31435 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31436 [LIBM_SVID_COMPAT].
31437 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31438 * sysdeps/i386/fpu/w_sqrt.c: New file.
31439 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31440 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31441 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31442 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31443 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31444 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31445 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31446 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31447 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31448 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31449 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31450 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31451 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31452 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31453 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31454 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31455 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31456 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31457 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31458 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31459 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31460 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31461 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31462 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31463 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31464 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31465 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31466 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31467 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31468 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31469 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31470 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31471 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31472 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31473 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31474 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31475 * sysdeps/ia64/fpu/w_log.c: Likewise.
31476 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31477 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31478 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31479 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31480 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31481 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31482 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31483 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31484 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31485 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31486 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31487 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31488 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31489 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31490 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31491 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31492 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31493 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31494 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31495 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31496 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31497 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31498 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31499 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31500 [LIBM_SVID_COMPAT].
31501 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31502 * sysdeps/ieee754/k_standard.c: Likewise.
31503 * sysdeps/ieee754/k_standardf.c: Likewise.
31504 * sysdeps/ieee754/k_standardl.c: Likewise.
31505 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31506 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31507 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31508 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31509 long_double_symbol call on [LIBM_SVID_COMPAT].
31510 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31511 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31512 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31513 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31514 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31515 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31516 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31517 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31518 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31519 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31520 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31521 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31522 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31523 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31524 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31525 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31526 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31527 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31528 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31529 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31530 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31531 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31532
05b38d64
SE
315332017-09-05 Steve Ellcey <sellcey@cavium.com>
31534
31535 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31536 * malloc/tst-mallocstate.c: Convert from test-skeleton
31537 to test-driver. Ifdef code using TEST_COMPAT macro.
31538 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31539 * math/test-matherr.c: Likewise.
31540
99d67918
JM
315412017-09-05 Joseph Myers <joseph@codesourcery.com>
31542
31543 [BZ #22086]
31544 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31545 comparing word with byte-swapped constant.
31546
c207f7ce 315472017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31548
31549 [BZ #20498]
31550 * locale/iso-639.def: add Miskito.
31551 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31552 * localedata/locales/miq_NI: New file.
31553
0a587a8a
L
315542017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31555
31556 [BZ #18822]
31557 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31558 (__mkdir): Likewise.
31559 * io/chmod.c (__chmod): Add libc_hidden_def.
31560 * io/mkdir.c (__mkdir): Likewise.
31561 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31562 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31563 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31564 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31565
f3a129b8
JM
315662017-09-04 Joseph Myers <joseph@codesourcery.com>
31567
1650e192
JM
31568 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31569 version to 4.13.
31570
f3a129b8
JM
31571 [BZ #22082]
31572 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31573 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31574
b38042f5
FW
315752017-09-04 Florian Weimer <fweimer@redhat.com>
31576
31577 * math/math.h: Issue warning if log is defined.
31578
059b6404
JM
315792017-09-04 Joseph Myers <joseph@codesourcery.com>
31580
31581 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31582 kernel version to 4.13.
31583
b794e16b
ST
315842017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31585
31586 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31587 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31588 parameter.
01969395
ST
31589 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31590 just <bits/types.h>.
dd2b31de 31591 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31592 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31593 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31594 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31595 * misc/preadv2.c: Include <errno.h>.
31596 * misc/preadv64v2.c: Include <errno.h>.
31597 * misc/pwritev2.c: Include <errno.h>.
31598 * misc/pwritev64v2.c: Include <errno.h>.
31599 * sysdeps/posix/preadv2.c: Include <errno.h>.
31600 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31601 Fix <unistd.h> inclusion.
31602 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31603 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31604 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31605 __strtoul_internal): New functions.
127e7773
ST
31606 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31607 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31608 * sysdeps/mach/hurd/i386/Makefile
31609 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31610 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31611 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31612 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31613 __feraiseexcept_renamed to feraiseexcept instead of
31614 __GI_feraiseexcept.
56bf5497 31615 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31616 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31617 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31618 RWF_NOWAIT): Define to 0 if undefined already.
31619 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31620 boils down to 0.
6547ec0a
ST
31621 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31622 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31623
5a80d39d
JM
316242017-09-01 Joseph Myers <joseph@codesourcery.com>
31625
31626 * manual/math.texi (pow10): Do not document.
31627 (pow10f): Likewise.
31628 (pow10l): Likewise.
31629 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31630 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31631 * math/libm-test-exp10.inc (pow10_test): Remove.
31632 (do_test): Do not call pow10.
31633 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31634 [NO_LONG_DOUBLE] (pow10l): Likewise.
31635 * math/w_exp10f_compat.c (pow10f): Likewise.
31636 * math/w_exp10l_compat.c (pow10l): Likewise.
31637 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31638 (pow10): Make into compat symbol.
31639 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31640 (pow10f): Make into compat symbol.
31641 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31642 (pow10l): Make into compat symbol.
31643 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31644 pow10.
31645 (CFLAGS-nldbl-pow10.c): Remove variable..
31646 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31647 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31648 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31649 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31650 Undefine and redefine.
31651 (pow10l): Make into compat symbol.
31652 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31653 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31654 * sysdeps/arm/libm-test-ulps: Likewise.
31655 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31656 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31657 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31658 * sysdeps/microblaze/libm-test-ulps: Likewise.
31659 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31660 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31661 * sysdeps/nios2/libm-test-ulps: Likewise.
31662 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31663 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31664 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31665 * sysdeps/sh/libm-test-ulps: Likewise.
31666 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31667 * sysdeps/tile/libm-test-ulps: Likewise.
31668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31669
3824fc38
PP
316702017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31671
31672 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31673
b3008279
L
316742017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31675
31676 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31677 "../ChangeLog.old/ChangeLog.8".
31678 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31679 "../ChangeLog.old/ChangeLog.14".
31680
136fa185
L
316812017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31682
31683 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31684 Threads Library.
31685
c18d50a2
JM
316862017-09-01 Joseph Myers <joseph@codesourcery.com>
31687
31688 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31689
bedbd859
L
316902017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31691
31692 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31693 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31694
50c66c7a
PP
316952017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31696
31697 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31698 32 atexit handlers.
31699
a617bd11
ZW
317002017-09-01 Zack Weinberg <zackw@panix.com>
31701
31702 * math/math.h (HUGE_VAL): Improve commentary.
31703
e0d2eb5a
AZ
317042017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31705 Andreas Schwab <schwab@suse.de>
31706
31707 [BZ #21530]
31708 * include/stdio.h (__gen_tempfd): New function.
31709 * stdio-common/Makefile (routines): Add gentempfd.
31710 * stdio-common/gentempfd.c: New file.
31711 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31712 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31713 unnamed file first.
31714
f4a6be25
FW
317152017-09-01 Florian Weimer <fweimer@redhat.com>
31716
31717 [BZ #21915]
31718 [BZ #21922]
31719 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31720 result to determine success or failure, not the errno value.
31721 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31722 (tst-nss-files-hosts-erange): Link with -ldl.
31723 * nss/tst-nss-files-hosts-erange.c: New file.
31724 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31725 (do_test): Add NO_DATA tests.
31726 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31727 (do_test): Call it.
31728
5f8340f5
FW
317292017-09-01 Florian Weimer <fweimer@redhat.com>
31730
31731 [BZ #21922]
31732 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31733 coming from gethostbyname2_r.
31734
65329bd2
FW
317352017-09-01 Florian Weimer <fweimer@redhat.com>
31736
31737 * support/namespace.h (struct support_chroot_configuration): Add
31738 hosts, host_conf.
31739 (struct support_chroot): Add path_hosts, path_host_conf.
31740 * support/support_chroot.c (write_file): New function.
31741 (support_chroot_create): Call it to process /etc/resolv.conf,
31742 /etc/hosts, /etc/host.conf.
31743 (support_chroot_free): Update.
31744
a2881ef0
FW
317452017-09-01 Florian Weimer <fweimer@redhat.com>
31746
31747 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31748 status indicates it is set.
31749
ad816a5e
FW
317502017-09-01 Florian Weimer <fweimer@redhat.com>
31751
63b52889 31752 [BZ #20532]
ad816a5e
FW
31753 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31754 function lookup failures more reliable.
31755
53250a21
FW
317562017-09-01 Florian Weimer <fweimer@redhat.com>
31757
31758 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31759 (getcanonname): Likewise.
31760 (gaih_inet): Likewise.
31761
924b121c
FW
317622017-09-01 Florian Weimer <fweimer@redhat.com>
31763
31764 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31765 (getcanonname): Likewise.
31766 (gaih_inet): Likewise.
31767
d9ff799a 317682017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31769 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31770
31771 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31772 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31773 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31774 (IREG_SIZE, OREG_SIZE): New macros.
31775 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31776 (IREG_SIZE, OREG_SIZE): New macros.
31777 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31778 (IREG_SIZE): New macro.
31779 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31780 (IREG_SIZE): New macro.
31781 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31782 New includes.
31783 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31784 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31785 (__CONCATX): Handle exceptions correctly on large values that may
31786 set FE_INVALID.
31787 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31788 Initialize if not already set.
b39d961c 31789 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31790
102dde84
AZ
317912017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31792
31793 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31794 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31795 Likewise.
31796 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31797 Likewise.
31798 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31799 Likewise.
31800 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31801 Likewise.
31802 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31803 Likewise.
31804 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31805 Likewise.
31806 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31807 Likewise.
31808 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31809 (NO_CANCELLATION): Likewise.
31810 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31811 Likewise.
31812 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31813 Likewise.
31814 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31815 Likewise.
31816 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31817 (NO_CANCELLATION): Likewise.
31818 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31819 (NO_CANCELLATION): Likewise.
31820 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31821 Likewise
31822 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31823 Likewise.
31824 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31825 Likewise.
31826 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31827 Likewise.
31828 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31829 hidden prototype.
31830 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31831 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31832
9eee633b
SE
318332017-08-31 Steve Ellcey <sellcey@cavium.com>
31834
31835 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31836 in resolver call.
31837
65284eb7
FW
318382017-08-31 Florian Weimer <fweimer@redhat.com>
31839
31840 * include/libc-symbols.h (internal_function): Remove.
31841
41ad5ca6
FW
318422017-08-31 Florian Weimer <fweimer@redhat.com>
31843
31844 * stdlib/fmtmsg.c (internal_addseverity): Remove
31845 internal_function.
31846
2fa6d086
FW
318472017-08-31 Florian Weimer <fweimer@redhat.com>
31848
31849 * stdio-common/printf_fp.c (group_number): Remove
31850 internal_function.
31851 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31852
b41bd5bc
FW
318532017-08-31 Florian Weimer <fweimer@redhat.com>
31854
31855 * posix/fnmatch.c (internal_function): Remove definition.
31856 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31857 * posix/regcomp.c (peek_token, init_word_char)
31858 (duplicate_node_closure, fetch_token, peek_token)
31859 (peek_token_bracket, build_range_exp, build_collating_symbol):
31860 Likewise.
31861 * posix/regex_internal.c (re_string_construct_common)
31862 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31863 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31864 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31865 (re_string_translate_buffer, re_string_reconstruct)
31866 (re_string_peek_byte_case, re_string_fetch_byte_case)
31867 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31868 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31869 (re_node_set_add_intersect, re_node_set_init_union)
31870 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31871 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31872 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31873 (re_acquire_state_context): Likewise.
31874 * posix/regex_internal.h (internal_function): Remove definition.
31875 (re_string_realloc_buffers, build_wcs_buffer)
31876 (build_wcs_upper_buffer, build_upper_buffer)
31877 (re_string_translate_buffer, re_string_context_at)
31878 (re_string_char_size_at, re_string_wchar_at)
31879 (re_string_elem_size_at): Likewise.
31880 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31881 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31882 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31883 (re_search_internal, re_search_2_stub, re_search_stub)
31884 (re_copy_regs, prune_impossible_nodes, check_matching)
31885 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31886 (free_fail_stack_return, sift_states_iter_mb)
31887 (sift_states_backward, build_sifted_states)
31888 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31889 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31890 (check_subexp_limits, sift_states_bkref, merge_state_array)
31891 (find_recover_state, transit_state, merge_state_with_log)
31892 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31893 (transit_state_mb, transit_state_bkref, get_subexp)
31894 (get_subexp_sub, find_subexp_node, check_arrival)
31895 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31896 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31897 (check_node_accept_bytes, find_collation_sequence_value)
31898 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31899 (acquire_init_state_context, check_halt_node_context)
31900 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31901 (sub_epsilon_src_nodes): Likewise.
31902 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31903 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31904 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31905 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31906 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31907 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31908 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31909 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31910 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31911 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31912 (PREADV): Likewise.
31913 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31914 (PREADV): Likewise.
31915 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31916 (PWRITEV): Likewise.
31917 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31918 (PWRITEV): Likewise.
31919 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31920 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31921
83b09837
FW
319222017-08-31 Florian Weimer <fweimer@redhat.com>
31923
31924 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31925 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31926 Remove internal_function.
31927 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31928 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31929 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31930 (__deallocate_stack, __libc_pthread_init)
31931 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31932 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31933 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31934 Likewise.
31935 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31936 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31937 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31938 Likewise.
31939 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31940 (__pthread_mutex_unlock_usercnt): Likewise.
31941
116ac301
FW
319422017-08-31 Florian Weimer <fweimer@redhat.com>
31943
31944 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31945 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31946 (fts_safe_changedir): Remove internal_function.
31947 * io/ftw.c (internal_function): Remove definition.
31948 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31949
9da93bd7
FW
319502017-08-31 Florian Weimer <fweimer@redhat.com>
31951
31952 * inet/deadline.c (__deadline_current_time)
31953 (__deadline_from_timeval, __deadline_to_ms): Remove
31954 internal_function.
31955 * inet/getnameinfo.c (nrl_domainname): Likewise.
31956 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31957 * inet/inet6_option.c (add_pad): Likewise.
31958 * inet/net-internal.h (__deadline_current_time)
31959 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31960 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31961 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31962 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31963
a60eca2e
JM
319642017-08-31 Joseph Myers <joseph@codesourcery.com>
31965
c0c49d60
JM
31966 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31967 include <bits/nan.h>.
31968 * math/Makefile (headers): Remove bits/nan.h.
31969 * bits/nan.h: Remove.
31970 * sysdeps/ieee754/bits/nan.h: Likewise.
31971 * sysdeps/mips/bits/nan.h: Likewise.
31972
5ef1b213
JM
31973 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31974 not include <bits/inf.h>.
31975 * math/Makefile (headers): Remove bits/inf.h.
31976 * bits/inf.h: Remove.
31977 * sysdeps/ieee754/bits/inf.h: Likewise.
31978
a60eca2e
JM
31979 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31980 bits/huge_vall.h or bits/huge_val_flt128.h.
31981 (HUGE_VAL): Define directly here.
31982 [__USE_ISOC99] (HUGE_VALF): Likewise.
31983 [__USE_ISOC99] (HUGE_VALL): Likewise.
31984 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31985 (HUGE_VAL_F128): Likewise.
31986 * math/Makefile (headers): Remove bits/huge_val.h,
31987 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31988 * bits/huge_val.h: Remove.
31989 * bits/huge_val_flt128.h: Likewise.
31990 * bits/huge_valf.h: Likewise.
31991 * bits/huge_vall.h: Likewise.
31992 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31993 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31994 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31995 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31996 * sysdeps/sh/bits/huge_val.h: Likewise.
31997 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31998 * sysdeps/x86/bits/huge_vall.h: Likewise.
31999
17e00cc6
FW
320002017-08-31 Florian Weimer <fweimer@redhat.com>
32001
32002 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
32003 internal_function.
32004 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
32005 Likewise.
32006 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
32007 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
32008 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
32009 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
32010 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32011 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
32012 * elf/dl-libc.c (dlerror_run): Likewise.
32013 * elf/dl-load.c (add_name_to_object, decompose_rpath)
32014 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
32015 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
32016 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
32017 Likewise.
32018 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
32019 (_dl_higher_prime_number, _dl_strtoul): Likewise.
32020 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
32021 * elf/dl-profile.c (_dl_start_profile): Likewise.
32022 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
32023 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
32024 Likewise.
32025 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
32026 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
32027 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
32028 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
32029 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
32030 (_dl_allocate_tls_storage): Likewise.
32031 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
32032 (_dl_check_all_versions): Likewise.
32033 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
32034 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
32035 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
32036 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32037 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
32038 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
32039 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
32040 internal_function from __dl_start.
32041 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
32042 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
32043 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
32044 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
32045 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
32046 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
32047 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
32048 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
32049 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
32050 (_dl_next_ld_env_entry, _dl_important_hwcaps)
32051 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
32052 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
32053 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
32054 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
32055 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
32056 Likewise.
32057 (struct rtld_global_ro): Remove internal_function from the
32058 _dl_lookup_symbol_x member.
32059 (_dl_symbol_value): Remove. No longer defined anywhere.
32060 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
32061 internal_function.
32062 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32063 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32064 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
32065 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
32066 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
32067 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
32068 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
32069 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
32070 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
32071 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
32072 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
32073 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32074
8d2f9410
FW
320752017-08-31 Florian Weimer <fweimer@redhat.com>
32076
32077 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
32078 Remove internal_function.
32079 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32080 Likewise.
32081 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
32082 Likewise.
32083
86e4919f
FW
320842017-08-31 Florian Weimer <fweimer@redhat.com>
32085
32086 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
32087 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
32088 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
32089
59bd52b0
FW
320902017-08-31 Florian Weimer <fweimer@redhat.com>
32091
32092 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
32093 (__gai_enqueue_request): Remove internal_function.
32094 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
32095 (__gai_remove_request, __gai_notify, __gai_notify_only)
32096 (__gai_sigqueue): Likewise.
32097 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
32098 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
32099 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
32100 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32101 Likewise.
32102
fc3d9497
FW
321032017-08-31 Florian Weimer <fweimer@redhat.com>
32104
32105 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
32106 * include/dirent.h (__opendirat, __getdents, __getdents64)
32107 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
32108 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
32109 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
32110 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
32111 Likewise.
32112 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
32113
18c54fac
FW
321142017-08-31 Florian Weimer <fweimer@redhat.com>
32115
32116 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
32117 internal_function.
32118 (GETCWD_RETURN_TYPE): Likewise.
32119
7e01f080
FW
321202017-08-31 Florian Weimer <fweimer@redhat.com>
32121
32122 * include/time.h (__tz_compute, __strptime_internal): Remove
32123 internal_function.
32124 * time/strptime_l.c (__strptime_internal): Likewise.
32125 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
32126
d7ccc6c9
FW
321272017-08-31 Florian Weimer <fweimer@redhat.com>
32128
32129 * iconv/gconv.c (__gconv): Remove internal_function.
32130 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
32131 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
32132 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
32133 (__gconv_release_cache): Likewise.
32134 * iconv/gconv_close.c (__gconv_close): Likewise.
32135 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
32136 (read_conf_file, __gconv_get_path): Likewise.
32137 * iconv/gconv_db.c (derivation_lookup, add_derivation)
32138 (__gconv_release_step, gen_steps, increment_counter)
32139 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
32140 (__gconv_close_transform, free_modules_db): Likewise.
32141 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
32142 Likewise.
32143 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
32144 (__gconv_find_transform, __gconv_lookup_cache)
32145 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
32146 (__gconv_close_transform, __gconv_release_cache)
32147 (__gconv_loaded_object, __gconv_release_shlib)
32148 (__gconv_compare_alias): Likewise.
32149 * iconv/gconv_open.c (__gconv_open): Likewise.
32150 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
32151 * iconv/iconvconfig.c (add_module): Likewise.
32152 * intl/dcigettext.c (plural_lookup, guess_category_value)
32153 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
32154 * intl/eval-plural.h (plural_eval): Likewise.
32155 * intl/finddomain.c (_nl_find_domain): Likewise.
32156 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
32157 (_nl_load_domain, _nl_find_msg): Likewise.
32158 (internal_function): Remove definition.
32159 * intl/loadinfo.h (internal_function): Likewise.
32160 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
32161 internal_function.
32162 * intl/localealias.c (internal_function): Remove definition.
32163 (read_alias_file): Remove internal_function.
32164 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
32165 * intl/plural-exp.h (internal_function): Remove definition.
32166 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
32167 internal_function.
32168 * intl/plural.c: Regenerate.
32169 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
32170 * locale/coll-lookup.c (__collidx_table_lookup)
32171 (__collseq_table_lookup): Likewise.
32172 * locale/coll-lookup.h (__collidx_table_lookup)
32173 (__collseq_table_lookup): Likewise.
32174 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
32175 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
32176 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
32177 (_nl_unload_locale): Likewise.
32178 * locale/localeinfo.h (struct __locale_data): Remove
32179 internal_function from cleanup member.
32180 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
32181 (_nl_remove_locale, _nl_load_locale_from_archive)
32182 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
32183 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
32184 (_nl_cleanup_time): Remove internal_function.
32185 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
32186 (_nl_parse_alt_digit): Likewise.
32187 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
32188 (_nl_select_era_entry): Likewise.
32189 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
32190 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32191 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
32192 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
32193 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 32194
dab0eece
FW
321952017-08-31 Florian Weimer <fweimer@redhat.com>
32196
32197 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
32198 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
32199 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
32200 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
32201 Likewise.
32202 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
32203 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
32204 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
32205 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
32206 Likewise.
32207 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
32208
ab5bf7cf
FW
322092017-08-31 Florian Weimer <fweimer@redhat.com>
32210
32211 * misc/getttyent.c (skip, value): Remove internal_function.
32212 * misc/syslog.c (openlog_internal): Likewise.
32213 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
32214
75b3047e
FW
322152017-08-31 Florian Weimer <fweimer@redhat.com>
32216
32217 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
32218 (__nss_rewrite_field): Remove internal_function.
32219 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
32220 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
32221 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
32222 * nss/nsswitch.c (nss_parse_file, nss_getline)
32223 (nss_parse_service_list, nss_new_service): Likewise.
32224 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
32225 * nss/valid_field.c (__nss_valid_field): Likewise.
32226 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
32227
0c71122c
FW
322282017-08-31 Florian Weimer <fweimer@redhat.com>
32229
32230 * malloc/arena.c (__malloc_fork_lock_parent)
32231 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
32232 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
32233 internal_function from defintions.
32234 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
32235 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
32236 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
32237 internal_function from declarations.
32238 * malloc/malloc.c (internal_function): Do not define.
32239 (mem2mem_check): Remove internal_function from declaration.
32240 (munmap_chunk, mremap_chunk): Remove internal_function.
32241 * malloc/mtrace.c (tr_where): Likewise.
32242
ca4ec803
FW
322432017-08-31 Florian Weimer <fweimer@redhat.com>
32244
32245 * include/rpc/pmap_clnt.h (__get_socket): Remove
32246 internal_function.
32247 * sunrpc/auth_des.c (synchronize): Likewise.
32248 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
32249 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
32250 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
32251 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
32252 (key_call): Likewise.
32253 * sunrpc/pm_getport.c (__get_socket): Likewise.
32254 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
32255 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
32256 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
32257 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
32258 (invalidate): Likewise.
32259 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
32260 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
32261 (set_input_fragment, get_input_bytes): Likewise.
32262
24cffce7
FW
322632017-08-31 Florian Weimer <fweimer@redhat.com>
32264
32265 * malloc/malloc.c (_int_free): Remove locked variable and related
32266 asserts.
32267
ecd0747d
L
322682017-08-31 H.J. Lu <hongjiu.lu@intel.com>
32269
32270 [BZ #22051]
32271 * Makerules (build-module-helper-objlist): Filter out
32272 $(elf-objpfx)sofini.os.
32273 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
32274 needed.
32275
5f0704b6
FW
322762017-08-31 Florian Weimer <fweimer@redhat.com>
32277
32278 * libio/fcloseall.c: Assume weak_alias is defined.
32279 * libio/feof.c: Likewise.
32280 * libio/fileno.c: Likewise.
32281 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
32282 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32283 definitions.
32284 (_IO_file_open): Call __open directly.
32285 (_IO_new_file_sync): Assume ESPIPE is defined.
32286 (_IO_file_seekoff_maybe_mmap): Call __read directly.
32287 (_IO_new_file_write): Call __write directly.
32288 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
32289 * libio/ftello64.c (__ftello64): Assume EIO is defined.
32290 * libio/genops.c: Assume _LIBC is defined.
32291 (save_for_backup): Remove internal_function.
32292 * libio/getc.c: Assume weak_alias is defined.
32293 * libio/getwc.c: Likewise.
32294 * libio/iofclose.c: Assume _LIBC is defined.
32295 * libio/iofdopen.c: Likewise.
32296 (_IO_fcntl): Remove macro definition.
32297 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
32298 Call __fcntl directly.
32299 * libio/iofflush.c: Assume weak_alias is defined.
32300 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
32301 defined.
32302 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
32303 * libio/iofgets.c: Likewise.
32304 * libio/iofopen.c: Assume _LIBC is defined.
32305 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
32306 * libio/iofputs.c: Assume weak_alias is defined.
32307 * libio/iofread.c: Likewise.
32308 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
32309 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
32310 * libio/ioftell.c: Assume weak_alias is defined.
32311 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
32312 * libio/iofwide.c: Assume _LIBC is defined.
32313 (_IO_fwide): Drop SHARED conditional because it is implied by
32314 SHLIB_COMPAT.
32315 * libio/iofwrite.c: Assume weak_alias is defined.
32316 * libio/iogetdelim.c: Likewise.
32317 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
32318 * libio/iogetwline.c (wmemcpy): Remove macro definition.
32319 (_IO_getwline): Call __wmemcpy directly.
32320 * libio/iopopen.c: Assume _LIBC is defined.
32321 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32322 (_IO_close): Remove macro definitions.
32323 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
32324 _exit directly.
32325 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
32326 directly.
32327 * libio/ioputs.c: Assume weak_alias is defined.
32328 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32329 * libio/iosetbuffer.c: Assume weak_alias is defined.
32330 * libio/iosetvbuf.c: Likewise.
32331 * libio/ioungetc.c: Likewise.
32332 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32333 libc_hidden_def, libc_hidden_weak, NULL are defined.
32334 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32335 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32336 defined.
32337 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32338 definitions.
32339 (_IO_old_file_init_internal): Drop SHARED conditional because it
32340 is implied by SHLIB_COMPAT.
32341 (_IO_old_file_fopen): Call __open directly.
32342 (_IO_old_file_sync): Assume ESPIPE is defined.
32343 (_IO_old_file_write): Call __write directly.
32344 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32345 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32346 Call __fcntl directly.
32347 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32348 (_IO_old_fgetpos): Assume EIO is defined.
32349 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32350 (_IO_old_fgetpos64): Assume EIO is defined.
32351 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32352 (_IO_old_fsetpos): Assume EIO is defined.
32353 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32354 (_IO_old_fsetpos64): Assume EIO is defined.
32355 * libio/oldiopopen.c: Assume _LIBC is defined.
32356 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32357 (_IO_close): Remove macro definitions.
32358 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32359 directly.
32360 (_IO_old_proc_close): Call __close, __waitpid directly.
32361 * libio/put.c: Assume weak_alias is defined.
32362 * libio/stdfiles.c: Assume _LIBC is defined.
32363 * libio/stdio.c: Likewise.
32364 * libio/wfileops.c: Likewise.
32365 (_IO_wfile_sync): Assume ESPIPE is defined.
32366 * libio/wgenops.c: Assume _LIBC is defined.
32367 (save_for_wbackup): Remove internal_function.
32368
5129873a
FW
323692017-08-31 Florian Weimer <fweimer@redhat.com>
32370
32371 * malloc/malloc.c (top_check): Change return type to void. Remove
32372 internal_function.
32373 * malloc/hooks.c (top_check): Likewise.
32374 (malloc_check, realloc_check, memalign_check): Adjust.
32375
4fa9b3bf
JM
323762017-08-30 Joseph Myers <joseph@codesourcery.com>
32377
32378 [BZ #21457]
32379 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32380 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32381 sigcontext and namespace requirements.
32382 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32383 * sysdeps/m68k/sys/ucontext.h: Likewise.
32384 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32385 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32386 <bits/sigcontext.h>.
32387 (__ctx): Define earlier.
32388 (mcontext_t): Define structure contents rather than using struct
32389 sigcontext.
32390 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32391 __glibc_reserved1 instead of __reserved.
32392 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32393 <bits/sigcontext.h>.
32394 (__ctx): Define earlier.
32395 (mcontext_t): Define structure contents rather than using struct
32396 sigcontext.
32397 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32398 mcontext_t instead of struct sigcontext.
32399 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32400 <bits/sigcontext.h>.
32401 (__ctx): Define earlier.
32402 (mcontext_t): Define structure contents rather than using struct
32403 sigcontext.
32404 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32405 <bits/sigcontext.h>.
32406 (__ctx): Define earlier.
32407 (mcontext_t): Define structure contents rather than using struct
32408 sigcontext.
32409 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32410 mcontext_t instead of struct sigcontext.
32411 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32412 mcontext_t instead of struct sigcontext.
32413 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32414 <bits/sigcontext.h>.
32415 (__ctx): New macro.
32416 (struct __ia64_fpreg_mcontext): New type.
32417 (mcontext_t): Define structure contents rather than using struct
32418 sigcontext.
32419 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32420 (uc_sigmask): Define using __ctx.
32421 (uc_stack): Likewise.
32422 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32423 <bits/sigcontext.h>.
32424 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32425 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32426 <bits/sigcontext.h>.
32427 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32428 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32429 <bits/sigcontext.h>.
32430 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32431 <bits/sigcontext.h>.
32432 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32433 <bits/sigcontext.h>.
32434 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32435 <bits/sigcontext.h>.
32436 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32437 <bits/sigcontext.h>.
32438 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32439 <bits/sigcontext.h>.
32440 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32441 <bits/sigcontext.h>.
32442 (__ctx): Define earlier.
32443 (mcontext_t): Define structure contents rather than using struct
32444 sigcontext.
32445 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32446 <bits/sigcontext.h>. Include <bits/types.h>.
32447 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32448 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32449 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32450 (test-xfail-UNIX98/signal.h/conform): Likewise.
32451 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32452 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32453 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32454 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32455 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32456 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32457 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32458 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32459 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32460
5898f454
FW
324612017-08-30 Florian Weimer <fweimer@redhat.com>
32462
32463 * malloc/dynarray_emplace_enlarge.c
32464 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32465 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32466 * malloc/tst-dynarray.c (test_long_overflow): New function.
32467 (do_test): Call it.
32468
a9da0bb2
FW
324692017-08-30 Florian Weimer <fweimer@redhat.com>
32470
32471 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32472 (set_arena_corrupt): Remove definitions.
32473 (mtrim): Do not check for corrupt arena.
32474 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32475 Likewise.
32476
ac3ed168
FW
324772017-08-30 Florian Weimer <fweimer@redhat.com>
32478
32479 [BZ #21754]
32480 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32481 check_action.
32482 (ptmalloc_init): Do not set or use check_action.
32483 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32484 call to malloc_printerr. Remove return statement.
32485 (free_check): Likewise. Remove arena unlock.
32486 (top_check): Update comment. Adjust call to malloc_printerr.
32487 Remove heap repair code.
32488 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32489 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32490 (sysmalloc): Adjust call to malloc_printerr.
32491 (munmap_chunk, __libc_realloc): Likewise. Remove return
32492 statement.
32493 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32494 Remove errout label and corresponding gotos.
32495 (_int_free): Likewise. Remove arena unlock.
32496 (do_set_mallopt_check): Do not set check_action.
32497 (malloc_printerr): Adjust parameter list. Do not mark arena as
32498 corrupt.
32499 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32500 comment.
32501 * manual/probes.texi (Memory Allocation Probes): Remove
32502 memory_mallopt_check_action.
32503
44bcba80
SE
325042017-08-30 Steve Ellcey <sellcey@cavium.com>
32505
32506 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32507 Use pointer to uint64_t instead of long int for sp.
32508
ec2c1fce
FW
325092017-08-30 Florian Weimer <fweimer@redhat.com>
32510
32511 [BZ #21754]
32512 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32513 without printing a backtrace. Do not leak any information in the
32514 error message.
32515 * manual/memory.texi (Heap Consistency Checking): Update.
32516 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32517
9ce673b6
FW
325182017-08-30 Florian Weimer <fweimer@redhat.com>
32519
32520 Do not scale NPTL tests with available number of CPUs.
32521 * nptl/tst-cond16.c (count): Set to constant value of 8.
32522 * nptl/tst-cond18.c (count): Likewise.
32523
2f1aef19
JM
325242017-08-29 Joseph Myers <joseph@codesourcery.com>
32525
32526 [BZ #22035]
32527 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32528 Define to take a second argument that is a macro that
32529 concatentates a suffix, not the suffix itself.
32530 (__CONCAT_d): New macro.
32531 (__CONCAT_f): Likewise.
32532 (__CONCAT_l): Likewise.
32533
8325b477
PP
325342017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32535
32536 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32537 by child.
32538
319cbbf6
AZ
325392017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32540 Aurelien Jarno <aurelien@aurel32.net>
32541 Maciej W. Rozycki <macro@imgtec.com>
32542
32543 [BZ #21956]
32544 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32545 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32546 `mips16-syscall6' and `mips16-syscall7'.
32547 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32548 (CFLAGS-mips16-syscall7.c): Remove.
32549 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32550 Remove `__mips16_syscall5', `__mips16_syscall6' and
32551 `__mips16_syscall7'.
32552 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32553 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32554 `__mips_syscall_return'.
32555 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32556 (__mips16_syscall1): Likewise.
32557 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32558 (__mips16_syscall2): Likewise.
32559 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32560 (__mips16_syscall3): Likewise.
32561 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32562 (__mips16_syscall4): Likewise.
32563 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32564 Remove.
32565 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32566 Remove.
32567 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32568 Remove.
32569 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32570 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32571 `__mips16_syscall5'. Remove prototype.
32572 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32573 `__mips16_syscall6'. Remove prototype.
32574 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32575 `__mips16_syscall7'. Remove prototype.
32576 (__nomips16, __mips16_syscall_return): Move to...
32577 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32578 (__nomips16, __mips_syscall_return): ... here.
32579 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32580 `__mips16_syscall_return' to `__mips_syscall_return'.
32581 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32582 `internal_syscall##nr'.
32583 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32584 `internal_syscall##nr'.
32585 (FORCE_FRAME_POINTER): Remove.
32586 (__mips_syscall5): New prototype.
32587 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32588 (__mips_syscall6): New prototype.
32589 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32590 (__mips_syscall7): New prototype.
32591 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32592 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32593 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32594 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32595 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32596 (sysdep_routines): Add libc-do-syscall.
32597 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32598 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32599
01b87c65
AZ
326002017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32601
32602 [BZ #21672]
32603 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32604 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32605 (advise_stack_range): New function.
32606 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32607 stack non required to advise_stack_range at allocatestack.c
32608
16f138a4
SN
326092017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32610
32611 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32612
251bccfa
FW
326132017-08-29 Florian Weimer <fweimer@redhat.com>
32614
32615 [BZ #22026]
32616 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32617 __end_fct. Mangle __end_fct after setting it to NULL.
32618 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32619 (modules-names, modules-names-tests): Add
32620 tst-gconv-init-failure-mod.
32621 (gconv-modules): New target.
32622 (tst-gconv-init-failure-mod.so): Link against libsupport.
32623 (tst-gconv-init-failure): Depend on gconv-modules,
32624 tst-gconv-init-failure-mod.so.
32625 * iconv/tst-gconv-init-failure-mod.c: New file.
32626 * iconv/tst-gconv-init-failure.c: Likewise.
32627 * iconv/test-gconv-modules: Likewise.
32628
e7c18b9d
FW
326292017-08-29 Florian Weimer <fweimer@redhat.com>
32630
32631 [BZ #22025]
32632 * iconv/gconv_db.c (free_derivation): Remove redundant
32633 parentheses.
32634 (gen_steps): Unconditionally mangle __btowc_fct after
32635 initialization.
32636 (increment_counter): Likewise. Do not call init_fct for internal
32637 modules.
32638
7daada03
JM
326392017-08-29 Joseph Myers <joseph@codesourcery.com>
32640
32641 [BZ #22028]
32642 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32643 (_MSUF_): Remove macro.
32644 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32645 Likewise.
32646 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32647 (__REDIRFROM_X): New macro.
32648 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32649 Likewise.
32650 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32651 (__REDIRTO_X): Likewise.
32652 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32653 arguments.
32654 (__MATH_REDIRCALL_2): Likewise.
32655 (__MATH_REDIRCALL_INTERNAL): Likewise.
32656 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32657 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32658 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32659 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32660 * math/test-finite-macros.c: New file.
32661 * math/Makefile (tests): Add test-finite-macros.
32662 (CFLAGS-test-finite-macros.c): New variable.
32663
1cf1232c
PF
326642017-08-29 Patsy Franklin <pfrankli@redhat.com>
32665 Jeff Law <law@redhat.com>
32666
32667 [BZ #22025]
32668 Mangle NULL pointers in iconv/gconv.
32669 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32670 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32671 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32672 is non-NULL before demangling the end_fct. Check for NULL
32673 end_fct after demangling.
32674 (__gconv_release_step): Demangle the end_fct before checking
32675 it for NULL. Remove assert on __shlibc_handle != NULL.
32676 (gen_steps): Don't check btowc_fct for NULL before mangling.
32677 Demangle init_fct before checking for NULL.
32678 (increment_counter): Likewise.
32679 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32680 end_fct for NULL before mangling.
32681 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32682 for NULL.
32683
c207f7ce 326842017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32685
32686 [BZ #21971]
32687 * locale/iso-639.def: add Morisyen.
32688
42496114
GG
326892017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32690
32691 [BZ #21930]
32692 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32693 (iszero): New C++ implementation that does not use
32694 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32695 signaling nans are enabled, since __builtin_types_compatible_p
32696 is a C-only feature.
32697 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32698 defined, include ieee754_float128.h for access to the union and
32699 member ieee854_float128.ieee.
32700 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32701 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32702 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32703 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32704 options of test-math-zero on powerpc64le.
32705
5e2bc4ff
L
327062017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32707
32708 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32709 Change double to float.
32710
a48c0fb4
JM
327112017-08-28 Joseph Myers <joseph@codesourcery.com>
32712
32713 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32714 unconditional.
32715 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32716 conditional code; define contents only for [LIBM_SVID_COMPAT].
32717
ee17d4e9
FW
327182017-08-28 Florian Weimer <fweimer@redhat.com>
32719
32720 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32721 (abi-lp64_be-options): Remove.
32722 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32723 (abi-hard-options): Likewise.
32724 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32725 (abi-o32_hard-options, abi-o32_soft_2008-options)
32726 (abi-o32_hard_2008-options, abi-n32_soft-options)
32727 (abi-n32_hard-options, abi-n32_soft_2008-options)
32728 (abi-n32_hard_2008-options, abi-n64_soft-options)
32729 (abi-n64_hard-options, abi-n64_soft_2008-options)
32730 (abi-n64_hard_2008-options): Likewise.
32731 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32732 (abi-64-v1-options, abi-64-v2-options): Likewise.
32733 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32734 (abi-64-options): Likewise.
32735 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32736 (abi-64-options): Likewise.
32737 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32738 (abi-64-options): Likewise.
32739 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32740 (abi-64-options, abi-x32-options): Likewise.
32741
2dba5ce7
FW
327422017-08-28 Florian Weimer <fweimer@redhat.com>
32743
32744 Store supported list of SYS_* system calls in the source tree.
32745 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32746 (bits/syscall.h): Generate from list file.
32747 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32748 [$(subdir) = misc] (tests): Add tst-syscall-list.
32749 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32750 [$(subdir) = misc] (tst-syscall-list-macros.list)
32751 [$(subdir) = misc] (tst-syscall-list-nr.list)
32752 (tst-syscall-list-sys.list): Helper targets for new
32753 tst-syscall-list test.
32754 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32755 tst-syscall-list.sh.
32756 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32757 target. Do not include bits/syscall.d.
32758 [$(subdir) = misc] (generated): Do not update.
32759 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32760 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32761 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32762 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32763
5f3b183d
PP
327642017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32765
32766 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32767 (tst-cxa_atexit, tst-on_exit): Likewise.
32768 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32769 tst-cxa_atexit, and tst-on_exit.
32770 * stdlib/tst-atexit-common.c: New file.
32771 * stdlib/tst-atexit.c: New file.
32772 * stdlib/tst-at_quick_exit.c: New file.
32773 * stdlib/tst-cxa_atexit.c: New file.
32774 * stdlib/tst-on_exit.c: New file.
32775
2ef8d469
ST
327762017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32777
32778 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32779 * mach/stack_chk_fail_local.c: New file.
32780 * hurd/stack_chk_fail_local.c: New file.
32781 * mach/Machrules ($(interface-library)-routines): Add
32782 stack_chk_fail_local.
99ee4d26
ST
32783 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32784 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32785 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32786 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32787 * hurd/Makefile (CFLAGS-hurdstartup.o,
32788 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32789
7ab70c98
L
327902017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32791
32792 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32793 (index_cpu_*, index_arch_*): Removed.
32794
39e7a5a6
SN
327952017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32796
32797 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32798 Use uint64_t instead of unsigned long.
32799
bba5c930
JM
328002017-08-25 Joseph Myers <joseph@codesourcery.com>
32801
a6ccdb08
JM
32802 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32803 [__HAVE_DISTINCT_FLOAT128].
32804
23761119
JM
32805 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32806 of <bits/math-finite.h>.
32807 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32808 inclusion of <bits/math-finite.h>.
32809 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32810 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32811 __NO_LONG_DOUBLE_MATH].
32812 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32813 (__MATH_REDIRCALL_2): Likewise.
32814 (__MATH_REDIRCALL_INTERNAL): Likewise.
32815 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32816 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32817 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32818
bba5c930
JM
32819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32820 Remove file.
32821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32822 Likewise.
32823 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32824 Likewise.
32825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32826 Likewise.
32827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32828 Likewise.
32829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32830 Likewise.
32831 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32832 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32833 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32834 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32836 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32837 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32838 w_sqrtf_compat-ppc32.
32839
3d7b66f6
GG
328402017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32841
32842 * math/math.h [defined __cplusplus] (issignaling): In the long
32843 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32844 is not defined. Call __issignaling, otherwise.
32845
ebd6f007
AZ
328462017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32847
32848 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32849 syscall definitions and replace __builtin_expect with __glibc_likely.
32850 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32851 syscall.
6b5c8607 32852 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32853 * sysdeps/unix/sysv/linux/aarch64/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/alpha/sysdep-cancel.h (PSEUDO): Remove
32864 definition.
32865 (PSEUDO_END): Likewise.
32866 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32867 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32868 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32869 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32870 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32871 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32872 (CENABLE): Likewise.
32873 (CDISABLE): Likewise.
32874 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32875 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32876 defintion.
32877 (PSEUDO_END): Likewise.
32878 [IS_IN (libpthread)] (CENABLE): Likewise.
32879 [IS_IN (libpthread)] (CDISABLE): Likewise.
32880 [IS_IN (libc)] (CENABLE): Likewise.
32881 [IS_IN (libc)] (CENABLE): Likewise.
32882 [IS_IN (librt)] (CDISABLE): Likewise.
32883 [IS_IN (librt)] (CDISABLE): Likewise.
32884 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32885 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32886 definition.
32887 (PSEUDO_END): Likewise.
32888 [IS_IN (libpthread)] (CENABLE): Likewise.
32889 [IS_IN (libpthread)] (CDISABLE): Likewise.
32890 [IS_IN (libc)] (CENABLE): Likewise.
32891 [IS_IN (libc)] (CENABLE): Likewise.
32892 [IS_IN (librt)] (CDISABLE): Likewise.
32893 [IS_IN (librt)] (CDISABLE): Likewise.
32894 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32895 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32896 definition.
32897 (PSEUDO_END): Likewise.
32898 [IS_IN (libpthread)] (CENABLE): Likewise.
32899 [IS_IN (libpthread)] (CDISABLE): Likewise.
32900 [IS_IN (libc)] (CENABLE): Likewise.
32901 [IS_IN (libc)] (CENABLE): Likewise.
32902 [IS_IN (librt)] (CDISABLE): Likewise.
32903 [IS_IN (librt)] (CDISABLE): Likewise.
32904 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32905 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32906 definition.
32907 (PSEUDO_END): Likewise.
32908 [IS_IN (libpthread)] (CENABLE): Likewise.
32909 [IS_IN (libpthread)] (CDISABLE): Likewise.
32910 [IS_IN (libc)] (CENABLE): Likewise.
32911 [IS_IN (libc)] (CENABLE): Likewise.
32912 [IS_IN (librt)] (CDISABLE): Likewise.
32913 [IS_IN (librt)] (CDISABLE): Likewise.
32914 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32915 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32916 definition.
32917 (PSEUDO_END): Likewise.
32918 [IS_IN (libpthread)] (CENABLE): Likewise.
32919 [IS_IN (libpthread)] (CDISABLE): Likewise.
32920 [IS_IN (libc)] (CENABLE): Likewise.
32921 [IS_IN (libc)] (CENABLE): Likewise.
32922 [IS_IN (librt)] (CDISABLE): Likewise.
32923 [IS_IN (librt)] (CDISABLE): Likewise.
32924 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32925 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32926 definition.
32927 (PSEUDO_END): Likewise.
32928 [IS_IN (libpthread)] (CENABLE): Likewise.
32929 [IS_IN (libpthread)] (CDISABLE): Likewise.
32930 [IS_IN (libc)] (CENABLE): Likewise.
32931 [IS_IN (libc)] (CENABLE): Likewise.
32932 [IS_IN (librt)] (CDISABLE): Likewise.
32933 [IS_IN (librt)] (CDISABLE): Likewise.
32934 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32935 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32936 Remove definition.
32937 (PSEUDO_END): Likewise.
32938 [IS_IN (libpthread)] (CENABLE): Likewise.
32939 [IS_IN (libpthread)] (CDISABLE): Likewise.
32940 [IS_IN (libc)] (CENABLE): Likewise.
32941 [IS_IN (libc)] (CENABLE): Likewise.
32942 [IS_IN (librt)] (CDISABLE): Likewise.
32943 [IS_IN (librt)] (CDISABLE): Likewise.
32944 (SINGLE_THREAD_P): Likewise.
32945 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32946 definition.
32947 (PSEUDO_END): Likewise.
32948 [IS_IN (libpthread)] (CENABLE): Likewise.
32949 [IS_IN (libpthread)] (CDISABLE): Likewise.
32950 [IS_IN (libc)] (CENABLE): Likewise.
32951 [IS_IN (libc)] (CENABLE): Likewise.
32952 [IS_IN (librt)] (CDISABLE): Likewise.
32953 [IS_IN (librt)] (CDISABLE): Likewise.
32954 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32955 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32956 definition.
32957 (PSEUDO_END): Likewise.
32958 [IS_IN (libpthread)] (CENABLE): Likewise.
32959 [IS_IN (libpthread)] (CDISABLE): Likewise.
32960 [IS_IN (libc)] (CENABLE): Likewise.
32961 [IS_IN (libc)] (CENABLE): Likewise.
32962 [IS_IN (librt)] (CDISABLE): Likewise.
32963 [IS_IN (librt)] (CDISABLE): Likewise.
32964 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32965 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32966 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32967 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32968 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32969 definition.
32970 (PSEUDO_END): Likewise.
32971 [IS_IN (libpthread)] (CENABLE): Likewise.
32972 [IS_IN (libpthread)] (CDISABLE): Likewise.
32973 [IS_IN (libc)] (CENABLE): Likewise.
32974 [IS_IN (libc)] (CENABLE): Likewise.
32975 [IS_IN (librt)] (CDISABLE): Likewise.
32976 [IS_IN (librt)] (CDISABLE): Likewise.
32977 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32978 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32979 definition.
32980 (PSEUDO_END): Likewise.
32981 [IS_IN (libpthread)] (CENABLE): Likewise.
32982 [IS_IN (libpthread)] (CDISABLE): Likewise.
32983 [IS_IN (libc)] (CENABLE): Likewise.
32984 [IS_IN (libc)] (CENABLE): Likewise.
32985 [IS_IN (librt)] (CDISABLE): Likewise.
32986 [IS_IN (librt)] (CDISABLE): Likewise.
32987 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32988 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32989 definition.
32990 (PSEUDO_END): Likewise.
32991 [IS_IN (libpthread)] (CENABLE): Likewise.
32992 [IS_IN (libpthread)] (CDISABLE): Likewise.
32993 [IS_IN (libc)] (CENABLE): Likewise.
32994 [IS_IN (libc)] (CENABLE): Likewise.
32995 [IS_IN (librt)] (CDISABLE): Likewise.
32996 [IS_IN (librt)] (CDISABLE): Likewise.
32997 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32998 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32999 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33000 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
33001 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
33002 definition.
33003 (PSEUDO_END): Likewise.
33004 [IS_IN (libpthread)] (CENABLE): Likewise.
33005 [IS_IN (libpthread)] (CDISABLE): Likewise.
33006 [IS_IN (libc)] (CENABLE): Likewise.
33007 [IS_IN (libc)] (CENABLE): Likewise.
33008 [IS_IN (librt)] (CDISABLE): Likewise.
33009 [IS_IN (librt)] (CDISABLE): Likewise.
33010 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33011 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
33012 definition.
33013 (PSEUDO_END): Likewise.
33014 [IS_IN (libpthread)] (CENABLE): Likewise.
33015 [IS_IN (libpthread)] (CDISABLE): Likewise.
33016 [IS_IN (libc)] (CENABLE): Likewise.
33017 [IS_IN (libc)] (CENABLE): Likewise.
33018 [IS_IN (librt)] (CDISABLE): Likewise.
33019 [IS_IN (librt)] (CDISABLE): Likewise.
33020 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
33021
8aa48656
SN
330222017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
33023
33024 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
33025
fcaaca41
L
330262017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33027
33028 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33029
376b40a2
L
330302017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33031
33032 [BZ #21982]
33033 * string/stratcliff.c (do_test): Declare size, nchars, inner,
33034 middle and outer with size_t instead of int. Repleace %d and
33035 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
33036 "MAX (outer, nchars - 64)" to support unsigned outer and
33037 nchars. Also exit loop when outer == 0.
33038
2b0b9a1c
AZ
330392017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33040
33041 * include/fcntl.h (__fcntl_nocancel): Remove definition.
33042 * include/signal.h (__sigsuspend_nocancel): Likewise.
33043 * include/time.h (__nanosleep_nocancel): Likewise.
33044 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
33045 * login/utmp_file.c: Include non cancellable syscall header.
33046 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
33047 prototype.
33048
b9eaca8f
L
330492017-08-23 H.J. Lu <hongjiu.lu@intel.com>
33050
33051 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
33052 .byte sequences with AVX512F instructions.
33053 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
33054 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
33055 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33056 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
33057 Likewise.
33058 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
33059 Likewise.
33060
5a706f64
SE
330612017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
33062 Steve Ellcey <sellcey@cavium.com>
33063
33064 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
33065 Use PTR_REG macro in cmp instruction.
33066
b513da7e
GG
330672017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33068
33069 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
33070 Change the return type of the ifunc resolver to match the return
33071 type of the target function.
33072
78ca091c
AZ
330732017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33074
b70b6026
AZ
33075 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
33076 (preadv64): Likewise.
33077 (pwrite64(: Likewise.
33078 (pwritev64): Likewise.
33079
78ca091c
AZ
33080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33081 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
33082 (LOAD_ARGS_0): Likewise.
33083 (LOAD_ARGS_1): Likewise.
33084 (LOAD_ARGS_2): Likewise.
33085 (LOAD_ARGS_3): Likewise.
33086 (LOAD_ARGS_4): Likewise.
33087 (LOAD_ARGS_5): Likewise.
33088 (LOAD_ARGS_6): Likewise.
33089 (LOAD_REGS_0): Likewise.
33090 (LOAD_REGS_1): Likewise.
33091 (LOAD_REGS_2): Likewise.
33092 (LOAD_REGS_3): Likewise.
33093 (LOAD_REGS_4): Likewise.
33094 (LOAD_REGS_5): Likewise.
33095 (LOAD_REGS_6): Likewise.
33096 (ASM_ARGS_0): Likewise.
33097 (ASM_ARGS_1): Likewise.
33098 (ASM_ARGS_2): Likewise.
33099 (ASM_ARGS_3): Likewise.
33100 (ASM_ARGS_4): Likewise.
33101 (ASM_ARGS_5): Likewise.
33102 (ASM_ARGS_6): Likewise.
33103 (LOAD_ARGS_TYPES_1): Likewise.
33104 (LOAD_ARGS_TYPES_2): Likewise.
33105 (LOAD_ARGS_TYPES_3): Likewise.
33106 (LOAD_ARGS_TYPES_4): Likewise.
33107 (LOAD_ARGS_TYPES_5): Likewise.
33108 (LOAD_ARGS_TYPES_6): Likewise.
33109 (LOAD_REGS_TYPES_1): Likewise.
33110 (LOAD_REGS_TYPES_2): Likewise.
33111 (LOAD_REGS_TYPES_3): Likewise.
33112 (LOAD_REGS_TYPES_4): Likewise.
33113 (LOAD_REGS_TYPES_5): Likewise.
33114 (LOAD_REGS_TYPES_6): Likewise.
33115 (TYPEFY): New define.
33116 (ARGIFY): Likewise.
33117 (internal_syscall0): Likewise.
33118 (internal_syscall1): Likewise.
33119 (internal_syscall2): Likewise.
33120 (internal_syscall3): Likewise.
33121 (internal_syscall4): Likewise.
33122 (internal_syscall5): Likewise.
33123 (internal_syscall6): Likewise.
33124 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
33125 (INTERNAL_SYSCALL_NCS): Remove define.
33126 (internal_syscall1): Add define.
33127
453a493d
GG
331282017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33129
33130 * math/w_remainder_compat.c: Remove duplicate inclusion of
33131 math-svid-compat.h.
33132 * math/w_remainderf_compat.c: Likewise.
33133 * math/w_remainderl_compat.c: Likewise.
33134
f2f048a5
GG
331352017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33136
33137 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33138
d9bef9c0
JM
331392017-08-22 Joseph Myers <joseph@codesourcery.com>
33140
33141 [BZ #21684]
33142 * math/tgmath.h (__floating_type): Simplify definitions.
33143 (__real_integer_type): New macro.
33144 (__complex_integer_type): Likewise.
33145 (__expr_is_real): Likewise.
33146 (__tgmath_real_type_sub): Update comment to describe handling of
33147 complex types.
33148 (__tgmath_complex_type_sub): New macro.
33149 (__tgmath_complex_type): Likewise.
33150 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
33151 (__TGMATH_CF128): Use __expr_is_real.
33152 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
33153 __expr_is_real.
33154 (__TGMATH_BINARY_REAL_IMAG): Likewise.
33155 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
33156 * math/gen-tgmath-tests.py (Type.create_type): Create complex
33157 integer types.
33158
08d6eb46
AZ
331592017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33160
988f991b
AZ
33161 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
33162 macro.
33163 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
33164 alias.
33165 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
33166 Likewise.
33167
6f33fd04
AZ
33168 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
33169 nanosleep_not_cancel with __nanosleep_nocancel.
33170 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
33171 (__nanosleep_nocancel): New macro.
33172 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
33173 function.
33174 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
33175 macro.
33176 (__nanosleep_nocancel): New prototype.
33177
08d6eb46
AZ
33178 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
33179 pause_not_cancel with __pause_nocancel.
33180 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
33181 (__pause_nocancel): New macro.
33182 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
33183 macro.
33184 (__pause_nocancel): New prototype.
33185 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
33186
ee4e992e
MS
331872017-08-22 Martin Sebor <msebor@redhat.com>
33188
33189 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
33190 to return a pointer to the same type as the target function.
33191
20962acb
L
331922017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33193
33194 [BZ #18822]
33195 [BZ #21986]
33196 * include/printf.h (__printf_fphex): Add attribute_hidden.
33197 (__guess_grouping): New prototype.
33198 * stdio-common/printf_fp.c (__guess_grouping): Removed.
33199 * stdio-common/reg-printf.c (__register_printf_specifier): Add
33200 libc_hidden_proto and libc_hidden_def.
33201 * stdlib/strfmon_l.c (__guess_grouping): Removed.
33202 (__vstrfmon_l): Remove the third argument passed to
33203 __guess_grouping.
33204
a16e8bc0
GG
332052017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33206
33207 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
33208 definition for issignaling that does not rely on __MATH_TG,
33209 since __MATH_TG uses __builtin_types_compatible_p, which is only
33210 available in C mode.
33211 (CFLAGS-test-math-issignaling.cc): New variable.
33212 * math/Makefile [CXX] (tests): Add test-math-issignaling.
33213 * math/test-math-issignaling.cc: New test for C++ implementation
33214 of type-generic issignaling.
33215 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
33216 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
33217 options of test-math-issignaling on powerpc64le.
33218
8d2ec553
L
332192017-08-22 H.J. Lu <hongjiu.lu@intel.com>
33220
33221 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33222 building libc.a.
33223 (hidden_proto): Likewise.
33224 (hidden_tls_proto): Likewise.
33225 (__hidden_proto): Likewise.
33226
a4d57b79
FW
332272017-08-22 Florian Weimer <fweimer@redhat.com>
33228
33229 math: Statically link tests of internal functionality.
33230 * math/Makefile (tests): Remove atest-exp, atest-sincos,
33231 atest-exp2.
33232 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
33233 (gmp-objs): Remove assignment.
33234 (atest-exp, atest-sincos, atest-exp2): Remove targets.
33235
75dfe623
JM
332362017-08-22 Joseph Myers <joseph@codesourcery.com>
33237
80f91666
JM
33238 [BZ #21987]
33239 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
33240 and copy to ...
33241 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
33242 ... here.
33243 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
33244 ... and here.
33245
75dfe623
JM
33246 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
33247 variable definitions above inclusion of ../Rules.
33248
ea99fcd0
JM
332492017-08-21 Joseph Myers <joseph@codesourcery.com>
33250
33251 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
33252 case calling __builtin_unreachable.
33253
19926de9
AZ
332542017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33255
a8410a5f
AZ
33256 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
33257 __waitpid_nocancel.
33258 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
33259 (__waitpid_nocancel): New macro.
33260 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
33261 macro.
33262 (__waitpid_nocancel): Replace macro with a function.
33263 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
33264 function.
33265
7369800c
AZ
33266 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
33267 __fcntl_nocancel.
33268 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
33269 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
33270
19926de9
AZ
33271 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
33272 __writev_nocancel_nostatus.
33273 (write_call_graph): Likewise.
33274 (write_bb_counts): Likewise.
33275 * resolv/herror.c (herror): Likewise.
33276 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
33277 macro.
33278 (__writev_nocancel_nostatus): New macro.
33279 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
33280 Remove macro.
33281 (__writev_nocancel_nostatus): New function.
33282
813378e9
JM
332832017-08-21 Joseph Myers <joseph@codesourcery.com>
33284
df1deda6
JM
33285 Revert:
33286 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33287
33288 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33289 building libc.a.
33290 (hidden_proto): Likewise.
33291 (hidden_tls_proto): Likewise.
33292 (__hidden_proto): Likewise.
33293
831bbd55
JM
33294 [BZ #21973]
33295 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
33296 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33298 Likewise.
33299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
33300 Likewise.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33302 Likewise.
33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
33304 Likewise.
33305 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
33306 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33307 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33308 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33309 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
33310 GLIBC_2.0 sqrtl symbol.
33311
813378e9
JM
33312 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
33313 [__USE_MISC] (_LIB_VERSION): Likewise.
33314 [__USE_MISC] (struct exception): Likewise.
33315 [__USE_MISC] (matherr): Likewise.
33316 [__USE_MISC] (DOMAIN): Likewise.
33317 [__USE_MISC] (SING): Likewise.
33318 [__USE_MISC] (OVERFLOW): Likewise.
33319 [__USE_MISC] (UNDERFLOW): Likewise.
33320 [__USE_MISC] (TLOSS): Likewise.
33321 [__USE_MISC] (PLOSS): Likewise.
33322 [__USE_MISC] (HUGE): Likewise.
33323 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
33324 * math/math-svid-compat.h: New file.
33325 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
33326 and matherrl.
33327 * include/math.h [!_ISOMAC] (__matherr): Remove.
33328 * manual/arith.texi (FP Exceptions): Do not document matherr.
33329 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33330 (tests-internal): New variable.
33331 (install-lib): Do not add libieee.a.
33332 (non-lib.a): Likewise.
33333 (extra-objs): Do not add libieee.a and ieee-math.o.
33334 (CPPFLAGS-s_lib_version.c): Remove variable.
33335 ($(objpfx)libieee.a): Remove rule.
33336 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33337 * math/ieee-math.c: Remove.
33338 * math/libm-test-support.c (matherr): Remove.
33339 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33340 and license notices. Include <math-svid-compat.h> and
33341 <shlib-compat.h>.
33342 (matherr): Undefine as macro. Use compat_symbol_reference.
33343 (_LIB_VERSION): Likewise.
33344 * math/test-matherr-2.c: New file.
33345 * math/test-matherr-3.c: Likewise.
33346 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33347 declaration.
33348 (__kernel_standard_f): Likewise.
33349 (__kernel_standard_l): Likewise.
33350 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33351 <math_private.h>. Include <math-svid-compat.h>.
33352 (_LIB_VERSION): Undefine as macro.
33353 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33354 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33355 [LIBM_SVID_COMPAT], use compat_symbol.
33356 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33357 <math_private.h>. Include <math-svid-compat.h>.
33358 (matherr): Undefine as macro.
33359 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33360 compat_symbol.
33361 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33362 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33363 compat_symbol_reference.
33364 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33365 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33366 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33367 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33368 (MATHERR_D): Remove declaration.
33369 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33370 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33371 [LIBM_BUILD] (pmatherrf): Likewise.
33372 [LIBM_BUILD] (pmatherr): Likewise.
33373 [LIBM_BUILD] (pmatherrl): Likewise.
33374 (DOMAIN): Likewise.
33375 (SING): Likewise.
33376 (OVERFLOW): Likewise.
33377 (UNDERFLOW): Likewise.
33378 (TLOSS): Likewise.
33379 (PLOSS): Likewise.
33380 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33381 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33382 compat_symbol.
33383 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33384 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33385 compat_symbol.
33386 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33387 * math/w_acos_compat.c: Likewise.
33388 * math/w_acosf_compat.c: Likewise.
33389 * math/w_acosh_compat.c: Likewise.
33390 * math/w_acoshf_compat.c: Likewise.
33391 * math/w_acoshl_compat.c: Likewise.
33392 * math/w_acosl_compat.c: Likewise.
33393 * math/w_asin_compat.c: Likewise.
33394 * math/w_asinf_compat.c: Likewise.
33395 * math/w_asinl_compat.c: Likewise.
33396 * math/w_atan2_compat.c: Likewise.
33397 * math/w_atan2f_compat.c: Likewise.
33398 * math/w_atan2l_compat.c: Likewise.
33399 * math/w_atanh_compat.c: Likewise.
33400 * math/w_atanhf_compat.c: Likewise.
33401 * math/w_atanhl_compat.c: Likewise.
33402 * math/w_cosh_compat.c: Likewise.
33403 * math/w_coshf_compat.c: Likewise.
33404 * math/w_coshl_compat.c: Likewise.
33405 * math/w_exp10_compat.c: Likewise.
33406 * math/w_exp10f_compat.c: Likewise.
33407 * math/w_exp10l_compat.c: Likewise.
33408 * math/w_exp2_compat.c: Likewise.
33409 * math/w_exp2f_compat.c: Likewise.
33410 * math/w_exp2l_compat.c: Likewise.
33411 * math/w_fmod_compat.c: Likewise.
33412 * math/w_fmodf_compat.c: Likewise.
33413 * math/w_fmodl_compat.c: Likewise.
33414 * math/w_hypot_compat.c: Likewise.
33415 * math/w_hypotf_compat.c: Likewise.
33416 * math/w_hypotl_compat.c: Likewise.
33417 * math/w_j0_compat.c: Likewise.
33418 * math/w_j0f_compat.c: Likewise.
33419 * math/w_j0l_compat.c: Likewise.
33420 * math/w_j1_compat.c: Likewise.
33421 * math/w_j1f_compat.c: Likewise.
33422 * math/w_j1l_compat.c: Likewise.
33423 * math/w_jn_compat.c: Likewise.
33424 * math/w_jnf_compat.c: Likewise.
33425 * math/w_jnl_compat.c: Likewise.
33426 * math/w_lgamma_main.c: Likewise.
33427 * math/w_lgamma_r_compat.c: Likewise.
33428 * math/w_lgammaf_main.c: Likewise.
33429 * math/w_lgammaf_r_compat.c: Likewise.
33430 * math/w_lgammal_main.c: Likewise.
33431 * math/w_lgammal_r_compat.c: Likewise.
33432 * math/w_log10_compat.c: Likewise.
33433 * math/w_log10f_compat.c: Likewise.
33434 * math/w_log10l_compat.c: Likewise.
33435 * math/w_log2_compat.c: Likewise.
33436 * math/w_log2f_compat.c: Likewise.
33437 * math/w_log2l_compat.c: Likewise.
33438 * math/w_log_compat.c: Likewise.
33439 * math/w_logf_compat.c: Likewise.
33440 * math/w_logl_compat.c: Likewise.
33441 * math/w_pow_compat.c: Likewise.
33442 * math/w_powf_compat.c: Likewise.
33443 * math/w_powl_compat.c: Likewise.
33444 * math/w_remainder_compat.c: Likewise.
33445 * math/w_remainderf_compat.c: Likewise.
33446 * math/w_remainderl_compat.c: Likewise.
33447 * math/w_scalb_compat.c: Likewise.
33448 * math/w_scalbf_compat.c: Likewise.
33449 * math/w_scalbl_compat.c: Likewise.
33450 * math/w_sinh_compat.c: Likewise.
33451 * math/w_sinhf_compat.c: Likewise.
33452 * math/w_sinhl_compat.c: Likewise.
33453 * math/w_sqrt_compat.c: Likewise.
33454 * math/w_sqrtf_compat.c: Likewise.
33455 * math/w_sqrtl_compat.c: Likewise.
33456 * math/w_tgamma_compat.c: Likewise.
33457 * math/w_tgammaf_compat.c: Likewise.
33458 * math/w_tgammal_compat.c: Likewise.
33459 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33460 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33461 * sysdeps/ieee754/k_standard.c: Likewise.
33462 * sysdeps/ieee754/k_standardf.c: Likewise.
33463 * sysdeps/ieee754/k_standardl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33466 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33467 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33468 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33469 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33470 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33471 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33472 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33474 Likewise.
33475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33476 Likewise.
33477 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33478 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33479 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33480 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33481
4504783c
FW
334822017-08-21 Florian Weimer <fweimer@redhat.com>
33483
33484 [BZ #21864]
33485 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33486 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33487 Move before inclusion of ../Rules.
33488
b5889d25
FW
334892017-08-21 Florian Weimer <fweimer@redhat.com>
33490
33491 [BZ #21972]
33492 * assert/assert.h (assert): Use static_cast (bool) for C++.
33493 Use the ternary operator in the warning branch for GNU C.
33494 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33495 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33496 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33497 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33498 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33499
41e673c1
L
335002017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33501
33502 [BZ #18822]
33503 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33504 (__syscall_clock_gettime): Add attribute_hidden.
33505 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33506 (__start_context): Likewise.
33507
568ff429
L
335082017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33509
33510 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33511 building libc.a.
33512 (hidden_proto): Likewise.
33513 (hidden_tls_proto): Likewise.
33514 (__hidden_proto): Likewise.
33515
7c41b4a1
L
335162017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33517
33518 * include/libc-symbols.h (attribute_hidden): Enable hidden
33519 visibility in libc.a compiled with PIE.
33520
483d7068
L
335212017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33522
33523 [BZ #18822]
33524 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33525 Add attribute_hidden.
33526
335272017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33528
33529 [BZ #21864]
33530 * Makerules (all-nonlib): Add $(others-extras).
33531 * catgets/Makefile (others-extras): New.
33532 * elf/Makefile (others-extras): Likewise.
33533 * nss/Makefile (others-extras): Likewise.
33534
54e4b8f2
L
335352017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33536
33537 [BZ #18822]
33538 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33539 * elf/dl-open.c: Include <libc-internal.h>.
33540 (__libc_multiple_libcs): Removed.
33541 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33542 <hp-timing.h>.
33543 * include/libc-internal.h (__libc_multiple_libcs): New.
33544 * misc/sbrk.c: Include <libc-internal.h>.
33545 (__libc_multiple_libcs): Removed.
33546
1dbbb1ec
L
335472017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 [BZ #18822]
33550 * grp/initgroups.c (__nss_group_database): Removed.
33551 (__nss_initgroups_database): Likewise.
33552 * nscd/gai.c (__nss_hosts_database): Likewise.
33553 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33554 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33555 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33556 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33557 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33558 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33559 attribute_hidden.
33560 * nss/nsswitch.c (__nss_database_custom): Define only if
33561 USE_NSCD is defined.
33562 (__nss_configure_lookup): Use __nss_database_custom only if
33563 USE_NSCD is defined.
33564 * nss/nsswitch.h (__nss_database_custom): Declare only if
33565 USE_NSCD is defined. Add attribute_hidden.
33566 (__nss_setent): Add attribute_hidden.
33567 (__nss_endent): Likewise.
33568 (__nss_getent_r): Likewise.
33569 (__nss_getent): Likewise.
33570 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33571
2585d7b8
L
335722017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33573
33574 [BZ #18822]
33575 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33576 libc_hidden_proto and libc_hidden_def.
33577
c8dfa99c
L
335782017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33579
33580 [BZ #18822]
33581 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33582 Add libc_hidden_proto.
33583 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33584 Add libc_hidden_def.
33585
7ed87317
L
335862017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33587
33588 [BZ #21974]
33589 * gmon/Makefile (routines): Remove bb_init_func and
33590 bb_exit_func.
33591 (elide-routines.os): Removed.
9476b904
L
33592 * gmon/bb_exit_func.c: Likewise.
33593 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33594 * include/sys/gmon.h (__bb): Likewise.
33595 (__bb_init_func): Likewise.
33596 (__bb_exit_func): Likewise.
91695eb1 33597 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33598
94e6ba15
L
335992017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33600
33601 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33602 * include/setjmp.h (____longjmp_chk): Here. Add
33603 attribute_hidden.
33604
7550717e
L
336052017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33606
33607 [BZ #18822]
33608 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33609 attribute_hidden.
33610 (__strspn_sse2): Likewise.
33611
0bb2fabc
AZ
336122017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33613
c181840c
AZ
33614 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33615 (close_not_cancel_no_status): Likewise.
33616 (__close_nocancel): New macro.
33617 (__close_nocancel_nostatus): Likewise.
33618 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33619 macro.
33620 (close_not_cancel): Likewise.
33621 (close_not_cancel_no_status): Likewise.
33622 (__close_nocancel): New prototype.
33623 (__close_nocancel_nostatus): New function.
33624 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33625 * catgets/open_catalog.c (__open_catalog): Replace
33626 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33627 * gmon/gmon.c (write_gmon): Likewise.
33628 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33629 * intl/loadmsgcat.c (close): Likewise.
33630 * io/ftw.c (open_dir_stream): Likewise.
33631 (ftw_startup): Likewise.
33632 * libio/fileops.c (_IO_file_open): Likewise.
33633 (_IO_file_close_mmap): Likewise.
33634 (_IO_file_close): Likewise.
33635 * libio/iopopen.c (_IO_dup2): Likewise.
33636 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33637 * locale/loadlocale.c (_nl_load_locale): Likewise.
33638 * login/utmp_file.c (pututline_file): Likewise.
33639 (endutent_file): Likewise.
33640 * misc/daemon.c (daemon): Likewise.
33641 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33642 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33643 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33644 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33645 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33646 * nscd/nscd_helper.c (open_socket): Likewise.
33647 (__nscd_open_socket): Likewise.
33648 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33649 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33650 (__nscd_innetgr): Likewise.
33651 * nss/nss_db/db-open.c (internal_setent): Likewise.
33652 * resolv/res-close.c (__res_iclose): Likewise.
33653 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33654 * sysdeps/posix/closedir.c (__closedir): Likewise.
33655 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33656 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33657 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33658 (opendir_tail): Likewise.
33659 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33660 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33661 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33662 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33663 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33664 (gethostid): Likewise.
33665 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33666 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33667 Likewise.
33668 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33669 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33670 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33671 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33672 Likewise.
33673 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33674 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33675 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33676 Likewise.
33677 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33678 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33679 Likewise.
33680 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33681 Likewise.
33682 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33683 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33684 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33685 __close_nocancel.
33686
0bb2fabc
AZ
33687 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33688 (openat_not_cancel_3): Likewise.
33689 (openat64_not_cancel_3): Likewise).
33690 (openat_not_cancel_3): Likewise).
33691 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33692 macro.
33693 (openat_not_cancel_3): Likewise.
33694 (openat64_not_cancel): Likewise.
33695 (openat64_not_cancel_3): Likewise.
33696 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33697 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33698 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33699 __open{64}_nocancel.
33700 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33701 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33702 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33703
65a086db
L
337042017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33705
33706 [BZ #18822]
33707 * include/argz.h (__argz_create_sep): New function prototype.
33708 (__argz_append): Likewise.
33709 (__argz_add): Likewise.
33710 (__argz_add_sep): Likewise.
33711 (__argz_delete): Likewise.
33712 (__argz_insert): Likewise.
33713 (__argz_replace): Likewise.
33714 * string/argz.h (__argz_create_sep): Removed.
33715 (__argz_append): Likewise.
33716 (__argz_add): Likewise.
33717 (__argz_add_sep): Likewise.
33718 (__argz_delete): Likewise.
33719 (__argz_insert): Likewise.
33720 (__argz_replace): Likewise.
33721
62753d2c
L
337222017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33723
33724 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33725 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33726 (GNU_PROPERTY_STACK_SIZE): Likewie.
33727 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33728 (GNU_PROPERTY_LOPROC): Likewise.
33729 (GNU_PROPERTY_HIPROC): Likewise.
33730 (GNU_PROPERTY_LOUSER): Likewise.
33731 (GNU_PROPERTY_HIUSER): Likewise.
33732 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33733 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33734 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33735 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33736 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33737 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33738 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33739 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33740 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33741 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33742 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33743 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33744 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33745 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33746 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33747 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33748 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33749 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33750 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33751 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33752 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33753 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33754 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33755
6913ad65
GG
337562017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33757
33758 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33759 in C++ mode.
33760
47a67213
GG
337612017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33762
33763 [BZ #21930]
33764 * math/math.h (isinf): Check if in C or C++ mode before using
33765 __builtin_types_compatible_p, since this is a C mode feature.
33766
a748eb31
AZ
337672017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33768
c647fb88
AZ
33769 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33770 (__write_nocancel): New macro.
33771 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33772 Rewrite as a function prototype.
33773 (write_not_cancel): Remove macro.
33774 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33775 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33776 (write_gmon): Likewise.
33777 * libio/fileops.c (_IO_new_file_write): Likewise.
33778 * login/utmp_file.c (pututline_file): Likewise.
33779 (updwtmp_file): Likewise.
33780 * stdio-common/psiginfo.c (psiginfo): Likewise.
33781 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33782 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33783 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33784 Likewise.
33785 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33786 Likewise.
33787
a748eb31
AZ
33788 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33789 (__read_nocancel): New macro.
33790 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33791 __read_nocancel.
33792 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33793 macro.
33794 (__read_nocancel): New prototype.
33795 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33796 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33797 with __read_nocancel.
33798 * intl/loadmsgcat.c (read): Likewise.
33799 * libio/fileops.c (_IO_file_read): Likewise.
33800 * locale/loadlocale.c (_nl_load_locale): Likewise.
33801 * login/utmp_file.c (getutent_r_file): Likewise.
33802 (internal_getut_r): Likewise.
33803 (getutline_r_file): Likewise.
33804 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33805 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33806 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33807 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33808 Likewise.
33809 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33810 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33811 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33812 Likewise.
33813 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33814 Likewise.
33815 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33816 Likewise.
33817 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33818 Likewise.
33819 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33820
098b9dd4
L
338212017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33822
33823 [BZ #21966]
33824 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33825 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33826 usable.
33827
a3fe6a20
DD
338282017-08-17 DJ Delorie <dj@redhat.com>
33829
33830 * bug17079.c: Update to new test harness.
33831 * test-digits-dots.c: Likewise.
33832 * test-netdb.c: Likewise.
33833 * tst-field.c: Likewise.
33834 * tst-nss-getpwent.c: Likewise.
33835 * tst-nss-static.c: Likewise.
33836 * tst-nss-test1.c: Likewise.
33837 * tst-nss-test2.c: Likewise.
33838 * tst-nss-test3.c: Likewise.
33839 * tst-nss-test4.c: Likewise.
33840 * tst-nss-test5.c: Likewise.
33841
c2284574
AZ
338422017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33843
33844 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33845 (open_not_cancel_2): Likewise.
33846 (open_nocancel): New macro.
33847 (open64_nocancel): Likewise.
33848 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33849 (open_not_cancel_2): Likewise.
33850 (__open_nocancel): New prototype.
33851 (__open64_nocancel): Likewise.
33852 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33853 __open_nocancel.
33854 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33855 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33856 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33857 with __open_nocancel.
33858 * csu/check_fds.c (check_one_fd): Likewise.
33859 * gmon/gmon.c (write_gmon): Likewise.
33860 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33861 * intl/loadmsgcat.c (open): Likewise.
33862 * libio/fileops.c (_IO_file_open): Likewise.
33863 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33864 * locale/loadlocale.c (_nl_load_locale): Likewise.
33865 * login/utmp_file.c (setutent_file): Likewise.
33866 * misc/daemon.c (daemon): Likewise.
33867 * nss/nss_db/db-open.c (internal_setent): Likewise.
33868 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33869 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33870 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33871 (__opendir): Likewise.
33872 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33873 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33874 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33875 (gethostid): Likewise.
33876 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33877 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33878 Likewise.
33879 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33880 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33881 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33882 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33883 Likewise.
33884 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33885 Likewise.
33886 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33887 Likewise.
33888 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33889 Likewise.
33890 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33891 Likewise.
33892 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33893 Likewise.
33894 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33895 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33896
d4505b89
WD
338972017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33898
33899 * benchtests/bench-skeleton.c (main): Add support for
33900 latency benchmarking.
33901 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33902
34d6a3cb
L
339032017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33904
33905 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33906 the startup object.
33907
038d1caf
FW
339082017-08-17 Florian Weimer <fweimer@redhat.com>
33909
33910 * include/sys/socket.h (__opensock): Remove internal_function.
33911 * socket/opensock.c (__opensock): Likewise.
33912 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33913
67f0aff0
JM
339142017-08-16 Joseph Myers <joseph@codesourcery.com>
33915
33916 [BZ #21944]
33917 * signal/bits/types/__sigval_t.h: New file.
33918 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33919 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33920 and define sigval_t using __sigval_t.
33921 * include/bits/types/__sigval_t.h: New file.
33922 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33923 instead of <bits/types/__sigval_t.h>.
33924 (struct sigevent): Use __sigval_t instead of sigval_t.
33925 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33926 instead of <bits/types/__sigval_t.h>.
33927 (siginfo_t): Use __sigval_t instead of sigval_t.
33928 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33929 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33930 (struct sigevent): Use __sigval_t instead of sigval_t.
33931 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33932 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33933 (siginfo_t): Use __sigval_t instead of sigval_t.
33934 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33935
87e7bf4d
L
339362017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33937
33938 * NEWS: Remove "[Add new features here]" for 2.27.
33939
5047057f
JM
339402017-08-16 Joseph Myers <joseph@codesourcery.com>
33941
33942 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33943 libc.so.
33944
20c7b195
L
339452017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33946
33947 * NEWS: Mention x86-64 FMA optimization.
33948
24a2e658
L
339492017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33950
33951 [BZ #21912]
33952 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33953 Add e_expf-fma.
33954 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33955 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33956 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33957
eedca977
AS
339582017-08-16 Andreas Schwab <schwab@suse.de>
33959
403143e1
FW
33960 [BZ #16750]
33961 CVE-2009-5064
eedca977
AS
33962 * elf/ldd.bash.in: Never run file directly.
33963
f59f7adb
L
339642017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33965
33966 [BZ #21955]
33967 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33968 (L(SP_INF_0)): Likewise.
33969
6b11a6ad
FW
339702017-08-15 Florian Weimer <fweimer@redhat.com>
33971
33972 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33973 run-built-tests.
33974
bbf5c438
FW
339752017-08-15 Florian Weimer <fweimer@redhat.com>
33976
33977 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33978 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33979 BROKEN_THREAD_SIGNALS code.
33980 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33981 request_list): Remove caller_pid member used for
33982 BROKEN_THREAD_SIGNALS.
33983 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33984 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33985 Remove BROKEN_THREAD_SIGNALS support.
33986 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33987 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33988
6014c65d
FW
339892017-08-15 Florian Weimer <fweimer@redhat.com>
33990
33991 * gmon/Makefile (tests): Add tst-gmon.
33992 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33993 Set.
33994 (tests-special): Add tst-gmon-prof.out.
33995 (tst-gmon.out): Depend on clean-tst-gmon-data.
33996 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33997 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33998 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33999 startup object.
34000 * aclocal.m4 (GPROF): Set and substitute.
34001 * config.amke.in (GPROF): Set.
34002 * configure: Regenerate.
34003
ee72219a
GR
340042017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
34005
34006 * elf/elf.h A (NT_PPC_TAR): New macro.
34007 (NT_PPC_PPR): Likewise.
34008 (NT_PPC_DSCR): Likewise.
34009 (NT_PPC_EBB): Likewise.
34010 (NT_PPC_PMU): Likewise.
34011 (NT_PPC_TM_CGPR): Likewise.
34012 (NT_PPC_TM_CFPR): Likewise.
34013 (NT_PPC_TM_CVMX): Likewise.
34014 (NT_PPC_TM_CVSX): Likewise.
34015 (NT_PPC_TM_SPR): Likewise.
34016 (NT_PPC_TM_CTAR): Likewise.
34017 (NT_PPC_TM_CPPR): Likewise.
34018 (NT_PPC_TM_CDSCR): Likewise.
34019
4ebf934e
FW
340202017-08-15 Florian Weimer <fweimer@redhat.com>
34021
34022 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
34023 regparm (2) instead of internal_function.
34024 (_MCOUNT_DECL): Adjust.
34025
e9f57484
SL
340262017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
34027
34028 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
34029 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
34030
88ff4d55
JM
340312017-08-14 Joseph Myers <joseph@codesourcery.com>
34032
34033 * conform/data/sys/wait.h-data (si_value): Do not expect for
34034 XPG42.
34035
c88ffc23
FW
340362017-08-14 Florian Weimer <fweimer@redhat.com>
34037
34038 [BZ #21962]
34039 NSS: Create stubs for accidentally exported lookup functions.
34040 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
34041 Remove declaration.
34042 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
34043 (ether_hostton): Call __nss_ethers_lookup2 instead.
34044 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
34045 (ether_ntohost): Call __nss_ethers_lookup2 instead.
34046 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
34047 (setup): Call __nss_netgroup_lookup2 instead.
34048 * nss/Makefile (routines): Add compat-lookup.
34049 * nss/Versions (GLIBC_2.27): Add symbol version.
34050 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
34051 (DB_COMPAT_FCT): Remove.
34052 * nss/compat-lookup.c: New file.
34053 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
34054 from databases.def.
34055 * nss/service-lookup.c (NO_COMPAT): Remove definition.
34056 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
34057 (netname2user): Call __nss_publickey_lookup2 instead.
34058 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
34059 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
34060 instead.
34061
35a29136 340622017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
34063 Sergei Trofimovich <slyfox@inbox.ru>
34064
34065 [BZ #21908]
34066 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
34067 Rename to MMAP2_PAGE_UNIT.
34068 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
34069 __OFF_T_MATCHES_OFF64_T is not defined.
34070 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
34071 uint64_t.
34072 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
34073 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
34074
fbdc1e3e
FW
340752017-08-14 Florian Weimer <fweimer@redhat.com>
34076
34077 i386: Do not set internal_function.
34078 * config.h.in (USE_REGPARMS, internal_function): Remove.
34079 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
34080 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
34081
b3f85fd2
FW
340822017-08-14 Florian Weimer <fweimer@redhat.com>
34083
34084 * elf/dl-init.c (_dl_init): Remove internal_function.
34085 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
34086 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
34087
630bf491
FW
340882017-08-14 Florian Weimer <fweimer@redhat.com>
34089
34090 * elf/rtld.c (_dl_start): Remove internal_function.
34091 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
34092 _dl_start.
34093
9fa7449b
FW
340942017-08-14 Florian Weimer <fweimer@redhat.com>
34095
34096 * elf/dl-fini.c (_dl_fini): Remove internal_function
34097 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
34098
73322d5f
L
340992017-08-14 H.J. Lu <hongjiu.lu@intel.com>
34100
d863cd71 34101 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
34102 (bit_cpu_SHSTK): Likewise.
34103 (index_cpu_IBT): Likewise.
34104 (index_cpu_SHSTK): Likewise.
34105 (reg_IBT): Likewise.
34106 (reg_SHSTK): Likewise.
34107 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
34108 Handle index_cpu_IBT and index_cpu_SHSTK.
34109
dbc303ef
MF
341102017-08-14 Mike FABIAN <mfabian@redhat.com>
34111
34112 [BZ #19982]
34113 * po/fr.po: Fix spelling mistake.
34114
3012cfb0
FW
341152017-08-13 Florian Weimer <fweimer@redhat.com>
34116
34117 * elf/dl-addr.c (_dl_addr): Remove internal_function.
34118 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
34119 (_dl_catch_error, _dl_receive_error): Likewise.
34120 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
34121 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
34122 (_dl_deallocate_tls): Likewise.
34123 * include/dlfcn.h (_dl_addr): Likewise.
34124 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
34125 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
34126 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
34127 Likewise.
34128
52bcdf26
FW
341292017-08-13 Florian Weimer <fweimer@redhat.com>
34130
34131 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
34132 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
34133 internal_function.
34134 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
34135
e1d2ae8d
FW
341362017-08-13 Florian Weimer <fweimer@redhat.com>
34137
34138 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
34139 internal_function.
34140 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
34141 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
34142 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
34143 internal_function from _dl_make_stack_executable_hook member.
34144 (_dl_make_stack_executable): Remove internal_function.
34145 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
34146 Likewise.
34147 * sysdeps/unix/sysv/linux/dl-execstack.c
34148 (_dl_make_stack_executable): Likewise.
34149
c4ce0382
FW
341502017-08-13 Florian Weimer <fweimer@redhat.com>
34151
34152 * sysdeps/unix/sysv/linux/netlinkaccess.h
34153 (__netlink_assert_response): Remove internal_function.
34154 * sysdeps/unix/sysv/linux/netlink_assert_response.c
34155 (__netlink_assert_response): Likewise.
34156
c4d767f7
FW
341572017-08-13 Florian Weimer <fweimer@redhat.com>
34158
34159 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
34160 internal_function.
34161 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
34162
b2297409
FW
341632017-08-13 Florian Weimer <fweimer@redhat.com>
34164
34165 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
34166 internal_function.
34167 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
34168 * inet/netgroup.h (__internal_setnetgrent)
34169 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34170 * inet/getnetgrent_r.c (__internal_setnetgrent)
34171 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
34172 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
34173 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
34174 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
34175 * nss/nsswitch.h (db_lookup_function): Likewise.
34176
1b0bfc69
FW
341772017-08-13 Florian Weimer <fweimer@redhat.com>
34178
34179 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
34180 Remove internal_function.
34181 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
34182 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
34183 message argument on the stack.
34184 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
34185 Likeweise.
34186
a6bd8722
MF
341872017-08-12 Mike FABIAN <mfabian@redhat.com>
34188
34189 Adapt test case data to the changes in the thousands
34190 separators.
34191
34192 [BZ #20756]
34193 * localedata/tst-langinfo.sh: Adapt test case data.
34194 * stdlib/tst-strfmon_l.c: Likewise.
34195 * stdlib/tst-strtod4.c: Likewise.
34196 * stdlib/tst-strtod5i.c: Likewise.
34197
8b2c63e4
FW
341982017-08-11 Florian Weimer <fweimer@redhat.com>
34199
34200 [BZ #21242]
34201 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
34202 Suppress pedantic warning resulting from statement expression.
34203 (__ASSERT_FUNCTION): Add missing __extension__.
34204
61c98291
SP
342052017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
34206
86c6519e
SP
34207 * benchtests/bench-memmove-large.c: Print output in JSON
34208 format.
34209 * benchtests/bench-memmove.c: Likewise.
34210
61c98291
SP
34211 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
34212 * benchtests/bench-memchr.c (do_one_test): Likewise.
34213 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
34214 * benchtests/bench-memcpy.c (do_one_test): Likewise.
34215 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
34216 * benchtests/bench-memmove.c (do_one_test): Likewise.
34217 * benchtests/bench-memset-large.c (do_one_test): Likewise.
34218 * benchtests/bench-memset.c (do_one_test): Likewise.
34219 * benchtests/bench-string.h (test_init): Remove memsets.
34220
925733a9
RJ
342212017-08-10 Rical Jasan <ricaljasan@pacific.net>
34222
34223 * manual/lang.texi
34224 (Computing the Width of an Integer Data Type): Rename section to
34225 "Width of an Integer Type". Remove inaccurate statement regarding
34226 lack of C language facilities for determining width of integer
34227 types, and reorder content to improve flow and context of
34228 discussion.
34229
4fcdfbfc
RJ
342302017-08-10 Rical Jasan <ricaljasan@pacific.net>
34231
34232 * lang.texi (va_copy): Change standard from ISO to C99.
34233 (__va_copy): Add standard and header annotation.
34234 Update description for clarity of origins and current use.
34235
4d98ace9
GG
342362017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
34237
34238 [BZ #21941]
34239 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
34240 xssqrtqp requires operands to be in Vector Registers
34241 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
34242 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
34243 (__ieee754_sqrtf128): Likewise.
34244
92236903
WD
342452017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
34246
34247 * sysdeps/aarch64/memcmp.S (memcmp):
34248 Rewrite of optimized memcmp.
34249
2449ae7b
FW
342502017-08-10 Florian Weimer <fweimer@redhat.com>
34251
34252 Introduce ld.so exceptions.
34253 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
34254 (_dl_exception_create, _dl_exception_create_format)
34255 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
34256 (_dl_catch_exception): Declare.
34257 (_dl_catch_error): Update comment.
34258 * elf/dl-error-skeleton.c (struct catch): Replace objname,
34259 errstring, malloced members with exception member.
34260 (_dl_out_of_memory): Remove.
34261 (fatal_error): New function, extracted from _dl_signal_error.
34262 (_dl_signal_exception, _dl_signal_cexception): New functions.
34263 (_dl_signal_error): Call _dl_exception_create to allocate an
34264 exception object.
34265 (_dl_catch_exception): New function, based on _dl_catch_error.
34266 (_dl_catch_error): Implement using _dl_catch_exception.
34267 * elf/dl-exception.c: New file.
34268 * elf/Makefile (dl-routines): Add dl-exception.
34269 (elide-routines.os): Likewise.
34270 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
34271 _dl_exception_create_format, _dl_exception_free.
34272 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
34273 _dl_signal_exception.
34274 * elf/dl-lookup.c (make_string): Remove.
34275 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
34276 _dl_signal_cexception, _dl_exception_free.
34277 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
34278 _dl_signal_exception.
34279 * elf/dl-sym.c (do_sym): Likewise.
34280 * elf/dl-version.c (make_string): Remove.
34281 (match_symbol): Use _dl_exception_create_format,
34282 _dl_signal_cexception, _dl_exception_free.
34283 (_dl_check_map_versions): Likewise.
34284 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
34285 _dl_catch_exception.
34286 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
34287 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
34288 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
34289 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
34290 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
34291 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
34292 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
34293 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
34294 Likewise.
34295 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
34296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
34297 (ld.so): Likewise.
34298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
34299 (ld.so): Likewise.
34300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
34301 Likewise.
34302 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
34303 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
34304 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
34305 Likewise.
34306 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
34307 Likewise.
34308 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
34309
f87cc2bf
FW
343102017-08-10 Florian Weimer <fweimer@redhat.com>
34311
34312 * inet/net-internal.h (__inet6_scopeid_pton): Remove
34313 attribute_hidden, internal_function.
34314 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
34315 internal_function.
34316
eac43cbb
FW
343172017-08-10 Florian Weimer <fweimer@redhat.com>
34318
34319 * malloc/malloc.c (get_max_fast): Reimplement as an inline
34320 function which calls __builtin_unreachable.
34321
bd80111e
MF
343222017-08-10 Mike FABIAN <mfabian@redhat.com>
34323
34324 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
34325 Indian monetary formatting
34326 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
34327 test cases.
34328
60e2846e
DL
343292017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34330
68dc02d1
DL
34331 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34332 Fix typo in comment.
34333
60e2846e
DL
34334 [BZ #21928]
34335 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34336 PTRACE_SEIZE_DEVEL): Remove.
34337 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34338 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34339 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34340 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34341 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34342
3d452dab
JM
343432017-08-09 Joseph Myers <joseph@codesourcery.com>
34344
24d9f53a
JM
34345 * posix/bits/types.h (__qaddr_t): Remove.
34346
3d452dab
JM
34347 [BZ #21457]
34348 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34349 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34350 __glibc_reserved1.
34351 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34352 (ucontext_t): Use __ctx with uc_flags.
34353 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34354 (__ctxt): Likewise.
34355 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34356 __glibc_reserved1.
34357 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34358 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34359 __glibc_reserved1.
34360 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34361 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34362 __glibc_reserved1.
34363 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34364 macro.
34365 (ucontext_t): Use __ctx with uc_flags.
34366 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34367 (ucontext_t): Use __ctx with uc_flags.
34368 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34369 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34370 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34371 (ucontext_t): Use __ctx with uc_flags.
34372 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34373 undefine further down.
34374 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34375 __glibc_reserved1.
34376 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34377 undefine further down.
34378 (ucontext_t): Use __ctx with uc_flags.
34379 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34380 undefine further down.
34381 (ucontext_t): Use __ctx with uc_flags.
34382 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34383 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34384 Rename uc_pad to __glibc_reserved1.
34385 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34386 undefine further down.
34387 (ucontext_t): Use __ctx with uc_flags.
34388 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34389 further down.
34390 (ucontext_t): Use __ctx with uc_flags.
34391 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34392 __ctx with uc_flags.
34393 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34394 (ucontext_t): Use __ctx with uc_flags.
34395 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34396 __ctx with uc_flags.
34397
30161498
FW
343982017-08-09 Florian Weimer <fweimer@redhat.com>
34399
34400 [BZ #21932]
34401 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34402 before early return.
34403
5797b410
AS
344042017-08-09 Andreas Schwab <schwab@suse.de>
34405
139237a4 34406 [BZ #21041]
5797b410
AS
34407 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34408 renamed alias.
34409
139237a4 34410 [BZ #21041]
40c06a3d
AS
34411 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34412 tst-compat-forwarder.
34413 (modules-names): Add tst-compat-forwarder-mod.
34414 ($(objpfx)tst-compat-forwarder): Depend on
34415 $(objpfx)tst-compat-forwarder-mod.so.
34416 * nptl/tst-compat-forwarder.c: New file.
34417 * nptl/tst-compat-forwarder-mod.c: New file.
34418
36ada5f6
SP
344192017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34420
0e02b510
SP
34421 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34422 comments.
34423
36ada5f6
SP
34424 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34425 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34426 memcpy_falkor.
34427 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34428 Bump.
34429 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34430 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34431 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34432 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34433 Add falkor.
34434 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34435 New macro.
34436
9995c839
AZ
344372017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34438
34439 [BZ #759]
34440 * manual/setjmp.texi (getcontex): Document uc_stack value
34441 compatibility differences.
34442
f17a4233
JM
344432017-08-08 Joseph Myers <joseph@codesourcery.com>
34444
34445 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34446 (old_malloc_hook): Likewise.
34447 (old_memalign_hook): Likewise.
34448 (old_realloc_hook): Likewise.
34449 (struct hdr): Likewise.
34450 (flood): Likewise.
34451 (freehook): Likewise.
34452 (mallochook): Likewise.
34453 (memalignhook): Likewise.
34454 (reallochook): Likewise.
34455 (mprobe): Likewise.
34456 * malloc/mtrace.c (mallwatch): Likewise.
34457 (tr_old_free_hook): Likewise.
34458 (tr_old_malloc_hook): Likewise.
34459 (tr_old_realloc_hook): Likewise.
34460 (tr_old_memalign_hook): Likewise.
34461 (tr_where): Likewise.
34462 (lock_and_info): Likewise.
34463 (tr_freehook): Likewise.
34464 (tr_mallochook): Likewise.
34465 (tr_reallochook): Likewise.
34466 (tr_memalignhook): Likewise.
34467 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34468 * misc/mmap.c (__mmap): Likewise.
34469 * misc/mmap64.c (__mmap64): Likewise.
34470 * misc/mprotect.c (__mprotect): Likewise.
34471 * misc/msync.c (msync): Likewise.
34472 * misc/munmap.c (__munmap): Likewise.
34473 * posix/posix_madvise.c (posix_madvise): Likewise.
34474 * socket/send.c (__send): Likewise.
34475 * socket/sendto.c (__sendto): Likewise.
34476 * socket/setsockopt.c (__setsockopt): Likewise.
34477 * string/memcmp.c (__ptr_t): Remove macro.
34478 (MEMCMP): Use void * instead of ptr_t.
34479 * string/memrchr.c (__ptr_t): Remove macro.
34480 (__memrchr): Use void * instead of ptr_t.
34481 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34482 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34483 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34484 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34485 * sysdeps/mach/msync.c (msync): Likewise.
34486 * sysdeps/mach/munmap.c (__munmap): Likewise.
34487 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34488 Likewise.
34489 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34490 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34491 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34492 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34493 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34494 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34495 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34496 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34497 Likewise.
34498 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34499 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34500 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34501 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34502 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34503 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34504 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34505 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34506 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34507 Likewise.
34508 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34509 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34510 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34511 (MEMCMP): Use void * instead of ptr_t.
34512 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34513 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34514
0df595b2
FW
345152017-08-08 Florian Weimer <fweimer@redhat.com>
34516
34517 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34518 return statement.
34519
086df229
L
345202017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34521
34522 [BZ #21913]
34523 * csu/libc-tls.c: Include <startup.h> first.
34524 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34525 * elf/dl-tunables.c: Include <startup.h> first.
34526 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34527 * sysdeps/generic/startup.h: New file.
34528 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34529 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34530 (I386_USE_SYSENTER): New. Defined to 0.
34531
fc5ad702
AS
345322017-08-08 Andreas Schwab <schwab@suse.de>
34533
34534 [BZ #21041]
34535 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34536 * nptl/pt-system.c (system): Likewise.
34537
852d6312
AZ
345382017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34539
34540 [BZ #21780]
34541 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34542 EOPNOTSUPP.
34543 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34544 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34545 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34546 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34547 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34548 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34549 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34550
8b164787
JM
345512017-08-07 Joseph Myers <joseph@codesourcery.com>
34552
cd65836b
JM
34553 [BZ #21899]
34554 * bits/sigaction.h (struct sigaction): Define sa_handler and
34555 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34556 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34557 [__USE_XOPEN_EXTENDED].
34558 (SA_RESTART): Likewise.
34559 (SA_NODEFER): Likewise.
34560 (SA_RESETHAND): Likewise.
34561 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34562 (struct sigaction): Define sa_handler and sa_sigaction using union
34563 also for [__USE_XOPEN_EXTENDED].
34564 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34565 [__USE_XOPEN_EXTENDED].
34566 (SA_RESTART): Likewise.
34567 (SA_NODEFER): Likewise.
34568 (SA_RESETHAND): Likewise.
34569 * sysdeps/unix/sysv/linux/bits/sigaction.h
34570 (struct sigaction): Define sa_handler and sa_sigaction using union
34571 also for [__USE_XOPEN_EXTENDED].
34572 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34573 [__USE_XOPEN_EXTENDED].
34574 (SA_RESTART): Likewise.
34575 (SA_NODEFER): Likewise.
34576 (SA_RESETHAND): Likewise.
34577 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34578 (struct sigaction): Define sa_handler and sa_sigaction using union
34579 also for [__USE_XOPEN_EXTENDED].
34580 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34581 [__USE_XOPEN_EXTENDED].
34582 (SA_RESTART): Likewise.
34583 (SA_NODEFER): Likewise.
34584 (SA_RESETHAND): Likewise.
34585 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34586 (struct sigaction): Define sa_handler and sa_sigaction using union
34587 also for [__USE_XOPEN_EXTENDED].
34588 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34589 [__USE_XOPEN_EXTENDED].
34590 (SA_RESTART): Likewise.
34591 (SA_NODEFER): Likewise.
34592 (SA_RESETHAND): Likewise.
34593 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34594 (struct sigaction): Define sa_handler and sa_sigaction using union
34595 also for [__USE_XOPEN_EXTENDED].
34596 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34597 [__USE_XOPEN_EXTENDED].
34598 (SA_RESTART): Likewise.
34599 (SA_NODEFER): Likewise.
34600 (SA_RESETHAND): Likewise.
34601 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34602 (struct sigaction): Define sa_handler and sa_sigaction using union
34603 also for [__USE_XOPEN_EXTENDED].
34604 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34605 [__USE_XOPEN_EXTENDED].
34606 (SA_RESTART): Likewise.
34607 (SA_NODEFER): Likewise.
34608 (SA_RESETHAND): Likewise.
34609 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34610 (struct sigaction): Define sa_handler and sa_sigaction using union
34611 also for [__USE_XOPEN_EXTENDED].
34612 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34613 [__USE_XOPEN_EXTENDED].
34614 (SA_RESTART): Likewise.
34615 (SA_NODEFER): Likewise. Define directly rather than as alias.
34616 (SA_RESETHAND): Likewise.
34617 (SA_INTERRUPT): Define only for [__USE_MISC].
34618 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34619 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34620 [__USE_MISC].
34621 (SA_STACK): Define only for [__USE_MISC].
34622 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34623 (struct sigaction): Define sa_handler and sa_sigaction using union
34624 also for [__USE_XOPEN_EXTENDED].
34625 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34626 [__USE_XOPEN_EXTENDED].
34627 (SA_RESTART): Likewise.
34628 (SA_NODEFER): Likewise.
34629 (SA_RESETHAND): Likewise.
34630 (SA_NOPTRACE): Define only for [__USE_MISC].
34631
d9fee042
JM
34632 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34633 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34634 (struct catalog_info): Likewise.
34635 * inet/htontest.c (lo): Likewise.
34636 (foo): Likewise.
34637 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34638 * inet/inet_net.c (inet_network): Likewise.
34639 * inet/inet_netof.c (inet_netof): Likewise.
34640 * inet/rcmd.c (__ivaliduser): Likewise.
34641 (iruserok): Likewise.
34642 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34643 * locale/programs/locale-spec.c (locale_special): Likewise.
34644 * nis/nis_findserv.c (struct findserv_req): Likewise.
34645 (__nis_findfastest_with_timeout): Likewise.
34646 * nss/test-netdb.c (test_network): Likewise.
34647 * resolv/inet_neta.c (inet_neta): Likewise.
34648 * resolv/ns_date.c (ns_datetosecs): Likewise.
34649 (SECS_PER_DAY): Likewise.
34650 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34651 Likewise.
34652 * resolv/res_comp.c (__putlong): Likewise.
34653 (__putshort): Likewise.
34654 (_getlong): Likewise.
34655 (_getshort): Likewise.
34656 * resolv/res_debug.c (p_time): Likewise.
34657 (precsize_ntoa): Likewise.
34658 (precsize_aton): Likewise.
34659 (latlon2ul): Likewise.
34660 (loc_aton): Likewise.
34661 (loc_ntoa): Likewise.
34662 * resolv/res_hconf.c (struct netaddr): Likewise.
34663 (_res_hconf_reorder_addrs): Likewise.
34664 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34665 (clnttcp_control): Likewise.
34666 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34667 (clntudp_control): Likewise.
34668 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34669 (clntunix_control): Likewise.
34670 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34671 * sunrpc/rpc/auth.h (union des_block): Likewise.
34672 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34673 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34674 (xdrrec_create): Likewise.
34675 (xdrrec_endofrecord): Likewise.
34676 (flush_out): Likewise.
34677 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34678 (xdrstdio_putlong): Likewise.
34679 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34680 Likewise.
34681
8b164787
JM
34682 * misc/sys/cdefs.h (__long_double_t): Remove.
34683 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34684 instead of __long_double_t,
34685 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34686
7ee38e60
SP
346872017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34688
dd3e86ad
SP
34689 * benchtests/scripts/compare_strings.py: Avoid display error when
34690 running on a text terminal.
34691
b115e819
SP
34692 * benchtests/scripts/compare_strings.py (main): Add an
34693 optional -base option.
34694 (process_results): New argument base_func.
34695
7ee38e60
SP
34696 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34697 hardcoding memcpy.
34698 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34699 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34700
d5afb385
AS
347012017-08-07 Andreas Schwab <schwab@suse.de>
34702
34703 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34704 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34705 * intl/Makefile ($(objpfx)tst-gettext.out)
34706 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34707 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34708 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34709 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34710 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34711 * posix/Makefile ($(objpfx)globtest.out)
34712 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34713 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34714 ($(objpfx)tst-printf.out): Likewise.
34715 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34716 ($(objpfx)tst-setcontext3.out): Likewise.
34717
57a72fa3
L
347182017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34719
34720 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34721 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34722 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34723 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34724 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34725 and mptan-fma.
34726 (CFLAGS-doasin-fma.c): New.
34727 (CFLAGS-dosincos-fma.c): Likewise.
34728 (CFLAGS-e_asin-fma.c): Likewise.
34729 (CFLAGS-e_atan2-fma.c): Likewise.
34730 (CFLAGS-e_exp-fma.c): Likewise.
34731 (CFLAGS-e_log-fma.c): Likewise.
34732 (CFLAGS-e_pow-fma.c): Likewise.
34733 (CFLAGS-halfulp-fma.c): Likewise.
34734 (CFLAGS-mpa-fma.c): Likewise.
34735 (CFLAGS-mpatan-fma.c): Likewise.
34736 (CFLAGS-mpatan2-fma.c): Likewise.
34737 (CFLAGS-mpexp-fma.c): Likewise.
34738 (CFLAGS-mplog-fma.c): Likewise.
34739 (CFLAGS-mpsqrt-fma.c): Likewise.
34740 (CFLAGS-mptan-fma.c): Likewise.
34741 (CFLAGS-s_atan-fma.c): Likewise.
34742 (CFLAGS-sincos32-fma.c): Likewise.
34743 (CFLAGS-slowexp-fma.c): Likewise.
34744 (CFLAGS-slowpow-fma.c): Likewise.
34745 (CFLAGS-s_sin-fma.c): Likewise.
34746 (CFLAGS-s_tan-fma.c): Likewise.
34747 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34748 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34749 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34750 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34751 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34752 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34753 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34754 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34755 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34756 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34757 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34758 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34759 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34760 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34761 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34762 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34763 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34764 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34765 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34766 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34767 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34768 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34769 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34770 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34771 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34772 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34773 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34774 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34775 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34776 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34777 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34778
219dd320
JM
347792017-08-04 Joseph Myers <joseph@codesourcery.com>
34780
34781 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34782 (min_of_type_f): New macro.
34783 (min_of_type_): Likewise.
34784 (min_of_type_l): Likewise.
34785 (min_of_type_f128): Likewise.
34786 (min_of_type): Define using __MATH_TG and taking an expression
34787 argument.
34788 (math_check_force_underflow): Pass expression instead of type to
34789 min_of_type.
34790 (math_check_force_underflow_nonneg): Likewise.
34791
64d4dea6
L
347922017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34793
34794 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34795 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34796 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34797
973da22a
L
347982017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34799
34800 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34801 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34802 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34803 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34804 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34805 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34806 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34807 memmove_chk-nonshared and memset_chk-nonshared
34808 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34809 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34810 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34811 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34812 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34813 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34814 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34815 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34816 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34817 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34818 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34819 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34820 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34821 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34822 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34823 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34824 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34825 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34826 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34827 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34828 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34829 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34830 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34831 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34832 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34833 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34834 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34835 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34836 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34837 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34838 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34839 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34840 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34841 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34842 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34843 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34844 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34845 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34846 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34847 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34848 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34849 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34850 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34851 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34852 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34853 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34854 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34855 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34856 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34857 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34858 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34859 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34860 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34861 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34862 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34863 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34864 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34865 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34866 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34867 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34868 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34869 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34870 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34871 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34872 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34873 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34874 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34875 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34876 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34877 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34878 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34879 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34880 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34881 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34882 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34883 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34884 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34885 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34886 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34887 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34888 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34889 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34890 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34891 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34892 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34893 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34894 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34895 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34896 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34898 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34899 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34900 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34901 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34902 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34903 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34904 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34905 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34906 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34907 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34910 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34911 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34913 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34914 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34915 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34916
8537e0f6
L
349172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34918
34919 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34920 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34921 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34922 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34923 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34924 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34925 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34926 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34927 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34928 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34929 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34930 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34931 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34932 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34933 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34934 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34935 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34936 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34937 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34938 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34939 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34940 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34941 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34942 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34943 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34944 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34945 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34946 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34947 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34948 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34949 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34950 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34951 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34952 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34953 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34954 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34955 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34956 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34957 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34958 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34959 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34960 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34961 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34962 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34963 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34964 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34965 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34966 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34967 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34968 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34969 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34970 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34971 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34972 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34973 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34974 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34975 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34976 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34977 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34978 ...
34979 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34980 Don't include <sysdep.h> nor <init-arch.h>.
34981 (_ZGVbN2v_cos): Removed.
34982 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34983 ...
34984 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34985 Don't include <sysdep.h> nor <init-arch.h>.
34986 (_ZGVdN4v_cos): Removed.
34987 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34988 ...
34989 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34990 Don't include <sysdep.h> nor <init-arch.h>.
34991 (_ZGVeN8v_cos): Removed.
34992 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34993 ...
34994 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34995 Don't include <sysdep.h> nor <init-arch.h>.
34996 (_ZGVbN2v_exp): Removed.
34997 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34998 ...
34999 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
35000 Don't include <sysdep.h> nor <init-arch.h>.
35001 (_ZGVdN4v_exp): Removed.
35002 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
35003 ...
35004 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
35005 Don't include <sysdep.h> nor <init-arch.h>.
35006 (_ZGVeN8v_exp): Removed.
35007 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
35008 ...
35009 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
35010 Don't include <sysdep.h> nor <init-arch.h>.
35011 (_ZGVbN2v_log): Removed.
35012 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
35013 ...
35014 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
35015 Don't include <sysdep.h> nor <init-arch.h>.
35016 (_ZGVdN4v_log): Removed.
35017 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
35018 ...
35019 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
35020 Don't include <sysdep.h> nor <init-arch.h>.
35021 (_ZGVeN8v_log): Removed.
35022 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
35023 ...
35024 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
35025 Don't include <sysdep.h> nor <init-arch.h>.
35026 (_ZGVbN2vv_pow): Removed.
35027 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
35028 ...
35029 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
35030 Don't include <sysdep.h> nor <init-arch.h>.
35031 (_ZGVdN4vv_pow): Removed.
35032 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
35033 ...
35034 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
35035 Don't include <sysdep.h> nor <init-arch.h>.
35036 (_ZGVeN8vv_pow): Removed.
35037 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
35038 ...
35039 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
35040 Don't include <sysdep.h> nor <init-arch.h>.
35041 (_ZGVbN2v_sin): Removed.
35042 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
35043 ...
35044 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
35045 Don't include <sysdep.h> nor <init-arch.h>.
35046 (_ZGVbN4v_sin): Removed.
35047 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
35048 ...
35049 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
35050 Don't include <sysdep.h> nor <init-arch.h>.
35051 (_ZGVbN8v_sin): Removed.
35052 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
35053 ...
35054 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
35055 Don't include <sysdep.h> nor <init-arch.h>.
35056 (_ZGVbN2vvv_sincos): Removed.
35057 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
35058 ...
35059 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
35060 Don't include <sysdep.h> nor <init-arch.h>.
35061 (_ZGVdN4vvv_sincos): Removed.
35062 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
35063 ...
35064 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
35065 Don't include <sysdep.h> nor <init-arch.h>.
35066 (_ZGVeN8vvv_sincos): Removed.
35067 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
35068 ...
35069 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
35070 Don't include <sysdep.h> nor <init-arch.h>.
35071 (_ZGVeN16v_cosf): Removed.
35072 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
35073 ...
35074 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
35075 Don't include <sysdep.h> nor <init-arch.h>.
35076 (_ZGVbN4v_cosf): Removed.
35077 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
35078 ...
35079 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
35080 Don't include <sysdep.h> nor <init-arch.h>.
35081 (_ZGVdN8v_cosf): Removed.
35082 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
35083 ...
35084 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
35085 Don't include <sysdep.h> nor <init-arch.h>.
35086 (_ZGVeN16v_expf): Removed.
35087 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
35088 ...
35089 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
35090 Don't include <sysdep.h> nor <init-arch.h>.
35091 (_ZGVbN4v_expf): Removed.
35092 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
35093 ...
35094 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
35095 Don't include <sysdep.h> nor <init-arch.h>.
35096 (_ZGVdN8v_expf): Removed.
35097 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
35098 ...
35099 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
35100 Don't include <sysdep.h> nor <init-arch.h>.
35101 (_ZGVeN16v_logf): Removed.
35102 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
35103 ...
35104 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
35105 Don't include <sysdep.h> nor <init-arch.h>.
35106 (_ZGVbN4v_logf): Removed.
35107 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
35108 ...
35109 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
35110 Don't include <sysdep.h> nor <init-arch.h>.
35111 (_ZGVdN8v_logf): Removed.
35112 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
35113 ...
35114 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
35115 Don't include <sysdep.h> nor <init-arch.h>.
35116 (_ZGVeN16vv_powf): Removed.
35117 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
35118 ...
35119 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
35120 Don't include <sysdep.h> nor <init-arch.h>.
35121 (_ZGVbN4vv_powf): Removed.
35122 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
35123 ...
35124 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
35125 Don't include <sysdep.h> nor <init-arch.h>.
35126 (_ZGVdN8vv_powf): Removed.
35127 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
35128 ...
35129 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
35130 Don't include <sysdep.h> nor <init-arch.h>.
35131 (_ZGVeN16vvv_sincosf): Removed.
35132 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
35133 ...
35134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
35135 Don't include <sysdep.h> nor <init-arch.h>.
35136 (_ZGVbN4vvv_sincosf): Removed.
35137 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
35138 ...
35139 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
35140 Don't include <sysdep.h> nor <init-arch.h>.
35141 (_ZGVdN8vvv_sincosf): Removed.
35142 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
35143 ...
35144 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
35145 Don't include <sysdep.h> nor <init-arch.h>.
35146 (_ZGVeN16v_sinf): Removed.
35147 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
35148 ...
35149 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
35150 Don't include <sysdep.h> nor <init-arch.h>.
35151 (_ZGVbN4v_sinf): Removed.
35152 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
35153 ...
35154 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
35155 Don't include <sysdep.h> nor <init-arch.h>.
35156 (_ZGVdN8v_sinf): Removed.
35157
10a87ca4
L
351582017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35159
35160 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
35161 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
35162 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
35163 s_rint-sse4_1 and s_rintf-sse4_1.
35164 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
35165 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
35166 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
35167 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
35168 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
35169 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
35170 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
35171 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
35172 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
35173 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
35174 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
35175 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35176 (__ceil): Removed.
35177 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
35178 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
35179 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35180 (__ceilf): Removed.
35181 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
35182 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
35183 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35184 (__floor): Removed.
35185 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
35186 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
35187 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35188 (__floorf): Removed.
35189 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
35190 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
35191 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35192 (__nearbyint): Removed.
35193 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
35194 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
35195 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35196 (__nearbyintf): Removed.
35197 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
35198 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
35199 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35200 (__rint): Removed.
35201 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
35202 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
35203 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
35204 (__rintf): Removed.
35205
1e8e527d
L
352062017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35207
35208 * sysdeps/i386/start.S (_start): Check Check PIC instead of
35209 SHARED. Avoid dynamic relocation against main in static PIE.
35210
e13daad7
L
352112017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35212
35213 [BZ #21815]
35214 * elf/Makefile (CFLAGS-tst-prelink.c): New.
35215 (LDFLAGS-tst-prelink): Likewise.
35216
627c69c8
L
352172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35218
35219 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
35220 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
35221 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
35222 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
35223 (INTERNAL_SYSCALL_NCS): Likewise.
35224 (LOADARGS_1): Likewise.
35225 (LOADARGS_5): Likewise.
35226 (RESTOREARGS_1): Likewise.
35227 (RESTOREARGS_5): Likewise.
35228
fc11ff8d
L
352292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35230
35231 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
35232 (MEMPCPY_SYMBOL): Likewise.
35233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
35234 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
35235 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
35236 in libc.a.
35237 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
35238 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
35239 Likewise.
35240 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
35241 (__hidden_ver1): Don't use in libc.a.
35242 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
35243 (__mempcpy): Don't create a weak alias in libc.a.
35244 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
35245 libc.a.
35246 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
35247 (__hidden_ver1): Don't use in libc.a.
35248
19f1a11e
L
352492017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35250
35251 * config.make.in (have-insert): New.
35252 * configure.ac (libc_cv_insert): New. Set to yes if linker
35253 supports INSERT in linker script.
35254 (AC_SUBST(libc_cv_insert): New.
35255 * configure: Regenerated.
35256 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
35257 if $(have-insert) == yes.
35258
3093fd5e
L
352592017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35260
35261 * elf/Makefile (tests): Add vismain only if
35262 $(have-protected-data) == yes.
35263 (tests-pie): Likewise.
35264
d2cf37c0
L
352652017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35266
35267 [BZ #21871]
35268 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
35269 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
35270
c8a0e6ec
L
352712017-08-04 H.J. Lu <hongjiu.lu@intel.com>
35272
35273 [BZ #21790]
35274 * sysdeps/i386/i586/memset.S
35275 (__memset_zero_constant_len_parameter): Removed.
35276 * sysdeps/i386/i686/memset.S
35277 (__memset_zero_constant_len_parameter): Likewise.
35278 * sysdeps/i386/i686/multiarch/memset_chk.S
35279 (__memset_zero_constant_len_parameter): Likewise.
35280 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
35281 Likewise.
35282
2b34e271
AJ
352832017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35284
35285 * stdlib/getentropy.c (getentropy): Change return type to int.
35286
144bdab0
AJ
352872017-08-03 Aurelien Jarno <aurelien@aurel32.net>
35288
35289 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
35290
24ab7723
JM
352912017-08-03 Joseph Myers <joseph@codesourcery.com>
35292
35293 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
35294 u_intN_t.
35295 * math/s_nexttowardf.c (__nexttowardf): Likewise.
35296 * sysdeps/generic/math_private.h (ieee_double_shape_type):
35297 Likewise.
35298 (ieee_float_shape_type): Likewise.
35299 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
35300 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
35301 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
35302 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
35303 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
35304 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
35305 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
35306 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
35307 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
35308 Likewise.
35309 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
35310 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
35311 (__ieee754_yn): Likewise.
35312 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
35313 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
35314 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
35315 Likewise.
35316 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
35317 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
35318 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
35319 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
35320 (__erfc): Likewise.
35321 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
35322 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
35323 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
35324 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
35325 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
35326 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
35327 Likewise.
35328 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35329 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35330 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35331 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35332 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35333 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35334 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35335 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35336 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35337 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35338 (__issignaling): Likewise.
35339 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35340 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35341 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35342 Likewise.
35343 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35344 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35345 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35346 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35347 Likewise.
35348 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35349 Likewise.
35350 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35351 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35352 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35353 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35354 (__erfcf): Likewise.
35355 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35356 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35357 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35358 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35359 Likewise.
35360 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35361 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35362 Likewise.
35363 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35364 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35365 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35366 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35367 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35368 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35369 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35370 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35371 Likewise.
35372 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35373 Likewise.
35374 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35375 Likewise.
35376 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35377 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35378 Likewise.
35379 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35380 Likewise.
35381 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35382 (__ieee754_ynl): Likewise.
35383 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35384 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35385 Likewise.
35386 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35387 Likewise.
35388 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35389 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35390 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35391 Likewise.
35392 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35393 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35394 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35395 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35396 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35397 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35398 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35399 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35400 Likewise.
35401 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35402 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35403 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35404 Likewise.
35405 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35406 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35407 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35408 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35409 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35410 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35411 Likewise.
35412 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35413 Likewise.
35414 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35415 Likewise.
35416 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35417 Likewise.
35418 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35419 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35420 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35421 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35422 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35423 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35424 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35425 Likewise.
35426 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35427 Likewise.
35428 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35429 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35430 Likewise.
35431 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35432 (__ieee754_remainderl): Likewise.
35433 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35434 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35435 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35436 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35437 Likewise.
35438 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35439 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35440 Likewise.
35441 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35442 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35443 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35444 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35445 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35446 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35447 Likewise.
35448 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35449 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35450 (__ieee754_y0l): Likewise.
35451 (pzero): Likewise.
35452 (qzero): Likewise.
35453 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35454 (__ieee754_y1l): Likewise.
35455 (pone): Likewise.
35456 (qone): Likewise.
35457 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35458 (__ieee754_ynl): Likewise.
35459 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35460 (__ieee754_lgammal_r): Likewise.
35461 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35462 Likewise.
35463 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35464 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35465 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35466 (__erfcl): Likewise.
35467 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35468 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35469 Likewise.
35470 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35471 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35472 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35473 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35474 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35475 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35476 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35477 Likewise.
35478 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35479 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35480 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35481 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35482 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35483 Likewise.
35484 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35485 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35486 Likewise.
35487 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35488 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35489 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35490 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35491 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35492
964263bb
FW
354932017-08-03 Florian Weimer <fweimer@redhat.com>
35494
35495 [BZ #21885]
35496 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35497 on memory allocation failure.
35498
e98c925f
AM
354992017-08-03 Alan Modra <amodra@gmail.com>
35500
35501 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35502 tst-tlsopt-powerpc.c with function name change and no test harness.
35503 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35504 Call tls_get_addr_opt_test.
35505 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35506 (modules-names): Add mod-tlsopt-powerpc.
35507 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35508 (tst-tlsopt-powerpc): Depend on .so.
35509 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35510 define. Expand use in TLS_GD and TLS_LD.
35511
8ee1abdb
ST
355122017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35513
35514 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35515 function.
3da5756e 35516 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35517
42df8d59
JM
355182017-08-02 Joseph Myers <joseph@codesourcery.com>
35519
35520 [BZ #21686]
35521 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35522 comparing size with that of double.
35523 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35524 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35525 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35526 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35527 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35528 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35529 unsigned __int128 types.
35530
b7f95f49
SE
355312017-08-02 Steve Ellcey <sellcey@cavium.com>
35532
35533 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35534 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35535 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35536 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35537 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35538
5b736bc9
L
355392017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35540
35541 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35542
dfc93c41
L
355432017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35544
35545 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35546 of SHARED.
35547 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35548 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35549 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35550 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35551 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35552 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35553 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35554
2fee621d
JM
355552017-08-02 Joseph Myers <joseph@codesourcery.com>
35556
35557 [BZ #21685]
35558 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35559 bit-field expressions passed to sizeof or typeof.
35560 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35561 (__TGMATH_F128): Likewise.
35562 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35563 (__TGMATH_CF128): Likewise.
35564 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35565 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35566 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35567 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35568 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35569 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35570 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35571 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35572 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35573 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35574 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35575 (__TGMATH_UNARY_IMAG): Likewise.
35576 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35577 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35578 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35579 type.
35580 (define_vars_for_type): Handle bit_field type specially.
35581 (Tests.__init__): Declare structure with bit-field element.
35582
b358255f
L
355832017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35584
35585 [BZ #21791]
35586 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35587 (MEMCPY_CHK): Define only if SHARED is defined.
35588 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35589 Likewise.
35590 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35591 Likewise.
edf66db1
SP
35592
35593See ChangeLog.18 for earlier changes.