]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
aarch64: add STO_AARCH64_VARIANT_PCS and DT_AARCH64_VARIANT_PCS
[thirdparty/glibc.git] / ChangeLog
CommitLineData
55f82d32
SN
12019-06-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
2
3 * elf/elf.h (STO_AARCH64_VARIANT_PCS): Define.
4 (DT_AARCH64_VARIANT_PCS): Define.
5
21bd039b
AZ
62019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7
11926960
AZ
8 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
9 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
10 objects.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
12 Remove file.
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
14 Likewise.
15 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
16 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
17 Likewise.
18 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
19 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
20 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
22 Remove s_finite* objects.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
24 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
26 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
27 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
28 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
29 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
30 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
31 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
32 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
33
a7218676
AZ
34 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
35 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
36
6427a6ac
AZ
37 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
38 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
39 objects.
40 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
41 Remove file.
42 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
43 Likewise.
44 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
45 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
46 Likewise.
47 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
48 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
51 Remove s_isinf* and s_isinf* objects.
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
53 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
54 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
55 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
56 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
57 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
58 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
60 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
61 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
62
a8c590f7
AZ
63 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
64 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
65
2666f963
AZ
66 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
67 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
68 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
69 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
70 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
71 s_isnanf-* objects.
72 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
73 Remove file
74 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
75 Likewise.
76 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
77 Likewise.
78 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
79 Likewise.
80 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
81 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
82 Likewise.
83 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
84 Likewise.
85 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
86 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
87 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
88 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
89 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
90 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
91 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
92 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
93 Remove s_isnan-* and s_isnanf-* objects.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
95 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
96 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
97 Likewise.
98 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
99 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
101 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
103 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
104 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
105 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
106 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
107 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
108 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
109 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
110 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
111
197dbda1
AZ
112 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
113 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
114
2731a326
AZ
115 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
116 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
117 CFLAGS-bench-isfinite.c): New rule.
118 * benchtests/isnan-input: New file.
119 * benchtests/isinf-input: New file.
120 * benchtests/isfinite-input: New file.
121
e41d66e4
AZ
122 * sysdeps/powerpc/fpu/s_copysign.c: New file.
123 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
124 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
125 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
127 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
128 s_copysign-ppc32.
129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
130 Remove file.
131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
132 Likewise.
133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
134 Likewise.
135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
136 Likewise.
137 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
138 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
139 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
140 Remove s_copysign-power6 s_copysign-ppc64.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
142 Remove file.
143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
144 Likewise.
145 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
147 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
148 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
151
21bd039b
AZ
152 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
153 round_to_integer_float, round_mode): Add RINT handling.
154 (reset_fenv_mode): New symbol.
155 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
156 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
157 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
158 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
159 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
160 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
161
cfa61144
FW
1622019-06-12 Florian Weimer <fweimer@redhat.com>
163
164 [BZ #24632]
165 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
166 * libio/freopen.c (freopen): Use it.
167
744e8296
FW
1682019-06-12 Florian Weimer <fweimer@redhat.com>
169
170 Linux: Deprecate sysctl.
171 * include/sysctl.h (__sysctl): Remove declaration.
172 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
173 check.
174 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
175 (sysctl): Add deprecation attribute.
176 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
177 directly, to avoid the deprecation warning. Do not include
178 <string.h>.
179 (__sysctl): Remove hidden alias.
180
5dad6ffb
FW
1812019-06-12 Florian Weimer <fweimer@redhat.com>
182
183 Linux: Use kernel headers for statx definitions if available.
184 * include/bits/statx-generic.h: New file.
185 * include/bits/types/struct_statx.h: Likewise.
186 * include/bits/types/struct_statx_timestamp.h: Likewise.
187 * io/Makefile (headers): Add bits/statx-generic.h.
188 * io/bits/statx-generic.h: New file. Partly copied from
189 io/bits/statx.h.
190 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
191 define original_statx.
192 * io/bits/types/struct_statx.h: Likewise.
193 * io/bits/types/struct_statx_timestamp.h: Likewise.
194 (statx_generic): Use original_statx.
195 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
196 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
197
4e75c2a4
FW
1982019-06-12 Florian Weimer <fweimer@redhat.com>
199
200 * misc/sys/cdefs.h (__glibc_has_include): Define.
201
680942b0
WD
2022019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
203
204 * string/memmem.c (__memmem): Rewrite to improve performance.
205
5e0a7ecb
WD
2062019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
207
208 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
209 warning.
210 (two_way_long_needle): Block inlining.
211 * string/strstr.c (strstr2): Add new function.
212 (strstr3): Likewise.
213 (STRSTR): Completely rewrite strstr to improve performance.
214
80b2bfb5
WD
2152019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
216
217 * benchtests/bench-strstr.c (test_hard_needle): New function.
218
e6e24243
JM
2192019-06-10 Joseph Myers <joseph@codesourcery.com>
220
221 * malloc/tst-calloc.c: Include <libc-diag.h>.
222 (null_test): Ignore -Wunused-result around calls to calloc.
223 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
224 (do_test): Ignore -Wunused-result around call to malloc.
225
51ea67d5
FW
2262019-06-07 Florian Weimer <fweimer@redhat.com>
227
228 Linux: Add getdents64 system call.
229 * include/dirnent.h (getdents): Add comment and change buffer
230 argument type to void *.
231 (getdents64): Likewise. Add hidden prototype.
232 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
233 getdents64.
234 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
235 Add tst-getdents64.
236 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
237 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
238 argument type to void *.
239 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
240 Add hidden definition and getdents64 alias.
241 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
242 Likewise.
243 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
244 * manual/filesys.texi (Accessing Directories): Add Low-level
245 Directory Access node reference.
246 (Opening a Directory): Cross-reference it.
247 (Low-level Directory Access): New node.
248 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
249 getdents64.
250 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
251 Likewise.
252 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
253 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
254 Likewise.
255 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
256 Likewise.
257 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
258 Likewise.
259 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
260 Likewise.
261 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
262 Likewise.
263 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
264 Likewise.
265 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
266 Likewise.
267 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
268 (GLIBC_2.30): Likewise.
269 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
270 (GLIBC_2.30): Likewise.
271 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
272 (GLIBC_2.30): Likewise.
273 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
274 (GLIBC_2.30): Likewise.
275 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
276 Likewise.
277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
278 (GLIBC_2.30): Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
280 (GLIBC_2.30): Likewise.
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
282 (GLIBC_2.30): Likewise.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
284 (GLIBC_2.30): Likewise.
285 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
286 Likewise.
287 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
288 Likewise.
289 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
290 Likewise.
291 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
292 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
293 Likewise.
294 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
295 Likewise.
296 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
297 Likewise.
298 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
299 Likewise.
300
de751ebc
PC
3012019-06-06 Paul A. Clarke <pc@us.ibm.com>
302
303 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
304 (__FPU_MFFS): New.
305 (__FPU_MFFSL): New.
306 (_FPU_GET_RC): New.
307 (_FPU_GETCW): Use __FPU_MFFS().
308 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
309
28dd3939
FW
3102019-06-06 Florian Weimer <fweimer@redhat.com>
311
312 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
313 internal GCC preprocessor identifier __has_include__.
314
0158473d
PC
3152019-06-05 Paul A. Clarke <pc@us.ibm.com>
316
317 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
318 with call to equivalent function.
319
e863dbf6
FW
3202019-06-04 Florian Weimer <fweimer@redhat.com>
321
322 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
323 (do_release_shlib): Adjust for __twalk_r.
324 (__gconv_release_shlib): Call __twalk_r.
325
4802be92
AS
3262019-06-04 Andreas Schwab <schwab@suse.de>
327
328 [BZ #18830]
329 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
330 no irreversible characters occurred.
331 * iconv/gconv_simple.c (internal_ucs4_loop)
332 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
333 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
334 (ucs4_internal_loop_single, internal_ucs4le_loop)
335 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
336 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
337 (ucs4le_internal_loop_single): Add const to outend.
338 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
339 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
340 * iconv/Makefile (tests): Add tst-iconv7.
341 * iconv/tst-iconv7.c: New file.
342
dc91a19e
JM
3432019-06-03 Joseph Myers <joseph@codesourcery.com>
344
345 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
346
6a1a9a49 3472019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
348
349 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
350 * sysdeps/unix/sysv/linux/arm/Makefile
351 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
352 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
353 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
354 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
355 compatibility symbols.
356
0bb8f8c7
FW
3572019-05-31 Florian Weimer <fweimer@redhat.com>
358
359 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
360 system calls for the arm architecture: breakpoint, get_tls,
361 set_tls, usr26, usr32.
362
9250e661
GG
3632019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
364
365 * sysdeps/powerpc/Makefile
366 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
367 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
368 Declare '.machine power7' to get support for ldbrx.
369 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
370 directive based on the directory of the file.
371 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
372 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
373 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
374 '.machine' directive.
375 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
376 (VADDUQM_V7_V8): Remove.
377 (__STRCASECMP): Replace macros with actual instructions.
378 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
379 '.machine' directive.
380 (VCLZD_V8_v7): Remove.
381 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
382
fbd6c928
AZ
3832019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
384
385 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
386 Remove file.
387 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
388
e47308c9
AZ
3892019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
390
391 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
392 NEARBYINT handling.
393 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
394 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
395 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
396 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
397 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
398 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
399
157cda1f 4002019-05-28 mansayk <6688000@gmail.com>
401
402 [BZ #24370]
403 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
404
182a3746 4052019-05-28 mansayk <6688000@gmail.com>
406
407 [BZ #24369]
408 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
409 (abmon): Likewise, but remove the trailing dots.
410
c6df1ce3
JM
4112019-05-28 Joseph Myers <joseph@codesourcery.com>
412
413 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
414
85188d82
FW
4152019-05-27 Florian Weimer <fweimer@redhat.com>
416
417 * nptl/nptl-init.c: Add comment.
418
5c23c821
FW
4192019-05-24 Florian Weimer <fweimer@redhat.com>
420
421 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
422 struct in_addr/struct in6_addr alignment.
423
bee1f2c4
JM
4242019-05-23 Joseph Myers <joseph@codesourcery.com>
425
426 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
427 (F_SEAL_FUTURE_WRITE): New macro.
428
481c30cb
AH
4292019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
430
431 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
432 * elf/tst-ldconfig-bad-aux-cache.c: New file.
433 * elf/tst-ldconfig_aux-cache.root: New directory.
434 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
435 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
436 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
437
cb755eed
ZW
4382019-05-22 Zack Weinberg <zackw@panix.com>
439
440 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
441 host type.
442 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
443 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
444
445 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
446 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
448 Delete.
449
450 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
451 Issue an #error if used with a compiler in SPE-float mode.
452 * sysdeps/powerpc/powerpc32/__longjmp_common.S
453 * sysdeps/powerpc/powerpc32/setjmp_common.S
454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
460 Remove code to preserve SPE register state.
461
462 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
463 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
464 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
465 Remove __SPE__ ifndefs.
466
46ae0732
WD
4672019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
468
469 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
470 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
471 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
472 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
473 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
474 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
475 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
476 (INNER_LOOP_ITERS_MEDIUM): New define.
477 (INNER_LOOP_ITERS_SMALL): New define.
478 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
479 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
480 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
481 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
482 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
483
004e52fe
AZ
4842019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
485
486 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
487 New define.
488 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
489 (SEMTIMEDOP_IPC_ARGS): Likewise.
490
c9c15ac3
FW
4912019-05-21 Florian Weimer <fweimer@redhat.com>
492
493 [BZ #24584]
494 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
495 before updating __counter field and release it afterwards. Add
496 overflow check.
497 * iconv/gconv.h (struct __gconv_step): Mention synchronization
498 requirement for __counter member.
499
7e740ab2
FW
5002019-05-21 Florian Weimer <fweimer@redhat.com>
501
502 [BZ #24583]
503 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
504 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
505 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
506 instead of __gconv_release_step.
507 * libio/Makefile (tests): Add tst-wfile-gconv.
508 (tests-container): Add tst-wfile-ascii.
509 (tst-wfile-gconv-ENV): Enable mtrace.
510 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
511 (tests-special): Add tst-wfile-gconv-mem.out.
512 (tst-wfile-gconv.out): Depend on locales.
513 (tst-wfile-gconv-mem.out): Add mtrace rule.
514 * libio/tst-wfile-ascii.c: New file.
515 * libio/tst-wfile-gconv.c: Likewise.
516
09e1b0e3
FW
5172019-05-20 Florian Weimer <fweimer@redhat.com>
518
519 [BZ #24588]
520 libio: Remove codecvt vtable.
521 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
522 __libio_codecvt.
523 * libio/iofgetpos.c (_IO_new_fgetpos): Call
524 __libio_codecvt_encoding.
525 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
526 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
527 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
528 * libio/iofwide.c (__libio_codecvt): Remove variable.
529 (_IO_fwide): Do not copy __libio_codecvt.
530 (__libio_codecvt_out): Rename from do_out and export.
531 (do_unshift): Remove function.
532 (__libio_codecvt_in): Rename from do_in and export.
533 (__libio_codecvt_encoding): Rename from do_encoding and export.
534 (do_always_noconv): Remove function.
535 (__libio_codecvt_length): Rename from do_length and export.
536 (do_max_length): Remove function.
537 * libio/libio.h (enum __codecvt_result): Remove definition; moved
538 to libioP.h.
539 (struct _IO_codecvt): Remove fields __codecvt_destr,
540 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
541 __codecvt_do_encoding, __codecvt_do_always_noconv,
542 __codecvt_do_length, __codecvt_do_max_length.
543 * libio/libioP.h (enum __codecvt_result): Define; moved from
544 libio.h.
545 (__libio_codecvt_out, __libio_codecvt_in)
546 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
547 functions.
548 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
549 (_IO_wfile_underflow): Call __libio_codecvt_in.
550 (_IO_wfile_underflow): Likewise.
551 (_IO_wfile_underflow_mmap): Likewise.
552 (_IO_wfile_sync): Call __libio_codecvt_encoding,
553 __libio_codecvt_length.
554 (adjust_wide_data): Call __libio_codecvt_encoding,
555 __libio_codecvt_in.
556 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
557 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
558 __libio_codecvt_length.
559
75c51570
FW
5602019-05-20 Florian Weimer <fweimer@redhat.com>
561
562 * support/support.h (support_sbindir_prefix): Declare.
563 (support_install_rootsbindir): Update comment.
564 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
565 * support/support_paths.c (support_sbindir_prefix): Define.
566
ff6bec7d
MC
5672019-05-20 Mike Crowe <mac@mcrowe.com>
568
b62bb3bc
MC
569 * support/timespec.c: Add backslash to correct newline in failure
570 message.
571
ff6bec7d
MC
572 * support/timespec.h: Correct confusing comment.
573
dfba907f
AZ
5742019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
575
236c18e5
AZ
576 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
577 define.
578 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
579 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
580 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
581 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
582
dfba907f
AZ
583 [BZ #24570]
584 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
585 usage.
586
13886008
JM
5872019-05-20 Joseph Myers <joseph@codesourcery.com>
588
589 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
590 (NT_ARM_PACG_KEYS): Likewise.
591
1f50f2ad
WD
5922019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
593
594 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
595 (tcache_put): Remove redundant assert.
596 (tcache_get): Remove redundant asserts.
597 (__libc_malloc): Check tcache count is not zero.
598 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
599
fef7c63c
FW
6002019-05-17 Florian Weimer <fweimer@redhat.com>
601
602 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
603
5f161b23
JM
6042019-05-16 Joseph Myers <joseph@codesourcery.com>
605
606 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
607 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
608 0x050100].
609 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
610 Likewise.
611 * sysdeps/unix/sysv/linux/sh/kernel-features.h
612 (__ASSUME_STATX): Likewise.
613
ec255a97
FW
6142019-05-16 Florian Weimer <fweimer@redhat.com>
615
616 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
617 flags argument.
618 (LINE_PARSER): Do not map IPv4 addresses.
619 (internal_nis_gethostent_r): Remove flags argument. Adjust call
620 to parse_line.
621 (_nss_nis_gethostent_r): Always pass AF_INET to
622 internal_nis_gethostent_r.
623 (internal_gethostbyname2_r): Remove flags argument. Adjust call
624 to parse_line.
625 (_nss_nis_gethostbyname2_r): Adjust call to
626 internal_nis_gethostent_r.
627 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
628 call to internal_nis_gethostent_r.
629 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
630 from parse_line.
631 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
632 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
633 Remove flags argument. Do not map IPv4 addresses.
634 (internal_nisplus_gethostent_r): Adjust call to
635 _nss_nisplus_parse_hostent.
636 (internal_gethostbyname2_r): Remove flags argument. Adjust call
637 to _nss_nisplus_parse_hostent.
638 (_nss_nisplus_gethostbyname2_r): Adjust call to
639 internal_gethostbyname2_r.
640 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
641 Adjust call to internal_gethostbyname2_r.
642 (_nss_nisplus_gethostbyaddr_r): Adjust call to
643 _nss_nisplus_parse_hostent.
644 (_nss_nisplus_gethostbyname4_r): Adjust call to
645 internal_gethostbyname2_r.
646
9c02d078
FW
6472019-05-16 Florian Weimer <fweimer@redhat.com>
648
649 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
650 Remove flags.
651 (LINE_PARSER): Remove address mapping.
652 (EXTRA_ARGS_VALUE): Remove flags argument.
653 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
654 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
655 gethostbyname3_multi.
656 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
657 _nss_files_gethostbyname3_r.
658 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
659
85b0e1e8
FW
6602019-05-16 Florian Weimer <fweimer@redhat.com>
661
662 * support/support_test_compare_blob.c (report_blob): Report
663 incorrect NULL blobs.
664
11b451c8
MW
6652019-05-15 Mark Wielaard <mark@klomp.org>
666
667 [BZ# 24476]
668 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
669 __libc_once_get (once) and static_buf == NULL.
670 (__dlerror): Check we have a valid key, set result to static_buf
671 otherwise.
672
32ff3975
AS
6732019-05-15 Andreas Schwab <schwab@suse.de>
674
675 [BZ #20568]
676 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
677 __codecvt_do_length.
678 * libio/Makefile (tests): Add tst-wfile-sync.
679 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
680 * libio/tst-wfile-sync.c: New file.
681 * libio/tst-wfile-sync.input: New file.
682
a9368c34
FW
6832019-05-15 Florian Weimer <fweimer@redhat.com>
684
685 nss: Turn __nss_database_lookup into a compatibility symbol.
686 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
687 __nss_database_lookup.
688 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
689 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
690 __nss_database_lookup.
691 (__nss_next): Move to …
692 * nss/compat-lookup.c (nss_next): … here. Change it to fail
693 unconditionally.
694 (__nss_database_lookup): New function.
695 * nss/Versions (GLIBC_2.0): Update comment.
696 (GLIBC_PRIVATE): Export __nss_database_lookup2.
697 * grp/initgroups.c (internal_getgrouplist): Call
698 __nss_database_lookup2 instead of __nss_database_lookup.
699 * nscd/aicache.c (addhstaiX): Likewise.
700 * nscd/initgrcache.c (addinitgroupsX): Likewise.
701 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
702 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
703 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
704 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
705 Likewise.
706 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
707 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
708 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
709
d50f0918 7102019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 711
d50f0918
AH
712 * support/support.h (support_install_rootsbindir): New variable.
713 * support/support_paths.c: Likewise.
714 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
715
7ac6fad9
FW
7162019-05-15 Florian Weimer <fweimer@redhat.com>
717
718 * iconv/gconv.h (__gconv_transliterate): Move declaration …
719 * iconv/gconv_int.h (__gconv_transliterate): … here.
720 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
721 * iconv/skeleton.c: Likewise.
722
04b261bd
FW
7232019-05-14 Florian Weimer <fweimer@redhat.com>
724
725 Linux: Add the tgkill function.
726 * bits/signal_ext.h: New file.
727 * manual/signal.texi (Signaling Another Process): Document tgkill.
728 * signal/Makefile (headers): Add bits/signal_ext.h.
729 * signal/signal.h: Include <bits/signal_ext.h>.
730 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
731 (tst-tgkill): Link with libpthread.
732 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
733 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
734 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
735 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
736 tgkill.
737 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
738 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
739 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
740 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
741 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
742 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
743 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
744 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
745 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
746 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
747 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
748 Likewise.
749 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
750 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
751 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
753 Likewise.
754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
755 Likewise.
756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
757 Likewise.
758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
759 Likewise.
760 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
761 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
762 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
763 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
764 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
765 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
766 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
767 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
768
6807f47b
CD
7692019-05-14 Carlos O'Donell <carlos@redhat.com>
770
771 * manual/search.texi (Tree Search Function): Adjust twalk_r
772 documentation.
773
fdb8a0be
AZ
7742019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
775
da2b83ef
AZ
776 [BZ #24544]
777 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
778 pre-defined value.
779
c7ac9caa
AZ
780 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
781 * support/support.h (support_bindir_prefix): New variable.
782 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
783
91f043ae
AZ
784 * config.make.in (bindir): New variable.
785
c50e1c26
AZ
786 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
787 (lll_trylock): Call __lll_trylock.
788 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
789 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
790 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
791 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
792 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
793 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
794 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
795 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
796 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
797 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
798 lowlevellock-futex.h.
799
959aff9f
AZ
800 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
801 initialization for LLL_LOCK_INITIALIZER different than 0.
802 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
803 Assume LLL_LOCK_INITIALIZER being 0.
804 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
805 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
806 Likewise.
807 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
808 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
809
d7e4c642
AZ
810 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
811 Optimize futex call and add systemtap probe.
812
fdb8a0be
AZ
813 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
814 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
815 __libc_disable_asynccancel, __librt_enable_asynccancel,
816 __libc_disable_asynccancel, __librt_enable_asynccancel,
817 __librt_disable_asynccancel): Move to ...
818 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
819 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
820 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
821 * sysdeps/generic/single-thread.h: New file.
822 * sysdeps/unix/sysdep.h: Include single-thread.h.
823 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
824 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
825
f6efec90
MF
8262019-05-08 Mike FABIAN <mfabian@redhat.com>
827
828 [BZ #24535]
829 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
830 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
831 Unicode 12.1.0.
832 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
833 * localedata/unicode-gen/PropList.txt: Likewise.
834 * localedata/unicode-gen/UnicodeData.txt: Likewise.
835 * localedata/charmaps/UTF-8: Regenerate.
836 * localedata/locales/i18n_ctype: Likewise.
837 * localedata/locales/tr_TR: Likewise.
838 * localedata/locales/translit_circle: Likewise.
839 * localedata/locales/translit_cjk_compat: Likewise.
840 * localedata/locales/translit_combining: Likewise.
841 * localedata/locales/translit_compat: Likewise.
842 * localedata/locales/translit_font: Likewise.
843 * localedata/locales/translit_fraction: Likewise.
844
5ad533e8
WD
8452019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
846
847 [BZ #24531]
848 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
849 (do_set_tcache_count): Only update if count is small enough.
850 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
851
4aee85f9
FW
8522019-05-10 Florian Weimer <fweimer@redhat.com>
853
854 * nptl/sem_close.c (struct walk_closure): Define.
855 (walker): Adjust for __twalk_r.
856 (sem_close): Call __twalk_r.
857
eb669ff5
AZ
8582019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
859
860 * support/timespec.c (test_timespec_before_impl,
861 test_timespec_equal_or_after_impl): print timespec member as intmax_t
862 insted of long int.
863
51983996
MC
8642019-05-09 Mike Crowe <mac@mcrowe.com>
865
44ac6ee9
MC
866 * nptl/tst-abstime.c: Use libsupport.
867
495514ee
MC
868 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
869 small bug where only tv.tv_usec was checked which could cause an
870 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
871 than a second.
872
873 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
874 libsupport.
875
40d0816f
MC
876 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
877 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
878
d8e0b901
MC
879 * nptl/tst-cond11.c: Use libsupport.
880
51983996
MC
881 * support/timespec.h: New file. Provide timespec helper functions
882 along with macros in the style of those in check.h.
883 * support/timespec.c: New file. Implement check functions declared
884 in support/timespec.h.
885 * support/timespec-add.c: New file from gnulib containing
886 timespec_add implementation that handles overflow.
887 * support/timespec-sub.c: New file from gnulib containing
888 timespec_sub implementation that handles overflow.
889 * support/README: Mention timespec.h.
890
18aa51ee
SN
8912019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
892
893 [BZ #24537]
894 * nptl/Makefile: Move tst-eintr1 to xtests.
895
252296c6
AZ
8962019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
897
ae45cf84
AZ
898 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
899 TRUNC handling.
900 (round_mode): Add definition for TRUNC.
901 * sysdeps/powerpc/fpu/s_trunc.c: New file.
902 * sysdeps/powerpc/fpu/s_truncf.c: New file.
903 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
904 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
905 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
906 Likewise.
907 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
908 Likewise.
909 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
910 Likewise.
911 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
912 Likewise.
913 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
914 file.
915 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
916 Likewise.
917 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
918 Likewise.
919 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
920 Likewise.
921 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
922 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
923 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
924 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
925 s_truncf-power5+, and s_truncf-ppc64.
926 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
927 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
928 file.
929 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
931 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
932 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
933 file.
934 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
935 Likewise.
936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
937 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
938 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
939 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
940 s_truncf-power5+, and s_truncf-ppc64.
941 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
942 file.
943 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
944 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
945 Likewise.
946 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
947 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
948 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
949 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
950 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
951
a1cb1888
AZ
952 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
953 ROUND handling.
954 (round_mode): Add definition for ROUND.
955 (round_to_integer_float): Likewise.
956 * sysdeps/powerpc/fpu/s_round.c: New file.
957 * sysdeps/powerpc/fpu/s_roundf.c: New file.
958 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
959 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
960 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
961 Likewise.
962 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
963 Likewise.
964 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
965 Likewise.
966 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
967 Likewise.
968 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
969 file.
970 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
971 Likewise.
972 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
973 Likewise.
974 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
975 Likewise.
976 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
977 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
978 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
979 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
980 s_roundf-power5+, and s_roundf-ppc64.
981 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
982 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
983 file.
984 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
986 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
987 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
988 file.
989 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
990 Likewise.
991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
992 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
993 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
994 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
995 s_roundf-power5+, and s_roundf-ppc64.
996 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
997 file.
998 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
999 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
1000 Likewise.
1001 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
1002 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1003 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1004 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1005 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1006
252296c6
AZ
1007 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1008 Add FLOOR option.
1009 (round_mode): Add definition for FLOOR.
1010 * sysdeps/powerpc/fpu/s_floor.c: New file.
1011 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1012 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1013 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1015 Remove file.
1016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1017 Likewise
1018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1019 Likewise.
1020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1021 Likewise.
1022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1023 New file.
1024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1025 Likewise.
1026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1027 Likewise.
1028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1029 Likewise.
1030 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1031 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1032 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1033 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1034 s_floorf-power5+, and s_floorf-ppc64.
1035 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1036 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1037 file.
1038 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1040 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1041 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1042 file.
1043 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1044 Likewise.
1045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1046 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1048 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1049 s_floorf-power5+, and s_floorf-ppc64.
1050 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1051 file.
1052 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1053 file.
1054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1055 Likewise.
1056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1057 Likewise.
1058 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1059 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1060 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1061 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1062
33647a72
MC
10632019-05-08 Mike Crowe <mac@mcrowe.com>
1064
1065 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1066 clock_gettime wrapper for use in tests that fails the test rather
1067 than returning failure.
1068
1069 * support/xtime.h: New file to declare xclock_gettime.
1070
1071 * support/Makefile: Add xclock_gettime.c.
1072
1073 * support/README: Mention xtime.h.
1074
b2f601ba
FW
10752019-05-08 Florian Weimer <fweimer@redhat.com>
1076
1077 malloc/tst-mallocfork2: Use process-shared barriers.
1078 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1079 (signal_count, sigusr1_sender_pid): Remove.
1080 (iterations): Define constant.
1081 (shared): New variable.
1082 (sigusr1_received): Update comment.
1083 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1084 (signal_sender): Optional use barriers to avoid sending signals
1085 during irrelevant times.
1086 (do_it): Initialize variable shared. Use xfork for error
1087 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1088 the iteration count, independent of signal delivery. Check for
1089 deadlocks in fork. Introduce barriers for reducing signal
1090 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1091 replaced by the barriers. Count signals during fork/free/malloc
1092 and report them.
1093 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1094
c4a392cf
JM
10952019-05-07 Joseph Myers <joseph@codesourcery.com>
1096
7621676f
JM
1097 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1098 version to 5.1.
1099 (clock_adjtime64) New syscall.
1100 (clock_getres_time64) Likewise.
1101 (clock_gettime64) Likewise.
1102 (clock_nanosleep_time64) Likewise.
1103 (clock_settime64) Likewise.
1104 (futex_time64) Likewise.
1105 (io_pgetevents_time64) Likewise.
1106 (io_uring_enter) Likewise.
1107 (io_uring_register) Likewise.
1108 (io_uring_setup) Likewise.
1109 (mq_timedreceive_time64) Likewise.
1110 (mq_timedsend_time64) Likewise.
1111 (pidfd_send_signal) Likewise.
1112 (ppoll_time64) Likewise.
1113 (pselect6_time64) Likewise.
1114 (recvmmsg_time64) Likewise.
1115 (rt_sigtimedwait_time64) Likewise.
1116 (sched_rr_get_interval_time64) Likewise.
1117 (semtimedop_time64) Likewise.
1118 (timer_gettime64) Likewise.
1119 (timer_settime64) Likewise.
1120 (timerfd_gettime64) Likewise.
1121 (timerfd_settime64) Likewise.
1122 (utimensat_time64) Likewise.
1123
c4a392cf
JM
1124 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1125 version to 9 branch.
1126
32e902a9
AY
11272019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1128
1129 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1130 __memmove_thunderx2 to the list of implementations
1131 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1132 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1133 (__memmove_thunderx2): Rewritten using SIMD ld/st
1134 (__memcpy_thunderx2): Fixed handling overlapping cases.
1135 Used ldp/stp instead of ldr/str if possible. Made loops
1136 tails branchless.
1137
ac3da35d
FW
11382019-05-03 Florian Weimer <fweimer@redhat.com>
1139
1140 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1141
b2af6fb2
AZ
11422019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1143
7dfde28a 1144 [BZ #24506]
b2af6fb2
AZ
1145 * elf/tst-pldd.c (in_str_list): New function.
1146 (do_test): Add default names for ld and libc as one option.
1147
7b807a35
FW
11482019-05-02 Florian Weimer <fweimer@redhat.com>
1149
1150 misc: Add twalk_r function.
1151 * include/search.h (__twalk_r): Declare.
1152 * manual/examples/twalk.c: New file.
1153 * manual/search.texi (Tree Search Function): Document twalk_r.
1154 * misc/Versions (2.30): Export twalk_r.
1155 (GLIBC_PRIVATE): Export __twalk_r.
1156 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1157 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1158 (twalk_r): Add weak alias.
1159 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1160 (walk_trace): New variable.
1161 (struct twalk_with_twalk_r_closure): Define.
1162 (twalk_with_twalk_r_action): New function.
1163 (twalk_with_twalk_r): Likewise.
1164 (walk_action): Call walk_trace_add.
1165 (walk_tree_with): Rename from walk_tree. Add walk argument.
1166 (walk_tree): New function.
1167 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1169 Likewise.
1170 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1171 Likewise.
1172 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1173 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1174 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1175 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1176 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1177 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1178 Likewise.
1179 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1180 Likewise.
1181 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1182 Likewise.
1183 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1184 (GLIBC_2.30): Likewise.
1185 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1186 (GLIBC_2.30): Likewise.
1187 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1188 (GLIBC_2.30): Likewise.
1189 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1190 (GLIBC_2.30): Likewise.
1191 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1192 Likewise.
1193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1194 (GLIBC_2.30): Likewise.
1195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1196 (GLIBC_2.30): Likewise.
1197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1198 (GLIBC_2.30): Likewise.
1199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1200 (GLIBC_2.30): Likewise.
1201 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1202 Likewise.
1203 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1204 Likewise.
1205 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1206 Likewise.
1207 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1208 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1209 Likewise.
1210 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1211 Likewise.
1212 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1213 Likewise.
1214 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1215 Likewise.
1216
20aa5819
PE
12172019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1218
1219 Make mktime etc. compatible with __time64_t
1220 Keep these functions compatible with Gnulib while adding
1221 __time64_t support. The basic idea is to move private API
1222 declarations from include/time.h to time/mktime-internal.h, since
1223 the former file cannot easily be shared with Gnulib whereas the
1224 latter can.
1225 Also, do some other minor cleanup while in the neighborhood.
1226 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1227 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1228 since Gnulib needs it.
1229 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1230 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1231 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1232 (in_time_t_range): New static function.
1233 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1234 so that glibc users are not tempted to use __time64_t.
1235 * time/mktime-internal.h: Rewrite so that it does both glibc
1236 and Gnulib work. Include time.h if not _LIBC.
1237 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1238 (__time64_t): New type or macro, moved here from
1239 posix/bits/types.h.
1240 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1241 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1242 from include/time.h.
1243 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1244 New macros, taken from GNulib.
1245 (__mktime_internal): New prototype, moved here from include/time.h.
1246 * time/mktime.c (mktime_min, mktime_max, convert_time)
1247 (ranged_convert, __mktime_internal, __mktime64):
1248 * time/timegm.c (__timegm64):
1249 Use __time64_t, not time_t.
1250 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1251 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1252 Rename from mktime.
1253 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1254 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1255 for libc_hidden_def.
1256 Include errno.h.
1257 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1258 Rename from timegm.
1259 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1260
87c266d7
MR
12612019-04-30 Maciej W. Rozycki <macro@wdc.com>
1262
1263 [BZ #19444]
1264 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1265 from `-Wmaybe-uninitialized'.
1266 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1267
c4c0848b
AZ
12682019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1269
6cac323c
AZ
1270 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1271 function.
1272 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1273 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1274 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1275 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1276 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1278 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1280 Remove file.
1281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1282 Likewise.
1283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1284 Likewise.
1285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1286 Likewise.
1287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1288 New file.
1289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1290 Likewise.
1291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1292 Likewise.
1293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1294 Likewise.
1295 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1296 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1297 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1298 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1299 Likewise.
1300 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1301 Likewise.
1302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1303 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1305 file.
1306 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1307 Likewise.
1308 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1309 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1310 * here.
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1312 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1313 s_ceilf-power5+, and s_ceilf-ppc64.
1314 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1315 file.
1316 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1319 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1320 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1321 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1322 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1323
c4c0848b
AZ
1324 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1325 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1326 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1327
f492fc99
YD
13282019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1329
1330 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1331 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1332 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1333 (sem_getvalue): Likewise.
1334
c57afec0
FW
13352019-04-26 Florian Weimer <fweimer@redhat.com>
1336
1337 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1338 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1339
a8ff215e
FW
13402019-04-26 Florian Weimer <fweimer@redhat.com>
1341
1342 Makeconfig: Move -Wl,-rpath-link options before library references.
1343 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1344 (link-libc): Remove $(link-libc-rpath-link).
1345
13462019-04-25 Florian Weimer <fweimer@redhat.com>
1347
1348 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1349 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1350 (+link-static-before-libc): Remove $(CC).
1351 (+link-static, +link-static-tests): Add $(CC).
1352 (+link-before-libc): Remove $(CC).
1353 (+link, +link-pie, +link-pie-printers): Add $(CC).
1354
e30fb31c
FW
13552019-04-26 Florian Weimer <fweimer@redhat.com>
1356
1357 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1358 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1359 (+link-static-before-libc): Remove $(CC).
1360 (+link-static, +link-static-tests): Add $(CC).
1361 (+link-before-libc): Remove $(CC).
1362 (+link, +link-pie, +link-pie-printers): Add $(CC).
1363
deacca00
DA
13642019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1365
1366 [BZ#24484]
1367 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1368
b5ffdc48
FW
13692019-04-25 Florian Weimer <fweimer@redhat.com>
1370
1371 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1372 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1373 (bench-link-targets): New variable.
1374 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1375
94a4e9e4
FW
13762019-04-25 Florian Weimer <fweimer@redhat.com>
1377
1378 Also enable BIND_NOW for programs if --enable-bind-now.
1379 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1380 (+link-pie): Use $(link-extra-flags).
1381 (+link-static): Likewise.
1382 [! $(build-pie-default)] (+link): Likewise.
1383 * manual/install.texi (Configuring and compiling): Update
1384 --enable-bind-now description.
1385 * INSTALL: Regenerated.
1386
fe92a91f
WD
13872019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1388
1389 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1390 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1391
f9b645b4
MF
13922019-04-24 Mike Frysinger <vapier@gentoo.org>
1393
1394 [BZ #18465]
1395 * malloc/Makefile (others): Add memusagestat.
1396 ($(objpfx)memusagestat): Delete rule.
1397 (LDLIBS-memusagestat): New variable.
1398
439bf534
FW
13992019-04-24 Florian Weimer <fweimer@redhat.com>
1400
1401 * locale/Makefile (tests-special): Guard setting by
1402 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1403 to run while cross-compiling.
1404
1a4c2735
AZ
14052019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1406
1407 [BZ #18035]
1408 * elf/Makefile (tests-container): Add tst-pldd.
1409 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1410 (E(find_maps)): Avoid use alloca, use default read file operations
1411 instead of explicit LFS names, and fix infinite loop.
1412 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1413 (get_process_info): Use _Static_assert instead of assert, use default
1414 directory operations instead of explicit LFS names, and free some
1415 leadek pointers.
1416 * elf/tst-pldd.c: New file.
1417
2d398aa2
L
14182019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1419
1420 * malloc/arena.c (do_set_mallopt_check): Removed.
1421
e485b2b6
FW
14222019-04-23 Florian Weimer <fweimer@redhat.com>
1423
1424 locale: Add LOCPATH diagnostics to the locale program.
1425 * locale/programs/locale.c (setlocale_failed): New variable.
1426 (try_setlocale): New function.
1427 (quote_string): Likewise.
1428 (setlocale_diagnostics): Likewise.
1429 (main): Call try_setlocale instead of setlocale. Call
1430 setlocale_diagnostics.
1431 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1432 (tst-locale-locpath.out): New target.
1433 * locale/tst-locale-locpath.sh: New file.
1434
25f7a3c9
AZ
14352019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1436
1437 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1438 to 2.30 notes.
1439
9bf8e29c
AZ
14402019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1441
1442 [BZ #23741]
1443 * malloc/hooks.c (malloc_check, realloc_check): Use
1444 __builtin_add_overflow on overflow check and adapt to
1445 checked_request2size change.
1446 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1447 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1448 allocation size to PTRDIFF_MAX.
1449 (REQUEST_OUT_OF_RANGE): Remove macro.
1450 (checked_request2size): Change to inline function and limit maximum
1451 requested size to PTRDIFF_MAX.
1452 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1453 maximum allocation size to PTRDIFF_MAX.
1454 (_mid_memalign): Use _int_memalign call for overflow check.
1455 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1456 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1457 limit maximum requested size to PTRDIFF_MAX.
1458 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1459 valloc, pvalloc): Add __attribute_alloc_size__.
1460 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1461 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1462 larger than PTRDIFF_MAX.
1463 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1464 around tests of malloc with negative sizes.
1465 * malloc/tst-posix_memalign.c (do_test): Likewise.
1466 * malloc/tst-pvalloc.c (do_test): Likewise.
1467 * malloc/tst-valloc.c (do_test): Likewise.
1468 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1469 with resulting size allocation larger than PTRDIFF_MAX with
1470 reallocarray_nowarn.
1471 (reallocarray_nowarn): New function.
1472 * NEWS: Mention the malloc function semantic change.
1473
0e169691
AZ
14742019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1475
52faba65
AZ
1476 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1477 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1478
3a16dd78
AZ
1479 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1480 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1481 * sysdeps/powerpc/fpu/s_fma.c: New file.
1482 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1483
1dac8bd6
AZ
1484 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1485 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1486
a3ae315a
AZ
1487 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1488 the magic flag store.
1489 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1490 Likewise.
1491 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1492 Likewise.
1493 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1494 Remove rt_sigreturn call.
1495
ffe8a9a8
AZ
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1497 Remove rt_sigreturn call.
1498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1499 Likewise.
1500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1502
0e169691
AZ
1503 * support/Makefile (libsupport-routines): Add support_subprocess,
1504 xposix_spawn, xposix_spawn_file_actions_addclose, and
1505 xposix_spawn_file_actions_adddup2.
1506 (tst-support_capture_subprocess-ARGS): New rule.
1507 * support/capture_subprocess.h (support_capture_subprogram): New
1508 prototype.
1509 * support/support_capture_subprocess.c (support_capture_subprocess):
1510 Refactor to use support_subprocess and support_capture_poll.
1511 (support_capture_subprogram): New function.
1512 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1513 str_to_write_mode, test_common, parse_int, handle_restart,
1514 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1515 (do_test): Add support_capture_subprogram tests.
1516 * support/subprocess.h: New file.
1517 * support/support_subprocess.c: Likewise.
1518 * support/xposix_spawn.c: Likewise.
1519 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1520 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1521 * support/xspawn.h: Likewise.
1522
bae8cf0e
MG
15232019-04-17 Mike Gerow <gerow@google.com>
1524
1525 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1526 groups limit.
1527
e3f454ba
FW
15282019-04-11 Florian Weimer <fweimer@redhat.com>
1529
1530 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1531 domain with empty string.
1532 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1533
32d85c11
FW
15342019-04-11 Florian Weimer <fweimer@redhat.com>
1535
1536 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1537 comment.
1538 (alloc_buffer_next): Change return type to non-const. Update
1539 comment.
1540
221710af
FW
15412019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1542
1543 * manual/time.texi (Formatting Calendar Time): Add missing percent
1544 sign to conversion specifier.
1545
e621246e
CD
15462019-04-09 Carlos O'Donell <carlos@redhat.com>
1547 Kwok Cheung Yeung <kcy@codesourcery.com>
1548
1549 [BZ #16573]
1550 * malloc/mtrace.c: Define prototypes for all hooks.
1551 (set_default_hooks): New function.
1552 (set_trace_hooks): Likewise.
1553 (save_default_hooks): Likewise.
1554 (tr_freehook): Use new s*_hooks functions.
1555 (tr_mallochook): Likewise.
1556 (tr_reallochook): Likewise.
1557 (tr_memalignhook): Likewise.
1558 (mtrace): Likewise.
1559 (muntrace): Likewise.
1560
648279f4
WD
15612019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1562
1563 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1564 (generic_stpcpy): New function.
1565 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1566 (generic_stpncpy): New function.
1567 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1568 (generic_strcat): New function.
1569 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1570 (generic_strcpy): New function.
1571 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1572 (STUPID_STRNCAT): Remove function.
1573 (generic_strncat): New function.
1574 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1575 (STUPID_STRNCPY): Remove function.
1576 (generic_strncpy): New function.
1577 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1578 (generic_strnlen): New function.
1579 (memchr_strnlen): New function.
1580 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1581 (memchr_strlen): Likewise.
1582
93eebae5
WD
15832019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1584
1585 * benchtests/bench-strstr.c (input): Add realistic input text.
1586 (stupid_strstr): Remove function.
1587 (basic_strstr): Add function.
1588 (twoway_strstr): Add function.
1589 (do_one_test): Add result checking.
1590 (do_test): Use new input text. Remove accidental early matches.
1591 (test_main): Improve range of tests, reduce unaligned cases.
1592
a173d09f
WD
15932019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1594
1595 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1596 (basic_memmem): Add function.
1597 (twoway_memmem): Add function.
1598
6103c0a8
WD
15992019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1600
1601 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1602 * benchtests/bench-malloc-thread.c: Likewise.
1603 * benchtests/bench-skeleton.c: Likewise.
1604 * benchtests/bench-strtod.c: Likewise.
1605 * benchtests/bench-timing.h: Likewise.
1606
33322186
FW
16072019-04-08 Florian Weimer <fweimer@redhat.com>
1608
1609 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1610 definitions.
1611 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1612 RES_INSECURE2 security checks.
1613 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1614 RES_INSECURE2 handling.
1615
3f8b44be
FW
16162019-04-08 Florian Weimer <fweimer@redhat.com>
1617
1618 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1619 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1620 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1621 GETHOSTBYNAME.
1622 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1623 (tests-internal): Update justification for tst-resolv-res_init,
1624 tst-resolv-res_init-thread.
1625 (tst-res_use_inet6): Remove target.
1626 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1627 * resolv/res_debug.c (p_option): Remove "inet6" support.
1628 * resolv/res_init.c (res_setoptions): Likewise.
1629 * resolv/res_use_inet6.h: Remove file.
1630 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1631 definition.
1632 (res_use_inet6): Always return false.
1633 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1634 * resolv/resolv_context.h: Adjust file comment.
1635 (struct resolv_context): Update comment on __next field.
1636 (__resolv_context_put): Update comment.
1637 * resolv/tst-res_use_inet6.c: Remove file.
1638 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1639 "inet6" support.
1640 (test_cases): Adjust test case.
1641 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1642 (thread_byname2_af_inet6): Use old byname_inet6 code.
1643 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1644 (gai): Remove do_inet6 argument.
1645 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1646 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1647 (thread_gai_unspec_inet6): Remove functions.
1648 (do_test): Adjust thread_funcs.
1649 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1650 RES_USE_INET6 flag.
1651 (gaih_inet): Do not disable RES_USE_INET6 flag.
1652
6b5c8607 16532019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1654
1655 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1656 and remove redundant code.
1657
e3fd0b0e
AZ
16582019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1659
f82ed45d
AZ
1660 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1661 New rule.
1662 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1664 Likewise.
1665 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1666 Likewise.
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1668 Likewise.
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1670 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1671 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1672 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1673 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1674 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1676 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1677 wcsrchr-power7.
1678 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1679 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1681 Remove wcsrchr optimizations.
1682 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1683
662c2cc4
AZ
1684 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1685 the loop unroll.
1686
421e3005
AZ
1687 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1688 New rule.
1689 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1691 Likewise.
1692 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1693 Likewise.
1694 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1695 Likewise.
1696 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1697 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1698 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1699 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1700 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1701 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1703 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1704 wcschr-power7.
1705 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1708 Remove wcschr optimizations.
1709 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1710
7ba0100c
AZ
1711 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1712 the loop unroll.
1713
447a1306
AZ
1714 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1715 New rule.
1716 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1717 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1718 Likewise.
1719 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1720 Likewise.
1721 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1722 Likewise.
1723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1724 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1725 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1726 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1727 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1728 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1730 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1731 wcscpy-power7.
1732 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1733 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1734 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1735 Remove wcscpy optimizations.
1736 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1737
e3fd0b0e
AZ
1738 * include/loop_unroll.h: New file.
1739 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1740 besides generic implementation.
1741
8260f236
DD
17422019-04-03 DJ Delorie <dj@redhat.com>
1743
1744 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1745 snprintf truncating output.
1746
0bd545ee
DD
17472019-04-02 DJ Delorie <dj@redhat.com>
1748
1749 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1750 warning.
1751
466afec3
TS
17522019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1753
1754 [BZ #22964]
1755 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1756 era.
1757 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1758 (mkreftable): Add rules for the new Japanese era and the new dates.
1759
2f1d6155
TS
17602019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1761 Rafal Luzynski <digitalfreak@lingonborough.com>
1762
1763 * time/tst-strftime2.c (date_t): Explicitly define the type.
1764 (dates): Use natural month and year numbers to express a date.
1765 (is_before): New function to compare dates.
1766 (mkreftable): Minor improvements to simplify maintenance.
1767 (do_test): Reflect the changes in dates array.
1768
84aea169
TS
1769 [BZ #24293]
1770 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1771 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1772 * time/tst-strftime2.c (locales): Likewise.
1773 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1774 2010-04-01, and 2011-04-01.
1775 (mkreftable): Add rules for the new locales and the new dates.
1776
62449176
CD
17772019-04-01 Carlos O'Donell <carlos@redhat.com>
1778
1779 * localedata/locales/ja_JP: Add comments to era entries.
1780
e0e4c321
DD
17812019-04-01 DJ Delorie <dj@redhat.com>
1782
1783 [BZ #24394]
1784 * time/strptime_l.c (%Ey): Fix fencepost error.
1785 * time/tst-strftime3.c: New.
1786 * time/Makefile (tests): Add tst-strftime3.
1787
6b5c8607 17882019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1789
1790 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1791 conditional branch to DIVBYZERO. Fix unwind info.
1792 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1793 excb after conditional branch to $powerof2. Add missing unop
1794 instructions and .align directives and reorder instructions to
1795 match __divqu.
1796
d5ecee82
RH
17972019-04-01 Richard Henderson <rth@twiddle.net>
1798
1799 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1800 Do not redefine.
1801 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1802 Do not redefine.
1803
656dd306
MR
18042019-03-30 Maciej W. Rozycki <macro@wdc.com>
1805
1806 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1807 $libc_cv_riscv_float_abi in `test' invocation.
1808 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1809
10cce669
PC
18102019-03-29 Paul A. Clarke <pc@us.ibm.com>
1811
1812 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1813 asm with builtin.
1814 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1815 Likewise.
1816 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1817 (_GET_SI_FPSCR): Likewise.
1818 (_SET_SI_FPSCR): Likewise.
1819
5e67e4bf 18202019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1821
1822 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1823 clang 2.8.
1824 (signbit): Use builtin for clang 3.3.
1825 (isinf): Use builtin for clang 3.7.
1826
01963891
AZ
18272019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1828
1829 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1830
67112f7a
AH
18312019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1832
1833 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1834 quote in printf.
1835
7a773abf
MC
18362019-03-25 Mike Crowe <mac@mcrowe.com>
1837
82849fde
MC
1838 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1839 pthread_rwlock_timedrdlock with calls to
1840 pthread_rwlock_timedwrlock to ensure that the latter is tested
1841 too. Use new function name in diagnostic messages too.
1842
7a773abf
MC
1843 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1844 (do_test) Use libsupport test macros rather than hand-coded
1845 conditionals and error messages. Ensure that sem_init returns zero
1846 rather than not -1. Use <support/test-driver.c> rather than
1847 test-skeleton.c.
1848
1849 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1850 test macros rather than hand-coded conditionals and error messages.
1851 Use <support/test-driver.c> rather than test-skeleton.c.
1852
9ac2de69
JM
18532019-03-25 Joseph Myers <joseph@codesourcery.com>
1854
d7563e62
JM
1855 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1856
9ac2de69
JM
1857 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1858 (NT_MIPS_MSA): Likewise.
1859
38cc11da
AZ
18602019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1861
7621e38b
WD
1862 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1863 * benchtests/README: Update description.
1864 * benchtests/bench-timing.h: Default to hp-timing.
1865 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1866 HP_TIMING_PRINT): Remove.
1867 (HP_TIMING_NOW): Add generic implementation.
1868 (hp_timing_t): Change to uint64_t.
1869
1e372ded
AZ
1870 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1871 HP_TIMING_INLINE.
1872 * nptl/descr.h: Likewise.
1873 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1874 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1875 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1876 Abstract hp-timing usage with RTLD_* macros.
1877 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1878 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1879 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1880 HP_TIMING_NONAVAIL): Likewise.
1881 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1882 Likewise.
1883 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1884 HP_SMALL_TIMING_AVAIL): Likewise.
1885 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1886 HP_SMALL_TIMING_AVAIL): Likewise.
1887 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1888 HP_SMALL_TIMING_AVAIL): Likewise.
1889 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1890 HP_SMALL_TIMING_AVAIL): Likewise.
1891 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1892 Likewise.
1893 * sysdeps/generic/hp-timing-common.h: Update comment with
1894 HP_TIMING_AVAIL removal.
1895
359653aa
AZ
1896 * include/random-bits.h: New file.
1897 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1898 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1899 random_bits.
1900 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1901 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1902 Likewise.
1903
6e8ba7fd
AZ
1904 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1905 * rt/Makefile (clock-routines): Remove get_clockfreq.
1906 * rt/get_clockfreq.c: Remove file.
1907 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1908 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1909 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1910 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1911 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1912
77b6f553
AZ
1913 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1914 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1915 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1916 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1917 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1918
38cc11da
AZ
1919 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1920 pthread_clock_settime.
1921 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1922 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1923 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1924 * elf/rtld.c (_dl_start_final): Likewise.
1925 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1926 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1927 Remove.
1928 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1929 (_dl_cpuclock_offset): Remove.
1930 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1931 cpuclock_offset_ununsed.
1932 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1933 cpuclock_offset set.
1934 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1935 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1936 * nptl/pthread_clock_gettime.c: Remove file.
1937 * nptl/pthread_clock_settime.c: Likewise.
1938 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1939 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1940 and CLOCK_PROCESS_CPUTIME_ID support.
1941 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1942 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1943 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1944 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1945 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1946 Likewise.
1947 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1948
421749d6
SL
19492019-03-22 Stefan Liebler <stli@linux.ibm.com>
1950
1951 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1952 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1953 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1954 New defines.
1955 * sysdeps/s390/memmem-arch13.S: New file.
1956 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1957 if it is only used as fallback.
1958 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1959 * sysdeps/s390/multiarch/ifunc-impl-list.c
1960 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1961
6f47401b
SL
19622019-03-22 Stefan Liebler <stli@linux.ibm.com>
1963
1964 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1965 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1966 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1967 New defines.
1968 * sysdeps/s390/multiarch/ifunc-impl-list.c
1969 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1970 * sysdeps/s390/strstr-arch13.S: New file.
1971 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1972 if it is only used as fallback.
1973 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1974
96fbb9a3
SL
19752019-03-22 Stefan Liebler <stli@linux.ibm.com>
1976
1977 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1978 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1979 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1980 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1981 ifunc selector.
1982 * sysdeps/s390/multiarch/ifunc-impl-list.c
1983 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1984 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1985 S390_IS_ARCH13_MIE3): New defines.
1986
a899a551
SL
19872019-03-22 Stefan Liebler <stli@linux.ibm.com>
1988
1989 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1990 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1991 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1992 * sysdeps/s390/configure: Regenerated.
1993
1a7df49c
SL
19942019-03-22 Stefan Liebler <stli@linux.ibm.com>
1995
1996 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1997 Add vxe2, vxp, dflt, sort flags.
1998 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1999 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
2000 capabilities.
2001 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
2002 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
2003 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
2004 HWCAP_S390_DFLT): Define.
2005
5e67e4bf 20062019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
2007
2008 [BZ #24372]
2009 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2010 of compiler warning.
2011 * locale/programs/ld-collate.c (collate_output): Likewise.
2012
ac64195c
DD
20132019-03-21 DJ Delorie <dj@redhat.com>
2014
2015 [BZ #24372]
2016 * iconv/iconvconfig.c (write_output): Replace floating point math
2017 with integer math to avoid imprecise results.
2018 * locale/programs/ld-collate.c (collate_output): Likewise.
2019
61f5e947
SL
20202019-03-21 Stefan Liebler <stli@linux.ibm.com>
2021
2022 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2023 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2024
57ada43c 20252019-03-20 mansayk <6688000@gmail.com>
2026
2027 [BZ #24296]
2028 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2029 (abday): Likewise, but remove the trailing dots.
2030
a2e57f89
JM
20312019-03-19 Joseph Myers <joseph@codesourcery.com>
2032
2033 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2034 macro.
2035 (HWCAP_PACA): Likewise.
2036 (HWCAP_PACG): Likewise.
2037 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2038 Increase to 32.
2039 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2040
e87d8ada
ST
20412019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2042
2043 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2044 should be handled.
2045
477e739b
JM
20462019-03-15 Joseph Myers <joseph@codesourcery.com>
2047
2048 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2049 version to 5.0.
2050 (old_getpagesize): New syscall.
2051
238d60a1
FY
20522019-03-15 Felix Yan <felixonmars@archlinux.org>
2053
2054 [BZ #24293]
2055 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2056 * localedata/locales/cmn_TW (era): Likewise.
2057 * localedata/locales/hak_TW (era): Likewise.
2058 * localedata/locales/lzh_TW (era): Likewise.
2059 * localedata/locales/nan_TW (era): Likewise.
2060
5dde9ef7
DD
20612019-03-14 Adam Maris <amaris@redhat.com>
2062
2063 * malloc/malloc.c (_int_malloc): Check for large bin list
2064 corruption when inserting unsorted chunk.
2065
a0a0dc83
FW
20662019-03-14 Florian Weimer <fweimer@redhat.com>
2067
2068 Remove obsolete, never-implemented XSI STREAMS declarations.
2069 * manual/terminal.texi (Allocation): Remove portability note and
2070 adjust example.
2071 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2072 _SC_STREAMS.
2073 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2074 * sysdeps/unix/inet/Subdirs (streams): Remove.
2075 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2076 (conformtest-headers-UNIX98): Likewise.
2077 (conformtest-headers-XOPEN2K): Likewise.
2078 (conformtest-headers-POSIX2008): Likewise.
2079 * posix/compat-streams.c: New file.
2080 * posix/Makefile (routines): Add it.
2081 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2082 getpmsg, isastream, putmsg, putpmsg.
2083 (GLIBC_2.30): New section.
2084 * bits/stropts.h: Remove file.
2085 * bits/xtitypes.h: Likewise.
2086 * conform/data/stropts.h-data: Likewise.
2087 * include/stropts.h: Likewise.
2088 * include/sys/stropts.h: Likewise.
2089 * include/xtitypes.h: Likewise.
2090 * streams/Makefile: Likewise.
2091 * streams/fattach.c: Likewise.
2092 * streams/fdetach.c: Likewise.
2093 * streams/getmsg.c: Likewise.
2094 * streams/getpmsg.c: Likewise.
2095 * streams/isastream.c: Likewise.
2096 * streams/putmsg.c: Likewise.
2097 * streams/putpmsg.c: Likewise.
2098 * streams/stropts.h: Likewise.
2099 * streams/sys/stropts.h: Likewise.
2100 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2101 * sysdeps/s390/bits/xtitypes.h: Likewise.
2102 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2103 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2104 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2105 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2106 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2107 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2108 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2109 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2110 * sysdeps/x86/bits/xtitypes.h: Likewise.
2111
081bdf94
FW
21122019-03-14 Florian Weimer <fweimer@redhat.com>
2113
2114 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2115 libnss_files.
2116 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2117 but not with libnss_files.
2118 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2119
97f8225d
ZW
21202019-03-14 Zack Weinberg <zackw@panix.com>
2121
2122 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2123 Specify encoding="utf-8" when opening headers to check.
2124
0c1041ee
JM
21252019-03-13 Joseph Myers <joseph@codesourcery.com>
2126
2127 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2128 version to 5.0.
2129 (Context.checkout_tar): Handle variable major version for Linux
2130 kernel.
2131
043440e7
FW
21322019-03-13 Florian Weimer <fweimer@redhat.com>
2133
2134 [BZ #24047]
2135 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2136
29218b26
ZW
21372019-03-13 Zack Weinberg <zackw@panix.com>
2138
2139 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2140 Move to stdlib.
2141 * include/inttypes.h: Adjust to match.
2142 * include/stdint.h: New wrapper.
2143
711a322a
ZW
21442019-03-13 Zack Weinberg <zackw@panix.com>
2145
2146 * scripts/check-obsolete-constructs.py: New test script.
2147 * scripts/check-installed-headers.sh: Remove tests for
2148 obsolete typedefs, superseded by check-obsolete-constructs.py.
2149 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2150 as a special test. Update commentary.
2151 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2152 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2153 Update commentary.
2154 * posix/sys/types.h (__u_intN_t): Remove.
2155 (u_int8_t): Typedef using __uint8_t.
2156 (u_int16_t): Typedef using __uint16_t.
2157 (u_int32_t): Typedef using __uint32_t.
2158 (u_int64_t): Typedef using __uint64_t.
2159
7c651308
SL
21602019-03-13 Stefan Liebler <stli@linux.ibm.com>
2161
2162 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2163 call _dl_procinfo.
2164 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2165 Ignore types other than AT_HWCAP.
2166 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2167 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2168 Likewise.
2169 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2170 in the case of falling back to generic output mechanism.
2171 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2172 Likewise.
2173
38b52865
FW
21742019-03-12 Florian Weimer <fweimer@redhat.com>
2175
2176 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2177
08504de7
FW
21782019-03-12 Florian Weimer <fweimer@redhat.com>
2179
2180 [BZ #24047]
2181 resolv: Enable full ICMP errors for UDP DNS sockets
2182 * resolv/res_enable_icmp.c: New file.
2183 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2184 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2185 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2186 socket.
2187
5fbcd763
MH
21882019-03-11 Mao Han <han_mao@c-sky.com>
2189
2190 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2191 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2192
c4e5f34b
MH
21932019-03-11 Mao Han <han_mao@c-sky.com>
2194
2195 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2196 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2197 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2198
827e30f3
MH
21992019-03-11 Mao Han <han_mao@c-sky.com>
2200
2201 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2202 directly.
2203 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2204 definition.
2205
6229c9bf
MH
22062019-03-11 Mao Han <han_mao@c-sky.com>
2207
2208 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2209 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2210 in mcontext_t
2211
86bdd49d
MF
22122019-03-08 Mike FABIAN <mfabian@redhat.com>
2213
2214 [BZ #24307]
2215 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2216 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2217 Unicode 12.0.0.
2218 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2219 * localedata/unicode-gen/PropList.txt: Likewise.
2220 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2221 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2222 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2223 * localedata/charmaps/UTF-8: Regenerate.
2224 * localedata/locales/i18n_ctype: Likewise.
2225 * localedata/locales/tr_TR: Likewise.
2226 * localedata/locales/translit_circle: Likewise.
2227 * localedata/locales/translit_cjk_compat: Likewise.
2228 * localedata/locales/translit_combining: Likewise.
2229 * localedata/locales/translit_compat: Likewise.
2230 * localedata/locales/translit_font: Likewise.
2231 * localedata/locales/translit_fraction: Likewise.
2232
c5f65462
JM
22332019-03-07 Joseph Myers <joseph@codesourcery.com>
2234
2235 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2236 than after operators.
2237 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2238 (setitimer_locked): Likewise.
2239 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2240 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2241 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2242 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2243 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2244 (PPC_CPU_SUPPORTED): Likewise.
2245 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2246 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2247 (stat_overflow): Likewise.
2248 (statfs_overflow): Likewise.
2249 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2250 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2251 (eq_ttyname_r): Likewise.
2252 (run_chroot_tests): Likewise.
2253
27a2f2f3
FW
22542019-03-07 Florian Weimer <fweimer@redhat.com>
2255
2256 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2257 header check.
2258
ae514971 22592019-03-07 Martin Liska <mliska@suse.cz>
2260
2261 * math/Makefile: Change location where math-vector-fortran.h is
2262 installed.
2263 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2264 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2265 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2266 * scripts/check-installed-headers.sh: Skip Fortran header files.
2267 * scripts/check-wrapper-headers.py: Likewise.
2268
0ddb7ea8
AZ
22692019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2270
2271 * nptl/nptl-init.c (__have_futex_clock_realtime,
2272 __have_futex_clock_realtime): Remove definition.
2273 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2274 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2275 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2276 __ASSUME_FUTEX_CLOCK_REALTIME support.
2277 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2278 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2279 * sysdeps/unix/sysv/linux/kernel-features.h
2280 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2281 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2282 Adjust comment.
2283
590675c0
GG
22842019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2285
2286 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2287 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2288 __GI___wcscpy and wcscpy.
2289
de71ee7b
FW
22902019-03-04 Florian Weimer <fweimer@redhat.com>
2291
2292 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2293 declaration.
2294 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2295 defined.
2296
ce6ddae0
SL
22972019-03-04 Stefan Liebler <stli@linux.ibm.com>
2298
2299 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2300 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2301
31efface
TS
23022019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2303
2304 [BZ #24162]
2305 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2306 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2307
f0eaf862
GG
23082019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2309
2310 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2311 tests.
2312 (do_test): Likewise.
2313 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2314 (do_test_call_varg): Likewise.
2315 (do_test_call_rarg): Likewise.
2316 * sysdeps/ieee754/ldbl-opt/Makefile
2317 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2318 tst-nldbl-error.
2319 ($(objpfx)tst-nldbl-warn.c): New rule.
2320 ($(objpfx)tst-nldbl-error.c): Likewise.
2321 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2322 New variables.
2323
d11086a9
GG
23242019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2325
2326 [BZ #23984]
2327 * include/bits/error-ldbl.h: New file.
2328 * include/error.h: Include stdarg.h. Declare internal functions
2329 __error_internal and __error_at_line_internal.
2330 * misc/Makefile (headers): Add bits/error-ldbl.h.
2331 * misc/bits/error-ldbl.h: New file.
2332 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2333 avoid the inclusion of bits/error.h.
2334 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2335 and __nldbl_error_at_line.
2336 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2337 (__nldbl_error, __ndlbl_error_at_line): New functions.
2338 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2339 Redirect error and error_at_line.
2340 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2342 Likewise.
2343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2344 Likewise.
2345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2346 Likewise.
2347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2348 Likewise.
2349 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2350 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2351 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2352
90188e7d
GG
23532019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2354
2355 [BZ #23984]
2356 * include/bits/err-ldbl.h: New file.
2357 * include/err.h: Add prototypes for the internal functions:
2358 __vwarnx_internal and __vwarn_internal.
2359 * misc/Makefile (headers): Add bits/err-ldbl.h.
2360 * misc/bits/err-ldbl.h: New file.
2361 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2362 defined, i.e.: when -mlong-double-64 is in use.
2363 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2364 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2365 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2366 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2367 (VA_CALL): New macro.
2368 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2369 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2370 functions.
2371 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2372 declare prototypes for the new functions.
2373 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2375 Likewise.
2376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2377 Likewise.
2378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2379 Likewise.
2380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2381 Likewise.
2382 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2383 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2384 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2385
ea2d89d0
GG
23862019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2387
2388 * sysdeps/ieee754/ldbl-opt/Makefile
2389 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2390 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2391 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2392
6e1f6440
GG
23932019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2394
2395 [BZ #23983]
2396 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2397 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2398 * argp/bits/argp-ldbl.h: New file.
2399 * include/argp.h: Include stdarg.h. Add prototypes for internal
2400 functions: __argp_error_internal and __argp_failure_internal.
2401 * include/bits/argp-ldbl.h: New file.
2402 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2403 __nldbl_argp_error and __nldbl_argp_failure.
2404 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2405 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2406 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2407 Redirect argp_error and argp_failure calls.
2408 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2412 Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2414 Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2416 Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2420
c259196b
FW
24212019-03-01 Florian Weimer <fweimer@redhat.com>
2422
2423 [BZ #20419]
2424 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2425 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2426 code, to avoid creating an ABI tag note.
2427 (modules-names-nobuild): Add tst-big-note-lib.
2428
928b305d
SL
24292019-03-01 Stefan Liebler <stli@linux.ibm.com>
2430
2431 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2432 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2433
36f30c10
FW
24342019-03-01 Florian Weimer <fweimer@redhat.com>
2435
2436 [BZ #20271]
2437 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2438 (__netlink_assert_response): Add additional missing newlines.
2439
462e83a4
JM
24402019-02-28 Joseph Myers <joseph@codesourcery.com>
2441
2442 * sysdeps/powerpc/powerpc32/dl-machine.c
2443 (__elf_machine_fixup_plt): Use space before '('.
2444 (__process_machine_rela): Likewise.
2445 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2446 Likewise.
2447 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2448 Likewise.
2449 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2450 Likewise.
2451 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2452 (pattern): Likewise.
2453 (delta): Likewise.
2454 (check_result): Likewise.
2455 (check_excepts): Likewise.
2456 (check_op): Likewise.
2457 (fail_xr): Likewise.
2458 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2459 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2460 (SCNHSZ): Likewise.
2461 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2462 Likewise.
2463 (ARGS): Likewise.
2464 (__makecontext): Likewise.
2465 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2466 Likewise.
2467
cc3e573c
FW
24682019-02-28 Florian Weimer <fweimer@redhat.com>
2469
2470 [BZ #23937]
2471 elf: Add test with a local IFUNC resolver.
2472 * elf/ifuncmain9.c: New file.
2473 * elf/ifuncmain9pic.c: Likewise.
2474 * elf/ifuncmain9picstatic.c: Likewise.
2475 * elf/ifuncmain9pie.c: Likewise.
2476 * elf/ifuncmain9static.c: Likewise.
2477 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2478 ifuncmain9static, ifuncmain9picstatic.
2479 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2480 Add ifuncmain9, ifuncmain9pic.
2481 * elf/Makefile [multi-arch && build-shared && have-fpie]
2482 (ifunc-pie-tests): Add ifuncmain9pie.
2483 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2484 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2485 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2486
92ad88fe
L
24872019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2488
2489 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2490 * configure: Regenerated.
2491 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2492
6bd4d02e
AZ
24932019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2494
2495 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2496 symbol as __wcspcy instead of wcscpy.
2497
1b218417
ST
24982019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2499
2500 * include/stdio.h (__renameat2): New hidden prototype.
2501 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2502 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2503 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2504 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2505
c4f50205
JM
25062019-02-27 Joseph Myers <joseph@codesourcery.com>
2507
f627dd4d
JM
2508 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2509 if statement.
2510
c4f50205
JM
2511 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2512 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2513 * benchtests/bench-strlen.c (do_test): Likewise.
2514 (test_main): Likewise.
2515 * catgets/gencat.c (read_old): Likewise.
2516 * elf/cache.c (load_aux_cache): Likewise.
2517 * iconvdata/bug-iconv8.c (do_test): Likewise.
2518 * math/test-tgmath-ret.c (do_test): Likewise.
2519 * nis/nis_call.c (rec_dirsearch): Likewise.
2520 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2521 * nptl/tst-audit-threads.c (do_test): Likewise.
2522 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2523 * nss/nss_test1.c (init): Likewise.
2524 * nss/test-netdb.c (test_hosts): Likewise.
2525 * posix/execvpe.c (maybe_script_execute): Likewise.
2526 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2527 * stdio-common/tst-printf.c (do_test): Likewise.
2528 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2529 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2530 * stdlib/qsort.c (STACK_SIZE): Likewise.
2531 * stdlib/test-canon.c (do_test): Likewise.
2532 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2533 * string/memcmp.c (OPSIZ): Likewise.
2534 * string/test-strcpy.c (do_test): Likewise.
2535 (do_random_tests): Likewise.
2536 * string/test-strlen.c (do_test): Likewise.
2537 (test_main): Likewise.
2538 * string/test-strrchr.c (do_test): Likewise.
2539 (do_random_tests): Likewise.
2540 * string/tester.c (test_memrchr): Likewise.
2541 (test_memchr): Likewise.
2542 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2543 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2544 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2545 (read_encoded_value_with_base): Likewise.
2546 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2547 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2548 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2549 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2550 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2551 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2554 Likewise.
2555 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2556 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2557 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2558 Likewise.
2559 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2560 Likewise.
2561 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2562 Likewise.
2563 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2564 Likewise.
2565 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2566 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2567 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2568 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2569 * time/test_time.c (main): Likewise.
2570
7b3fb620
AZ
25712019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2572
457208b1
AZ
2573 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2574
30a7e208
AZ
2575 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2576 wmemcpy.
2577
ddf21ec7
AZ
2578 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2579 wmemcpy.
2580
4d801563
AZ
2581 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2582
81a14439
AZ
2583 * include/wchar.h (__wcscpy): New prototype.
2584 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2585 (__wcscpy): Route internal symbol to generic implementation.
2586 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2587 Add internal __wcscpy alias.
2588 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2589 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2590 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2591 * wcsmbs/wcscpy.c (wcscpy): Add
2592 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2593 use generic implementation.
2594 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2595
39ef0744
AZ
2596 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2597 wmemset.
2598
7b3fb620
AZ
2599 * sysdeps/m68k/wcpcpy.c: Remove file.
2600 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2601
e0cb7b61
JM
26022019-02-26 Joseph Myers <joseph@codesourcery.com>
2603
aa0e4663
JM
2604 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2605 than after operators.
2606 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2607 * sysdeps/mach/hurd/getcwd.c
2608 (__hurd_canonicalize_directory_name_internal): Likewise.
2609 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2610 (pthread_mutex_consistent): Likewise.
2611 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2612 Likewise.
2613 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2614 (__pthread_mutex_transfer_np): Likewise.
2615 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2616 (__pthread_mutex_unlock): Likewise.
2617 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2618 (mtx_owned_p): Likewise.
2619 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2620 (pthread_mutexattr_getrobust): Likewise.
2621 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2622 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2623 Likewise.
2624 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2625 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2626 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2627 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2628 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2629 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2631 Likewise.
2632 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2633 Likewise.
2634 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2635 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2636 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2637 (____longjmp_chk): Likewise.
2638 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2639 Likewise.
2640 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2641 (INTERNAL_SYSCALL): Likewise.
2642 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2643 (INTERNAL_SYSCALL): Likewise.
2644 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2645 (__get_clockfreq_via_cpuinfo): Likewise.
2646
e0cb7b61
JM
2647 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2648 comments.
2649 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2650 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2651 (WORD_COPY_BWD): Likewise.
2652 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2653 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2654 Likewise.
2655 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2656 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2657 comment.
2658 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2659
a04549c1
JM
26602019-02-25 Joseph Myers <joseph@codesourcery.com>
2661
2662 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2663 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2664 rather than after operators.
2665 * elf/cache.c (print_cache): Likewise.
2666 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2667 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2668 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2669 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2670 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2671 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2672 (reauth_proc): Likewise.
2673 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2674 (__file_name_split_at): Likewise.
2675 (__directory_name_split_at): Likewise.
2676 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2677 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2678 * iconv/gconv_dl.c (do_print): Likewise.
2679 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2680 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2681 * locale/setlocale.c (new_composite_name): Likewise.
2682 * malloc/memusagestat.c (main): Likewise.
2683 * misc/fstab.c (fstab_convert): Likewise.
2684 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2685 Likewise.
2686 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2687 (getgrent_next_file): Likewise.
2688 (internal_getgrnam_r): Likewise.
2689 (internal_getgrgid_r): Likewise.
2690 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2691 Likewise.
2692 (internal_getgrent_r): Likewise.
2693 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2694 (getpwent_next_nss): Likewise.
2695 (getpwent_next_file): Likewise.
2696 (internal_getpwnam_r): Likewise.
2697 (internal_getpwuid_r): Likewise.
2698 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2699 Likewise.
2700 (getspent_next_nss): Likewise.
2701 (internal_getspnam_r): Likewise.
2702 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2703 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2704 * string/strchr.c (STRCHR): Likewise.
2705 * string/strchrnul.c (STRCHRNUL): Likewise.
2706 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2707 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2708 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2709 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2710 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2711 Likewise.
2712 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2713 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2714 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2715 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2716 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2717 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2718 (open_file): Likewise.
2719 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2720 (pthread_mutexattr_setprotocol): Likewise.
2721 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2722 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2723 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2724 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2725 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2726 Likewise.
2727 (elf_machine_rela): Likewise.
2728 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2729 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2730 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2731 * sysdeps/posix/rename.c (rename): Likewise.
2732 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2733 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2734 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2735 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2736 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2737 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2738 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2739 Likewise.
2740 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2741 Likewise.
2742 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2743 * time/tzfile.c (__tzfile_compute): Likewise.
2744
34a5a146
JM
27452019-02-22 Joseph Myers <joseph@codesourcery.com>
2746
2747 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2748 rather than after operators.
2749 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2750 * crypt/md5.c (md5_finish_ctx): Likewise.
2751 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2752 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2753 * elf/cache.c (load_aux_cache): Likewise.
2754 * elf/dl-load.c (open_verify): Likewise.
2755 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2756 * elf/readelflib.c (process_elf_file): Likewise.
2757 * elf/rtld.c (dl_main): Likewise.
2758 * elf/sprof.c (generate_call_graph): Likewise.
2759 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2760 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2761 * hurd/dtable.c (reauth_dtable): Likewise.
2762 * hurd/getdport.c (__getdport): Likewise.
2763 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2764 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2765 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2766 Likewise.
2767 * hurd/hurdioctl.c (fioctl): Likewise.
2768 * hurd/hurdselect.c (_hurd_select): Likewise.
2769 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2770 (STOPSIGS): Likewise.
2771 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2772 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2773 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2774 * hurd/msgportdemux.c (msgport_server): Likewise.
2775 * hurd/setauth.c (_hurd_setauth): Likewise.
2776 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2777 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2778 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2779 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2780 * login/tst-utmp.c (do_check): Likewise.
2781 (simulate_login): Likewise.
2782 * mach/lowlevellock.h (lll_lock): Likewise.
2783 (lll_trylock): Likewise.
2784 * math/test-fenv.c (ALL_EXC): Likewise.
2785 * math/test-fenvinline.c (ALL_EXC): Likewise.
2786 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2787 * nis/nis_call.c (__do_niscall3): Likewise.
2788 * nis/nis_callback.c (cb_prog_1): Likewise.
2789 * nis/nis_defaults.c (searchaccess): Likewise.
2790 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2791 * nis/nis_ismember.c (internal_ismember): Likewise.
2792 * nis/nis_local_names.c (nis_local_principal): Likewise.
2793 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2794 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2795 Likewise.
2796 * nis/ypclnt.c (yp_match): Likewise.
2797 (yp_first): Likewise.
2798 (yp_next): Likewise.
2799 (yp_master): Likewise.
2800 (yp_order): Likewise.
2801 * nscd/hstcache.c (cache_addhst): Likewise.
2802 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2803 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2804 (internal_getpwuid_r): Likewise.
2805 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2806 * posix/glob.h (__GLOB_FLAGS): Likewise.
2807 * posix/regcomp.c (peek_token): Likewise.
2808 (peek_token_bracket): Likewise.
2809 (parse_expression): Likewise.
2810 * posix/regexec.c (sift_states_iter_mb): Likewise.
2811 (check_node_accept_bytes): Likewise.
2812 * posix/tst-spawn3.c (do_test): Likewise.
2813 * posix/wordexp-test.c (testit): Likewise.
2814 * posix/wordexp.c (parse_tilde): Likewise.
2815 (exec_comm): Likewise.
2816 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2817 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2818 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2819 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2820 * stdio-common/tst-fileno.c (do_test): Likewise.
2821 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2822 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2823 * stdlib/strtod_l.c (round_and_return): Likewise.
2824 (____STRTOF_INTERNAL): Likewise.
2825 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2826 * string/strcspn.c (STRCSPN): Likewise.
2827 * string/test-memmem.c (simple_memmem): Likewise.
2828 * termios/tcsetattr.c (tcsetattr): Likewise.
2829 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2830 * time/asctime.c (asctime_internal): Likewise.
2831 * time/strptime_l.c (__strptime_internal): Likewise.
2832 * time/sys/time.h (timercmp): Likewise.
2833 * time/tzfile.c (__tzfile_compute): Likewise.
2834
b0b50fe0
PF
28352019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2836
b39d961c
TS
2837 [BZ #21915]
2838 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2839
f43b8dd5
GG
28402019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2841
2842 * argp/argp-help.c (__argp_error_internal): New function,
2843 renamed from __argp_error, but that takes a 'mode_flags'
2844 parameter to control the format of long double parameters.
2845 (__argp_error): Converted into a call __argp_error_internal.
2846 (__argp_failure_internal): New function, renamed from
2847 __argp_failure, but that takes a 'mode_flags' parameter.
2848 (__argp_failure): Converted into a call __argp_failure_internal.
2849 * misc/err.c (__vwarnx_internal): New function, renamed from
2850 vwarnx, but that takes a 'mode_flags' parameter.
2851 (vwarnx): Converted into a call to __vwarnx_internal.
2852 (__vwarn_internal): New function, renamed from vwarn, but that
2853 takes a 'mode_flags' parameter.
2854 (vwarn): Converted into a call to __vwarn_internal.
2855 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2856 call to __vfxprintf with 'mode_flags'.
2857 (__error_internal): New function, renamed from error, but that
2858 takes a 'mode_flags' parameter.
2859 (error): Converted into a call to __error_internal.
2860 (__error_at_line_internal): New function, renamed from
2861 error_at_line, but that takes a 'mode_flags' parameter.
2862 (error_at_line): Converted into a call to
2863 __error_at_line_internal.
2864 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2865 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2866 Likewise.
2867
dc0afac3 28682019-02-20 Martin Liska <mliska@suse.cz>
2869
2870 * math/Makefile: Install math-vector-fortran.h.
2871 * bits/math-vector-fortran.h: New file.
2872 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2873
4a2dd41c
GG
28742019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2875
2876 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2877 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2878
04de9302
WS
28792019-02-19 Wolfram Sang <wsa@the-dreams.de>
2880
2881 * nptl/pthread_mutex_trylock.c: Fix comment.
2882
b026ce1e
CD
28832019-02-19 Carlos O'Donell <carlos@redhat.com>
2884
2885 * nptl/pthread_tryjoin.c: Fix comment.
2886
8c9289b6
JM
28872019-02-18 Joseph Myers <joseph@codesourcery.com>
2888
2889 [BZ #24231]
2890 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2891 after R_SPARC_H34 case.
2892
308e022f
FW
28932019-02-18 Florian Weimer <fweimer@redhat.com>
2894
2895 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2896 (getanswer): Do not call Dprintf.
2897 (res_gethostbyname2_context): Likewise.
2898 (res_gethostbyaddr_context): Likewise.
2899
a5406364
FW
29002019-02-18 Florian Weimer <fweimer@redhat.com>
2901
2902 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2903 declaration.
2904 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2905 Remove definitions.
2906 * libio/stdfiles.c: Update comment.
2907 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2908 set _IO_stdin, _IO_stdout, _IO_stderr.
2909 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2910 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2911 inline function.
2912 (_IO_deallocate_file): New inline function.
2913 * libio/iolibio.h (_IO_vprintf): Remove definition.
2914 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2915 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2916 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2917 _IO_legacy_file.
2918 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2919 __builtin_expect. Use _IO_legacy_file.
2920
6c29942c
SL
29212019-02-18 Stefan Liebler <stli@linux.ibm.com>
2922
2923 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2924 Initialize ctid with a known value and remove update of ctid
2925 after clone.
2926 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2927 as assumed current value of ctid_ptr.
2928
225d9445 29292019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2930
2931 Check that non-sysdeps headers have wrapper headers.
2932 * scripts/check-wrapper-headers.py: New file.
2933 * Makefile (tests-special): Add check-wrapper-headers.out.
2934 (check-wrapper-headers.out): New target.
2935 * Rules (tests-special): Add check-wrapper-headers.out.
2936 (check-wrapper-headers.out): New target.
2937
225d9445 29382019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2939
2940 Add missing header wrappers under include/.
2941 * include/ar.h: New file.
2942 * include/bits/mqueue2.h: Likewise.
2943 * include/bits/stdio.h: Likewise.
2944 * include/bits/stdio2.h: Likewise.
2945 * include/fstab.h: Likewise.
2946 * include/fts.h: Likewise.
2947 * include/lastlog.h: Likewise.
2948 * include/netinet/icmp6.h: Likewise.
2949 * include/netinet/igmp.h: Likewise.
2950 * include/netinet/ip6.h: Likewise.
2951 * include/re_comp.h: Likewise.
2952 * include/regexp.h: Likewise.
2953 * include/rpcsvc/bootparam.h: Likewise.
2954 * include/rpcsvc/yp_prot.h: Likewise.
2955 * include/sys/random.h: Likewise.
2956 * include/sys/stropts.h: Likewise.
2957 * include/sys/ttychars.h: Likewise.
2958 * include/sys/vfs.h: Likewise.
2959 * include/wait.h: Likewise.
2960
225d9445 29612019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2962
2963 * nptl_db/proc_service.h: Move to ...
2964 * sysdeps/nptl/proc_service.h: ... here.
2965 * nptl_db/thread_db.h: Move to ...
2966 * sysdeps/nptl/thread_db.h: ... here.
2967 * nptl/descr.h: Include <thread_db.h>.
2968
e442e40d
AZ
29692019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2970
2971 * io/Makefile (tests): Add tst-lockf.
2972 * io/lockf.c (lockf): Use __fcntl and only define for
2973 !__OFF_T_MATCHES_OFF64_T.
2974 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2975 __OFF_T_MATCHES_OFF64_T case.
2976 * io/tst-lockf.c: New file.
2977 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2978 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2979 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2980 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2981 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2983 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2984 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2985 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2986
bc10e22c
FW
29872019-02-15 Florian Weimer <fweimer@redhat.com>
2988
2989 [BZ #24211]
2990 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2991 pd->result after the thread descriptor has been freed.
2992
365f05c7
JM
29932019-02-15 Joseph Myers <joseph@codesourcery.com>
2994
8a11f970
JM
2995 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2996 from function return type.
2997
365f05c7
JM
2998 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2999
6b5c8607 30002019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
3001
3002 * scripts/test_printers_common.py: Set TERM to a known harmless
3003 value.
3004
712182c8
JM
30052019-02-14 Joseph Myers <joseph@codesourcery.com>
3006
3007 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3008 (xdr_u_int): Likewise.
3009 (xdr_enum): Likewise.
3010 (xdr_bytes): Reword fall-through comment.
3011 (xdr_string): Likewise.
3012
eb76e5b4
AZ
30132019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3014
3015 [BZ #2421]
3016 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3017 (tests): Add tst-join8 tst-join9.
3018 * nptl/lll_timedwait_tid.c: Remove file.
3019 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3020 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3021 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3022 * nptl/pthread_join_common.c (timedwait_tid): New function.
3023 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3024 is set.
3025 * nptl/tst-join5.c (thread_join): New function.
3026 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3027 check.
3028 * nptl/tst-join8.c: New file.
3029 * nptl/tst-join9.c: Likewise.
3030 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3031 lll_futex_timed_wait_cancel): Add generic macros.
3032 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3033 Remove definitions.
3034 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3035 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3036 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3037 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3038 Remove function.
3039 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3040 Likewise.
3041 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3042 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3043 (lll_futex_timed_wait_cancel): New macro.
3044
3904fd85
WD
30452019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3046
3047 * benchtests/Makefile: Add malloc-simple benchmark.
3048 * benchtests/bench-malloc-simple.c: New benchmark.
3049
24ca04fe
SP
30502019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3051
3052 * benchtests/bench-memmove.c (do_one_test): Remove unused
3053 ORIG_SRC.
3054 (do_test): Adjust.
3055 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3056 ORIG_SRC.
3057 (do_test): Adjust.
3058
85bd1ddb
JW
30592019-01-13 Jim Wilson <jimw@sifive.com>
3060
3061 [BZ #24040]
3062 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3063 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3064 (func): New.
3065 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3066 call func directly.
3067 * nptl/Makefile (tests): Add tst-unwind-thread.
3068 (CFLAGS-tst-unwind-thread.c): Define.
3069 * nptl/tst-unwind-thread.c: New file.
3070 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3071 as undefined.
3072
86140c62
JM
30732019-02-13 Joseph Myers <joseph@codesourcery.com>
3074
10756268
JM
3075 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3076 comment wording.
3077 * nis/nis_call.c (__do_niscall3): Likewise.
3078
05383720
JM
3079 * catgets/gencat.c (normalize_line): Use braces around empty
3080 'else' body.
3081 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3082 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3083 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3084 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3085 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3086 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3087 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3088 definition.
3089
86140c62
JM
3090 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3091 execlp returns.
3092
16f87cfd
WD
30932019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3094
3095 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3096 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3097 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3098 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3099 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3100 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3101 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3102 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3103 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3104 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3105 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3106 * benchtests/bench-bcopy.c: Delete file.
3107 * benchtests/bench-bzero.c: Likewise.
3108 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3109 (simple_memccpy): Remove.
3110 (generic_memccpy): Add function.
3111 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3112 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3113 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3114 (generic_mempcpy): Add new function.
3115 * benchtests/bench-memset.c (simple_bzero): Remove.
3116 (builtin_bzero): Remove.
3117 (builtin_memset): Remove.
3118 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3119 (generic_rawmemchr): Add new function.
3120
0c6d82e9
FW
31212019-02-12 Florian Weimer <fweimer@redhat.com>
3122
3123 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3124
b3fbfe81
AZ
31252019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3126
3127 [BZ #24122]
3128 * elf/Makefile (tests): Add tst-audit13.
3129 (modules-names): Add tst-audit13mod1.
3130 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3131 rule.
3132 * elf/tst-audit13.c: New file.
3133 * elf/tst-audit13mod1.c: Likewise.
3134
3b856d09
FW
31352019-02-12 Florian Weimer <fweimer@redhat.com>
3136
3137 [BZ #24122]
3138 * elf/rtld.c (unload_audit_module): New function.
3139 (report_audit_module_load_error): Likewise.
3140 (load_audit_module): Likewise. Extracted from dl_main. Call
3141 _dl_close if the laversion symbol cannot be found. Use early
3142 returns for error handling. Add malloc error check. Check for a
3143 zero return value from la_version. Remove spurious comment about
3144 static TLS initialization. Remove useless casts.
3145 (notify_audit_modules_of_loaded_object): New function. Extracted
3146 from dl_main.
3147 (load_audit_module): Likewise.
3148 (dl_main): Call load_audit_modules.
3149
32db86d5
JM
31502019-02-12 Joseph Myers <joseph@codesourcery.com>
3151
3152 * elf/dl-exception.c (_dl_exception_create_format): Add
3153 fall-through comments.
3154 * elf/ldconfig.c (parse_conf_include): Likewise.
3155 * elf/rtld.c (print_statistics): Likewise.
3156 * locale/programs/charmap.c (parse_charmap): Likewise.
3157 * misc/mntent_r.c (__getmntent_r): Likewise.
3158 * posix/wordexp.c (parse_arith): Likewise.
3159 (parse_backtick): Likewise.
3160 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3161 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3162 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3163
a51bc4fe
PC
31642019-02-11 Paul A. Clarke <pc@us.ibm.com>
3165
3166 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3167 Use float instead of double.
3168
fb25b135
TS
31692019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3170
3171 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3172
32ea7299
JM
31732019-02-08 Joseph Myers <joseph@codesourcery.com>
3174
3175 * sysdeps/powerpc/bits/mathinline.h: Remove.
3176
eef4d4f8
FW
31772019-02-08 Florian Weimer <fweimer@redhat.com>
3178
3179 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3180 * math/bits/math-finite.h: Move to ...
3181 * bits/math-finite.h: ... here.
3182
fdfbd47d
FW
31832019-02-08 Florian Weimer <fweimer@redhat.com>
3184
3185 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3186 * bits/unistd_ext.h: here.
3187
11eb21c4
PF
31882019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3189
3190 [BZ #21915]
3191 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3192 * nss/tst-nss-files-hosts-long.c: New file.
3193 * nss/tst-nss-files-hosts-long.root: New directory.
3194 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3195 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3196
e47d82c9
FW
31972019-02-08 Florian Weimer <fweimer@redhat.com>
3198
3199 * include/bits/unistd_ext.h: Remove file.
3200 * posix/bits/unistd_ext.h: Move to ...
3201 * sysdeps/generic/bits/unistd_ext.h: ... here.
3202
8f89ab21
FW
32032019-02-08 Florian Weimer <fweimer@redhat.com>
3204
3205 * include/bits/unistd_ext.h: New file.
3206
144a794e
TS
32072019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3208
3209 * time/tst-strftime2.c: Use array_length macros instead of magic
3210 numbers.
3211
669ff911
FW
32122019-02-08 Florian Weimer <fweimer@redhat.com>
3213
3214 [BZ #24161]
3215 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3216 argument.
3217 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3218 locking if the new do_locking argument is true.
3219 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3220 __run_fork_handlers.
3221
d0bd87d4 32222019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3223
3224 [BZ #6399]
3225 Linux: Add gettid system call wrapper.
3226 * posix/Makefile (headers): Add bits/unistd_ext.h.
3227 * posix/bits/unistd_ext.h: New file.
3228 * posix/unistd.h: Include it.
3229 * manual/process.texi (Process Identification): Document gettid.
3230 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3231 tst-gettid, tst-gettid-kill.
3232 (tst-gettid): Link with $(shared-thread-library).
3233 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3234 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3235 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3236 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3237 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3238 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3239 Add gettid.
3240 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3241 Likewise.
3242 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3243 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3244 Likewise.
3245 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3246 Likewise.
3247 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3248 Likewise.
3249 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3250 Likewise.
3251 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3254 Likewise.
3255 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3256 Likewise.
3257 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3258 (GLIBC_2.30): Likewise.
3259 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3260 (GLIBC_2.30): Likewise.
3261 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3262 (GLIBC_2.30): Likewise.
3263 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3264 (GLIBC_2.30): Likewise.
3265 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3266 Likewise.
3267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3268 (GLIBC_2.30): Likewise.
3269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3270 (GLIBC_2.30): Likewise.
3271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3272 (GLIBC_2.30): Likewise.
3273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3274 (GLIBC_2.30): Likewise.
3275 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3276 Likewise.
3277 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3278 Likewise.
3279 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3280 Likewise.
3281 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3282 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3283 Likewise.
3284 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3285 Likewise.
3286 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3287 Likewise.
3288 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3289 Likewise.
3290 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3291
225d9445 32922019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3293
3294 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3295 compatibility symbols.
3296
823624bd
SL
32972019-02-07 Stefan Liebler <stli@linux.ibm.com>
3298
3299 [BZ #24180]
3300 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3301 Add compiler barriers and comments.
3302
8311c83f
FW
33032019-02-07 Florian Weimer <fweimer@redhat.com>
3304
3305 * include/array_length.h (array_length): Do not use a statement
3306 expression and _Static_assert, so that array_length can be used at
3307 file scope and as a constant expression.
3308
94b63e66
FW
33092019-02-07 Florian Weimer <fweimer@redhat.com>
3310
3311 * support/xdlfcn.h (xdlmopen): Declare.
3312 * support/xdlmopen.c: New file.
3313 * support/Makefile (libsupport-routines): Add xdlmopen.
3314
c2d8f0b7
JM
33152019-02-06 Joseph Myers <joseph@codesourcery.com>
3316
3317 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3318 before return type, without separate inline.
3319 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3320 * elf/dl-tunables.h (tunable_is_name): Likewise.
3321 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3322 (do_set_top_pad): Likewise.
3323 (do_set_mmap_threshold): Likewise.
3324 (do_set_mmaps_max): Likewise.
3325 (do_set_mallopt_check): Likewise.
3326 (do_set_perturb_byte): Likewise.
3327 (do_set_arena_test): Likewise.
3328 (do_set_arena_max): Likewise.
3329 (do_set_tcache_max): Likewise.
3330 (do_set_tcache_count): Likewise.
3331 (do_set_tcache_unsorted_limit): Likewise.
3332 * nis/nis_subr.c (count_dots): Likewise.
3333 * nptl/allocatestack.c (advise_stack_range): Likewise.
3334 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3335 (do_sin): Likewise.
3336 (reduce_sincos): Likewise.
3337 (do_sincos): Likewise.
3338 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3339 (do_set_elision_enable): Likewise.
3340 (TUNABLE_CALLBACK_FNDECL): Likewise.
3341
3b935595
FW
33422019-02-06 Florian Weimer <fweimer@redhat.com>
3343
3344 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3345 (xdlsym): Use dlerror to detect a NULL symbol.
3346
b4333340
FW
33472019-02-06 Florian Weimer <fweimer@redhat.com>
3348
3349 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3350 <stap-probe.h>.
3351 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3352
b6d8a999
SL
33532019-02-06 Stefan Liebler <stli@linux.ibm.com>
3354
3355 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3356
94eeeec0
SL
33572019-02-06 Stefan Liebler <stli@linux.ibm.com>
3358
3359 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3360 __wmemcmp and weak alias to wmemcmp.
3361
bc79db3f
SL
33622019-02-06 Stefan Liebler <stli@linux.ibm.com>
3363
3364 [BZ #23403]
3365 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3366 TLS_TCB_AT_TP tls variant.
3367 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3368 Add alignment checks.
3369 * support/Makefile (libsupport-routines): Add xposix_memalign and
3370 xpthread_setstack.
3371 * support/support.h: Add xposix_memalign.
3372 * support/xthread.h: Add xpthread_attr_setstack.
3373 * support/xposix_memalign.c: New File.
3374 * support/xpthread_attr_setstack.c: Likewise.
3375
f1ac7455
FW
33762019-02-05 Florian Weimer <fweimer@redhat.com>
3377
3378 [BZ #24164]
3379 arm: Use "nr" constraint for Systemtap probes, to avoid the
3380 compiler using memory operands for constants, due to the "o"
3381 alternative in the default "nor" constraint.
3382 * include/stap-probe.h [USE_STAP_PROBE]: Include
3383 <stap-probe-machine.h>
3384 * sysdeps/generic/stap-probe-machine.h: New file.
3385 * sysdeps/arm/stap-probe-machine.h: Likewise.
3386
7a0dcfc6
JM
33872019-02-04 Joseph Myers <joseph@codesourcery.com>
3388
77dc0d86
JM
3389 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3390 with 0, not tcache->entries[tc_idx].
3391
7a0dcfc6
JM
3392 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3393 once.
3394
65f7767a
AS
33952019-02-04 Andreas Schwab <schwab@suse.de>
3396
3397 [BZ #16976]
3398 [BZ #17396]
3399 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3400 looking up collating elements match against (wide) character
3401 sequence instead of name. Correct alignment adjustment.
3402 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3403 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3404 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3405 (LOCALES): Add cs_CZ.ISO-8859-2.
3406 * posix/tst-fnmatch4.c: New file.
3407 * posix/tst-fnmatch5.c: New file.
3408 * include/wchar.h (__wmemcmp): Declare.
3409 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3410 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3411 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3412 * sysdeps/s390/wmemcmp.c: Likewise.
3413
3f635fb4
L
34142019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3415
3416 [BZ #24155]
3417 CVE-2019-7309
3418 * NEWS: Updated for CVE-2019-7309.
3419 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3420 upper 32 bits of RDX register for x32. Use unsigned Jcc
3421 instructions, instead of signed.
3422 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3423 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3424
2ab5741b
FW
34252019-02-04 Florian Weimer <fweimer@redhat.com>
3426
3427 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3428 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3429 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3430 Likewise.
3431 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3432 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3433 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3434 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3435 Likewise.
3436 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3437 Likewise.
3438 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3439 Likewise.
3440 (posix_spawn_file_actions_addopen): Likewise.
3441 (posix_spawn_file_actions_addclose): Likewise.
3442 (posix_spawn_file_actions_adddup2): Likewise.
3443 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3444 qualifiers.
3445 (posix_spawn_file_actions_addfchdir_np): Likewise.
3446
8692ebdb
DN
34472019-02-04 David Newall <glibc@davidnewall.com>
3448
3449 elf: Implement --preload option for the dynamic linker.
3450 * elf/rtld.c (preloadarg): New variable.
3451 (handle_preload_list): Pass through “where” argument to
3452 do_preload.
3453 (dl_main): Handle "--preload" and add second call to
3454 handle_preload_list.
3455 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3456 (tst-rtld-preload-OBJS): Set variable.
3457 (tst-rtld-preload.out): New target.
3458 * elf/tst-rtld-preload.sh: New file.
3459
5e10136b
MM
34602019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3461
3462 * Makefile (testrun.sh): Exit in case of incorrect argument.
3463
221baae0
FW
34642019-02-04 Florian Weimer <fweimer@redhat.com>
3465
3466 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3467 alignment gaps.
3468
b8c72381
FW
34692019-02-03 Florian Weimer <fweimer@redhat.com>
3470
3471 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3472 implicit overflow checks.
3473
11f382ee
AJ
34742019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3475
3476 * stdlib/isomac.c: Include <unistd.h>.
3477
77c7d55e
FW
34782019-02-03 Florian Weimer <fweimer@redhat.com>
3479
3480 * include/time.h (__tzfile_default): Use int, not long int, for
3481 the GMT offsets.
3482 * time/tzfile.c (struct ttinfo): Change type of the offset member
3483 to int.
3484 (__tzfile_read): Remove useless cast.
3485 (__tzfile_default): Adjust prototype.
3486 * time/tzset.c (tz_rule): Change type of the offset member to int.
3487 (parse_offset): Change the type of the sign variable to int.
3488
ee9941f9
FW
34892019-02-03 Florian Weimer <fweimer@redhat.com>
3490
3491 [BZ #24153]
3492 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3493 * libio/getchar.c (getchar): Likewise.
3494 * libio/getchar_u.c (getchar_unlocked): Likewise.
3495 * libio/getwchar.c (getwchar): Likewise.
3496 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3497 * libio/iogets.c (_IO_gets): Likewise.
3498 * libio/vscanf.c (_IO_vscanf): Likewise.
3499 * libio/vwscanf.c (__vwscanf): Likewise.
3500 * libio/tst-bz24153.c: New file.
3501 * libio/Makefile (tests): Add it.
3502
c70824b9
FW
35032019-02-02 Florian Weimer <fweimer@redhat.com>
3504
3505 [BZ #14829]
3506 * manual/resource.texi (Basic Scheduling Functions): Add
3507 portability note. Change process to task throughout the section.
3508 Remove incorrect comment about sched_yield as it affects
3509 tasks/threads, not entire processes.
3510 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3511 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3512
4dcbbc3b
JM
35132019-02-01 Joseph Myers <joseph@codesourcery.com>
3514
3515 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3516 * configure: Regenerated.
3517 * manual/install.texi (Tools for Compilation): Update minimum GCC
3518 version.
3519 * INSTALL: Regenerated.
3520
6175507c
FW
35212019-02-01 Florian Weimer <fweimer@redhat.com>
3522
3523 * support/support_test_compare_string.c
3524 (support_test_compare_string): Use "string" in error message.
3525 * support/tst-test_compare_string.c (do_test): Adjust.
3526
baef1943
FW
35272019-02-01 Florian Weimer <fweimer@redhat.com>
3528
3529 * support/support_format_address_family.c
3530 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3531
395599f0
FW
35322019-02-01 Florian Weimer <fweimer@redhat.com>
3533
3534 * manual/socket.texi (Internet Address Formats): Clarify the byte
3535 order of struct sockaddr_in, struct sockaddr_in6. Document
3536 sin6_flowinfo and sin6_scope_id.
3537
b06f4c00
WD
35382019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3539
3540 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3541 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3542 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3543 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3544 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3545 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3546
83d1cc42
FX
35472019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3548
3549 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3550 [!MEMCHR](MEMCHR): Set to __memchr.
3551 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3552 Add memchr_generic and memchr_nosimd.
3553 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3554 (__libc_ifunc_impl_list): Add memchr ifuncs.
3555 * sysdeps/aarch64/multiarch/memchr.c: New file.
3556 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3557 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3558
c7d3890f
FX
35592019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3560
3561 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3562 Add memset_emag.
3563 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3564 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3565 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3566 Add IS_EMAG check for ifunc dispatch.
3567 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3568 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3569
07c3d1ec
FX
35702019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3571
3572 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3573 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3574 Add emag.
3575 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3576 New macro.
3577
114f792e
SL
35782019-02-01 Stefan Liebler <stli@linux.ibm.com>
3579
3580 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3581
d5627550
VG
35822019-01-31 Vineet Gupta <vgupta@synopsys.com>
3583
3584 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3585 syscall-template file.
3586
5fc9ed4c
CD
35872019-01-31 Carlos O'Donell <carlos@redhat.com>
3588 Torvald Riegel <triegel@redhat.com>
3589 Rik Prohaska <prohaska7@gmail.com>
3590
3591 [BZ# 23844]
3592 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3593 tst-rwlock-trywrlock-stall.
3594 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3595 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3596 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3597 Set __wrphase_fute to 1 only if we started the write phase.
3598 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3599 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3600 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3601 * support/xpthread_rwlock_destroy.c: New file.
3602 * support/xthread.h: Declare xpthread_rwlock_destroy.
3603
932329a5
JM
36042019-02-01 Joseph Myers <joseph@codesourcery.com>
3605
3606 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3607 version to 4.0.2.
3608
5f10701f
PP
36092019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3610
3611 [BZ #24051]
3612 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3613 * libio/fileops.c (_IO_new_file_underflow): Likewise
3614 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3615 * libio/putchar.c (putchar): Likewise.
3616 * libio/putchar_u.c (putchar_unlocked): Likewise.
3617 * libio/putwchar.c (putchar): Likewise.
3618 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3619 * libio/tst-bz24051.c: New test.
3620 * libio/Makefile (tests): Add tst-bz24051
3621
583dd860
PE
36222019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3623
b626c5aa 3624 CVE-2019-9169
583dd860
PE
3625 regex: fix read overrun [BZ #24114]
3626 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3627 https://debbugs.gnu.org/34140
3628 * posix/regexec.c (proceed_next_node):
3629 Do not read past end of input buffer.
3630
2bac7daa
FW
36312019-01-31 Florian Weimer <fweimer@redhat.com>
3632
3633 [BZ #24059]
3634 * nss/nss_files/files-alias.c (get_next_alias): Handle
3635 continuation line without newline at the end.
3636 * nss/tst-nss-files-alias-truncated.c: New file.
3637 * nss/Makefile [$(build-shared)] (tests): Add
3638 tst-nss-files-alias-truncated.
3639 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3640 * support/namespace.h (struct support_chroot_configuration): Add
3641 aliases member.
3642 (struct support_chroot): Add path_aliases member.
3643 * support/support_chroot.c (support_chroot_create): Handle
3644 aliases.
3645 (support_chroot_free): Free path_aliases.
3646
330c9d0d
SP
36472019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3648
de44ab67
SP
3649 * version.h (RELEASE): Set to "development".
3650 (VERSION): Set to "2.29.9000".
3651 * NEWS: Add section for 2.30.
3652
56c86f5d
SP
3653 * version.h (RELEASE): Set to "stable".
3654 (VERSION): Set to "2.29".
3655 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3656
330c9d0d
SP
3657 * NEWS: Add the list of bugs fixed in 2.29.
3658 * manual/contrib.texi: Update contributors list with some more
3659 names.
3660 * manual/install.texi: Update latest versions of packages
3661 tested.
3662 * INSTALL: Regenerated.
3663
e1e47c91
SP
36642019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3665
3666 * po/be.po: Update translations.
3667 * po/bg.po: Likewise.
3668 * po/ca.po: Likewise.
3669 * po/cs.po: Likewise.
3670 * po/da.po: Likewise.
3671 * po/de.po: Likewise.
3672 * po/el.po: Likewise.
3673 * po/eo.po: Likewise.
3674 * po/es.po: Likewise.
3675 * po/fi.po: Likewise.
3676 * po/fr.po: Likewise.
3677 * po/gl.po: Likewise.
3678 * po/hr.po: Likewise.
3679 * po/hu.po: Likewise.
3680 * po/ia.po: Likewise.
3681 * po/id.po: Likewise.
3682 * po/it.po: Likewise.
3683 * po/ja.po: Likewise.
3684 * po/ko.po: Likewise.
3685 * po/lt.po: Likewise.
3686 * po/nb.po: Likewise.
3687 * po/nl.po: Likewise.
3688 * po/pl.po: Likewise.
3689 * po/pt_BR.po: Likewise.
3690 * po/ru.po: Likewise.
3691 * po/rw.po: Likewise.
3692 * po/sk.po: Likewise.
3693 * po/sl.po: Likewise.
3694 * po/sv.po: Likewise.
3695 * po/tr.po: Likewise.
3696 * po/uk.po: Likewise.
3697 * po/vi.po: Likewise.
3698 * po/zh_CN.po: Likewise.
3699 * po/zh_TW.po: Likewise.
3700
8d016826
UB
37012019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3702
3703 [BZ #24130]
3704 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3705 of $f3 register on $y_is_neg path.
3706
a0bb5abd
ST
37072019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3708
b96e22d0 3709 [BZ #24110]
a0bb5abd
ST
3710 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3711 sigaltstack.ss_flags.
3712
b22eed37
TS
37132019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3714
3715 [BZ #23758]
3716 * manual/time.texi (strftime): Document "%Ey".
3717 * time/strftime_l.c (__strftime_internal): Set the default width
3718 padding with zero of "%Ey" to 2.
3719
32f600a2
TS
3720 [BZ #24096]
3721 * manual/time.texi (strftime): Document "%EC" and "%EY".
3722 * time/Makefile (tests): Add tst-strftime2.
3723 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3724 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3725 override padding for "%Ey".
3726 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3727 "%Ey" in the subformat as if decorated with that flag.
3728 * time/tst-strftime2.c: New file.
3729
8e889c5d
AZ
37302019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3731
3367acdb
AZ
3732 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3733 are not defined.
3734
8e889c5d
AZ
3735 [BZ #24122]
3736 * elf/Makefile (tests): Add tst-audit13.
3737 (modules-names): Add tst-audit13mod1.
3738 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3739 rule.
3740 * elf/rtld.c (dl_main): Handle invalid audit module version.
3741 * elf/tst-audit13.c: New file.
3742 * elf/tst-audit13mod1.c: Likewise.
3743
a95dc01c
ST
37442019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3745
3746 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3747 returned by __hurd_at_flags.
ee4d7902
ST
3748 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3749 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3750 directly instead of __hurd_file_name_lookup.
a95dc01c 3751
712f1167
JM
37522019-01-21 Joseph Myers <joseph@codesourcery.com>
3753
3754 * scripts/build-many-glibcs.py (Context.checkout): Default
3755 binutils version to 2.32 branch.
3756
108bc404
FW
37572019-01-21 Florian Weimer <fweimer@redhat.com>
3758
3759 [BZ #20018]
3760 CVE-2016-10739
3761 resolv: Reject trailing characters in host names
3762 * include/arpa/inet.h (__inet_aton_exact): Declare.
3763 (inet_aton): Remove hidden prototype. No longer used internally.
3764 * nscd/gai.c (__inet_aton): Do not define.
3765 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3766 * nss/digits_dots.c (__inet_aton): Likewise.
3767 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3768 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3769 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3770 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3771 (tst-resolv-trailing): Likewise.
3772 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3773 libc.
3774 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3775 Make static. Add endp parameter.
3776 (__inet_aton_exact): New function.
3777 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3778 (__inet_addr): Call inet_aton_end.
3779 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3780 not just IPv6. Call __inet_aton_exact.
3781 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3782 (tests): Make const. Add additional test cases with trailing
3783 characters.
3784 (do_test): Use array_length.
3785 * resolv/tst-inet_aton_exact.c: New file.
3786 * resolv/tst-resolv-trailing.c: Likewise.
3787 * resolv/tst-resolv-nondecimal.c: Likewise.
3788 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3789
5165de69
L
37902019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3791
3792 [BZ# 24097]
3793 CVE-2019-6488
3794 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3795 Clear the upper 32 bits of RSI register.
3796 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3797 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3798 and tst-size_t-wcsnlen.
3799 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3800 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3801
c7c54f65
L
38022019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3803
3804 [BZ# 24097]
3805 CVE-2019-6488
3806 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3807 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3808 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3809 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3810 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3811
ee915088
L
38122019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3813
3814 [BZ# 24097]
3815 CVE-2019-6488
3816 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3817 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3818 * sysdeps/x86_64/strcmp.S: Likewise.
3819 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3820 tst-size_t-strncmp and tst-size_t-wcsncmp.
3821 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3822 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3823 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3824
82d0b4a4
L
38252019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3826
3827 [BZ# 24097]
3828 CVE-2019-6488
3829 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3830 RDX_LP for length. Clear the upper 32 bits of RDX register.
3831 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3832 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3833 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3834 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3835
ecd8b842
L
38362019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3837
3838 [BZ# 24097]
3839 CVE-2019-6488
3840 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3841 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3842 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3843 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3844
231c5676
L
38452019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3846
3847 [BZ# 24097]
3848 CVE-2019-6488
3849 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3850 length. Clear the upper 32 bits of RDX register.
3851 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3852 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3853 Likewise.
3854 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3855 Likewise.
3856 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3857 tst-size_t-wmemchr.
3858 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3859
b304fc20
L
38602019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3861
3862 [BZ# 24097]
3863 CVE-2019-6488
3864 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3865 length. Clear the upper 32 bits of RDX register.
3866 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3867 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3868 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3869 tst-size_t-wmemcmp.
3870 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3871 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3872
97700a34
L
38732019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3874
3875 [BZ# 24097]
3876 CVE-2019-6488
3877 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3878 upper 32 bits of RDX register.
3879 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3880 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3881 tst-size_t-wmemchr.
3882 * sysdeps/x86_64/x32/test-size_t.h: New file.
3883 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3884 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3885
6ca53a24
FW
38862019-01-18 Florian Weimer <fweimer@redhat.com>
3887
3888 [BZ #24112]
3889 resolv: Do not send queries for non-host-names in nss_dns.
3890 * resolv/nss_dns/dns-host.c (check_name): New function.
3891 (_nss_dns_gethostbyname2_r): Use it.
3892 (_nss_dns_gethostbyname_r): Likewise.
3893 (_nss_dns_gethostbyname4_r): Likewise.
3894
5e30b8ef
FW
38952019-01-21 Florian Weimer <fweimer@redhat.com>
3896
3897 * resolv/inet_addr.c: Reformat to GNU style.
3898 (__inet_addr, __inet_aton): Update comment.
3899
71effcea
FW
39002019-01-18 Florian Weimer <fweimer@redhat.com>
3901
3902 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3903 ("malloc: Use current (C11-style) atomics for fastbin access").
3904 This commit introduces a substantial performance regression on
3905 POWER and Aarch64.
3906 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3907 (REMOVE_FB): Define.
3908 (_int_malloc): Use it and reindent.
3909 (_int_free): Use CAS loop with
3910 catomic_compare_and_exchange_val_rel.
3911 (malloc_consolidate): Use atomic_exchange_acq.
3912
3913
562f4362
L
39142019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3915
3916 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3917 -Wl,-z,now.
3918 (LDFLAGS-tst-minsigstksz-2): Likewise.
3919 (LDFLAGS-tst-minsigstksz-3): Likewise.
3920 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3921 (LDFLAGS-tst-minsigstksz-4): Likewise.
3922
80dfa298
TS
39232019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3924
3925 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3926 than "alternate".
3927
008b598e
PC
39282019-01-16 Paul A. Clarke <pc@us.ibm.com>
3929
3930 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3931
fbbc9a4e
ZW
39322019-01-16 Zack Weinberg <zackw@panix.com>
3933
6b5c8607
TS
3934 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3935 (xget_sigstack_location): New test support functions.
3936 * support/xsigstack.c: New file, implementing them.
3937 * support/tst-xsigstack.c: New test for them.
3938 * support/Makefile: Update.
fbbc9a4e 3939
6b5c8607
TS
3940 * signal/tst-minsigstksz-1.c
3941 * signal/tst-minsigstksz-2.c
3942 * signal/tst-minsigstksz-3.c
3943 * signal/tst-minsigstksz-3a.c
3944 * signal/tst-minsigstksz-4.c: New tests.
3945 * signal/Makefile: Run them.
fbbc9a4e 3946
5f1135e4
SP
39472019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3948
3949 * po/libc.pot: Regenerate.
3950
ecdacd34
TMQMF
39512019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3952
3953 * math/libm-test-fma.inc (fma_test_data): Set
3954 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3955
56054664
RA
39562019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3957
3958 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3959 (do_test): Changed __vector __int128_t to __vector unsigned int.
3960
1a153e47
LS
39612019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3962
3963 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3964 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3965 stpcpy-avx2 and stpncpy-avx2.
3966 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3967 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3968 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3969 and __stpncpy_avx2.
3970 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3971 ifunc-strcpy.h}: rename header for a more generic name.
3972 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3973 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3974 AVX unaligned load is fast and vzeroupper is preferred.
3975 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3976 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3977 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3978 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3979 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3980 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3981
a1b02ae7
DL
39822019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3983
3984 * argp/argp-help.c: Fix typo in comment.
3985 * misc/sys/cdefs.h: Likewise.
3986 * posix/regexec.c (sift_states_iter_mb): Likewise.
3987 * socket/sockatmark.c: Likewise.
3988 * socket/sys/socket.h: Likewise.
3989 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3990 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3991 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3992 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3993 * sysdeps/unix/sockatmark.c: Likewise.
3994 * time/strptime_l.c: Likewise.
3995
5cbbf01e
TS
39962019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3997
3998 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3999 missing space after the cast of "_NL_CURRENT".
4000
0bc9bdf1
RA
40012019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
4002
4003 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
4004 ifdef to fix read of VSCR.
4005 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4006 tst-ucontext-ppc64-vscr.c to test list.
4007 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4008
5494af04
AH
40092019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4010
4011 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4012 fall-through.
4013
e17f63ff
JW
40142019-01-09 Jim Wilson <jimw@sifive.com>
4015
4016 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4017
02f440c1
WD
40182019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4019
4020 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4021 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4022 __memcpy_falkor for ares.
4023 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4024 Add new define.
4025 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4026 Add ares cpu.
4027
69da3c9e
L
40282019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4029
4030 [BZ #24066]
4031 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4032 4_FP_W_TYPEs are used for IEEE quad precision.
4033 * soft-fp/extendhftf2.c: Likewise.
4034 * soft-fp/extendsftf2.c: Likewise.
4035 * soft-fp/extendxftf2.c: Likewise.
4036 * soft-fp/trunctfdf2.c: Likewise.
4037 * soft-fp/trunctfhf2.c: Likewise.
4038 * soft-fp/trunctfsf2.c: Likewise.
4039 * soft-fp/trunctfxf2.c: Likewise.
4040 * sysdeps/alpha/ots_cvttx.c: Likewise.
4041 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4042 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4043 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4044 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4045 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4046 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4047 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4048 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4049 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4050 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4051 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4052 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4053 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4054 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4055 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4056 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4057 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4058
2ef42716
AJ
40592019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4060
4061 [BZ #24024]
4062 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4063 code with -fmath-errno.
4064 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4065 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4066 * string/test-strerror-errno.c: New file.
4067
7395f3a0
AJ
40682019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4069
4070 [BZ #24046]
4071 * localedata/locales/en_US (date_fmt): Add, set to
4072 "%a %d %b %Y %r %Z".
4073
010fe231
FW
40742019-01-07 Florian Weimer <fweimer@redhat.com>
4075
4076 [BZ #24063]
4077 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4078 instead of @var{errno}.
4079 (Parsing of Integers): Likewise.
4080 (Parsing of Floats): Likewise.
4081 * manual/filesys.texi (Working with Directory Trees): Likewise.
4082 (Temporary Files): Likewise.
4083 * manual/job.texi (Terminal Access Functions): Likewise.
4084 * manual/llio.texi (Synchronizing I/O): Likewise.
4085 * manual/math.texi (SVID Random): Likewise.
4086 * manual/message.texi (The catgets Functions): Likewise.
4087 (Translation with gettext): Likewise.
4088 (Locating gettext catalog): Likewise.
4089 (Charset conversion in gettext): Likewise.
4090 * manual/nss.texi (NSS Module Function Internals): Likewise.
4091 * manual/search.texi (Hash Search Function): Likewise.
4092 * manual/setjmp.texi (System V contexts): Likewise.
4093 * manual/time.texi (Sleeping): Likewise.
4094 * manual/users.texi (Lookup User): Likewise.
4095 (Lookup Group): Likewise.
4096
b79dc8d0
AZ
40972019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4098
4099 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4100 fix typo.
4101
890461fe 41022019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4103
4104 [BZ #19444]
4105 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4106 __builtin_unreachable for default case in switch.
4107 (__ieee754_yn): Likewise.
4108 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4109 (__ieee754_ynl): Likewise.
4110 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4111 (__ieee754_ynl): Likewise.
4112 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4113 (__ieee754_ynl): Likewise.
4114
8b18d418
SN
41152019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4116
4117 * manual/maint.texi: Use @{ and @}.
4118
4392898d
FW
41192019-01-04 Florian Weimer <fweimer@redhat.com>
4120
4121 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4122 function.
4123 (do_in_chroot_1): Call it.
4124 (run_chroot_tests):
4125 Improve error reporting in case it is not possible to create a
4126 collision for the PTY name required by the test.
4127
17cc27d5
AZ
41282019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4129
ce7eb0e9
AZ
4130 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4131 lll_wait_tid with timeout.
4132 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4133 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4134 futex_reltimed_wait_cancelable for cancelabla mode.
4135 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4136 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4137 macros.
4138 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4139 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4140 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4141 SYSCALL_CANCEL_NCS): New macro.
4142 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4143 (lll_timedwait_tid): Remove macro.
4144 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4145 Likewise.
4146 (lll_timedwait_tid): Likewise.
4147 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4148 Likewise.
4149 (lll_timedwait_tid): Likewise.
4150 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4151 Likewise.
4152 (lll_timedwait_tid): Likewise.
4153 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4154 Use INTERNAL_SYSCALL_CANCEL.
4155 * sysdeps/unix/sysv/linux/futex-internal.h
4156 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4157 instead of __pthread_{enable,disable}_asynccancel.
4158 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4159 (lll_futex_wait_cancel): New macro.
4160
0b13e255
AZ
4161 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4162 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4163
85c828a4
AZ
4164 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4165 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4166
d0d7f85f
AZ
4167 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4168 in backtrace analysis.
4169 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4170 side-effects.
4171 (tf_send): Likewise.
4172
17cc27d5
AZ
4173 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4174 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4175 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4176 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4177 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4178 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4179 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4180 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4181 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4182 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4183 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4184 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4185 Likewise.
4186 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4187 tst-cancel-wrappers.sh.
4188 (generated): Remove tst-cancel-wrappers.out.
4189 (tst-cancel-wrappers.out): Remove rule.
4190 * nptl/tst-cancel-wrappers.sh: Remove file.
4191
7d7af8f1
SN
41922019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4193
4194 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4195 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4196 Update.
4197
805334b2
AZ
41982019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4199
4200 [BZ #23640]
4201 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4202 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4203 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4204 close-on-exec reset for adddup2 file action.
4205 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4206
03992356
ZW
42072019-01-03 Zack Weinberg <zackw@panix.com>
4208
4209 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4210 parameter. Only use deprecated scanf when __USE_GNU is defined
4211 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4212 than 201103L, whichever is relevant for the language being compiled.
4213
4214 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4215 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4216 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4217 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4218 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4219
4220 * libio/iovsscanf.c
4221 * libio/fwscanf.c
4222 * libio/iovswscanf.c
4223 * libio/swscanf.c
4224 * libio/vscanf.c
4225 * libio/vwscanf.c
4226 * libio/wscanf.c
4227 * stdio-common/fscanf.c
4228 * stdio-common/scanf.c
4229 * stdio-common/vfscanf.c
4230 * stdio-common/vfwscanf.c
4231 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4232 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4233 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4234 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4235 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4236 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4237 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4238 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4239 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4240 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4241 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4242 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4243 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4244 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4245 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4246
4247 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4248 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4249 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4250 not sscanf.
4251 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4252 with a preprocessor macro.
4253
4254 * stdio-common/bug21.c, stdio-common/scanf14.c:
4255 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4256 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4257 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4258 to xscanf, xfscanf, xsscanf.
4259
4260 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4261 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4262 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4263 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4264 xfscanf, xsscanf.
4265 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4266 override feature selection macros or provide definitions of u_char etc.
4267 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4268 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4269 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4270 with -std=gnu89.
4271
8083afa5
AZ
42722019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4273
6f343c1f
AZ
4274 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4275 bits/termios-misc.h.
4276 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4277 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4278 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4279 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4280 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4281 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4282
51f4beb0
AZ
4283 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4284 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4285 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4286 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4287 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4288 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4289 termios-misc.h.
4290 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4291 (sysdep_headers): Add termios-misc.h.
4292
f69c5cb2
AZ
4293 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4294 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4295 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4296
3aa4a07e
AZ
4297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4298 termios-tcflow.h.
4299 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4300 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4301 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4302 TCSAFLUSH): Move to termios-tcflow.h.
4303 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4304 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4305 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4306 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4307
22679ddf
AZ
4308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4309 termios-c_lflag.h.
4310 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4311 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4312 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4313 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4314 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4315 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4316 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4317 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4318 Likewise.
4319 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4320 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4321 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4322 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4323
72eb6ecc
AZ
4324 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4325 termios-c_cflag.h.
4326 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4327 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4328 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4329 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4330 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4331 termios-c_cflag.h.
4332 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4333 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4334 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4335 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4336
9c5d0d02
AZ
4337 [BZ #23783]
4338 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4339 termios-baud.h.
4340 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4341 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4342 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4343 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4344 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4345 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4346 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4347 __MAX_BAUD): Move to termios-baud.h.
4348 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4349 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4350 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4352 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4353
7b832018
AZ
4354 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4355 termios-c_oflag.h.
4356 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4357 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4358 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4359 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4360 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4361 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4362 termios-c_oflag.h.
4363 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4364 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4365 FFR1): Likewise.
4366 [USE_MISC] (XTABS): Likewise.
4367 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4368 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4369 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4370 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4371
3127003e
AZ
4372 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4373 termios-c_iflag.h.
4374 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4375 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4376 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4377 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4378 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4379 IUTF8): Move to termios-c_iflag.h.
4380 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4381 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4382 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4383 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4384
48c1dd96
AZ
4385 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4386 termios-cc.h.
4387 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4388 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4389 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4390 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4391 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4392 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4393 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4394 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4395 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4396 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4397 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4398 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4399
e5a50db3
AZ
4400 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4401 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4402 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4403 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4404 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4405 termios-struct.h.
4406 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4407 termios-struct.h.
4408 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4409 Likewise.
4410 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4411 Likewise.
4412 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4413 Likewise.
4414 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4415 Likewise.
4416 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4417 _HAVE_C_OSPEED): Define.
4418 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4419 _HAVE_C_OSPEED): Likewise.
4420 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4421 _HAVE_C_OSPEED): Likewise.
4422 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4423 (cfsetospeed): Check for define value instead of existence.
4424 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4425 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4426 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4427 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4428 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4429
8083afa5
AZ
4430 [BZ #17783]
4431 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4432 Define.
4433 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4434 (TIOCSER_TEMT): Likewise.
4435 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4436 (TEOCSER_TEMT): Likewise.
4437
4d7d7dc6
P
44382019-01-02 PanderMusubi <pander@users.sourceforge.net>
4439
4440 [BZ #24011]
4441 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4442
8e291a29
JM
44432019-01-02 Joseph Myers <joseph@codesourcery.com>
4444
4445 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4446
55137f7d
ST
44472019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4448
4449 * sysdeps/htl/pt-barrierattr-setpshared.c
4450 (pthread_barrierattr_setpshared): Add stub warning.
4451 * sysdeps/htl/pt-condattr-setpshared.c
4452 (pthread_condattr_setpshared): Likewise.
4453 * sysdeps/htl/pt-mutexattr-setpshared.c
4454 (pthread_mutexattr_setpshared): Likewise.
4455 * sysdeps/htl/pt-rwlockattr-setpshared.c
4456 (pthread_rwlockattr_setpshared): Likewise.
4457 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4458 (pthread_mutexattr_setpshared): Likewise.
4459
2ce09e01
JM
44602019-01-02 Joseph Myers <joseph@codesourcery.com>
4461
acb55dcb
JM
4462 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4463 constants to match with Linux 4.20.
4464
2ce09e01
JM
4465 * sysdeps/mips/mips32/libm-test-ulps: Update.
4466 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4467
fe20bb1d
AJ
44682019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4469
4470 [BZ #24034]
4471 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4472 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4473 than __typeof (...) for the a_ptr variable.
4474
2d9837c1
GG
44752019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4476
4477 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4478 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4479 * libio/Makefile (tests): Add tst-sprintf-ub and
4480 tst-sprintf-chk-ub.
4481 (CFLAGS-tst-sprintf-ub.c): New variable.
4482 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4483 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4484 destination buffer and check for overflows in fortified mode.
4485 * libio/libioP.h (PRINTF_CHK): New macro.
4486 * libio/tst-sprintf-chk-ub.c: New file.
4487 * libio/tst-sprintf-ub.c: Likewise.
4488
d5c6df0b 44892019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4490
4491 [BZ #24018]
4492 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4493 failure.
4494
66081e38
FW
44952019-01-02 Florian Weimer <fweimer@redhat.com>
4496
4497 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4498
04277e02
JM
44992019-01-01 Joseph Myers <joseph@codesourcery.com>
4500
6ef3d225
JM
4501 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4502 macro.
4503
e3d4e292
JM
4504 * sysdeps/unix/sysv/linux/netpacket/packet.h
4505 (PACKET_IGNORE_OUTGOING): New macro.
4506
f4507797
JM
4507 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4508 macro.
4509
47ad5e1a
JM
4510 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4511 version to 4.20.
4512 (riscv_flush_icache): New syscall.
4513
7628a1b0
JM
4514 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4515 trailing whitespace removed.
4516 * scripts/config.guess: Update to version 2019-01-01.
4517 * scripts/config.sub: Update to version 2019-01-01.
4518 * scripts/move-if-change: Update from gnulib.
4519
c9123888
JM
4520 * NEWS: Update copyright dates.
4521 * catgets/gencat.c (print_version): Likewise.
4522 * csu/version.c (banner): Likewise.
4523 * debug/catchsegv.sh: Likewise.
4524 * debug/pcprofiledump.c (print_version): Likewise.
4525 * debug/xtrace.sh (do_version): Likewise.
4526 * elf/ldconfig.c (print_version): Likewise.
4527 * elf/ldd.bash.in: Likewise.
4528 * elf/pldd.c (print_version): Likewise.
4529 * elf/sotruss.sh: Likewise.
4530 * elf/sprof.c (print_version): Likewise.
4531 * iconv/iconv_prog.c (print_version): Likewise.
4532 * iconv/iconvconfig.c (print_version): Likewise.
4533 * locale/programs/locale.c (print_version): Likewise.
4534 * locale/programs/localedef.c (print_version): Likewise.
4535 * login/programs/pt_chown.c (print_version): Likewise.
4536 * malloc/memusage.sh (do_version): Likewise.
4537 * malloc/memusagestat.c (print_version): Likewise.
4538 * malloc/mtrace.pl: Likewise.
4539 * manual/libc.texinfo: Likewise.
4540 * nptl/version.c (banner): Likewise.
4541 * nscd/nscd.c (print_version): Likewise.
4542 * nss/getent.c (print_version): Likewise.
4543 * nss/makedb.c (print_version): Likewise.
4544 * posix/getconf.c (main): Likewise.
4545 * scripts/test-installation.pl: Likewise.
4546 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4547
04277e02
JM
4548 * All files with FSF copyright notices: Update copyright dates
4549 using scripts/update-copyrights.
4550 * locale/programs/charmap-kw.h: Regenerated.
4551 * locale/programs/locfile-kw.h: Likewise.
4552
e740e5b1
JM
45532018-12-31 Joseph Myers <joseph@codesourcery.com>
4554
4555 * timezone/zdump.c: Update from tzcode 2018i.
4556 * timezone/zic.c: Likewise.
4557
9b7f98b3
PE
45582018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4559
4560 regex: improve Gnulib port to AIX
4561 From the glibc point of view, this removes duplicate macro
4562 definitions and is obviously safe.
4563 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4564 * posix/regex_internal.h:
4565 (__attribute__, __attribute_warn_unused_result__):
4566 Remove; already defined elsewhere.
4567
b50dd3bc
FW
45682018-12-31 Florian Weimer <fw@deneb.enyo.de>
4569
4570 [BZ #24027]
4571 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4572 copying operation. (ncopies had the wrong type, resulting in an
4573 integer wraparound and too few elements being copied.)
4574
0b9c8490
L
45752018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4576
4577 [BZ #24022]
4578 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4579 <asm/syscalls.h> exists with __has_include__ before including it.
4580
01047fa6
JM
45812018-12-31 Joseph Myers <joseph@codesourcery.com>
4582
4583 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4584 version to 4.20.
4585
6b5c8607 45862018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4587
4588 * hurd/lookup-retry: Include <unistd.h>.
4589 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4590 Release it on return. Handle "pid" magical lookup retry.
4591
989182c4
RL
45922018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4593
4594 [BZ #10496]
4595 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4596 (t_fmt_ampm): Likewise.
4597 * localedata/locales/aa_ER (t_fmt): Likewise.
4598 (t_fmt_ampm): Likewise.
4599 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4600 (t_fmt_ampm): Likewise.
4601 * localedata/locales/aa_ET (t_fmt): Likewise.
4602 (t_fmt_ampm): Likewise.
4603 * localedata/locales/am_ET (t_fmt): Likewise.
4604 (t_fmt_ampm): Likewise.
4605 * localedata/locales/byn_ER (t_fmt): Likewise.
4606 (t_fmt_ampm): Likewise.
4607 * localedata/locales/om_ET (t_fmt): Likewise.
4608 (t_fmt_ampm): Likewise.
4609 * localedata/locales/sid_ET (t_fmt): Likewise.
4610 (t_fmt_ampm): Likewise.
4611 * localedata/locales/so_DJ (t_fmt): Likewise.
4612 (t_fmt_ampm): Likewise.
4613 * localedata/locales/so_ET (t_fmt): Likewise.
4614 (t_fmt_ampm): Likewise.
4615 * localedata/locales/so_SO (t_fmt): Likewise.
4616 (t_fmt_ampm): Likewise.
4617 * localedata/locales/ti_ER (t_fmt): Likewise.
4618 (t_fmt_ampm): Likewise.
4619 * localedata/locales/ti_ET (t_fmt): Likewise.
4620 (t_fmt_ampm): Likewise.
4621 * localedata/locales/tig_ER (t_fmt): Likewise.
4622 (t_fmt_ampm): Likewise.
4623 * localedata/locales/wal_ET (t_fmt): Likewise.
4624 (t_fmt_ampm): Likewise.
4625
4626 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4627 * localedata/locales/ar_IN (t_fmt): Likewise.
4628 * localedata/locales/bhb_IN (t_fmt): Likewise.
4629 * localedata/locales/bho_IN (t_fmt): Likewise.
4630 * localedata/locales/bi_VU (t_fmt): Likewise.
4631 * localedata/locales/bn_BD (t_fmt): Likewise.
4632 * localedata/locales/bn_IN (t_fmt): Likewise.
4633 * localedata/locales/brx_IN (t_fmt): Likewise.
4634 * localedata/locales/doi_IN (t_fmt): Likewise.
4635 * localedata/locales/en_HK (t_fmt): Likewise.
4636 (t_fmt_ampm): Likewise.
4637 * localedata/locales/en_IN (t_fmt): Likewise.
4638 * localedata/locales/en_PH (t_fmt): Likewise.
4639 * localedata/locales/gu_IN (t_fmt): Likewise.
4640 * localedata/locales/hi_IN (t_fmt): Likewise.
4641 * localedata/locales/hif_FJ (t_fmt): Likewise.
4642 * localedata/locales/hne_IN (t_fmt): Likewise.
4643 * localedata/locales/kn_IN (t_fmt): Likewise.
4644 * localedata/locales/kok_IN (t_fmt): Likewise.
4645 * localedata/locales/ks_IN (t_fmt): Likewise.
4646 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4647 * localedata/locales/mag_IN (t_fmt): Likewise.
4648 * localedata/locales/mai_IN (t_fmt): Likewise.
4649 * localedata/locales/mjw_IN (t_fmt): Likewise.
4650 * localedata/locales/ml_IN (t_fmt): Likewise.
4651 * localedata/locales/mni_IN (t_fmt): Likewise.
4652 * localedata/locales/mr_IN (t_fmt): Likewise.
4653 * localedata/locales/ms_MY (t_fmt): Likewise.
4654 * localedata/locales/pa_IN (t_fmt): Likewise.
4655 * localedata/locales/raj_IN (t_fmt): Likewise.
4656 * localedata/locales/sa_IN (t_fmt): Likewise.
4657 * localedata/locales/sat_IN (t_fmt): Likewise.
4658 * localedata/locales/sd_IN (t_fmt): Likewise.
4659 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4660 * localedata/locales/tcy_IN (t_fmt): Likewise.
4661 * localedata/locales/the_NP (t_fmt): Likewise.
4662 * localedata/locales/to_TO (t_fmt): Likewise.
4663 * localedata/locales/ur_IN (t_fmt): Likewise.
4664
4665 * localedata/locales/hif_FJ (d_t_fmt): Set to
4666 "%A %d %b %Y %I:%M:%S %p".
4667 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4668
4669 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4670 * localedata/locales/ar_BH (t_fmt): Likewise.
4671 * localedata/locales/ar_DZ (t_fmt): Likewise.
4672 * localedata/locales/ar_EG (t_fmt): Likewise.
4673 * localedata/locales/ar_IQ (t_fmt): Likewise.
4674 * localedata/locales/ar_JO (t_fmt): Likewise.
4675 * localedata/locales/ar_KW (t_fmt): Likewise.
4676 * localedata/locales/ar_LB (t_fmt): Likewise.
4677 * localedata/locales/ar_LY (t_fmt): Likewise.
4678 * localedata/locales/ar_OM (t_fmt): Likewise.
4679 * localedata/locales/ar_QA (t_fmt): Likewise.
4680 * localedata/locales/ar_SD (t_fmt): Likewise.
4681 * localedata/locales/ar_SS (t_fmt): Likewise.
4682 * localedata/locales/ar_SY (t_fmt): Likewise.
4683 * localedata/locales/ar_TN (t_fmt): Likewise.
4684 * localedata/locales/ar_YE (t_fmt): Likewise.
4685
4686 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4687 (t_fmt_ampm): Likewise.
4688 * localedata/locales/gez_ET (t_fmt): Likewise.
4689 (t_fmt_ampm): Likewise.
4690
4691 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4692 (t_fmt_ampm): Likewise.
4693 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4694
4695 * localedata/locales/zh_HK (t_fmt):
4696 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4697
4698 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4699 because this locale does not use the 12-hour clock.
4700 (t_fmt): Set to "%Z %H:%M:%S".
4701 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4702
4703 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4704 because this locale does not use the 12-hour clock.
4705 (t_fmt): Set to "%H:%M:%S %Z".
4706 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4707
4708 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4709 because this locale does not use the 12-hour clock.
4710 (t_fmt): Set to "%T".
4711 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4712 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4713
4714 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4715 because this locale does not use the 12-hour clock.
4716 (t_fmt): Set to "%H:%M:%S %Z".
4717 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4718
4719 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4720 because this locale does not use the 12-hour clock.
4721 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4722 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4723
27841a7d
RL
47242018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4725
4726 [BZ #10496]
4727 [BZ #23724]
4728 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4729 (t_fmt_ampm): Likewise.
4730 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4731 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4732 (d_fmt): Set to "%-d.%-m.%y".
4733
0253580a
AZ
47342018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4735
4736 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4737 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4738 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4739 Likewise.
4740 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4741 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4742 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4743 function.
4744 * support/blob_repeat.c (check_mul_overflow_size_t,
4745 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4746
09104e5b
AJ
47472018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4748
4749 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4750
c0feb731
PE
47512018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4752
4753 regex: simplify Gnulib port
4754 This simplifies the code, by removing stuff intended for porting
4755 to Gnulib but no longer needed there.
4756 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4757 uses of libc_hidden_def, weak_alias.
4758 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4759 _Restrict_ except for public-facing headers.
4760 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4761 Remove; already defined elsewhere.
4762 * posix/regex.c, posix/regex_internal.h:
4763 Use __GNUC_PREREQ instead of rolling our own.
4764 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4765
5289f1f5
WD
47662018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4767
4768 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4769 (memchr_strlen): New function.
5289f1f5 4770
ba4b8fab
L
47712018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4772
4773 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4774 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4775 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4776
9412979a
L
47772018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4778
4779 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4780
8700a785
L
47812018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4782
4783 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4784 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4785 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4786 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4787 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4788 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4789 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4790
57b3ff8e
JM
47912018-12-21 Joseph Myers <joseph@codesourcery.com>
4792
4793 [BZ #24023]
4794 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4795 PLT reference in libc.so.
4796 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4797 _Q_lltoq and _Q_qtod PLT references in libc.so.
4798
90d3320d
WD
47992018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4800
4801 * benchtests/bench-memchr.c: Cleanup defines.
4802 * benchtests/bench-memcmp.c: Likewise.
4803 * benchtests/bench-memset.c: Likewise.
4804 * benchtests/bench-memset-large.c: Likewise.
4805 * benchtests/bench-memset-walk.c: Likewise.
4806 * benchtests/bench-stpcpy.c: Likewise.
4807 * benchtests/bench-stpncpy.c: Likewise.
4808 * benchtests/bench-strcat.c: Likewise.
4809 * benchtests/bench-strchr.c: Likewise.
4810 * benchtests/bench-strcmp.c: Likewise.
4811 * benchtests/bench-strcpy.c: Likewise.
4812 * benchtests/bench-strcspn.c: Likewise.
4813 * benchtests/bench-string.h: Likewise.
4814 * benchtests/bench-strlen.c: Likewise.
4815 * benchtests/bench-strncat.c: Likewise.
4816 * benchtests/bench-strncmp.c: Likewise.
4817 * benchtests/bench-strncpy.c: Likewise.
4818 * benchtests/bench-strnlen.c: Likewise.
4819 * benchtests/bench-strpbrk.c: Likewise.
4820 * benchtests/bench-strrchr.c: Likewise.
4821 * benchtests/bench-strspn.c: Likewise.
4822
192963be
JM
48232018-12-21 Joseph Myers <joseph@codesourcery.com>
4824
5d025ea6
JM
4825 * stdlib/longlong.h: Update from GCC.
4826
192963be
JM
4827 [BZ #23993]
4828 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4829 * configure: Regenerated.
4830 * manual/install.texi (Tools for Compilation): Update minimum GCC
4831 version.
4832 * INSTALL: Regenerated.
4833
6b5c8607 48342018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4835
4836 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4837
6b5c8607 48382018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4839
4840 * malloc/malloc.c (mremap_chunk): Additional checks.
4841
5f72b005
MH
48422018-12-21 Mao Han <han_mao@c-sky.com>
4843
4844 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4845 * scripts/build-many-glibcs.py: Add C-SKY targets.
4846 * sysdeps/csky/Implies: New file.
4847 * sysdeps/csky/Makefile: Likewise.
4848 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4849 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4850 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4851 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4852 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4853 * sysdeps/csky/abiv2/memmove.S: Likewise.
4854 * sysdeps/csky/abiv2/memset.S: Likewise.
4855 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4856 * sysdeps/csky/abiv2/start.S: Likewise.
4857 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4858 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4859 * sysdeps/csky/abiv2/strlen.S: Likewise.
4860 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4861 * sysdeps/csky/abort-instr.h: Likewise.
4862 * sysdeps/csky/atomic-machine.h: Likewise.
4863 * sysdeps/csky/bits/endian.h: Likewise.
4864 * sysdeps/csky/bits/fenv.h: Likewise.
4865 * sysdeps/csky/bits/link.h: Likewise.
4866 * sysdeps/csky/bits/setjmp.h: Likewise.
4867 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4868 * sysdeps/csky/bsd-setjmp.S: Likewise.
4869 * sysdeps/csky/configure: Likewise.
4870 * sysdeps/csky/configure.ac: Likewise.
4871 * sysdeps/csky/dl-machine.h: Likewise.
4872 * sysdeps/csky/dl-procinfo.c: Likewise.
4873 * sysdeps/csky/dl-procinfo.h: Likewise.
4874 * sysdeps/csky/dl-sysdep.h: Likewise.
4875 * sysdeps/csky/dl-tls.h: Likewise.
4876 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4877 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4878 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4879 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4880 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4881 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4882 * sysdeps/csky/fpu/fegetround.c: Likewise.
4883 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4884 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4885 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4886 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4887 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4888 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4889 * sysdeps/csky/fpu/fesetround.c: Likewise.
4890 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4891 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4892 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4893 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4894 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4895 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4896 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4897 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4898 * sysdeps/csky/fpu_control.h: Likewise.
4899 * sysdeps/csky/gccframe.h: Likewise.
4900 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4901 * sysdeps/csky/ldsodefs.h: Likewise.
4902 * sysdeps/csky/libc-tls.c: Likewise.
4903 * sysdeps/csky/linkmap.h: Likewise.
4904 * sysdeps/csky/machine-gmon.h: Likewise.
4905 * sysdeps/csky/memusage.h: Likewise.
4906 * sysdeps/csky/nofpu/Implies: Likewise.
4907 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4908 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4909 * sysdeps/csky/nptl/Makefile: Likewise.
4910 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4911 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4912 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4913 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4914 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4915 * sysdeps/csky/nptl/tls.h: Likewise.
4916 * sysdeps/csky/preconfigure: Likewise.
4917 * sysdeps/csky/sfp-machine.h: Likewise.
4918 * sysdeps/csky/sotruss-lib.c: Likewise.
4919 * sysdeps/csky/stackinfo.h: Likewise.
4920 * sysdeps/csky/sysdep.h: Likewise.
4921 * sysdeps/csky/tininess.h: Likewise.
4922 * sysdeps/csky/tst-audit.h: Likewise.
4923 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4924 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4925 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4926 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4927 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4928 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4929 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4930 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4931 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4932 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4933 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4934 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4935 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4936 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4937 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4938 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4939 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4940 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4941 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4942 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4943 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4944 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4945 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4946 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4947 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4949 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4950 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4951 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4952 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4953 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4954 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4955 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4956 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4957 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4958 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4959 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4960 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4961 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4962 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4963 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4964 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4965 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4966 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4967
6b5c8607 49682018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4969
4970 * include/time.h (__difftime64): Add.
4971 * time/difftime.c (subtract): convert to 64-bit time.
4972 * time/difftime.c (__difftime64): Add.
4973 * time/difftime.c (__difftime): Wrap around __difftime64.
4974
ab416931
L
49752018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4976
4977 * manual/examples/add.c: Remove redundant "if not".
4978 * manual/examples/argp-ex1.c: Likewise.
4979 * manual/examples/argp-ex2.c: Likewise.
4980 * manual/examples/argp-ex3.c: Likewise.
4981 * manual/examples/argp-ex4.c: Likewise.
4982 * manual/examples/atexit.c: Likewise.
4983 * manual/examples/db.c: Likewise.
4984 * manual/examples/dir.c: Likewise.
4985 * manual/examples/dir2.c: Likewise.
4986 * manual/examples/execinfo.c: Likewise.
4987 * manual/examples/filecli.c: Likewise.
4988 * manual/examples/filesrv.c: Likewise.
4989 * manual/examples/fmtmsgexpl.c: Likewise.
4990 * manual/examples/genpass.c: Likewise.
4991 * manual/examples/inetcli.c: Likewise.
4992 * manual/examples/inetsrv.c: Likewise.
4993 * manual/examples/isockad.c: Likewise.
4994 * manual/examples/longopt.c: Likewise.
4995 * manual/examples/memopen.c: Likewise.
4996 * manual/examples/memstrm.c: Likewise.
4997 * manual/examples/mkdirent.c: Likewise.
4998 * manual/examples/mkfsock.c: Likewise.
4999 * manual/examples/mkisock.c: Likewise.
5000 * manual/examples/mygetpass.c: Likewise.
5001 * manual/examples/pipe.c: Likewise.
5002 * manual/examples/popen.c: Likewise.
5003 * manual/examples/rprintf.c: Likewise.
5004 * manual/examples/search.c: Likewise.
5005 * manual/examples/select.c: Likewise.
5006 * manual/examples/setjmp.c: Likewise.
5007 * manual/examples/sigh1.c: Likewise.
5008 * manual/examples/sigusr.c: Likewise.
5009 * manual/examples/stpcpy.c: Likewise.
5010 * manual/examples/strdupa.c: Likewise.
5011 * manual/examples/strftim.c: Likewise.
5012 * manual/examples/subopt.c: Likewise.
5013 * manual/examples/swapcontext.c: Likewise.
5014 * manual/examples/termios.c: Likewise.
5015 * manual/examples/testopt.c: Likewise.
5016 * manual/examples/testpass.c: Likewise.
5017 * manual/examples/timeval_subtract.c: Likewise.
5018
515f463f
JM
50192018-12-19 Joseph Myers <joseph@codesourcery.com>
5020
da75c1b1
JM
5021 * sysdeps/x86/fpu/math_private.h: New file.
5022 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5023
515f463f
JM
5024 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5025 definition.
5026 (cosh): Likewise.
5027 (tanh): Likewise.
5028
1616d034
TMQMF
50292018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5030
5031 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5032 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5033 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5034 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5035 fields.
5036 (_dl_show_auxv): Give a special treatment to
5037 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5038 and AT_L3_CACHEGEOMETRY.
5039 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5040 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5041 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5042 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5043
61595e3d
AS
50442018-12-19 Andreas Schwab <schwab@suse.de>
5045
5046 * nscd/connections.c (check_use): Don't abort on invalid len.
5047
bbb7dc84
ST
50482018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5049
5050 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5051 values in the 64bit value cases.
5052
6b5c8607 50532018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 5054
c4c2836a
AA
5055 * include/time.h
5056 (__ctime64_r): Add.
5057 * time/ctime_r.c
5058 (__ctime64_r): Add.
5059 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5060
7755e504
AA
5061 * include/time.h
5062 (__ctime64): Add.
5063 * time/gmtime.c
5064 (__ctime64): Add.
5065 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5066
a1d346ce
AA
5067 * include/time.h
5068 (__gmtime64_r): Add.
5069 * time/gmtime.c
5070 (__gmtime64_r): Add.
5071 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5072
131db8b0
AA
5073 * include/time.h
5074 (__gmtime64): Add.
5075 * time/gmtime.c
5076 (__gmtime64): Add.
5077 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5078
64c2277d
AA
5079 * include/time.h
5080 (__localtime64_r): Add.
5081 * time/localtime.c
5082 (__localtime64_r): Add.
5083 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5084
56b98bf1
AZ
50852018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5086
64dd7a16
AZ
5087 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5088 kernel_sigction definition.
5089
8b1d5da5
AZ
5090 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5091
f9eabb19
AZ
5092 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5093
56b98bf1
AZ
5094 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5095 __syscall_rt_sigaction.
5096 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5097 (kernel_sigaction): Use Linux generic defintion.
5098 (STUB): Define.
5099 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5100 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5101 (__syscall_rt_sigaction): Remove implementation.
5102 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5103 hidden.
5104 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5105 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5106 INTERNAL_SYSCALL): Remove definitions.
5107 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5108 action and signal set size.
5109 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5110 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5111
43a45c2d
AZ
51122018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5113 James Clarke <jrtc27@jrtc27.com>
5114
dfa6216f 5115 [BZ #23967]
43a45c2d
AZ
5116 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5117 Define if SA_RESTORER is defined.
5118 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5119 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5120 already defined.
5121 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5122 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5123 definitions.
5124 (HAS_SA_RESTORER): Define.
5125 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5126 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5127 (HAS_SA_RESTORER): Define.
5128 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5129 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5130 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5131 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5132 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5133
646ce7e0
JM
51342018-12-18 Joseph Myers <joseph@codesourcery.com>
5135
5136 * sysdeps/unix/sysv/linux/kernel-features.h
5137 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5138 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5139 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5140 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5141 (__ASSUME_ST_INO_64_BIT): Likewise.
5142 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5143 <kernel-features.h>.
5144 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5145 Remove conditional code.
5146 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5147 <kernel-features.h>.
5148 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5149 Remove conditional code.
5150 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5151 <kernel-features.h>.
5152 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5153 Remove conditional code.
5154 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5155 <kernel-features.h>.
5156 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5157 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5158
80190d2b
SL
51592018-12-18 Stefan Liebler <stli@linux.ibm.com>
5160
5161 * sysdeps/s390/multiarch/ifunc-resolve.h
5162 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5163 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5164 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5165 Delete macro definition.
5166 (s390_libc_ifunc_init): Rename to
5167 s390_libc_ifunc_expr_stfle_init.
5168 * sysdeps/s390/bzero: Use
5169 s390_libc_ifunc_expr_stfle_init instead of
5170 s390_libc_ifunc_init.
5171 * sysdeps/s390/memcmp.c: Likewise.
5172 * sysdeps/s390/memcpy.c: Likewise.
5173 * sysdeps/s390/mempcpy.c: Likewise.
5174 * sysdeps/s390/memset.c: Likewise.
5175
12f0dcb8
SL
51762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5177
5178 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5179 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5180
25654a8c
SL
51812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5182
5183 * sysdeps/s390/multiarch/Makefile
5184 (sysdep_routines): Remove wmemcmp variants.
5185 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5186 * sysdeps/s390/multiarch/ifunc-impl-list.c
5187 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5188 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5189 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5190 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5191 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5192 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5193 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5194 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5195
d2a7436c
SL
51962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5197
5198 * sysdeps/s390/multiarch/Makefile
5199 (sysdep_routines): Remove wmemset variants.
5200 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5201 * sysdeps/s390/multiarch/ifunc-impl-list.c
5202 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5203 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5204 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5205 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5206 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5207 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5208 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5209 * sysdeps/s390/ifunc-wmemset.h: New file.
5210
c62534ae
SL
52112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5212
5213 * sysdeps/s390/multiarch/Makefile
5214 (sysdep_routines): Remove wmemchr variants.
5215 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5216 * sysdeps/s390/multiarch/ifunc-impl-list.c
5217 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5218 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5219 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5220 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5221 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5222 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5223 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5224 * sysdeps/s390/ifunc-wmemchr.h: New file.
5225
79b44cf6
SL
52262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5227
5228 * sysdeps/s390/multiarch/Makefile
5229 (sysdep_routines): Remove wcscspn variants.
5230 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5231 * sysdeps/s390/multiarch/ifunc-impl-list.c
5232 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5233 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5234 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5235 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5236 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5237 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5238 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5239 * sysdeps/s390/ifunc-wcscspn.h: New file.
5240
8e87c1f6
SL
52412018-12-18 Stefan Liebler <stli@linux.ibm.com>
5242
5243 * sysdeps/s390/multiarch/Makefile
5244 (sysdep_routines): Remove wcspbrk variants.
5245 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5246 * sysdeps/s390/multiarch/ifunc-impl-list.c
5247 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5248 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5249 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5250 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5251 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5252 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5253 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5254 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5255
8507e831
SL
52562018-12-18 Stefan Liebler <stli@linux.ibm.com>
5257
5258 * sysdeps/s390/multiarch/Makefile
5259 (sysdep_routines): Remove wcsspn variants.
5260 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5261 * sysdeps/s390/multiarch/ifunc-impl-list.c
5262 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5263 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5264 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5265 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5266 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5267 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5268 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5269 * sysdeps/s390/ifunc-wcsspn.h: New file.
5270
4753713a
SL
52712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5272
5273 * sysdeps/s390/multiarch/Makefile
5274 (sysdep_routines): Remove wcsrchr variants.
5275 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5276 * sysdeps/s390/multiarch/ifunc-impl-list.c
5277 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5278 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5279 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5280 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5281 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5282 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5283 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5284 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5285
c09c1b6f
SL
52862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5287
5288 * sysdeps/s390/multiarch/Makefile
5289 (sysdep_routines): Remove wcschrnul variants.
5290 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5291 * sysdeps/s390/multiarch/ifunc-impl-list.c
5292 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5293 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5294 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5295 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5296 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5297 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5298 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5299 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5300
cf3ccc31
SL
53012018-12-18 Stefan Liebler <stli@linux.ibm.com>
5302
5303 * sysdeps/s390/multiarch/Makefile
5304 (sysdep_routines): Remove wcschr variants.
5305 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5306 * sysdeps/s390/multiarch/ifunc-impl-list.c
5307 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5308 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5309 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5310 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5311 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5312 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5313 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5314 * sysdeps/s390/ifunc-wcschr.h: New file.
5315
e9873e1d
SL
53162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5317
5318 * sysdeps/s390/multiarch/Makefile
5319 (sysdep_routines): Remove wcsncmp variants.
5320 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5321 * sysdeps/s390/multiarch/ifunc-impl-list.c
5322 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5323 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5324 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5325 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5326 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5327 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5328 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5329 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5330
3459e23d
SL
53312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5332
5333 * sysdeps/s390/multiarch/Makefile
5334 (sysdep_routines): Remove wcscmp variants.
5335 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5336 * sysdeps/s390/multiarch/ifunc-impl-list.c
5337 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5338 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5339 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5340 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5341 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5342 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5343 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5344 * sysdeps/s390/ifunc-wcscmp.h: New file.
5345
814a76e1
SL
53462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5347
5348 * sysdeps/s390/multiarch/Makefile
5349 (sysdep_routines): Remove wcsncat variants.
5350 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5351 * sysdeps/s390/multiarch/ifunc-impl-list.c
5352 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5353 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5354 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5355 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5356 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5357 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5358 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5359 * sysdeps/s390/ifunc-wcsncat.h: New file.
5360
3389cae4
SL
53612018-12-18 Stefan Liebler <stli@linux.ibm.com>
5362
5363 * sysdeps/s390/multiarch/Makefile
5364 (sysdep_routines): Remove wcscat variants.
5365 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5366 * sysdeps/s390/multiarch/ifunc-impl-list.c
5367 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5368 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5369 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5370 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5371 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5372 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5373 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5374 * sysdeps/s390/ifunc-wcscat.h: New file.
5375
c3081bcb
SL
53762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5377
5378 * sysdeps/s390/multiarch/Makefile
5379 (sysdep_routines): Remove wcpncpy variants.
5380 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5381 * sysdeps/s390/multiarch/ifunc-impl-list.c
5382 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5383 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5384 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5385 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5386 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5387 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5388 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5389 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5390
0966dd86
SL
53912018-12-18 Stefan Liebler <stli@linux.ibm.com>
5392
5393 * sysdeps/s390/multiarch/Makefile
5394 (sysdep_routines): Remove wcsncpy variants.
5395 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5396 * sysdeps/s390/multiarch/ifunc-impl-list.c
5397 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5398 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5399 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5400 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5401 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5402 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5403 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5404 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5405
0582e428
SL
54062018-12-18 Stefan Liebler <stli@linux.ibm.com>
5407
5408 * sysdeps/s390/multiarch/Makefile
5409 (sysdep_routines): Remove wcpcpy variants.
5410 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5411 * sysdeps/s390/multiarch/ifunc-impl-list.c
5412 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5413 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5414 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5415 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5416 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5417 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5418 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5419 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5420
804f2e5c
SL
54212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5422
5423 * sysdeps/s390/multiarch/Makefile
5424 (sysdep_routines): Remove wcscpy variants.
5425 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5426 * sysdeps/s390/multiarch/ifunc-impl-list.c
5427 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5428 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5429 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5430 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5431 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5432 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5433 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5434 * sysdeps/s390/ifunc-wcscpy.h: New file.
5435
c7e7cd26
SL
54362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5437
5438 * sysdeps/s390/multiarch/Makefile
5439 (sysdep_routines): Remove wcsnlen variants.
5440 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5441 * sysdeps/s390/multiarch/ifunc-impl-list.c
5442 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5443 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5444 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5445 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5446 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5447 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5448 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5449 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5450
2e02d0b7
SL
54512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5452
5453 * sysdeps/s390/multiarch/Makefile
5454 (sysdep_routines): Remove wcslen variants.
5455 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5456 * sysdeps/s390/multiarch/ifunc-impl-list.c
5457 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5458 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5459 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5460 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5461 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5462 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5463 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5464 * sysdeps/s390/ifunc-wcslen.h: New file.
5465
89bfcbdf
SL
54662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5467
5468 * sysdeps/s390/multiarch/Makefile
5469 (sysdep_routines): Remove memrchr variants.
5470 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5471 * sysdeps/s390/multiarch/ifunc-impl-list.c
5472 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5473 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5474 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5475 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5476 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5477 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5478 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5479 * sysdeps/s390/ifunc-memrchr.h: New file.
5480
196655ba
SL
54812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5482
5483 * sysdeps/s390/multiarch/Makefile
5484 (sysdep_routines): Remove memccpy variants.
5485 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5486 * sysdeps/s390/multiarch/ifunc-impl-list.c
5487 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5488 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5489 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5490 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5491 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5492 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5493 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5494 * sysdeps/s390/ifunc-memccpy.h: New file.
5495
4c7b3cec
SL
54962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5497
5498 * sysdeps/s390/multiarch/Makefile
5499 (sysdep_routines): Remove rawmemchr variants.
5500 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5501 * sysdeps/s390/multiarch/ifunc-impl-list.c
5502 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5503 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5504 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5505 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5506 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5507 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5508 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5509 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5510
581a051c
SL
55112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5512
5513 * sysdeps/s390/multiarch/Makefile
5514 (sysdep_routines): Remove memchr variants.
5515 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5516 * sysdeps/s390/multiarch/ifunc-impl-list.c
5517 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5518 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5519 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5520 * sysdeps/s390/multiarch/memchr.c: Move to ...
5521 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5522 * sysdeps/s390/ifunc-memchr.h: New file.
5523 * sysdeps/s390/s390-64/memchr.S: Move to ...
5524 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5525 for 31/64bit and ifunc handling.
5526 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5527 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5528 * sysdeps/s390/s390-32/memchr.S: Likewise.
5529
5d2ec20a
SL
55302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5531
5532 * sysdeps/s390/multiarch/Makefile
5533 (sysdep_routines): Remove strcspn variants.
5534 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5535 * sysdeps/s390/multiarch/ifunc-impl-list.c
5536 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5537 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5538 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5539 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5540 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5541 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5542 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5543 * sysdeps/s390/ifunc-strcspn.h: New file.
5544
572cca93
SL
55452018-12-18 Stefan Liebler <stli@linux.ibm.com>
5546
5547 * sysdeps/s390/multiarch/Makefile
5548 (sysdep_routines): Remove strpbrk variants.
5549 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5550 * sysdeps/s390/multiarch/ifunc-impl-list.c
5551 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5552 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5553 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5554 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5555 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5556 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5557 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5558 * sysdeps/s390/ifunc-strpbrk.h: New file.
5559
483fc569
SL
55602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5561
5562 * sysdeps/s390/multiarch/Makefile
5563 (sysdep_routines): Remove strspn variants.
5564 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5565 * sysdeps/s390/multiarch/ifunc-impl-list.c
5566 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5567 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5568 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5569 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5570 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5571 * sysdeps/s390/multiarch/strspn.c: Move to ...
5572 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5573 * sysdeps/s390/ifunc-strspn.h: New file.
5574
26ea8760
SL
55752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5576
5577 * sysdeps/s390/multiarch/Makefile
5578 (sysdep_routines): Remove strrchr variants.
5579 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5580 * sysdeps/s390/multiarch/ifunc-impl-list.c
5581 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5582 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5583 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5584 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5585 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5586 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5587 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5588 * sysdeps/s390/ifunc-strrchr.h: New file.
5589
a1361e65
SL
55902018-12-18 Stefan Liebler <stli@linux.ibm.com>
5591
5592 * sysdeps/s390/multiarch/Makefile
5593 (sysdep_routines): Remove strchrnul variants.
5594 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5595 * sysdeps/s390/multiarch/ifunc-impl-list.c
5596 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5597 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5598 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5599 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5600 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5601 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5602 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5603 * sysdeps/s390/ifunc-strchrnul.h: New file.
5604
32f12653
SL
56052018-12-18 Stefan Liebler <stli@linux.ibm.com>
5606
5607 * sysdeps/s390/multiarch/Makefile
5608 (sysdep_routines): Remove strchr variants.
5609 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5610 * sysdeps/s390/multiarch/ifunc-impl-list.c
5611 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5612 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5613 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5614 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5615 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5616 * sysdeps/s390/multiarch/strchr.c: Move to ...
5617 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5618 * sysdeps/s390/ifunc-strchr.h: New file.
5619
316b8842
SL
56202018-12-18 Stefan Liebler <stli@linux.ibm.com>
5621
5622 * sysdeps/s390/multiarch/Makefile
5623 (sysdep_routines): Remove strncmp variants.
5624 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5625 * sysdeps/s390/multiarch/ifunc-impl-list.c
5626 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5627 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5628 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5629 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5630 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5631 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5632 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5633 * sysdeps/s390/ifunc-strncmp.h: New file.
5634
cdab85fe
SL
56352018-12-18 Stefan Liebler <stli@linux.ibm.com>
5636
5637 * sysdeps/s390/multiarch/Makefile
5638 (sysdep_routines): Remove strcmp variants.
5639 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5640 * sysdeps/s390/multiarch/ifunc-impl-list.c
5641 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5642 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5643 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5644 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5645 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5646 * sysdeps/s390/ifunc-strcmp.h: New file.
5647 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5648 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5649 for 31/64bit and ifunc handling.
5650 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5651 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5652 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5653
b9353351
SL
56542018-12-18 Stefan Liebler <stli@linux.ibm.com>
5655
5656 * sysdeps/s390/multiarch/Makefile
5657 (sysdep_routines): Remove strncat variants.
5658 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5659 * sysdeps/s390/multiarch/ifunc-impl-list.c
5660 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5661 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5662 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5663 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5664 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5665 * sysdeps/s390/multiarch/strncat.c: Move to ...
5666 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5667 * sysdeps/s390/ifunc-strncat.h: New file.
5668
8e5a0afb
SL
56692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5670
5671 * sysdeps/s390/multiarch/Makefile
5672 (sysdep_routines): Remove strcat variants.
5673 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5674 * sysdeps/s390/multiarch/ifunc-impl-list.c
5675 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5676 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5677 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5678 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5679 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5680 * sysdeps/s390/multiarch/strcat.c: Move to ...
5681 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5682 * sysdeps/s390/ifunc-strcat.h: New file.
5683
25218822
SL
56842018-12-18 Stefan Liebler <stli@linux.ibm.com>
5685
5686 * sysdeps/s390/multiarch/Makefile
5687 (sysdep_routines): Remove stpncpy variants.
5688 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5689 * sysdeps/s390/multiarch/ifunc-impl-list.c
5690 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5691 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5692 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5693 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5694 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5695 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5696 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5697 * sysdeps/s390/ifunc-stpncpy.h: New file.
5698
d1bdbf38
SL
56992018-12-18 Stefan Liebler <stli@linux.ibm.com>
5700
5701 * sysdeps/s390/multiarch/Makefile
5702 (sysdep_routines): Remove strncpy variants.
5703 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5704 * sysdeps/s390/multiarch/ifunc-impl-list.c
5705 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5706 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5707 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5708 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5709 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5710 * sysdeps/s390/ifunc-strncpy.h: New file.
5711 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5712 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5713 and adjust ifunc handling.
5714 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5715 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5716 and adjust ifunc handling.
5717 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5718 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5719
97044931
SL
57202018-12-18 Stefan Liebler <stli@linux.ibm.com>
5721
5722 * sysdeps/s390/multiarch/Makefile
5723 (sysdep_routines): Remove stpcpy variants.
5724 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5725 * sysdeps/s390/multiarch/ifunc-impl-list.c
5726 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5727 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5728 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5729 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5730 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5731 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5732 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5733 * sysdeps/s390/ifunc-stpcpy.h: New file.
5734
914a4e05
SL
57352018-12-18 Stefan Liebler <stli@linux.ibm.com>
5736
5737 * sysdeps/s390/multiarch/Makefile
5738 (sysdep_routines): Remove strcpy variants.
5739 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5740 * sysdeps/s390/multiarch/ifunc-impl-list.c
5741 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5742 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5743 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5744 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5745 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5746 * sysdeps/s390/ifunc-strcpy.h: New file.
5747 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5748 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5749 for 31/64bit and ifunc handling.
5750 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5751 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5752 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5753
de10e44d
SL
57542018-12-18 Stefan Liebler <stli@linux.ibm.com>
5755
5756 * sysdeps/s390/multiarch/Makefile
5757 (sysdep_routines): Remove strnlen variants.
5758 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5759 * sysdeps/s390/multiarch/ifunc-impl-list.c
5760 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5761 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5762 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5763 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5764 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5765 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5766 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5767 * sysdeps/s390/ifunc-strnlen.h: New file.
5768
ff3ca374
SL
57692018-12-18 Stefan Liebler <stli@linux.ibm.com>
5770
5771 * sysdeps/s390/multiarch/Makefile
5772 (sysdep_routines): Remove strlen variants.
5773 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5774 * sysdeps/s390/multiarch/ifunc-impl-list.c
5775 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5776 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5777 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5778 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5779 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5780 * sysdeps/s390/multiarch/strlen.c: Move to ...
5781 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5782 * sysdeps/s390/ifunc-strlen.h: New file.
5783
d2c4c403
SL
57842018-12-18 Stefan Liebler <stli@linux.ibm.com>
5785
5786 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5787 * sysdeps/s390/multiarch/ifunc-impl-list.c
5788 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5789 * sysdeps/s390/ifunc-memmem.h: New file.
5790 * sysdeps/s390/memmem.c: Likewise.
5791 * sysdeps/s390/memmem-c.c: Likewise.
5792 * sysdeps/s390/memmem-vx.c: Likewise.
5793
8c25dddd
SL
57942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5795
5796 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5797 * sysdeps/s390/multiarch/ifunc-impl-list.c
5798 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5799 * sysdeps/s390/ifunc-strstr.h: New file.
5800 * sysdeps/s390/strstr.c: Likewise.
5801 * sysdeps/s390/strstr-c.c: Likewise.
5802 * sysdeps/s390/strstr-vx.c: Likewise.
5803
cdd927d9
SL
58042018-12-18 Stefan Liebler <stli@linux.ibm.com>
5805
5806 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5807 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5808 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5809 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5810 New defines.
5811 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5812 * sysdeps/s390/memmove-c.c: New file.
5813 * sysdeps/s390/memmove.c: Likewise.
5814 * sysdeps/s390/multiarch/ifunc-impl-list.c
5815 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5816
2ee1bc57
SL
58172018-12-18 Stefan Liebler <stli@linux.ibm.com>
5818
5819 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5820 * sysdeps/s390/configure.ac: Add check for z13 support.
5821 * sysdeps/s390/configure: Regenerated.
5822
d097d976
SL
58232018-12-18 Stefan Liebler <stli@linux.ibm.com>
5824
5825 * sysdeps/s390/memcopy.h: New file.
5826
e099aab0
SL
58272018-12-18 Stefan Liebler <stli@linux.ibm.com>
5828
5829 * sysdeps/s390/s390-32/bcopy.S: Remove.
5830 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5831
18eb862d
SL
58322018-12-18 Stefan Liebler <stli@linux.ibm.com>
5833
5834 * sysdeps/s390/ifunc-memcpy.h: New File.
5835 * sysdeps/s390/memcpy.S: Move to ...
5836 * sysdeps/s390/memcpy-z900.S ... here.
5837 Move implementations from memcpy-s390x.s to here.
5838 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5839 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5840 Remove memcpy/mempcpy variants.
5841 * sysdeps/s390/Makefile (sysdep_routines):
5842 Add memcpy/mempcpy variants.
5843 * sysdeps/s390/multiarch/ifunc-impl-list.c
5844 (__libc_ifunc_impl_list): Adjust ifunc variants for
5845 memcpy and mempcpy.
5846 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5847 to ...
5848 * sysdeps/s390/memcpy.c: ... here.
5849 Adjust ifunc variants for memcpy.
5850 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5851 * sysdeps/s390/mempcpy.c: ... here.
5852 Adjust ifunc variants for mempcpy.
5853 * sysdeps/s390/mempcpy.S: Delete file.
5854
df3eb8de
SL
58552018-12-18 Stefan Liebler <stli@linux.ibm.com>
5856
5857 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5858 * sysdeps/s390/memcpy.S: ... here.
5859 Adjust to be usable for 31/64bit.
5860 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5861 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5862 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5863 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5864 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5865 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5866 Adjust to be usable for 31/64bit.
5867 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5868 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5869 * sysdeps/s390/multiarch/memcpy.c: ... here.
5870 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5871
b7e024a8
SL
58722018-12-18 Stefan Liebler <stli@linux.ibm.com>
5873
5874 * sysdeps/s390/ifunc-memcmp.h: New File.
5875 * sysdeps/s390/memcmp.S: Move to ...
5876 * sysdeps/s390/memcmp-z900.S ... here.
5877 Move implementations from memcmp-s390x.s to here.
5878 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5879 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5880 Remove memcmp variants.
5881 * sysdeps/s390/Makefile (sysdep_routines):
5882 Add memcmp variants.
5883 * sysdeps/s390/multiarch/ifunc-impl-list.c
5884 (__libc_ifunc_impl_list): Adjust ifunc variants for
5885 memcmp.
5886 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5887 to ...
5888 * sysdeps/s390/memcmp.c: ... here.
5889 Adjust ifunc variants for memcmp.
5890
6c6b8c74
SL
58912018-12-18 Stefan Liebler <stli@linux.ibm.com>
5892
5893 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5894 * sysdeps/s390/memcmp.S: ... here.
5895 Adjust to be usable for 31/64bit.
5896 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5897 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5898 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5899 Remove memcmp.
5900 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5901 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5902 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5903 Adjust to be usable for 31/64bit.
5904 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5905 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5906 * sysdeps/s390/multiarch/memcmp.c: ... here.
5907 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5908
07be3928
SL
59092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5910
5911 * sysdeps/s390/s390-32/bzero.S: Delete file.
5912 * sysdeps/s390/s390-64/bzero.S: Likewise.
5913 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5914 * sysdeps/s390/bzero.c: New file.
5915 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5916 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5917 * sysdeps/s390/multiarch/ifunc-impl-list.c
5918 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5919
712a254a
SL
59202018-12-18 Stefan Liebler <stli@linux.ibm.com>
5921
5922 * sysdeps/s390/ifunc-memset.h: New File.
5923 * sysdeps/s390/memset.S: Move to ...
5924 * sysdeps/s390/memset-z900.S ... here.
5925 Move implementations from memset-s390x.s to here.
5926 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5927 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5928 Remove memset variants.
5929 * sysdeps/s390/Makefile (sysdep_routines):
5930 Add memset variants.
5931 * sysdeps/s390/multiarch/ifunc-impl-list.c
5932 (__libc_ifunc_impl_list): Adjust ifunc variants for
5933 memset.
5934 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5935 to ...
5936 * sysdeps/s390/memset.c: ... here.
5937 Adjust ifunc variants for memset.
5938
5f1743d1
SL
59392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5940
5941 * sysdeps/s390/s390-64/memset.S: Move to ...
5942 * sysdeps/s390/memset.S: ... here.
5943 Adjust to be usable for 31/64bit.
5944 * sysdeps/s390/s390-32/memset.S: Delete File.
5945 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5946 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5947 Remove memset.
5948 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5949 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5950 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5951 Adjust to be usable for 31/64bit.
5952 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5953 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5954 * sysdeps/s390/multiarch/memset.c: ... here.
5955 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5956
e8023f26
SL
59572018-12-18 Stefan Liebler <stli@linux.ibm.com>
5958
5959 * sysdeps/s390/multiarch/ifunc-resolve.h
5960 (s390_libc_ifunc_init, s390_libc_ifunc,
5961 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5962
b8686c0d
SL
59632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5964
5965 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5966 * sysdeps/s390/configure.ac: Add check for z10 support.
5967 * sysdeps/s390/configure: Regenerated.
5968
cd815050
L
59692018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5970
5971 * sysdeps/i386/atomic-machine.h: Merged with ...
5972 * sysdeps/x86_64/atomic-machine.h: To ...
5973 * sysdeps/x86/atomic-machine.h: This. New file.
5974
053c52b1
FW
59752018-12-18 Florian Weimer <fweimer@redhat.com>
5976
5977 Rewrite locale/gen-translit.pl in Python.
5978 * locale/Makefile (generated): Add C-translit.h.
5979 (before-compile): Add $(objpfx)C-translit.h.
5980 (C-translit.h): Move to $(objpfx). Create target directory.
5981 Build using Python script.
5982 * locale/gen-translit.py: New file.
5983 * locale/gen-translit.pl: Remove file.
5984 * locale/C-translit.h.in: Change comment character to '#' for
5985 easier parsing without a C preprocessor.
5986 * locale/C-translit.h: Remove generated file.
5987 * manual/install.texi (Tools for Compilation): Do not mention
5988 C-translit.h.
5989 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5990 Remove locale/C-translit.h.
5991 * scripts/update-copyrights: Likewise.
5992 * INSTALL: Regenerate.
5993
40e6c1ec
FW
59942018-12-18 Florian Weimer <fweimer@redhat.com>
5995
5996 [BZ #23995]
5997 * localedata/locales/bi_VU: Remove executable bit from file.
5998
6b5c8607 59992018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
6000
6001 * include/time.h
6002 (__localtime64): Add.
6003 * manual/maint.texi: Document Y2038 symbol handling.
6004 * time/localtime.c
6005 (__localtime64): Add.
bfb79db4 6006 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 6007
df648905
JM
60082018-12-17 Joseph Myers <joseph@codesourcery.com>
6009
551e81d9
JM
6010 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6011 Do not clobber r12.
6012
df648905
JM
6013 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6014 to allow extra macros from first or second sources.
6015 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6016 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6017 (tests-special): Add $(objpfx)tst-mman-consts.out.
6018 ($(objpfx)tst-mman-consts.out): New makefile target.
6019
6bbfc5c0
MH
60202018-12-17 Mao Han <han_mao@c-sky.com>
6021
6022 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6023 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6024 without stat64 system call support.
6025 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6026 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6027 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6028 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6029 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6030 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6031 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6032 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6033 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6034 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6035 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6036
ef202e53
PE
60372018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6038
6039 regex: fix storage-exhaustion error
6040 [BZ #18040]
6041 * posix/regexec.c (get_subexp):
6042 Do not continue if storage is exhausted.
6043
077caf61
AG
60442018-12-15 Assaf Gordon <assafgordon@gmail.com>
6045
6046 regex: fix heap-use-after-free error
6047 [BZ #18040]
6048 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6049 https://debbugs.gnu.org/32592
6050 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6051 call extend_buffers which reallocates the re_string_t internal buffer.
6052 Local variable 'buf' was not updated in such case, resulting in
6053 use-after-free.
6054 * posix/regexec.c (get_subexp): Update 'buf' after call to
6055 get_subexp_sub.
6056
0c1719e6
FW
60572018-12-15 Florian Weimer <fweimer@redhat.com>
6058
6059 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6060 (minimum_stride_size): Use it.
6061 (support_blob_repeat_allocate): Likewise.
6062
033a2c0a
JM
60632018-12-14 Joseph Myers <joseph@codesourcery.com>
6064
6065 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6066 definition.
6067 (acosh): Likewise.
6068 (atanh): Likewise.
6069
e361dc04
FW
60702018-12-14 Florian Weimer <fweimer@redhat.com>
6071
6072 * manual/process.texi (Process Creation Concepts): Remove
6073 documentation of process (ID) lifetime. List more process
6074 creation functions. Reference Process Identification section.
6075 (Process Identification): Add information about process ID
6076 lifetime. Describe Linux thread/task IDs.
6077 * manual/signal.texi (Signaling Another Process): Mention that the
6078 signal is always sent to the process.
6079
bd51ff5e
GG
60802018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6081
6082 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6083 and tst-ldbl-efgcvt.
6084 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6085 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6086 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6087 (fcvt_tests, output_error, output_r_error, do_test): Use the
6088 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6089 select the type of floating-point variables and arguments; to
6090 produce extra tests for double and conversion specifiers for
6091 printf; and to set the names of called functions.
6092 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6093 in tst-efgcvt-template.c.
6094 * misc/tst-ldbl-efgcvt.c: Likewise.
6095
268bb71e
SL
60962018-12-14 Stefan Liebler <stli@linux.ibm.com>
6097
6098 * nss/Makefile (tst-nss-test3.out): New rule.
6099
db6df070
JM
61002018-12-13 Joseph Myers <joseph@codesourcery.com>
6101
6102 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6103 clobber sp.
6104
ade8b817
CD
61052018-12-13 fanjinke <fanjinke@hygon.cn>
6106
6107 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6108 "HygonGenuine".
6109
3d265911
AS
61102018-12-13 Andreas Schwab <schwab@suse.de>
6111
f21e8f8c 6112 [BZ #23861]
3d265911 6113 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6114 (__pthread_rwlock_rdlock_full): Update expected value for
6115 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6116 * nptl/tst-rwlock-pwn.c: New file.
6117 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6118
bf8ae8c0
JM
61192018-12-12 Joseph Myers <joseph@codesourcery.com>
6120
6121 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6122 definition.
6123
de099757
LS
61242018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6125
6126 * benchtests/scripts/compare_bench.py (do_compare): write to
6127 stderr in casestat is not present.
6128 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6129 stderr in case timings field is not present. Also string showing
6130 the output filename goes into the stderr.
6131
1990185f
LS
61322018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6133
6134 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6135 and ZeroDivisorError exceptions.
6136 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6137 argument to loop through user provided statistics.
6138 * benchtests/scripts/compare_bench.py (main): Include the --stats
6139 argument.
6140
587426d4
LS
61412018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6142
6143 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6144 instead of return.
6145
46703efa
FW
61462018-12-12 Florian Weimer <fweimer@redhat.com>
6147
6148 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6149 clause to copyright header.
6150
1d880d4a
TMQMF
61512018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6152
6153 [BZ #23614]
6154 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6155 registers saved in the stack frame.
6156 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6157 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6158
1a502f52
GG
61592018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6160
6161 * include/bits/monetary-ldbl.h: New file.
6162 * include/bits/printf-ldbl.h: Likewise.
6163 * include/bits/stdio-ldbl.h: Likewise.
6164 * include/bits/stdlib-ldbl.h: Likewise.
6165 * include/bits/syslog-ldbl.h: Likewise.
6166 * include/bits/wchar-ldbl.h: Likewise.
6167
df682d1d
GG
61682018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6169
6170 * libio/libio.h: Remove redirection for _IO_vfprintf.
6171
c2c082c1
AS
61722018-12-11 Andreas Schwab <schwab@suse.de>
6173
6174 * Makerules: Remove all references to abilist-pattern.
6175 (update-all-abi): Simplify find expression.
6176
505b5b29
SN
61772018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6178
6179 [BZ #23961]
6180 * math/auto-libm-test-in: Add new test case.
6181 * math/auto-libm-test-out-pow: Regenerated.
6182 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6183
304c61a2
DD
61842018-12-10 DJ Delorie <dj@redhat.com>
6185
6186 [BZ #23948]
6187 * support/test-container.c: Move postclean step to before we
6188 change namespaces.
6189
a8110b72
JM
61902018-12-10 Joseph Myers <joseph@codesourcery.com>
6191
cb7be159
JM
6192 * scripts/gen-as-const.py (main): Handle --python option.
6193 * scripts/gen-py-const.awk: Remove.
6194 * Makerules (py-const-script): Use gen-as-const.py.
6195 ($(py-const)): Likewise.
6196 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6197 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6198 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6199 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6200 ~PTHREAD_MUTEX_NO_ELISION_NP.
6201 * manual/README.pretty-printers: Update reference to
6202 gen-py-const.awk.
6203
a8110b72
JM
6204 * scripts/glibcextract.py: New file.
6205 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6206 or tempfile. Import glibcexctract.
6207 (compute_c_consts): Remove. Moved to glibcextract.py.
6208 (gen_test): Update reference to compute_c_consts.
6209 (main): Likewise.
6210 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6211 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6212 * sysdeps/unix/sysv/linux/Makefile
6213 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6214 Redirect stderr as well as stdout.
6215
f9ba9eb8
RÁE
62162018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6217
6218 [BZ #19767]
6219 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6220 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6221 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6222 ALWAYS_USE_VSYSCALL.
b39d961c 6223 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6224 ALWAYS_USE_VSYSCALL.
6225 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6226 ALWAYS_USE_VSYSCALL.
6227
8d20a2f4
FW
62282018-12-10 Florian Weimer <fweimer@redhat.com>
6229
6230 [BZ #23972]
6231 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6232 offset instead of count for clarity. Fix typo in comment.
6233 (__old_getdents64): Keep track of previous offset. Use it to call
6234 handle_overflow.
6235 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6236 that d_off is never zero.
6237
80472e2f
AS
62382018-12-10 Andreas Schwab <schwab@suse.de>
6239
6240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6241 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6243 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6244 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6245
0afcb29d
JM
62462018-12-10 Joseph Myers <joseph@codesourcery.com>
6247
6248 * timezone/private.h: Update from tzcode 2018g.
6249 * timezone/tzfile.h: Likewise.
6250 * timezone/tzselect.ksh: Likewise.
6251 * timezone/zdump.c: Likewise.
6252 * timezone/zic.c: Likewise.
6253
b93f4052
PP
62542018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6255
6256 [BZ #23490]
6257 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6258 (do_test): Adjust buffer size and fix format.
6259
7c9a7c68
DD
62602018-12-07 DJ Delorie <dj@redhat.com>
6261
6262 [BZ #23907]
6263 * malloc/tst-tcfree3.c: New.
6264 * malloc/Makefile: Add it.
6265
37caec3a
L
62662018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6267
6268 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6269
10446f5d
GG
62702018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6271
6272 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6273 used as a mask for the mode argument of __vfscanf_internal and
6274 __vfwscanf_internal.
6275 * stdio-common/vfscanf-internal.c
6276 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6277 (__strtof128_internal): Define to __wcstof128_internal.
6278 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6279 __strtof128_internal or __wcstof128_internal when the format of
6280 long double is the same as _Float128.
6281
45f33aac
ST
62822018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6283
6284 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6285 * posix/confstr.c (confstr): Rename to __confstr.
6286 (__confstr): Add hidden def.
6287 (confstr): Add weak alias for __confstr.
6288 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6289 confstr.
6290
a092ca94
L
62912018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6292
6293 * NEWS: Mention getcpu.
6294 * include/sched.h (__getcpu): New libc_hidden_proto.
6295 * manual/resource.texi: Document getcpu.
6296 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6297 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6298 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6299 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6300 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6301 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6302 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6303 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6304 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6305 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6306 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6307 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6308 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6309 Likewise.
6310 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6311 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6312 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6314 Likewise.
6315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6316 Likewise.
6317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6318 Likewise.
6319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6320 Likewise.
6321 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6323 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6325 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6326 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6327 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6328 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6329 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6330 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6331 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6332 Also check getcpu.
6333
7c857b6f
ST
63342018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6335
6336 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6337 functions.
6338 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6339
3a3fb755
FW
63402018-12-07 Florian Weimer <fweimer@redhat.com>
6341
6342 [BZ #17405]
6343 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6344 * posix/Versions (GLIBC_2.29): Export
6345 posix_spawn_file_actions_addfchdir_np.
6346 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6347 * posix/spawn_faction_destroy.c
6348 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6349 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6350 and the field action.fchdir_action.
6351 * posix/tst-spawn-chdir.c (add_chdir): New function.
6352 (do_test): Add do_fchdir loop. Call add_chdir.
6353 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6354 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6355 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6356 posix_spawn_file_actions_addfchdir_np.
6357 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6358 Likewise.
6359 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6360 Likewise.
6361 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6362 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6363 Likewise.
6364 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6365 Likewise.
6366 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6367 Likewise.
6368 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6369 Likewise.
6370 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6371 Likewise.
6372 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6373 Likewise.
6374 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6375 (GLIBC_2.29): Likewise.
6376 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6377 (GLIBC_2.29): Likewise.
6378 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6379 (GLIBC_2.29): Likewise.
6380 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6381 (GLIBC_2.29): Likewise.
6382 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6383 Likewise.
6384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6385 (GLIBC_2.29): Likewise.
6386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6387 (GLIBC_2.29): Likewise.
6388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6389 (GLIBC_2.29): Likewise.
6390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6391 (GLIBC_2.29): Likewise.
6392 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6393 Likewise.
6394 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6395 Likewise.
6396 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6397 Likewise.
6398 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6399 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6400 Likewise.
6401 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6402 Likewise.
6403 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6404 Likewise.
6405 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6406 Likewise.
6407
c37cd439
JM
64082018-12-06 Joseph Myers <joseph@codesourcery.com>
6409
6410 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6411 trailing whitespace removed.
6412 * scripts/config.guess: Update to version 2018-11-28.
6413 * scripts/config.sub: Update to version 2018-11-28.
6414 * scripts/install-sh: Update to version 2018-03-11.20.
6415 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6416 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6417
899478c2
FW
64182018-12-07 Florian Weimer <fweimer@redhat.com>
6419
6420 [BZ #23927]
6421 CVE-2018-19591
6422 * inet/tst-if_index-long.c: New file.
6423 * inet/Makefile (tests): Add tst-if_index-long.
6424
f255336a
FW
64252018-12-07 Florian Weimer <fweimer@redhat.com>
6426
6427 * support/check.h (support_record_failure_is_failed): Declare.
6428 * support/descriptors.h: New file.
6429 * support/support_descriptors.c: Likewise.
6430 * support/tst-support_descriptors.c: Likewise.
6431 * support/support_record_failure.c
6432 (support_record_failure_is_failed): New function.
6433 * support/Makefile (libsupport-routines): Add support_descriptors.
6434 (tests): Add tst-support_descriptors.
6435
35caceb1
ZW
64362018-12-05 Zack Weinberg <zackw@panix.com>
6437 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6438
6439 * stdio-common/vfprintf-internal.c
6440 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6441 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6442 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6443 and __no_long_double.
6444 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6445 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6446 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6447 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6448 and __nldbl_*syslog* functions.
6449 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6450 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6451 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6452 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6453 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6454 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6455 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6456 (__nldbl_vwprintf, __nldbl_wprintf):
6457 Directly call the appropriate __v*printf_internal routine, passing
6458 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6459 variable names.
6460 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6461 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6462 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6463 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6464 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6465 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6466 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6467 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6468 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6469 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6470 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6471 (__nldbl_syslog, __nldbl_vsyslog):
6472 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6473 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6474 appropriate.
6475 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6476 appropriate.
6477
4e2f43f8
ZW
64782018-12-05 Zack Weinberg <zackw@panix.com>
6479 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6480
6481 [BZ #11319]
6482 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6483 Moved here from debug/vsprintf_chk.c.
6484 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6485 and completion logic for the strfile to match exactly what
6486 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6487 _IO_str_init_static_internal instead of maxlen-1.
6488 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6489 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6490 __vsprintf_internal.
6491
6492 * debug/vsprintf_chk.c (__vsprintf_chk)
6493 * debug/sprintf_chk.c (__sprintf_chk):
6494 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6495 'flags' argument is positive, and slen as maxlen. No need to lock
6496 the FILE and/or construct a temporary FILE. Minimize and normalize
6497 header inclusions and variable names. Do not libc_hidden_def anything.
6498
6499 * debug/asprintf_chk.c (__asprintf_chk)
6500 * debug/dprintf_chk.c (__dprintf_chk)
6501 * debug/fprintf_chk.c (__fprintf_chk)
6502 * debug/fwprintf_chk.c (__fwprintf_chk)
6503 * debug/printf_chk.c (__printf_chk)
6504 * debug/snprintf_chk.c (__snprintf_chk)
6505 * debug/swprintf_chk.c (__swprintf_chk)
6506 * debug/vasprintf_chk.c (__vasprintf_chk)
6507 * debug/vdprintf_chk.c (__vdprintf_chk)
6508 * debug/vfprintf_chk.c (__vfprintf_chk)
6509 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6510 * debug/vprintf_chk.c (__vprintf_chk)
6511 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6512 * debug/vswprintf_chk.c (__vswprintf_chk)
6513 * debug/vwprintf_chk.c (__vwprintf_chk)
6514 * debug/wprintf_chk.c (__wprintf_chk):
6515 Directly call the corresponding vxxprintf_internal function, passing
6516 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6517 the FILE and/or construct a temporary FILE. Minimize and normalize
6518 header inclusions and variable names. Do not libc_hidden_def anything.
6519
6520 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6521 __obstack_vprintf_internal.
6522 (__obstack_vprintf_chk): Convert into a wrapper that calls
6523 __obstack_vprintf_internal (these two functions already had the
6524 same code) and move to new file...
6525 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6526 file.
6527 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6528 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6529 * debug/Makefile (routines): Add vobprintf_chk.
6530
6531 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6532 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6533 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6534 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6535 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6536 (__nldbl___obstack_vfprintf_chk):
6537 Directly call the corresponding vxxprintf_internal function,
6538 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6539 duplicate comparison of slen with 0 or maxlen from the corresponding
6540 non-__nldbl function.
6541
6542 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6543 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6544 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6545 Remove libc_hidden_proto.
6546
6547 * stdio-common/vfprintf-internal.c
6548 (__vfprintf_internal, __vfwprintf_internal):
6549 Do not check _IO_FLAGS2_FORTIFY.
6550 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6551 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6552 a comment explaining why it has the maxlen argument.
6553 (_IO_acquire_lock_clear_flags2_fct): Remove.
6554 (_IO_acquire_lock_clear_flags2): Remove.
6555 (_IO_release_lock): Remove conditional statement which will
6556 now never execute.
6557 (_IO_acquire_lock): Remove variable which is now unused.
6558 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6559 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6560
6561 * stdio-common/Makefile (tests): Add tst-bz11319 and
6562 tst-bz11319-fortify2.
6563 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6564 * stdio-common/tst-bz11319-fortify2.c: New file.
6565 * stdio-common/tst-bz11319.c: Likewise.
6566
124fc732
ZW
65672018-12-05 Zack Weinberg <zackw@panix.com>
6568 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6569
6570 * misc/syslog.c: Include libioP.h, not iolibio.h.
6571 (__vsyslog_internal): New function with the former body of
6572 __vsyslog_chk; takes mode_flags argument same as
6573 __v*printf_internal. Call __vfprintf_internal directly.
6574
6575 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6576 Remove libc_hidden_def.
6577 (__syslog, __syslog_chk): Use __vsyslog_internal.
6578 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6579
6580 * include/sys/syslog.h: Add multiple inclusion guard.
6581 Add prototype for __vsyslog_internal.
6582 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6583
6584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6585 Use __vsyslog_internal.
6586
698fb75b
ZW
65872018-12-05 Zack Weinberg <zackw@panix.com>
6588 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6589
6590 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6591 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6592 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6593 New functions.
6594 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6595 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6596
6597 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6598 Include wctype.h here if COMPILE_WPRINTF is defined.
6599 Define __vfprintf_internal or __vfwprintf_internal, depending
6600 on COMPILE_WPRINTF.
6601 Temporarily, on entry to this function, update mode_flags
6602 according to the environmental settings corresponding to
6603 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6604 Throughout, check mode_flags instead of __ldbl_is_dbl and
6605 _IO_FLAGS2_FORTIFY on the destination FILE.
6606 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6607 Include vfprintf-internal.c. Don't include wctype.h.
6608 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6609 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6610 and vfprintf.
6611 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6612 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6613 and vfwprintf.
6614 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6615
6616 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6617 and add mode_flags argument; use __vfprintf_internal.
6618 (__vdprintf): New function. Alias vdprintf to this.
6619 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6620 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6621 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6622 (__obstack_printf): Use __obstack_printf_internal.
6623 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6624 public aliases __vsnprintf and vsnprintf.
6625 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6626 called internally.
6627 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6628 public aliases _IO_vsprintf and vsprintf.
6629 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6630 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6631 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6632 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6633 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6634
6635 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6636 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6637 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6638 * stdio-common/printf.c: Use __vfprintf_internal.
6639
6640 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6641 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6642 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6643
6644 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6645 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6646 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6647 __vfwprintf_internal.
6648
6649 * libio/libio.h: Remove libc_hidden_proto and declaration for
6650 _IO_vfprintf.
6651 Remove declaration of _IO_vfwprintf.
6652 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6653 _IO_vsprintf.
6654 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6655 _IO_obstack_printf.
6656 * include/stdio.h: Add prototype for __vasprintf.
6657 (__vsnprintf): Remove declaration, because there are no more
6658 internal calls.
6659 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6660 declaration, because there are no more internal calls.
6661
6662 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6663 __vsnprintf_internal, instead of _IO_vsnprintf.
6664 * argp/argp-help.c (__argp_error, __argp_failure): Use
6665 __vasprintf_internal, instead of _IO_vasprintf.
6666 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6667 redefine, because there are no more internal calls.
6668
d91798b3
ZW
66692018-12-05 Zack Weinberg <zackw@panix.com>
6670 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6671
6672 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6673 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6674 Include libio/strfile.h instead of libioP.h.
6675 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6676 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6677 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6678 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6679 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6680 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6681 necessary. Do not set __no_long_double. Normalize variable names.
6682 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6683 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6684 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6685 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6686 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6687 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6688 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6689 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6690 Do not set __no_long_double. Normalize variable names.
6691
b87eb3f8
ZW
66922018-12-05 Zack Weinberg <zackw@panix.com>
6693 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6694
6695 * stdio-common/isoc99_scanf.c
6696 * stdio-common/isoc99_fscanf.c
6697 * stdio-common/isoc99_sscanf.c
6698 * stdio-common/isoc99_vscanf.c
6699 * stdio-common/isoc99_vfscanf.c
6700 * stdio-common/isoc99_vsscanf.c
6701 * wcsmbs/isoc99_wscanf.c
6702 * wcsmbs/isoc99_fwscanf.c
6703 * wcsmbs/isoc99_swscanf.c
6704 * wcsmbs/isoc99_vwscanf.c
6705 * wcsmbs/isoc99_vfwscanf.c
6706 * wcsmbs/isoc99_vswscanf.c:
6707 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6708 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6709 No need to lock and unlock the FILE passed to that function.
6710
6711 * stdio-common/vfscanf-internal.c
6712 (__vfscanf_internal, __vfwscanf_internal):
6713 Don't look at _IO_FLAGS2_SCANF_STD.
6714 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6715 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6716 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6717
349718d4
ZW
67182018-12-05 Zack Weinberg <zackw@panix.com>
6719 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6720
6721 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6722 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6723 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6724 * libio/strfile.h: Add multiple inclusion guard.
6725 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6726
6727 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6728 consistency with the other version of this file.
6729 (ldbl_compat_symbol): New macro.
6730 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6731 New macro.
6732
6733 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6734 Define __vfscanf_internal or __vfwscanf_internal, depending on
6735 COMPILE_WSCANF; don't define any other public symbols.
6736 Remove errval and code to set errp.
6737 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6738 as the mode_flags argument.
6739 (encode_error, conv_error, input_error): Don't set errval.
6740 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6741 Include vfscanf-internal.c.
6742 * stdio-common/vfscanf.c: New file defining the public entry
6743 point vfscanf, which calls __vfscanf_internal.
6744 * stdio-common/vfwscanf.c: New file defining the public entry
6745 point vfwscanf, which calls __vfwscanf_internal.
6746
6747 * stdio-common/iovfscanf.c: New file.
6748 * stdio-common/iovfwscanf.c: Likewise.
6749
6750 * stdio-common/Makefile (routines): Add vfscanf-internal,
6751 vfwscanf-internal, iovfscanf, iovfwscanf.
6752 * stdio-common/Versions: Mention GLIBC_2.29, so that
6753 it can be used in SHLIB_COMPAT expressions.
6754 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6755 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6756 Call __vfscanf_internal, instead of _IO_vfscanf.
6757 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6758 _IO_vfscanf.
6759 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6760 _IO_vfwscanf.
6761
6762 * libio/iovsscanf.c: Clean up includes, when possible. Use
6763 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6764 __vfscanf_internal or __vfwscanf_internal directly.
6765 * libio/iovswscanf.c: Likewise.
6766 * libio/swscanf.c: Likewise.
6767 * libio/vscanf.c: Likewise.
6768 * libio/vwscanf.c: Likewise.
6769 * libio/wscanf.c: Likewise.
6770 * stdio-common/isoc99_fscanf.c: Likewise.
6771 * stdio-common/isoc99_scanf.c: Likewise.
6772 * stdio-common/isoc99_sscanf.c: Likewise.
6773 * stdio-common/isoc99_vfscanf.c: Likewise.
6774 * stdio-common/isoc99_vscanf.c: Likewise.
6775 * stdio-common/isoc99_vsscanf.c: Likewise.
6776 * stdio-common/scanf.c: Likewise.
6777 * stdio-common/sscanf.c: Likewise.
6778 * wcsmbs/isoc99_fwscanf.c: Likewise.
6779 * wcsmbs/isoc99_swscanf.c: Likewise.
6780 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6781 * wcsmbs/isoc99_vswscanf.c: Likewise.
6782 * wcsmbs/isoc99_vwscanf.c: Likewise.
6783 * wcsmbs/isoc99_wscanf.c: Likewise.
6784
6b5c8607 67852018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6786
6787 * include/time.h
6788 (__tz_compute): Replace time_t with __time64_t.
6789 (__tz_convert): Replace time_t* with __time64_t.
6790 (__offtime): Replace time_t* with __time64_t.
6791 * time/gmtime.c
6792 (__gmtime_r): Adjust call to __tz_convert.
6793 (gmtime): Likewise.
6794 * time/localtime.c
6795 (__localtime_r): Likewise.
6796 (localtime): Likewise.
6797 * time/offtime.c: Replace time_t with __time64_t.
6798 * time/tzset.c: Likewise.
6799
bd598da9
JM
68002018-12-04 Joseph Myers <joseph@codesourcery.com>
6801
6802 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6803 dynamic linker unless [$(run-built-tests) = yes].
6804
b2e93de0
DD
68052018-12-03 DJ Delorie <dj@delorie.com>
6806
6807 * support/test-container.c (check_for_unshare_hints): New.
6808 (main): Call it if unshare fails. Add support for "su" scriptlet
6809 command.
6810
477a02f6
JM
68112018-12-03 Joseph Myers <joseph@codesourcery.com>
6812
6813 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6814 'START' to indicate that start text should be output.
6815 (gen_test): Likewise.
6816 (main): Generate 'START' for first symbol or '--' line, or at end
6817 of input if not previously generated.
6818
6af956e5
RÁE
68192018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6820
6821 [BZ #19767]
6822 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6823 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6824 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6825 ALWAYS_USE_VSYSCALL.
6826
f5ec0ea9
AZ
68272018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6828
6829 [BZ #23913]
6830 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6831 new_argv by one.
6832
8cebd4ff
CD
68332018-12-03 Carlos O'Donell <carlos@redhat.com>
6834
6835 [BZ #23923]
6836 * locale/programs/localedef.c: Declare boolean hard_links default true.
6837 (options): Add --no-hard-links option.
6838 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6839 * locale/programs/localedef.h: Declare prototype for hard_links.
6840 * locale/programs/locfile.c (write_locale_data): Don't use hard
6841 links if hard_links is false.
6842
c22e4c2a
L
68432018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6844
6845 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6846 cpu_features_basic.
6847 (__cache_sysconf): Likewise.
6848 (init_cacheinfo): Likewise.
6849 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6850 populate COMMON_CPUID_INDEX_80000007 and
6851 COMMON_CPUID_INDEX_80000008.
6852 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6853 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6854 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6855 (init_cpu_features): Use _Static_assert on
6856 index_arch_Fast_Unaligned_Load.
6857 __get_cpuid_registers and __get_arch_feature. Updated for
6858 cpu_features_basic. Set stepping in cpu_features.
6859 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6860 (FEATURE_INDEX_2): New.
6861 (FEATURE_INDEX_MAX): Changed to enum.
6862 (COMMON_CPUID_INDEX_D_ECX_1): New.
6863 (COMMON_CPUID_INDEX_80000007): Likewise.
6864 (COMMON_CPUID_INDEX_80000008): Likewise.
6865 (cpuid_registers): Likewise.
6866 (cpu_features_basic): Likewise.
6867 (CPU_FEATURE_USABLE): Likewise.
6868 (bit_arch_XXX_Usable): Likewise.
6869 (cpu_features): Use cpuid_registers and cpu_features_basic.
6870 (bit_arch_XXX): Reweritten.
6871 (bit_cpu_XXX): Likewise.
6872 (index_cpu_XXX): Likewise.
6873 (reg_XXX): Likewise.
6874 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6875 <support/check.h>.
6876 (CHECK_CPU_FEATURE): New.
6877 (CHECK_CPU_FEATURE_USABLE): Likewise.
6878 (cpu_kinds): Likewise.
6879 (do_test): Print vendor, family, model and stepping. Check
6880 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6881 (TEST_FUNCTION): Removed.
6882 Include <support/test-driver.c> instead of
6883 "../../test-skeleton.c".
6884 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6885 Check POPCNT instead of POPCOUNT.
6886 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6887
7b36d26b
ST
68882018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6889
6890 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6891 there is no element in `consts'.
6892
02cd5c1a
FW
68932018-12-01 Florian Weimer <fweimer@redhat.com>
6894
6895 * support/support_capture_subprocess.c
6896 (support_capture_subprocess): Check that pipe descriptors have
6897 expected values. Close original pipe descriptors in subprocess.
6898
fc493bc9
ST
68992018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6900
6901 [BZ #23032]
6902 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6903 attr with __pthread_default_barrierattr.
6904 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6905 attr with __pthread_default_condattr.
6906 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6907 attr with __pthread_default_mutexattr.
6908 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6909 attr with __pthread_default_rwlockattr.
6910
6310e6be
KW
69112018-12-01 Kemi Wang <kemi.wang@intel.com>
6912
6913 * manual/tunables.texi (POSIX Thread Tunables): New node.
6914 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6915 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6916 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6917 __pthread_tunables_init.
6918 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6919 (max_adaptive_count): Define.
6920 * nptl/pthread_mutex_conf.c: New file.
6921 * nptl/pthread_mutex_conf.h: New file.
6922 * sysdeps/generic/adaptive_spin_count.h: New file.
6923 * sysdeps/nptl/dl-tunables.list: New file.
6924 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6925 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6926 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6927 Likewise.
6928
8e67b39e
PP
69292018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6930
6931 [BZ #20544]
6932 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6933 * stdlib/on_exit.c (__on_exit): Likewise.
6934 * stdlib/Makefile (tests): Add tst-bz20544.
6935 * stdlib/tst-bz20544.c: New test.
6936
15b8d67e
RÁE
69372018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6938
6939 [BZ #19767]
6940 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6941 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6942 New.
6943
5e63c240
FW
69442018-11-30 Florian Weimer <fweimer@redhat.com>
6945
6946 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6947 Extend error logging.
6948 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6949 symbol.
6950
71058602 69512018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6952
5fb7fc96
AZ
6953 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6954 __sigismember instead of sigismember.
6955 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6956 cancel_handler): New definitions.
6957 (do_system): Use posix_spawn instead of fork and execl and remove
6958 reentracy code.
6959 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6960 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6961 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6962 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6963 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6964 * sysdeps/unix/sysv/linux/system.c: Likewise.
6965
14d0e87d
AZ
6966 [BZ #22834]
6967 [BZ #17490]
6968 * NEWS: Add new semantic for atfork with popen and system.
6969 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6970 fork and execl.
6971
e5d262ef
TMQMF
69722018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6973
6974 [BZ #23690]
6975 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6976 modification order when accessing reloc_result->addr.
6977 * include/link.h (reloc_result): Add field init.
6978 * nptl/Makefile (tests): Add tst-audit-threads.
6979 (modules-names): Add tst-audit-threads-mod1 and
6980 tst-audit-threads-mod2.
6981 Add rules to build tst-audit-threads.
6982 * nptl/tst-audit-threads-mod1.c: New file.
6983 * nptl/tst-audit-threads-mod2.c: Likewise.
6984 * nptl/tst-audit-threads.c: Likewise.
6985 * nptl/tst-audit-threads.h: Likewise.
6986
7e1d4240
JM
69872018-11-30 Joseph Myers <joseph@codesourcery.com>
6988
6989 * scripts/gen-as-const.py: New file.
6990 * scripts/gen-as-const.awk: Remove.
6991 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6992 gen-as-const.py.
6993 ($(objpfx)test-as-const-%.c): Likewise.
6994
ce7387cc
L
69952018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6996
6997 * elf/dl-exception.c: Include <_itoa.h>.
6998
c6a5bdc1
ST
69992018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
7000
7001 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
7002 returned by __f_setlk.
7003
a5275ba5
L
70042018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7005 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7006
7007 * elf/Makefile (tests-internal): Add tst-create_format1.
7008 * elf/dl-exception.c (_dl_exception_create_format): Support
7009 %x, %lx and %zx.
7010 * elf/tst-create_format1.c: New file.
7011
3a67e81d
CAC
70122018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7013
7014 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7015 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7016 gnulib.)
7017 * argp/argp-help.c (__argp_failure): Likewise.
7018
4975f0c3
MH
70192018-11-29 Mao Han <han_mao@c-sky.com>
7020
7021 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7022 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7023 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7024 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7025 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7026 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7027 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7028 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7029 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7030 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7031 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7032 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7033 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7034 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7035 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7036 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7037 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7038 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7039 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7040 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7041 (R_CKCORE_TLS_TPOFF32): New defines.
7042
250102c8
FW
70432018-11-29 Florian Weimer <fweimer@redhat.com>
7044
7045 * posix/Makefile (before-compile): Remove testcases.h and
7046 ptestcases.h.
7047 (generated): Add testcases.h and ptestcases.h.
7048 (testcases.h, ptestcases.h): Move to $(objpfx).
7049 (runtests.o): Add dependency on testcases.h.
7050 (runptests.o): Add dependency on ptestcases.h.
7051 * posix/testcases.h, posix/ptestcases.h: Remove files.
7052 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7053 not touch posix/testcases.h and posix/ptestcases.h.
7054
96cd0558
FW
70552018-11-28 Florian Weimer <fweimer@redhat.com>
7056
7057 support: Add signal support to support_capture_subprocess_check.
7058 * support/capture_subprocess.h (support_capture_subprocess_check):
7059 Adjust comment and rename parameter.
7060 * support/support_capture_subprocess_check.c
7061 (print_actual_status): New function.
7062 (support_capture_subprocess_check): Support negative
7063 status_or_signal. Call print_actual_status.
7064 * support/tst-support_capture_subprocess.c (do_test): Call
7065 support_capture_subprocess_check.
7066 * libio/tst-vtables-common.c (termination_status)
7067 (init_termination_status): Remove.
7068 (check_for_termination): Adjust support_capture_subprocess_check
7069 call.
7070 (do_test): Remove call to init_termination_status.
7071
530504e3
JM
70722018-11-28 Joseph Myers <joseph@codesourcery.com>
7073
7074 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7075 source directory instead of a copy.
7076 (CommandList.create_copy_dir): Remove.
7077
9a0b6970
SL
70782018-11-28 Stefan Liebler <stli@linux.ibm.com>
7079
7080 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7081
47d8d9a2
FW
70822018-11-28 Florian Weimer <fweimer@redhat.com>
7083
7084 * support/support.h (support_quote_string): Do not use str
7085 parameter name.
7086
b473b7d8
JM
70872018-11-27 Joseph Myers <joseph@codesourcery.com>
7088
7089 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7090 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7091
c74a91de
FW
70922018-11-27 Florian Weimer <fweimer@redhat.com>
7093
7094 * support/support.h (support_quote_string): Declare.
7095 * support/support_quote_string.c: New file.
7096 * support/tst-support_quote_string.c: Likewise.
7097 * support/Makefile (libsupport-routines): Add
7098 support_quote_string.
7099 (tests): Add tst-support_quote_string.
7100
d527c860
FW
71012018-11-27 Florian Weimer <fweimer@redhat.com>
7102
7103 [BZ #23927]
7104 CVE-2018-19591
7105 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7106 descriptor leak in case of ENODEV error.
7107
979cfed0
RÁE
71082018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7109
7110 [BZ #19767]
7111 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7112 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7114
ce035c6e
CD
71152018-11-26 Carlos O'Donell <carlos@redhat.com>
7116
7117 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7118 Error for unknown lines.
7119
2bd0bfcc
JM
71202018-11-26 Joseph Myers <joseph@codesourcery.com>
7121
7122 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7123 Touch additional files.
7124
affec03b
FW
71252018-11-26 Florian Weimer <fweimer@redhat.com>
7126
7127 [BZ #23907]
7128 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7129 double-frees.
7130
8ae74ead
RÁE
71312018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7132
7133 [BZ #19767]
7134 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7135 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7136 SHARED. Include sysdep.h.
7137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7138 ALWAYS_USE_VSYSCALL.
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7140 ALWAYS_USE_VSYSCALL.
7141
1e8bdc3a
RÁE
71422018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7143
7144 [BZ #19767]
7145 * nptl/Makefile (tests-static): Add tst-cond11-static.
7146 (tests): Likewise.
7147 * nptl/tst-cond11-static.c: New File.
7148 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7149 tst-affinity-static.
7150 (tests): Likewise.
7151 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7152 instead of SHARED.
7153 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7154 (USE_VSYSCALL): Likewise.
7155 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7156 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7157 instead of SHARED.
7158 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7159 SHARED.
7160 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7161 New.
7162
1283c478
JM
71632018-11-23 Joseph Myers <joseph@codesourcery.com>
7164
7165 [BZ #23915]
7166 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7167 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7168 Undefine.
7169
c089fd80
L
71702018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7171
7172 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7173 (tst-cet-legacy-1a-ARGS): New.
7174 ($(objpfx)tst-cet-legacy-1a): New target.
7175 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7176
cc6c89fa
JM
71772018-11-22 Joseph Myers <joseph@codesourcery.com>
7178
95edd05c
JM
7179 * conform/conformtest.py (CompileSubTest.__init__): Set
7180 self.run_early to False.
7181 (ExecuteSubTest.__init__): Likewise.
7182 (HeaderTests.run): Try running all non-optional, non-XFAILed
7183 compilation tests in a single execution of the compiler.
7184
cc6c89fa
JM
7185 * conform/conformtest.py (CompileSubTest): New class.
7186 (ExecuteSubTest): Likewise.
7187 (ElementTest.run): Rename to gen_subtests. Append tests to
7188 self.subtests instead of running them.
7189 (ConstantTest.run): Likewise.
7190 (SymbolTest.run): Likewise.
7191 (TypeTest.run): Likewise.
7192 (TagTest.run): Likewise.
7193 (FunctionTest.run): Likewise.
7194 (VariableTest.run): Likewise.
7195 (MacroFunctionTest.run): Likewise.
7196 (MacroStrTest.run): Likewise.
7197 (HeaderTests.handle_test_line): Generate subtests for tests.
7198 (HeaderTests.run): Run subtests for tests.
7199
a502c529
SN
72002018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7201
7202 * math/Versions (GLIBC_2.29): Add pow.
7203 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7204 symbol.
7205 * math/w_pow.c: New file.
7206 * sysdeps/i386/fpu/w_pow.c: New file.
7207 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7208 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7209 and add necessary aliases.
7210 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7211 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7212 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7213 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7214 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7215 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7216 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7217 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7218 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7219 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7220 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7221 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7222 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7223 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7224 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7229 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7230 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7231 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7232 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7233 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7234 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7235 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7236 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7237 __pow.
7238 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7239 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7240 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7241
718d6542
SN
72422018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7243
7244 * math/Versions (GLIBC_2.29): Add log2.
7245 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7246 symbol.
7247 * math/w_log2.c: New file.
7248 * sysdeps/i386/fpu/w_log2.c: New file.
7249 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7250 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7251 and add necessary aliases.
7252 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7253 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7254 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7255 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7256 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7257 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7258 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7259 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7260 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7261 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7262 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7263 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7264 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7265 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7266 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7271 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7272 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7273 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7274 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7275 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7276 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7277 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7278
f29b7c49
SN
72792018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7280
7281 * math/Versions (GLIBC_2.29): Add log.
7282 * math/w_log_compat.c (__log_compat): Change to versioned compat
7283 symbol.
7284 * math/w_log.c: New file.
7285 * sysdeps/i386/fpu/w_log.c: New file.
7286 * sysdeps/ia64/fpu/e_log.S: Update.
7287 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7288 and add necessary aliases.
7289 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7290 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7291 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7292 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7293 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7294 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7295 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7296 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7297 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7298 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7299 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7300 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7301 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7302 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7303 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7308 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7309 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7310 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7311 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7312 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7313 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7314 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7315 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7316 __log.
7317 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7318 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7319 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7320 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7321
c20a1056
SN
73222018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7323
7324 * math/Versions (GLIBC_2.29): Add exp and exp2.
7325 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7326 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7327 * math/w_exp_compat.c (__exp_compat): Likewise.
7328 * math/w_exp.c: New file.
7329 * math/w_exp2.c: New file.
7330 * sysdeps/i386/fpu/w_exp.c: New file.
7331 * sysdeps/i386/fpu/w_exp2.c: New file.
7332 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7333 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7334 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7335 and add necessary aliases.
7336 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7337 and add necessary aliases.
7338 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7339 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7340 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7341 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7342 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7343 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7344 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7345 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7346 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7347 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7348 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7349 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7350 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7351 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7352 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7353 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7354 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7359 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7360 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7361 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7362 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7363 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7364 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7365 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7366 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7367 (__ieee754_exp): Rename to __exp.
7368 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7369 (__ieee754_exp): Rename to __exp.
7370 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7371 (__ieee754_exp): Rename to __exp.
7372 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7373 __exp.
7374 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7375
bcdaad21
DD
73762018-11-20 DJ Delorie <dj@redhat.com>
7377
7378 * malloc/malloc.c (tcache_entry): Add key field.
7379 (tcache_put): Set it.
7380 (tcache_get): Likewise.
7381 (_int_free): Check for double free in tcache.
7382 * malloc/tst-tcfree1.c: New.
7383 * malloc/tst-tcfree2.c: New.
7384 * malloc/Makefile: Run the new tests.
7385 * manual/probes.texi: Document memory_tcache_double_free probe.
7386
7387 * dlfcn/dlerror.c (check_free): Prevent double frees.
7388
5770c0ad
WD
73892018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7390
7391 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7392
9a62a939
JM
73932018-11-20 Joseph Myers <joseph@codesourcery.com>
7394
7395 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7396 in tests. Use names for format arguments.
7397 (ConstantTest.run): Likewise.
7398 (SymbolTest.run): Likewise.
7399 (TypeTest.run): Likewise.
7400 (TagTest.run): Likewise.
7401 (FunctionTest.run): Likewise.
7402 (VariableTest.run): Likewise.
7403 (MacroFunctionTest.run): Likewise.
7404 (MacroStrTest.run): Likewise.
7405 (HeaderTests.__init__): Set self.num_tests.
7406 (HeaderTests.handle_test_line): Set test.num. Increment
7407 self.num_tests.
7408
b15b1a95
ST
74092018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7410
7411 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7412 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7413 SEEK_SET.
7414
0c7f97ae
MH
74152018-11-19 Mao Han <han_mao@c-sky.com>
7416
7417 * scripts/config.guess: Update to version 2018-08-29.
7418 * scripts/config.sub: Update to version 2018-08-29.
7419
35e3fbc4
FW
74202018-11-19 Florian Weimer <fweimer@redhat.com>
7421
7422 support: Print timestamps in timeout handler.
7423 * support/support_test_main.c (print_timestamp): New function.
7424 (signal_handler): Use it to print the termination time and the
7425 time of the last write to standard output.
7426
c75772e3
ZW
74272018-11-16 Zack Weinberg <zackw@panix.com>
7428 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7429
7430 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7431 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7432 argument.
7433 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7434 and add flags argument. Check flags instead of __ldbl_is_dbl when
7435 deciding whether to set is_long_double.
7436 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7437 passing zero for flags argument.
7438 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7439
7440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7441 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7442 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7443 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7444 variable names. Remove libc_hidden_def/libc_hidden_proto from
7445 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7446 longer called from within the library.
7447 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7448 for __nldbl___vstrfmon_l, declare it explicitly.
7449
7450 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7451
346ef23f
ST
74522018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7453
7454 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7455 macros
7456 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7457 F_SETLK64, F_SETLKW64, respectively.
7458 * sysdeps/mach/hurd/f_setlk.c: New file.
7459 * sysdeps/mach/hurd/f_setlk.h: New file.
7460 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7461 f_setlk.
7462 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7463 (__libc_fcntl): Move non-flock operations to...
7464 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7465 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7466
de20b81a
PE
74672018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7468
5d8af156
PE
7469 mktime: DEBUG_MKTIME cleanup
7470 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7471 And it’s no longer needed now that glibc and Gnulib both have
7472 their own testing mechanisms for mktime.
7473 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7474
86aece3b
PE
7475 mktime: fix non-EOVERFLOW errno handling
7476 [BZ#23789]
7477 mktime was not properly reporting failures when the underlying
7478 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7479 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7480 The problem could happen on non-glibc platforms, with Gnulib.
7481 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7482 (tm_diff): ... this simpler function, which does not change errno.
7483 All callers changed to deal with errno themselves.
7484 (ranged_convert, __mktime_internal): Return failure immediately if
7485 the underlying function reports any failure other than EOVERFLOW.
7486 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7487 gap code fails.
7488
f6b3331b
PE
7489 mktime: fix bug with Y2038 DST transition
7490 [BZ#23789]
7491 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7492 mishandle a DST transition that jumps over the Y2038 boundary.
7493 No such DST transitions are known so this is only a theoretical
7494 bug, but we might as well do things right.
7495
efbdddc3
PE
7496 mktime: make more room for overflow
7497 [BZ#23789]
7498 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7499 This is so that we can add tm_diff results to a previous guess,
7500 which will be useful in a later patch.
7501
6c90d759
PE
7502 mktime: simplify offset guess
7503 [BZ#23789]
7504 * time/mktime.c (__mktime_internal): Omit excess precision.
7505
32c12f3f
PE
7506 mktime: new test for mktime failure
7507 [BZ#23789]
7508 Based on a test suggested by Albert Aribaud in:
7509 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7510 * time/Makefile (tests): Add bug-mktime4.
7511 * time/bug-mktime4.c: New file.
7512
de20b81a
PE
7513 mktime: fix EOVERFLOW bug
7514 [BZ#23789]
7515 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7516 Include libc-config.h, not config.h, for __set_errno.
7517 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7518
8c6c3fb0
ST
75192018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7520
7521 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7522 __attribute_copy__ to copy attributes from name. Drop static qualifier
7523 to avoid warnings about leaf attribute not having effect on static
7524 functions.
7525
6923f6db
FW
75262018-11-13 Florian Weimer <fweimer@redhat.com>
7527
7528 * malloc/malloc.c (fastbin_push_entry): New function.
7529 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7530 (REMOVE_FB): Remove macro.
7531 (_int_malloc): Use fastbin_pop_entry and reindent.
7532 (_int_free): Use fastbin_push_entry.
7533 (malloc_consolidate): Use atomic_exchange_acquire.
7534
53f5c659
JM
75352018-11-13 Joseph Myers <joseph@codesourcery.com>
7536
0c096dcf
JM
7537 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7538 alias attribute, not with strong_alias.
7539
9c4b457e
JM
7540 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7541 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7542 with additional parameter thread.
7543 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7544 in terms of __hidden_ver2.
7545 (hidden_tls_def): New macro.
7546 (libc_hidden_tls_def): Likewise.
7547 (rtld_hidden_tls_def): Likewise.
7548 (libm_hidden_tls_def): Likewise.
7549 (libmvec_hidden_tls_def): Likewise.
7550 (libresolv_hidden_tls_def): Likewise.
7551 (librt_hidden_tls_def): Likewise.
7552 (libdl_hidden_tls_def): Likewise.
7553 (libnss_files_hidden_tls_def): Likewise.
7554 (libnsl_hidden_tls_def): Likewise.
7555 (libnss_nisplus_hidden_tls_def): Likewise.
7556 (libutil_hidden_tls_def): Likewise.
7557 (libutil_hidden_tls_def): Likweise.
7558 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7559 libc_hidden_tls_def.
7560 (__sim_disabled_exceptions_thread): Likewise.
7561 (__sim_round_mode_thread): Likewise.
7562
53f5c659
JM
7563 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7564 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7565 copy attributes from name.
7566
092dfde6
JM
75672018-11-12 Joseph Myers <joseph@codesourcery.com>
7568
f578f97b
JM
7569 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7570 Use __attribute_copy__ to copy attributes from name.
7571
9a7c643a
JM
7572 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7573 with __hidden_ver1 call.
7574 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7575 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7576 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7577 (__cosf): Do not declare here.
7578 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7579 (__sincosf): Do not declare here.
7580 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7581 (__sinf): Do not declare here.
7582
092dfde6
JM
7583 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7584 (__BIG_ENDIAN): Likewise.
7585 (__BYTE_ORDER): Likewise.
7586 (strong_alias): Likewise.
7587 (_strong_alias): Likewise.
7588
1ecba1fa
FW
75892018-11-12 Florian Weimer <fweimer@redhat.com>
7590
7591 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7592 function. Move after the definition of in_smallbin_range. Do not
7593 use __builtin_expect for paths that lead to a noreturn function.
7594 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7595 because it is unclear whether this is in fact an unlikely
7596 condition.
7597 (_int_malloc, _int_free): Adjust.
7598 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7599 variables.
7600 * malloc/arena.c (heap_trim): Likewise.
7601
434c34bd
ST
76022018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7603
7604 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7605 it, free it if needed.
7606 (reauthenticate): Test and use ccwdir.
7607 (child_init_port): In non-resetids case, test and use ccwdir.
7608 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7609 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7610 * hurd/hurd/port.h (_hurd_port_move): New function.
7611 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7612 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7613 * hurd/Versions (_hurd_port_move): Export function.
7614 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7615 symbol.
58bb655a
ST
7616 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7617 of dtablesize for allocating dtable_cloexec.
434c34bd 7618
1626a1cf
MS
76192018-11-09 Martin Sebor <msebor@redhat.com>
7620
7621 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7622 it's already defined.
7623 (_strong_alias): Use __attribute_copy__.
7624 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7625 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7626 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7627 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7628 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7629 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7630 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7631 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7632 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7633 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7634 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7635 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7636 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7637 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7638 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7639 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7640 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7641 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7642 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7643
968ed530
GG
76442018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7645
7646 * misc/tst-efgcvt.c: Include support/check.h and
7647 support/test-driver.c. Do not include test-skeleton.c.
7648 (error_count): Remove.
7649 (output_error): Replace increments to error_count with calls to
7650 support_record_failure.
7651 (output_r_error): Likewise.
7652 (special): Likewise.
7653 (do_test): Unconditionally return zero.
7654 (TEST_FUNCTION): Remove.
7655
c3ec0972
JM
76562018-11-09 Joseph Myers <joseph@codesourcery.com>
7657
91faaa93
JM
7658 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7659 not $(@D)/scratch.
7660 ($(linknamespace-header-tests)): Likewise.
7661
c3ec0972
JM
7662 * conform/conformtest.py: New file.
7663 * conform/conformtest.pl: Remove.
7664 * conform/GlibcConform.pm: Likewise.
7665 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7666 (KEYWORDS_C99): Likewise.
7667 (KEYWORDS): Likewise.
7668 * conform/Makefile ($(conformtest-header-tests)): Use
7669 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7670 option. Use --header instead of --headers.
7671 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7672 function entries.
7673 * conform/data/spawn.h-data: Likewise.
7674 * conform/data/fcntl.h-data (openat): Add space after function
7675 name.
7676 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7677 (wcscasecmp_l): Likewise.
7678 * conform/data/termios.h-data (c_cc): Add space after element
7679 name.
7680
43257c33
GG
76812018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7682
7683 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7684 instead of manually comparing and reporting mismatching strings.
7685 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7686 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7687
e5de3b5b
JM
76882018-11-08 Joseph Myers <joseph@codesourcery.com>
7689
7690 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7691 __ASSUME_SOCKETCALL.
7692 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7693 (__ASSUME_SOCKETCALL): Remove.
7694 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7695 (__ASSUME_SOCKETCALL): Likewise.
7696 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7697 (__ASSUME_SOCKETCALL): Likewise.
7698 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7699 (__ASSUME_SOCKETCALL): Likewise.
7700 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7701 (__ASSUME_SOCKETCALL): Likewise.
7702 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7703 (__ASSUME_SOCKETCALL): Likewise.
7704 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7705 (__ASSUME_SOCKETCALL): Likewise.
7706
d524fa6c
L
77072018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7708
7709 [BZ #23509]
7710 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7711 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7712 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7713 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7714 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7715 lc_unknown.
7716
ac806026
AH
77172018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7718
7719 [BZ #17630]
7720 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7721
596cc360
JM
77222018-11-07 Joseph Myers <joseph@codesourcery.com>
7723
7724 [BZ #23867]
7725 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7726 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7727 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7728 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7729
00c86a37
AZ
77302018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7731
7732 * support/support_test_compare_string.c
7733 (support_test_compare_string): Fix printf format.
7734
1df872fd
FW
77352018-11-07 Florian Weimer <fweimer@redhat.com>
7736
7737 Implement TEST_COMPARE_STRING.
7738 * support/check.h (TEST_COMPARE_STRING): Define.
7739 (support_test_compare_string): Declare.
7740 * support/Makefile (libsupport-routines): Add
7741 support_test_compare_string.
7742 (tests): Add tst-test_compare_string.
7743 * support/support_test_compare_string.c: New file.
7744 * support/tst-test_compare_string.c: Likewise.
7745
295132ff
AS
77462018-11-07 Andreas Schwab <schwab@suse.de>
7747
7748 [BZ #23864]
7749 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7750 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7751 Undef.
7752
e143ceba
JM
77532018-11-06 Joseph Myers <joseph@codesourcery.com>
7754
7755 [BZ #23862]
7756 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7757 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7758 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7759 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7760 Likewise.
7761
4a938cb2
FW
77622018-11-06 Florian Weimer <fweimer@redhat.com>
7763
7764 [BZ #17405]
7765 * posix/Makefile (routines): Add spawn_faction_addchdir.
7766 (tests): Add tst-spawn-chdir.
7767 * posix/Versions (GLIBC_2.29): Add
7768 posix_spawn_file_actions_addchdir_np.
7769 * posix/spawn_faction_addchdir.c: New file.
7770 * posix/spawn_faction_destroy.c
7771 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7772 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7773 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7774 chdir_action.
7775 * posix/tst-spawn-chdir.c: New file.
7776 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7777 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7778 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7779 posix_spawn_file_actions_addchdir_np.
7780 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7781 Likewise.
7782 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7783 Likewise.
7784 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7785 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7786 Likewise.
7787 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7788 Likewise.
7789 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7790 Likewise.
7791 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7792 Likewise.
7793 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7794 Likewise.
7795 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7796 Likewise.
7797 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7798 (GLIBC_2.29): Likewise.
7799 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7800 (GLIBC_2.29): Likewise.
7801 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7802 (GLIBC_2.29): Likewise.
7803 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7804 (GLIBC_2.29): Likewise.
7805 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7806 Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7808 (GLIBC_2.29): Likewise.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7810 (GLIBC_2.29): Likewise.
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7812 (GLIBC_2.29): Likewise.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7814 (GLIBC_2.29): Likewise.
7815 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7816 Likewise.
7817 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7818 Likewise.
7819 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7820 Likewise.
7821 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7823 Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7825 Likewise.
7826 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7827 Likewise.
7828 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7829 Likewise.
7830
7597b0c7
GG
78312018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7832
7833 * misc/Makefile (tests): Add tst-ldbl-error.
7834 * misc/tst-ldbl-error.c: New file.
7835
9771e6cb
GG
78362018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7837
7838 * misc/Makefile (tests): Add tst-ldbl-warn.
7839 * misc/tst-ldbl-warn.c: New file.
7840
2c03961f
GG
78412018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7842
7843 * argp/Makefile (tests): Add tst-ldbl-argp.
7844 * argp/tst-ldbl-argp.c: New file.
7845
6d6ee046
AS
78462018-11-05 Arjun Shankar <arjun@redhat.com>
7847
7848 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7849 __gconv_path_elem and call __gconv_get_path unconditionally.
7850
bd3b0fba
AS
78512018-11-05 Andreas Schwab <schwab@suse.de>
7852
7853 [BZ #22927]
7854 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7855 creating the first helper thread failed.
7856
2e96e980
ST
78572018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7858
7859 * sysdeps/mach/hurd/msync.c: New file.
7860
6e36266c
FW
78612018-11-02 Florian Weimer <fweimer@redhat.com>
7862
7863 * support/shell-container.c (copy_func): Call
7864 support_copy_file_range instead of copy_file_range to support
7865 cross-device copies.
7866
599f7bee
FW
78672018-11-02 Florian Weimer <fweimer@redhat.com>
7868
7869 * support/test-container.c: Include <libc-pointer-arith.h> for
7870 ALIGN_UP.
7871
ff48ea67
ZL
78722018-11-01 Zong Li <zong@andestech.com>
7873
af1d5782
ZL
7874 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7875 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7876 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7877 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7878
ff48ea67
ZL
7879 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7880 variable to avoid overlap arguments.
7881
daea71c2
JM
78822018-11-01 Joseph Myers <joseph@codesourcery.com>
7883
eac4405a
JM
7884 * posix/bug-regex22.c (main): Use puts with distinct error
7885 messages for unexpected success of re_compile_pattern, not printf
7886 with NULL argument to %s.
7887
6f30e59f
JM
7888 * stdio-common/bug22.c: Include <libc-diag.h>.
7889 (do_test): Disable -Wformat-overflow= warnings around fprintf
7890 calls outputting more than INT_MAX characters.
7891 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7892 around printf call with NULL %s argument.
7893
daea71c2
JM
7894 [BZ #23848]
7895 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7896 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7897 Undefine.
7898 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7899 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7900 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7901 (__ASSUME_SENDTO_SYSCALL): Likewise.
7902 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7903 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7904 [!__arch64__].
7905 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7906 (__ASSUME_CONNECT_SYSCALL): Likewise.
7907 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7908 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7909 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7910 Define.
7911 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7912 Likewise.
7913 [__LINUX_KERNEL_VERSION >= 0x040400]
7914 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7915 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7916 Remove.
7917 (listen): Likewise.
7918 (setsockopt): Likewise.
7919
8e3c00db
FN
79202018-11-01 Fredrik Noring <noring@nocrew.org>
7921
7922 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7923 with the ISA override.
7924
9c3dbdbe
RAE
79252018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7926
7927 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7928 #endif.
7929
e3a88b3e
ST
79302018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7931
a67377e7 7932 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7933 translate the error message.
a67377e7
ST
7934 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7935 printing trailing whitespaces refused by git.
7936 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7937 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7938 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7939
3ca235ed
JM
79402018-10-30 Joseph Myers <joseph@codesourcery.com>
7941
7942 * conform/linknamespace.py: New file.
7943 * conform/linknamespace.pl: Remove file.
7944 * conform/Makefile ($(linknamespace-header-tests)): Use
7945 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7946 option.
7947
60708030
FW
79482018-10-30 Florian Weimer <fweimer@redhat.com>
7949
7950 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7951 memory leaks.
7952
a91e9301
FW
79532018-10-30 Florian Weimer <fweimer@redhat.com>
7954
7955 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7956
07da99aa
FW
79572018-10-30 Florian Weimer <fweimer@redhat.com>
7958
7959 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7960 support_blob_repeat.
7961
f5e7e959
FW
79622018-10-30 Florian Weimer <fweimer@redhat.com>
7963
7964 Avoid spurious test failures in stdlib/test-bz22786.
7965 * support/Makefile (libsupport-routines): Add blob_repeat.
7966 (tests): Add tst-support_blob_repeat.
7967 * support/blob_repeat.h: New file.
7968 * support/blob_repeat.c: Likewise.
7969 * support/tst-support_blob_repeat.c: Likewise.
7970 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7971 support_blob_repeat_allocate.
7972
2dd12baa
AS
79732018-10-30 Andreas Schwab <schwab@suse.de>
7974
7975 [BZ #23125]
7976 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7977 Don't use tail call.
7978 * elf/tst-unwind-main.c: New file.
7979 * elf/Makefile (tests): Add tst-unwind-main.
7980 (CFLAGS-tst-unwind-main.c): Define.
7981
6b5c8607 79822018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7983
7984 [BZ #23791]
7985 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7986 n_cs_precedes to 0.
7987 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7988
c6982f7e
JM
79892018-10-29 Joseph Myers <joseph@codesourcery.com>
7990
954cf3c2
JM
7991 * conform/glibcconform.py: Do not import shutil.
7992 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7993 of mkdtemp.
7994
c6982f7e
JM
7995 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7996 critic_missing for versions before 3.4.
7997 * configure: Regenerated.
7998 * manual/install.texi (Tools for Compilation): Document
7999 requirement for Python to build glibc.
8000 * INSTALL: Regenerated.
8001 * Rules [PYTHON]: Make code unconditional.
8002 * benchtests/Makefile [PYTHON]: Likewise.
8003 * conform/Makefile [PYTHON]: Likewise.
8004 * manual/Makefile [PYTHON]: Likewise.
8005 * math/Makefile [PYTHON]: Likewise.
8006
46a7f24c
ST
80072018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8008
8009 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 8010 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 8011 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
8012 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8013 _hurd_intr_rpc_msg_about_to global point to start of controlled
8014 assembly snippet. Make it check canceled flag.
8015 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8016 the _hurd_intr_rpc_msg_about_to point.
8017 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8018 issue, remove cancel flag check.
46a7f24c 8019
e5b8756d
JM
80202018-10-26 Joseph Myers <joseph@codesourcery.com>
8021
8022 * scripts/build-many-glibcs.py: Remove compatibility for missing
8023 os.cpu_count and re.fullmatch.
8024
ba5b14c7
SN
80252018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8026
8027 [BZ #23822]
8028 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8029 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8030 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8031
fe61f17c
JM
80322018-10-25 Joseph Myers <joseph@codesourcery.com>
8033
8034 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8035 macro.
8036
7c5e34d7
FW
80372018-10-25 Florian Weimer <fweimer@redhat.com>
8038
8039 [BZ #23562]
8040 [BZ #23821]
8041 XFAIL siginfo_t si_band conform test on sparc64.
8042 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8043 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8044 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8045 (conformtest-xfail-conds): Add sparc64-linux.
8046 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8047 sparc64.
8048 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8049
5b784e88
JM
80502018-10-25 Joseph Myers <joseph@codesourcery.com>
8051
8052 * elf/elf.h (NT_MIPS_DSP): New macro.
8053 (NT_MIPS_FP_MODE): Likewise.
8054
41432ebe
ZL
80552018-10-25 Zong Li <zong@andestech.com>
8056
8057 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8058 name by adding the file extension (.so).
8059
d026efea
ST
80602018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8061
8062 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8063 (test-xfail-ISO11/threads.h/linknamespace,
8064 test-xfail-ISO11/threads.h/conform): Add.
8065
b71ac2b9
JM
80662018-10-24 Joseph Myers <joseph@codesourcery.com>
8067
8068 * math/gen-libm-test.py: Import os.
8069 (ALL_FLOATS_MANUAL): New constant.
8070 (ALL_FLOATS_SUFFIX): Likewise.
8071 (Ulps.all_functions): New function.
8072 (real_all_ulps): Likewise.
8073 (generate_err_table_sub): Likewise.
8074 (generate_err_table): Likewise.
8075 (main): Handle -s and -m options.
8076 * manual/libm-err-tab.pl: Remove.
8077 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8078 instead of libm-err-tab.pl.
8079 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8080 != no].
8081 * manual/install.texi (Tools for Compilation): Document
8082 requirement for Python to build manual.
8083 * INSTALL: Regenerated.
8084
6b5c8607 80852018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8086
8087 * bits/time64.h: New file.
8088 * include/time.h: Replace internal_time_t with __time64_t.
8089 * posix/bits/types (__time64_t): Add.
8090 * stdlib/Makefile: Add bits/time64.h to includes.
8091 * time/tzfile.c: Replace internal_time_t with __time64_t.
8092
97d91fcc 80932018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8094
8095 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8096 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8097 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8098 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8099 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8100 prototype.
8101 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8102 * posix/spawn_faction_addclose.c
8103 (__posix_spawn_file_actions_addclose): Add hidden definition.
8104 * posix/spawn_faction_adddup2.c
8105 (__posix_spawn_file_actions_adddup2): Likewise.
8106 * posix/spawn_faction_destroy.c
8107 (__posix_spawn_file_actions_destroy): Likewise.
8108 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8109 Likewise.
8110 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8111 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8112 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8113 Likewise.
8114 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8115 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8116 Likewise.
8117
2954daf0
AS
81182018-10-24 Andreas Schwab <schwab@suse.de>
8119
8120 [BZ #18093]
8121 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8122 format cache.
8123 * elf/cache.c (print_cache): Likewise.
8124
6b5c8607 81252018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8126
8127 * bits/timesize.h: New file.
8128 * stdlib/Makefile (headers): Add bits/timesize.h.
8129 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8130 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8131 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8132 (__SEM_PAD_AFTER_TIME): Likewise.
8133 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8134 (__SHM_PAD_AFTER_TIME): Likewise.
8135 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8136 (__MSQ_PAD_BEFORE_TIME): Likewise.
8137 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8138 (__SEM_PAD_BEFORE_TIME): Likewise.
8139 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8140 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8141 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8142 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8143 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8144 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8145 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8146 (__SEM_PAD_BEFORE_TIME): Likewise.
8147 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8148 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8149 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8150 (__MSQ_PAD_BEFORE_TIME): Likewise.
8151 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8152 (__SEM_PAD_BEFORE_TIME): Likewise.
8153 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8154 (__SHM_PAD_BEFORE_TIME): Likewise.
8155 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8156 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8157 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8158
7cc65773
L
81592018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8160
8161 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8162 USE_RDTSCP is defined.
8163 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8164 USE_RDTSCP is defined.
8165
c3d8dc45
AZ
81662018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8167
18ad0de6
AZ
8168 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8169 defined.
8170
c3d8dc45
AZ
8171 [BZ #23709]
8172 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8173 independently of other flags.
8174
f1034472
FW
81752018-10-23 Florian Weimer <fweimer@redhat.com>
8176
8177 * time/tst-mktime2.c (N_STRINGS): Remove.
8178 (set_timezone): New function.
8179 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8180 (mktime_test1): Report localtime failure and check errno value.
8181 Use TEST_COMPARE.
8182 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8183 (do_test): Remove alarm call. Use set_timezone and array_length.
8184
367d7cc2
AS
81852018-10-23 Andreas Schwab <schwab@suse.de>
8186
8187 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8188 (__start_context): Use END instead of PSEUDO_END.
8189
be8ff03f
JM
81902018-10-22 Joseph Myers <joseph@codesourcery.com>
8191
029ad711
JM
8192 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8193 version to 4.19.
8194
8190520f
JM
8195 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8196 version to 4.19.
8197
be8ff03f
JM
8198 [BZ #23793]
8199 * wcsmbs/c32rtomb.c: New file.
8200 * wcsmbs/mbrtoc32.c: Likewise.
8201 * wcsmbs/tst-c32-state.c: Likewise.
8202 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8203 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8204 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8205 (tests): Add tst-c32-state.
8206 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8207 $(gen-locales).
8208
2dd8e58c
L
82092018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8210
8211 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8212 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8213
d0a74159
JM
82142018-10-19 Joseph Myers <joseph@codesourcery.com>
8215
8216 [BZ #23794]
8217 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8218 pair and return 0 in that case, and use saved character to
8219 interpret following character.
8220 * wcsmbs/tst-c16-surrogate.c: New file.
8221 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8222 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8223 Depend on $(gen-locales)
8224
f997b4be
IYM
82252018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8226
8227 [BZ #23562]
8228 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8229 (struct siginfo_t): Use correct type for si_band.
8230
53b2bb87
FW
82312018-10-19 Florian Weimer <fweimer@redhat.com>
8232
8233 [BZ #23689]
8234 * resource/bits/types/struct_rusage.h (struct rusage): Update
8235 comment on struct. Remove extraneous field comment.
8236
0a271c8f
DM
82372018-10-18 David S. Miller <davem@davemloft.net>
8238
94a3a27f
DM
8239 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8240 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8241 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8242 sysdep_routines in subdir elf.
8243 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8244 version for __vdso_clock_gettime.
8245 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8246 Define.
8247 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8248 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8249
0a271c8f
DM
8250 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8251
72771e53
L
82522018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8253
8254 * sysdeps/i386/init-arch.h: Removed.
8255 * sysdeps/i386/i586/init-arch.h: Likewise.
8256 * sysdeps/i386/i686/init-arch.h: Likewise.
8257 * sysdeps/i386/i686/hp-timing.h: Likewise.
8258 * sysdeps/x86_64/hp-timing.h: Likewise.
8259 * sysdeps/i386/isa.h: New file.
8260 * sysdeps/i386/i586/isa.h: Likewise.
8261 * sysdeps/i386/i686/isa.h: Likewise.
8262 * sysdeps/x86_64/isa.h: Likewise.
8263 * sysdeps/x86/hp-timing.h: New file.
8264 * sysdeps/x86/init-arch.h: Include <isa.h>.
8265
c2b7ccad
JM
82662018-10-17 Joseph Myers <joseph@codesourcery.com>
8267
8268 * math/libm-test-pow.inc (pow_test_data): Do not allow
8269 divide-by-zero exception for pow(+/- 0, -Inf).
8270
26756e57
ZW
82712018-10-17 Zack Weinberg <zackw@panix.com>
8272
8273 * manual/job.texi (Job Control is Optional): Remove node, as
8274 job control has not been optional in quite some time.
8275 (Job Control): Mention briefly that systems older than
8276 POSIX.1-2001 might not support job control.
8277 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8278 defined on systems conforming to POSIX.1-2001.
8279
c5288d37
AS
82802018-10-17 Arjun Shankar <arjun@redhat.com>
8281
8282 [BZ #22062]
8283 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8284 indentation.
8285 * (__gconv_read_conf): Mark function static.
8286 * (once): New static variable.
8287 * (__gconv_load_conf): New function.
8288 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8289 * iconv/gconv_db.c (once): Remove static variable.
8290 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8291 __gconv_read_conf.
8292 * (__gconv_find_transform): Likewise.
8293 * iconv/tst-iconv-mt.c: New test.
8294 * iconv/Makefile: Add tst-iconv_mt.
8295
8c8d2a8a
JM
82962018-10-17 Joseph Myers <joseph@codesourcery.com>
8297
8298 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8299 bits/shm-pad.h.
8300 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8301 (shmatt_t): Define as __syscall_ulong_t.
8302 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8303 and [__SHM_PAD_AFTER_TIME].
8304 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8305 Define shm_segsz and associated padding based on
8306 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8307 Use __syscall_ulong_t instead of unsigned long int.
8308 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8309 unsigned long int.
8310 [__USE_MISC] (struct shm_info): Likewise.
8311 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8312 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8313 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8315 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8316 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8317 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8318 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8319 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8320 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8321 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8322
8323 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8324 bits/shmlba.h.
8325 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8326 (SHMLBA): Remove macro.
8327 (__getpagesize): Remove function declaration.
8328 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8329 <bits/shmlba.h>.
8330 (SHMLBA): Remove macro.
8331 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8332 <bits/shmlba.h>.
8333 (SHMLBA): Remove macro.
8334 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8335 <bits/shmlba.h>.
8336 (SHMLBA): Remove macro.
8337 (__getpagesize): Remove function declaration.
8338 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8339 <bits/shmlba.h>.
8340 (SHMLBA): Remove macro.
8341 (__getshmlba): Remove function declaration.
8342 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8343 (SHMLBA): Remove macro.
8344 (__getpagesize): Remove function declaration.
8345 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8346 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8347 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8348 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8349 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8350 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8351 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8352 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8353 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8354 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8355
403b4feb
SL
83562018-10-17 Stefan Liebler <stli@linux.ibm.com>
8357
8358 [BZ #23275]
8359 * nptl/tst-mutex10.c: New File.
8360 * nptl/Makefile (tests): Add tst-mutex10.
8361 (tst-mutex10-ENV): New variable.
8362 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8363 Ensure that elision path is used if elision is available.
8364 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8365 Likewise.
8366 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8367 Likewise.
8368 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8369 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8370 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8371 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8372 Likewise.
8373 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8374 (__pthread_mutex_cond_lock_adjust): Likewise.
8375 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8376 Likewise.
8377 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8378 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8379 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8380 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8381 Add comments.
8382 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8383 Use atomic_load_relaxed and atomic_store_relaxed.
8384 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8385 Use atomic_store_relaxed.
8386
ce5a7de6
AS
83872018-10-17 Andreas Schwab <schwab@suse.de>
8388
8389 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8390 * crypt/badsalttest.c (TIMEOUT): Likewise.
8391 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8392 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8393 * io/test-lfs.c (TIMEOUT): Likewise.
8394 * libio/tst-atime.c (TIMEOUT): Likewise.
8395 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8396 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8397 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8398 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8399 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8400 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8401 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8402 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8403 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8404 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8405 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8406 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8407 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8408 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8409 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8410 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8411 * nptl/tst-once2.c (TIMEOUT): Likewise.
8412 * nptl/tst-once3.c (TIMEOUT): Likewise.
8413 * nptl/tst-once4.c (TIMEOUT): Likewise.
8414 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8415 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8416 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8417 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8418 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8419 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8420 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8421 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8422 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8423 * posix/tst-chmod.c (TIMEOUT): Likewise.
8424 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8425 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8426 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8427 * posix/tst-regex2.c (TIMEOUT): Likewise.
8428 * posix/tst-waitid.c (TIMEOUT): Likewise.
8429 * rt/tst-aio.c (TIMEOUT): Likewise.
8430 * rt/tst-aio10.c (TIMEOUT): Likewise.
8431 * rt/tst-aio4.c (TIMEOUT): Likewise.
8432 * rt/tst-aio5.c (TIMEOUT): Likewise.
8433 * rt/tst-aio6.c (TIMEOUT): Likewise.
8434 * rt/tst-aio64.c (TIMEOUT): Likewise.
8435 * rt/tst-aio7.c (TIMEOUT): Likewise.
8436 * rt/tst-aio9.c (TIMEOUT): Likewise.
8437 * rt/tst-clock.c (TIMEOUT): Likewise.
8438 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8439 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8440 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8441 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8442 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8443 * rt/tst-timer4.c (TIMEOUT): Likewise.
8444 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8445 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8446 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8447 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8448 * time/tst-ftime.c (TIMEOUT): Likewise.
8449 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8450
6b5c8607 84512018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8452
8453 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8454 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8455 for thunderX2.
8456
bcdb1bfa
JM
84572018-10-15 Joseph Myers <joseph@codesourcery.com>
8458
8459 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8460 bits/sem-pad.h.
8461 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8462 instead of <bits/wordsize.h>.
8463 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8464 and [__SEM_PAD_AFTER_TIME].
8465 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8466 __syscall_ulong_t instead of unsigned long int.
8467 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8468 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8469 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8470 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8471 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8472 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8473 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8474 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8475 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8476 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8477 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8478
f4efbdfb
PE
84792018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8480
620a5d4c
PE
8481 regex: simplify by using intprops.h
8482 [BZ#23744]
8483 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8484 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8485 intprops.h defines them.
8486
f4efbdfb
PE
8487 regex: __builtin_expect → __glibc_unlikely
8488 [BZ#23744]
8489 This refactoring was prompted by a problem when the regex code is
8490 used as part of Gnulib and when the builder’s compiler does not grok
8491 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8492 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8493 Although this refactoring does not fix the problem directly,
8494 we might as well have Gawk use the now-preferred glibc style for when
8495 __builtin_expect is unavailable.
8496 * posix/regex_internal.h (BE): Remove.
8497 All uses replaced by __glibc_unlikely or __glibc_likely.
8498
9f9feb6d
JM
84992018-10-11 Joseph Myers <joseph@codesourcery.com>
8500
8501 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8502 bits/msq-pad.h.
8503 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8504 instead of <bits/wordsize.h>.
8505 (msgqnum_t): Define as __syscall_ulong_t.
8506 (msglen_t): Likewise.
8507 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8508 and [__MSQ_PAD_AFTER_TIME].
8509 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8510 __syscall_ulong_t instead of unsigned long int.
8511 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8512 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8513 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8514 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8515 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8516 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8517 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8518 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8519 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8520 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8521 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8522
b9c0f6c1
JM
85232018-10-10 Joseph Myers <joseph@codesourcery.com>
8524
2a4b25fa
JM
8525 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8526 (struct shmid_ds): Condition padding after time fields on
8527 [__WORDSIZE == 32].
8528 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8529 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8530 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8531
19e62f26
JM
8532 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8533 (struct semid_ds): Condition padding after time fields on
8534 [__WORDSIZE == 32].
8535 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8536 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8537 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8538 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8539
b9c0f6c1
JM
8540 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8541 (struct msqid_ds): Condition padding after time fields on
8542 [__WORDSIZE == 32].
8543 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8544 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8545 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8546 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8547
97785a61
SN
85482018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8549
8550 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8551
ed643089
SN
85522018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8553
8554 * libio/tst-readline.c (TIMEOUT): Define.
8555
5a580643
PE
85562018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8557
8558 mktime fix for Gnulib + coreutils
8559 [BZ#23745]
8560 This fix affects only Gnulib. Problem discovered when
8561 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8562 * time/mktime.c:
8563 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8564 Do not define since it is not used. Defining an unused static
8565 function prompts a warning from GCC when Coreutils is configured
8566 with --enable-gcc-warnings.
8567
c892ae04
LS
85682018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8569
8570 * benchtests/scripts/compare_bench.py (main): set float type on
8571 threshold argument.
8572
a68ec8ea
RL
85732018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8574
8575 [BZ #23740]
8576 * localedata/locales/kl_GL (mon): Update, the relative case.
8577 (alt_mon): Add, fill with month names in the nominative case.
8578 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8579 (d_fmt): Set to "%b %d %Y".
8580
a1987621
JM
85812018-10-04 Joseph Myers <joseph@codesourcery.com>
8582
47c49251
JM
8583 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8584 <bits/mman-linux.h>.
8585 (PROT_READ): Don't define here.
8586 (PROT_WRITE): Likewise.
8587 (PROT_EXEC): Likewise.
8588 (PROT_NONE): Likewise.
8589 (PROT_GROWSDOWN): Likewise.
8590 (PROT_GROWSUP): Likewise.
8591 (MAP_SHARED): Likewise.
8592 (MAP_PRIVATE): Likewise.
8593 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8594 [__USE_MISC] (MAP_FILE): Likewise.
8595 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8596 [__USE_MISC] (MAP_ANON): Likewise.
8597 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8598 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8599 (MCL_CURRENT): Likewise.
8600 (MCL_FUTURE): Likewise.
8601 (MCL_ONFAULT): Likewise.
8602 [__USE_MISC] (MADV_NORMAL): Likewise.
8603 [__USE_MISC] (MADV_RANDOM): Likewise.
8604 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8605 [__USE_MISC] (MADV_WILLNEED): Likewise.
8606 [__USE_MISC] (MADV_DONTNEED): Likewise.
8607 [__USE_MISC] (MADV_FREE): Likewise.
8608 [__USE_MISC] (MADV_REMOVE): Likewise.
8609 [__USE_MISC] (MADV_DONTFORK): Likewise.
8610 [__USE_MISC] (MADV_DOFORK): Likewise.
8611 [__USE_MISC] (MADV_HWPOISON): Likewise.
8612 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8613 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8614 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8615 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8616 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8617 (__MAP_ANONYMOUS): New macro.
8618 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8619 <bits/mman-linux.h> inclusion.
8620 (MAP_FIXED): Likewise.
8621 (MS_SYNC): Likewise.
8622 (MS_ASYNC): Likewise.
8623 (MS_INVALIDATE): Likewise.
8624 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8625 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8626 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8627 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8628 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8629 [__USE_MISC] (MADV_DODUMP): Likewise.
8630 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8631 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8632
a1987621
JM
8633 [BZ #23735]
8634 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8635 Define.
8636 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8637 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8638 Add test-nldbl-redirect.
8639 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8640 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8641 $(objpfx)libnldbl_nonshared.a.
8642
e7624d70
SL
86432018-10-04 Stefan Liebler <stli@linux.ibm.com>
8644
8645 * support/support.h (support_objdir_elf_ldso): New variable.
8646 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8647 * support/Makefile (CFLAGS-support_paths.c): Add definition
8648 for OBJDIR_ELF_LDSO_PATH.
8649 * support/test-container.c (main): Search for the ld.so
8650 which is also used by the testsuite.
8651
dae3ed95
RL
86522018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8653
8654 [BZ #20209]
8655 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8656 should be "sap" rather than "sab".
8657 (day): Fix spelling of Sunday, should be "sapaat" rather than
8658 "sabaat".
8659
f346b5b3
JM
86602018-10-02 Joseph Myers <joseph@codesourcery.com>
8661
8662 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8663
4a06ceea
MJ
86642018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8665
8666 [BZ #19444]
8667 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8668 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8669 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8670
a06fc4a5
AZ
86712018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8672
8673 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8674
a1ccc065
L
86752018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8676
8677 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8678 Add -mrtm.
8679 (CFLAGS-elision-unlock.c): Likewise.
8680 (CFLAGS-elision-timed.c): Likewise.
8681 (CFLAGS-elision-trylock.c): Likewise.
8682 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8683
0b727ed4
AZ
86842018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8685
8686 [BZ #21037]
8687 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8688 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8689 new fd_to_filename interface.
8690 * libio/freopen64.c (freopen64): Likewise.
8691 * libio/tst-memstream.h: New file.
8692 * libio/tst-memstream4.c: Likewise.
8693 * libio/tst-wmemstream4.c: Likewise.
8694 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8695 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8696 and remove internal dynamic allocation.
8697
d0e91e8c
JM
86982018-10-01 Joseph Myers <joseph@codesourcery.com>
8699
8700 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8701 (MREMAP_MAYMOVE): Do not define here.
8702 [__USE_GNU] (MREMAP_FIXED): Likewise.
8703 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8704 (MREMAP_MAYMOVE): Define here instead.
8705 [__USE_GNU] (MREMAP_FIXED): Likewise.
8706 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8707 (MREMAP_MAYMOVE): Remove.
8708 [__USE_GNU] (MREMAP_FIXED): Likewise.
8709
c52944e8
JM
87102018-09-28 Joseph Myers <joseph@codesourcery.com>
8711
8712 * math/fromfp.h: Do not include <math_private.h>.
8713 * math/s_cacosh_template.c: Likewise.
8714 * math/s_casin_template.c: Likewise.
8715 * math/s_casinh_template.c: Likewise.
8716 * math/s_ccos_template.c: Likewise.
8717 * math/s_cproj_template.c: Likewise.
8718 * math/s_fdim_template.c: Likewise.
8719 * math/s_fmaxmag_template.c: Likewise.
8720 * math/s_fminmag_template.c: Likewise.
8721 * math/s_iseqsig_template.c: Likewise.
8722 * math/s_ldexp_template.c: Likewise.
8723 * math/s_nextdown_template.c: Likewise.
8724 * math/w_log1p_template.c: Likewise.
8725 * math/w_scalbln_template.c: Likewise.
8726 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8727 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8728 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8729 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8730 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8731 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8732 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8733 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8734 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8735 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8736 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8737 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8738 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8739 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8740 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8741 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8742 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8747 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8748 * sysdeps/ieee754/k_standardf.c: Likewise.
8749 * sysdeps/ieee754/k_standardl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8752 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8755 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8756 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8757 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8758 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8759 * sysdeps/ieee754/s_signgam.c: Likewise.
8760 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8761 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8762 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8763 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8764 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8765 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8766 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8767 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8768 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8769 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8770 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8771 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8772 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8773 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8774 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8775 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8776 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8777 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8778 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8779 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8780 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8781 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8782 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8783 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8784 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8785 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8786 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8787 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8788 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8789 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8790 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8791 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8792 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8793 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8794 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8795 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8796 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8797 <math_private.h>.
8798 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8799
7b1f9406
L
88002018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 [BZ #23716]
8803 * sysdeps/i386/dl-cet.c: Removed.
8804 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8805 prototype.
8806 (_dl_runtime_profile_shstk): Likewise.
8807 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8808 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8809
7a16bdbb
AZ
88102018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8811
8812 [BZ #23579]
8813 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8814 do_test_with_invalid_iov): New tests.
8815 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8816 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8817 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8818 errno is ENOSYS.
8819 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8820 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8821 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8822
9755bc46
JM
88232018-09-27 Joseph Myers <joseph@codesourcery.com>
8824
81dca813
JM
8825 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8826 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8827 (MATH_REDIRECT_BINARY_ARGS): New macro.
8828 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8829 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8830 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8831 header inclusion.
8832 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8833 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8834 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8835 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8836 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8838 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8840 Likewise.
8841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8842 Likewise.
8843 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8845 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8846 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8848 Likewise.
8849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8850 Likewise.
8851 * sysdeps/generic/math_private_calls.h
8852 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8853 Do not declare and define as an inline function.
8854 * math/divtc3.c (__divtc3): Use copysign functions instead of
8855 __copysign variants.
8856 * math/multc3.c (__multc3): Likewise.
8857 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8858 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8859 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8860 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8861 Likewise.
8862 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8863 (__ieee754_yn): Likewise.
8864 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8865 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8866 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8867 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8868 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8869 (__sin): Likewise.
8870 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8871 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8872 Likewise.
8873 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8874 Likewise.
8875 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8876 Likewise.
8877 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8878 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8879 Likewise.
8880 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8881 (__ieee754_ynf): Likewise.
8882 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8883 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8884 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8885 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8886 Likewise.
8887 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8888 (__ieee754_ynl): Likewise.
8889 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8890 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8892 Likewise.
8893 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8894 (__ieee754_ynl): Likewise.
8895 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8896 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8897 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8898 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8899 Likewise.
8900 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8901 (__ieee754_ynl)
8902 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8904 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8905 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8906 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8907
9755bc46
JM
8908 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8909 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8910 using MATH_REDIRECT.
8911 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8912 header inclusion.
8913 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8915 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8916 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8917 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8918 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8919 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8921 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8924 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8925 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8926 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8927 (round): Redirect to __round.
8928 (__roundl): Call round instead of __round.
8929 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8930 Remove macro.
8931 [_ARCH_PWR5X] (__roundf): Likewise.
8932 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8933 functions instead of __round variants.
8934 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8935 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8936 Likewise.
8937 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8938 Likewise.
8939 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8940 Likewise.
8941 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8942 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8943 __lroundl.
8944 (__ieee754_expl): Call roundl instead of __roundl.
8945
f841c97e
AS
89462018-09-27 Andreas Schwab <schwab@suse.de>
8947
8948 [BZ #23717]
8949 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8950 (do_test): Make st1 static.
8951
6ca8284e
AS
89522018-09-26 Andreas Schwab <schwab@suse.de>
8953
8954 [BZ #23707]
8955 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8956 * elf/Makefile (tests): Add tst-unwind-ctor.
8957 (modules-names): Add tst-unwind-ctor-lib.
8958 ($(objpfx)tst-unwind-ctor): Depend on
8959 $(objpfx)tst-unwind-ctor-lib.so.
8960
61d8b5fe
JM
89612018-09-26 Joseph Myers <joseph@codesourcery.com>
8962
8963 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8964 file. Most contents moved from ....
8965 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8966 and include <bits/mman-map-flags-generic.h>.
8967 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8968 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8969 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8970 <bits/mman-map-flags-generic.h>.
8971 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8972 macros defined in <bits/mman-map-flags-generic.h>.
8973 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8974 <bits/mman-map-flags-generic.h>.
8975 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8976 defined in <bits/mman-map-flags-generic.h>.
8977
46341286
AS
89782018-09-26 Andreas Schwab <schwab@suse.de>
8979
8980 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8981 output.
8982
b5c45e83
AZ
89832018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8984 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8985 Fangrui Song <maskray@google.com>
8986
8987 [BZ #20480]
8988 * config.make.in (have-textrel_ifunc): New define.
8989 * configure.ac: Add check if linker supports textrel relocation with
8990 ifunc.
8991 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8992 tst-ifunc-textrel.
8993 (CFLAGS-tst-ifunc-textrel.c): New rule.
8994 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8995 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8996 * elf/tst-ifunc-textrel.c: New file.
8997
8ea4d2b7
JM
89982018-09-25 Joseph Myers <joseph@codesourcery.com>
8999
d62f9ec0
JM
9000 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9001 <bits/procfs-prregset.h>.
9002 (prgregset_t): Define using __prgregset_t.
9003 (prfpregset_t): Define using __prfpregset_t.
9004 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9005 (sysdep_headers): Add bits/procfs-prregset.h.
9006 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9007 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9008 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9009 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9010
d0d8eb43
JM
9011 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9012 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9013 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9014 pr_uid and pr_gid.
9015 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9016 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9017 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9018 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9019 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9020 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9021 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9022 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9023 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9024 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9025 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9026 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9027 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9028 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9029 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9030 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9031 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9032 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9033 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9034 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9035 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9036 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9037 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9038 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9039
8ea4d2b7
JM
9040 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9041 AArch64 version. Include <bits/procfs.h>.
9042 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9043 (sysdep_headers): Add bits/procfs.h.
9044 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9045 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9046 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9047 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9048 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9049 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9050 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9051 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9052 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9053 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9054 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9055 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9056 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9057 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9058 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9059 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9060 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9061
c7027166
AZ
90622018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9063
9064 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9065 Use libsupport.
9066
335a3b0a
AS
90672018-09-25 Arjun Shankar <arjun@redhat.com>
9068
9069 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9070 (__gconv_max_path_elem_len): Likewise.
9071 (__gconv_nmodules): Likewise.
9072 (__gconv_get_path): Likewise.
9073 (path_elem): Move to ...
9074 * iconv/gconv_conf.c: ... here.
9075 (__gconv_get_path): Mark function static.
9076 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9077 * iconv/gconv_open.c: ... here.
9078
462d348c
AS
90792018-09-24 Andreas Schwab <schwab@suse.de>
9080
9081 * scripts/haveversions.awk: New file.
9082 * Makerules ($(common-objpfx)Versions.def)
9083 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9084 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9085 Move rules ...
9086 * Makeconfig ($(common-objpfx)Versions.def)
9087 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9088 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9089 ... here.
9090 ($(common-objpfx)Versions.mk): New rule. Include it.
9091 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9092 Emit error if build-obsolete-nsl = yes.
9093 * manual/install.texi (Configuring and compiling): Describe
9094 --enable-obsolete-nsl as unavaiable after version 2.28.
9095 * INSTALL: Regenerate.
9096
f0458cf4
AZ
90972018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9098
9099 * NEWS: Add note about new TLE support on powerpc64le.
9100 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9101 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9102 __ununsed1.
9103 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9104 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9105 * sysdeps/powerpc/powerpc32/sysdep.h,
9106 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9107 ABORT_TRANSACTION): Remove macros.
9108 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9109 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9110 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9112 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9113 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9114 usage.
9115 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9116
434d45fd
RL
91172018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9118
9119 [BZ #10425]
9120 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9121 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9122 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9123 which is the same as in it_IT.
9124 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9125 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9126
d90c9b1a
JM
91272018-09-20 Joseph Myers <joseph@codesourcery.com>
9128
7abf97be
JM
9129 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9130 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9131 using MATH_REDIRECT.
9132 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9133 header inclusion.
9134 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9135 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9136 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9137 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9138 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9139 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9144 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9145 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9146 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9147 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9148 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9149 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9150 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9151 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9152 (ceil): Redirect to __ceil.
9153 (floor): Redirect to __floor.
9154 (trunc): Redirect to __trunc.
9155 (__truncl): Call trunc instead of __trunc.
9156 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9157 Remove macro.
9158 [_ARCH_PWR5X] (__truncf): Likewise.
9159 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9160 trunc functions instead of __trunc variants.
9161 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9162 Likewise.
9163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9164 Likewise.
9165 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9166 Likewise.
9167 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9168 Likewise.
9169
d90c9b1a
JM
9170 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9171 [__i586__ || __pentium__].
9172 [__i486__]: Handle explicitly.
9173 (HAS_CPUID): Define to 1 if above macros are undefined.
9174 (HAS_I586): Likewise.
9175 (HAS_I686): Likewise.
9176
db9a8ad4
FW
91772018-09-20 Florian Weimer <fweimer@redhat.com>
9178
9179 * misc/tst-gethostid.c: New file.
9180 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9181 (tst-gethostid): Link with -ldl.
9182
1214ba06
MY
91832018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9184
9185 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9186 value from gethostbyname_r.
9187
791b350d
CD
91882018-09-19 Carlos O'Donell <carlos@redhat.com>
9189
9190 * stdlib/tst-setcontext9.c (f1): Rename to...
9191 (f1a): ... this.
9192 (f1b): New function implementing lower half of f1 in alternate stack.
9193
8e6fd2bd
PE
91942018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9195
e1080e7e
PE
9196 Fix mktime localtime offset confusion
9197 [BZ #23603]
9198 * include/time.h (__mktime_internal): The localtime offset is now
9199 of type long int instead of time_t. This is the longstanding type
9200 in glibc, and it is more than enough to represent difference
9201 between localtime and gmtime even if it is 32 bits and time_t is
9202 64. Changing it now will let us avoid an unnecessary change when
9203 time_t is widened to 64 bits on 32-bit platforms.
9204 * time/mktime-internal.h (mktime_offset_t): Now long int.
9205
8e6fd2bd
PE
9206 Merge mktime, timegm from upstream Gnulib
9207 [BZ #23603][BZ #16346]
9208 This fixes some obscure problems with integer overflow.
9209 Although it looks scary, it is almost all a byte-for-byte copy
9210 from Gnulib, and the Gnulib code has been tested reasonably well.
9211 * include/intprops.h: New file, copied from Gnulib.
9212 * include/verify.h, time/mktime-internal.h:
9213 New tiny files, simplified from Gnulib.
9214 * time/mktime.c: Copy from Gnulib. This has the following changes:
9215 Do not include config.h if DEBUG_MKTIME is nonzero.
9216 Include stdbool.h, intprops.h, verify.h.
9217 Include string.h only if needed.
9218 Include stdlib.h on MS-Windows.
9219 Include mktime-internal.h.
9220 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9221 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9222 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9223 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9224 simplify later conditionals; default the others to zero. Use
9225 these conditionals to express only the code needed on the current
9226 platform. In uses of these conditionals, explicitly spell out how
9227 _LIBC affects things, so it’s easier to review from a glibc
9228 viewpoint.
9229 (WRAPV): Remove; no longer needed now that we have
9230 systematic overflow checking.
9231 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9232 compartmentalize tzset issues. Move system-dependent tzsettish
9233 code here from mktime.
9234 (verify): Remove; now done by verify.h. All uses changed.
9235 (long_int): Use a more-conservative definition, to avoid
9236 integer overflow.
9237 (SHR): Remove, replacing with ...
9238 (shr): New function, which means we needn’t worry about side
9239 effects in args, and conversion analysis is simpler.
9240 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9241 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9242 (time_t_avg, time_t_add_ok): Remove.
9243 (mktime_min, mktime_max): New constants.
9244 (leapyear, isdst_differ): Use bool for booleans.
9245 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9246 Use long_int, not time_t, for mktime differences.
9247 (long_int_avg): New function, replacing time_t_avg.
9248 INT_ADD_WRAPV replaces time_t_add_ok.
9249 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9250 All uses changed.
9251 (convert_time): New function.
9252 (ranged_convert): Use it.
9253 (__mktime_internal): Last arg now points to mktime_offset_t, not
9254 time_t. All uses changed. This is a no-op on glibc, where
9255 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9256 offset guess. Directly check for integer overflow instead of
9257 using a heuristic that works only 99.9...% of the time.
9258 Access *OFFSET only once, to avoid an unlikely race if the
9259 compiler delays a load and if this cascades into a signed integer
9260 overflow.
9261 (mktime): Move tzsettish code to my_tzset, and move
9262 localtime_offset to within mktime so that it doesn’t
9263 need a separate ifdef.
9264 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9265 instead of localtime.
9266 * time/timegm.c: Copy from Gnulib. This has the following changes:
9267 Include mktime-internal.h.
9268 [!_LIBC]: Include config.h and time.h. Do not include
9269 timegm.h or time_r.h. Make __mktime_internal a macro,
9270 and include mktime-internal.h to get its declaration.
9271 (timegm): Temporary is now mktime_offset_t, not time_t.
9272 This affects only Gnulib.
9273
83a552b0
WD
92742018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9275
9276 [BZ #23637]
9277 * string/test-strstr.c (pr23637): New function.
9278 (test_main): Add tests with longer needles.
9279 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9280 * string/strstr.c (AVAILABLE): Likewise.
9281
d7347278
SN
92822018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9283
9284 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9285
424c4f60
SN
92862018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9287
9288 * NEWS: Mention pow improvements.
9289 * math/Makefile (type-double-routines): Add e_pow_log_data.
9290 * sysdeps/generic/math_private.h (__exp1): Remove.
9291 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9292 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9293 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9294 contraction.
9295 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9296 (exp_inline): Remove.
9297 (__ieee754_exp): Only single double input is handled.
9298 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9299 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9300 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9301 (__pow_log_data): Define.
9302 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9303 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9304 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9305 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9306 contraction.
9307 (CFLAGS-e_pow-fma4.c): Likewise.
9308
e4e4fde5
PE
93092018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9310
dab9c348
PE
9311 Simplify tzfile fstat failure code
9312 [BZ #21716]
9313 * time/tzfile.c (__tzfile_read): Simplify slightly.
9314
e4e4fde5
PE
9315 Fix tzfile low-memory assertion failure
9316 [BZ #21716]
9317 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9318 when registering time zone abbreviations.
9319
50bc59ca
JM
93202018-09-18 Joseph Myers <joseph@codesourcery.com>
9321
d3a43e49
JM
9322 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9323 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9324 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9325 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9326 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9327 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9328 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9329 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9330 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9331
50bc59ca
JM
9332 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9333 __ceil.
9334 (__ceill): Call ceil instead of __ceil.
9335 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9336 __floor.
9337 (__floorl): Call floor instead of __floor.
9338
89983cb3
JM
93392018-09-17 Joseph Myers <joseph@codesourcery.com>
9340
71223ef9
JM
9341 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9342 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9343 using MATH_REDIRECT.
9344 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9345 header inclusion.
9346 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9347 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9348 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9349 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9350 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9351 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9352 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9353 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9355 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9358 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9359 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9360 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9361 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9362 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9363 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9364 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9365 Remove macro.
9366 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9367 functions instead of __ceil variants.
9368 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9369 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9370 Likewise.
9371 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9372 Likewise.
9373 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9374 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9375 Likewise.
9376 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9377 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9378
89983cb3
JM
9379 [BZ #21286]
9380 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9381 constant.
9382 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9383 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9384 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9385 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9386 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9387 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9388 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9389 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9390 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9391 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9392 (ILL_BADIADDR): Remove constant.
9393 (TRAP_BRANCH): Likewise.
9394 (TRAP_HWBKPT): Likewise.
9395
e44acb20
JM
93962018-09-14 Joseph Myers <joseph@codesourcery.com>
9397
3f7f1d18
JM
9398 [BZ #23656]
9399 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9400 Remove [_MIPS_SIM = _ABIN32] conditional case.
9401 (struct elf_prpsinfo): Likewise.
9402
d59f3e5e
JM
9403 [BZ #23649]
9404 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9405 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9406 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9407 Likewise.
9408 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9409 elf_prpsinfo): Likewise.
9410 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9411 elf_prpsinfo): Likewise.
9412 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9413 Likewise.
9414
f29b6f17
JM
9415 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9416 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9417 using MATH_REDIRECT.
9418 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9419 header inclusion.
9420 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9421 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9422 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9423 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9424 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9425 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9426 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9427 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9428 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9429 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9430 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9431 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9432 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9433 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9434 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9435 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9436 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9437 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9438 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9441 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9442 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9443 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9444 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9445 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9446 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9447 __rint variants.
9448 * math/e_scalbf.c (invalid_fn): Likewise.
9449 * math/e_scalbl.c (invalid_fn): Likewise.
9450 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9451 Likewise.
9452 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9453 Likewise.
9454 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9455 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9456 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9457 Likewise.
9458 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9459 Likewise.
9460 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9461 Likewise.
9462 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9463 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9464
e44acb20
JM
9465 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9466 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9467 New macro.
9468 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9469 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9470 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9471 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9472 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9473 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9474 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9475 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9476 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9477 && !NO_MATH_REDIRECT] (floor): Likewise.
9478 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9479 header inclusion.
9480 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9481 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9482 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9483 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9484 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9485 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9486 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9487 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9488 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9491 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9492 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9493 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9494 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9495 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9496 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9497 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9498 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9499 Remove macro.
9500 [_ARCH_PWR5X] (__floorf): Likewise.
9501 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9502 inline function.
9503 [__SSE4_1__] (__floorf): Likewise.
9504 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9505 instead of __floor variants.
9506 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9507 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9508 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9509 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9510 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9511 * math/w_tgamma_compat.c (__tgamma): Likewise.
9512 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9513 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9514 * math/w_tgammal_compat.c (__tgammal): Likewise.
9515 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9516 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9517 Likewise.
9518 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9519 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9520 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9521 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9522 Likewise.
9523 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9524 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9525 Likewise.
9526 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9527 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9528 Likewise.
9529 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9530 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9531 Likewise.
9532 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9533 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9534 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9535 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9536 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9537 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9538
221e4bab
JM
95392018-09-12 Joseph Myers <joseph@codesourcery.com>
9540
9541 * elf/Makefile (modules-names-tests): New variable.
9542
3e08ff54
SN
95432018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9544
9545 * NEWS: Mention log2 improvements.
9546 * math/Makefile (type-double-routines): Add e_log2_data.
9547 * sysdeps/i386/fpu/e_log2_data.c: New file.
9548 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9549 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9550 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9551 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9552 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9553 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9554
f41b0a43
SN
95552018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9556
9557 * NEWS: Mention log improvement.
9558 * math/Makefile (type-double-routines): Add e_log_data.
9559 * sysdeps/i386/fpu/e_log_data.c: New file.
9560 * sysdeps/ia64/fpu/e_log_data.c: New file.
9561 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9562 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9563 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9564 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9565 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9566 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9567
5a274db4
L
95682018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9569 Xuepeng Guo <xuepeng.guo@intel.com>
9570
9571 [BZ #23606]
9572 * sysdeps/i386/start.S: Include <sysdep.h>
9573 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9574 enabled. Add cfi_undefined (eip).
9575
b1176270
JM
95762018-09-11 Joseph Myers <joseph@codesourcery.com>
9577
4e7fbdd7
JM
9578 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9579 (MOVQ): Likewise.
9580 (EXTRACT_WORDS64): Likewise.
9581 (INSERT_WORDS64): Likewise.
9582 (GET_FLOAT_WORD): Likewise.
9583 (SET_FLOAT_WORD): Likewise.
9584
b1176270
JM
9585 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9586 argument.
9587 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9588 build, but not for second build if --full-gcc. Use
9589 --enable-languages=all for second build if --full-gcc.
9590 (get_parser): Add --full-gcc option.
9591 (main): Update call to Context.
9592
527f355e
RL
95932018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9594
9595 [BZ #10797]
9596 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9597 Single Quotation Mark).
9598 (thousands_sep): Likewise.
9599 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9600 * localedata/locales/it_IT (thousands_sep): Use ".".
9601 (grouping): Use "3;3".
9602
7244f13d
JM
96032018-09-10 Joseph Myers <joseph@codesourcery.com>
9604
9605 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9606 x86_64 and i686 configs using --enable-obsolete-rpc
9607 --enable-obsolete-nsl.
9608
38245425
SL
96092018-09-06 Stefan Liebler <stli@linux.ibm.com>
9610
9611 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9612
28669f86
SL
96132018-09-06 Stefan Liebler <stli@linux.ibm.com>
9614
9615 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9616 Increment size of new_argv by one.
9617
a33650d1
RL
96182018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9619
9620 [BZ #17426]
9621 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9622 * localedata/locales/ar_IN (d_fmt): Likewise.
9623 * localedata/locales/bhb_IN (d_fmt): Likewise.
9624 * localedata/locales/bho_IN (d_fmt): Likewise.
9625 * localedata/locales/bn_BD (d_fmt): Likewise.
9626 * localedata/locales/bn_IN (d_fmt): Likewise.
9627 * localedata/locales/doi_IN (d_fmt): Likewise.
9628 * localedata/locales/gu_IN (d_fmt): Likewise.
9629 * localedata/locales/hi_IN (d_fmt): Likewise.
9630 * localedata/locales/hne_IN (d_fmt): Likewise.
9631 * localedata/locales/kn_IN (d_fmt): Likewise.
9632 * localedata/locales/mag_IN (d_fmt): Likewise.
9633 * localedata/locales/mai_IN (d_fmt): Likewise.
9634 * localedata/locales/mjw_IN (d_fmt): Likewise.
9635 * localedata/locales/ml_IN (d_fmt): Likewise.
9636 * localedata/locales/mni_IN (d_fmt): Likewise.
9637 * localedata/locales/mr_IN (d_fmt): Likewise.
9638 * localedata/locales/pa_IN (d_fmt): Likewise.
9639 * localedata/locales/raj_IN (d_fmt): Likewise.
9640 * localedata/locales/sat_IN (d_fmt): Likewise.
9641 * localedata/locales/sd_IN (d_fmt): Likewise.
9642 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9643 * localedata/locales/ta_IN (d_fmt): Likewise.
9644 * localedata/locales/ta_LK (d_fmt): Likewise.
9645 * localedata/locales/tcy_IN (d_fmt): Likewise.
9646 * localedata/locales/ur_IN (d_fmt): Likewise.
9647
9648 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9649 * localedata/locales/ks_IN (d_fmt): Likewise.
9650 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9651
9652 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9653 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9654 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9655 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9656
d114e6a7
SN
96572018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9658
9659 * NEWS: Mention exp and exp2 improvements.
9660 * math/Makefile (libm-support): Remove t_exp.
9661 (type-double-routines): Add math_err and e_exp_data.
9662 * sysdeps/aarch64/libm-test-ulps: Update.
9663 * sysdeps/arm/libm-test-ulps: Update.
9664 * sysdeps/i386/fpu/e_exp_data.c: New file.
9665 * sysdeps/i386/fpu/math_err.c: New file.
9666 * sysdeps/i386/fpu/t_exp.c: Remove.
9667 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9668 * sysdeps/ia64/fpu/math_err.c: New file.
9669 * sysdeps/ia64/fpu/t_exp.c: Remove.
9670 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9671 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9672 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9673 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9674 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9675 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9676 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9677 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9678 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9679 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9680 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9681 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9682 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9683 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9684 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9686
b9d8c474
JM
96872018-09-05 Joseph Myers <joseph@codesourcery.com>
9688
b7cdc2ae
JM
9689 * sysdeps/alpha/fpu/math_private.h: Remove.
9690
b9d8c474
JM
9691 * sysdeps/generic/math_private.h
9692 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9693 Move this inline function ....
9694 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9695 * include/math.h [!_ISOMAC]: To here....
9696
418d99e6
JM
96972018-09-04 Joseph Myers <joseph@codesourcery.com>
9698
9699 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9700 code ....
9701 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9702 * include/fenv.h [!_ISOMAC]: ... to here.
9703 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9704 (feraiseexcept): Likewise.
9705 * math/fromfp.h: Do not include <fenv_private.h>.
9706 * math/s_cexp_template.c: Likewise.
9707 * math/s_csin_template.c: Likewise.
9708 * math/s_csinh_template.c: Likewise.
9709 * math/s_ctan_template.c: Likewise.
9710 * math/s_ctanh_template.c: Likewise.
9711 * math/s_iseqsig_template.c: Likewise.
9712 * math/w_acos_compat.c: Likewise.
9713 * math/w_acosf_compat.c: Likewise.
9714 * math/w_acosl_compat.c: Likewise.
9715 * math/w_asin_compat.c: Likewise.
9716 * math/w_asinf_compat.c: Likewise.
9717 * math/w_asinl_compat.c: Likewise.
9718 * math/w_j0_compat.c: Likewise.
9719 * math/w_j0f_compat.c: Likewise.
9720 * math/w_j0l_compat.c: Likewise.
9721 * math/w_j1_compat.c: Likewise.
9722 * math/w_j1f_compat.c: Likewise.
9723 * math/w_j1l_compat.c: Likewise.
9724 * math/w_jn_compat.c: Likewise.
9725 * math/w_jnf_compat.c: Likewise.
9726 * math/w_log10_compat.c: Likewise.
9727 * math/w_log10f_compat.c: Likewise.
9728 * math/w_log10l_compat.c: Likewise.
9729 * math/w_log2_compat.c: Likewise.
9730 * math/w_log2f_compat.c: Likewise.
9731 * math/w_log2l_compat.c: Likewise.
9732 * math/w_log_compat.c: Likewise.
9733 * math/w_logf_compat.c: Likewise.
9734 * math/w_logl_compat.c: Likewise.
9735 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9736 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9737 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9738 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9739 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9740 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9741 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9742 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9743 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9744 * sysdeps/ieee754/k_standardl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9752 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9757 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9758 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9759 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9760 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9761 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9762 * math/w_ilogb_template.c: Include <fenv.h> instead of
9763 <fenv_private.h>.
9764 * math/w_llogb_template.c: Likewise.
9765 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9766 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9767
70e2ba33
JM
97682018-09-03 Joseph Myers <joseph@codesourcery.com>
9769
9770 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9771 * math/fromfp.h: Include <fenv_private.h>.
9772 * math/math-narrow.h: Likewise.
9773 * math/s_cexp_template.c: Likewise.
9774 * math/s_csin_template.c: Likewise.
9775 * math/s_csinh_template.c: Likewise.
9776 * math/s_ctan_template.c: Likewise.
9777 * math/s_ctanh_template.c: Likewise.
9778 * math/s_iseqsig_template.c: Likewise.
9779 * math/w_acos_compat.c: Likewise.
9780 * math/w_acosf_compat.c: Likewise.
9781 * math/w_acosl_compat.c: Likewise.
9782 * math/w_asin_compat.c: Likewise.
9783 * math/w_asinf_compat.c: Likewise.
9784 * math/w_asinl_compat.c: Likewise.
9785 * math/w_ilogb_template.c: Likewise.
9786 * math/w_j0_compat.c: Likewise.
9787 * math/w_j0f_compat.c: Likewise.
9788 * math/w_j0l_compat.c: Likewise.
9789 * math/w_j1_compat.c: Likewise.
9790 * math/w_j1f_compat.c: Likewise.
9791 * math/w_j1l_compat.c: Likewise.
9792 * math/w_jn_compat.c: Likewise.
9793 * math/w_jnf_compat.c: Likewise.
9794 * math/w_llogb_template.c: Likewise.
9795 * math/w_log10_compat.c: Likewise.
9796 * math/w_log10f_compat.c: Likewise.
9797 * math/w_log10l_compat.c: Likewise.
9798 * math/w_log2_compat.c: Likewise.
9799 * math/w_log2f_compat.c: Likewise.
9800 * math/w_log2l_compat.c: Likewise.
9801 * math/w_log_compat.c: Likewise.
9802 * math/w_logf_compat.c: Likewise.
9803 * math/w_logl_compat.c: Likewise.
9804 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9805 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9806 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9807 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9827 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9828 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9829 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9830 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9831 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9832 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9833 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9834 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9835 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9837 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9838 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9839 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9840 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9841 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9842 * sysdeps/ieee754/k_standardl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9863 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9864 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9868 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9869 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9874 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9875 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9876 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9877 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9878 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9879 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9880 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9881 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9882 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9883 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9884 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9885 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9886 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9887 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9888 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9889 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9890 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9891 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9892 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9893 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9894 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9895 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9896 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9897 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9898 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9899 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9900 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9901 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9902 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9903 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9904 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9905 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9906 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9907 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9908 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9909 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9910 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9911 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9912 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9913 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9914
a6e8926f
PP
99152018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9916
9917 [BZ #20271]
9918 * include/stdio.h (__libc_fatal): Mention newline in comment.
9919 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9920 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9921 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9922 * nss/nsswitch.c (__nss_next2): Likewise.
9923 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9924 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9925 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9926 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9927 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9928 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9929 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9930 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9931 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9932 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9933 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9934 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9935 (__netlink_assert_response): Likewise.
9936
2bbd06bc
JM
99372018-08-31 Joseph Myers <joseph@codesourcery.com>
9938
9939 * conform/glibcconform.py: New file.
9940 * conform/list-header-symbols.py: Likewise.
9941 * conform/list-header-symbols.pl: Remove.
9942 * conform/Makefile (tests-special): Only add linknamespace tests
9943 if [PYTHON].
9944 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9945
81b9d87b
L
99462018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9947
9948 [BZ #23597]
9949 * support/Makefile (libsupport-routines): Add
9950 support_copy_file_range and xcopy_file_range.
9951 * support/support.h: Include <sys/types.h>.
9952 (support_copy_file_range): New prototype.
9953 * support/support_copy_file_range.c: New file. Copied and
9954 modified from io/copy_file_range-compat.c.
9955 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9956 instead of copy_file_range.
9957 * support/xcopy_file_range.c: New file.
9958 * support/xunistd.h (xcopy_file_range): New prototype.
9959
d330f31a
CD
99602018-08-30 Carlos O'Donell <carlos@redhat.com>
9961
9962 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9963 xpthread_create and xpthread_join.
9964
2bda273a
FW
99652018-08-30 Florian Weimer <fweimer@redhat.com>
9966
9967 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9968
3bad2358
SL
99692018-08-30 Stefan Liebler <stli@linux.ibm.com>
9970
9971 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9972 if malloc fails.
9973
09c12efc
JM
99742018-08-29 Joseph Myers <joseph@codesourcery.com>
9975
9976 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9977 and minus_oflow as non-finite.
9978
ff6b2450
JM
99792018-08-28 Joseph Myers <joseph@codesourcery.com>
9980
9981 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9982 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9983 moved to fenv_private.h except for ...
9984 (TOINT_INTRINSICS): Kept in math_private.h.
9985 (roundtoint): Likewise.
9986 (converttoint): Likewise.
9987 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9988 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9989 * sysdeps/arm/math_private.h: Remove.
9990 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9991 ....
9992 * sysdeps/generic/math_private.h: ... this file. Include
9993 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9994 Include <fenv_private.h>. Remove functions and macros moved to
9995 fenv_private.h.
9996 * sysdeps/i386/fpu/math_private.h: Remove.
9997 * sysdeps/mips/math_private.h: Move to ....
9998 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9999 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
10000 [__mips_hard_float] conditional. Include next <fenv_private.h>.
10001 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
10002 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10003 * sysdeps/powerpc/fpu/math_private.h: Do not include
10004 <fenv_private.h>.
10005 * sysdeps/riscv/rvf/math_private.h: Move to ....
10006 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10007 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10008 <fenv_private.h>.
10009 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10010 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10011 * sysdeps/sparc/fpu/math_private.h: Remove.
10012 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10013 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10014 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10015 <fenv_private.h>.
10016 * sysdeps/x86_64/fpu/math_private.h: Do not include
10017 <sysdeps/i386/fpu/fenv_private.h>.
10018
761404b7
FW
100192018-08-28 Florian Weimer <fweimer@redhat.com>
10020
10021 [BZ #23578]
10022 * posix/tst-regcomp-truncated.c: New file.
10023 * posix/Makefile (tests): Add it.
10024 (tst-regcomp-truncated.out): Depend on generated locales.
10025
d6c44c3d
FW
100262018-08-28 Florian Weimer <fweimer@redhat.com>
10027
10028 * support/test-container.c (main): Treat unshare failure with
10029 EPERM as an unsupported test.
10030
745664bd
FW
100312018-08-28 Florian Weimer <fweimer@redhat.com>
10032
10033 [BZ #23520]
10034 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10035 * nscd/netgroupcache.c
10036 (addgetnetgrentX): Add tofreep parameter. Do not free
10037 heap-allocated buffer.
10038 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10039 (addgetnetgrentX_ignore): New function.
10040 (addgetnetgrent): Call it.
10041 (readdgetnetgrent): Likewise.
10042
c8dd67e7
RS
100432018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10044
10045 * string/memmem.c: Use memcmp for first match.
10046
5abedf97
RL
100472018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10048
10049 [BZ #17426]
10050 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10051
86de0499
DD
100522018-08-27 DJ Delorie <dj@redhat.com>
10053
10054 * support/Makefile (others): Don't list programs explicitly as a
10055 dependency of "others".
10056
c3ab2110
JM
100572018-08-27 Joseph Myers <joseph@codesourcery.com>
10058
10059 * sysdeps/generic/math-tests-trap-force.h: New file.
10060 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10061 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10062 * sysdeps/powerpc/math-tests.h: Remove file.
10063 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10064
6b5c8607
TS
100652018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10066 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10067
10068 [BZ #23538]
10069 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10070 Update r to include the set wake-request flag if waiters are
10071 remaining after spinning.
10072
4061791f
JM
100732018-08-27 Joseph Myers <joseph@codesourcery.com>
10074
10075 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10076
bc680b33
PE
100772018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10078
761404b7 10079 [BZ #23578]
bc680b33
PE
10080 regex: fix uninitialized memory access
10081 I introduced this bug into gnulib in commit
10082 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10083 eventually it was merged into glibc. The bug was found by
10084 project-repo <bugs@feusi.co> and reported here:
10085 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10086 Diagnosis and draft fix reported by Assaf Gordon here:
10087 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10088 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10089 * posix/regex_internal.c (build_wcs_upper_buffer):
10090 Fix bug when mbrtowc returns 0.
10091
02458a52
CD
100922018-08-24 Carlos O'Donell <carlos@redhat.com>
10093
10094 * po/be.po: Update translation.
10095
acc2842a
DD
100962018-08-24 DJ Delorie <dj@delorie.com>
10097
10098 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10099 $(libunwind).
10100
6c3a8a9d
PP
101012018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10102
b39d961c
TS
10103 [BZ #23400]
10104 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10105 create temporary files in source tree.
6c3a8a9d 10106
895ef79e
JM
101072018-08-24 Joseph Myers <joseph@codesourcery.com>
10108
10109 * sysdeps/generic/math-tests-trap.h: New file.
10110 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10111 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10112 * sysdeps/aarch64/math-tests.h: Remove file.
10113 * sysdeps/arm/math-tests.h: Likewise.
10114 * sysdeps/riscv/math-tests.h: Likewise.
10115 * sysdeps/aarch64/math-tests-trap.h: New file.
10116 * sysdeps/arm/math-tests-trap.h: Likewise.
10117 * sysdeps/riscv/math-tests-trap.h: Likewise.
10118
ca3aac57
WD
101192018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10120
10121 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10122 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10123 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10124 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10125 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10126 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10127 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10128 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10129 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10130 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10131 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10132 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10133 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10134 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10135 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10136 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10137 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10138 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10139
60bcac09
JM
101402018-08-23 Joseph Myers <joseph@codesourcery.com>
10141
10142 * sysdeps/generic/math-tests-exceptions.h: New file.
10143 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10144 (EXCEPTION_TESTS_float): Do not define here.
10145 (EXCEPTION_TESTS_double): Likewise.
10146 (EXCEPTION_TESTS_long_double): Likewise.
10147 (EXCEPTION_TESTS_float128): Likewise.
10148 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10149 Likewise.
10150 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10151 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10152 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10153 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10154 * sysdeps/mips/math-tests.h: Likewise.
10155 * sysdeps/nios2/math-tests.h: Likewise.
10156 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10157 (EXCEPTION_TESTS_float): Do not define here.
10158 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10159 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10160 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10161
3bded567
WD
101622018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10163
10164 * NEWS: Move optimized sinf entry to 2.29.
10165
900fb446
WD
101662018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10167
10168 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10169
561b0bec
DD
101702018-08-22 DJ Delorie <dj@redhat.com>
10171
10172 * Makefile (testroot.pristine): New rules to initialize the
10173 test-in-container "testroot".
10174 * Makerules (all-testsuite): Add tests-container.
10175 * Rules (tests-expected): Add tests-container.
10176 (binaries-all-tests): Likewise.
10177 (tests-container): New, run these tests in the testroot container.
10178 * support/Makefile (others): Add *-container, support_paths.c,
10179 xmkdirp, and links-dso-program.
10180 * support/links-dso-program-c.c: New.
10181 * support/links-dso-program.cc: New.
10182 * support/test-container.c: New.
10183 * support/shell-container.c: New.
10184 * support/echo-container.c: New.
10185 * support/true-container.c: New.
10186 * support/xmkdirp.c: New.
10187 * support/xsymlink.c: New.
10188 * support/support_paths.c: New.
10189 * support/support.h: Add support paths prototypes.
10190 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10191
10192 * nss/tst-nss-test3.c: Convert to test-in-container.
10193 * nss/tst-nss-test3.root/: New.
10194
b35d3509
PE
101952018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10196
10197 regex: port Gnulib code to z/OS POSIX environment
10198 Problem reported by Arnold Robbins in:
10199 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10200 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10201 Undef.
10202
16a25138
JM
102032018-08-22 Joseph Myers <joseph@codesourcery.com>
10204
debc4c98
JM
10205 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10206 (ROUNDING_TESTS_double): Remove.
10207 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10208 (ROUNDING_TESTS_double): Remove.
10209 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10210 (ROUNDING_TESTS_double): Remove.
10211 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10212 (ROUNDING_TESTS_float): Remove.
10213 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10214 (ROUNDING_TESTS_float): Remove.
10215 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10216 (ROUNDING_TESTS_float): Remove.
10217 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10218 !TEST_MATHVEC here.
10219 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10220 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10221
16a25138
JM
10222 * sysdeps/generic/math-tests-rounding.h: New file.
10223 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10224 (ROUNDING_TESTS_float): Do not define here.
10225 (ROUNDING_TESTS_double): Likewise.
10226 (ROUNDING_TESTS_long_double): Likewise.
10227 (ROUNDING_TESTS_float128): Likewise.
10228 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10229 (ROUNDING_TESTS_double): Undefine before defining.
10230 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10231 (ROUNDING_TESTS_double): Undefine before defining.
10232 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10233 (ROUNDING_TESTS_double): Undefine before defining.
10234 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10235 (ROUNDING_TESTS_float): Undefine before defining.
10236 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10237 (ROUNDING_TESTS_float): Undefine before defining.
10238 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10239 (ROUNDING_TESTS_float): Undefine before defining.
10240 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10241 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10242 not define here.
10243 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10244 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10245 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10246 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10247 (ROUNDING_TESTS_float): Do not define here.
10248 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10249 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10250 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10251 (ROUNDING_TESTS_float): Likewise.
10252 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10253 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10254 * sysdeps/mips/math-tests.h [__mips_soft_float]
10255 (ROUNDING_TESTS_float): Likewise.
10256 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10257 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10258 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10259 (ROUNDING_TESTS_double): Likewise.
10260 (ROUNDING_TESTS_long_double): Likewise.
10261
38b0593e
TK
102622018-08-21 Tobias Klauser <tklauser@distanz.ch>
10263
10264 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10265 (PF_XDP): New macro.
10266 (AF_XDP): New macro.
10267 (SOL_XDP): New macro.
10268
5cd7dbde
JM
102692018-08-21 Joseph Myers <joseph@codesourcery.com>
10270
10271 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10272 (TCP_INQ): Likewise.
10273 (TCP_CM_INQ): Likewise.
10274 (TCP_REPAIR_ON): Likewise.
10275 (TCP_REPAIR_OFF): Likewise.
10276 (TCP_REPAIR_OFF_NO_WP): Likewise.
10277 (struct tcp_zerocopy_receive): New type.
10278
aa42b3db
FW
102792018-08-21 Florian Weimer <fweimer@redhat.com>
10280
10281 * support/support.h (support_descriptor_supports_holes): Declare.
10282 * support/Makefile (libsupport-routines): Add
10283 support_descriptor_supports_holes.
10284 * support/support_descriptor_supports_holes.c: New file.
10285 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10286 and stop testing if holes are not supported.
10287 * io/test-lfs.c (do_prepare): Likewise.
10288 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10289 Likewise.
10290 * timezone/tst-tzset.c (create_tz_file): Likewise.
10291 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10292 variable.
10293 (do_prepare): Set it.
10294 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10295
c7627f41
FW
102962018-08-21 Florian Weimer <fweimer@redhat.com>
10297
10298 [BZ #17248]
10299 * Makeconfig (+cflags): Do not sort (and deduplicate).
10300
ef939d92
FW
103012018-08-21 Florian Weimer <fweimer@redhat.com>
10302
10303 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10304 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10305
88ffb39d
FW
103062018-08-20 Florian Weimer <fweimer@redhat.com>
10307
10308 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10309 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10310
17419540
JM
103112018-08-20 Joseph Myers <joseph@codesourcery.com>
10312
e6edd40d
JM
10313 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10314 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10315 and ssi_arch members.
10316
17419540
JM
10317 * elf/elf.c (NT_VMCOREDD): New macro.
10318 (AT_MINSIGSTKSZ): Likewise.
10319
fa78896b
RS
103202018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10321
10322 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10323 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10324 s_cosf-ppc64 and s_cosf-power8.
10325 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10326 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10327 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10328 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10335 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10336 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10337
86a6c75a
FW
103382018-08-17 Florian Weimer <fweimer@redhat.com>
10339
10340 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10341
35cfefd9
FW
103422018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10343
10344 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10345
6413fcde
FW
103462018-08-16 Florian Weimer <fweimer@redhat.com>
10347
10348 * configure.ac: Add --with-nonshared-cflags option.
10349 * config.make.in (extra-nonshared-cflags): Set variable.
10350 * Makeconfig (CFLAGS-.oS): Use it.
10351 * manual/install.texi (Configuring and compiling): Document
10352 --with-nonshared-cflags.
10353 * configure: Regenerate.
10354 * INSTALL: Likewise.
10355
93a2584c
FW
103562018-08-16 Florian Weimer <fweimer@redhat.com>
10357
10358 * Makeconfig (ASFLAGS): Always append required assembler flags.
10359
f6f275d2 103602018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10361
10362 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10363 (malloc_consolidate): Likewise.
10364
30a17d8c
PC
103652018-08-16 Pochang Chen <johnchen902@gmail.com>
10366
10367 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10368
953a5a4a
SP
103692018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10370
34f86d61
SP
10371 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10372 every strlen call.
10373
953a5a4a
SP
10374 * benchtests/bench-strlen.c: Print performance numbers in json.
10375
7793ad7a
RS
103762018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10377
10378 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10379 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10380 only for little endian.
10381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10382 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10383 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10384 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10385 Add check for little endian.
10386 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10387 (__strcmp_power9): Add check for little endian.
10388 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10389 Add check for little endian.
10390 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10391 (__strncmp_power9): Add check for little endian.
10392 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10393 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10394 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10395 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10396 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10397
436e4d5b
SP
103982018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10399
10400 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10401 [!STRLEN](STRLEN): Set to __strlen.
10402 * sysdeps/aarch64/multiarch/strlen.c: New file.
10403 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10404 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10405 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10406 (__libc_ifunc_impl_list): Add strlen.
10407 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10408 strlen_generic and strlen_asimd.
10409
126c4e3f
WD
104102018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10411
10412 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10413 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10414 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10415
49acec17
WD
104162018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10417
10418 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10419
fdb16de3
FW
104202018-08-14 Florian Weimer <fweimer@redhat.com>
10421
10422 [BZ #23519]
10423 * include/stdio.h (__vfxprintf): Declare.
10424 * stdio-common/fxprintf.c (__vfxprintf): New function.
10425 (__fxprintf): Call it.
10426 * misc/err.c (convert_and_print): Remove function.
10427 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10428 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10429 * misc/Makefile (tests): Add tst-warn-wide.
10430 * misc/tst-warn-wide.c: New file.
10431
599cf397
WD
104322018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10433 Szabolcs Nagy <szabolcs.nagy@arm.com>
10434
10435 * NEWS: Mention sinf, cosf, sincosf.
10436 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10437 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10438 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10439 constants rather than including generic sincosf.h.
10440 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10441 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10442 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10443 (reduced_cos): Remove.
10444 (sinf_poly): New function.
10445 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10446
e95c6f61
FW
104472018-08-14 Florian Weimer <fweimer@redhat.com>
10448
10449 [BZ #23521]
10450 [BZ #23522]
10451 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10452 processing, bail out if no room, and close the stream before
10453 returning ERANGE.
10454 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10455 (tst-nss-files-alias-leak): Link with libdl.
10456 (tst-nss-files-alias-leak.out): Depend on nss_files.
10457
10458 * nss/tst-nss-files-alias-leak.c: New file.
10459
2d7acfac
FW
104602018-08-14 Florian Weimer <fweimer@redhat.com>
10461
10462 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10463 server_user, stat_user.
10464
f3cd0904
JM
104652018-08-13 Joseph Myers <joseph@codesourcery.com>
10466
17b26500
JM
10467 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10468 version to 4.18.
10469 (io_pgetevents): New syscall.
10470 (rseq): Likewise.
10471
3c1622eb
JM
10472 * manual/install.texi (Configuring and compiling): Do not list
10473 tools used for testing pretty printers here.
10474 (Tools for Compilation): List Python, PExpect and GDB here.
10475 Update descriptions of uses of Perl and Python.
10476 * INSTALL: Regenerate.
10477
f3cd0904
JM
10478 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10479 version to 4.18.
10480
b7b52b9d
FW
104812018-08-13 Florian Weimer <fweimer@redhat.com>
10482
10483 * misc/error.c (error): Add missing va_end call.
10484 (error_at_line): Likewise.
10485
01780188
FW
104862018-08-13 Florian Weimer <fweimer@redhat.com>
10487
10488 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10489
44727aec
SP
104902018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10491
8cac1f26
SP
10492 * benchtests/scripts/benchout.schema.json (properties): Add
10493 new properties.
10494
44727aec
SP
10495 * benchtests/bench-skeleton.c (main): Add duration and
10496 iterations attributes.
10497
c77bf91b
PE
104982018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10499
10500 regex: Gnulib unibyte RRI uses bytes not chars
10501 Adjust the non-glibc code to agree with what Gawk needs for
10502 rational range interpretation (RRI) for regular expression ranges.
10503 In unibyte locales, Gawk wants ranges to use the underlying byte
10504 rather than the character code point. This change does not affect
10505 glibc proper.
10506 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10507 In unibyte locales, use the byte value rather than
10508 running it through btowc.
10509
2ce7ba7d
JM
105102018-08-10 Joseph Myers <joseph@codesourcery.com>
10511
10512 * sysdeps/generic/math-tests-snan.h: New file.
10513 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10514 (SNAN_TESTS_float): Do not define here.
10515 (SNAN_TESTS_double): Likewise.
10516 (SNAN_TESTS_long_double): Likewise.
10517 (SNAN_TESTS_float128): Likewise.
10518 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10519 * sysdeps/i386/fpu/math-tests.h: Remove file.
10520 * sysdeps/ia64/math-tests-snan.h: New file.
10521 * sysdeps/ia64/math-tests.h: Remove file.
10522 * sysdeps/x86/math-tests.h: Likewise.
10523 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10524
ea5c662c
WD
105252018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10526 Szabolcs Nagy <szabolcs.nagy@arm.com>
10527
10528 * math/Makefile: Add s_sincosf_data.c.
10529 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10530 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10531 (sincosf_poly): Likewise.
10532 (reduce_small): Likewise.
10533 (reduce_large): Likewise.
10534 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10535 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10536 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10537 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10538
43cfdf8f
SN
105392018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10540 Szabolcs Nagy <szabolcs.nagy@arm.com>
10541
10542 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10543 (converttoint): Use lround.
10544 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10545 document the semantics when TOINT_INTRINSICS is set.
10546 (converttoint): Likewise.
10547 (TOINT_RINT): Remove.
10548 (TOINT_SHIFT): Remove.
10549 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10550 path.
10551
69065288
FW
105522018-08-10 Florian Weimer <fweimer@redhat.com>
10553
10554 [BZ #23497]
10555 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10556 function.
10557 (__old_getdents64): Use getdents64. Convert entries without
10558 moving them.
10559 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10560 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10561 tst-readdir64-compat.
10562
8f135efc
IL
105632018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10564
10565 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10566 Fix unwind.
10567
71c01af5
IL
105682018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10569
10570 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10571 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10572 code to s390x-mcount.h and #include it.
10573 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10574 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10575 (__fentry__): Add.
10576
8d997d22
IL
105772018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10578
10579 * stdlib/Versions: Remove __fentry__.
10580 * sysdeps/i386/Versions: Add __fentry__.
10581 * sysdeps/x86_64/Versions: Add __fentry__.
10582
69e2444a
IL
105832018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10584
10585 * sysdeps/s390/Makefile: Register the new tests.
10586 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10587 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10588 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10589 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10590 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10591 * sysdeps/s390/tst-dl-runtime.c: New file.
10592
bde6320f
IL
105932018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10594
10595 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10596 Do not clobber R0.
10597
5755f5e4
IL
105982018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10599
10600 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10601 Do not clobber R0.
10602
c8ad8522
IL
106032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10604
10605 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10606 Do not clobber R0.
10607
b215eee1
IL
106082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10609
10610 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10611 Do not clobber R0.
10612
329c6fec
IL
106132018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10614
10615 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10616 Use symbolic offsets for stack variables.
10617
0fb7afa2
IL
106182018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10619
10620 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10621 Use symbolic offsets for stack variables.
10622
6954059a
IL
106232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10624
10625 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10626 Use symbolic offsets for stack variables.
10627
c7099673
IL
106282018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10629
10630 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10631 Use symbolic offsets for stack variables.
10632
2813e41e
JM
106332018-08-09 Joseph Myers <joseph@codesourcery.com>
10634
10635 * math/gen-libm-test.py: New file.
10636 * math/gen-libm-test.pl: Remove.
10637 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10638 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10639 gen-libm-test.pl.
10640 ($(libm-test-c-noauto-obj)): Likewise.
10641 ($(libm-test-c-auto-obj)): Likewise.
10642 ($(libm-test-c-narrow-obj)): Likewise.
10643 (regen-ulps): Likewise.
10644 * math/README.libm-test: Update references to gen-libm-test.pl.
10645 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10646 referencing gen-libm-test.pl.
10647 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10648 * math/libm-test-support.c: Likewise.
10649 * math/libm-test-support.h: Likewise.
10650 * sysdeps/generic/libm-test-ulps: Likewise.
10651
be64b194
SP
106522018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10653
10654 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10655 Fix value.
10656
140137fb
JM
106572018-08-08 Joseph Myers <joseph@codesourcery.com>
10658
10659 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10660 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10661
b5403eca
ST
106622018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10663
10664 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10665 symbols.
8ac0f9e6
ST
10666 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10667 __pthread_setspecific): Add hidden proto.
10668 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10669 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10670
014efdd7
SP
106712018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10672
10673 * benchtests/bench-string.h (buf1_size, buf2_size): New
10674 variables.
10675 (init_sizes): New function.
10676 (test_init): Use it.
10677 (alloc_buf, exit_error): New functions.
10678 (alloc_bufs): Use ALLOC_BUF.
10679 (realloc_bufs): Remove.
10680 * benchtests/bench-memcmp.c (do_test): Adjust.
10681 * benchtests/bench-memset-large.c (do_test): Likewise.
10682 * benchtests/bench-memset-walk.c (do_test): Likewise.
10683 * benchtests/bench-memset.c (do_test): Likewise.
10684 * benchtests/bench-strncmp.c (do_test): Likewise.
10685
92a4cba7
AS
106862018-08-06 Andreas Schwab <schwab@suse.de>
10687
10688 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10689 of CONST_THREAD_AREA.
10690
fb4c32ae
L
106912018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10692
10693 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10694 (STATE_SAVE_MASK): Likewise.
10695 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10696 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10697 (STATE_SAVE_MASK): Likewise.
10698 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10699 instead of <cpu-features.h>.
10700
bf418187
DD
107012018-08-03 DJ Delorie <dj@redhat.com>
10702
10703 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10704 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10705
bb17621a
DD
10706 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10707
ea705eb5
JM
107082018-08-03 Joseph Myers <joseph@codesourcery.com>
10709
10710 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10711 after TEST_* calls.
10712 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10713 * math/libm-test-logb.inc (logb_test_data): Likewise.
10714
284f42bc
WD
107152018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10716
10717 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10718 * string/strstr.c (AVAILABLE): Likewise.
10719
430388d5
L
107202018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10721
10722 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10723 <init-arch.h>.
10724 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10725 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10726 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10727
c5760aa9
CD
107282018-08-03 Carlos O'Donell <carlos@redhat.com>
10729
10730 * po/be.po: Update translation.
10731
6b535b84
CD
10732 * po/be.po: Update translation.
10733
ae67f2e5
L
107342018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10735
10736 * sysdeps/x86/cpu-features-offsets.sym
10737 (rtld_global_ro_offsetof): Removed.
10738 (CPU_FEATURES_SIZE): Likewise.
10739 (CPUID_OFFSET): Likewise.
10740 (CPUID_SIZE): Likewise.
10741 (CPUID_EAX_OFFSET): Likewise.
10742 (CPUID_EBX_OFFSET): Likewise.
10743 (CPUID_ECX_OFFSET): Likewise.
10744 (CPUID_EDX_OFFSET): Likewise.
10745 (FAMILY_OFFSET): Likewise.
10746 (MODEL_OFFSET): Likewise.
10747 (FEATURE_OFFSET): Likewise.
10748 (FEATURE_SIZ): Likewise.
10749 (COMMON_CPUID_INDEX_1): Likewise.
10750 (COMMON_CPUID_INDEX_7): Likewise.
10751 (FEATURE_INDEX_1): Likewise.
10752 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10753
6b5c8607 107542018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10755
10756 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10757 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10758 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10759 (install-locales): Depend on install-locale-archive.
10760 (install-locale-archive): Define.
7b7adbd8 10761 (install-locale-files): Define.
08a5ee14
CD
10762 (build-one-locale): Define macro.
10763 * manual/install.texi (Running make install): Document.
10764 * manual/INSTALL: Regenerate.
10765
525691bd
SP
107662018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10767
d67d634b
SP
10768 * benchtests/scripts/compare_strings.py: Import traceback.
10769 (parse_file): Pretty-print error.
10770
525691bd
SP
10771 * NEWS: Mention the change.
10772 * elf/dl-tunables.list: Rename tune namespace to cpu.
10773 * sysdeps/powerpc/dl-tunables.list: Likewise.
10774 * sysdeps/x86/dl-tunables.list: Likewise.
10775 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10776 cpu.name.
10777 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10778 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10779 * manual/README.tunables: Likewise.
10780 * manual/tunables.texi: Likewise.
10781 * sysdeps/powerpc/cpu-features.c: Likewise.
10782 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10783 (init_cpu_features): Likewise.
10784 * sysdeps/x86/cpu-features.c: Likewise.
10785 * sysdeps/x86/cpu-features.h: Likewise.
10786 * sysdeps/x86/cpu-tunables.c: Likewise.
10787 * sysdeps/x86_64/Makefile: Likewise.
10788 * sysdeps/x86/dl-cet.c: Likewise.
10789
506d7fb1
JM
107902018-08-02 Joseph Myers <joseph@codesourcery.com>
10791
10792 [BZ #23479]
10793 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10794 [__mips_hard_float].
10795 (FE_UNDERFLOW): Likewise.
10796 (FE_OVERFLOW): Likewise.
10797 (FE_DIVBYZERO): Likewise.
10798 (FE_INVALID): Likewise.
10799 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10800 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10801 (FE_UPWARD): Likewise.
10802 (FE_DOWNWARD): Likewise.
10803 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10804 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10805 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10806 [__mips_hard_float].
10807 (FP_ROUNDMODE): Likewise.
10808 (FP_RND_NEAREST): Likewise.
10809 (FP_RND_ZERO): Likewise.
10810 (FP_RND_PINF): Likewise.
10811 (FP_RND_MINF): Likewise.
10812 (FP_EX_INVALID): Likewise.
10813 (FP_EX_OVERFLOW): Likewise.
10814 (FP_EX_UNDERFLOW): Likewise.
10815 (FP_EX_DIVZERO): Likewise.
10816 (FP_EX_INEXACT): Likewise.
10817 (FP_INIT_ROUNDMODE): Likewise.
10818 * sysdeps/mips/nofpu/fesetenv.c: New file.
10819 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10820
f6dcefbe
JM
108212018-08-01 Joseph Myers <joseph@codesourcery.com>
10822
10823 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10824 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10825 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10826 conditional on [FE_UPWARD].
10827
fa67ba06
PE
108282018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10829
10830 regex: fix memory leak in Gnulib
10831 Problem and fix reported by Assaf Gordon in:
10832 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10833 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10834 range_ends members too, as they are defined in 'struct
10835 re_charset_t' even if not _LIBC. This affects only Gnulib.
10836
82c80ac2
L
108372018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10838
10839 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10840 ...
10841 (get_common_indices): This.
10842 (init_cpu_features): Updated.
10843
c0e7e2c1
JM
108442018-08-01 Joseph Myers <joseph@codesourcery.com>
10845
46f8cf57
JM
10846 * sysdeps/generic/math-tests-snan-payload.h: New file.
10847 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10848 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10849 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10850 * sysdeps/generic/math-tests.h: Include
10851 <math-tests-snan-payload.h>.
10852 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10853 * sysdeps/hppa/math-tests.h: Remove file.
10854 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10855 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10856 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10857 Likewise.
10858
c0e7e2c1
JM
10859 * sysdeps/generic/math-tests-snan-cast.h: New file.
10860 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10861 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10862 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10863 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10864
74939c83
CD
108652018-08-01 Carlos O'Donel <carlos@redhat.com>
10866
b029723b
CD
10867 * version.h (RELEASE): Set to "development".
10868 (VERSION): Set to "2.28.9000".
10869 * NEWS (2.29): New section.
10870
3c03baca
CD
10871 * version.h (RELEASE): Set to "stable".
10872 (VERSION): Set to "2.28".
10873 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10874 * NEWS: Add the list of bugs fixed in 2.28.
10875
74939c83
CD
10876 * po/ca.po: Update to latest version.
10877 * po/cs.po: Likewise
10878 * po/da.po: Likewise
10879 * po/el.po: Likewise
10880 * po/eo.po: Likewise
10881 * po/es.po: Likewise
10882 * po/fi.po: Likewise
10883 * po/fr.po: Likewise
10884 * po/gl.po: Likewise
10885 * po/hu.po: Likewise
10886 * po/ia.po: Likewise
10887 * po/id.po: Likewise
10888 * po/it.po: Likewise
10889 * po/ja.po: Likewise
10890 * po/ko.po: Likewise
10891 * po/lt.po: Likewise
10892 * po/nb.po: Likewise
10893 * po/nl.po: Likewise
10894 * po/pt_BR.po: Likewise
10895 * po/ru.po: Likewise
10896 * po/rw.po: Likewise
10897 * po/sk.po: Likewise
10898 * po/sl.po: Likewise
10899 * po/tr.po: Likewise
10900 * po/zh_CN.po: Likewise
10901 * po/zh_TW.po: Likewise
10902
d4b54bdf
ST
109032018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10904
10905 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10906 initialization...
10907 (init): ... before initializing libpthread.
10908
42fc12ef
ST
10909 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10910 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10911 (__mach_setup_tls): ... new function.
10912 (mach_setup_tls): New alias.
10913 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10914 __mach_setup_thread.
10915 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10916 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10917 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10918 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10919
6cca855e
CD
109202018-07-31 Carlos O'Donell <carlos@redhat.com>
10921
f650932b
CD
10922 * manual/install.texi: Update versions.
10923 * INSTALL: Regenerate.
10924
6cca855e
CD
10925 * manual/contrib.texi (Contributors): Update contributions.
10926
07fdea47
CD
109272018-07-31 Carlos O'Donell <carlos@redhat.com>
10928
10929 * po/be.po: Update translations.
10930
63d5fad4
AZ
109312018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10932
10933 * sysdeps/sh/libm-test-ulps: Update.
10934
1ff712a6
CD
109352018-07-30 Carlos O'Donell <carlos@redhat.com>
10936
10937 * po/bg.po: Update translations.
10938 * po/de.po: Likewise.
10939 * po/hr.po: Likewise.
10940 * po/pt_BR.po: Likewise.
10941 * po/sv.po: Likewise.
10942 * po/vi.po: Likewise.
10943
98864ed0
L
109442018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10945
10946 [BZ #23467]
10947 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10948 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10949 (CFLAGS-tst-cet-property-1.o): New.
10950 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10951 ($(objpfx)tst-cet-property-2): Likewise.
10952 ($(objpfx)tst-cet-property-2.out): Likewise.
10953 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10954 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10955 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10956 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10957 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10958
c92a00d8
L
109592018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10960
10961 [BZ #23458]
10962 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10963
99bc6241
ST
109642018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10965
10966 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10967 __sbrk): Do not set attribute_hidden.
af86087f 10968 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10969 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10970 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10971
bcb1c4af
CD
109722018-07-27 Carlos O'Donell <carlos@redhat.com>
10973
10974 * po/uk.po: Update translations.
10975 * po/cs.po: Likewise.
10976 * po/pl.po: Likewise.
10977
4591b7db
L
109782018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10979
10980 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10981 parse beyond the note end.
10982
2c6da2f4
AZ
109832018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10984
10985 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10986 kernel does not support OFD locks.
10987 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10988
20365a31
ST
109892018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10990
10991 * sysdeps/mach/hurd/Versions (libc): Make __access and
10992 __access_noerrno external so they can override the ld symbols.
10993 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10994 __writev, __open64, __access_noerrno extern so they can be overrided.
10995 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10996 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10997
cb1a43db
CD
109982018-07-26 Carlos O'Donell <carlos@redhat.com>
10999
11000 * po/libc.pot: Regenerate.
11001
74759ae5
JM
110022018-07-26 Joseph Myers <joseph@codesourcery.com>
11003
11004 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11005
da80612d
L
110062018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11007
11008 [BZ #23459]
11009 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11010 function.
11011 (init_cpu_features): Call get_extended_indices for both Intel
11012 and AMD CPUs.
11013 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11014 Remove "for AMD" comment.
11015
65d87ade
L
110162018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11017
11018 [BZ # 23456]
11019 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11020 COMMON_CPUID_INDEX_80000001.
11021
c9dc4d51
SL
110222018-07-26 Stefan Liebler <stli@linux.ibm.com>
11023
11024 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11025 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11026
cfba5dbb
FW
110272018-07-26 Florian Weimer <fweimer@redhat.com>
11028
11029 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11030 aliases for symbols not in the implementation namespace.
11031
6b5c8607 110322018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
11033
11034 [BZ #23393]
11035 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11036 lowercase in LATIN script.
11037 * localedata/Makefile (test-input): Add en_US.UTF-8.
11038 * localedata/en_US.UTF-8.in: New file.
11039 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11040 and restore old tests.
11041 * posix/tst-regexloc.c (do_test): Add back range expression test.
11042
3fb455b3
L
110432018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11044
11045 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11046
d6499b70
AZ
110472018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11048
11049 * nptl/threads.h: Move to ...
11050 * sysdeps/nptl/threads.h: ... here.
11051 * sysdeps/hurd/stdc-predef.h: New file.
11052
08ac6bed
L
110532018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11056 tst-cet-setcontext-1 if CET is enabled.
11057 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11058 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11059
9faaf938
AZ
110602018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11061
11062 * include/threads.h: Move to ...
11063 * sysdeps/nptl/threads.h: ... here.
11064 * sysdeps/htl/threads.h: New file.
11065 * conform/Makefile (linknamespace-libs-ISO11): Use
11066 static-thread-library instead of linking libpthread.
11067 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11068
d6b8f847
FW
110692018-07-25 Florian Weimer <fweimer@redhat.com>
11070
11071 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11072 nanoseconds into seconds.
11073 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11074 (do_test): Likewise.
11075 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11076 (do_test): Likewise. Avoid nanosecond overflow and spurious
11077 timeouts due to system load.
11078 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11079 (child_wait): Increment it.
11080 (do_test): Wait as long as necessary until all expected threads
11081 have arrived.
11082
25123a1c
L
110832018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11084 H.J. Lu <hongjiu.lu@intel.com>
11085
11086 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11087 __ssp.
11088 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11089 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11090 (__push___start_context): New.
11091 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11092 <asm/prctl.h>.
11093 (__getcontext): Record the current shadow stack base. Save the
11094 caller's shadow stack pointer and base.
11095 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11096 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11097 (__push___start_context): New prototype.
11098 (__makecontext): Call __push___start_context to allocate a new
11099 shadow stack, push __start_context onto the new stack as well
11100 as the new shadow stack.
11101 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11102 <asm/prctl.h>.
11103 (__setcontext): Restore the target shadow stack.
11104 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11105 <asm/prctl.h>.
11106 (__swapcontext): Record the current shadow stack base. Save
11107 the caller's shadow stack pointer and base. Restore the target
11108 shadow stack.
11109 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11110 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11111 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11112
375a4844
L
111132018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11114
11115 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11116 tst-setcontext8 and tst-setcontext9.
11117 * stdlib/tst-setcontext6.c: New file.
11118 * stdlib/tst-setcontext7.c: Likewise.
11119 * stdlib/tst-setcontext8.c: Likewise.
11120 * stdlib/tst-setcontext9.c: Likewise.
11121
bd4f7903
L
111222018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11123
11124 * stdlib/Makefile ((tests): Add tst-setcontext5.
11125 * stdlib/tst-setcontext5.c: New file.
11126
7e28f203
L
111272018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11128
11129 * stdlib/Makefile (tests): Add tst-setcontext4.
11130 * stdlib/tst-setcontext4.c: New file.
11131
8516ad2d
L
111322018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11133
11134 * stdlib/Makefile (tests): Add tst-swapcontext1.
11135 * stdlib/tst-swapcontext1.c: New test.
11136
fddcd003
L
111372018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11138
11139 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11140 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11141 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11142 and tst-cet-legacy-4c.
11143 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11144 and tst-cet-legacy-mod-4.
11145 (CFLAGS-tst-cet-legacy-2.c): New.
11146 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11147 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11148 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11149 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11150 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11151 ($(objpfx)tst-cet-legacy-1): Likewise.
11152 ($(objpfx)tst-cet-legacy-2): Likewise.
11153 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11154 ($(objpfx)tst-cet-legacy-2a): Likewise.
11155 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11156 ($(objpfx)tst-cet-legacy-4): Likewise.
11157 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11158 ($(objpfx)tst-cet-legacy-4a): Likewise.
11159 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11160 (tst-cet-legacy-4a-ENV): Likewise.
11161 ($(objpfx)tst-cet-legacy-4b): Likewise.
11162 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11163 (tst-cet-legacy-4b-ENV): Likewise.
11164 ($(objpfx)tst-cet-legacy-4c): Likewise.
11165 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11166 (tst-cet-legacy-4c-ENV): Likewise.
11167 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11168 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11169 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11170 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11171 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11172 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11173 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11174 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11175 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11176 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11177 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11178
9aa3113a
L
111792018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11180
11181 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11182 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11183 with ssp_base.
11184 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11185 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11186 with ssp_base.
11187
9c79cec8
AS
111882018-07-25 Andreas Schwab <schwab@suse.de>
11189
11190 [BZ #23442]
11191 * locale/weightwc.h (findidx): Handle the case where usrc is a
11192 prefix of cp but one character too short.
11193
969c3355
AZ
111942018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11195
11196 * NEWS: Add ISO C threads addition.
11197
e0f9c462
FW
111982018-07-24 Florian Weimer <fweimer@redhat.com>
11199
11200 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11201 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11202 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11203 4.13.
11204
394df381
L
112052018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11206
11207 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11208 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11209 <sys/prctl.h> and <asm/prctl.h>.
11210 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11211 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11212 and <asm/prctl.h>.
11213 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11214 ARCH_CET_LEGACY_BITMAP.
11215 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11216 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11217 * sysdeps/x86/libc-start.c: Include <startup.h>.
11218
46545530
FW
112192018-07-24 Florian Weimer <fweimer@redhat.com>
11220
11221 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11222 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11223
6b5c8607 112242018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11225 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11226 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11227
11228 [BZ #14092]
9d0a979e
RJ
11229 * manual/debug.texi: Update adjacent chapter name.
11230 * manual/probes.texi: Likewise.
11231 * manual/threads.texi (ISO C Threads): New section.
11232 (POSIX Threads): Convert to a section.
11233
112342018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11235 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11236
11237 [BZ# 14092]
0a07288b
AZ
11238 * nptl/Makefile (tests): Add new test files.
11239 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11240 * nptl/tst-cnd-basic.c: Likewise.
11241 * nptl/tst-cnd-broadcast.c: Likewise.
11242 * nptl/tst-cnd-timedwait.c: Likewise.
11243 * nptl/tst-mtx-basic.c: Likewise.
11244 * nptl/tst-mtx-recursive.c: Likewise.
11245 * nptl/tst-mtx-timedlock.c: Likewise.
11246 * nptl/tst-mtx-trylock.c: Likewise.
11247 * nptl/tst-thrd-basic.c: Likewise.
11248 * nptl/tst-thrd-detach.c: Likewise.
11249 * nptl/tst-thrd-sleep.c: Likewise.
11250 * nptl/tst-tss-basic.c: Likewise.
11251
ce7528f6
AZ
112522018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11253
c6dd669b
AZ
11254 [BZ #14092]
11255 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11256 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11257 symbols.
11258 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11266 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11267 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11269 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11271 Likewise.
11272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11273 Likewise.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11275 Likewise.
11276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11281 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11282 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11283 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11284 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11285 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11286 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11287 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11288 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11289 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11290 Likewise.
11291 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11298 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11300 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11301 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11302 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11303 ikewise.
11304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11306 Likewise.
11307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11308 Likewise.
11309 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11312 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11316 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11317
78d40132
AZ
11318 [BZ #14092]
11319 * conform/data/threads.h-data (thread_local): New macro.
11320 (TSS_DTOR_ITERATIONS): Likewise.
11321 (tss_t): New type.
11322 (tss_dtor_t): Likewise.
11323 (tss_create): New function.
11324 (tss_get): Likewise.
11325 (tss_set): Likewise.
11326 (tss_delete): Likewise.
11327 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11328 tss_get, and tss_set objects.
11329 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11330 * nptl/tss_create.c: New file.
11331 * nptl/tss_delete.c: Likewise.
11332 * nptl/tss_get.c: Likewise.
11333 * nptl/tss_set.c: Likewise.
11334 * sysdeps/nptl/threads.h (thread_local): New define.
11335 (TSS_DTOR_ITERATIONS): Likewise.
11336 (tss_t): New typedef.
11337 (tss_dtor_t): Likewise.
11338 (tss_create): New prototype.
11339 (tss_get): Likewise.
11340 (tss_set): Likewise.
11341 (tss_delete): Likewise.
11342
918311a3
AZ
11343 [BZ #14092]
11344 * conform/data/threads.h-data (cnd_t): New type.
11345 (cnd_init): New function.
11346 (cnd_signal): Likewise.
11347 (cnd_broadcast): Likewise.
11348 (cnd_wait): Likewise.
11349 (cnd_timedwait): Likewise.
11350 (cnd_destroy): Likewise.
11351 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11352 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11353 object.
11354 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11355 * nptl/cnd_broadcast.c: New file.
11356 * nptl/cnd_destroy.c: Likewise.
11357 * nptl/cnd_init.c: Likewise.
11358 * nptl/cnd_signal.c: Likewise.
11359 * nptl/cnd_timedwait.c: Likewise.
11360 * nptl/cnd_wait.c: Likewise.
11361 * sysdeps/nptl/threads.h (cnd_t): New type.
11362 (cnd_init): New prototype.
11363 (cnd_signa): Likewise.
11364 (cnd_broadcast): Likewise.
11365 (cnd_wait): Likewise.
11366 (cnd_timedwait): Likewise.
11367 (cnd_destroy): Likewise.
11368
3c20a679
AZ
11369 [BZ #14092]
11370 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11371 (once_flag): New type.
11372 (call_once): New function.
11373 * nptl/Makefile (libpthread-routines): Add call_once object.
11374 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11375 * nptl/call_once.c: New file.
11376 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11377 (once_flag): New type.
11378 (call_once): New prototype.
11379
18d59c1b
AZ
11380 [BZ #14092]
11381 * conform/data/threads.h-data (mtx_plain): New constant.
11382 (mtx_recursive): Likewise.
11383 (mtx_timed): Likewise.
11384 (mtx_t): New type.
11385 (mtx_init): New function.
11386 (mtx_lock): Likewise.
11387 (mtx_timedlock): Likewise.
11388 (mtx_trylock): Likewise.
11389 (mtx_unlock): Likewise.
11390 (mtx_destroy): Likewise.
11391 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11392 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11393 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11394 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11395 * nptl/mtx_destroy.c: New file.
11396 * nptl/mtx_init.c: Likewise.
11397 * nptl/mtx_lock.c: Likewise.
11398 * nptl/mtx_timedlock.c: Likewise.
11399 * nptl/mtx_trylock.c: Likewise.
11400 * nptl/mtx_unlock.c: Likewise.
11401 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11402 (mtx_recursive): Likewise.
11403 (mtx_timed): Likewise.
11404 (mtx_t): New type.
11405 (mtx_init): New prototype.
11406 (mtx_lock): Likewise.
11407 (mtx_timedlock): Likewise.
11408 (mtx_trylock): Likewise.
11409 (mtx_unlock): Likewise.
11410 (mtx_destroy): Likewise.
11411
ce7528f6
AZ
11412 [BZ #14092]
11413 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11414 (linknamespace-libs-ISO11): Add libpthread.a.
11415 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11416 functions.
11417 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11418 * nptl/Makefile (headers): Add threads.h.
11419 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11420 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11421 thrd_yield.
11422 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11423 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11424 thrd_join, thrd_sleep, and thrd_yield symbols.
11425 * nptl/descr.h (struct pthread): Add c11 field.
11426 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11427 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11428 routine with expected function prototype.
11429 (__pthread_create_2_1): Add C11 threads check based on attribute
11430 value.
11431 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11432 * nptl/thrd_create.c: New file.
11433 * nptl/thrd_current.c: Likewise.
11434 * nptl/thrd_detach.c: Likewise.
11435 * nptl/thrd_equal.c: Likewise.
11436 * nptl/thrd_exit.c: Likewise.
11437 * nptl/thrd_join.c: Likewise.
11438 * nptl/thrd_priv.h: Likewise.
11439 * nptl/thrd_sleep.c: Likewise.
11440 * nptl/thrd_yield.c: Likewise.
11441 * include/threads.h: Likewise.
11442
e27f41ba
L
114432018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11444
11445 * bits/indirect-return.h: New file.
11446 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11447 * sysdeps/x86/bits/indirect-return.h: Likewise.
11448 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11449 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11450 (swapcontext): Add __INDIRECT_RETURN.
11451 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11452 (prepare_test_buffer): Use it.
11453
21526a50
AS
114542018-07-24 Andreas Schwab <schwab@suse.de>
11455
11456 [BZ #23448]
11457 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11458 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11459
3650e1d9
L
114602018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11461
11462 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11463 Redefine if shadow stack is enabled.
11464 (SYSCALL_ERROR_LABEL): Likewise.
11465 (__vfork): Pop shadow stack and jump back to to caller directly
11466 when shadow stack is in use.
11467 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11468 Redefine if shadow stack is enabled.
11469 (SYSCALL_ERROR_LABEL): Likewise.
11470 (__vfork): Pop shadow stack and jump back to to caller directly
11471 when shadow stack is in use.
11472
ca027e0f
L
114732018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11474
11475 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11476 enabled.
11477 (foo): Likewise.
11478 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11479 (foo): Likewise.
11480
b99f1c95
JM
114812018-07-20 Joseph Myers <joseph@codesourcery.com>
11482
11483 * scripts/build-many-glibcs.py (Context.checkout): Default
11484 binutils version to 2.31 branch.
11485
c8fabb84
ZL
114862018-07-20 Zong Li <zong@andestech.com>
11487
11488 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11489 URL of gcc's tarball.
11490
786658a0
FW
114912018-07-20 Florian Weimer <fweimer@redhat.com>
11492
11493 [BZ #23396]
11494 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11495 not compare an extra byte after the end of the weights.
11496
46f2474e
ST
114972018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11498
11499 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11500 to 1.
8ba1520e
ST
11501 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11502 hidden prototypes.
11503 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11504 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11505 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11506 list of libraries whose stack executability is expected.
11507 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11508 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11509 variable.
11510 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11511 libc.so libpthread.so.
46f2474e 11512
60088242
TS
115132018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11514
11515 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11516 SOCK_NONBLOCK.
75d5e4a0
TS
11517 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11518 and SOCK_NONBLOCK.
de195be0
TS
11519 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11520 implement __pipe2.
11521 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11522
1cf4ae7f
LS
115232018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11524
11525 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11526 library to improve command line parsing.
11527 (__main__): make schema file as optional parameter (--schema),
11528 defaulting to benchtests/scripts/benchout.schema.json.
11529 (main): move out of the parsing stuff to __main_  and leave it
11530 only as caller of main comparison functions.
11531
e84bd851
L
115322018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11533
11534 * NEWS: Add a note for Intel CET status.
11535 * manual/install.texi: Likewise.
11536 * INSTALL: Regenerated.
11537
df467d22
QP
115382018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11539
11540 [BZ #23140]
11541 * localedata/locales/oc_FR (mon): Rename to...
11542 (alt_mon): This, then update October (typo fix).
11543 (mon): New content (genitive case, month names preceded by
11544 "de" or "d’").
11545
11546 [BZ #23422]
11547 * localedata/locales/oc_FR (abday): Update all items.
11548 (day): Update Wednesday and Saturday (typo fixes).
11549 (abmon): Update all items, except May.
11550 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11551 (LC_IDENTIFICATION): Bump the revision number and date.
11552 Keep the "category" entries in alphabetic order.
11553 (LC_ADDRESS): Remove no longer needed comment.
11554 (LC_COLLATE): Use “copy "ca_ES"”.
11555 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11556 "name_mrs".
11557
5c112f1b
JM
115582018-07-18 Joseph Myers <joseph@codesourcery.com>
11559
11560 * grp/tst_fgetgrent.c: Include <unistd.h>.
11561 (main): Use mkstemp instead of tmpnam.
11562 * io/test-utime.c (main): Likewise.
11563 * posix/annexc.c (macrofile): Change to modifiable array.
11564 (main): Remove macrofile here.
11565 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11566 macrofile here.
11567 (check_header): Do not remove macrofile here.
11568 * posix/bug-getopt1.c: Include <stdlib.h>.
11569 (do_test): Use mkstemp instead of tmpnam.
11570 * posix/bug-getopt2.c: Include <stdlib.h>.
11571 (do_test): Use mkstemp instead of tmpnam.
11572 * posix/bug-getopt3.c: Include <stdlib.h>.
11573 (do_test): Use mkstemp instead of tmpnam.
11574 * posix/bug-getopt4.c: Include <stdlib.h>.
11575 (do_test): Use mkstemp instead of tmpnam.
11576 * posix/bug-getopt5.c: Include <stdlib.h>.
11577 (do_test): Use mkstemp instead of tmpnam.
11578 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11579 (main): Use mkstemp instead of tmpnam.
11580 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11581 (main): Use mkstemp instead of tmpnam.
11582 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11583 (main): use mkstemp instead of tmpnam.
11584 * stdlib/isomac.c (macrofile): Change to modifiable array.
11585 (main): Remove macrofile here.
11586 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11587 macrofile here.
11588 (check_header): Do not remove macrofile here.
11589
6d90776d
L
115902018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11591
11592 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11593 glibc.tune.x86_shstk.
11594
e6c69509
L
115952018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11596
11597 * NEWS: Mention --enable-cet.
11598 * manual/install.texi: Document --enable-cet.
11599 * INSTALL: Regenerated.
11600
e2d40a88
L
116012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11602
11603 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11604 Add _CET_NOTRACK before indirect jump to jump table.
11605
77a8ae09
L
116062018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11607
11608 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11609 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11610 to jump table.
11611
90d15dc5
L
116122018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11613
11614 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11615 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11616 to jump table.
11617
f1574581
L
116182018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11621 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11622 to jump table.
11623
7fb61336
L
116242018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11625
11626 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11627 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11628 to jump table.
11629
0a899af0
L
116302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11631
11632 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11633 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11634 to jump table.
11635 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11636
177824e2
L
116372018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11638
11639 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11640 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11641 to jump table.
11642
00e7b76a
L
116432018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11644
11645 * sysdeps/i386/i686/multiarch/memset-sse2.S
11646 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11647 to jump table.
11648
7e119cd5
L
116492018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11650
11651 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11652 indirect jump to jump table.
11653
03aaf49b
L
116542018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11655
11656 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11657 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11658 to jump table.
11659 (MEMCPY): Likewise.
11660
811e9e52
L
116612018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11662
11663 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11664 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11665 to jump table.
11666 (MEMCPY): Likewise.
11667
8817df42
L
116682018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11669
11670 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11671 _CET_NOTRACK before indirect jump to jump table.
11672
921595d1
L
116732018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11674
11675 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11676 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11677 to jump table.
11678
4ef60d95
L
116792018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11680
11681 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11682 indirect jump to jump table.
11683
61c4aad7
VT
116842018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11685
11686 [BZ #22241]
11687 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11688 (LOCALES): Likewise.
11689 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11690 * localedata/locales/sah_RU: New file.
11691 * localedata/sah_RU.UTF-8.in: New file.
11692
be9ccd27
L
116932018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11694
11695 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11696 "sysdep.h".
11697 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11698 _CET_ENDBR to indirect jump targets and adjust jump destination
11699 for _CET_ENDBR.
11700 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11701 "sysdep.h".
11702 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11703 _CET_ENDBR to indirect jump targets and adjust jump destination
11704 for _CET_ENDBR.
11705 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11706 "sysdep.h".
11707 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11708 _CET_ENDBR to indirect jump targets and adjust jump destination
11709 for _CET_ENDBR.
11710
5efc6777
L
117112018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11712
11713 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11714 _CET_ENDBR.
11715
562837c0
L
117162018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11717
11718 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11719 _CET_ENDBR.
11720 (_dl_tlsdesc_undefweak): Likewise.
11721 (_dl_tlsdesc_dynamic): Likewise.
11722 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11723 (_dl_tlsdesc_resolve_rel): Likewise.
11724 (_dl_tlsdesc_resolve_rela): Likewise.
11725 (_dl_tlsdesc_resolve_hold): Likewise.
11726 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11727 (_dl_tlsdesc_undefweak): Likewise.
11728 (_dl_tlsdesc_dynamic): Likewise.
11729 (_dl_tlsdesc_resolve_rela): Likewise.
11730 (_dl_tlsdesc_resolve_hold): Likewise.
11731
124bcde6
L
117322018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11733
11734 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11735 (_fini): Likewise.
11736 * sysdeps/x86_64/crti.S (_init): Likewise.
11737 (_fini): Likewise.
11738
9145f033
RL
117392018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11740
11741 [BZ #23140]
11742 * localedata/locales/os_RU (mon): Rename to...
11743 (alt_mon): This.
11744 (mon): Import from CLDR (genitive case).
11745
ba2ea23d
L
117462018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11747
11748 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11749 cet-tunables.h> when CET is enabled.
11750
f753fa7d
L
117512018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11752
6b5c8607 11753 [BZ #21598]
f753fa7d
L
11754 * configure.ac: Add --enable-cet.
11755 * configure: Regenerated.
11756 * elf/Makefille (all-built-dso): Add a comment.
11757 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11758 Include <dl-prop.h>.
11759 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11760 segment.
11761 * elf/dl-open.c: Include <dl-prop.h>.
11762 (dl_open_worker): Call _dl_open_check.
11763 * elf/rtld.c: Include <dl-prop.h>.
11764 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11765 _rtld_main_check.
11766 * sysdeps/generic/dl-prop.h: New file.
11767 * sysdeps/i386/dl-cet.c: Likewise.
11768 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11769 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11770 * sysdeps/x86/cet-tunables.h: Likewise.
11771 * sysdeps/x86/check-cet.awk: Likewise.
11772 * sysdeps/x86/configure: Likewise.
11773 * sysdeps/x86/configure.ac: Likewise.
11774 * sysdeps/x86/dl-cet.c: Likewise.
11775 * sysdeps/x86/dl-procruntime.c: Likewise.
11776 * sysdeps/x86/dl-prop.h: Likewise.
11777 * sysdeps/x86/libc-start.h: Likewise.
11778 * sysdeps/x86/link_map.h: Likewise.
11779 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11780 _CET_ENDBR.
11781 (_dl_runtime_profile): Likewise.
11782 (_dl_runtime_resolve_shstk): New.
11783 (_dl_runtime_profile_shstk): Likewise.
11784 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11785 if CET is enabled.
11786 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11787 (CFLAGS-.os): Likewise.
11788 (CFLAGS-.op): Likewise.
11789 (CFLAGS-.oS): Likewise.
11790 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11791 is enabled.
11792 (tests-special): Add $(objpfx)check-cet.out.
11793 (cet-built-dso): New.
11794 (+$(cet-built-dso:=.note)): Likewise.
11795 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11796 ($(objpfx)check-cet.out): New.
11797 (generated): Add check-cet.out.
11798 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11799 <cet-tunables.h>.
11800 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11801 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11802 (init_cpu_features): Call get_cet_status to check CET status
11803 and update dl_x86_feature_1 with CET status. Call
11804 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11805 (set_x86_shstk). Disable and lock CET in libc.a.
11806 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11807 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11808 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11809 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11810 (_CET_ENDBR): Define if not defined.
11811 (ENTRY): Add _CET_ENDBR.
11812 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11813 x86_shstk.
11814 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11815 _CET_ENDBR.
11816 (_dl_runtime_profile): Likewise.
11817
52b2a80f
RA
118182018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11819
11820 [BZ #21895]
11821 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11822 restore r2 on longjmp.
11823 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11824 test list.
11825 Added rules to build test tst-setjmp-bug21895-static.
11826 Added module setjmp-bug21895 and rules to build a shared object from it.
11827 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11828 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11829
3ae725df
WD
118302018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11831
11832 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11833 * benchtests/bench-strstr.c: Likewise.
11834 * string/memmem.c (FASTSEARCH): Define.
11835 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11836 Add support for FASTSEARCH.
11837 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11838 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11839 (FASTSEARCH): Define.
11840 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11841 * string/test-strstr.c: Likewise.
11842
31e422ca
L
118432018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11844
11845 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11846 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11847
faaee1f0
L
118482018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11849 H.J. Lu <hongjiu.lu@intel.com>
11850
11851 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11852 (__longjmp): Restore shadow stack pointer if shadow stack is
11853 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11854 isn't defined for __longjmp_cancel.
11855 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11856 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11857 and SHADOW_STACK_POINTER_OFFSET is defined.
11858 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11859 (setjmp): Save shadow stack pointer if shadow stack is enabled
11860 and SHADOW_STACK_POINTER_OFFSET is defined.
11861 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11862 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11863 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11864 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11865 <jmp_buf-ssp.h>.
11866 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11867 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11868 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11869 Remove jmp_buf-ssp.sym.
11870 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11871 <jmp_buf-ssp.h>.
11872 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11873 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11874 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11875 jmp_buf-ssp.sym.
11876 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11877 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11878 (__longjmp): Restore shadow stack pointer if shadow stack is
11879 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11880 isn't defined for __longjmp_cancel.
11881 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11882 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11883 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11884
ebff9c5c
L
118852018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11886
11887 [BZ #22563]
11888 * nptl/pthread_create.c: Include <tls-setup.h>.
11889 (__pthread_create_2_1): Call tls_setup_tcbhead.
11890 * sysdeps/generic/tls-setup.h: New file.
11891 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11892 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11893 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11894 Likewise.
11895 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11896 to feature_1.
11897 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11898 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11899 (X86_FEATURE_1_SHSTK): Likewise.
11900 (CET_ENABLED): Likewise.
11901 (IBT_ENABLED): Likewise.
11902 (SHSTK_ENABLED): Likewise.
11903
0a83bad2
RL
119042018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11905
11906 [BZ #23208]
11907 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11908 (LOCALES): Likewise.
11909 * localedata/dsb_DE.UTF-8.in: New file.
11910 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11911
046bfed9
FW
119122018-07-12 Florian Weimer <fweimer@redhat.com>
11913
11914 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11915 __mprotect, not mprotect.
11916
93304f5f
FW
119172018-07-11 Florian Weimer <fweimer@redhat.com>
11918
11919 * io/Makefile (headers): Add bits/statx.h.
11920
4beefeeb
MF
119212018-07-10 Mike FABIAN <mfabian@redhat.com>
11922
11923 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11924 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11925 and headers.
11926 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11927 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11928 for utf8_gen.py
11929
fd70af45
FW
119302018-07-10 Florian Weimer <fweimer@redhat.com>
11931
11932 * io/Makefile (routines): Add statx.
11933 (tests-internal): Add tst-statx.
11934 * io/Versions (GLIBC_2.28): Export statx.
11935 * io/bits/statx.h: New file.
11936 * io/sys/stat.h [__USE_GNU]: Include it.
11937 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11938 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11939 Define.
11940 * io/statx.c: New file.
11941 * io/statx_generic.: Likewise.
11942 * io/tst-statx.: Likewise.
11943 * include/bits/statx.h: Likewise.
11944 * sysdeps/unix/sysv/linux/kernel-features.h
11945 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11946 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11947 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11948 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11949 Undefine.
11950 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11951 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11952 * sysdeps/unix/sysv/linux/statx.c: New file.
11953 * manual/filesys.texi: Note that statx is undocumented.
11954 * sysdeps/**/libc*.abilist: Update.
11955
b444e8f7
AZ
119562018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11957
11958 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11959 a kernel issue which lead to test failure in some cases.
11960
7b2f4ced
FW
119612018-07-10 Florian Weimer <fweimer@redhat.com>
11962
11963 [BZ #23036]
11964 * posix/regexec.c (check_node_accept_bytes): When comparing
11965 weights, do not compare an extra byte after the end of the
11966 weights.
11967
4fa34da6
FW
119682018-07-10 Florian Weimer <fweimer@redhat.com>
11969
11970 * libio/readline.c: Fix copyright year.
11971 * libio/tst-readline.c Likewise.
11972 * nss/tst-nss-files-hosts-getent.c: Likewise.
11973
916124ed
FW
119742018-07-06 Florian Weimer <fweimer@redhat.com>
11975
11976 [BZ #18991]
11977 * nss/nss_files/files-XXX.c (internal_getent): Use
11978 __libc_readline_unlocked. Seek back to the start of the line if
11979 parsing failes with ERANGE.
11980 (get_contents_ret, get_contents): Remove.
11981 * nss/tst-nss-files-hosts-getent.c: New file.
11982 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11983 (tst-nss-files-hosts-getent): Link with -ldl.
11984
3f5e3f5d
FW
119852018-07-06 Florian Weimer <fweimer@redhat.com>
11986
11987 * include/stdio.h (__libc_readline_unlocked): Declare.
11988 (__ftello64, __fseeko64): Declare aliases.
11989 * libio/readline.c: New file.
11990 * libio/tst-readline.c: Likewise.
11991 (routines): Add readline.
11992 (tests-internal): Add tst-readlime.
11993 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11994 __libc_readline_unlocked.
11995 * libio/fseeko.c (__fseeko): Rename from fseeko.
11996 (fseeko): Add alias.
11997 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11998 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11999 (fseeko64): Add alias.
12000 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
12001 * libio/ftello64.c (__ftello64): Rename from ftello64.
12002 (ftello64): Add alias.
12003
397c54c1
SN
120042018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12005
12006 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12007 HWCAP_ATOMICS.
12008
d0cd7980
SN
120092018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12010
12011 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12012 Use dl_hwcap without masking.
12013 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12014 Remove HWCAP_CPUID.
12015
ddb3c626
FW
120162018-07-06 Florian Weimer <fweimer@redhat.com>
12017
12018 * conform/conformtest.pl (checknamespace): Escape literal braces
12019 in regular expressions.
12020
bce5911b
AP
120212018-07-06 Amit Pawar <amit.pawar@amd.com>
12022
12023 * sysdeps/x86/cpu-features.c (get_common_indeces):
12024 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12025 * sysdeps/x86/cpu-features.c (init_cpu_features):
12026 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12027
3a885c1f
FW
120282018-07-05 Florian Weimer <fweimer@redhat.com>
12029
12030 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12031 protector.
12032 (CFLAGS-elf-init.oS): Likewise.
12033
38cade0c
FW
120342018-07-05 Florian Weimer <fweimer@redhat.com>
12035 Carlos O'Donell <carlos@redhat.com>
12036
12037 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12038 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12039 with stack protector enabled because there is no risk of infinite
12040 recursion.
12041
9449a295
MR
120422018-07-05 Maciej W. Rozycki <macro@mips.com>
12043
12044 [BZ #19818]
12045 [BZ #23307]
12046 * libc-abis (ABSOLUTE): New ABI.
12047 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12048 * NEWS: Mention the new ABI.
12049
d6da5cb6
FW
120502018-07-05 Florian Weimer <fweimer@redhat.com>
12051
12052 [BZ # 17662]
12053 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12054 (RENAME_WHITEOUT): Define.
12055 [__USE_GNU] (renameat2): Declare.
12056 * stdio-common/Makefile (routines): Add renameat2.
12057 (tests): Add tst-renameat2.
12058 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12059 * stdio-common/renameat2.c: New file.
12060 * stdio-common/tst-renameat2.c: Likewise.
12061 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12062 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12063 undocumented.
12064 * sysdeps/unix/sysv/linux/kernel-features.h
12065 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12066 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12067 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12068 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12069 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12070 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12071 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12072 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12073 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12074 * include/stdio.h (__renameat): Add alias for renameat.
12075 * stdio-common/renameat.c (__renameat): Rename from renameat.
12076 Add hidden definition and alias.
12077 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12078 * sysdeps/mach/hurd/renameat.c: Likewise.
12079 * sysdeps/**/libc*.abilist: Add renameat2.
12080
1002d708
AZ
120812018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12082
12083 * posix/bug-regex33.c: Fix build after regex sync.
12084
34fdb893
CD
120852018-07-04 Carlos O'Donell <carlos@redhat.com>
12086
12087 [BZ #23164]
12088 * localedata/tst-langinfo-setlocale.c: New file.
12089 * localedata/tst-langinfo-setlocale-static.c: New file.
12090 * localedata/tst-langinfo-newlocale.c: New file.
12091 * localedata/tst-langinfo-newlocale-static.c: New file.
12092 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12093 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12094 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12095 (tests-static): Remove tst-langinfo-static. Add
12096 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12097 (tests-special): Remove $(objpfx)tst-langinfo.out,
12098 $(objpfx)tst-langinfo-static.out. Add
12099 $(objpfx)tst-langinfo-setlocale.out,
12100 $(objpfx)tst-langinfo-newlocale.out,
12101 $(objpfx)tst-langinfo-setlocale-static.out,
12102 $(objpfx)tst-langinfo-newlocale-static.out.
12103 ($(objpfx)tst-langinfo.out): Remove.
12104 ($(objpfx)tst-langinfo-static.out): Remove.
12105 ($(objpfx)tst-langinfo-newlocale.out): New target.
12106 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12107 (test-xfail-tst-langinfo-newlocale-static): Add.
12108 ($(objpfx)tst-langinfo-setlocale.out): New target.
12109 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12110 * localedata/tst-langinfo.c: Call test_locale.
12111 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12112 data.
12113
f2873d2d
FW
121142018-07-04 Florian Weimer <fweimer@redhat.com>
12115
12116 testrun.sh: Implement --tool=strace, --tool=valgrind
12117 * Makefile (testrun-script): Define variable.
12118 (testrun.sh): Use variable.
12119 * manual/install.texi (Tools for Compilation): make 4.0 or later
12120 is required.
12121 * configure.ac: Check for make 4.0 or later.
12122 * INSTALL: Regenerate.
12123 * configure: Likewise.
12124
eb04c213
AZ
121252018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12126
12127 [BZ #23233]
12128 [BZ #21163]
12129 [BZ #18986]
12130 [BZ #13762]
12131 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12132 * posix/PCRE.tests: Remove invalid test.
12133 * posix/bug-regex28.c: Fix expected values for used syntax.
12134 * posix/bug-regex37.c: New file.
12135 * posix/bug-regex38.c: Likewise.
12136 * posix/regcomp.c: Sync with gnulib.
12137 * posix/regex.c: Likewise.
12138 * posix/regex.h: Likewise.
12139 * posix/regex_internal.c: Likewise.
12140 * posix/regex_internal.h: Likewise.
12141 * posix/regexec.c: Likewise.
12142
b11643c2
MF
121432018-06-26 Mike FABIAN <mfabian@redhat.com>
12144
12145 [BZ #23308]
12146 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12147 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12148 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12149 * localedata/unicode-gen/PropList.txt: likewise.
12150 * localedata/unicode-gen/UnicodeData.txt: likewise.
12151 * localedata/charmaps/UTF-8: Regenerate.
12152 * localedata/locales/i18n_ctype: likewise.
12153 * localedata/locales/tr_TR: likewise.
12154 * localedata/locales/translit_circle: likewise.
12155 * localedata/locales/translit_cjk_compat: likewise.
12156 * localedata/locales/translit_combining: likewise.
12157 * localedata/locales/translit_compat: likewise.
12158 * localedata/locales/translit_font: likewise.
12159 * localedata/locales/translit_fraction: likewise.
12160
5a357506
FW
121612018-07-03 Florian Weimer <fweimer@redhat.com>
12162
12163 [BZ #23363]
12164 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12165 * stdio-common/tst-printf.sh: Adjust expected output.
12166 * LICENSES: Update.
12167
7279af00
AZ
121682018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12169
12170 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12171 symbol.
12172
b7b88cea
GG
121732018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12174
12175 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12176 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12177 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12178 * stdio-common/tst-printfsz-islongdouble.c: New file.
12179 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12180 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12181 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12182 [subdir == stdio-common] (tests-internal): Add
12183 test-printf-size-ieee128, and test-printf-size-ibm128.
12184 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12185 (CFLAGS-test-printf-size-ibm128.c): New variables.
12186 [subdir == stdio-common] (tests-special): Add
12187 $(objpfx)test-printf-size-ieee128.out and
12188 $(objpfx)test-printf-size-ibm128.out.
12189 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12190 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12191 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12192 __printf_sizeieee128.
12193 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12194 New file.
12195 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12196 Likewise.
12197 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12198 Likewise.
12199
2b445206
SN
122002018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12201
12202 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12203 (exp2f_inline): Likewise.
12204 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12205 (__math_uflowf): Likewise.
12206 (__math_may_uflowf): Likewise.
12207 (__math_divzerof): Likewise.
12208 (__math_invalidf): Likewise.
12209 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12210 (__math_oflowf): Likewise.
12211 (__math_uflowf): Likewise.
12212 (__math_may_uflowf): Likewise.
12213 (__math_divzerof): Likewise.
12214 (__math_invalidf): Likewise.
12215
2827ab99
CD
122162018-06-29 DJ Delorie <dj@redhat.com>
12217 Carlos O'Donell <carlos@redhat.com>
12218
12219 [BZ #23329]
12220 * include/libc-symbols.h: Comment the freeres framework.
12221 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12222 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12223 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12224 * dlfcn/dlerror.c: Include libc-symbols.h
12225 (__dlerror_main_freeres): New function.
12226 * dlfcn/dlfreeres.c: New file.
12227 * dlfcn/sdlfreeres.c: New file.
12228 * include/dlfcn.h: Declare __dlerror_main_freeres.
12229 * malloc/set-freeres.c: Declare __libdl_freeres, and
12230 __libpthread_freeres.
12231 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12232 the releavant libraries are loaded.
12233 * malloc/thread-freeres.c: Add comments.
12234 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12235 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12236 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12237 (__free_stacks): Rename to...
12238 (free_stacks): ...this. Mark static.
12239 (queue_stack): Call free_stacks.
12240 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12241 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12242 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12243 ptr_freeres element from struct.
12244 (pthread_functions): Remove .ptr_freeres from struct initializer.
12245 [SHARED] (nptl_freeres): Remove.
12246 * nptl/nptlfreeres.c: New file.
12247 * nptl/pthreadP.h
12248 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12249 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12250 attribute_hidden.
12251 (__free_stacks): Rename to...
12252 (__nptl_stacks_freeres): ...this.
12253 (__shm_directory_freeres): Declare.
12254 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12255 (__nptl_unwind_freeres): ...this.
12256 * resolv/res-close.c: Add comment.
12257 * resolv/resolv_conf.c: Include libc-symbols.h.
12258 * string/strerror_l.c: Include libc-symbols.h.
12259 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12260 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12261 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12262 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12263
37d3d244
RS
122642018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12265
12266 * stdlib/tst-strfmon_l.c: Add tests for long double.
12267
a1e0c5fa
MW
122682018-06-29 Michael Wolf <milupo@sorbzilla.de>
12269
12270 [BZ #23208]
12271 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12272 * localedata/locales/dsb_DE: New file.
12273
2e0c5de6
RL
122742018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12275
12276 [BZ #23140]
12277 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12278 genitive case).
12279 (alt_mon): New entry, import from CLDR (nominative case).
12280
cdb52c71
SL
122812018-06-29 Sylvain Lesage <severo@rednegra.net>
12282
12283 [BZ #22996]
12284 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12285
ce76a5cb
SP
122862018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12287
0aec4c1d
SP
12288 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12289 Use vector registers.
12290
ce76a5cb
SP
12291 * sysdeps/aarch64/multiarch/memmove_falkor.S
12292 (__memcpy_falkor): Use vector registers.
12293
7e8989d0
MS
122942018-06-29 Martin Sebor <msebor@redhat.com>
12295
12296 * manual/stdio.texi (Customizing Printf): Mention interaction
12297 with GCC built-ins.
12298
bac15a72
MR
122992018-06-29 Maciej W. Rozycki <macro@mips.com>
12300
12301 [BZ #23307]
12302 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12303 `st_value' is 0 if `st_shndx' is SHN_ABS.
12304 * elf/tst-absolute-zero.c: New file.
12305 * elf/tst-absolute-zero-lib.c: New file.
12306 * elf/tst-absolute-zero-lib.lds: New file.
12307 * elf/Makefile (tests): Add `tst-absolute-zero'.
12308 (modules-names): Add `tst-absolute-zero-lib'.
12309 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12310 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12311 ($(objpfx)tst-absolute-zero: New dependency.
12312
e69d994a
ZW
123132018-06-29 Zack Weinberg <zackw@panix.com>
12314
12315 * configure.ac: New command-line option --disable-crypt.
12316 Force --disable-nss-crypt when --disable-crypt is given, with a
12317 warning if it was explicitly enabled.
12318 * configure: Regenerate.
12319 * config.make.in: New boolean substitution variable $(build-crypt).
12320 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12321 when $(build-crypt).
12322 * manual/install.texi: Document --disable-crypt.
12323 * INSTALL: Regenerate.
12324
12325 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12326 which is never set.
12327 * conform/Makefile: Only include libcrypt.a in
12328 linknamespace-libs-xsi and linknamespace-libs-XPG4
12329 when $(build-crypt).
12330 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12331 USE_CRYPT to 1 when $(build-crypt).
12332 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12333 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12334 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12335
841785ba
ZW
123362018-06-29 Zack Weinberg <zackw@panix.com>
12337
12338 * crypt/crypt.h, posix/unistd.h: Update comments and
12339 prototypes for crypt and crypt_r.
12340
12341 * manual/crypt.texi (Cryptographic Functions): New initial
12342 exposition.
12343 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12344 (Unpredictable Bytes): Improve initial exposition. Clarify error
12345 behavior of getentropy and getrandom.
12346 * manual/examples/genpass.c: Generate a salt using getentropy
12347 instead of the current time. Use hash $5$ (SHA-2-256).
12348 * manual/examples/testpass.c: Demonstrate validation against
12349 hashes generated with three different one-way functions.
12350
12351 * manual/intro.texi: crypt.texi does not need an overview
12352 anymore.
12353
12354 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12355 * manual/terminal.texi: Consistently refer to "passphrases"
12356 * instead of "passwords", and to the "user database" instead
12357 * of the "password database".
12358 * manual/users.texi: Similarly. Add notes about how actual
12359 passphrase hashes are now stored in the shadow database.
12360 Remove 20-year-old junk todo note.
12361
6ab902e4
ZW
123622018-06-29 Zack Weinberg <zackw@panix.com>
12363
12364 * manual/crypt.texi: Use a normal top-level @node declaration.
12365 Move most of the introductory text to the 'crypt' section.
12366 Move the example programs below the @deftypefun for 'crypt_r'.
12367 Move the 'getpass' section...
12368 * manual/terminal.texi: ...here.
12369
b10a0acc
ZW
123702018-06-29 Zack Weinberg <zackw@panix.com>
12371 Florian Weimer <fweimer@redhat.com>
12372
12373 * posix/unistd.h: Do not declare encrypt.
12374 (_XOPEN_CRYPT): Remove macro definition.
12375 (crypt): Declare only for _USE_MISC.
12376 * stdlib/stdlib.h: Do not declare setkey.
12377 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12378 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12379
12380 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12381 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12382 into compat symbols. Don't define initial_perm if it's not
12383 going to be used.
12384 * crypt/cert.c: Link explicitly with the expected versions for
12385 setkey and encrypt. If they are not available at all, mark
12386 the test as unsupported.
12387
12388 * sunrpc/des_crypt.c: Unconditionally block linkage with
12389 cbc_crypt and ecb_crypt for new binaries.
12390 * sunrpc/des_soft.c: Unconditionally block linkage with
12391 des_setparity for new binaries.
12392
12393 * manual/crypt.texi: Remove the entire "DES Encryption"
12394 section. Also remove the paragraph talking about FIPS 140-2
12395 from the introduction.
12396 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12397 of libgcrypt for "real" encryption, not DES.
12398 * manual/conf.texi (Constants for Sysconf): Mention that
12399 _XOPEN_CRYPT is no longer impelemented.
12400
12401 * conform/data/unistd.h-data: Remove crypt function declaration.
12402
524d796d
FW
124032018-06-29 Florian Weimer <fweimer@redhat.com>
12404
12405 [BZ #23351]
12406 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12407 (disallow_malloc_check): Remove variable.
12408 (__malloc_check_init): Adjust.
12409 (malloc_set_state): Update comment.
12410 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12411 declarations.
12412
339124ab
RL
124132018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12414
12415 [BZ #23140]
12416 * localedata/locales/ast_ES (mon): Rename to...
12417 (alt_mon): This.
12418 (mon): Import from CLDR (genitive case).
12419
c1f86a33
DA
124202018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12421 Jakub Sitnicki <jkbs@redhat.com>
12422
12423 [BZ #21812]
12424 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12425 on NLM_F_DUMP_INTR.
12426
0b11b649
SN
124272018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12428
12429 * manual/llio.texi: Remove spurious space.
12430
c1c2848b
FW
124312018-06-28 Florian Weimer <fweimer@redhat.com>
12432
12433 [BZ #23349]
12434 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12435 _STRUCT_TIMESPEC.
12436
86a0f561
RS
124372018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12438
12439 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12440 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12441 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12442 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12443 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12444 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12445 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12446
780684eb
MR
124472018-06-27 Maciej W. Rozycki <macro@mips.com>
12448
12449 [BZ #23266]
12450 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12451 Copy and null-terminate entries that are not terminated, in
12452 addition to empty ones.
12453
c49e1822
FW
124542018-06-27 Florian Weimer <fweimer@redhat.com>
12455
12456 [BZ #18023]
b39d961c
TS
12457 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12458 (extend_alloca_account): Remove.
c49e1822
FW
12459 * manual/stdio.texi (Variable Arguments Output): Update comment.
12460
a833e627
JM
124612018-06-27 Joseph Myers <joseph@codesourcery.com>
12462
12463 * nptl/sockperf.c: Remove file.
12464
92d6aa85
FW
124652018-06-27 Florian Weimer <fweimer@redhat.com>
12466
12467 [BZ #18023]
12468 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12469 scratch_buffer instead of extend_alloca.
12470
890c2ced
FW
124712018-06-27 Florian Weimer <fweimer@redhat.com>
12472
12473 [BZ #18023]
12474 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12475 scratch_buffer instead of extend_alloca. Update comments.
12476
4272059d
FW
124772018-06-27 Florian Weimer <fweimer@redhat.com>
12478
12479 [BZ #18023]
12480 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12481 instead of extend_alloca.
12482
27f10a09
JM
124832018-06-26 Joseph Myers <joseph@codesourcery.com>
12484
12485 [BZ #13888]
12486 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12487 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12488 /tmp.
12489 * scripts/test-installation.pl: Put temporary files in build
12490 directory, not /tmp.
12491 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12492 (CFLAGS-bug4.c): Likewise.
12493 (CFLAGS-bug5.c): Likewise.
12494 (CFLAGS-test-fseek.c): Likewise.
12495 (CFLAGS-test-popen.c): Likewise.
12496 (CFLAGS-test_rdwr.c): Likewise.
12497 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12498 /tmp.
12499 * stdio-common/bug4.c (main): Likewise.
12500 * stdio-common/bug5.c (main): Likewise.
12501 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12502 * stdio-common/test-popen.c (do_test): Likewise.
12503 * stdio-common/test_rdwr.c (main): Likewise.
12504
05598a09
PF
125052018-06-26 Patsy Franklin <pfrankli@redhat.com>
12506
12507 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12508 (sem_open): Set sem.newsem.pad to zero for valgrind.
12509
06ab719d
AZ
125102018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12511
12512 [BZ #20251]
12513 * NEWS: Mention fcntl64 addition.
12514 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12515 * login/utmp_file.c: Likewise.
12516 * sysdeps/posix/fdopendir.c: Likewise.
12517 * sysdeps/posix/opendir.c: Likewise.
12518 * sysdeps/unix/pt-fcntl.c: Likewise.
12519 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12520 __fcntl64_nocancel_adjusted): New prototype.
12521 (__fcntl_nocancel_adjusted): Remove prototype.
12522 * io/Makefile (routines): Add fcntl64.
12523 (CFLAGS-fcntl64.c): New rule.
12524 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12525 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12526 * io/fcntl.h (fcntl64): Add prototype and redirect if
12527 __USE_FILE_OFFSET64 is defined.
12528 * io/fcntl64.c: New file.
12529 * manual/llio.text: Add a note for which commands fcntl acts a
12530 cancellation point.
12531 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12532 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12533 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12534 New symbols.
12535 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12536 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12537 non-LFS case.
12538 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12539 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12540 to __fcntl64_nocancel.
12541 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12542 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12543 to __fcntl64_nocancel.
12544 * sysdeps/generic/not-cancel.h: Likewise.
12545 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12546 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12547 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12548 (fcntl64): New symbol.
12549 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12555 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12556 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12558 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12560 fcntl64): Likewise.
12561 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12563 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12566 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12567 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12568 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12569 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12571 Likewise.
12572 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12573 Likewise.
12574 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12575 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12576 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12577
124e0258
FW
125782018-06-26 Florian Weimer <fweimer@redhat.com>
12579
12580 Run thread shutdown functions in an explicit order.
12581 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12582 definition.
12583 (__libc_thread_freeres): Call thread shutdown functions
12584 explicitly.
12585 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12586 * include/string.h (__strerror_thread_freeres): Declare.
12587 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12588 arena_thread_freeres. No longer static. Remove thread shutdown
12589 hook registration.
12590 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12591 Declare.
12592 * resolv/res-close.c (__res_thread_freeres): Renamed from
12593 res_thread_freeres. No longer static. Remove thread shutdown
12594 hook registration.
12595 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12596 * resolv/resolv_conf.c (freeres): Remove incorrect section
12597 attribute and use libc_freeres_fn.
12598 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12599 strerror_thread_freeres. No longer static. Remove thread
12600 shutdown hook registration.
12601 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12602 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12603 shutdown hook registration.
12604 * Makerules (shlib.lds): Do not provide section boundary symbols
12605 for __libc_thread_subfreeres.
12606 * manual/memory.texi (Basic Allocation): Update comment.
12607
935d920e
FW
126082018-06-26 Florian Weimer <fweimer@redhat.com>
12609
12610 Remove always-defined _RPC_THREAD_SAFE_ macro.
12611 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12612 Do not define _RPC_THREAD_SAFE_.
12613 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12614 conditional.
12615 * sunrpc/clnt_perr.c: Likewise.
12616 * sunrpc/clnt_raw.c: Likewise.
12617 * sunrpc/clnt_simp.c: Likewise.
12618 * sunrpc/key_call.c: Likewise.
12619 * sunrpc/rpc_common.c: Likewise.
12620 * sunrpc/rpc_main.c: Likewise.
12621 * sunrpc/rpc_thread.c: Likewise.
12622 * sunrpc/svc.c: Likewise.
12623 * sunrpc/svc_raw.c: Likewise.
12624 * sunrpc/svc_simple.c: Likewise.
12625 * sumrpc/svcauth_des.c: Likewise.
12626
29055464
FW
126272018-06-26 Florian Weimer <fweimer@redhat.com>
12628
12629 * libio/Makefile (tests-internal): Add tst-vtables,
12630 tst-vtables-interposed.
12631 * libio/tst-vtables.c: New file.
12632 * libio/tst-vtables-common.c: Likewise.
12633 * libio/tst-vtables-interposed.c: Likewise.
12634
5c0202af
FW
126352018-06-26 Florian Weimer <fweimer@redhat.com>
12636
12637 * support/support_test_main.c (support_test_main): Only call
12638 setvbuf if not disables.
12639 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12640 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12641
c402355d
FW
126422018-06-26 Florian Weimer <fweimer@redhat.com>
12643
12644 [BZ #23313]
12645 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12646
43b1048a
FW
126472018-06-25 Florian Weimer <fweimer@redhat.com>
12648
12649 [BZ #18023]
12650 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12651 Use struct scratch_buffer instead of extend_alloca.
12652
1599ed4e
FW
126532018-06-25 Florian Weimer <fweimer@redhat.com>
12654
12655 [BZ #18023]
12656 * nss/getent.c (initgroups_keys): Use dynarray instead of
12657 extend_alloca.
12658
a26fe163
FW
126592018-06-25 Florian Weimer <fweimer@redhat.com>
12660
12661 [BZ #18023]
12662 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12663 Use struct scratch_buffer instead of extend_alloca.
12664
90d9d9ce
FW
126652018-06-25 Florian Weimer <fweimer@redhat.com>
12666
12667 [BZ #18023]
12668 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12669 back to malloc directly, without stack allocations.
12670
6b7b2aba
FW
126712018-06-25 Florian Weimer <fweimer@redhat.com>
12672
12673 [BZ #18023]
12674 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12675 of extend_alloca.
12676
2f9f0d18
FW
126772018-06-25 Florian Weimer <fweimer@redhat.com>
12678
12679 [BZ #18023]
12680 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12681 of extend_alloca.
12682 * nscd/hstcache.c (addhstbyX): Likewise.
12683 * nscd/pwdcache.c (addpwbyX): Likewise.
12684 * nscd/servicescache.c (addservbyX): Likewise.
12685
318bad78
FW
126862018-06-25 Florian Weimer <fweimer@redhat.com>
12687
12688 [BZ #18023]
12689 * nscd/connections.c (read_cmdline): New function.
12690 (restart): Use it. Update comment.
12691
189699ab
RL
126922018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12693
12694 [BZ #23140]
12695 * localedata/locales/csb_PL (mon): Rename to...
12696 (alt_mon): This.
12697 (abmon): Rename to...
12698 (ab_alt_mon): This.
12699 (mon): Add with proper genitive forms, copy from Wikipedia.
12700 (abmon): Likewise.
12701
0ea3f13c
RL
127022018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12703
12704 [BZ #19485]
12705 * localedata/locales/csb_PL (mon): Fix typos:
12706 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12707 (yesstr): Add, value is "jo".
12708 (nostr): Add, value is "nié".
12709
d93f4ff1
TMQMF
127102018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12711
12712 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12713 all log1p and significand functions on m680x0.
12714 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12715 of s_significand.c..
12716 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12717 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12718 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12719 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12720 s_log1p.c and include it..
12721
f6299d2a
VC
127222018-06-21 Vincent Chen <vincentc@andestech.com>
12723
12724 * elf/elf.h (R_NDS32_NONE): New define.
12725 (R_NDS32_32_RELA): Likewise.
12726 (R_NDS32_COPY): Likewise.
12727 (R_NDS32_GLOB_DAT): Likewise.
12728 (R_NDS32_JUMP_SLOT): Likewise.
12729 (R_NDS32_RELATIVE): Likewise.
12730 (R_NDS32_TLS_TPOFF): Likewise.
12731 (R_NDS32_TLS_DESC): Likewise.
12732
61ab61c2
MW
127332018-06-21 Mark Wielaard <mark@klomp.org>
12734
12735 * elf/elf.h (R_BPF_MAP_FD): Removed.
12736 (R_BPF_64_64, R_BPF_64_32): New.
12737
f496b28e
FW
127382018-06-21 Florian Weimer <fweimer@redhat.com>
12739
12740 [BZ #23253]
12741 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12742 Renamed from libc_feholdsetround_ctx.
12743 (default_libc_feresetround_ctx): Renamed from
12744 libc_feresetround_ctx.
12745 (default_libc_feholdsetround_noex_ctx): Renamed from
12746 libc_feholdsetround_noex_ctx.
12747 (default_libc_feresetround_noex_ctx): Renamed from
12748 libc_feresetround_noex_ctx.
12749 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12750 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12751 forwardning to the old implementations under the new names.
12752 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12753 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12754 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12755 (libc_feresetround_ctx): Forward to default implements for i386
12756 and MATH_SET_BOTH_ROUNDING_MODES.
12757 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12758 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12759
1760daad
JM
127602018-06-20 Joseph Myers <joseph@codesourcery.com>
12761
99c7adf9
JM
12762 * string/tst-cmp.c: Include <libc-diag.h>.
12763 (strncmp_max): Disable -Wstringop-overflow= around call to
12764 strncmp.
12765 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12766 strncasecmp.
12767
1760daad
JM
12768 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12769 (main): Disable -Wunused-value around call to strpbrk.
12770 * string/bug-strspn1.c: Include <libc-diag.h>.
12771 (main): Disable -Wunused-value around call to strspn.
12772
209ae17c
TMQMF
127732018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12774 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12775
12776 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12777 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12778
badba23c
TMQMF
127792018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12780
5e79e029
TMQMF
12781 * math/Makefile (libm-calls): Move s_significandF to...
12782 (gen-libm-calls): ... here.
12783 * math/s_significand_template.c: New file.
12784 * math/s_significand.c: Removed.
12785 * math/s_significandf.c: Removed.
12786 * math/s_significandl.c: Removed.
12787 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12788 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12789
badba23c
TMQMF
12790 * math/e_exp2_template.c (declare_mgen_finite_alias,
12791 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12792 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12793 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12794
2d1c89a5
FW
127952018-06-20 Florian Weimer <fweimer@redhat.com>
12796
12797 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12798
646c2833
JM
127992018-06-19 Joseph Myers <joseph@codesourcery.com>
12800
12801 [BZ #23280]
12802 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12803 floating-point number to strtod functions rather than possibly
12804 negating result of those functions.
12805 * stdio-common/tst-scanf-round.c: New file.
12806 * stdio-common/Makefile (tests): Add tst-scanf-round.
12807 ($(objpfx)tst-scanf-round): Depend on $(libm).
12808
c77e4dc0
ST
128092018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12810
12811 * sysdeps/mach/hurd/localplt.data: Move to...
12812 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12813 R_386_GLOB_DAT like on Linux i386.
12814
91b2f3e5
JM
128152018-06-18 Joseph Myers <joseph@codesourcery.com>
12816
f2857da7
JM
12817 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12818 (SHM_STAT_ANY): New macro.
12819 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12820 (SHM_STAT_ANY): Likewise.
12821 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12822 (SHM_STAT_ANY): Likewise.
12823 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12824 (SHM_STAT_ANY): Likewise.
12825 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12826 (SHM_STAT_ANY): Likewise.
12827 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12828 (SHM_STAT_ANY): Likewise.
12829 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12830 (SHM_STAT_ANY): Likewise.
12831 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12832 (SHM_STAT_ANY): Likewise.
12833 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12834 (SHM_STAT_ANY): Likewise.
12835 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12836 (SHM_STAT_ANY): Likewise.
12837 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12838 (SHM_STAT_ANY): Likewise.
12839 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12840 (SHM_STAT_ANY): Likewise.
12841
176c7fee
JM
12842 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12843 (SEM_STAT_ANY): New macro.
12844 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12845 (SEM_STAT_ANY): Likewise.
12846 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12847 (SEM_STAT_ANY): Likewise.
12848 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12849 (SEM_STAT_ANY): Likewise.
12850 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12851 (SEM_STAT_ANY): Likewise.
12852 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12853 (SEM_STAT_ANY): Likewise.
12854 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12855 (SEM_STAT_ANY): Likewise.
12856 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12857 (SEM_STAT_ANY): Likewise.
12858 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12859 (SEM_STAT_ANY): Likewise.
12860 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12861 (SEM_STAT_ANY): Likewise.
12862
86bf0019
JM
12863 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12864 (MSG_STAT_ANY): New macro.
12865 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12866 (MSG_STAT_ANY): Likewise.
12867 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12868 (MSG_STAT_ANY): Likewise.
12869 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12870 (MSG_STAT_ANY): Likewise.
12871 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12872 (MSG_STAT_ANY): Likewise.
12873 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12874 (MSG_STAT_ANY): Likewise.
12875 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12876 (MSG_STAT_ANY): Likewise.
12877 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12878 (MSG_STAT_ANY): Likewise.
12879 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12880 (MSG_STAT_ANY): Likewise.
12881 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12882 (MSG_STAT_ANY): Likewise.
12883
91b2f3e5
JM
12884 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12885 (MAP_TYPE): Change value to 0x2b.
12886
3fe8fc79
FW
128872018-06-18 Florian Weimer <fweimer@redhat.com>
12888
12889 [BZ #15722]
12890 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12891 socket with SOCK_CLOEXEC.
12892
809dc95d
JM
128932018-06-18 Joseph Myers <joseph@codesourcery.com>
12894
12895 [BZ #23303]
12896 * sysdeps/powerpc/powerpc64/le/Makefile
12897 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12898 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12899 (gnulib-tests): Also add $(f128-loader-link) for
12900 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12901
298a8b59
ST
129022018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12903
12904 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12905 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12906 of sendfile.
12907 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12908 (sendfile64): New strong alias.
faf7bbc2
ST
12909 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12910 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12911 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12912 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12913 attribute.
12914 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12915 ___pthread_get_cleanup_stack.
932d05f0 12916 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12917 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12918 * mach/shortcut.awk: Make syscall stubs include
12919 <mach-shortcuts-hidden.h> and add hidden definition.
12920 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12921 (__mach_msg): Add hidden prototype.
12922 * mach/msg.c: Include <mach.h>.
12923 (__mach_msg): Add hidden definition.
b0344cf5
ST
12924 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12925 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12926 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12927 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12928 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12929 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12930 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12931 prototype and definition.
12932 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12933 hidden target for _hurd_self_sigstate.
298a8b59 12934
b12c1e79
JM
129352018-06-15 Joseph Myers <joseph@codesourcery.com>
12936
12937 [BZ #23007]
12938 * stdlib/tst-strtod-nan-sign-main.c: New file.
12939 * stdlib/tst-strtod-nan-sign.c: Likewise.
12940 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12941 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12942 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12943 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12944 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12945
b0debe14
HB
129462018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12947
12948 [BZ #23007]
12949 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12950 appropriate sign.
12951
14beef75
FW
129522018-06-14 Florian Weimer <fweimer@redhat.com>
12953
12954 [BZ #23290]
12955 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12956 that the result stays within the ISO-8859-1 range.
12957 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12958 characters are defined in IBM273.
12959
c596630b
ST
129602018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12961
12962 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12963 __mach_task_self): Remove attribute_hidden.
12964
35ebb6b0
JM
129652018-06-14 Joseph Myers <joseph@codesourcery.com>
12966
12967 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12968 ignore -Wrestrict for one test.
12969
3c7b9f1f
SE
129702018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12971 Szabolcs Nagy <szabolcs.nagy@arm.com>
12972
12973 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12974
c59ee916
FW
129752018-06-14 Florian Weimer <fweimer@redhat.com>
12976
12977 * scripts/update-abilist.sh: Accept empty list of files to patch.
12978
43b5ff50
ST
129792018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12980
12981 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12982 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12983 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12984 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12985 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12986 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12987 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12988 __thread_switch, __evc_wait): Move declarations to...
12989 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12990 attribute_hidden.
06d1a826
ST
12991 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12992 use PLT to call _hurd_self_sigstate.
43b5ff50 12993
fcd6b5ac
JM
129942018-06-13 Joseph Myers <joseph@codesourcery.com>
12995
12996 [BZ #23279]
12997 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12998 MAX_EXP as overflowing.
12999 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
13000 overflow flag.
13001 (round_str): Output also whether result overflows in each rounding
13002 mode.
13003 * stdlib/tst-strtod-round-data: Add more tests.
13004 * stdlib/tst-strtod-round-data.h: Regenerated.
13005 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13006 (TEST): Handle extra arguments for overflow flags.
13007 (struct test_overflow): New type.
13008 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13009 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13010 (test_in_one_mode): Take argument with overflow information.
13011 (do_test): Update calls to test_in_one_mode.
13012
35df5a77
CD
130132018-06-12 Carlos O'Donell <carlos@redhat.com>
13014
a745c837
CD
13015 * elf/dl-load (_dl_dst_substitute): Correct comment.
13016 (_dl_dst_count): Likewise.
13017
35df5a77
CD
13018 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13019 lll_futex_timed_wait.
13020
48b12ed5
JM
130212018-06-12 Joseph Myers <joseph@codesourcery.com>
13022
13023 [BZ #23277]
13024 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13025 attribute.
13026 * math/test-nan-const.c: New file.
13027 * math/Makefile (tests): Add test-nan-const.
13028 (CFLAGS-test-nan-const.c): New variable.
13029
cb8f6aff
L
130302018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13031
13032 * benchtests/scripts/compare_strings.py (process_results): Add
13033 funcs argument. Compare only functions which are selected.
13034 (main): Check if base function is among selected functions.
13035 Pass selected functions to process_results.
13036 (__main__): Add -f/--functions argument.
13037
fc2ba803
HZ
130382018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13039 Hongbo Zhang <hongbo.zhang@linaro.org>
13040
13041 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13042 __memcpy_falkor for phecda core.
13043 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13044 __memmove_falkor for phecda core.
13045 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13046 __memset_falkor for phecda core.
13047 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13048 for phecda core.
13049 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13050 macro to identify phecda core.
13051
5aad5f61
CD
130522018-06-12 Carlos O'Donell <carlos@redhat.com>
13053 Andreas Schwab <schwab@suse.de>
13054 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 13055 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
13056
13057 [BZ #23102]
13058 [BZ #21942]
13059 [BZ #18018]
13060 [BZ #23259]
13061 CVE-2011-0536
13062 * elf/dl-dst.h: Remove DL_DST_COUNT.
13063 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13064 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13065 (is_dst): Comment. Support ELF gABI.
13066 (_dl_dst_count): Comment. Simplify and count DSTs.
13067 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13068 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13069 locals.
13070
329ea513
ZW
130712018-06-12 Zack Weinberg <zackw@panix.com>
13072
13073 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13074 * sysdeps/unix/sysv/linux/dl-sysdep.c
13075 Include not-cancel.h. Use __close_nocancel instead of __close,
13076 __open64_nocancel instead of __open, __read_nocancel instead of
13077 __libc_read, and __write_nocancel instead of __libc_write.
13078
13079 * csu/check_fds.c (check_one_fd)
13080 * sysdeps/posix/fdopendir.c (__fdopendir)
13081 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13082 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13083
13084 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13085 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13086 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13087 Use __open64_nocancel instead of __open_nocancel.
13088
13089 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13090 hidden_proto declarations to the end and issue them if either
13091 IS_IN(libc) or IS_IN(rtld).
13092 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13093 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13094 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13095 read_nocancel, waitpid_nocancel, write_nocancel.
13096
b39d961c
TS
13097 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13098 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13099 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13100
b39d961c
TS
13101 * nptl/pt-fcntl.c: New file.
13102 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13103 (libpthread-routines): Add pt-fcntl.
13104 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13105 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13106 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13107 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13108 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13109 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13110 to fcntl_nocancel.c.
13111 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13114 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13115
13116 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13117 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13118 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13119 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13120 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13121 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13122 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13123 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13124 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13125 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13126 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13127 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13128 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13129 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13130 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13131 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13132 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13133 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13134 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13135 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13136
b39d961c
TS
13137 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13138 libpthread-routines.
13139 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13140 defines nothing.
329ea513 13141
b39d961c
TS
13142 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13143 __libc_read, and __write instead of __libc_write. Define
13144 __open64 in addition to __open.
329ea513 13145
0221ce2a
L
131462018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13147
13148 [BZ #23250]
13149 [BZ #10686]
13150 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13151 to _private_tm[3] and add __glibc_reserved2.
13152 Add _Static_assert of offset of __private_ss == 0x30.
13153 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13154 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13155
e826574c
FW
131562018-06-12 Florian Weimer <fweimer@redhat.com>
13157
13158 x86: Make strncmp usable from rtld.
13159 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13160 __strncmp_ia32 if in libc (and not in rtld).
13161 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13162 strncmp if not in libc (and not to __strncmp_sse2).
13163
c4ad5782
RL
131642018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13165
13166 [BZ #23140]
13167 * localedata/locales/gd_GB (mon): Rename to...
13168 (alt_mon): This.
13169 (mon): Import from CLDR (genitive case).
13170 * localedata/locales/hsb_DE (mon): Rename to...
13171 (alt_mon): This.
13172 (mon): Import from CLDR (genitive case).
13173 * localedata/locales/wa_BE (mon): Rename to...
13174 (alt_mon): This.
13175 (mon): Add, fill with the proper genitive forms, but CLDR data
13176 is incomplete; completed according to the comments in this file.
13177 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13178
13179 * localedata/locales/wa_BE (country_name): Reword
13180 "Beljike" -> "Beldjike".
13181
ca121b11
JM
131822018-06-11 Joseph Myers <joseph@codesourcery.com>
13183
13184 [BZ #23272]
13185 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13186 cases of non-finite arguments.
13187 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13188
2b69fecb
JDA
131892018-06-10 John David Anglin <danglin@gcc.gnu.org>
13190
13191 [BZ #23174]
13192 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13193
283d9851
AZ
131942018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13195
13196 [BZ #23264]
13197 * include/unistd.h (__execvpex): New prototype.
13198 * posix/Makefile (tests): Add tst-spawn4.
13199 (tests-internal): Add tst-spawn4-compat.
13200 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13201 * posix/tst-spawn4-compat.c: New file.
13202 * posix/tst-spawn4.c: Likewise.
13203 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13204 binaries as shell scripts.
13205 * sysdeps/posix/spawni.c (__spawni): Likewise.
13206
67c05796
L
132072018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13208
13209 [BZ #23145]
13210 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13211 ($(all-built-dso:=.dynsym): New target.
13212 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13213 ($(objpfx)check-initfini.out): New target.
13214 (generated): Add check-initfini.out.
13215 * scripts/check-initfini.awk: New file.
13216 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13217 (_fini): Likewise.
13218 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13219 (_fini): Likewise.
13220 * sysdeps/arm/crti.S (_init): Mark as hidden.
13221 (_fini): Likewise.
13222 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13223 (_fini): Likewise.
13224 * sysdeps/i386/crti.S (_init): Mark as hidden.
13225 (_fini): Likewise.
13226 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13227 (_fini): Likewise.
13228 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13229 (_fini): Likewise.
13230 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13231 (_fini): Likewise.
13232 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13233 (_fini): Likewise.
13234 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13235 (_fini): Likewise.
13236 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13237 (_fini): Likewise.
13238 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13239 (_fini): Likewise.
13240 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13241 (_fini): Likewise.
13242 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13243 (_fini): Likewise.
13244 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13245 (_fini): Likewise.
13246 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13247 (_fini): Likewise.
13248 * sysdeps/sh/crti.S (_init): Mark as hidden.
13249 (_fini): Likewise.
13250 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13251 (_fini): Likewise.
13252 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13253 (_fini): Likewise.
13254
1c09524e
TMQMF
132552018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13256
13257 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13258 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13259 and TF redirection to KFtype and KF only when the default
13260 long double type is not the IEEE 128-bit floating point type.
13261
0e0577c9
JM
132622018-06-05 Joseph Myers <joseph@codesourcery.com>
13263
0c1c33b2
JM
13264 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13265 macro.
13266 (HWCAP_USCAT): Likewise.
13267 (HWCAP_ILRCPC): Likewise.
13268 (HWCAP_FLAGM): Likewise.
13269 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13270 Increase to 28.
13271 (_dl_aarch64_cap_flags): Add new flag names.
13272
bef1cbf4
JM
13273 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13274 (MAP_FIXED_NOREPLACE): New macro.
13275 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13276 (MAP_FIXED_NOREPLACE): Likewise.
13277 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13278 (MAP_FIXED_NOREPLACE): Likewise.
13279 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13280 (MAP_FIXED_NOREPLACE): Likewise.
13281 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13282 (MAP_FIXED_NOREPLACE): Likewise.
13283 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13284 (MAP_FIXED_NOREPLACE): Likewise.
13285 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13286 (MAP_FIXED_NOREPLACE): Likewise.
13287 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13288 (MAP_FIXED_NOREPLACE): Likewise.
13289 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13290 (MAP_FIXED_NOREPLACE): Likewise.
13291 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13292 (MAP_FIXED_NOREPLACE): Likewise.
13293 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13294 (MAP_FIXED_NOREPLACE): Likewise.
13295 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13296 (MAP_FIXED_NOREPLACE): Likewise.
13297 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13298 (MAP_FIXED_NOREPLACE): Likewise.
13299 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13300 (MAP_FIXED_NOREPLACE): Likewise.
13301 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13302 (MAP_FIXED_NOREPLACE): Likewise.
13303
0e0577c9
JM
13304 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13305 version to 4.17.
13306
ab3a0da0
JM
133072018-06-04 Joseph Myers <joseph@codesourcery.com>
13308
13309 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13310 version to 4.17
13311
d2d9dfb6
ST
133122018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13313
13314 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13315 int.
13316 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13317
a650b05e
LS
133182018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13319
13320 * benchtests/scripts/compare_string.py: (process_results) Catch
13321 exception in non-existent base_func and catch exception in
13322 non-existent attribute.
13323 (parse_file) Catch exception if input file does not exist.
13324
195abbf4
LS
133252018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13326
13327 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13328 options to avoid diff calculation and omit header, respectively.
13329 (main): process --no-diff and --no-header
13330
14570163
LS
133312018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13332 H.J. Lu <hongjiu.lu@intel.com>
13333
13334 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13335 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13336 wcsncmp-sse2.
13337 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13338 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13339 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13340 and __wcsncmp_sse2.
13341 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13342 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13343 AVX unaligned load is fast and vzeroupper is preferred.
13344 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13345 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13346 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13347 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13348 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13349 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13350 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13351 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13352 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13353 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13354 is undefined.
13355
e02c026f
FW
133562018-06-01 Florian Weimer <fweimer@redhat.com>
13357
13358 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13359 configuring with --disable-multi-arch, building with
13360 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13361 Haswell-era CPU.
13362
d8c19275
FW
133632018-06-01 Florian Weimer <fweimer@redhat.com>
13364
13365 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13366 results from building with “-march=x86-64 -mtune=generic
13367 -mfpmath=sse” and running on a Haswell-era CPU.
13368
0d2163eb
JM
133692018-06-01 Joseph Myers <joseph@codesourcery.com>
13370
13371 [BZ #18473]
13372 * soft-fp/sqrttf2.c: Remove file.
13373 * soft-fp/sqrtdf2.c: Move to ....
13374 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13375 <shlib-compat.h>.
13376 (__sqrtdf2): Make conditional on
13377 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13378 symbol.
13379 * soft-fp/sqrtsf2.c: Move to ....
13380 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13381 <shlib-compat.h>.
13382 (__sqrtsf2): Make conditional on
13383 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13384 symbol.
13385 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13386 (gcc-double-routines): Remove sqrtdf2.
13387 (gcc-quad-routines): Remove sqrttf2.
13388 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13389 Do not filter out sqrtsf2 and sqrtdf2.
13390 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13391 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13392
10450210
FW
133932018-06-01 Florian Weimer <fweimer@redhat.com>
13394
13395 * sysdeps/generic/libcidn.abilist: Remove file.
13396
4e8a6346
FW
133972018-06-01 Florian Weimer <fweimer@redhat.com>
13398
13399 [BZ #23236]
13400 * libio/strfile.h (struct _IO_str_fields): Rename members to
13401 discourage their use and add comment.
13402 (_IO_STR_DYNAMIC): Remove unused macro.
13403 * libio/strops.c (_IO_str_init_static_internal): Do not use
13404 callback pointers. Call malloc and free.
13405 (_IO_str_overflow): Do not use callback pointers. Call malloc
13406 and free.
13407 (enlarge_userbuf): Likewise.
13408 (_IO_str_finish): Call free.
13409 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13410 _allocate_buffer_unused.
13411 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13412 and free.
13413 (enlarge_userbuf): Likewise.
13414 (_IO_wstr_finish): Call free.
13415 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13416 _allocate_buffer_unused, _free_buffer_unused.
13417 * libio/memstream.c (__open_memstream): Likewise.
13418 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13419 * libio/wmemstream.c (open_wmemstream): Likewise.
13420
50d004c9
PP
134212018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13422
13423 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13424 AMD Ryzen 7 1800X.
13425
2c93fce7
RS
134262018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13427
13428 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13429 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13430 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13431 New file.
13432 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13433 Likewise.
13434 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13435
0ce2fa69
FW
134362018-05-29 Florian Weimer <fweimer@redhat.com>
13437
13438 * support/Makefile (libsupport-routines): Add
13439 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13440 xpthread_barrierattr_setpshared.
13441 * support/xpthread_barrierattr_destroy.c: New file.
13442 * support/xpthread_barrierattr_init.c: Likewise.
13443 * support/xpthread_barrierattr_setpshared.c: Likewise.
13444
7f7b5d8d
L
134452018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13446
13447 [BZ #23206]
13448 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13449 _r_debug and update DT_DEBUG for debugger.
13450
e4890300
FW
134512018-05-29 Florian Weimer <fweimer@redhat.com>
13452
13453 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13454 (tst-strtod5i.out): Likewise.
13455
2c753f3e
JM
134562018-05-25 Joseph Myers <joseph@codesourcery.com>
13457
b5453d9f
JM
13458 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13459 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13460 (sparc64-quad-routines): New variable. Moved from ....
13461 [$(subdir) = soft-fp] (sysdep_routines): Add
13462 $(sparc64-quad-routines). Moved from ....
13463 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13464 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13465 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13466 moved from ....
13467 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13468 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13469 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13470 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13471 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13472 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13473 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13474 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13475 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13476 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13477 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13478 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13479 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13480 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13481 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13482 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13483 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13484 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13485 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13486 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13487 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13488 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13489 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13490 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13491 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13492 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13493 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13494 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13495 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13496 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13497 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13498 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13499 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13500 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13501 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13502 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13503 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13504 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13505 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13506 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13507 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13508 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13509 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13510 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13511 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13512 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13513 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13514 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13515 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13516 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13517 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13518 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13519 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13520 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13521 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13522 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13523 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13524 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13525
2c753f3e
JM
13526 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13527 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13528 (sparc32-quad-routines): New variable. Moved from ....
13529 [$(subdir) = soft-fp] (sysdep_routines): Add
13530 $(sparc32-quad-routines). Moved from ....
13531 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13532 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13533 moved from ....
13534 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13535 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13536 * sysdeps/sparc/sparc32/q_add.c: ... here.
13537 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13538 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13539 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13540 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13541 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13542 * sysdeps/sparc/sparc32/q_div.c: ... here.
13543 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13544 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13545 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13546 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13547 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13548 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13549 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13550 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13551 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13552 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13553 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13554 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13555 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13556 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13557 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13558 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13559 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13560 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13561 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13562 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13563 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13564 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13565 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13566 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13567 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13568 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13569 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13570 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13571 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13572 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13573 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13574 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13575 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13576 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13577 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13578 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13579 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13580 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13581 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13582 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13583 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13584 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13585 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13586 * sysdeps/sparc/sparc32/q_util.c: ... here.
13587 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13588 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13589 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13590 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13591
c1dc1e1b
TMQMF
135922018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13593 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13594
13595 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13596 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13597 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13598 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13599
14186e8d
JM
136002018-05-24 Joseph Myers <joseph@codesourcery.com>
13601
13602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13603 powerpc/soft-fp.
13604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13605 Likewise.
13606 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13607 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13608
fb0e10b8
GG
136092018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13610
13611 [BZ #23171]
13612 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13613 double version.
13614
1dfeb17e
JM
136152018-05-23 Joseph Myers <joseph@codesourcery.com>
13616
13617 * sysdeps/sh/Implies: Remove sh/soft-fp.
13618 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13619 * sysdeps/sh/sfp-machine.h: ... here.
13620
727b38df
L
136212018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13622
13623 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13624 (__mempcpy_erms): Skip zero length.
13625 (__memmove_erms): Likewise.
13626 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13627 (__memset_erms): Likewise.
13628
2834fb46
JM
136292018-05-23 Joseph Myers <joseph@codesourcery.com>
13630
13631 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13632 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13633 Add functions moved from ....
13634 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13635 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13636 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13637 from ....
13638 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13639 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13640 * sysdeps/alpha/e_sqrtl.c: ... here.
13641 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13642 * sysdeps/alpha/local-soft-fp.h: ... here.
13643 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13644 * sysdeps/alpha/ots_add.c: ... here.
13645 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13646 * sysdeps/alpha/ots_cmp.c: ... here.
13647 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13648 * sysdeps/alpha/ots_cmpe.c: ... here.
13649 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13650 * sysdeps/alpha/ots_cvtqux.c: ... here.
13651 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13652 * sysdeps/alpha/ots_cvtqx.c: ... here.
13653 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13654 * sysdeps/alpha/ots_cvttx.c: ... here.
13655 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13656 * sysdeps/alpha/ots_cvtxq.c: ... here.
13657 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13658 * sysdeps/alpha/ots_cvtxt.c: ... here.
13659 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13660 * sysdeps/alpha/ots_div.c: ... here.
13661 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13662 * sysdeps/alpha/ots_mul.c: ... here.
13663 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13664 * sysdeps/alpha/ots_nintxq.c: ... here.
13665 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13666 * sysdeps/alpha/ots_sub.c: ... here.
13667 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13668 * sysdeps/alpha/sfp-machine.h: ... here.
13669
7f9f1ecb
FW
136702018-05-23 Florian Weimer <fweimer@redhat.com>
13671
13672 [BZ #19728]
13673 [BZ #19729]
13674 [BZ #22247]
13675 CVE-2016-6261
13676 CVE-2016-6263
13677 CVE-2017-14062
13678 Switch to extern IDNA implementation (libidn2).
13679 * libidn: Remove subdirectory.
13680 * LICENSES: Do not mention licensing conditions for the removed
13681 libidn code.
13682 * config.h.in (HAVE_LIBIDN): Remove.
13683 * include/dlfcn.h (__libc_dlopen): Update comment.
13684 * include/idna.h: Remove file.
13685 * inet/Makefile (routines): Add idna.
13686 (tests-static, tests-internal): Add tst-idna_name_classify.
13687 (LOCALES): Generate locales for tests.
13688 (tst-idna_name_classify.out): Depend on generated locales.
13689 * inet/idna_name_classify.c: New file.
13690 * inet/tst-idna_name_classify.c: Likewise.
13691 * inet/net-internal.h (__idna_to_dns_encoding)
13692 (__idna_from_dns_encoding): Declare.
13693 * inet/net-internal.h (enum idna_name_classification): Define.
13694 (__idna_name_classify): Declare.
13695 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13696 __idna_from_dns_encoding.
13697 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13698 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13699 name as a fallback in case of encoding errors.
13700 (getnameinfo): Use DEPRECATED_NI_IDN.
13701 * inet/idna.c: New file.
13702 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13703 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13704 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13705 (modules-names): Add tst-no-libidn2.
13706 (extra-test-objs): Add tst-no-libidn2.os.
13707 (LDFLAGS-tst-no-libidn2.so): Set soname.
13708 (LOCALES): Set, and generate locales.
13709 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13710 (tst-resolv-ai_idn-latin1): Likewise.
13711 (tst-resolv-ai_idn-nolibidn2): Likewise.
13712 (tst-resolv-ai_idn.out): Depend on locales.
13713 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13714 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13715 tst-no-libidn2.so.
13716 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13717 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13718 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13719 * resolv/tst-resolv-ai_idn.c: New file.
13720 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13721 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13722 * resolv/tst-no-libidn2.c: Likewise.
13723 * support/support_format_addrinfo.c (format_ai_flags): Do not
13724 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13725 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13726 (gaih_inet): Call __idna_to_dns_encoding and
13727 __idna_from_dns_encoding, and use the original (punycode) name if
13728 __idna_from_dns_encoding fails due to an encoding error.
13729 (getaddrinfo): Use DEPRECATED_AI_IDN.
13730 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13731 * sysdeps/unix/inet/configure: Remove file.
13732 * sysdeps/unix/inet/configure.ac: Likewise.
13733
5f7b841d
FW
137342018-05-23 Florian Weimer <fweimer@redhat.com>
13735
13736 Implement allocate_once.
13737 * include/allocate_once.h: New file.
13738 * misc/allocate_once.c: Likewise.
13739 * misc/tst-allocate_once.c: Likewise.
13740 * misc/Makefile (routines): Add allocate_once.
13741 (tests-internal): Add tst-allocate_once.
13742 (generated): Add tst-allocate_once.mtrace,
13743 tst-allocate_once-mem.out.
13744 (tests-special): Add tst-allocate_once-mem.out.
13745 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13746 (tst-allocate_once-mem.out): Call mtrace.
13747 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13748
ed983107
L
137492018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13750
13751 [BZ #23196]
13752 * string/test-memcpy.c (do_test1): New function.
13753 (test_main): Call it.
13754
9aaaab7c
AS
137552018-05-23 Andreas Schwab <schwab@suse.de>
13756
13757 [BZ #23196]
13758 CVE-2018-11237
13759 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13760 (L(preloop_large)): Save initial destination pointer in %r11 and
13761 use it instead of %rax after the loop.
13762 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13763
5c5c0dd7
JM
137642018-05-22 Joseph Myers <joseph@codesourcery.com>
13765
8f145c77
JM
13766 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13767 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13768 -I../soft-fp. Moved from ....
13769 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13770 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13771 * sysdeps/aarch64/e_sqrtl.c: ... here.
13772 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13773 * sysdeps/aarch64/sfp-machine.h: ... here.
13774
3d6302a5
JM
13775 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13776 -Wmaybe-uninitialized around access to fq[0].
13777 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13778 Likewise.
13779
5c5c0dd7
JM
13780 [BZ #18471]
13781 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13782 aliases for non-libc case of versioned symbols.
13783 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13784 (llseek): Define as compat symbol if
13785 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13786 with link warning.
13787 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13788 Make into a compat symbol, disabled for minimum symbol version
13789 GLIBC_2.28 and later.
13790 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13791
ed0d6988
FW
137922018-05-22 Florian Weimer <fweimer@redhat.com>
13793
13794 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13795 not add -mpreferred-stack-boundary=4.
13796 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13797 (stack-align-test-flags): Likewise.
13798 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13799 Likewise.
13800 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13801 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13802 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13803 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13804 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13805 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13806 (CFLAGS-tst-align2.c): Likewise.
13807
e28e9b1e
L
138082018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13809
13810 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13811 (index_arch_Prefer_FSRM): Likewise.
13812 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13813 Also check Prefer_FSRM.
13814 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13815 Also return OPTIMIZE (erms) for Prefer_FSRM.
13816
1af30adc
L
138172018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13818
13819 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13820 (index_cpu_FSRM): Likewise.
13821 (reg_FSRM): Likewise.
13822
78274dc8
JM
138232018-05-18 Joseph Myers <joseph@codesourcery.com>
13824
7c67e6e8
JM
13825 * math/gen-tgmath-tests.py: Import sys.
13826 (Tests.__init__): Initialize macros_seen.
13827 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13828 if requested to do so for this macro.
13829 (Tests.add_all_tests): Take argument for macro for which to
13830 generate tests.
13831 (Tests.check_macro_list): New function.
13832 (main): Handle check-list argument and argument specifying macro
13833 for which to generate tests.
13834 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13835 [PYTHON] (tgmath3-macro-tests): Likewise.
13836 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13837 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13838 not test-tgmath3.c.
13839 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13840 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13841 to CFLAGS.
13842 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13843 [PYTHON] ($(foreach
13844 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13845 rule.
13846 [PYTHON] (tests-special): Add
13847 $(objpfx)test-tgmath3-macro-list.out.
13848 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13849
ebc129fd
JM
13850 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13851 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13852 later.
13853
78274dc8
JM
13854 [BZ #22639]
13855 * time/tzset.c (SECSPERDAY): Cast to time_t.
13856 * time/tst-y2039.c: New file.
13857 * time/Makefile (tests): Add tst-y2039.
13858
6f7fdeeb
LS
138592018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13860
13861 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13862 (PREFETCH_ONE_SET): Remove duplicate line.
13863
e363a91c
FW
138642018-05-17 Florian Weimer <fweimer@redhat.com>
13865
13866 * sysdeps/generic/math-type-macros-double.h: Include
13867 <math-nan-payload-double.h> after <libm-alias-double.h>.
13868 * sysdeps/generic/math-type-macros-float.h: Include
13869 <math-nan-payload-float.h> after <libm-alias-float.h>.
13870 * sysdeps/generic/math-type-macros-float128.h: Include
13871 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13872 * sysdeps/generic/math-type-macros-ldouble.h: Include
13873 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13874
dae6c43c
AS
138752018-05-17 Andreas Schwab <schwab@suse.de>
13876
13877 * resolv/res_send.c (__res_context_send): Don't set errno when
13878 returing error after malloc failure.
13879
0068c085
L
138802018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13881
13882 * nptl/allocatestack.c (allocate_stack): Remove the
13883 !__ASSUME_PRIVATE_FUTEX paths.
13884 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13885 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13886 Likewise.
13887 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13888 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13889 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13890 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13891 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13892 !__ASSUME_PRIVATE_FUTEX path.
13893 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13894 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13895 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13896 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13897 !__ASSUME_PRIVATE_FUTEX macros.
13898 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13899 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13900 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13901 * sysdeps/unix/sysv/linux/kernel-features.h
13902 (__ASSUME_PRIVATE_FUTEX): Removed.
13903
632a6cbe
JM
139042018-05-17 Joseph Myers <joseph@codesourcery.com>
13905
13906 * math/Makefile (libm-narrow-fns): Add div.
13907 (libm-test-funcs-narrow): Likewise.
13908 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13909 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13910 * math/gen-auto-libm-tests.c (test_functions): Add div.
13911 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13912 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13913 (NARROW_DIV_TRIVIAL): Likewise.
13914 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13915 macro.
13916 (__ddivl): Likewise.
13917 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13918 ddiv.
13919 (CFLAGS-nldbl-ddiv.c): New variable.
13920 (CFLAGS-nldbl-fdiv.c): Likewise.
13921 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13922 __nldbl_ddivl.
13923 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13924 prototype.
13925 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13926 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13927 * math/auto-libm-test-in: Add tests of div.
13928 * math/auto-libm-test-out-narrow-div: New generated file.
13929 * math/libm-test-narrow-div.inc: New file.
13930 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13931 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13932 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13933 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13934 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13935 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13936 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13938 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13939 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13940 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13941 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13942 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13943 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13944 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13945 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13946 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13947 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13948 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13949 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13969 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13970 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13971 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13972 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13974
8c78faa9
AZ
139752018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13976
13977 [BZ #23178]
13978 * nscd/nscd-client.h (sendfileall): Remove prototype.
13979 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13980 (handle_request): Use writeall instead of sendfileall.
13981 * nscd/aicache.c (addhstaiX): Likewise.
13982 * nscd/grpcache.c (cache_addgr): Likewise.
13983 * nscd/hstcache.c (cache_addhst): Likewise.
13984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13985 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13986 * nscd/pwdcache.c (cache_addpw): Likewise.
13987 * nscd/servicescache.c (cache_addserv): Likewise.
13988 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13989 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13990 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13991 Remove define.
13992
04958880
L
139932018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13994
13995 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13996 Include <string/strncat.c>.
13997 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13998 alias.
13999 (__GI___strncat): New hidden alias.
14000
c9992d13
JM
140012018-05-16 Joseph Myers <joseph@codesourcery.com>
14002
14003 * sysdeps/mips/mips32/libm-test-ulps: Update.
14004 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14005
2afece36
FW
140062018-05-16 Florian Weimer <fweimer@redhat.com>
14007
14008 * support/Makefile (libsupport-routines): Add support_quote_blob,
14009 support_test_compare_blob.
14010 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14011 * support/check.h (TEST_COMPARE_BLOB): Define.
14012 (support_test_compare_blob): Declare.
14013 * support/support.h (support_quote_blob): Declare.
14014 * support/support_quote_blob.c: New file.
14015 * support/support_test_compare_blob.c: Likewise.
14016 * support/tst-support_quote_blob.c: Likewise.
14017 * support/tst-test_compare_blob.c: Likewise.
14018
9761bf4d
FW
140192018-05-16 Florian Weimer <fweimer@redhat.com>
14020
14021 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14022 of <strtod_nan_double.h>.
14023 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14024 instead of SET_MANTISSA.
14025 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14026 of include <strtod_nan_float.h>.
14027 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14028 instead of <strtod_nan_ldouble.h>.
14029 * stdlib/strtod_nan_double.h: Move to ...
14030 * sysdeps/generic/math-nan-payload-double.h: ... here.
14031 (FLOAT): Remove definition.
14032 (SET_MANTISSA): Rename to ...
14033 (SET_NAN_PAYLOAD): ... this.
14034 * stdlib/strtod_nan_float.h: Move to ...
14035 * sysdeps/generic/math-nan-payload-float.h: ... here.
14036 (FLOAT): Remove definition.
14037 (SET_MANTISSA): Rename to ...
14038 (SET_NAN_PAYLOAD): ... this.
14039 * sysdeps/generic/math-type-macros-double.h: Include
14040 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14041 instead of <math-svid-compat.h>.
14042 * sysdeps/generic/math-type-macros-float.h: Include
14043 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14044 instead of <math-svid-compat.h>.
14045 * sysdeps/generic/math-type-macros-float128.h: Include
14046 <math-nan-payload-float128.h>.
14047 * sysdeps/generic/math-type-macros-ldouble.h: Include
14048 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14049 instead of <math-svid-compat.h>.
14050 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14051 check for definition.
14052 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14053 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14054 Include <ieee754_float128.h>.
14055 (FLOAT): Remove definition.
14056 (SET_MANTISSA): Rename to ...
14057 (SET_NAN_PAYLOAD): ... this.
14058 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14059 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14060 Do not include <float128_private.h>.
14061 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14063 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14064 (FLOAT): Remove definition.
14065 (SET_MANTISSA): Rename to ...
14066 (SET_NAN_PAYLOAD): ... this.
14067 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14068 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14069 (FLOAT): Remove definition.
14070 (SET_MANTISSA): Rename to ...
14071 (SET_NAN_PAYLOAD): ... this.
14072 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14073 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14074 (FLOAT): Remove definition.
14075 (SET_MANTISSA): Rename to ...
14076 (SET_NAN_PAYLOAD): ... this.
14077 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14078 of "../stdlib/strtod_nan_double.h".
14079 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14080 of "../stdlib/strtod_nan_float.h".
14081 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14082 instead of "../stdlib/strtod_nan_ldouble.h".
14083 * manual/arith.texi (Parsing of Floats): Adjust comment.
14084
69a01461
JM
140852018-05-16 Joseph Myers <joseph@codesourcery.com>
14086
14087 * math/Makefile (libm-narrow-fns): Add mul.
14088 (libm-test-funcs-narrow): Likewise.
14089 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14090 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14091 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14092 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14093 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14094 (NARROW_MUL_TRIVIAL): Likewise.
14095 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14096 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14097 macro.
14098 (__dmull): Likewise.
14099 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14100 dmul.
14101 (CFLAGS-nldbl-dmul.c): New variable.
14102 (CFLAGS-nldbl-fmul.c): Likewise.
14103 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14104 __nldbl_dmull.
14105 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14106 prototype.
14107 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14108 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14109 * math/auto-libm-test-in: Add tests of mul.
14110 * math/auto-libm-test-out-narrow-mul: New generated file.
14111 * math/libm-test-narrow-mul.inc: New file.
14112 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14113 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14114 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14115 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14116 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14117 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14118 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14119 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14120 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14121 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14122 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14123 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14124 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14125 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14126 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14127 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14128 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14129 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14130 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14131 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14151 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14152 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14153 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14154 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14155 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14156
a15529fd
L
141572018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14158
14159 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14160 with *%eax in call.
14161
98ee36c7
L
141622018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14163
14164 * sysdeps/i386/ldsodefs.h: Removed.
14165 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14166 * sysdeps/x86/ldsodefs.h: This.
14167 (La_i86_regs): New.
14168 (La_i86_retval): Likewise.
14169 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14170 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14171
e322ec32
L
141722018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14173
14174 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14175 unnecessary testl.
14176
0937e209
AM
141772018-05-13 Alan Modra <amodra@gmail.com>
14178
14179 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14180 R_PARISC_TLS_DTPOFF32 reloc addend.
14181
5db7d705
TMQMF
141822018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14183
14184 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14185 * math/math.h: Restrict the prototype definition for the functions
14186 issignaling(_Float128) and iszero(_Float128); and template
14187 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14188 __HAVE_FLOAT128_UNLIKE_LDBL.
14189 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14190 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14191 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14192 __f128() constants; define the type _Float128 as long double;
14193 and reuse long double in __CFLOAT128.
14194
b4d5b8b0
JM
141952018-05-11 Joseph Myers <joseph@codesourcery.com>
14196
14197 * sysdeps/generic/math_private.h: Do not include
14198 <math-barriers.h>.
14199 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14200 <math_private.h>.
14201 * math/fromfp.h: Include <math-barriers.h>.
14202 * math/math-narrow.h: Likewise.
14203 * math/s_nextafter.c: Likewise.
14204 * math/s_nexttowardf.c: Likewise.
14205 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14206 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14207 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14208 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14209 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14210 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14211 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14219 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14220 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14221 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14222 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14223 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14224 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14225 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14227 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14228 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14229 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14230 * sysdeps/ieee754/k_standardl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14241 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14242 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14243 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14244 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14245 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14246 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14247 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14248 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14249 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14250 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14251 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14252 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14253
fc79706a
FW
142542018-05-11 Florian Weimer <fweimer@redhat.com>
14255
14256 Use 64-bit epoch values in the time zone file parser.
14257 * include/time.h (internal_time_t): Define.
14258 (__tzfile_compute): Use it.
14259 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14260 member.
14261 (transitions): Switch to internal_time_t.
14262 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14263 types.
14264 (__tzfile_compute): Use internal_time_t for timer argument. Check
14265 for truncation before calling __offtime.
14266
89aacb51
FW
142672018-05-11 Florian Weimer <fweimer@redhat.com>
14268
14269 [BZ #23166]
14270 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14271 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14272 Likewise.
14273 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14274 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14275 export without --enable-obsolete-rpc.
14276 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14277 symbol. This should not have been exported, ever.
14278
bb066cb8
RL
142792018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14280
14281 [BZ #23152]
14282 * localedata/locales/gd_GB (abmon): Fix typo in May:
14283 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14284
70c97f84
SP
142852018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14286
db725a45
SP
14287 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14288 Use multiple registers to copy data in loop tail.
14289
70c97f84
SP
14290 * sysdeps/aarch64/multiarch/memmove_falkor.S
14291 (__memmove_falkor): Use multiple registers to move data in
14292 loop tail.
14293
8f5b00d3
JM
142942018-05-10 Joseph Myers <joseph@codesourcery.com>
14295
14296 * math/math-underflow.h: New file.
14297 * sysdeps/generic/math_private.h: Do not include <float.h>.
14298 (fabs_tg): Remove macro. Moved to math-underflow.h.
14299 (min_of_type_f): Likewise.
14300 (min_of_type_): Likewise.
14301 (min_of_type_l): Likewise.
14302 (min_of_type_f128): Likewise.
14303 (min_of_type): Likewise.
14304 (math_check_force_underflow): Likewise.
14305 (math_check_force_underflow_nonneg): Likewise.
14306 (math_check_force_underflow_complex): Likewise.
14307 * math/e_exp2_template.c: Include <math-underflow.h>.
14308 * math/k_casinh_template.c: Likewise.
14309 * math/s_catan_template.c: Likewise.
14310 * math/s_catanh_template.c: Likewise.
14311 * math/s_ccosh_template.c: Likewise.
14312 * math/s_cexp_template.c: Likewise.
14313 * math/s_clog10_template.c: Likewise.
14314 * math/s_clog_template.c: Likewise.
14315 * math/s_csin_template.c: Likewise.
14316 * math/s_csinh_template.c: Likewise.
14317 * math/s_csqrt_template.c: Likewise.
14318 * math/s_ctan_template.c: Likewise.
14319 * math/s_ctanh_template.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14333 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14334 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14335 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14336 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14337 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14338 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14339 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14340 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14341 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14342 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14343 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14344 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14345 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14346 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14347 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14348 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14349 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14350 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14351 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14356 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14383 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14384 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14388 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14392 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14393 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14394 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14395 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14396 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14397 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14398 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14400 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14401 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14402 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14403 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14404
9ed2e15f
JM
144052018-05-09 Joseph Myers <joseph@codesourcery.com>
14406
14407 * sysdeps/generic/math-barriers.h: New file.
14408 * sysdeps/generic/math_private.h [!math_opt_barrier]
14409 (math_opt_barrier): Move to math-barriers.h.
14410 [!math_opt_barrier] (math_force_eval): Likewise.
14411 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14412 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14413 math-barriers.h.
14414 (math_force_eval): Likewise.
14415 * sysdeps/alpha/fpu/math-barriers.h: New file.
14416 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14417 math-barriers.h.
14418 (math_force_eval): Likewise.
14419 * sysdeps/x86/fpu/math-barriers.h: New file.
14420 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14421 math-barriers.h.
14422 (math_force_eval): Likewise.
14423 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14424 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14425 multiple-include guard for rename.
14426 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14427 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14428 math-barriers.h.
14429 (math_force_eval): Likewise.
14430
5460617d
PP
144312018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14432
14433 [BZ #22786]
43d4f3d5 14434 CVE-2018-11236
5460617d
PP
14435 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14436 computation.
14437 * stdlib/Makefile (test-bz22786): New test.
14438 * stdlib/test-bz22786.c: New test.
14439
aaee3cd8
JM
144402018-05-09 Joseph Myers <joseph@codesourcery.com>
14441
14442 * include/math-narrow-eval.h: New file. Contents moved from ....
14443 * sysdeps/generic/math_private.h: ... here.
14444 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14445 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14446 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14447 * stdlib/strtod_l.c: Likewise.
14448 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14449 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14450 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14452 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14454 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14456 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14457 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14458 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14459 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14460 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14461 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14462 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14463 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14464 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14465 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14466 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14467 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14468 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14469 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14470 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14471 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14472 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14473 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14474 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14475 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14476 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14477
0555c477
AS
144782018-05-08 Andreas Schwab <schwab@suse.de>
14479
14480 * sysdeps/nptl/internaltypes.h: Fix comment.
14481
50d7d351
L
144822018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14483
14484 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14485 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14486 hidden.
14487
543477f7
SP
144882018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14489
14490 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14491 of I into loop header.
14492 * benchtests/bench-memmove-walk.c
14493 (test_main): Likewise.
14494
144952018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14496
14497 Revert:
14498 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14499 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14500
0065aaaa
PP
145012018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14502
14503 [BZ #20419]
14504 * elf/dl-load.c (open_verify): Fix stack overflow.
14505 * elf/Makefile (tst-big-note): New test.
14506 * elf/tst-big-note-lib.S: New.
14507 * elf/tst-big-note.c: New.
14508
b289cd9d
JM
145092018-05-04 Joseph Myers <joseph@codesourcery.com>
14510
14511 * scripts/abilist.awk: Ignore absolute symbols.
14512 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14513 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14514 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14515 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14516 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14517 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14518 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14519 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14520 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14521 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14522 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14523 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14525 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14526 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14532 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14604 Likewise.
14605 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14618 Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14641 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14642 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14646 Likewise.
14647 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14662 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14663 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14667 Likewise.
14668 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14700 Likewise.
14701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14706 Likewise.
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14708 Likewise.
14709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14711 Likewise.
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14714 Likewise.
14715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14716 Likewise.
14717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14720 Likewise.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14722 Likewise.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14724 Likewise.
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14729 Likewise.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14736 Likewise.
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14739 Likewise.
14740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14741 Likewise.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14743 Likewise.
14744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14745 Likewise.
14746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14749 Likewise.
14750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14751 Likewise.
14752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14753 Likewise.
14754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14757 Likewise.
14758 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14765 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14772 Likewise.
14773 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14785 Likewise.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14806 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14807 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14811 Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14820 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14821 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14825 Likewise.
14826 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14859 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14860 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14861 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14862 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14863 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14864
16609018
SL
148652018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14866
14867 [BZ #23137]
14868 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14869 Use atomic_load_acquire to load __tid.
14870
556f5c46
L
148712018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14872
14873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14874 Restore the pointer into %rdx, after syscall and use %rdx,
14875 instead of %rsi, to restore context.
14876
8b8f32b2
L
148772018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14878
14879 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14880 Pop the pointer into %rdx after syscall and use %rdx, instead
14881 of %rsi, to restore context.
14882
d6cc1829
L
148832018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14884
14885 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14886 handlers after setjmp.
14887 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14888 defined.
14889 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14890 <libc-pointer-arith.h>.
14891 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14892 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14893 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14894 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14895 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14896 * sysdeps/x86/__longjmp_cancel.S: New file.
14897 * sysdeps/x86/longjmp.c: Likewise.
14898 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14899
cf2478d5
AZ
149002018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14901
14902 * NEWS: Add ustat.h deprecation entry.
14903 * bits/ustat.h: Remove file.
14904 * misc/sys/ustat.h: Likewise.
14905 * misc/ustat.h: Likewise.
14906 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14907 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14908 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14909 compatibility mode.
14910 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14911 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14912 generic Linux implementation.
14913
dc115e1c
TMQMF
149142018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14915
14916 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14917 * math/w_expl_compat.c: Likewise.
14918 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14919
6b5c8607 149202018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14921
14922 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14923
c57bf7c1
AZ
149242018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14925
14926 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14927 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14928 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14929 Remove.
14930 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14932 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14933 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14934 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14935 and SYSCALL_LL64.
14936
06135c33
TMQMF
149372018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14938
33927914
TMQMF
14939 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14940
06135c33
TMQMF
14941 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14942 * math/w_asin_template.c: Likewise.
14943 * math/w_atanh_template.c: Likewise.
14944
3a33b069
GG
149452018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14946
14947 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14948 to powerpc/powerpc64/be for big-endian.
14949 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14950 little-endian.
14951
14952 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14953 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14954 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14955 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14956 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14957 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14958 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14959 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14960 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14961 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14962 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14963 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14964 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14965 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14966 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14967 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14968 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14969 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14970 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14971 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14972 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14973 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14974 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14975 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14976 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14977 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14978 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14979 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14980 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14981 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14982 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14983 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14984
14985 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14986 adjusted to imply powerpc64 and older processors on powerpc64/be.
14987 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14988 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14989 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14990 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14991 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14992 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14993 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14994 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14995 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14996 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14997 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14998 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14999 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
15000 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
15001 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
15002 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
15003 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
15004 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15005 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15006 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15007 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15008 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15009 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15010 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15011 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15012 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15013 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15014 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15015 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15016 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15017 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15018
15019 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15020 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15021 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15022 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15023
15024 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15025 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15026 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15027 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15028
15029 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15030 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15031 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15032 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15033 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15034 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15035 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15036 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15037 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15038 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15039 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15040
15041 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15042 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15043 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15044 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15045 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15046 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15047 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15048 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15049 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15050 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15051 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15052
15053 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15054 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15055 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15056 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15057 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15058 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15059 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15060 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15061 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15062 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15063 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15064 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15065
15066 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15067 and adjusted to imply olders processors.
15068 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15069 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15070 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15071 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15072 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15073 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15074 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15075 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15076 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15077 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15078 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15079
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15081 powerpc64/le.
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15084
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15086 powerpc64le.
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15089
15090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15091 powerpc64/be.
15092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15095
15096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15097 powerpc64 and adjusted.
15098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15101 Likewise.
15102
a3fb6b6b
JM
151032018-04-27 Joseph Myers <joseph@codesourcery.com>
15104
15105 * sysdeps/tile: Remove.
15106 * sysdeps/unix/sysv/linux/tile: Likewise.
15107 * README (tilegx-*-linux-gnu): Remove from list of supported
15108 configurations.
15109 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15110 contribution of support for generic Linux kernel syscall
15111 interface.
15112 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15113 tilegx configurations.
15114 (Config.install_linux_headers): Do not handle tile.
15115 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15116 in comment.
15117 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15118 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15119 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15120 conditional undefine and redefine.
15121 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15122 in comment.
15123 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15124 conditional undefine and redefine.
15125
7a6f7478
AJ
151262018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15127
15128 * signal/tst-sigaction.c: New file to test BZ #23069.
15129 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15130
81b49e96
TMQMF
151312018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15132
15133 [BZ #22766]
15134 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15135 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15136 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15137 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15138
7d80f48e
AZ
151392018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15140
15141 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15142 _DIRENT_MATCHES_DIRENT64 is not defined.
15143 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15144 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15145 is defined.
15146 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15147 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15148
42a2bf58
JM
151492018-04-25 Joseph Myers <joseph@codesourcery.com>
15150
15151 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15152 version to GCC 8 branch.
15153
9320ca88
JM
151542018-04-24 Joseph Myers <joseph@codesourcery.com>
15155
5e14bb97
JM
15156 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15157 (check_no_hidden): Use type of original function when declaring
15158 alias.
15159
9320ca88
JM
15160 * sysdeps/unix/sysv/linux/sys/ptrace.h
15161 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15162 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15163 (struct __ptrace_seccomp_metadata): New type.
15164 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15165 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15166 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15167 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15168 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15169 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15170 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15171 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15172 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15173 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15174 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15175 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15176 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15177 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15178 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15179 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15180
af7e376b
AZ
151812018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15182
15183 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15184 defined.
15185 * dirent/versionsort.c (versionsort): Likewise.
15186 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15187 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15188 * dirent/versionsort64.c (versionsort64): Likewise.
15189 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15190 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15191 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15192 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15193 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15194 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15195 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15196 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15197 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15198 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15201 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15202 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15203
da5e0361
JM
152042018-04-23 Joseph Myers <joseph@codesourcery.com>
15205
15206 * elf/elf.h (NT_PPC_PKEY): New macro.
15207
6b5c8607 152082018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15209
15210 [BZ #23094]
15211 * localedata/locales/hr_HR: fix thousands_sep and
15212 mon_thousands_sep
15213
573963e3
JM
152142018-04-20 Joseph Myers <joseph@codesourcery.com>
15215
15216 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15217 (XTABS): Define to TAB3.
15218
c0123b3b
AZ
152192018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15220
0900a849
AZ
15221 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15222
c0123b3b
AZ
15223 * dirent/scandir-tail-common.c: New file.
15224 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15225 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15226 * dirent/scandir.c: Use scandir-tail-common.c.
15227 * dirent/scandirat.c: Likewise.
15228 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15229 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15230 if _DIRENT_MATCHES_DIRENT64 is defined.
15231 * dirent/scandirat64.c (scandirat64): Likewise.
15232 * include/dirent.h (__scandir_tail): Only define iff
15233 _DIRENT_MATCHES_DIRENT64 is not defined.
15234 (__scandir64_tail): Define regardless.
15235 (__scandirat, scandirat64): Remove libc_hidden_proto.
15236 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15237 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15239 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15241 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15242 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15243
458b94f6
JM
152442018-04-20 Joseph Myers <joseph@codesourcery.com>
15245
15246 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15247 New macro.
15248 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15249 Increase to 24.
15250 (_dl_aarch64_cap_flags): Add asimdfhm.
15251
9f0437e8
CLT
152522018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15253
15254 * sysdeps/nios2/libm-test-ulps: Update.
15255
298d0e31
AZ
152562018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15257
50511ca4
AZ
15258 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15259 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15260
298d0e31
AZ
15261 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15262 requirements.
6b5c8607 15263 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15264 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15265 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15266 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15267 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15268 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15269 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15270 use getdents64 syscalls as base.
15271 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15272 symbol if required.
15273 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15274 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15275 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15276 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15277 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15278 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15279 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15280 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15281 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15282 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15283 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15284
0085be14
SL
152852018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15286
15287 * scripts/test_printers_common.py (init_test): Disable lock elision.
15288
da796524
SL
152892018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15290
15291 * math/test-tgmath.c (count_double, count_float,
15292 count_ldouble, count_cdouble, count_cfloat,
15293 count_cldouble): Use volatile int.
15294
0dd25301
ST
152952018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15296
15297 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15298 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15299 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15300 i386-gnu.
15301 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15302 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15303 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15304 msqid_ds.msg_lrpid): Likewise.
15305 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15306 Likewise.
15307 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15308 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15309 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15310 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15311 unsigned int.
15312 (struct statvfs64): Likewise.
f55a4fde
ST
15313 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15314 Likewise.
77b93390
ST
15315 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15316 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15317 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15318 instead of wait_queue.
15319 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15320 instead of vm_area_struct.
5cd2931a
ST
15321 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15322 struct sched_param definition to it.
e60c3f2b
ST
15323 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15324 * bits/types/struct_sched_param.h: New file.
15325 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15326 <bits/types/struct_sched_param.h> instead of <sched.h>.
15327 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15328 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15329 generic version but include <bits/pthreadtypes.h> to make struct
15330 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15331 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15332 non-compliant.
a564872d
ST
15333 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15334 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15335 [__USE_XOPEN] (OFDEL): New macro.
15336 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15337 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15338 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15339 prototypes.
15340 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15341 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15342 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15343 non-compliant.
15344 * sysdeps/i386/sys/ucontext.h: Likewise.
15345 * sysdeps/m68k/sys/ucontext.h: Likewise.
15346 * sysdeps/mips/sys/ucontext.h: Likewise.
15347 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15348 * sysdeps/mach/hurd/i386/Makefile
15349 (test-xfail-POSIX/fcntl.h/conform): Add.
15350 (test-xfail-POSIX/signal.h/conform): Add.
15351 (test-xfail-POSIX/semaphore.h/conform): Add.
15352 (test-xfail-POSIX/regex.h/conform): Add.
15353 (test-xfail-POSIX/aio.h/conform): Add.
15354 (test-xfail-POSIX/mqueue.h/conform): Add.
15355 (test-xfail-POSIX/sys/types.h/conform): Add.
15356 (test-xfail-UNIX98/fcntl.h/conform): Add.
15357 (test-xfail-UNIX98/netdb.h/conform): Add.
15358 (test-xfail-UNIX98/signal.h/conform): Add.
15359 (test-xfail-UNIX98/semaphore.h/conform): Add.
15360 (test-xfail-UNIX98/regex.h/conform): Add.
15361 (test-xfail-UNIX98/aio.h/conform): Add.
15362 (test-xfail-UNIX98/ftw.h/conform): Add.
15363 (test-xfail-UNIX98/mqueue.h/conform): Add.
15364 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15365 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15366 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15367 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15368 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15369 (test-xfail-UNIX98/sys/types.h/conform): Add.
15370 (test-xfail-UNIX98/stdlib.h/conform): Add.
15371 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15372 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15373 (test-xfail-POSIX2008/netdb.h/conform): Add.
15374 (test-xfail-POSIX2008/signal.h/conform): Add.
15375 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15376 (test-xfail-POSIX2008/regex.h/conform): Add.
15377 (test-xfail-POSIX2008/aio.h/conform): Add.
15378 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15379 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15380 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15381 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15382 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15383 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15384 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15385 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15386 (test-xfail-XOPEN2K/signal.h/conform): Add.
15387 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15388 (test-xfail-XOPEN2K/regex.h/conform): Add.
15389 (test-xfail-XOPEN2K/aio.h/conform): Add.
15390 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15391 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15392 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15393 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15394 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15395 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15396 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15397 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15398 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15399 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15400 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15401 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15402 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15403 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15404 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15405 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15406 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15407 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15408 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15409 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15410 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15411 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15412 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15413 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15414 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15415 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15416 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15417 i386-gnu.
15418 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15419 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15420
d6397de3
JM
154212018-04-18 Joseph Myers <joseph@codesourcery.com>
15422
15423 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15424 --enable-obsolete for powerpc-linux-gnuspe.
15425
8323a902
ST
154262018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15427
3dc0814c 15428 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15429 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15430 prototypes.
c5896a45
ST
15431 * sysdeps/mach/include/mach.h: Likewise.
15432 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15433 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15434
743b9c2a
AZ
154352018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15436
15437 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15438 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15439 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15440 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15441
326e74e7
AS
154422018-04-16 Andreas Schwab <schwab@suse.de>
15443
15444 [BZ #19527]
15445 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15446
6b5c8607 154472018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15448
15449 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15450 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15451
a700e7cb
DD
154522018-04-12 DJ Delorie <dj@redhat.com>
15453
15454 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15455 version to 4.16.
15456
d8abfab7
SL
154572018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15458
15459 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15460 (struct kernel_sigaction): Use the same definition on 31bit as is used
15461 on 64bit.
15462
583a27d5
FW
154632018-04-09 Florian Weimer <fweimer@redhat.com>
15464
15465 [BZ #23037]
15466 * resolv/res_send.c (send_dg): Use designated initializers instead
15467 of assignment to zero-initialize other fields of struct mmsghdr.
15468
243f59e5
AZ
154692018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15470
942de61a
AZ
15471 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15472 __READDIR_ALIAS): Undefine after usage.
15473 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15474 __READDIR_R_ALIAS): Likewise.
15475 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15476 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15477 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15478 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15479 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15480 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15481 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15482 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15483 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15484 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15485 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15486 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15487 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15488 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15489 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15490 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15491 * sysdeps/unix/sysv/linux/readdir.c: New file.
15492 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15493 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15494 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15495
243f59e5
AZ
15496 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15497
690c3475
AS
154982018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15499
15500 * manual/charset.texi (Converting a Character): Fix typo.
15501
6b5c8607 155022018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15503
bbc2062a
AZ
15504 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15505
fa7c6199
AZ
15506 * sysdeps/arm/libm-test-ulps: Update.
15507
b4a5d26d
AZ
15508 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15509 as base implementation.
15510 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15511 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15512 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15513 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15514 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15515 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15516 remove unrequired definitions and update comments.
15517 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15518 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15519 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15520 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15521 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15522 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15523 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15524 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15525 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15526 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15527 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15528 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15529 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15530 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15531 and RESET_SA_RESTORER hooks.
15532
db9e55ff
SL
155332018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15534
15535 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15536
cf138b0c
FW
155372018-04-05 Florian Weimer <fweimer@redhat.com>
15538
15539 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15540 integer overflow, memory leak on error, and indeterminate errno
15541 value. Add a null wide character to terminate the result string.
15542 * manual/charset.texi (Converting a Character): Mention embedded
15543 null bytes in the mbrtowc input string. Explain what happens in
15544 the -2 result case. Do not claim that mbrtowc is simple or
15545 obvious to use. Adjust the description of the code example. Use
15546 @code, not @var, for concrete variables.
15547
0f339252
FW
155482018-04-05 Florian Weimer <fweimer@redhat.com>
15549
15550 * manual/examples/mbstouwcs.c: New file.
15551 * manual/charset.texi (Converting a Character): Include it.
15552
e5f9508a
ST
155532018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15554
c120981d
ST
15555 * include/dirent.h (dirfd): Add hidden proto.
15556 * dirent/dirfd.c (dirfd): Add hidden def.
15557 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15558 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15559
b2fd61ca
TMQMF
155602018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15561
15562 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15563 sin, cos and sincos to 1 ULP.
15564
10a446dd
MR
155652018-04-04 Maciej W. Rozycki <macro@mips.com>
15566
e7feec37
MR
15567 [BZ #19818]
15568 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15569 symbols.
15570 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15571 * elf/tst-absolute-sym.c: New file.
15572 * elf/tst-absolute-sym-lib.c: New file.
15573 * elf/tst-absolute-sym-lib.lds: New file.
15574 * elf/Makefile (tests): Add `tst-absolute-sym'.
15575 (modules-names): Add `tst-absolute-sym-lib'.
15576 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15577 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15578 ($(objpfx)tst-absolute-sym): New dependency.
15579
10a446dd
MR
15580 [BZ #19818]
15581 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15582 parameter.
15583 (SYMBOL_ADDRESS): New macro.
15584 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15585 SYMBOL_ADDRESS for symbol address calculation.
15586 * elf/dl-runtime.c (_dl_fixup): Likewise.
15587 (_dl_profile_fixup): Likewise.
15588 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15589 * elf/rtld.c (dl_main): Likewise.
15590 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15591 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15592 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15593 (elf_machine_rela): Likewise.
15594 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15595 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15596 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15597 (elf_machine_rela): Likewise.
15598 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15599 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15600 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15601 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15602 Likewise.
15603 (elf_machine_reloc): Likewise.
15604 (elf_machine_got_rel): Likewise.
15605 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15606 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15607 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15608 Likewise.
15609 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15610 Likewise.
15611 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15612 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15613 Likewise.
15614 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15615 Likewise.
15616 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15617 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15618 Likewise.
15619 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15620 Likewise.
15621 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15622 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15623
9185f86d
ZW
156242018-04-04 Zack Weinberg <zackw@panix.com>
15625
15626 * sysdeps/generic/internal-signals.h: Include signal.h,
15627 sigsetops.h, and stdbool.h.
15628 (__libc_signal_block_all): Actually block all signals.
15629 (__libc_signal_block_app): Likewise.
15630 (__libc_signal_restore_set): Actually restore the signal mask.
15631
b07367bc
FW
156322018-04-04 Florian Weimer <fweimer@redhat.com>
15633
15634 inet: Actually build and run tst-deadline.
15635 * inet/Makefile (tests-internal): Add tst-deadline and do not
15636 overwrite the variable.
15637 (tests-static-internal): Remove variable.
15638
f2652643
L
156392018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15640
15641 [BZ #22947]
15642 * bits/uio-ext.h (RWF_APPEND): New.
15643 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15644 * manual/llio.texi: Document RWF_APPEND.
15645 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15646 (RWF_SUPPORTED): Add RWF_APPEND.
15647
6b5c8607 156482018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15649
15650 [BZ #22391]
15651 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15652 check for internal nptl signals.
15653 * nptl/sigaction.c (__sigaction): Likewise.
15654 * signal/sigaddset.c (sigaddset): Likewise.
15655 * signal/sigdelset.c (sigdelset): Likewise.
15656 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15657 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15658 value.
15659 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15660 to filter out internal nptl signals.
15661 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15662 also check realtime signals using standard macros.
15663 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15664 __is_internal_signal, __libc_signal_block_all,
15665 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15666 * sysdeps/nptl/sigfillset.c: Remove file.
15667 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15668 Change return to bool.
15669 (__clear_internal_signals): Remove SIGTIMER clean since it is
15670 equal to SIGCANEL on Linux.
15671 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15672 signal set was constructed using standard functions.
15673
511ed56f
ST
156742018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15675
92846492
ST
15676 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15677 ifname is too long.
e8ef51b1
ST
15678 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15679 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15680 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15681 hidden def.
15682 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15683 * signal/sigaddset.c: Include <sigsetopts.h>.
15684 * signal/sigdelset.c: Likewise.
511ed56f 15685
e88ecbbf
WD
156862018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15687
15688 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15689 (__cos): Likewise.
15690 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15691 logic as sin and cos.
15692
aef3e255
WD
156932018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15694
15695 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15696 inputs. Return correct sign.
15697 (do_sincos): Remove small input check before do_sin, let do_sin set
15698 the sign.
15699 (__sin): Likewise.
15700 (__cos): Likewise.
15701
72f6e9a3
WD
157022018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15703
15704 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15705 (do_cos_slow): Likewise.
15706 (do_sin_slow): Likewise.
15707 (reduce_and_compute): Likewise.
15708 (slow): Likewise.
15709 (slow1): Likewise.
15710 (slow2): Likewise.
15711 (sloww): Likewise.
15712 (sloww1): Likewise.
15713 (sloww2): Likewise.
15714 (bslow): Likewise.
15715 (bslow1): Likewise.
15716 (bslow2): Likewise.
15717 (cslow2): Likewise.
15718
64909583
WD
157192018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15720
15721 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15722 (do_cos): Remove corp parameter and calculations.
15723 (do_sin): Likewise.
15724 (do_sincos): Remove cor variable.
15725 (__sin): Use do_sincos for huge inputs.
15726 (__cos): Likewise.
15727 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15728 (reduce_and_compute_sincos): Remove unused function.
15729
d9469deb
WD
157302018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15731
15732 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15733 reduce_sincos, improve accuracy to 136 bits.
15734 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15735 (__sin): Use improved reduction and simplified do_sincos calculation.
15736 (__cos): Likewise.
15737 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15738
7a5640f2
WD
157392018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15740
15741 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15742 (do_sincos_2): Likewise.
15743 (__sin): Remove middle range reduction case.
15744 (__cos): Likewise.
15745 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15746 reduction case.
15747
19a8b9a3
WD
157482018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15749
15750 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15751 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15752 inputs.
15753 (__cos): Likewise.
15754 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15755
f72aa11d
JM
157562018-04-03 Joseph Myers <joseph@codesourcery.com>
15757
15758 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15759 version to 4.16
f72aa11d 15760
8e4754ed
AZ
157612018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15762
15763 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15764 Remove definitions.
15765 (opendir_oflags): Use O_DIRECTORY regardless.
15766 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15767 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15768
8e2666ea
ST
157692018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15770
15771 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15772 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15773 macros.
15774 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15775 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15776 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15777 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15778 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15779 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15780
ad2b41bf
ST
15781 * htl/Makefile: Bump licence to LGPL 2.1+.
15782 * htl/alloca_cutoff.c: Likewise.
15783 * htl/cthreads-compat.c: Likewise.
15784 * htl/lockfile.c: Likewise.
15785 * htl/pt-alloc.c: Likewise.
15786 * htl/pt-cancel.c: Likewise.
15787 * htl/pt-cleanup.c: Likewise.
15788 * htl/pt-create.c: Likewise.
15789 * htl/pt-dealloc.c: Likewise.
15790 * htl/pt-detach.c: Likewise.
15791 * htl/pt-exit.c: Likewise.
15792 * htl/pt-getattr.c: Likewise.
15793 * htl/pt-initialize.c: Likewise.
15794 * htl/pt-internal.h: Likewise.
15795 * htl/pt-join.c: Likewise.
15796 * htl/pt-self.c: Likewise.
15797 * htl/pt-setcancelstate.c: Likewise.
15798 * htl/pt-setcanceltype.c: Likewise.
15799 * htl/pt-sigmask.c: Likewise.
15800 * htl/pt-spin-inlines.c: Likewise.
15801 * htl/pt-testcancel.c: Likewise.
15802 * htl/pt-yield.c: Likewise.
15803 * htl/tests/test-1.c: Likewise.
15804 * htl/tests/test-10.c: Likewise.
15805 * htl/tests/test-11.c: Likewise.
15806 * htl/tests/test-12.c: Likewise.
15807 * htl/tests/test-13.c: Likewise.
15808 * htl/tests/test-14.c: Likewise.
15809 * htl/tests/test-15.c: Likewise.
15810 * htl/tests/test-16.c: Likewise.
15811 * htl/tests/test-17.c: Likewise.
15812 * htl/tests/test-2.c: Likewise.
15813 * htl/tests/test-3.c: Likewise.
15814 * htl/tests/test-4.c: Likewise.
15815 * htl/tests/test-5.c: Likewise.
15816 * htl/tests/test-6.c: Likewise.
15817 * htl/tests/test-7.c: Likewise.
15818 * htl/tests/test-8.c: Likewise.
15819 * htl/tests/test-9.c: Likewise.
15820 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15821 * sysdeps/htl/bits/cancelation.h: Likewise.
15822 * sysdeps/htl/bits/pthread-np.h: Likewise.
15823 * sysdeps/htl/bits/pthread.h: Likewise.
15824 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15825 * sysdeps/htl/bits/semaphore.h: Likewise.
15826 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15827 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15828 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15829 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15830 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15831 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15832 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15833 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15834 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15835 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15836 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15837 * sysdeps/htl/old_pt-atfork.c: Likewise.
15838 * sysdeps/htl/pt-atfork.c: Likewise.
15839 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15840 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15841 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15842 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15843 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15844 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15845 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15846 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15847 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15848 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15849 * sysdeps/htl/pt-attr-init.c: Likewise.
15850 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15851 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15852 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15853 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15854 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15855 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15856 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15857 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15858 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15859 * sysdeps/htl/pt-attr.c: Likewise.
15860 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15861 * sysdeps/htl/pt-barrier-init.c: Likewise.
15862 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15863 * sysdeps/htl/pt-barrier.c: Likewise.
15864 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15865 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15866 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15867 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15868 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15869 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15870 * sysdeps/htl/pt-cond-init.c: Likewise.
15871 * sysdeps/htl/pt-cond-signal.c: Likewise.
15872 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15873 * sysdeps/htl/pt-cond-wait.c: Likewise.
15874 * sysdeps/htl/pt-cond.c: Likewise.
15875 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15876 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15877 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15878 * sysdeps/htl/pt-condattr-init.c: Likewise.
15879 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15880 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15881 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15882 * sysdeps/htl/pt-equal.c: Likewise.
15883 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15884 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15885 * sysdeps/htl/pt-getschedparam.c: Likewise.
15886 * sysdeps/htl/pt-getspecific.c: Likewise.
15887 * sysdeps/htl/pt-init-specific.c: Likewise.
15888 * sysdeps/htl/pt-key-create.c: Likewise.
15889 * sysdeps/htl/pt-key-delete.c: Likewise.
15890 * sysdeps/htl/pt-key.h: Likewise.
15891 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15892 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15893 * sysdeps/htl/pt-mutex-init.c: Likewise.
15894 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15895 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15896 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15897 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15898 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15899 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15900 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15901 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15902 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15903 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15904 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15905 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15906 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15907 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15908 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15909 * sysdeps/htl/pt-mutexattr.c: Likewise.
15910 * sysdeps/htl/pt-once.c: Likewise.
15911 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15912 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15913 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15914 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15915 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15916 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15917 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15918 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15919 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15920 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15921 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15922 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15923 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15924 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15925 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15926 * sysdeps/htl/pt-setschedparam.c: Likewise.
15927 * sysdeps/htl/pt-setschedprio.c: Likewise.
15928 * sysdeps/htl/pt-setspecific.c: Likewise.
15929 * sysdeps/htl/pt-spin.c: Likewise.
15930 * sysdeps/htl/pt-startup.c: Likewise.
15931 * sysdeps/htl/pthread.h: Likewise.
15932 * sysdeps/htl/sem-close.c: Likewise.
15933 * sysdeps/htl/sem-destroy.c: Likewise.
15934 * sysdeps/htl/sem-getvalue.c: Likewise.
15935 * sysdeps/htl/sem-init.c: Likewise.
15936 * sysdeps/htl/sem-open.c: Likewise.
15937 * sysdeps/htl/sem-post.c: Likewise.
15938 * sysdeps/htl/sem-timedwait.c: Likewise.
15939 * sysdeps/htl/sem-trywait.c: Likewise.
15940 * sysdeps/htl/sem-unlink.c: Likewise.
15941 * sysdeps/htl/sem-wait.c: Likewise.
15942 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15943 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15944 * sysdeps/mach/htl/pt-block.c: Likewise.
15945 * sysdeps/mach/htl/pt-spin.c: Likewise.
15946 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15947 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15948 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15949 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15950 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15951 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15952 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15953 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15954 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15955 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15956 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15957 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15958 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15959 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15960 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15961 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15962 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15963 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15964 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15965 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15966 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15967 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15968 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15969 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15970 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15971 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15972 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15973 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15974 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15975 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15976 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15977 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15978 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15979 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15980 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15981 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15982 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15983 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15984 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15985 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15986 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15987 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15988 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15989
fb03b04b
ST
15990 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15991 * README: Remove the mention of out-of-tree patches needed for
15992 GNU/Hurd.
15993
fa9e1555
ST
15994 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15995 (UTIME_NOW, UTIME_OMIT): Define macros.
15996
f6fb29d2
ST
15997 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15998 instead of pthread_detach.
15999 (__cthread_fork): Call __pthread_create instead of pthread_create.
16000 (__cthread_keycreate): Call __pthread_key_create instead of
16001 pthread_key_create.
16002 (__cthread_getspecific): Call __pthread_getspecific instead of
16003 pthread_getspecific.
16004 (__cthread_setspecific): Call __pthread_setspecific instead of
16005 pthread_setspecific.
16006 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16007 __pthread_mutex_unlock instead of pthread_mutex_lock and
16008 pthread_mutex_unlock.
16009 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16010 ___pthread_get_cleanup_stack.
16011 (__pthread_get_cleanup_stack): New strong alias.
16012 * htl/pt-create.c: Include <pthreadP.h>.
16013 (entry_point): Call __pthread_exit instead of pthread_exit.
16014 (pthread_create): Rename to __pthread_create.
16015 (pthread_create): New strong alias.
16016 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16017 (pthread_detach): New strong alias.
16018 (__pthread_detach): Call __pthread_cond_broadcast instead of
16019 pthread_cond_broadcast.
fe9748cc
ST
16020 * htl/pt-exit.c: Include <pthreadP.h>.
16021 (__pthread_exit): Call __pthread_setcancelstate and
16022 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16023 __pthread_get_cleanup_stack.
f6fb29d2
ST
16024 * htl/pt-testcancel.c: Include <pthreadP.h>.
16025 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16026 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16027 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16028 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16029 pthread_attr_getstacksize.
16030 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16031 Rename to __pthread_attr_getstackaddr.
16032 (pthread_attr_getstackaddr): New strong alias.
16033 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16034 Rename to __pthread_attr_getstacksize.
16035 (pthread_attr_getstacksize): New strong alias.
16036 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16037 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16038 (pthread_attr_setstack): New strong alias.
16039 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16040 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16041 pthread_attr_getstacksize, pthread_attr_setstacksize and
16042 pthread_attr_setstackaddr.
16043 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16044 Rename to __pthread_attr_setstackaddr.
16045 (pthread_attr_setstackaddr): New strong alias.
16046 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16047 Rename to __pthread_attr_setstacksize.
16048 (pthread_attr_setstacksize): New strong alias.
16049 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16050 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16051 pthread_exit.
16052 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16053 (__pthread_key_create): New hidden def.
16054 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16055 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16056 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16057 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16058 __pthread_setspecific, __pthread_setcancelstate,
16059 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16060 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16061 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16062 declarations.
16063 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16064 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16065 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16066 (pthread_attr_setstackaddr): New strong alias.
16067 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16068 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16069 (pthread_attr_setstacksize): New strong alias.
16070 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16071 (call_exit): Call __pthread_exit instead of pthread_exit.
16072 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16073 (_pthread_mutex_init): New hidden definition.
16074 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16075 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16076 instead of pthread_attr_init and pthread_attr_setstack.
16077
dba2bdbe
ST
16078 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16079 __vm_deallocate instead of vm_allocate and vm_deallocate.
16080 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16081 setenv.
16082 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16083 of geteuid.
16084 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16085 strdup.
16086 * hurd/siginfo.c: Include <libioP.h>.
16087 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16088 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16089 munmap.
dba2bdbe
ST
16090 * mach/devstream.c: Include <libioP.h>.
16091 (dealloc_ref): Call __mach_port_deallocate instead of
16092 mach_port_deallocate.
16093 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16094 Call __mach_port_deallocate instead of mach_port_deallocate.
16095 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16096 pathconf.
16097 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16098 munmap.
16099 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16100 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16101 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16102 of munmap.
16103 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16104 of close.
16105 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16106 instead of sysconf.
16107 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16108 __clock_gettime instead of clock_gettime.
16109 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16110 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16111 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16112 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16113 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16114 tcgetattr.
16115 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16116 __clock_gettime and __nanosleep instead of clock_gettime and
16117 nanosleep.
7a8f45e3
ST
16118 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16119 __hurd_catch_signal.
16120 (hurd_catch_signal): New strong alias.
16121 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16122 __hurd_catch_signal instead of hurd_catch_signal.
16123 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16124 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16125 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16126 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16127 (_hurd_thread_sigstate): Add hidden def.
16128 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16129 mutex_unlock.
16130 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16131 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16132 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16133 __hurd_file_name_path_lookup.
16134 (hurd_file_name_path_lookup): New strong alias.
16135 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16136 hurd_file_name_path_lookup.
16137 * mach/errstring.c (mach_error_type): Add hidden def.
16138 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16139 * mach/mutex-init.c (__mutex_init): Add hidden def.
16140 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16141 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16142 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16143 * sysdeps/mach/hurd/getcwd.c
16144 (_hurd_canonicalize_directory_name_internal): Rename to
16145 __hurd_canonicalize_directory_name_internal.
16146 (_hurd_canonicalize_directory_name_internal): New strong alias.
16147 (__canonicalize_directory_name_internal, __getcwd): Call
16148 __hurd_canonicalize_directory_name_internal instead of
16149 _hurd_canonicalize_directory_name_internal.
16150 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16151 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16152 hidden defs.
16153 * sysdeps/hurd/include/hurd.h: New file.
16154 * sysdeps/hurd/include/hurd/fd.h: New file.
16155 * sysdeps/hurd/include/hurd/signal.h: New file.
16156 * sysdeps/mach/include/lock-intern.h: New file.
16157 * sysdeps/mach/include/mach.h: New file.
16158 * sysdeps/mach/include/mach/mig_support.h: New file.
16159 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16160 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16161 prototype.
16162 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16163 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16164 _HEADER_H_HIDDEN_DEF macro.
16165 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16166 _hurd_fd_error_signal): Add hidden prototype.
16167 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16168 hidden def.
82dbf555
ST
16169 * libio/iolibio.h (_IO_puts): New hidden prototype.
16170 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16171 * sysdeps/mach/hurd/localplt.data: New file.
16172
33574c17 161732018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16174 Amos Jeffries <squid3@treenet.co.nz>
16175 David Michael <fedora.dm0@gmail.com>
16176 Marco Gerards <marco@gnu.org>
16177 Marcus Brinkmann <marcus@gnu.org>
16178 Neal H. Walfield <neal@gnu.org>
16179 Pino Toscano <toscano.pino@tiscali.it>
16180 Richard Braun <rbraun@sceen.net>
16181 Roland McGrath <roland@gnu.org>
16182 Samuel Thibault <samuel.thibault@ens-lyon.org>
16183 Thomas DiModica <ricinwich@yahoo.com>
16184 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16185
16186 * htl: New directory.
16187 * sysdeps/htl: New directory.
16188 * sysdeps/hurd/htl: New directory.
16189 * sysdeps/i386/htl: New directory.
16190 * sysdeps/mach/htl: New directory.
16191 * sysdeps/mach/hurd/htl: New directory.
16192 * sysdeps/mach/hurd/i386/htl: New directory.
16193 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16194 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16195 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16196
03e2aa50
ST
161972018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16198
16199 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16200 signals in thread created for runing timers.
16201
1aa52ced
FW
162022018-04-01 Florian Weimer <fweimer@redhat.com>
16203
16204 * support/support_format_addrinfo.c (support_format_addrinfo):
16205 Include unknown error number in formatted result.
16206
4d76d3e5
FW
162072018-03-29 Florian Weimer <fweimer@redhat.com>
16208
16209 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16210 capture SIGBUS.
16211
d39c0a45
AZ
162122018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16213
16214 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16215 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16216 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16217 (__ASSUME_CLONE_BACKWARDS): Define.
16218
cc8a1620
JH
162192018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16220
57408435 16221 [BZ #23024]
cc8a1620
JH
16222 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16223 early when linux sentinel value is set.
16224
8bfd94d0
ST
162252018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16226
16227 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16228
f178e59f
AS
162292018-03-27 Andreas Schwab <schwab@suse.de>
16230
16231 [BZ #23005]
16232 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16233 allocation of private copy of nsaddr_list fails.
16234
5f45f96a
JM
162352018-03-26 Joseph Myers <joseph@codesourcery.com>
16236
16237 [BZ #16552]
16238 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16239 * sysdeps/unix/sysv/linux/umount.c: ... here.
16240 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16241 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16242 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16243 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16245 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16246 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16247
3dfd23eb
AS
162482018-03-26 Andreas Schwab <schwab@suse.de>
16249
16250 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16251 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16252 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16253 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16254 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16255 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16256 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16257 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16258 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16259 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16260 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16261 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16262 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16263 (R_RISCV_NUM): Define.
16264
fa97d2ab
ST
162652018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16266
16267 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16268 TLS declaration of errno.
37be82a0
ST
16269 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16270 __libc_setup_tls.
16271 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16272 (ARCH_SETUP_TLS): Likewise.
16273 * sysdeps/mach/hurd/libc-start.h: New file copied from
16274 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16275 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16276 instead of __libc_setup_tls.
37be82a0 16277 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16278 __libc_setup_tls before initializing libpthread and running _hurd_init
16279 which starts the signal thread.
16280 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16281 Declare function.
2d813d7b 16282 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16283
b8114edd
L
162842018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16285
16286 [BZ #22998]
16287 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16288 after it is defined.
16289
cd66c0e5
AS
162902018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16291 Max Horn <max@quendi.de>
16292
16293 [BZ #22644]
43d4f3d5 16294 CVE-2017-18269
cd66c0e5
AS
16295 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16296 branch conditions.
16297 * string/test-memmove.c (do_test2): New testcase.
16298
a4406139
JM
162992018-03-22 Joseph Myers <joseph@codesourcery.com>
16300
16301 * sysdeps/generic/frame.h: Remove file.
16302 * sysdeps/arm/frame.h: Likewise.
16303 * sysdeps/hppa/frame.h: Likewise.
16304 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16305 macro.
16306 (GET_FRAME): Likewise.
16307 (GET_STACK): Likewise.
16308 (CALL_SIGHANDLER): Likewise.
16309 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16310 Likewise.
16311 (GET_FRAME): Likewise.
16312 (GET_STACK): Likewise.
16313 (CALL_SIGHANDLER): Likewise.
16314 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16315 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16316 (GET_FRAME): Likewise.
16317 (GET_STACK): Likewise.
16318 (CALL_SIGHANDLER): Likewise.
16319 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16320 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16321 (GET_FRAME): Likewise.
16322 (GET_STACK): Likewise.
16323 (ADVANCE_STACK_FRAME): Likewise.
16324 (CALL_SIGHANDLER): Likewise.
16325 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16326 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16327 (GET_FRAME): Likewise.
16328 (GET_STACK): Likewise.
16329 (CALL_SIGHANDLER): Likewise.
16330 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16331 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16332 (GET_FRAME): Likewise.
16333 (GET_STACK): Likewise.
16334 (CALL_SIGHANDLER): Likewise.
16335 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16336 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16337 (GET_FRAME): Likewise.
16338 (GET_STACK): Likewise.
16339 (CALL_SIGHANDLER): Likewise.
16340 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16341 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16342 (GET_FRAME): Likewise.
16343 (GET_STACK): Likewise.
16344 (CALL_SIGHANDLER): Likewise.
16345 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16346 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16347 (GET_FRAME): Likewise.
16348 (GET_STACK): Likewise.
16349 (CALL_SIGHANDLER): Likewise.
16350 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16351 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16352 (GET_FRAME): Likewise.
16353 (GET_STACK): Likewise.
16354 (CALL_SIGHANDLER): Likewise.
16355 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16356 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16357 (GET_FRAME): Likewise.
16358 (GET_STACK): Likewise.
16359 (CALL_SIGHANDLER): Likewise.
16360 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16361 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16362 (GET_FRAME): Likewise.
16363 (GET_STACK): Likewise.
16364 (CALL_SIGHANDLER): Likewise.
16365 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16366 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16367 (GET_FRAME): Likewise.
16368 (GET_STACK): Likewise.
16369 (CALL_SIGHANDLER): Likewise.
16370 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16371 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16372 (FIRST_FRAME_POINTER): Likewise.
16373 (ADVANCE_STACK_FRAME): Likewise.
16374 (GET_STACK): Likewise.
16375 (GET_FRAME): Likewise.
16376 (CALL_SIGHANDLER): Likewise.
16377 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16378 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16379 (ADVANCE_STACK_FRAME): Likewise.
16380 (GET_STACK): Likewise.
16381 (GET_FRAME): Likewise.
16382 (CALL_SIGHANDLER): Likewise.
16383 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16384 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16385 (GET_FRAME): Likewise.
16386 (GET_STACK): Likewise.
16387 (CALL_SIGHANDLER): Likewise.
16388 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16389 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16390 (GET_FRAME): Likewise.
16391 (GET_STACK): Likewise.
16392 (CALL_SIGHANDLER): Likewise.
16393
ffec7b27
JM
163942018-03-21 Joseph Myers <joseph@codesourcery.com>
16395
16396 * sysdeps/x86_64/backtrace.c: Move to ....
16397 * debug/backtrace.c: ... here.
16398 * sysdeps/aarch64/backtrace.c: Remove file.
16399 * sysdeps/alpha/backtrace.c: Likewise.
16400 * sysdeps/hppa/backtrace.c: Likewise.
16401 * sysdeps/ia64/backtrace.c: Likewise.
16402 * sysdeps/mips/backtrace.c: Likewise.
16403 * sysdeps/nios2/backtrace.c: Likewise.
16404 * sysdeps/riscv/backtrace.c: Likewise.
16405 * sysdeps/sh/backtrace.c: Likewise.
16406 * sysdeps/tile/backtrace.c: Likewise.
16407
8a07b0c4
JM
164082018-03-20 Joseph Myers <joseph@codesourcery.com>
16409
d0c5d731
JM
16410 [BZ #22987]
16411 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16412 function.
16413 (fdimf): Likewise.
16414 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16415
8a07b0c4
JM
16416 [BZ #17343]
16417 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16418 possibly overflowing computations.
16419
ceb54b9b
ST
164202018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16421
16422 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16423 values from Linux-specific section now that it is in the GNU section.
16424 * sysdeps/gnu/errlist.c: Regenerate.
16425
8d3f9e85
JM
164262018-03-20 Joseph Myers <joseph@codesourcery.com>
16427
16428 * math/Makefile (libm-narrow-fns): Add sub.
16429 (libm-test-funcs-narrow): Likewise.
16430 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16431 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16432 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16433 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16434 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16435 (NARROW_SUB_TRIVIAL): Likewise.
16436 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16437 macro.
16438 (__dsubl): Likewise.
16439 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16440 dsub.
16441 (CFLAGS-nldbl-dsub.c): New variable.
16442 (CFLAGS-nldbl-fsub.c): Likewise.
16443 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16444 __nldbl_dsubl.
16445 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16446 prototype.
16447 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16448 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16449 * math/auto-libm-test-in: Add tests of sub.
16450 * math/auto-libm-test-out-narrow-sub: New generated file.
16451 * math/libm-test-narrow-sub.inc: New file.
16452 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16453 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16454 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16455 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16456 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16457 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16458 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16459 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16460 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16461 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16462 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16463 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16464 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16465 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16466 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16467 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16468 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16469 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16471 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16473 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16474 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16475 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16477 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16478 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16479 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16493 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16494 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16495 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16496 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16497 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16498
d473f015
JM
164992018-03-19 Joseph Myers <joseph@codesourcery.com>
16500
16501 [BZ #20079]
16502 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16503
fbce6f72
WD
165042018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16505
16506 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16507
72e7ffc3
RB
165082018-03-18 Richard Braun <rbraun@sceen.net>
16509
16510 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16511 thread reference.
16512
542c20a1
AA
165132018-03-18 Agustina Arzille <avarzille@riseup.net>
16514
16515 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16516 (__libc_cleanup_fct): Define function.
16517 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16518 __libc_cleanup_end): Rewrite implementation using
16519 __attribute__ ((__cleanup__)).
16520 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16521 * hurd/Makefile (routines): Add hurdlock.
16522 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16523 interface.
16524 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16525 * hurd/hurdpid.c: Include <lowlevellock.h>
16526 (_S_msg_proc_newids): Use lll_wait to synchronize.
16527 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16528 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16529 * mach/Makefile (lock-headers): Remove machine-lock.h.
16530 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16531 <machine-lock.h>.
16532 (__spin_lock_t): New type.
16533 (__SPIN_LOCK_INITIALIZER): New macro.
16534 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16535 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16536 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16537 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16538 (__mutex_init): Initialize with lll.
16539 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16540 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16541 needing lll.
16542 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16543 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16544 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16545 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16546 (__setpgid): Use lll for synchronization.
16547 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16548 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16549 instead of <cthreads.h>.
16550 (_IO_lock_inexpensive): New macro
16551 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16552 (__libc_lock_self0): New declaration.
16553 (__libc_lock_owner_self): New macro.
16554 (__libc_key_t): Remove type.
16555 (_LIBC_LOCK_INITIALIZER): New macro.
16556 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16557 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16558 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16559 __libc_lock_define_initialized_recursive,
16560 __rtld_lock_define_initialized_recursive,
16561 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16562 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16563 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16564 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16565 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16566 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16567 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16568 New macros.
16569 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16570 * hurd/hurdlock.c: New file.
16571 * hurd/hurdlock.h: New file.
16572 * mach/lowlevellock.h: New file
542c20a1 16573
9a37922e
ST
165742018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16575
16576 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16577 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16578 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16579 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16580 path when flags contains O_NOFOLLOW.
16581 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16582 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16583 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16584 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16585 * sysdeps/mach/hurd/mlockall.c: New file.
16586 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16587
34e6a869
ST
165882018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16589
16590 * hurd/hurdsig.c: Include <pthread.h>.
16591 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16592 get the signal thread stack layout.
dc33bef3
ST
16593 * hurd/Makefile (headers): Remove threadvar.h.
16594 (inline-headers): Remove threadvar.h.
16595 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16596 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16597 __hurd_threadvar_max, __hurd_errno_location.
16598 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16599 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16600 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16601 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16602 unless TLS is not initialized yet, in which case we do not need a
16603 critical section yet anyway.
16604 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16605 <machine-sp.h>.
16606 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16607 declarations.
16608 (__hurd_threadvar_index): Remove enum.
16609 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16610 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16611 inlines.
16612 (__hurd_reply_port0): New variable declaration.
16613 (__hurd_local_reply_port): New macro.
16614 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16615 (interrupted_reply_port_location): Add thread_t parameter. Use it
16616 with THREAD_TCB to access thread-local variables.
16617 (_hurdsig_abort_rpcs): Pass ss->thread to
16618 interrupted_reply_port_location.
16619 (_hurd_internal_post_signal): Likewise.
16620 (_hurdsig_init): Use presence of cthread_fork instead of
16621 __hurd_threadvar_stack_mask to start signal thread by hand.
16622 Remove signal thread threadvar initialization.
16623 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16624 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16625 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16626 of threadvar.
16627 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16628 __libc_lock_self0.
16629 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16630 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16631 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16632 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16633 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16634 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16635 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16636 define variables.
16637 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16638 <hurd/threadvar.h>.
16639 [IS_IN(rtld)] (rtld_errno): New variable.
16640 [IS_IN(rtld)] (__errno_location): New weak function.
16641 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16642 * sysdeps/mach/hurd/errno.c: Remove file.
16643 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16644 (__fork): Remove THREADVAR_SPACE macro and its use.
16645 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16646 variable.
16647 (init): Do not initialize threadvar.
16648 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16649 symbol.
16650 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16651 __hurd_local_reply_port instead of threadvar.
16652 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16653 _hurd_sigstate fields.
16654 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16655 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16656 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16657 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16658 instead of threadvar.
16659 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16660 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16661 (use_threadvar, global_reply_port): Remove variables.
16662 (__hurd_reply_port0): New variable.
16663 (__mig_get_reply_port): Use __hurd_local_reply_port and
16664 __hurd_reply_port0 instead of threadvar.
16665 (__mig_dealloc_reply_port): Likewise.
16666 (__mig_init): Do not initialize threadvar.
16667 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16668 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16669 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16670 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16671 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16672 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16673 __cthread_setspecific.
16674 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16675 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16676 __cthread_t instead of cthread_fork, cthread_detach,
16677 pthread_getattr_np, pthread_attr_getstack.
16678 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16679 __cthread_keycreate.
16680 (cthread_getspecific): Rename to __cthread_getspecific.
16681 (cthread_setspecific): Rename to __cthread_setspecific.
16682 (__libc_getspecific): Use __cthread_getspecific instead of
16683 cthread_getspecific.
16684 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16685 __cthread_keycreate instead of cthread_keycreate.
16686 (__libc_setspecific): Use __cthread_setspecific instead of
16687 cthread_setspecific.
16688 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16689 Likewise.
dd28d4ba
ST
16690 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16691 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16692 testing whether it is defined.
34e6a869 16693
f8baf2a2
ST
166942018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16695
16696 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16697 Define macro.
16698 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16699 * sysdeps/mach/i386/thread_state.h
16700 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16701 i386_THREAD_STATE.
16702 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16703 i386_THREAD_STATE.
16704 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16705
16706 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16707 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16708
16709 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16710 macros.
16711 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16712 descriptor instead of creating a new one.
16713 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16714
16715 * mach/setup-thread.c: Include <ldsodefs.h>.
16716 (__mach_setup_thread): Call _dl_allocate_tls, pass
16717 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16718 MACHINE_THREAD_STATE_FLAVOR, before getting
16719 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16720 MACHINE_THREAD_STATE_FLAVOR with the result.
16721 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16722 MACHINE_THREAD_STATE_FIX_NEW.
16723 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16724 too. Add original thread parameter.
16725
34ba96b8
JM
167262018-03-16 Joseph Myers <joseph@codesourcery.com>
16727
5d75b75f
JM
16728 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16729 Remove inline function.
16730
34ba96b8
JM
16731 * sysdeps/i386/fpu/libm-test-ulps: Update.
16732 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16733
22679b2c
WD
167342018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16735
16736 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16737 commit.
16738
c429a8d8
JM
167392018-03-15 Joseph Myers <joseph@codesourcery.com>
16740
16741 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16742 (__sincos_code): Remove define and undefine.
16743 [__FAST_MATH__] (__sincos): Remove inline function.
16744 [__FAST_MATH__] (__sincosf): Remove inline function.
16745 [__FAST_MATH__] (__sincosl): Remove inline function.
16746 (__atan2l): Remove inline functions.
16747 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16748 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16749 function.
16750 (floor): Remove inline function.
16751 (ceil): Likewise.
16752 [__FAST_MATH__] (__ldexp_code): Remove macro.
16753 [__FAST_MATH__] (ldexp): Remove inline function.
16754 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16755 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16756 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16757 [__USE_ISOC99] (__lrint_code): Remove macro.
16758 [__USE_ISOC99] (__llrint_code): Likewise.
16759 [__USE_ISOC99] (lrintf): Remove inline function.
16760 [__USE_ISOC99] (lrint): Likewise.
16761 [__USE_ISOC99] (lrintl): Likewise.
16762 [__USE_ISOC99] (llrint): Likewise.
16763 [__USE_ISOC99] (llrintf): Likewise.
16764 [__USE_ISOC99] (llrintl): Likewise.
16765
700593fd
WD
167662018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16767
16768 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16769 (__ieee754_sqrtf): Remove.
16770 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16771 (__ieee754_sqrtf): Remove.
16772 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16773 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16774 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16775 (__ieee754_sqrtf): Remove.
16776 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16777 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16778 (sqrtf): Remove.
16779 (sqrtl): Remove.
16780 (__ieee754_sqrt): Remove.
16781 (__ieee754_sqrtf): Remove.
16782 (__ieee754_sqrtl): Remove.
16783 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16784 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16785 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16786 (__ieee754_sqrtf): Remove.
16787 (__ieee754_sqrtl): Remove.
16788
f67a8147
WD
167892018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16790
16791 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16792 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16793 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16794 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16795 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16796 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16797 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16798 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16799 Likewise.
16800 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16801 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16802 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16803 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16804 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16805 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16806 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16807 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16808 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16809 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16810 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16811 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16812 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16813 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16814 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16815 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16816 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16817 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16818 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16821 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16824 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16825 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16826 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16827 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16830 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16831 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16832 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16833 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16834 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16835 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16836 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16837 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16838 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16839 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16840
1294b189
WD
168412018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16842
16843 * include/math.h (sqrt): Declare with asm redirect.
16844 (sqrtf): Likewise.
16845 (sqrtl): Likewise.
16846 (sqrtf128): Likewise.
16847 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16848 nonlib and libnldbl with -fmath-errno.
16849 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16850 * math/w_sqrt_template.c: Likewise.
16851 * math/w_sqrtf_compat.c: Likewise.
16852 * math/w_sqrtl_compat.c: Likewise.
16853 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16854 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16855 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16856 complex.h.
16857
f1c8185d
WD
168582018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16859
16860 * benchtests/Makefile: Define _ISOMAC.
16861 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16862 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16863 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16864 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16865 * benchtests/bench-timing.h: Define attribute_hidden.
16866
b47c3e76
SP
168672018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16868
16869 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16870 mov + lsr.
16871
807fee29
RL
168722018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16873
16874 [BZ #22963]
16875 * localedata/locales/cs_CZ (mon): Rename to...
16876 (alt_mon): This.
16877 (mon): Import from CLDR (genitive case).
16878
e7155a28
RL
168792018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16880
16881 [BZ #22937]
16882 * localedata/locales/el_CY (abmon): Rename to...
16883 (ab_alt_mon): This.
16884 (abmon): Import from CLDR (abbreviated genitive case).
16885 * localedata/locales/el_GR (abmon): Rename to...
16886 (ab_alt_mon): This.
16887 (abmon): Import from CLDR (abbreviated genitive case).
16888
71d7b121
RL
168892018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16890
16891 [BZ #22932]
16892 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16893
a00bffe8
RB
168942018-03-15 Robert Buj <robert.buj@gmail.com>
16895
16896 [BZ #22848]
16897 * localedata/locales/ca_ES (abmon): Rename to...
16898 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16899 (mon): Rename to...
16900 (alt_mon): This.
16901 (abmon): Import from CLDR (genitive case, month names preceded by
16902 "de" or "d’").
16903 (mon): Likewise.
16904 (abday): Synchronize with CLDR.
16905 (d_t_fmt): Likewise.
16906 (d_fmt): Likewise.
16907 (am_pm): Likewise.
16908
16909 (LC_TIME): Improve indentation.
16910 (LC_TELEPHONE): Likewise.
16911 (LC_NAME): Likewise.
16912 (LC_ADDRESS): Likewise.
16913
f9555d73
JM
169142018-03-14 Joseph Myers <joseph@codesourcery.com>
16915
16916 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16917 (lrintf): Remove definitions used only with old GCC.
16918 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16919 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16920 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16921 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16922 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16923 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16924 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16925 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16926 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16927 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16928 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16929 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16930 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16931 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16932 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16933 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16934 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16935 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16936 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16937 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16938 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16939 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16940 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16941 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16942 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16943 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16944 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16945 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16946
d46f84de
SP
169472018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16948
16949 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16950 instruction to unbreak builds with binutils 2.26 and older.
16951
7108f1f9
SP
169522018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16953
16954 * sysdeps/aarch64/strncmp.S (count): New macro.
16955 (strncmp): Store misaligned length in SRC1 in COUNT.
16956 (mutual_align): Adjust.
16957 (misaligned8): Load dword at a time when it is safe.
16958
2cc7bad0
ZW
169592018-03-12 Zack Weinberg <zackw@panix.com>
16960
16961 [BZ #1190]
16962 [BZ #19476]
16963 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16964 if the _IO_EOF_SEEN bit is already set; update commentary.
16965 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16966 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16967
16968 * support/support_openpty.c, support/tty.h: New files.
16969 * support/Makefile (libsupport-routines): Add support_openpty.
16970
16971 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16972 New test cases.
16973 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16974 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16975
778f1974
DL
169762018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16977
16978 * po/pt_BR.po: Update translations.
16979
6b5c8607 169802018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16981
16982 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16983 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16984 get a port to the startup server.
16985
d3da750d
ZW
169862018-03-11 Zack Weinberg <zackw@panix.com>
16987
16988 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16989 before nldbl-compat.h.
16990
054b72cc
ZW
169912018-03-10 Zack Weinberg <zackw@panix.com>
16992
0d13dfa1
ZW
16993 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16994 math.h or math_private.h.
16995
16996 * sysdeps/alpha/fpu/s_isnan.c
16997 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16998 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16999 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
17000 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
17001 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
17002 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
17003 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
17004 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17005 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17008 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17009 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17010 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17011 Include math_private.h.
17012
17013 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17014 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17015 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17016 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17017 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17018 * sysdeps/powerpc/power7/fpu/s_logb.c:
17019 Include math.h and math_private.h.
17020
054b72cc
ZW
17021 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17022 uses of $at in .set noat / .set at.
17023
6253bacd
L
170242018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17025
17026 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17027 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17028 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17029 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17030 Likewise.
17031
229855e5
FW
170322018-03-09 Florian Weimer <fweimer@redhat.com>
17033
17034 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17035 in comment.
17036
9aa5c222
AJ
170372018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17038
17039 [BZ #22919]
17040 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17041 Add nop before __startcontext, add explaining comments.
17042
3dc21497
AZ
170432018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17044
e921c89e
AZ
17045 [BZ #22926]
17046 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17047 empty for __SPE__.
17048 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17049 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17050 Do not build hardware transactional code for __SPE__.
17051 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17052 (__lll_trylock_elision): Likewise.
17053 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17054 (__lll_unlock_elision): Likewise.
17055
d9f26dab 17056 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
17057 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17058 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17059 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17060 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17061 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17062 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17063 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17064 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17065 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17066 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17067 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17068 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17069 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17070 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17071 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17072 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17073 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17074 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17075 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17076 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17077 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17078 (__ASSUME_CLONE_BACKWARDS): Define.
17079 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17080 __clone2 if __NR_clone2 is defined.
17081 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17082 (__ASSUME_CLONE_BACKWARDS): Likewise.
17083 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17084 (__ASSUME_CLONE_BACKWARDS): Likewise.
17085 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17086 (__ASSUME_CLONE2): Likewise.
17087 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17088 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17089 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17090 variants and the define architecture can use.
17091 (__ASSUME_CLONE_DEFAULT): Define as default.
17092 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17093 (__ASSUME_CLONE_BACKWARDS): Likewise.
17094 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17095 (__ASSUME_CLONE_BACKWARDS): Likewise.
17096 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17097 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17098
adc95fb0
SP
170992018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17100
4e54d918
SP
17101 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17102
30a81dae
SP
17103 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17104 time.
17105
adc95fb0
SP
17106 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17107 (do_test_limit): Likewise.
17108
17109 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17110 for every implementation.
17111 (do_test): Likewise.
17112
17113 * benchtests/bench-strncmp.c: Convert output to json.
17114
4e9066bc
ST
171152018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17116
17117 * io/futimens.c: Add missing start-of-file descriptive comment.
17118 * io/utime.c: Likewise.
17119 * misc/futimesat.c: Likewise.
17120 * misc/utimes.c: Likewise.
17121 * sysdeps/mach/hurd/futimesat.c: Likewise.
17122 * sysdeps/mach/hurd/utimes.c: Likewise.
17123 * sysdeps/posix/utime.c: Likewise.
17124 * sysdeps/posix/utimes.c: Likewise.
17125 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17126 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17127 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17128 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17129
ec1300cf
ST
171302018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17131
17132 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17133 hurd_futimes.
17134 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17135 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17136 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17137 (__futimens): Move implementation to...
17138 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17139 utime_tvalue_from_tspec): ... new helper functions.
17140 (hurd_futimens): New function.
17141 * sysdeps/mach/hurd/futimesat.c: New file.
17142 * sysdeps/mach/hurd/utimensat.c: New file.
17143
bbe762d1
FC
171442018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17145
17146 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17147 UTIME_OMIT): New macros.
17148 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17149 before reverting to converting time spec to time value and calling
17150 __file_utimes.
17151 * sysdeps/mach/hurd/utime-helper.c: New file.
17152 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17153 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17154 reverting to utime_tvalue_from_tval and __file_utimes.
17155 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17156 (__lutimes): Just call hurd_futimens after lookup.
17157 * sysdeps/mach/hurd/utimes.c: Likewise.
17158
a1ede3a4
ST
171592018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17160
17161 * bits/sigaction.h: Add include guard.
17162 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17163 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17164 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17165 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17166 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17167 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17168 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17169 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17170 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17171
6900d2ca
JM
171722018-03-05 Joseph Myers <joseph@codesourcery.com>
17173
17174 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17175 -Wmaybe-uninitialized for -Os.
17176 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17177 this disabling.
17178
68448be2
AZ
171792018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17180
5226a81f
AZ
17181 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17182 __INO_T_MATCHES_INO64_T is defined.
17183 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17184 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17185 of definition.
17186 * dirent/alphasort64.c: Likewise.
17187 * dirent/scandir.c: Likewise.
17188 * dirent/scandir64-tail.c: Likewise.
17189 * dirent/scandir64.c: Likewise.
17190 * dirent/scandirat.c: Likewise.
17191 * dirent/scandirat64.c: Likewise.
17192 * dirent/versionsort.c: Likewise.
17193 * dirent/versionsort64.c: Likewise.
17194 * include/dirent.h: Likewise.
17195
fbd01e6c
AZ
17196 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17197 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17198 for socketpair endpoint.
17199 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17200 WRITE_BUFFER_SIZE as buffer size for sending socket.
17201 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17202 issue on system where send is implemented with sendto syscall.
17203 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17204 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17205 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17206 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17207
68448be2
AZ
17208 [BZ #21269]
17209 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17210 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17211 sa_restorer for vDSO case.
17212 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17213
eb1ca47e
ST
172142018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17215
17216 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17217 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17218 * hurd/hurd/ioctl.h: Include <mach/port.h>
17219 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17220 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17221 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17222 (headers): Move mach/param.h to bits/mach/param.h.
17223 * sysdeps/mach/i386/mach/param.h: Move file to ...
17224 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17225 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17226 of <mach/param.h>.
3403cb7d
ST
17227 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17228 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17229 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17230 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17231 trivial, for C++ conformity.
44c6376c 17232 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17233 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17234 Process mig output through $(migheadersed).
17235 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17236 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17237 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17238 headers.
ba89615d
ST
17239 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17240 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17241 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17242 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17243 <bits/types/sigset_t.h>.
17244 [!defined __USE_GNU]: Do not #error out.
17245 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17246 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17247 Include <stddef.h> and <bits/types/sigset_t.h>
17248 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17249 instead of sighandler_t.
974393ea
ST
17250 * stdlib/errno.h (error_t): Move definition to...
17251 * bits/types/error_t.h: ... new header.
17252 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17253 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17254 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17255 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17256 * hurd/hurd.h: Include <bits/types/error_t.h>
17257 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17258 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17259 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17260 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17261 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17262 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17263 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17264
eaf6753f
AS
172652018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17266
17267 [BZ #22918]
17268 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17269 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17270 * nscd/gai.c (__nss_hosts_database): Readd definition.
17271 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17272 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17273 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17274
4dc23804
JM
172752018-03-02 Joseph Myers <joseph@codesourcery.com>
17276
17277 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17278 (ifunc_one): Likewise.
17279
1c81d55f
DD
172802018-03-01 DJ Delorie <dj@delorie.com>
17281
17282 [BZ #22342]
17283 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17284 key value.
17285
b717c14f
MR
172862018-03-01 Maciej W. Rozycki <macro@mips.com>
17287
17288 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17289 `match_pid' parameter.
17290 (td_ta_thr_iter): Update accordingly.
17291
1efe1358
FW
172922018-03-01 Florian Weimer <fweimer@redhat.com>
17293
17294 * nptl/Makefile (install-lib-ldscripts): Remove.
17295 (install): Remove rule.
17296 ($(inst_libdir)/libpthread.so): Likewise.
17297
a527f09c
MF
172982018-03-01 Mike FABIAN <mfabian@redhat.com>
17299
17300 [BZ #22896]
17301 * localedata/locales/an_ES: update month and day names,
17302 improve d_fmt, improve postal_fmt, add country_post,
17303 add country_isbn
17304
35d660b0
MF
173052018-03-01 Mike FABIAN <mfabian@redhat.com>
17306
17307 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17308 Ukrainian instead of Bulgarian.
17309
1a2f44a8
FW
173102018-03-01 Florian Weimer <fweimer@redhat.com>
17311
17312 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17313 reference.
17314
bd60ce86
FW
173152018-03-01 Florian Weimer <fweimer@redhat.com>
17316
17317 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17318 * nptl/Makefile (routines): Add pthread_atfork.
17319 (static-only-routines): Set to pthread_atfork.
17320 (libpthread-routines): Remove pthread_atfork.
17321 (libpthread-static-only-routines): Remove.
17322 (install): Update comment.
17323 (libpthread.so): Do not install libpthread_nonshared.a.
17324 (tests): Do not link with libpthread_nonshared.a.
17325 (generated): Remove libpthread_nonshared.a.
17326 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17327 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17328 with libpthread_nonshared.a.
17329
000f290f
JM
173302018-02-28 Joseph Myers <joseph@codesourcery.com>
17331
e2bcf6a8
JM
17332 [BZ #22902]
17333 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17334 (libc_feholdexcept_setroundf128): New macro.
17335 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17336
000f290f
JM
17337 [BZ #15105]
17338 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17339 libc_hidden_def.
17340 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17341 * include/inttypes.h: New file.
17342
02f2fead
JM
173432018-02-27 Joseph Myers <joseph@codesourcery.com>
17344
17345 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17346 -Os in two more places.
17347
874c56d7
MF
173482018-02-27 Mike FABIAN <mfabian@redhat.com>
17349
17350 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17351 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17352 be sorted correctly at the moment because of a bug.
17353
15973854
MF
173542018-02-27 Mike FABIAN <mfabian@redhat.com>
17355
17356 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17357 treat ñ as a primary different character, sync the collation
17358 for Spanish with CLDR.
17359 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17360 * localedata/Makefile: Add new test files.
17361 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17362 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17363 collation order.
17364 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17365 * localedata/am_ET.UTF-8.in: New test file.
17366 * localedata/az_AZ.UTF-8.in: Likewise.
17367 * localedata/be_BY.UTF-8.in: Likewise.
17368 * localedata/ber_DZ.UTF-8.in: Likewise.
17369 * localedata/ber_MA.UTF-8.in: Likewise.
17370 * localedata/bg_BG.UTF-8.in: Likewise.
17371 * localedata/br_FR.UTF-8.in: Likewise.
17372 * localedata/cmn_TW.UTF-8.in: Likewise.
17373 * localedata/crh_UA.UTF-8.in: Likewise.
17374 * localedata/csb_PL.UTF-8.in: Likewise.
17375 * localedata/cv_RU.UTF-8.in: Likewise.
17376 * localedata/cy_GB.UTF-8.in: Likewise.
17377 * localedata/dz_BT.UTF-8.in: Likewise.
17378 * localedata/eo.UTF-8.in: Likewise.
17379 * localedata/es_ES.UTF-8.in: Likewise.
17380 * localedata/fa_IR.UTF-8.in: Likewise.
17381 * localedata/fi_FI.UTF-8.in: Likewise.
17382 * localedata/fil_PH.UTF-8.in: Likewise.
17383 * localedata/fur_IT.UTF-8.in: Likewise.
17384 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17385 * localedata/ha_NG.UTF-8.in: Likewise.
17386 * localedata/ig_NG.UTF-8.in: Likewise.
17387 * localedata/ik_CA.UTF-8.in: Likewise.
17388 * localedata/kk_KZ.UTF-8.in: Likewise.
17389 * localedata/ku_TR.UTF-8.in: Likewise.
17390 * localedata/ky_KG.UTF-8.in: Likewise.
17391 * localedata/ln_CD.UTF-8.in: Likewise.
17392 * localedata/mi_NZ.UTF-8.in: Likewise.
17393 * localedata/ml_IN.UTF-8.in: Likewise.
17394 * localedata/mn_MN.UTF-8.in: Likewise.
17395 * localedata/mr_IN.UTF-8.in: Likewise.
17396 * localedata/mt_MT.UTF-8.in: Likewise.
17397 * localedata/nb_NO.UTF-8.in: Likewise.
17398 * localedata/om_KE.UTF-8.in: Likewise.
17399 * localedata/os_RU.UTF-8.in: Likewise.
17400 * localedata/ps_AF.UTF-8.in: Likewise.
17401 * localedata/ro_RO.UTF-8.in: Likewise.
17402 * localedata/ru_RU.UTF-8.in: Likewise.
17403 * localedata/sc_IT.UTF-8.in: Likewise.
17404 * localedata/se_NO.UTF-8.in: Likewise.
17405 * localedata/sq_AL.UTF-8.in: Likewise.
17406 * localedata/sv_SE.UTF-8.in: Likewise.
17407 * localedata/szl_PL.UTF-8.in: Likewise.
17408 * localedata/tg_TJ.UTF-8.in: Likewise.
17409 * localedata/tk_TM.UTF-8.in: Likewise.
17410 * localedata/tt_RU.UTF-8.in: Likewise.
17411 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17412 * localedata/ug_CN.UTF-8.in: Likewise.
17413 * localedata/uz_UZ.UTF-8.in: Likewise.
17414 * localedata/vi_VN.UTF-8.in: Likewise.
17415 * localedata/yi_US.UTF-8.in: Likewise.
17416 * localedata/yo_NG.UTF-8.in: Likewise.
17417 * localedata/zh_CN.UTF-8.in: Likewise.
17418 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17419 file and fix bugs in the collation.
17420 * localedata/locales/az_AZ: Likewise.
17421 * localedata/locales/be_BY: Likewise.
17422 * localedata/locales/ber_DZ: Likewise.
17423 * localedata/locales/ber_MA: Likewise.
17424 * localedata/locales/bg_BG: Likewise.
17425 * localedata/locales/br_FR: Likewise.
17426 * localedata/locales/br_FR@euro: Likewise.
17427 * localedata/locales/ca_ES: Likewise.
17428 * localedata/locales/cns11643_stroke: Likewise.
17429 * localedata/locales/crh_UA: Likewise.
17430 * localedata/locales/cs_CZ: Likewise.
17431 * localedata/locales/csb_PL: Likewise.
17432 * localedata/locales/cv_RU: Likewise.
17433 * localedata/locales/cy_GB: Likewise.
17434 * localedata/locales/da_DK: Likewise.
17435 * localedata/locales/dz_BT: Likewise.
17436 * localedata/locales/en_CA: Likewise.
17437 * localedata/locales/eo: Likewise.
17438 * localedata/locales/es_CU: Likewise.
17439 * localedata/locales/es_EC: Likewise.
17440 * localedata/locales/es_ES: Likewise.
17441 * localedata/locales/es_US: Likewise.
17442 * localedata/locales/et_EE: Likewise.
17443 * localedata/locales/fa_IR: Likewise.
17444 * localedata/locales/fi_FI: Likewise.
17445 * localedata/locales/fil_PH: Likewise.
17446 * localedata/locales/fur_IT: Likewise.
17447 * localedata/locales/gez_ER@abegede: Likewise.
17448 * localedata/locales/ha_NG: Likewise.
17449 * localedata/locales/hr_HR: Likewise.
17450 * localedata/locales/hsb_DE: Likewise.
17451 * localedata/locales/hu_HU: Likewise.
17452 * localedata/locales/ig_NG: Likewise.
17453 * localedata/locales/ik_CA: Likewise.
17454 * localedata/locales/is_IS: Likewise.
17455 * localedata/locales/iso14651_t1_pinyin: Likewise.
17456 * localedata/locales/kk_KZ: Likewise.
17457 * localedata/locales/ku_TR: Likewise.
17458 * localedata/locales/ky_KG: Likewise.
17459 * localedata/locales/ln_CD: Likewise.
17460 * localedata/locales/lt_LT: Likewise.
17461 * localedata/locales/lv_LV: Likewise.
17462 * localedata/locales/mi_NZ: Likewise.
17463 * localedata/locales/ml_IN: Likewise.
17464 * localedata/locales/mn_MN: Likewise.
17465 * localedata/locales/mr_IN: Likewise.
17466 * localedata/locales/mt_MT: Likewise.
17467 * localedata/locales/nb_NO: Likewise.
17468 * localedata/locales/om_KE: Likewise.
17469 * localedata/locales/os_RU: Likewise.
17470 * localedata/locales/pl_PL: Likewise.
17471 * localedata/locales/ps_AF: Likewise.
17472 * localedata/locales/ro_RO: Likewise.
17473 * localedata/locales/ru_RU: Likewise.
17474 * localedata/locales/ru_UA: Likewise.
17475 * localedata/locales/sc_IT: Likewise.
17476 * localedata/locales/se_NO: Likewise.
17477 * localedata/locales/si_LK: Likewise.
17478 * localedata/locales/sq_AL: Likewise.
17479 * localedata/locales/sv_FI: Likewise.
17480 * localedata/locales/sv_FI@euro: Likewise.
17481 * localedata/locales/sv_SE: Likewise.
17482 * localedata/locales/szl_PL: Likewise.
17483 * localedata/locales/tg_TJ: Likewise.
17484 * localedata/locales/ti_ER: Likewise.
17485 * localedata/locales/tk_TM: Likewise.
17486 * localedata/locales/tl_PH: Likewise.
17487 * localedata/locales/tr_TR: Likewise.
17488 * localedata/locales/tt_RU: Likewise.
17489 * localedata/locales/tt_RU@iqtelif: Likewise.
17490 * localedata/locales/ug_CN: Likewise.
17491 * localedata/locales/uk_UA: Likewise.
17492 * localedata/locales/uz_UZ: Likewise.
17493 * localedata/locales/uz_UZ@cyrillic: Likewise.
17494 * localedata/locales/vi_VN: Likewise.
17495 * localedata/locales/yi_US: Likewise.
17496 * localedata/locales/yo_NG: Likewise.
17497
ce6636b0
MF
174982018-02-27 Mike FABIAN <mfabian@redhat.com>
17499
17500 * gen-locales.mk: Make test files which contain @ modifiers in their
17501 name work.
17502 * localedata/gen-locale.sh: Likewise.
17503
ac3a3b4b
MF
175042018-02-27 Mike FABIAN <mfabian@redhat.com>
17505
17506 * posix/tst-fnmatch.input: Fix results for range expressions
17507 for non C locales.
17508 * posix/tst-regexloc.c: Do not use a range expression for
17509 de_DE.ISO-8859-1 locale.
17510
770cbe14
MF
175112018-02-27 Mike FABIAN <mfabian@redhat.com>
17512
17513 * posix/bug-regex5.c: Fix test case because with the new
17514 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17515 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17516 file.
17517
0fc355d9
MF
175182018-02-27 Mike FABIAN <mfabian@redhat.com>
17519
17520 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17521 downloaded from ISO, the collation order of @-. and space has changed.
17522 Therefore, this test file needed to be adapted.
17523 * localedata/fr_CA.UTF-8.in: Likewise.
17524 * localedata/fr_FR.UTF-8.in: Likewise.
17525 * localedata/uk_UA.UTF-8.in: Likewise.
17526
43f3893f
MF
175272018-02-27 Mike FABIAN <mfabian@redhat.com>
17528
17529 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17530 order of ȥ in the new iso14651_t1_common file.
17531 * localedata/pl_PL.UTF-8.in: Likewise.
17532
df74ef78
MF
175332018-02-27 Mike FABIAN <mfabian@redhat.com>
17534
17535 * localedata/locales/iso14651_t1_common: Add sections for various
17536 scripts to the iso14651_t1_common file.
17537
d5adfbad
MF
175382018-02-27 Mike FABIAN <mfabian@redhat.com>
17539
17540 * localedata/locales/iso14651_t1_common: Use the code point of a
17541 character in the fourth collation level instead of IGNORE for all
17542 entries which have IGNORE on all 4 levels.
17543
5f5a9610
MF
175442018-02-27 Mike FABIAN <mfabian@redhat.com>
17545
17546 * localedata/locales/iso14651_t1_common: Add some convenient collation
17547 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17548 rules similar to those in CLDR.
17549
8a97e900
MF
175502018-02-27 Mike FABIAN <mfabian@redhat.com>
17551
17552 * localedata/locales/iso14651_t1_common: The new version of this
17553 file downloaded from ISO contained several syntax errors which
17554 are fixed by this patch.
17555
bbdd2fba
MF
175562018-02-27 Mike FABIAN <mfabian@redhat.com>
17557
17558 * localedata/locales/iso14651_t1_common: replace all <U.....>
17559 with <U000.....> because glibc understands only 4 digit or 8 digit
17560
1569e551
MF
175612018-02-27 Mike FABIAN <mfabian@redhat.com>
17562
17563 * localedata/locales/iso14651_t1_common: Necessary changes
17564 to make the file downloaded from ISO usable by glibc.
17565
9479b6d5
MF
175662018-02-27 Mike FABIAN <mfabian@redhat.com>
17567
17568 [BZ #14095]
17569 * localedata/locales/iso14651_t1_common: Update file to
17570 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17571
03b540b3
ST
175722018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17573
17574 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17575 of <nptl/pthreadP.h>
17576 (thread_attr_compare): Move function to...
eb937a52 17577 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17578 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17579 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17580
20602c72
JM
175812018-02-26 Joseph Myers <joseph@codesourcery.com>
17582
f54d8f73
JM
17583 * string/strcoll_l.c: Include <libc-diag.h>.
17584 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17585 declarations of seq1 and seq2.
17586
20602c72
JM
17587 [BZ #15105]
17588 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17589 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17590
f5f473a9
DL
175912018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17592
17593 [BZ #22433]
17594 [BZ #22807]
17595 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17596 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17597 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17598 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17599 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17600 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17601
398c6fdd
TMQMF
176022018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17603
17604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17605 macros used in __ptrace_request.
17606
f5d1f629
L
176072018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17608
17609 [BZ #22792]
17610 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17611 to $(CC).
17612 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17613 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17614 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17615 <tcb-offsets.h>.
17616
54412d20
JM
176172018-02-23 Joseph Myers <joseph@codesourcery.com>
17618
17619 [BZ #15105]
17620 * ctype/ctype.c (tolower): Use libc_hidden_def.
17621 (toupper): Likewise.
17622 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17623 [!_ISOMAC] (toupper): Likewise.
17624
81be4b5e
MF
176252018-02-23 Mike FABIAN <mfabian@redhat.com>
17626
17627 * localedata/Makefile: Remove --quiet argument when
17628 installing locales
17629
9d5cfd8e
MF
176302018-02-23 Mike FABIAN <mfabian@redhat.com>
17631
17632 [BZ #17438]
17633 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17634 in d_fmt.
17635 * localedata/locales/pt_PT (LC_TIME): likewise
17636
6c7269f3
MF
176372018-02-23 Mike FABIAN <mfabian@redhat.com>
17638
17639 [BZ #22646]
17640 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17641 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17642 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17643
92aabad9
AZ
176442018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17645
4cdc25a4
AZ
17646 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17647
27761a10
AZ
17648 * nptl/Makefile (routines): Remove unregister-atfork.
17649 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17650 (fork_handler_alloc): Remove function.
17651 (fork_handlers, fork_handler_init): New variables.
17652 (__fork_lock): Rename to atfork_lock.
17653 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17654 to use a dynamic array to add/remove atfork handlers.
17655 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17656 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17657 Remove declaration.
17658 (fork_handler): Remove next, refcntr, and need_signal member.
17659 (__run_fork_handler_type): New enum.
17660 (__run_fork_handlers): New prototype.
17661 * nptl/register-atfork.c: Remove file.
17662 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17663
92aabad9
AZ
17664 * sysdeps/nptl/nptl-signals.h: Move to ...
17665 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17666 comments.
17667 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17668 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17669 unnecessary check for SIGTIMER.
17670 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17671 remove unnecessary removal of SIGTIMER.
17672 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17673 include-signals.h rename.
17674 * nptl/pthreadP.h: Likewise.
17675 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17676 __is_internal_signal instead of __nptl_is_internal_signal.
17677
6b5c8607 176782018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17679
7e04eb29 17680 [BZ # 22884]
fdcc6253
AW
17681 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17682 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17683 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17684 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17685
8090720a
DD
176862018-02-22 DJ Delorie <dj@delorie.com>
17687
17688 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17689
6ca24c43
SP
176902018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17691
17692 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17693 do_misaligned, not misaligned8.
17694
e9537ddd
SE
176952018-02-22 Steve Ellcey <sellcey@cavium.com>
17696
17697 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17698 Add memcpy_thunderx2.
17699 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17700 Increment to 4.
17701 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17702 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17703 and IS_THUNDERX2PA checks.
17704 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17705 Use macro to set name appropriately.
17706 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17707 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17708 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17709 New macro.
17710 (IS_THUNDERX2): New macro.
17711
6e336476
SL
177122018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17713
17714 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17715
34957904
ZW
177162018-02-21 Zack Weinberg <zackw@panix.com>
17717
30bfee26
ZW
17718 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17719 Define here, unconditionally.
17720 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17721 * libio/libioP.h: Remove #if 0 blocks.
17722 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17723 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17724 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17725
17726 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17727 Assume weak_alias is always defined.
17728
17729 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17730 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17731 Remove #if 0 and #ifdef TODO blocks.
17732 Assume text_set_element is always defined.
17733
17734 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17735 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17736 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17737
df6c012b
ZW
17738 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17739 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17740 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17741 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17742 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17743 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17744 Reformat bit flags for _flags field to make occupancy clearer.
17745 Update commentary.
17746 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17747 Keep definitions consistent with those in libio/libio.h.
17748
17749 * libio/libio.h (_IO_file_flags): Remove macro.
17750 All uses changed to _flags.
17751
177aad3f
ZW
17752 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17753 (__HAVE_COLUMN, _IO_BE): Don't define.
17754 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17755 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17756 * libio/libioP.h (EOF): Don't define.
17757 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17758 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17759 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17760 testing _IO_UNIFIED_JUMPTABLES.
17761
9964a145
ZW
17762 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17763 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17764 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17765 (_IO_size_t): Delete; all uses changed to size_t.
17766 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17767 (_IO_off_t): Delete; all uses changed to off_t.
17768 (_IO_off64_t): Delete; all uses changed to off64_t.
17769 (_IO_pid_t): Delete; all uses changed to pid_t.
17770 (_IO_uid_t): Delete; all uses changed to uid_t.
17771 (_IO_wint_t): Delete; all uses changed to wint_t.
17772 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17773 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17774 (_IO_cookie_io_functions_t): Delete; all uses changed to
17775 cookie_io_functions_t.
17776 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17777 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17778 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17779 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17780
17781 * libio/iofopncook.c: Remove unnecessary forward declarations.
17782 * libio/iolibio.h: Correct outdated commentary.
17783 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17784 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17785 Remove unnecessary casts.
17786 * stdio-common/getline.c: Use _IO_getdelim directly.
17787 Don't redefine ssize_t.
17788 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17789 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17790 Remove outdated comments.
17791 * stdio-common/vfscanf.c: Don't redefine va_list.
17792
34957904
ZW
17793 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17794 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17795 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17796 which are always true, and __cplusplus, which is always false.
17797
30ac923d
JM
177982018-02-21 Joseph Myers <joseph@codesourcery.com>
17799
039c721a
JM
17800 [BZ #15105]
17801 [BZ #19463]
17802 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17803 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17804 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17805 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17806 libc_hidden_proto.
17807 [!_ISOMAC] (putc_unlocked): Likewise.
17808 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17809 define inline if [__USE_EXTERN_INLINES].
17810 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17811 putc_unlocked.
17812
30ac923d
JM
17813 [BZ #15105]
17814 [BZ #19463]
17815 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17816 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17817 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17818 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17819 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17820 getc_unlocked.
17821 * time/tzfile.c (__tzfile_read): Likewise.
17822
7ec5f946
MF
178232018-02-21 Mike FABIAN <mfabian@redhat.com>
17824
17825 [BZ #22517]
17826 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17827
0d217f40
RJ
178282018-02-21 Rical Jasan <ricaljasan@pacific.net>
17829
17830 * io/fcntl.h: Fix a typo in a comment.
17831
862b4502
RJ
178322018-02-21 Rical Jasan <ricaljasan@pacific.net>
17833
17834 [BZ #22862]
17835 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17836 define _DEFAULT_SOURCE.
17837 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17838
999a6dab
FW
178392018-02-21 Florian Weimer <fweimer@redhat.com>
17840
17841 [BZ #20890]
17842 * elf/cache.c (save_cache): Call fsync on temporary file before
17843 renaming it.
17844 (save_aux_cache): Call fdatasync on temporary file before renaming
17845 it.
17846
52a01100
FW
178472018-02-21 Florian Weimer <fweimer@redhat.com>
17848
17849 [BZ #22787]
17850 * include/caller.h: Remove file.
17851 * elf/dl-caller.c: Likewise.
17852 * elf/Makefile (dl-routines): Remove dl-caller.
17853 (shared-only-routines): Do not add dl-caller.
17854 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17855 __check_caller.
17856 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17857 member.
17858 (dl_open_worker): Do not call __check_caller.
17859 (_dl_open): Do not set caller_dl_open member.
17860 * elf/rtld.c (_rtld_global_ro): Do not initialize
17861 _dl_check_caller member.
17862 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17863 _dl_check_caller member.
17864 (_dl_check_caller): Remove declaration.
17865 * sysdeps/unix/sysv/linux/dl-execstack.c
17866 (_dl_make_stack_executable): Do not call __check_caller.
17867
b5bf62e4
ST
178682018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17869
17870 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17871 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17872
e8d190b9
RJ
178732018-02-20 Rical Jasan <ricaljasan@pacific.net>
17874
17875 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17876 description.
17877
6a3962c4
RJ
178782018-02-20 Rical Jasan <ricaljasan@pacific.net>
17879
da81ae64 17880 [BZ #16335]
6a3962c4
RJ
17881 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17882 of 199606L, 200112L, and 200809L.
17883 (_XOPEN_SOURCE): Document special values of 600 and 700.
17884 (_ISOC11_SOURCE): Document macro.
17885 (_ATFILE_SOURCE): Likewise.
17886 (_FORTIFY_SOURCE): Likewise.
17887
ec481ad8
JM
178882018-02-19 Joseph Myers <joseph@codesourcery.com>
17889
17890 [BZ #15105]
17891 [BZ #19463]
17892 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17893 and define as weak alias of __ferror_unlocked. Use
17894 libc_hidden_weak.
17895 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17896 libc_hidden_proto.
17897 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17898 function if [__USE_EXTERN_INLINES].
17899 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17900 ferror_unlocked.
17901
7d15ef84
RJ
179022018-02-19 Rical Jasan <ricaljasan@pacific.net>
17903
17904 [BZ #6889]
17905 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17906
f8d79582
AJ
179072018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17908
17909 [BZ #22818]
17910 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17911 the GLIBC_2.1 version.
17912
56456a2a
AJ
179132018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17914
17915 [BZ #21508]
17916 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17917 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17918 intl/tst-gettext-de.po from po/de.po by removing the
17919 POT-Creation-Date line.
17920 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17921 ../po/de.po.
17922 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17923 ../po/de.po.
17924
13768813
ST
179252018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17926
17927 * mach/Makefile (headers): Add mach/param.h.
17928 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17929 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17930 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17931 (__ptsname_r): Move implementation to...
17932 (__ptsname_internal): ... new function. Add filling the STP
17933 structure.
13768813 17934
6aca1b61
JDA
179352018-02-17 John David Anglin <danglin@gcc.gnu.org>
17936
17937 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17938 idouble to 1 ULP.
17939
16efad51
RJ
179402018-02-16 Rical Jasan <ricaljasan@pacific.net>
17941
17942 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17943 syntax.
17944
87245073
SL
179452018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17946
17947 * nptl/Makefile (tst-mutex8-ENV): Delete.
17948 * nptl/tst-mutex8.c (check_type):
17949 Add runtime check if mutex will be elided.
17950
7fc03cf3
JM
179512018-02-15 Joseph Myers <joseph@codesourcery.com>
17952
db9881ec
JM
17953 [BZ #20980]
17954 [BZ #21234]
17955 * manual/install.texi (Configuring and compiling): Describe
17956 passing CC and CFLAGS on configure command line, not as
17957 environment variables. Use @code markup on those variables.
17958 Specify what options go in CC and what go in CFLAGS. Note the
17959 requirement to compile with optimization.
17960 * INSTALL: Regenerated.
17961
3785b31c
JM
17962 [BZ #18124]
17963 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17964 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17965 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17966 __sigprocmask instead of sigprocmask.
17967 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17968 Likewise.
17969 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17970 __sigsetjmp and sigprocmask.
17971
055ac2a7
JM
17972 [BZ #15105]
17973 * include/argz.h (argz_next): Use libc_hidden_proto.
17974 (__argz_next): Likewise.
17975 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17976 (argz_next): Use libc_hidden_weak.
17977
e4452a2d
JM
17978 [BZ #15105]
17979 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17980 libc_hidden_proto.
17981 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17982 libc_hidden_def.
17983
499b3153
JM
17984 [BZ #15105]
17985 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17986 libc_hidden_proto.
17987 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17988
7fc03cf3
JM
17989 [BZ #15105]
17990 [BZ #19463]
17991 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17992 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17993 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17994 (__feof_unlocked): New declaration, and inline function if
17995 [__USE_EXTERN_INLINES].
17996 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17997 instead of feof_unlocked.
17998 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17999 * nss/nsswitch.c (nss_parse_file): Likewise.
18000 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
18001 Likewise.
18002 * time/getdate.c (__getdate_r): Likewise.
18003 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
18004 Define as macro to call __feof_unlocked.
18005
0c8a67a5
WD
180062018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18007
18008 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18009
610ee1fc
WD
180102018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18011
18012 * math/Makefile: Remove mpexp.c and mplog.c
18013 * sysdeps/i386/fpu/mpexp.c: Delete file.
18014 * sysdeps/i386/fpu/mplog.c: Likewise.
18015 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18016 * sysdeps/ia64/fpu/mplog.c: Likewise.
18017 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18018 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18019 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18020 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18021 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18022 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18023 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18024 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18025 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18026 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18027 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18028 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18029 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18030 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18031 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18032 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18033
8e7196c8
SL
180342018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18035
18036 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18037
4f55ad0b
AZ
180382018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18039
18040 * sysdeps/sh/libm-test-ulps: Update.
18041
261a851c
TMQMF
180422018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18043
18044 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18045 idouble to 1 ULP.
18046
e16deca6
ZW
180472018-02-12 Zack Weinberg <zackw@panix.com>
18048
18049 [BZ #19239]
18050 * posix/sys/types.h: Don't include sys/sysmacros.h.
18051 * misc/sys/sysmacros.h: Remove the conditional deprecation
18052 warnings for the macros defined by this header.
18053
de800d83
SN
180542018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18055
18056 * manual/probes.texi: Remove slowexp probes.
18057 * math/Makefile: Remove slowexp.
18058 * sysdeps/generic/math_private.h (__slowexp): Remove.
18059 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18060 document error bounds.
18061 * sysdeps/i386/fpu/slowexp.c: Remove.
18062 * sysdeps/ia64/fpu/slowexp.c: Remove.
18063 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18064 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18065 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18066 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18067 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18068 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18069 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18070 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18071 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18072 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18073 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18074
c3d466cb
WD
180752018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18076
18077 [BZ #13932]
18078 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18079 * benchtests/pow-inputs: Update comment for slow path cases.
18080 * manual/probes.texi (slowpow_p10): Delete removed probe.
18081 (slowpow_p10): Likewise.
18082 * math/Makefile: Remove halfulp.c and slowpow.c.
18083 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18084 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18085 (__halfulp): Remove.
18086 (__slowpow): Remove.
18087 * sysdeps/i386/fpu/halfulp.c: Delete file.
18088 * sysdeps/i386/fpu/slowpow.c: Likewise.
18089 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18090 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18091 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18092 improve comments and add error analysis.
18093 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18094 (power1): Remove function:
18095 (log1): Remove error argument, add error analysis.
18096 (my_log2): Remove function.
18097 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18098 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18099 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18100 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18101 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18102 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18103 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18104 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18105 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18106 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18107 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18108 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18109 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18110 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18111
7bb087bd
ST
181122018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18113
18114 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18115 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18116
2fd4bbaa
DL
181172018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18118
18119 [BZ #22433]
18120 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18121 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18122 and PTRACE_SETHBPREGS.
18123
402ecba4
ZW
181242018-02-10 Zack Weinberg <zackw@panix.com>
18125
18126 [BZ #22830]
18127 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18128 correctly.
18129 * malloc/tst-malloc-stats-cancellation.c: New test case.
18130 * malloc/Makefile: Add new test case.
18131
4f5b921e
WD
181322018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18133
18134 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18135
a85b70db
JM
181362018-02-10 Joseph Myers <joseph@codesourcery.com>
18137
d8742dd8
JM
18138 * math/Makefile (libm-narrow-fns): Add add.
18139 (libm-test-funcs-narrow): Likewise.
18140 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18141 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18142 * math/gen-auto-libm-tests.c (test_functions): Add add.
18143 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18144 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18145 (NARROW_ADD_TRIVIAL): Likewise.
18146 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18147 macro.
18148 (__daddl): Likewise.
18149 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18150 dadd.
18151 (CFLAGS-nldbl-dadd.c): New variable.
18152 (CFLAGS-nldbl-fadd.c): Likewise.
18153 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18154 __nldbl_daddl.
18155 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18156 prototype.
18157 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18158 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18159 * math/auto-libm-test-in: Add tests of add.
18160 * math/auto-libm-test-out-narrow-add: New generated file.
18161 * math/libm-test-narrow-add.inc: New file.
18162 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18163 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18164 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18165 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18166 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18167 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18168 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18170 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18171 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18172 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18173 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18174 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18175 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18176 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18177 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18178 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18179 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18180 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18181 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18203 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18204 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18205 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18206 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18207 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18208
a85b70db
JM
18209 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18210 (f128-pairs): New variable.
18211 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18212 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18213 to CFLAGS.
18214 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18215 Also make tests add $(f128-loader-link) to gnulib-tests.
18216
6a1ff640
DD
182172018-02-09 DJ Delorie <dj@redhat.com>
18218
18219 [BZ #22827]
18220 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18221 64-bit ELF type for 64-bit ELF objects.
18222
bfd47587
JM
182232018-02-09 Joseph Myers <joseph@codesourcery.com>
18224
31958338
JM
18225 * math/libm-test-driver.c (snan_tests_arg): New variable.
18226 * math/libm-test-support.h (snan_tests_arg): New declaration.
18227 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18228
8e554659
JM
18229 * math/Makefile (test-type-pairs): New variable.
18230 (test-type-pairs-f64xf128-yes): Likewise.
18231 (tests): Add test-narrow-macros.
18232 (libm-test-funcs-narrow): New variable.
18233 (libm-test-c-narrow): Likewise.
18234 (generated): Add $(libm-test-c-narrow).
18235 (libm-tests-base-narrow): New variable.
18236 (libm-tests-narrow): Likewise.
18237 (libm-tests): Add $(libm-tests-narrow).
18238 (libm-tests-for-type): Handle $(libm-tests-narrow).
18239 (libm-test-c-narrow-obj): New variable.
18240 ($(libm-test-c-narrow-obj)): New rule.
18241 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18242 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18243 $(o-iterator) to set dependencies and CFLAGS.
18244 * math/gen-auto-libm-tests.c: Document use for narrowing
18245 functions.
18246 (output_for_one_input_case): Take argument NARROW.
18247 (generate_output): Likewise. Update call to
18248 output_for_one_input_case.
18249 (main): Take --narrow option. Update call to generate_output.
18250 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18251 (apply_lit): Update call to _apply_lit.
18252 (apply_arglit): New function.
18253 (parse_args): Handle "a" arguments.
18254 (parse_auto_input): Handle format names using ":".
18255 * math/README.libm-test: Document "a" parameter type.
18256 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18257 (ARG_TYPE_TRUE_MIN): Likewise.
18258 (ARG_TYPE_MAX): Likwise.
18259 (ARG_MIN_EXP): Likewise.
18260 (ARG_MAX_EXP): Likewise.
18261 (ARG_MANT_DIG): Likewise.
18262 (TEST_COND_arg_ibm128): Likewise.
18263 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18264 (TEST_COND_arg_fmt): New macro.
18265 (init_max_error): Update prototype.
18266 * math/libm-test-support.c (test_ibm128): New variable.
18267 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18268 instead of using [TEST_COND_ibm128] conditional.
18269 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18270 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18271 [TEST_NARROW] (TEST_MSG): New definition.
18272 (arg_plus_zero): New macro.
18273 (arg_minus_zero): Likewise.
18274 (arg_plus_infty): Likewise.
18275 (arg_minus_infty): Likewise.
18276 (arg_qnan_value_pl): Likewise.
18277 (arg_qnan_value): Likewise.
18278 (arg_snan_value_pl): Likewise.
18279 (arg_snan_value): Likewise.
18280 (arg_max_value): Likewise.
18281 (arg_min_value): Likewise.
18282 (arg_min_subnorm_value): Likewise.
18283 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18284 (RUN_TEST_LOOP_aa_f): New macro.
18285 (TEST_SUFF): New macro.
18286 (TEST_SUFF_STR): Likewise.
18287 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18288 (TEST_COND_any_ibm128): New macro.
18289 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18290 this_func. Update call to init_max_error.
18291 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18292 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18293 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18294 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18295 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18296 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18297 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18298 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18299 * math/test-math-vector.h (TEST_NARROW): Likewise.
18300 * math/test-arg-double.h: New file.
18301 * math/test-arg-float128.h: Likewise.
18302 * math/test-arg-float32x.h: Likewise.
18303 * math/test-arg-float64.h: Likewise.
18304 * math/test-arg-float64x.h: Likewise.
18305 * math/test-arg-ldouble.h: Likewise.
18306 * math/test-math-narrow.h: Likewise.
18307 * math/test-narrow-macros.c: Likewise.
18308 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18309 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18310 test-narrow-macros-ldbl-64.
18311 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18312
63716ab2
JM
18313 * math/bits/mathcalls-narrow.h: New file.
18314 * include/bits/mathcalls-narrow.h: Likewise.
18315 * math/math-narrow.h: Likewise.
18316 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18317 (__MATHCALL_NARROW_ARGS_2): Likewise.
18318 (__MATHCALL_NARROW_ARGS_3): Likewise.
18319 (__MATHCALL_NARROW_NORMAL): Likewise.
18320 (__MATHCALL_NARROW_REDIR): Likewise.
18321 (__MATHCALL_NARROW): Likewise.
18322 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18323 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18324 defined.
18325 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18326 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18327 (libm-narrow-fns): New variable.
18328 (libm-narrow-types-basic): Likewise.
18329 (libm-narrow-types-ldouble-yes): Likewise.
18330 (libm-narrow-types-float128-yes): Likewise.
18331 (libm-narrow-types-float128-alias-yes): Likewise.
18332 (libm-narrow-types): Likewise.
18333 (libm-routines): Add narrowing functions.
18334 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18335 (libc_feholdexcept_setroundf128): New macro.
18336 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18337 * sysdeps/ieee754/float128/float128_private.h: Include
18338 <math/math-narrow.h>.
18339 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18340 Undefine and redefine.
18341 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18342 (libm_alias_float_ldouble): Undefine and redefine.
18343 (libm_alias_double_ldouble): Likewise.
18344
bfd47587
JM
18345 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18346
3f8d9d58
WD
183472018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18348
18349 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18350 FPCR/FPSR.
18351
1f6676d7
RJ
183522018-02-09 Rical Jasan <ricaljasan@pacific.net>
18353
18354 * manual/creature.texi: Convert references to gcc.info to gcc.
18355 * manual/stdio.texi: Likewise.
18356 * manual/string.texi: Likewise.
18357
d80441dd
JM
183582018-02-07 Joseph Myers <joseph@codesourcery.com>
18359
15081be9
JM
18360 [BZ #17979]
18361 * posix/bits/types.h (__int_least8_t): New typedef.
18362 (__uint_least8_t): Likewise.
18363 (__int_least16_t): Likewise.
18364 (__uint_least16_t): Likewise.
18365 (__int_least32_t): Likewise.
18366 (__uint_least32_t): Likewise.
18367 (__int_least64_t): Likewise.
18368 (__uint_least64_t): Likewise.
18369 * sysdeps/generic/stdint.h (int_least8_t): Define using
18370 __int_least8_t.
18371 (int_least16_t): Define using __int_least16_t.
18372 (int_least32_t): Define using __int_least32_t.
18373 (int_least64_t): Define using __int_least64_t.
18374 (uint_least8_t): Define using __uint_least8_t.
18375 (uint_least16_t): Define using __uint_least16_t.
18376 (uint_least32_t): Define using __uint_least32_t.
18377 (uint_least64_t): Define using __uint_least64_t.
18378 * wcsmbs/uchar.h: Include <bits/types.h>.
18379 (char16_t): Define using __uint_least16_t conditional only on
18380 [!__USE_ISOCXX11].
18381 (char32_t): Define using __uint_least32_t conditional only on
18382 [!__USE_ISOCXX11].
18383 * wcsmbs/test-char-types.c: New file.
18384 * wcsmbs/Makefile (tests): Add test-char-types.
18385
d80441dd
JM
18386 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18387 version to 4.0.1.
18388
6c6c962a
ZW
183892018-02-07 Zack Weinberg <zackw@panix.com>
18390
63fb8f9a
ZW
18391 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18392 Delete all contents except for definitions of _G_HAVE_MMAP and
18393 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18394 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18395 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18396 change as above.
18397
18398 * libio/libio.h: Don't include bits/_G_config.h here.
18399 Include stddef.h with __need_wchar_t defined. Include
18400 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18401 Define _IO_iconv_t here, directly.
18402 Don't define _IO_HAVE_ST_BLKSIZE.
18403 * libio/libioP.h: Include _G_config.h here. Move include of
18404 shlib-compat.h up with rest of includes. Simplify conditionals
18405 controlling definition of _IO_JUMPS_OFFSET.
18406
18407 * csu/init.c: Remove always-true #if around entire file.
18408 Don't include stdio.h. Set _IO_stdin_used to hardwired
18409 constant 0x20001, and update commentary.
18410 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18411 Replace all uses of _G_va_list with __gnuc_va_list.
18412 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18413 instead of #if _IO_HAVE_ST_BLKSIZE.
18414 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18415 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18416 not #ifdef.
18417
6c6c962a
ZW
18418 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18419 multiple-include guard to match.
18420 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18421 into this file.
18422 Remove preprocessor conditionals that are always true and/or
18423 redundant to other preprocessor conditionals in the same nest.
18424 Include shlib-compat.h unconditionally.
18425 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18426 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18427 defined after including stdio.h.
18428 Use __BEGIN_DECLS/__END_DECLS.
18429
18430 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18431 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18432 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18433
a4fea3f2
ZW
184342018-02-07 Zack Weinberg <zackw@panix.com>
18435
18436 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18437 New single-type headers split from _G_config.h.
18438 * libio/bits/types/cookie_io_functions_t.h
18439 * libio/bits/types/struct_FILE.h
18440 New single-type headers split from libio.h.
18441
18442 * libio/Makefile: Install the above new headers. Don't install
18443 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18444 bits/libio-ldbl.h.
18445 * libio/_G_config.h, libio/libio.h: Delete file.
18446
18447 * libio/bits/libio.h: Remove improper-inclusion guard.
18448 Include stdio.h and don't repeat anything that it does.
18449 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18450 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18451 __io_read_fn as cookie_read_function_t,
18452 __io_write_fn as cookie_write_function_t,
18453 __io_seek_fn as cookie_seek_function_t,
18454 __io_close_fn as cookie_close_function_t,
18455 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18456 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18457 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18458 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18459 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18460 and _IO_ferror_unlocked.
18461 Move prototypes of __uflow and __overflow...
18462
18463 * libio/stdio.h: ...here. Don't include bits/libio.h.
18464 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18465 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18466 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18467 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18468 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18469 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18470 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18471 __ssize_t, not _IO_ssize_t. Unconditionally define
18472 BUFSIZ as 8192 and EOF as (-1).
18473
18474 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18475 macros from bits/types/struct_FILE.h instead of _IO_* macros
18476 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18477 instead of _IO_ssize_t.
18478 * libio/bits/stdio2.h: Similarly.
18479
18480 * libio/iolibio.h: Add multiple-include guard.
18481 Include bits/libio.h after stdio.h.
18482 * libio/libioP.h: Add multiple-include guard.
18483 Include stdio.h and bits/libio.h before iolibio.h.
18484
6c6c962a 18485 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18486 * include/bits/types/cookie_io_functions_t.h
18487 * include/bits/types/struct_FILE.h: New wrappers.
18488
18489 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18490 Get definitions of _G_fpos_t and _G_fpos64_t from
18491 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18492 respectively. Remove improper-inclusion guards.
a4fea3f2 18493
6c6c962a 18494 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18495 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18496 libio.h and _G_config.h.
a4fea3f2 18497
ce999220
JM
184982018-02-07 Joseph Myers <joseph@codesourcery.com>
18499
8b4a1182
JM
18500 [BZ #15105]
18501 [BZ #19463]
18502 * include/sys/sysmacros.h [!_ISOMAC]
18503 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18504 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18505 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18506 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18507 libc_hidden_proto.
18508 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18509 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18510 Likewise.
18511 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18512 Undefine and redefine to add use __gnu_dev_ prefix.
18513 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18514 Likewise.
18515 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18516 and define as hidden inline function.
18517 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18518 Likewise.
18519 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18520 Likewise.
18521 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18522 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18523 (gnu_dev_minor): Likewise.
18524 (gnu_dev_makedev): Likewise.
18525 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18526 makedev.
18527 * posix/wordexp.c (exec_comm_child): Likewise.
18528 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18529 instead of minor and __gnu_dev_major instead of major.
18530 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18531 __gnu_dev_major instead of major.
18532 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18533 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18534 instead of gnu_dev_minor.
18535 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18536 (SLAVE_P): Likewise.
18537 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18538 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18539 instead of major.
18540
ce999220
JM
18541 [BZ #21313]
18542 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18543 in another place.
18544 * locale/weightwc.h (findidx): Likewise.
18545
b7c83ca3
WD
185462018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18547
18548 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18549 (slowlog_inexact): Likewise
18550 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18551 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18552
388ff7bd
IG
185532018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18554
18555 [BZ #22797]
18556 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18557 missing second underscore to parameter name.
18558
663e7d78
JM
185592018-02-06 Joseph Myers <joseph@codesourcery.com>
18560
0d40d0ec
JM
18561 [BZ #14508]
18562 [BZ #15512]
18563 [BZ #17082]
18564 [BZ #20530]
18565 * bits/byteswap.h: Update file comment. Do not include
18566 <bits/byteswap-16.h>.
18567 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18568 constant.
18569 (__bswap_16): Define as inline function.
18570 (__bswap_constant_32): Reformat definition.
18571 (__bswap_32): Always define as inline function, not macro, using
18572 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18573 otherwise __bswap_constant_32.
18574 (__bswap_constant_64): Reformat definition. Do not use
18575 __extension__ here.
18576 (__bswap_64): Always define as inline function, not macro. Use
18577 __extension__ on function definition. Use __builtin_bswap64 if
18578 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18579 * string/test-endian-file-scope.c: New file.
18580 * string/test-endian-sign-conversion.c: Likewise.
18581 * string/Makefile (headers): Remove bits/byteswap-16.h.
18582 (tests): Add test-endian-file-scope and
18583 test-endian-sign-conversion.
18584 (CFLAGS-test-endian-sign-conversion.c): New variable.
18585 * bits/byteswap-16.h: Remove file.
18586 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18587 * sysdeps/ia64/bits/byteswap.h: Likewise.
18588 * sysdeps/m68k/bits/byteswap.h: Likewise.
18589 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18590 * sysdeps/s390/bits/byteswap.h: Likewise.
18591 * sysdeps/tile/bits/byteswap.h: Likewise.
18592 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18593 * sysdeps/x86/bits/byteswap.h: Likewise.
18594
383e87c9
JM
18595 [BZ #17721]
18596 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18597 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18598 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18599 199901L] (__restrict): Define to restrict.
18600
d92c2759
JM
18601 [BZ #19667]
18602 * string/testcopy.c: Include <support/support.h>. Do not include
18603 <malloc.h>. Use <support/test-driver.c>.
18604 (main): Rename to do_test. Make static. Use xmalloc instead of
18605 malloc.
18606
625fb764
JM
18607 [BZ #13575]
18608 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18609 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18610 (SSIZE_MAX): Define to INT_MAX.
18611 * posix/test-ssize-max.c: New file.
18612 * posix/Makefile (tests): Add test-ssize-max.
18613
02325d6c
JM
18614 [BZ #19668]
18615 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18616 <support/support.h>. Do not include <malloc.h>.
18617 (query_auxv): Use xmalloc instead of malloc.
18618
663e7d78
JM
18619 [BZ #14553]
18620 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18621 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18622 instead of loff_t.
18623
6b5c8607 186242018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18625
18626 [BZ #18023]
18627 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18628 Use scratch_buffer instead of extend_alloca.
18629
de6da571
ZW
186302018-02-06 Zack Weinberg <zackw@panix.com>
18631
26c07172
ZW
18632 * libio/stdio.h: Don't define getc or putc as macros.
18633 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18634 not _IO_getc and _IO_putc.
18635
de6da571
ZW
18636 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18637 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18638
92669d6e
JM
186392018-02-06 Joseph Myers <joseph@codesourcery.com>
18640
c2b84df9
JM
18641 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18642 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18643
41376f8c
JM
18644 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18645
d28bf648
JM
18646 [BZ #14890]
18647 * elf/elf.h (NT_PRFPREG): New macro.
18648 (NT_S390_VXRS_LOW): Likewise.
18649 (NT_S390_VXRS_HIGH): Likewise.
18650 (NT_S390_GS_CB): Likewise.
18651 (NT_S390_GS_BC): Likewise.
18652 (NT_S390_RI_CB): Likewise.
18653
e76def72
JM
18654 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18655 (MAP_SYNC): New macro.
18656 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18657 Likewise.
18658 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18659 (MAP_SYNC): Likewise.
18660 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18661 (MAP_SYNC): Likewise.
18662 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18663 (MAP_SYNC): Likewise.
18664 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18665 (MAP_SYNC): Likewise.
18666 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18667 (MAP_SYNC): Likewise.
18668 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18669 (MAP_SYNC): Likewise.
18670 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18671 Likewise.
18672 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18673 Likewise.
18674
92669d6e
JM
18675 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18676 (MAP_SHARED_VALIDATE): New macro.
18677 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18678 (MAP_SHARED_VALIDATE): Likewise.
18679
6a5cac49
L
186802018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18681
18682 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18683 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18684 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18685
b44e0dfb
L
186862018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18687
18688 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18689 (DT_NUM): Updated to 35.
18690
f886c16c
L
186912018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18692
18693 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18694 __builtin_expect with __glibc_likely and __glibc_unlikely.
18695 (elf_machine_rela): Likewise.
18696 (elf_machine_lazy_rel): Likewise.
18697
06fbebff
L
186982018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18699
18700 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18701 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18702 (elf_machine_lazy_rel): Likewise.
18703
371b220f
L
187042018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18705
18706 [BZ #22638]
18707 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18708 SHARED.
65805016 18709 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18710
f649a1b8
AS
187112018-02-05 Andreas Schwab <schwab@suse.de>
18712
18713 [BZ #22761]
18714 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18715 string.
18716
9fdb340e
ST
187172018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18718
18719 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18720 not check against PTHREAD_STACK_MIN.
18721
09e56b9e
SM
187222018-02-02 Sean McKean <smckean83@gmail.com>
18723
18724 [BZ #22735]
18725 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18726
d4b4a00a
FW
187272018-02-02 Florian Weimer <fweimer@redhat.com>
18728
18729 [BZ #22753]
18730 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18731 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18732 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18733 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18734 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18735 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18736 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18737 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18738 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18739 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18740 * misc/tst-preadvwritev2.c (do_test): Call it.
18741 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18742
3dfcbfa1
SP
187432018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18744
84c94d2f
SP
18745 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18746
96e6a716
SP
18747 * benchtests/bench-memcmp.c: Print json instead of plain text.
18748
3dfcbfa1
SP
18749 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18750 every test run.
18751
049375e2
JM
187522018-02-01 Joseph Myers <joseph@codesourcery.com>
18753
39f898c6
JM
18754 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18755 version to 4.15.
18756 (s390_sthyi): New syscall.
18757
6f9a3dd8
JM
18758 * sysdeps/generic/ldbl-classify-compat.h: New file.
18759 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18760 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18761 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18762 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18763 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18764 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18765 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18766 <ldbl-classify-compat.h>.
18767 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18768 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18769 <ldbl-classify-compat.h>.
18770 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18771 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18772 <ldbl-classify-compat.h>.
18773 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18774 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18775 <ldbl-classify-compat.h>.
18776 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18777 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18778 <ldbl-classify-compat.h>.
18779 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18780 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18781 <ldbl-classify-compat.h>.
18782 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18783 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18784 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18785 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18786 * sysdeps/microblaze/math_private.h: Likewise.
18787 * sysdeps/nios2/math_private.h: Likewise.
18788 * sysdeps/sh/math_private.h: Likewise.
18789
eb65a3d5
JM
18790 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18791 * sysdeps/m68k/coldfire/math_private.h: ... here.
18792 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18793 * sysdeps/tile/math_private.h: Likewise.
18794 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18795 Remove macro.
18796 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18797 Likewise.
18798
8a6bb1d0
JM
18799 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18800 Remove macro.
18801 (libc_fetestexcept): Likewise.
18802 (libc_feupdateenv_test): Likewise.
18803 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18804 (libc_fetestexcept): Likewise.
18805 (libc_feupdateenv_test): Likewise.
18806 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18807 (libc_fetestexcept): Likewise.
18808 (libc_feupdateenv_test): Likewise.
18809 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18810 (libc_fetestexcept): Likewise.
18811 (libc_feupdateenv_test): Likewise.
18812
ae1fcb7b
JM
18813 * sysdeps/generic/math_private.h
18814 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18815 New inline function.
18816 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18817 Likewise.
18818
b1c347e2
JM
18819 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18820 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18821 * sysdeps/generic/math_private.h
18822 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18823 inline function.
18824 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18825 Likewise.
18826 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18827 Likewise.
18828 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18829 Likewise.
18830 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18831 Likewise.
18832 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18833 Likewise.
18834 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18835 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18836 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18837 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18838 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18839 (__fegetenv): Likewise.
18840 (fesetenv): Likewise.
18841 (__fesetenv): Likewise.
18842 (feupdateenv): Likewise.
18843 (__feupdateenv): Likewise.
18844 (fegetround): Likewise.
18845 (__fegetround): Likewise.
18846 (fesetround): Likewise.
18847 (__fesetround): Likewise.
18848
d23a4962
JM
18849 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18850 (feraiseexcept): New macro.
18851 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18852 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18853 Remove macro.
18854 (__feraiseexcept): Likewise.
18855 (feclearexcept): Likewise.
18856 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18857 (__feraiseexcept): Likewise.
18858 (feclearexcept): Likewise.
18859 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18860 (__feraiseexcept): Likewise.
18861 (feclearexcept): Likewise.
18862 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18863 (__feraiseexcept): Likewise.
18864 (feclearexcept): Likewise.
18865 (fetestexcept): Likewise.
18866
5f167950
JM
18867 * sysdeps/m68k/coldfire/math-tests.h: New file.
18868
ccc9035a
JM
18869 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18870 * sysdeps/m68k/bits/fenv.h: ... here.
18871 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18872 not define.
18873 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18874 Likewise.
18875 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18876 Likewise.
18877 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18878 Likewise.
18879 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18880 Likewise.
18881 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18882 Define to 0.
18883 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18884 (__FE_UNDEFINED): New enum constant.
18885 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18886 Do not define.
18887 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18888 Likewise.
18889 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18890 Likewise.
18891 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18892 to match generic bits/fenv.h.
18893 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18894 Do not define.
18895
049375e2
JM
18896 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18897 packed on bits.
18898 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18899 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18900 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18901 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18902
f1d73681
CD
189032018-02-01 Carlos O'Donell <carlos@redhat.com>
18904 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18905 Joseph Myers <joseph@codesourcery.com>
18906
18907 [BZ #21314]
18908 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18909 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18910 computation using c.
18911 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18912 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18913 computation using c.
18914
242cbc90
DL
189152018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18916
086ee48e
DL
18917 * version.h (RELEASE): Set to "development".
18918 (VERSION): Set to "2.27.9000".
18919 * NEWS (2.28): New section.
18920
23158b08
DL
18921 * version.h (RELEASE): Set to "stable".
18922 (VERSION): Set to "2.27".
18923 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18924
242cbc90
DL
18925 * NEWS: Add the list of bugs fixed in 2.27.
18926
673e2305
AZ
189272018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18928
18929 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18930 against PTHREAD_STACK_MIN.
18931
ced64e01
DL
189322018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18933
18934 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18935 New entries.
18936 (Rafal Luzynski, Andreas Schwab): Update.
18937
c10c9a5e
RL
189382018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18939
18940 [BZ #10871]
18941 * NEWS: List the languages which actually use the alternative
18942 months feature in this release. Also explain that "alt_mon" and
18943 "ab_alt_mon" are optional.
18944
650ba77a
IM
189452018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18946
18947 [BZ #22765]
18948 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18949
93493119
DL
189502018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18951
18952 * manual/install.texi (Tools for Compilation): Update the newest
18953 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18954 * INSTALL: Regenerated.
18955
363e4519 189562018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18957
18958 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18959 instead of __builtin_expect.
18960
d7536874
FW
189612018-01-30 Florian Weimer <fweimer@redhat.com>
18962
18963 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18964 data.
18965 * nss/tst-nss-getpwent.c (do_test): Likewise.
18966
9a1b267d
RL
189672018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18968
18969 [BZ #10871]
18970 * localedata/locales/hr_HR (mon): Rename to...
18971 (alt_mon): This.
18972 (mon): Import from CLDR (genitive case).
18973 (d_t_fmt): Update the comment.
18974
9a179328
AS
189752018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18976
18977 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18978 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18979 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18980
e01e0ddc
ST
189812018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18982
18983 * mach/Versions: Fix version when __mach_host_self_ was added.
18984 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18985 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18986 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18987 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18988 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18989 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18990 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18991 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18992 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18993 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18994 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18995 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18996 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18997 || to respect codestyle.
2aadb705
ST
18998 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18999 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
19000 * malloc/malloc.c: Include <assert.h>.
19001 (assert): Do not define.
19002 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
19003 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
19004 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 19005 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 19006 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 19007
521877e1
PD
190082018-01-29 Darius Rad <darius@bluespec.com>
19009
19010 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19011
532cf290
PD
190122018-01-29 Palmer Dabbelt <palmer@sifive.com>
19013
19014 * sysdeps/init_array/crti.S (.section .init_array): Add
19015 PREINIT_FUNCTION when defined.
40ca951b 19016 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 19017 * config.h.in: Regenerate.
ba9e25a6
PD
19018 * manual/platform.texi: Add RISC-V documenation for
19019 __riscv_flush_icache.
c776fa11
PD
19020 * sysdeps/riscv/__longjmp.S: New file.
19021 * sysdeps/riscv/backtrace.c: Likewise.
19022 * sysdeps/riscv/bits/endian.h: Likewise.
19023 * sysdeps/riscv/bits/setjmp.h: Likewise.
19024 * sysdeps/riscv/bits/wordsize.h: Likewise.
19025 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19026 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19027 * sysdeps/riscv/dl-trampoline.S: Likewise.
19028 * sysdeps/riscv/gccframe.h: Likewise.
19029 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19030 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19031 * sysdeps/riscv/machine-gmon.h: Likewise.
19032 * sysdeps/riscv/memusage.h: Likewise.
19033 * sysdeps/riscv/setjmp.S: Likewise.
19034 * sysdeps/riscv/sys/asm.h: Likewise.
19035 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
19036 * sysdeps/riscv/dl-tls.h: New file.
19037 * sysdeps/riscv/libc-tls.c: Likewise.
19038 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19039 * sysdeps/riscv/nptl/tls.h: Likewise.
19040 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
19041 * sysdeps/riscv/bits/fenv.h: New file.
19042 * sysdeps/riscv/e_sqrtl.c: Likewise.
19043 * sysdeps/riscv/fpu_control.h: Likewise.
19044 * sysdeps/riscv/math-tests.h: Likewise.
19045 * sysdeps/riscv/nofpu/Implies: Likewise.
19046 * sysdeps/riscv/sfp-machine.h: Likewise.
19047 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
19048 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19049 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19050 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19051 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19052 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19053 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19054 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19055 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19056 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19057 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19058 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19059 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19060 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19061 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19062 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19063 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19064 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19065 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19066 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19067 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19068 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19069 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19070 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19071 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19072 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19073 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19074 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19075 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19076 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19077 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19078 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19079 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19080 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19081 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19082 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19083 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19084 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19085 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19086 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19087 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19088 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19089 * sysdeps/riscv/rvf/math_private.h: Likewise.
19090 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19091 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19092 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19093 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19094 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19095 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19096 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19097 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19098 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19099 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19100 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19101 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19102 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19103 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19104 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19105 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19106 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19107 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19108 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19109 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19110 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19111 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19112 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19113 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19114 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19115 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19116 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19117 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19118 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19119 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19120 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19121 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19122 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19123 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19124 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19125 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19126 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19127 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19128 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19129 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19130 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19131 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19132 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19133 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19134 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19135 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19136 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19137 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19138 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19139 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19140 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19141 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19142 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19143 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19144 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19145 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19146 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19147 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19148 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19149 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19150 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19151 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19152 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19153 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19154 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19155 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19156 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19157 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19158 * sysdeps/riscv/Implies: New file.
19159 * sysdeps/riscv/Makefile: Likewise.
19160 * sysdeps/riscv/configure: Likewise.
19161 * sysdeps/riscv/configure.ac: Likewise.
19162 * sysdeps/riscv/nptl/Makefile: Likewise.
19163 * sysdeps/riscv/preconfigure: Likewise.
19164 * sysdeps/riscv/rv64/Implies-after: Likewise.
19165 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19166 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19167 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19168 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19169 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19170 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19171 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19172 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19173 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19174 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19175 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19176 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19177 (Config): Likewise.
532cf290 19178
cdd14619
FW
191792018-01-29 Florian Weimer <fweimer@redhat.com>
19180
19181 [BZ #22701]
19182 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19183 libnsl_hidden_proto.
19184 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19185 libnsl_hidden_proto.
19186 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19187 * nis/Makefile (libnsl-routines): Add nss-default only for
19188 build-obsolete-nsl.
19189 * nis/nis_defaults.c (__nis_default_ttl): Add
19190 libnsl_hidden_nolink_def.
19191 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19192 declaration.
19193 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19194 * nis/ypclnt.c (yp_maplist): Likewise.
19195
b7ccb5de
RN
191962018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19197
19198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19199 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19200
522623e4
JM
192012018-01-29 Joseph Myers <joseph@codesourcery.com>
19202
e3aa6999
JM
19203 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19204 clean -dxfq for git updates when replacing sources.
19205
088de7d0
JM
19206 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19207 --disable-libcilkrts unconditionally, not just for the final GCC
19208 build for Hurd.
19209
522623e4
JM
19210 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19211 version to 4.15.
19212
8b406f87
RL
192132018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19214
19215 [BZ #10871]
19216 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19217 case).
19218
105e90bd
RL
192192018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19220
19221 [BZ #10871]
19222 * localedata/locales/be_BY (mon): Rename to...
19223 (alt_mon): This, then synchronize with CLDR (nominative case).
19224 (abmon): Rename to...
19225 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19226 (mon): Import from CLDR (genitive case).
19227 (abmon): Likewise.
19228 * localedata/locales/be_BY@latin (mon): Rename to...
19229 (alt_mon): This.
19230 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19231
19232 * localedata/locales/be_BY@latin (lang_name): Reworded to
19233 "biełaruskaja mova".
19234
561cb414
RL
192352018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19236
19237 [BZ #10871]
19238 * localedata/locales/el_CY (mon): Renamed to...
19239 (alt_mon): This.
19240 (mon): Import from CLDR (genitive case).
19241 * localedata/locales/el_GR: Likewise.
19242
f7bdf30d
RL
192432018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19244
19245 [BZ #10871]
19246 * localedata/locales/ru_RU (mon): Rename to...
19247 (alt_mon): This.
19248 (abmon): Rename to...
19249 (ab_alt_mon): This.
19250 (mon): Import from CLDR (genitive case).
19251 (abmon): Copy from the old content except the 5th month which is
19252 now in the genitive case, even when abbreviated.
19253 * localedata/locales/ru_UA: Likewise.
19254 * time/tst-strptime.c (day_tests): Add an actual example of
19255 a difference between %b and %Ob in Russian.
19256
85285a0c
ST
192572018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19258
19259 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19260 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19261 a `c' variable.
3538a4b6 19262 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19263 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19264 <sys/wait.h>, <time.h>, <sys/uio.h>.
19265 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19266 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19267 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19268 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19269 return 0.
05ebfe87
ST
19270 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19271 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19272 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19273 instead of void *.
19274 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19275 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19276 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19277 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19278 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19279 and make them the default for now.
903d3633
ST
19280 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19281 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19282 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19283 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19284 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19285 MACH_IPC_COMPAT.
06fac9f5
ST
19286 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19287 __task_terminate would ever return successfully.
f8177753
ST
19288 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19289 to global scope.
41cdb1eb
ST
19290 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19291 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19292 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19293 critical section to make code simpler and avoid warning.
19294 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19295 critical section to make code simpler and avoid warning.
844bf921
ST
19296 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19297 const char * instead of char *.
f8bee46c
ST
19298 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19299 __hurd_file_name_split, hurd_file_name_split,
19300 __hurd_directory_name_split, hurd_directory_name_split,
19301 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19302 hurd_file_name_path_lookup): Make lookup function parameter take a
19303 const char *name instead of char *name.
19304 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19305 __hurd_directory_name_split): Likewise.
19306 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19307 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19308 * sysdeps/mach/hurd/check_native.c: New file.
19309 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19310 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19311 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19312 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19313 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19314 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19315 (do_test_bz20181): Rename accordingly.
19316 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19317 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19318 <sys/mount.h>.
28f6186f
ST
19319 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19320 version only if __USE_EXTERN_INLINES is defined.
19321 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19322 __hurd_sockfail): Likewise.
19323 (_hurd_fd_get): Always declare functions, and provide inline versions
19324 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19325 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19326 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19327 _hurd_port_set): Always declare functions, and provide inline versions
19328 only if __USE_EXTERN_INLINES and _LIBC are defined and
19329 IS_IN(libc).
19330 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19331 _hurd_critical_section_unlock): Likewise.
19332 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19333 * __hurd_threadvar_location): Likewise.
19334 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19335 _hurd_userlink_clear): Likewise.
19336 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19337 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19338 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19339 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19340 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19341 __spin_lock_locked): Likewise.
19342 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19343 __spin_lock_locked): Likewise.
19344 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19345 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19346 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19347 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19348 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19349 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19350 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19351 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19352 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19353 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19354 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19355 * mach/Makefile (user-interfaces): Add mach/gnumach.
19356 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19357 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19358 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19359 instead of invalid -1.
1f89ac71
ST
19360 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19361 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19362 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19363 <net/ppp_defs.h>.
85285a0c 19364
1fd1e27c 193652018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19366
19367 * hurd/fcntl-internal.h: New file.
19368
3854c5a8
JC
193692018-01-27 James Clarke <jrtc27@jrtc27.com>
19370
7e23a7dd
JC
19371 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19372
3854c5a8
JC
19373 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19374
5503f413
AS
193752018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19376
19377 [BZ #22701]
19378 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19379 Build only shared objects.
19380
caaf7804
CD
193812018-01-26 Carlos O'Donell <carlos@redhat.com>
19382
19383 * README: Update for hppa.
19384
1cbf818d
PM
193852018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19386
caaf7804
CD
19387 * sysdeps/sparc/fpu/libm-test-ulps: Update
19388 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19389
caaf7804 193902018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19391
19392 Revert:
19393
19394 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19395
19396 [BZ #22563]
19397 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19398 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19399 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19400 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19401 to feature_1.
19402
19403 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19404
19405 [BZ #22563]
19406 * bits/types/__cancel_jmp_buf_tag.h: New file.
19407 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19408 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19409 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19410 * nptl/Makefile (headers): Add
19411 bits/types/__cancel_jmp_buf_tag.h.
19412 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19413 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19414 * sysdeps/nptl/pthread.h: Include
19415 <bits/types/__cancel_jmp_buf_tag.h>.
19416 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19417 __cancel_jmp_buf.
19418 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19419
65f6c94e
RL
194202018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19421
19422 [BZ #10871]
19423 * localedata/locales/uk_UA (mon): Renamed to...
19424 (alt_mon): This.
19425 (alt_digits): "0" removed and then renamed to...
19426 (mon): This.
19427 (date_fmt): Definition changed not to use the alternative
19428 digits hack.
19429
fb58aac5
PD
194302018-01-25 Palmer Dabbelt <palmer@sifive.com>
19431
19432 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19433 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19434 * elf/elf.h (EF_RISCV_RVC): New define.
19435 (EF_RISCV_FLOAT_ABI): Likewise.
19436 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19437 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19438 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19439 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19440 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19441 define.
19442 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19443
128c43a2
AS
194442018-01-25 Andreas Schwab <schwab@suse.de>
19445
19446 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19447 single quotes.
19448 * sysdeps/gnu/configure: Regenerate.
19449 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19450 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19452 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19453 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19454 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19455 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19456 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19457
f9015003
ST
194582018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19459
48130690 19460 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19461 URL, and run autoconf, make it the default for now.
f9015003 19462
91b2cffa
JM
194632018-01-24 Joseph Myers <joseph@codesourcery.com>
19464
3005b705
JM
19465 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19466 soft-float ColdFire configuration.
19467
69231fab
JM
19468 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19469 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19470 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19471
d4c7e1d0
JM
19472 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19473 MicroBlaze file.
19474
0cfe5be5
JM
19475 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19476 ....
19477 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19478 ... here.
19479 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19480 New file.
19481
91b2cffa
JM
19482 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19483 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19484 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19485 file.
19486
c739e191
SN
194872018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19488
19489 [BZ #22742]
19490 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19491 Rename to __reserved and add comment.
19492 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19493 Rename to __reserved.
19494
394b5bac
JM
194952018-01-24 Joseph Myers <joseph@codesourcery.com>
19496
19497 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19498 i686-gnu configurations.
19499 (Context.run_builds): Include mig, gnumach and hurd in components
19500 considered.
19501 (Context.checkout): Add mig, gnumach and hurd to components.
19502 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19503 hurd.
19504 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19505 (Config.build): Install gnumach headers, build mig and install
19506 hurd headers for 'gnu' OS.
19507 (Config.install_gnumach_headers): New function.
19508 (Config.install_hurd_headers): Likewise.
19509 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19510 when building for 'gnu' OS.
19511
28c3f14f
TK
195122018-01-23 Tobias Klauser <tklauser@distanz.ch>
19513
19514 * manual/tunables.texi (Hardware Capability Tunables): Fix
19515 spelling.
19516
0f5e2da1
RJ
195172018-01-22 Rical Jasan <ricaljasan@pacific.net>
19518
19519 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19520 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19521 (ALTMON_11, ALTMON_12): Improve documentation.
19522 * manual/time.texi (strftime): Likewise.
19523
7817b14a
RL
195242018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19525
19526 [BZ #10871]
19527 * localedata/locales/pl_PL: Alternative month names added,
19528 primary month names are genitive now.
19529 * time/tst-strptime.c (day_tests): Actually use a genitive case
19530 of a month name in Polish language.
19531
22390764
RL
195322018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19533
19534 [BZ #10871]
19535 * manual/locale.texi: Document ALTMON_1..12 constants for
19536 nl_langinfo. Specify when to use ALTMON instead of MON.
19537 * manual/time.texi (strftime, strptime): Document GNU extension
19538 permitting O modifier with %B and %b. Specify when to use
19539 %OB instead of %B.
19540
761a585c
RL
195412018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19542
19543 [BZ #10871]
19544 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19545 names, define them as the same as abbreviated month names explicitly.
19546 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19547 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19548 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19549 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19550 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19551 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19552 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19553 _NL_WABALTMON_12): New enum constants.
19554 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19555 wab_alt_mon, and ab_alt_mon_defined members.
19556 (time_output): Output ab_alt_mon and wab_alt_mon members.
19557 (time_read): Read them, initialize them as copies of abmon and wabmon
19558 respectively if they are missing, initialize ab_alt_mon_defined.
19559 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19560 * locale/programs/locfile-kw.h: Regenerate.
19561 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19562 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19563 and ru_RU.UTF-8.
19564 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19565 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19566 (__strftime_internal): Handle %Ob and %Oh formats.
19567 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19568 (__strptime_internal): Handle %Ob and %Oh formats.
19569 * time/tst-strptime.c (day_tests): Add more tests to parse different
19570 forms of month names including the new %Ob format specifier.
19571
95cb863a
RL
195722018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19573
19574 [BZ #10871]
19575 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19576 define them as the same as primary full month names explicitly.
19577 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19578 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19579 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19580 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19581 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19582 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19583 _NL_WALTMON_12): New enum constants.
19584 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19585 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19586 macros.
19587 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19588 walt_mon, and alt_mon_defined members.
19589 (time_output): Output alt_mon and walt_mon members.
19590 (time_read): Read them, initialize them as copies of mon and wmon
19591 respectively if they are missing, initialize alt_mon_defined.
19592 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19593 * locale/programs/locfile-kw.h: Regenerate.
19594 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19595 * localedata/tst-langinfo.c (map): Add tests for the new constants
19596 ALTMON_1 .. ALTMON_12.
19597 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19598 and pl_PL.UTF-8.
19599 * time/strftime_l.c (f_altmonth): New macro.
19600 (__strftime_internal): Handle %OB format.
19601 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19602 (__strptime_internal): Handle %OB format.
19603 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19604 of month names including the new %OB format specifier.
19605
4612268a
TMQMF
196062018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19607
19608 [BZ #22685]
19609 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19610 from ABORT_TRANSACTION.
19611 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19612 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19613 ABORT_TRANSACTION_IMPL): Likewise.
19614 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19615 Linux code, but remove the code that aborts transactions.
19616
64f63cb4
ST
196172018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19618
19619 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19620
32ac6e92
RL
196212018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19622
19623 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19624 in date: "2004-14-09" should be "2004-09-14".
19625 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19626 "2003-15-09" should be "2003-09-15".
19627
8e448310
AS
196282018-01-18 Arjun Shankar <arjun@redhat.com>
19629
19630 [BZ #22343]
71aa429b 19631 [BZ #22774]
4590634f 19632 CVE-2018-6485
71aa429b 19633 CVE-2018-6551
8e448310
AS
19634 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19635 after padding.
19636 (_int_memalign): check for integer overflow before calling
19637 _int_malloc.
19638 * malloc/tst-malloc-too-large.c: New test.
19639 * malloc/Makefile: Add tst-malloc-too-large.
19640
e234d7cb
RL
196412018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19642
19643 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19644 in date: "2017-24-07" should be "2017-07-24".
19645 * localedata/locales/mai_IN: Likewise.
19646 * localedata/locales/mai_NP: Likewise.
19647
48b66019
DL
196482018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19649
19650 * po/ru.po: Update translations.
19651
1eeddc58
JM
196522018-01-17 Joseph Myers <joseph@codesourcery.com>
19653
19654 [BZ #22719]
19655 * sysdeps/hppa/backtrace.c: New file.
19656
207a72e2
L
196572018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19658
19659 [BZ #22715]
19660 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19661 align La_x86_64_retval to VEC_SIZE.
19662
4942c4ea
JM
196632018-01-16 Joseph Myers <joseph@codesourcery.com>
19664
19665 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19666 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19667
10d200db
FW
196682018-01-16 Florian Weimer <fweimer@redhat.com>
19669
19670 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19671 Move tst-thread-exit-clobber ...
19672 [$(CXX)] (tests-unsupported): ... to here.
19673
953c49cc
SN
196742018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19675
19676 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19677 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19678 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19679 (_dl_aarch64_cap_flags): Update.
19680 (_DL_HWCAP_COUNT): Update.
19681
afce1991
SN
196822018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19683
19684 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19685 (_DL_HWCAP_LAST): Remove.
19686 (_DL_HWCAP_COUNT): Move to ...
19687 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19688 (_DL_HWCAP_COUNT): ... here.
19689
b725132d
FW
196902018-01-16 Florian Weimer <fweimer@redhat.com>
19691
19692 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19693 mode with GNU extensions.
19694
c9e613a7
AH
196952018-01-15 Alan Hayward <alan.hayward@arm.com>
19696
19697 * elf/elf.h (NT_ARM_SVE): Define.
19698
860b0240
FW
196992018-01-15 Florian Weimer <fweimer@redhat.com>
19700
19701 [BZ #22636]
19702 * nptl/tst-minstack-throw.cc: New file.
19703 * nptl/Makefile (tests): Add tst-minstack-throw.
19704 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19705 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19706
16d0f6ac
JM
197072018-01-15 Joseph Myers <joseph@codesourcery.com>
19708
19709 * scripts/build-many-glibcs.py (Context.checkout): Default
19710 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19711 version to 1.1.0.
19712
505d3910
CD
197132018-01-13 Carlos O'Donell <carlos@redhat.com>
19714
19715 [BZ #22707]
19716 * elf/elf.h (DF_1_STUB): Define.
19717 (DF_1_PIE): Define.
19718
af1e6be4
TMQMF
197192018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19720
19721 [BZ #22697]
19722 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19723 Do not add 0.5 to integer or out-of-range arguments.
19724
98d13ce0
DL
197252018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19726
19727 * po/bg.po: Update translations.
19728 * po/cs.po: Likewise.
19729 * po/de.po: Likewise.
19730 * po/ko.po: Likewise.
19731 * po/pl.po: Likewise.
19732 * po/sv.po: Likewise.
19733 * po/uk.po: Likewise.
19734 * po/vi.po: Likewise.
19735
3d1d7928
SN
197362018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19737
19738 * aarch64/start.S (_start): Use __wrap_main.
19739 (__wrap_main): New local symbol.
19740
52a713fd
DL
197412018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19742
19743 [BZ #22679]
19744 CVE-2018-1000001
19745 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19746 generic_getcwd if the path returned by getcwd syscall is not absolute.
19747 * io/tst-getcwd-abspath.c: New test.
19748 * io/Makefile (tests): Add tst-getcwd-abspath.
19749
249a5895
IK
197502018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19751
19752 * malloc/malloc.c (malloc_consolidate): Add size check.
19753
1a51e46e
FW
197542018-01-12 Florian Weimer <fweimer@redhat.com>
19755
19756 * support/write_message.c (write_message): Preserve errno.
19757 * support/check.c (print_failure): Likewise.
19758 * support/support_test_verify_impl.c (support_test_verify_impl):
19759 Likewise.
19760 * support/support_test_compare_failure.c
19761 (support_test_compare_failure): Likewise.
19762
9a08a366
FW
197632018-01-12 Florian Weimer <fweimer@redhat.com>
19764
19765 [BZ #22701]
19766 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19767 Prevent installation of libnsl.so.
19768 (libnsl-inhibit-o): Do not build (or install) static libraries.
19769
80647883 197702018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19771
19772 [BZ #22657]
19773 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19774 before the day number which may produce a double space.
19775 (date_fmt): Likewise.
19776
c8924f1f
JM
197772018-01-12 Joseph Myers <joseph@codesourcery.com>
19778
19779 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19780 instead of fegetenv.
19781
da09e6fa
JM
197822018-01-11 Joseph Myers <joseph@codesourcery.com>
19783
19784 [BZ #22702]
19785 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19786 comment to say exceptions are discarded.
19787 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19788 __fegetenv.
19789 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19790 be enabled.
19791
08c6e952
FW
197922018-01-11 Florian Weimer <fweimer@redhat.com>
19793
19794 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19795 and error message.
19796
d8b77890
FW
197972018-01-11 Florian Weimer <fweimer@redhat.com>
19798
19799 [BZ #22636]
19800 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19801 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19802
b303185d
JM
198032018-01-10 Joseph Myers <joseph@codesourcery.com>
19804
19805 [BZ #22693]
19806 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19807 negative arguments in test for NaN or infinity argument.
19808
ee61d028
DL
198092018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19810
19811 * po/libc.pot: Regenerate.
19812
f993b875
FW
198132018-01-10 Florian Weimer <fweimer@redhat.com>
19814
19815 [BZ #22636]
19816 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19817 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19818
09085ede
ST
198192018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19820
19821 * hurd/hurd/fd.h: Include <fcntl.h>
19822 (__hurd_at_flags): New function.
19823 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19824 with call to __hurd_at_flags.
19825 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19826 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19827 __faccessat
19828 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19829 (__access_noerrno): Use __faccessat_common instead of access_common.
19830 (__access): Likewise.
19831 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19832 with a call to __faccessat.
19833 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19834 (__faccessat_common): ... this. Move implementation of __access into it when
19835 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19836 reauthenticate_cwdir_at helper to implement AT mechanism.
19837 (__faccessat_noerrno): New function, just calls __faccessat_common.
19838 (__faccessat): New function, just calls __faccessat_common.
19839 (faccessat): Define weak alias.
19840
12727488
JM
198412018-01-10 Joseph Myers <joseph@codesourcery.com>
19842
87faac55
JM
19843 [BZ #22691]
19844 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19845 (CFLAGS-s_fmaxmagl.c): New variable.
19846 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19847
12727488
JM
19848 [BZ #22690]
19849 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19850 long int for arguments of possibly overflowing addition or
19851 subtraction.
19852 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19853
e134ca17
JM
198542018-01-09 Joseph Myers <joseph@codesourcery.com>
19855
b2584ac2
JM
19856 [BZ #22688]
19857 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19858 (CFLAGS-e_remainderl.c): New variable.
19859
e134ca17
JM
19860 [BZ #22687]
19861 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19862 variable.
19863 (CFLAGS-s_cacoshl.c): Likewise.
19864 (CFLAGS-s_casinhl.c): Likewise.
19865 (CFLAGS-s_catanl.c): Likewise.
19866 (CFLAGS-s_catanhl.c): Likewise.
19867 (CFLAGS-s_cexpl.c): Likewise.
19868 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19869 (CFLAGS-s_csinhl.c): Likewise.
19870 (CFLAGS-s_clogl.c): Likewise.
19871 (CFLAGS-s_clog10l.c): Likewise.
19872 (CFLAGS-s_csinl.c): Likewise.
19873 (CFLAGS-s_csqrtl.c): Likewise.
19874
d31a4a48
ST
198752017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
198762017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19877
19878 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19879 (_hurd_exec_paths): New function.
19880 * hurd/hurd.h (_hurd_exec): Deprecate function.
19881 (_hurd_exec_paths): Declare function.
19882 * hurd/Versions: Export _hurd_exec_paths.
19883 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19884 (__execve): Use __getcwd to build absolute path, and use
19885 _hurd_exec_paths instead of _hurd_exec.
19886 * sysdeps/mach/hurd/spawni.c: Likewise.
19887 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19888 _hurd_exec.
19889
d7ff3f11
DL
198902018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19891
19892 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19893 test instead of failing in case of ENOENT returned by posix_openpt.
19894
401311cf
FW
198952018-01-08 Florian Weimer <fweimer@redhat.com>
19896
19897 resolv: Support binary labels in test framework.
19898 * support/resolv_test.c (struct to_be_freed): Remove.
19899 (struct compressed_name): New.
19900 (allocate_compressed_name, ascii_tolower)
19901 (compare_compressed_name): New functions.
19902 (struct resolv_response_builder): Update type of
19903 compression_offsets for use with tsearch. Rempve to_be_freed.
19904 (response_push_pointer_to_free): Remove function.
19905 (resolv_response_add_name): Rewrite using struct compressed_name
19906 and tsearch instead of hsearch_r.
19907 (response_builder_allocate): Remove initialization of
19908 compression_offsets.
19909 (response_builder_free): Update for removal of to_be_freed. Use
19910 tdestroy instead of hdestroy_r.
19911 * resolv/Makefile (tests): Add tst-resolv-binary.
19912 (tst-resolv-binary): Link with -lresolv -lpthread.
19913
2b3aa446
FW
199142018-01-08 Florian Weimer <fweimer@redhat.com>
19915
19916 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19917 time. Pass positive flag instead of negative flag to
19918 support_test_compare_failure.
19919 (support_test_compare_failure): Change negative parameter to
19920 positive.
19921 * support/support_test_compare_failure.c (report)
19922 (support_test_compare_failure): Likewise.
19923 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19924 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19925
630f4cc3
SN
199262018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19927
19928 [BZ #22637]
19929 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19930 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19931 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19932 stacksize.
19933 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19934
c70e4e9c
L
199352018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19936
19937 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19938 Add s_sincosf-sse2 and s_sincosf-fma.
19939 (CFLAGS-s_sincosf-fma.c): New.
19940 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19941 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19942 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19943 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19944 __sincosf is defined.
19945
579396ee
FW
199462018-01-08 Florian Weimer <fweimer@redhat.com>
19947
19948 * nptl/tst-thread-exit-clobber.cc: New file.
19949 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19950 C++11 mode.
19951 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19952 (tests): Add tst-thread-exit-clobber.
19953 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19954
dabd75b6
FW
199552018-01-08 Florian Weimer <fweimer@redhat.com>
19956
19957 * support/check.h (support_static_assert): Define.
19958 (TEST_COMPARE): Use it.
19959
c2e014cc
AJ
199602018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19961
19962 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19963 [!__RLIM_T_MATCHES_RLIM64_T]
19964 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19965 __getrlimit64. Add libc_hidden_weak.
19966
31a98837
PD
199672018-01-06 Palmer Dabbelt <palmer@sifive.com>
19968
19969 * elf/elf.h (R_RISCV_NONE): New define.
19970 (R_RISCV_32): Likewise.
19971 (R_RISCV_64): Likewise.
19972 (R_RISCV_RELATIVE): Likewise.
19973 (R_RISCV_COPY): Likewise.
19974 (R_RISCV_JUMP_SLOT): Likewise.
19975 (R_RISCV_TLS_DTPMOD32): Likewise.
19976 (R_RISCV_TLS_DTPMOD64): Likewise.
19977 (R_RISCV_TLS_DTPREL32): Likewise.
19978 (R_RISCV_TLS_DTPREL64): Likewise.
19979 (R_RISCV_TLS_TPREL32): Likewise.
19980 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19981 * Makerules (make-link-multidir): Make directories before linking into
19982 them.
150bbac1
PD
19983 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19984 define.
19985 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19986 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19987 in subdirectories of lib.
8e13c51b
PD
19988 * nptl/Makefile (/librt.so): Always depend on
19989 "$(shared-thread-library)".
31a98837 19990
fad7d57e
ST
199912018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19992
19993 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19994 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19995 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19996 (___tls_get_addr).
19997 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19998 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19999 "-O2 -march=i686".
01c7e549 20000 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
20001 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
20002 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
20003 * sysdeps/gnu/glob-lstat-compat.c: New file.
20004 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 20005 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 20006
3a32b716
TMQMF
200072018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20008
20009 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20010 Reserve 16 chars to reloc_addr before calling _itoa_word.
20011
24731685
AJ
200122018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20013
20014 [BZ #22678]
20015 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20016 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20017
19be56d8
AJ
20018 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20019 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20020
a6d0afb5
AJ
20021 * resource/tst-getrlimit.c: Add copyright header.
20022
8e900969
AJ
200232018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20024 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20025
20026 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20027 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20028 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20029 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20030 instead.
20031 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20032 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20033 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20034 RLIM64_INFINITY): Fix values to match the kernel ones.
20035 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20036 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20037 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20038 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20039 getrlimit64@@GLIBC_2_27.
20040 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20041 and setrlimit64.
20042 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20043 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20044 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20045 setrlimit, getrlimit64 and setrlimit64.
20046
0d0bc784
AJ
200472018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20048
20049 [BZ #22648]
20050 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20051 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20052
ba374b6d
JM
200532018-01-04 Joseph Myers <joseph@codesourcery.com>
20054
20055 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20056 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20057 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20058
4854ddd8
AZ
200592018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20060
b0a4eca2
AZ
20061 [BZ #15479]
20062 [BZ #22666]
20063 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20064 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20065
4854ddd8
AZ
20066 [BZ #15479]
20067 [BZ #22665]
20068 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20069 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20070 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20071 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20072
8a5df95f
FW
200732018-01-04 Florian Weimer <fweimer@redhat.com>
20074
20075 [BZ #22667]
20076 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20077 Align the stack before calling exit.
20078 * stdlib/tst-makecontext-align.c: New file.
20079 * stdlib/Makefile (tests): Add tst-makecontext-align.
20080
82eef55f
FW
200812018-01-04 Florian Weimer <fweimer@redhat.com>
20082
20083 Add support for calling dlvsym from libc.so.
20084 * include/dlfcn.h (__libc_dlvsym): Declare.
20085 * elf/Makefile (tests-static-internal): Add
20086 tst-libc_dlvsym-static.
20087 (tests-internal): Add tst-libc_dlvsym.
20088 (modules-names): Add tst-libc_dlvsym-dso.
20089 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20090 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20091 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20092 object tst-libc_dlvsym-dso.so needs to be built before running
20093 these tests.
20094 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20095 * elf/Versions: Export __libc_dlvsym.
20096 * elf/dl-libc.c (struct do_dlvsym_args): New.
20097 (do_dlvsym, __libc_dlvsym): New functions.
20098 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20099 (_dl_open_hook2): New variable.
20100 (__libc_register_dl_open_hook): Set it.
20101 * elf/tst-libc_dlvsym-dso.c: New file.
20102 * elf/tst-libc_dlvsym-static.c: Likewise.
20103 * elf/tst-libc_dlvsym.c: Likewise.
20104 * elf/tst-libc_dlvsym.h: Likewise.
20105
1714fc06
ST
201062018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20107
20108 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20109 include <sys/mount.h>.
20110
3c7d0312
WD
201112018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20112
20113 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20114 Add __NO_MATH_ERRNO__ check.
20115
7eff0954
JM
201162018-01-02 Joseph Myers <joseph@codesourcery.com>
20117
20118 * sysdeps/mips/mips32/libm-test-ulps: Update.
20119 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20120
77f49956
FW
201212018-01-02 Florian Weimer <fweimer@redhat.com>
20122
20123 * misc/tst-pselect.c: Add copyright header.
20124
363e4519 201252018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20126
20127 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20128 comment.
20129 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20130 comment.
20131 (settrlimit): Rename into setrlimit.
20132 (__sttrlimit): Rename into __setrlimit.
20133
3e4226ff
AJ
20134 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20135 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20136 never defined in that case.
20137
b9256ab6
JM
201382018-01-02 Joseph Myers <joseph@codesourcery.com>
20139
28fd6a44
JM
20140 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20141
a4933a15
JM
20142 * sysdeps/arm/libm-test-ulps: Update.
20143
b9256ab6
JM
20144 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20145 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20146
4cf82d23
RS
201472018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20148
20149 * NEWS: Add cosf and sincosf to list of optimized functions.
20150
6a9dd7a7
AJ
201512018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20152
20153 [BZ #22660]
20154 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20155 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20156 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20157 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20158
dbba87d5
DL
201592018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20160
b05cb613
DL
20161 [BZ #22433]
20162 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20163
dbba87d5
DL
20164 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20165 making a copy of it.
20166
688903eb
JM
201672018-01-01 Joseph Myers <joseph@codesourcery.com>
20168
66ac23de
JM
20169 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20170 trailing whitespace removed.
20171 * scripts/config.guess: Update to version 2018-01-01.
20172 * scripts/config.sub: Update to version 2018-01-01.
20173 * scripts/move-if-change: Update from gnulib.
20174
09533208
JM
20175 * NEWS: Update copyright dates.
20176 * catgets/gencat.c (print_version): Likewise.
20177 * csu/version.c (banner): Likewise.
20178 * debug/catchsegv.sh: Likewise.
20179 * debug/pcprofiledump.c (print_version): Likewise.
20180 * debug/xtrace.sh (do_version): Likewise.
20181 * elf/ldconfig.c (print_version): Likewise.
20182 * elf/ldd.bash.in: Likewise.
20183 * elf/pldd.c (print_version): Likewise.
20184 * elf/sotruss.sh: Likewise.
20185 * elf/sprof.c (print_version): Likewise.
20186 * iconv/iconv_prog.c (print_version): Likewise.
20187 * iconv/iconvconfig.c (print_version): Likewise.
20188 * locale/programs/locale.c (print_version): Likewise.
20189 * locale/programs/localedef.c (print_version): Likewise.
20190 * login/programs/pt_chown.c (print_version): Likewise.
20191 * malloc/memusage.sh (do_version): Likewise.
20192 * malloc/memusagestat.c (print_version): Likewise.
20193 * malloc/mtrace.pl: Likewise.
20194 * manual/libc.texinfo: Likewise.
20195 * nptl/version.c (banner): Likewise.
20196 * nscd/nscd.c (print_version): Likewise.
20197 * nss/getent.c (print_version): Likewise.
20198 * nss/makedb.c (print_version): Likewise.
20199 * posix/getconf.c (main): Likewise.
20200 * scripts/test-installation.pl: Likewise.
20201 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20202
688903eb
JM
20203 * All files with FSF copyright notices: Update copyright dates
20204 using scripts/update-copyrights.
20205 * locale/programs/charmap-kw.h: Regenerated.
20206 * locale/programs/locfile-kw.h: Likewise.
20207
4f820792
ZW
202082017-12-31 Zack Weinberg <zackw@panix.com>
20209
20210 * libio/bits/libio-ldbl.h: Correct check for improper
20211 inclusion. Add own multiple include guard.
20212
3e3c904d
AJ
202132017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20214 Dmitry V. Levin <ldv@altlinux.org>
20215
20216 [BZ #22625]
31f96325 20217 CVE-2017-16997
3e3c904d
AJ
20218 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20219 string token expansion. Check for NULL pointer or empty string possibly
20220 returned by expand_dynamic_string_token.
20221 (decompose_rpath): Check for empty path after dynamic string
20222 token expansion.
20223
7e21972b
DL
202242017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20225
c48831d0
DL
20226 [BZ #22433]
20227 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20228
ac583f50
DL
20229 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20230 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20231 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20232 and PTRACE_SYSCALL.
20233 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20234 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20235 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20236 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20237 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20238 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20239
7e21972b
DL
20240 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20241 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20242 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20243 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20244 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20245 bits/ptrace-shared.h.
20246 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20247 <bits/ptrace-shared.h>.
20248 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20249 __ptrace_peeksiginfo_flags, ptrace): Remove.
20250 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20252 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20253 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20254 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20255
72f29e3a
AJ
202562017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20257
20258 [BZ #17804]
20259 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20260 end of the loop. Improve comments.
20261
54e4efc2
AJ
202622017-12-29 Zack Weinberg <zackw@panix.com>
20263
20264 [BZ #22615]
20265 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20266 might be set on success.
20267
f8aa69be
AJ
202682017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20269
20270 [BZ #22611]
20271 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20272 is unchanged on success.
20273
97f13188
DL
202742017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20275
2bd86632
DL
20276 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20277 updated.
20278 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20279 expand_dynamic_string_token): Likewise.
20280 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20281 is_path argument.
20282
1c36e1e6
DL
20283 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20284 contains ':'.
20285
97f13188
DL
20286 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20287 is set and name contains ':', and all code depending on these checks.
20288
48a8f832
ZW
202892017-12-24 Zack Weinberg <zackw@panix.com>
20290
20291 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20292 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20293 respectively.
20294 * libio/libio.h: Rename the original version of this file to
20295 libio/bits/libio.h. Error out if not included by stdio.h or the
20296 stub libio.h.
20297 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20298 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20299 if not included by bits/libio.h or the stub _G_config.h.
20300 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20301 sysdeps/unix/sysv/linux/bits. Error out if not included by
20302 bits/libio.h or the stub _G_config.h.
20303 * libio/stdio.h: Include bits/libio.h, not libio.h.
20304 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20305 well as libio.h and _G_config.h.
20306
20307 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20308 * libio/strfile.h, stdio-common/vfscanf.c
20309 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20310 Include stdio.h, not _G_config.h nor libio.h.
20311 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20312 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20313
20314 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20315
a47ad79a
DL
203162017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20317
20318 [BZ #22347]
20319 * stdlib/getrandom.c (getrandom): Fix comment.
20320 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20321
363e4519 203222017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20323
f5c558f3
AJ
20324 [BZ #21161]
20325 * manual/arith.texi (strtoul): Fix a typo.
20326
e65a5644
AJ
20327 [BZ #22596]
20328 * manual/arith.texi (finite): Fix the description of the return
20329 value.
20330
ed8ae46b
EB
203312017-12-22 Eric Blake <ebb9@byu.net>
20332
20333 Avoid gcc warnings on cygwin
20334 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20335 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20336 Avoid unused variable.
20337
bad7a0c8
FW
203382017-12-22 Florian Weimer <fweimer@redhat.com>
20339
20340 * io/Makefile (routines): Add copy_file_range.
20341 (tests): Add tst-copy_file_range.
20342 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20343 * io/Versions (GLIBC_2.27): Export copy_file_range.
20344 * io/copy_file_range-compat.c: New file.
20345 * io/copy_file_range.c: Likewise.
20346 * io/tst-copy_file_range-compat.c: Likewise.
20347 * io/tst-copy_file_range.c: Likewise.
20348 * manual/llio.texi (Copying File Data): New section.
20349 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20350 * support/Makefile (libsupport-routines): Add support-xfstat,
20351 xftruncate, xlseek.
20352 * support/support-xfstat.c: New file.
20353 * support/xftruncate.c: Likewise.
20354 * support/xlseek.c: Likewise.
20355 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20356 * sysdeps/unix/sysv/linux/**.abilist: Update.
20357 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20358
6cb86fd2
SN
203592017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20360
20361 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20362 disable-multi-arch variant to aarch64-linux-gnu.
20363
41d11b15
JM
203642017-12-20 Joseph Myers <joseph@codesourcery.com>
20365
20366 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20367 trailing whitespace removed.
20368 * scripts/config.guess: Update to version 2017-12-17.
20369 * scripts/config.sub: Update to version 2017-11-23.
20370 * scripts/install-sh: Update to version 2017-09-23.17.
20371 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20372
4735850f
AZ
203732017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20374
8d2d239c
AZ
20375 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20376 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20377 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20378 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20379 * sysdeps/tile/crtn.S: Likewise.
20380 * sysdeps/tile/dl-start.S (_start): Likewise.
20381 * sysdeps/tile/dl-trampoline.S: Likewise.
20382 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20383 * sysdeps/tile/start.S (_start): Likewise.
20384 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20385 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20386 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20387 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20388 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20389 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20390 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20391
24d1d8ec
AZ
20392 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20393 comment.
20394 * sysdeps/tile/preconfigure: Remove tilegx folder.
20395 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20396 * sysdeps/tile/Implies: ... here.
20397 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20398 * sysdeps/tile/Makefile: ... here.
20399 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20400 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20401 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20402 * sysdeps/tile/bits/wordsize.h: ... here.
20403 * sysdeps/tile/tilegx/*: Move to ...
20404 * sysdeps/tile/*: ... here.
20405 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20406 * sysdeps/tile/tilegx32/Implies: ... here.
20407 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20408 * sysdeps/tile/tilegx64/Implies: ... here.
20409 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20410 to ...
20411 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20412 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20413 * sysdeps/unix/sysv/linux/tile/*: ... here.
20414 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20415 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20416 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20417 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20418
ed95f611
AZ
20419 * README: Remove tilepro-*-linux-gnu from supported architecture.
20420 * scripts/build-many-glibcs.py: Likewise.
20421 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20422 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20423 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20424 elf_machine_matches_host, elf_machine_dynamic,
20425 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20426 howto, elf_machine_rela): Likewise.
20427 * sysdeps/tile/dl-start.S (_start): Likewise.
20428 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20429 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20430 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20431 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20432 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20433 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20434 Likewise.
20435 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20436 * sysdeps/tile/preconfigure: Likewise.
20437 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20438 POINTER_CHK_GUARD): Likewise.
20439 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20440 * sysdeps/tile/start.S (_start): Likewise.
20441 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20442 Likewise.
20443 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20444 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20445 CMOVNEZ): Remove.
20446 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20447 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20448 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20449 Likewise.
20450 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20451 * sysdeps/tile/tilepro/Implies: Remove file.
20452 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20453 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20454 * sysdeps/tile/tilepro/memchr.c: Likewise.
20455 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20456 * sysdeps/tile/tilepro/memset.c: Likewise.
20457 * sysdeps/tile/tilepro/memusage.h: Likewise.
20458 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20459 * sysdeps/tile/tilepro/strchr.c: Likewise.
20460 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20461 * sysdeps/tile/tilepro/strlen.c: Likewise.
20462 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20463 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20464 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20465 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20466 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20467 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20468 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20469 Likewise.
20470 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20471 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20472 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20473 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20474 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20475 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20476 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20477 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20478 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20479 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20480 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20481 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20482 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20483 tilepro mention in comment.
20484
4735850f
AZ
20485 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20486 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20487 * nptl/pthread_join_common.c: New file: common function used on
20488 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20489 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20490 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20491 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20492 (cleanup): Move definition to pthread_join_common.c.
20493 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20494 Remove superflous checks.
20495 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20496 Likewise.
20497
8bfb461e
SN
204982017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20499
20500 * sysdeps/aarch64/libm-test-ulps: Update.
20501
4e001969
AZ
205022017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20503
20504 * sysdeps/aarch64/memset.S (MEMSET): Define.
20505
8a26ad2a
FW
205062017-12-20 Florian Weimer <fweimer@redhat.com>
20507
20508 [BZ #22635]
20509 nptl: Provide full implementation of pthread_self in libc.so.
20510 * nptl/Makefile (routines): Add pthread_self.
20511 (libpthread-routines): Replace pthread_self with
20512 compat-pthread_self.
20513 * nptl/forward.c (pthread_self): Remove.
20514 * nptl/nptl-init.c (pthread_functions): Do not initialize
20515 ptr_pthread_self.
20516 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20517 * nptl/compat-pthread_self.c: New file.
20518 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20519 Remove ptr_pthread_self.
20520
5069ff32
AR
205212017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20522
20523 * posix/regcomp.c: Fix spelling in comments.
20524 * posix/regex.h: Likewise.
20525 * posix/regex_internal.c: Likewise.
20526 * posix/regexec.c: Likewise.
20527
c85e54ac
GG
205282017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20529
20530 [BZ #22377]
20531 * math/Makefile [C++] (tests): Add test for iseqsig.
20532 * math/math.h [C++] (iseqsig): New implementation, which does
20533 not rely on __MATH_TG/__builtin_types_compatible_p.
20534 * math/test-math-iseqsig.cc: New file.
20535 * sysdeps/powerpc/powerpc64le/Makefile
20536 (CFLAGS-test-math-iseqsig.cc): New variable.
20537
10e93d96
DL
205382017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20539
20540 * elf/dl-load.c (is_trusted_path): Remove.
20541 (fillin_rpath): Remove check_trusted argument and its use,
20542 all callers changed.
20543
ce16eb52
L
205442017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20545
20546 [BZ #22630]
20547 * Makeconfig (link-pie-before-libc): Replace -pie with
20548 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20549 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20550 (tst-dlopen-aout-no-pie): New.
20551 (LDFLAGS-tst-prelink): Removed.
20552 (tst-prelink-no-pie): New.
20553 (LDFLAGS-tst-main1): Removed.
20554 (tst-main1-no-pie): New.
20555 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20556 (tst-gmon-no-pie): New.
20557
126adc89
L
205582017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20559
20560 * manual/install.texi: Document that --enable-static-pie
20561 implies PIE.
20562 * INSTALL: Regenerated.
20563
648615e1
BE
205642017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20565
20566 [BZ #21309]
20567 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20568 unsigned.
20569
f1e00502
JM
205702017-12-19 Joseph Myers <joseph@codesourcery.com>
20571
20572 Revert:
20573
20574 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20575
20576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20577
20578 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20579
20580 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20581 <errno.h>. Include "eexp.tbl".
20582 (half): New constant.
20583 (one): Likewise.
20584 (__ieee754_exp): Rewrite.
20585 (__slowexp): Remove prototype.
20586 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20587 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20588 * sysdeps/i386/fpu/slowexp.c: Likewise.
20589 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20590 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20591 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20592 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20593 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20594 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20595 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20596 comment.
20597 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20598 (CPPFLAGS-slowexp.c): Remove variable.
20599 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20600 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20601 (CFLAGS-slowexp-fma.c): Remove variable.
20602 (CFLAGS-slowexp-fma4.c): Likewise.
20603 (CFLAGS-slowexp-avx.c): Likewise.
20604 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20605 define as macro.
20606 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20607 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20608 * math/Makefile (type-double-routines): Remove slowexp.
20609 * manual/probes.texi (slowexp_p6): Remove.
20610 (slowexp_p32): Likewise.
20611
d711a00f
AZ
206122017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20613
e184ac3a
AZ
20614 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20615 arithmetic.
20616
d711a00f
AZ
20617 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20618
6f58c10d
JM
206192017-12-19 Joseph Myers <joseph@codesourcery.com>
20620
20621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20622
6fd0a3c6
PM
206232017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20624
20625 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20626 <errno.h>. Include "eexp.tbl".
20627 (half): New constant.
20628 (one): Likewise.
20629 (__ieee754_exp): Rewrite.
20630 (__slowexp): Remove prototype.
20631 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20632 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20633 * sysdeps/i386/fpu/slowexp.c: Likewise.
20634 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20635 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20636 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20637 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20638 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20639 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20640 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20641 comment.
20642 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20643 (CPPFLAGS-slowexp.c): Remove variable.
20644 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20645 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20646 (CFLAGS-slowexp-fma.c): Remove variable.
20647 (CFLAGS-slowexp-fma4.c): Likewise.
20648 (CFLAGS-slowexp-avx.c): Likewise.
20649 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20650 define as macro.
20651 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20652 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20653 * math/Makefile (type-double-routines): Remove slowexp.
20654 * manual/probes.texi (slowexp_p6): Remove.
20655 (slowexp_p32): Likewise.
20656
3bb1ef58 206572017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20658 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20659
20660 [BZ #22603]
20661 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20662 addition.
20663
554e3d51
AZ
206642017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20665
20666 [BZ #22605]
20667 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20668 code.
20669
cba595c3
L
206702017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20671
20672 [BZ #22563]
20673 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20674 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20675 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20676 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20677 to feature_1.
20678
f81ddabf
L
206792017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20680
20681 [BZ #22563]
20682 * bits/types/__cancel_jmp_buf_tag.h: New file.
20683 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20684 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20685 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20686 * nptl/Makefile (headers): Add
20687 bits/types/__cancel_jmp_buf_tag.h.
20688 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20689 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20690 * sysdeps/nptl/pthread.h: Include
20691 <bits/types/__cancel_jmp_buf_tag.h>.
20692 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20693 __cancel_jmp_buf.
20694 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20695
1a49fc59
L
206962017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20697
20698 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20699 --enable-static-pie variants to x86_64, x32 and i686.
20700
8e52f573
JM
207012017-12-19 Joseph Myers <joseph@codesourcery.com>
20702
66425185
JM
20703 [BZ #22631]
20704 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20705 argument for attrubutes. All callers changed.
20706 (__inline_mathop1): Likewise. All callers changed.
20707 (__inline_mathop): Likewise. All callers changed.
20708 [__USE_MISC] (scalbn): Use __inline_forward instead of
20709 __inline_forward_c.
20710 [__USE_ISOC99] (scalbln): Likewise.
20711 [__USE_ISOC99] (nearbyint): Likewise.
20712 [__USE_ISOC99] (lrint): Likewise.
20713 [__USE_MISC] (scalbnf): Likewise.
20714 [__USE_ISOC99] (scalblnf): Likewise.
20715 [__USE_ISOC99] (nearbyintf): Likewise.
20716 [__USE_ISOC99] (lrintf): Likewise.
20717 [__USE_MISC] (scalbnl): Likewise.
20718 [__USE_ISOC99] (scalblnl): Likewise.
20719 [__USE_ISOC99] (nearbyintl): Likewise.
20720 [__USE_ISOC99] (lrintl): Likewise.
20721 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20722 __inline_mathop and __m81_defun changed.
20723
8e52f573
JM
20724 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20725 CPU or FPU for ARM hard-float configurations.
20726
1421f39b
JM
207272017-12-18 Joseph Myers <joseph@codesourcery.com>
20728
40c4162d
JM
20729 * nptl/tst-attr3.c: Include <libc-diag.h>.
20730 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20731
5983df32
JM
20732 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20733
1421f39b
JM
20734 * string/tester.c (test_strncat): Also disable -Warray-bounds
20735 warnings for two tests.
20736
00c714df
L
207372017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20738
20739 [BZ #22614]
20740 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20741 $(cc-pie-default) == yes.
20742 * config.make.in (cc-pie-default): New.
20743 * configure.ac (libc_cv_pie_default): Renamed to ...
20744 (libc_cv_cc_pie_default): This.
20745 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20746 * configure: Regenerated.
20747
8e1472d2
FW
207482017-12-18 Florian Weimer <fweimer@redhat.com>
20749
20750 [BZ #20204]
20751 ld.so: Harden dl-libc/libdl hooks.
20752 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20753 (rtld_active): New function.
20754 * dlfcn/dladdr.c (__dladdr): Call it.
20755 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20756 * dlfcn/dlclose.c (__dlcose): Likewise.
20757 * dlfcn/dlerror.c (__dlerror): Likewise.
20758 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20759 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20760 * dlfcn/dlopen.c (__dlopen): Likewise.
20761 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20762 * dlfcn/dlsym.c (__dlsym): Likewise.
20763 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20764 * libio/vtables.c (_IO_vtable_check): Likewise.
20765 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20766 (__libc_dlclose): Likewise.
20767 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20768 assignment.
20769
49b036bc
JM
207702017-12-18 Joseph Myers <joseph@codesourcery.com>
20771
20772 [BZ #22446]
20773 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20774 buffers for readlink input and output.
20775
368b6c8d
ST
207762017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20777
c85c564d
ST
20778 [BZ #22624]
20779 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20780 inhibit_stack_protector.
20781
368b6c8d
ST
20782 [BZ #22624]
20783 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20784 inhibit_stack_protector.
20785
bb195224
DL
207862017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20787
20788 [BZ #22627]
20789 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20790 code and invocation.
20791
14d886ed
SN
207922017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20793
20794 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20795
7d38eb38
AJ
207962017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20797
20798 [BZ #22505]
20799 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20800
2e77deef
RS
208012017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20802
20803 * sysdeps/s390/fpu/libm-test-ulps: Update.
20804
0b9bef6d
RS
208052017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20806
20807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20808
984ae996
RS
208092017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20810
20811 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20812 constants to s_sincosf.h file.
20813 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20814 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20815 implementation.
20816 * sysdeps/ieee754/flt-32/s_sincosf.h:
20817 New file.
20818
363e4519 208192017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20820
20821 [BZ #14681]
20822 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20823 before mtrace.
20824
9d7a3741
L
208252017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20826
20827 [BZ #19574]
20828 * INSTALL: Regenerated.
20829 * Makeconfig (real-static-start-installed-name): New.
20830 (pic-default): Updated for --enable-static-pie.
20831 (pie-default): New for --enable-static-pie.
20832 (default-pie-ldflag): Likewise.
20833 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20834 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20835 Replace $(static-start-installed-name) with
20836 $(real-static-start-installed-name).
20837 (+prectorT): Updated for --enable-static-pie.
20838 (+postctorT): Likewise.
20839 (CFLAGS-.o): Add $(pie-default).
20840 (CFLAGS-.op): Likewise.
20841 * NEWS: Mention --enable-static-pie.
20842 * config.h.in (ENABLE_STATIC_PIE): New.
20843 * configure.ac (--enable-static-pie): New configure option.
20844 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20845 (have-static-pie): Likewise.
20846 Enable static PIE if linker supports --no-dynamic-linker.
20847 (ENABLE_STATIC_PIE): New AC_DEFINE.
20848 (enable-static-pie): New LIBC_CONFIG_VAR.
20849 * configure: Regenerated.
20850 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20851 gr$(start-installed-name) for --enable-static-pie.
20852 (extra-objs): Likewise.
20853 (install-lib): Likewise.
20854 (extra-objs): Add static-reloc.o and static-reloc.os
20855 ($(objpfx)$(start-installed-name)): Also depend on
20856 $(objpfx)static-reloc.o.
20857 ($(objpfx)r$(start-installed-name)): New.
20858 ($(objpfx)g$(start-installed-name)): Also depend on
20859 $(objpfx)static-reloc.os.
20860 ($(objpfx)gr$(start-installed-name)): New.
20861 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20862 in libc.a.
20863 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20864 initimage.
20865 * csu/static-reloc.c: New file.
20866 * elf/Makefile (routines): Add dl-reloc-static-pie.
20867 (elide-routines.os): Likewise.
20868 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20869 (tst-tls1-static-non-pie-no-pie): New.
20870 * elf/dl-reloc-static-pie.c: New file.
20871 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20872 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20873 STATIC_PIE_BOOTSTRAP.
20874 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20875 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20876 (tests-static): Likewise.
20877 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20878 (tst-gmon-static-no-pie): New.
20879 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20880 (CRT-tst-gmon-static-pie): Likewise.
20881 (tst-gmon-static-pie-ENV): Likewise.
20882 (tests-special): Likewise.
20883 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20884 (clean-tst-gmon-static-pie-data): Likewise.
20885 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20886 * gmon/tst-gmon-static-pie.c: New file.
20887 * manual/install.texi: Document --enable-static-pie.
20888 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20889 (_dl_get_dl_main_map): Likewise.
20890 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20891 * sysdeps/x86_64/configure.ac: Likewise.
20892 * sysdeps/i386/configure: Regenerated.
20893 * sysdeps/x86_64/configure: Likewise.
20894 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20895 (ASFLAGS-.op): Likewise.
20896
95511aab
JM
208972017-12-15 Joseph Myers <joseph@codesourcery.com>
20898
20899 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20900 * posix/tst-mmap-offset.c (fname): Use /tmp.
20901 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20902
a7e3edf4
SE
209032017-12-15 Steve Ellcey <sellcey@cavium.com>
20904
20905 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20906
d232f2e1
TS
209072017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20908
20909 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20910 errno.
20911
174edbde
JM
209122017-12-15 Joseph Myers <joseph@codesourcery.com>
20913
5170fa49
JM
20914 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20915 --with-float=hard for arm-linux-gnueabihf configurations.
20916
f2da2fd8
JM
20917 [BZ #14121]
20918 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20919 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20920 ($(mo-installed)): Use $(objpfx)%.mo.
20921 (realclean): Remove rule.
20922
0c4fe28d
JM
20923 * po/Makefile (linguas): Remove rule and dependencies.
20924 (linguas.mo): Likewise.
20925 (.PHONY): Do not depend on linguas and linguas.mo.
20926 (podir): Remove variable.
20927 (pofiles): Likewise.
20928 [$(pofiles)] (%.po): Remove rule.
20929
174edbde
JM
20930 * sysdeps/sparc/sparc32/Makefile
20931 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20932 start-of-line whitespace in argument of echo.
20933 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20934 with whitespace. Generate __wrap_.udiv alias.
20935 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20936 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20937 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20938 * sysdeps/sparc/sparc32/urem.S: Likewise.
20939
1e36806f
RS
209402017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20941
20942 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20943 for aligned inputs.
20944
aa6932aa
SP
209452017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20946
5f1603c3
SP
20947 * benchtests/bench-strcmp.c: Print output in JSON format.
20948
aa6932aa
SP
20949 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20950
3ff3dfa5
FW
209512017-12-14 Florian Weimer <fweimer@redhat.com>
20952
20953 [BZ #22607]
20954 CVE-2017-1000409
20955 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20956 the expanded path string.
20957
8a0b17e4
FW
209582017-12-14 Florian Weimer <fweimer@redhat.com>
20959
20960 [BZ #22606]
20961 CVE-2017-1000408
20962 * elf/dl-load.c (system_dirs): Update comment.
20963 (nsystem_dirs_len): Use array_length.
20964 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20965
f58bd7f0
FW
209662017-12-14 Florian Weimer <fweimer@redhat.com>
20967
20968 Simplify compiling most of support/ outside of glibc.
20969 * support/check_addrinfo.c: Include <string.h>.
20970 * support/check_dns_packet.c: Likewise.
20971 * support/check_hostent.c: Likewise.
20972 * support/support_can_chroot.c: Include <support/xunistd.h>.
20973 * support/support_format_addrinfo.c: Include <stdlib.h>
20974 * support/support_format_dns_packet.c: Include <stdbool.h>.
20975 * support/support_format_hostent.c: Include <stdlib.h>.
20976 * support/support_format_netent.c: Likewise.
20977 * support/support_write_string.c: Include <support/xunistd.h>.
20978 * support/xdlfcn.c: Include <stddef.h>.
20979
4ca945e9
L
209802017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20981
20982 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20983
1b6e07f8
PM
209842017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20985 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20986
e6a1c5dc
PM
20987 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20988 (sysdeps_routines): Add memset-niagara7.
20989 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20990 Likewise.
20991 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20992 file.
20993 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20994 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20995 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20996 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20997 Add niagara7 option.
20998 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20999 memset.
21000
1b6e07f8
PM
21001 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
21002 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
21003 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21004 Likewise.
21005 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21006 New file.
21007 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21008 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21009 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21010 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21011 and __memmove_niagara7.
21012 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21013 Add niagara7 option.
21014 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21015 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21016 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21017 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21018 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21019
bfb7bf22
JM
210202017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21021
767a26d6
JM
21022 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21023 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21024 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21025 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21026
bfb7bf22
JM
21027 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21028 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21029 _dl_sparc_cap_flags array.
21030 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21031
2bce01eb
SP
210322017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21033
21034 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21035 time whenever possible.
21036
363e4519 210372017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
21038
21039 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21040 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21041
6f7c0092
JM
210422017-12-12 Joseph Myers <joseph@codesourcery.com>
21043
21044 * soft-fp/fmadf4.c: Move to ....
21045 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21046 * soft-fp/fmasf4.c: Move to ....
21047 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21048 * soft-fp/fmatf4.c: Move to ....
21049 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21050 * sysdeps/ieee754/soft-fp/Makefile: New file.
21051 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21052 * sysdeps/arm/preconfigure: Regenerated.
21053 * sysdeps/arm/nofpu/Implies: New file.
21054 * sysdeps/arm/s_fma.c: Remove file.
21055 * sysdeps/arm/s_fmaf.c: Likewise.
21056 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21057 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21058 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21059 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21060 * sysdeps/microblaze/s_fma.c: Remove file.
21061 * sysdeps/microblaze/s_fmaf.c: Likewise.
21062 * sysdeps/mips/mips32/nofpu/Implies: New file.
21063 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21064 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21065 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21066 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21067 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21068 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21069 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21070 implementation.
21071 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21072 * sysdeps/nios2/s_fma.c: Remove file.
21073 * sysdeps/nios2/s_fmaf.c: Likewise.
21074 * sysdeps/sh/nofpu/Implies: New file.
21075 * sysdeps/sh/s_fma.c: Remove file.
21076 * sysdeps/sh/s_fmaf.c: Likewise.
21077 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21078 * sysdeps/tile/s_fma.c: Remove file.
21079 * sysdeps/tile/s_fmaf.c: Likewise.
21080
ac817e08
L
210812017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21082
21083 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21084 Add s_cosf-sse2 and s_cosf-fma.
21085 (CFLAGS-s_cosf-fma.c): New.
21086 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21087 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21088 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21089
eb428576
SE
210902017-12-12 Steve Ellcey <sellcey@cavium.com>
21091
21092 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21093
c80acdc3
AZ
210942017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21095
cc683f7e
AZ
21096 * libio/Makefile (tests): Add tst-bz22415.
21097 (tst-bz22415-ENV): New rule.
21098 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21099 (tests-special): Add tst-bz22415-mem.out.
21100 ($(objpfx)tst-bz22415-mem.out): New rule.
21101 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21102 in case of a successful seek operation.
21103 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21104 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21105 buffer is required.
21106 * libio/tst-bz22415.c: New test.
21107
c80acdc3
AZ
21108 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21109
363e4519 211102017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21111
21112 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21113 __IPC_64 to 0 to avoid IPC_64 being set.
21114
4e0dca54
SN
211152017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21116
21117 [BZ #22593]
21118 * math/bits/mathcalls.h (nextafter): Remove const.
21119 (nexttoward): Likewise.
21120
8df5d347
JM
211212017-12-12 Joseph Myers <joseph@codesourcery.com>
21122
21123 * configure.ac (--with-fp): Remove configure option.
21124 (with_fp_cond): New variable.
21125 (libc_cv_with_fp): New configure test. Use this variable instead
21126 of with_fp.
21127 * configure: Regenerated.
21128 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21129 * manual/install.texi (Configuring and compiling): Remove
21130 --without-fp.
21131 * INSTALL: Regenerated.
21132 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21133 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21134 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21135 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21136 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21137 use --without-fp to configure glibc.
21138
0cee1257
RJ
211392017-12-12 Rical Jasan <ricaljasan@pacific.net>
21140
21141 * manual/locale.texi (nl_langinfo): Fix a typo.
21142
363e4519 211432017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21144
21145 [BZ #22588]
21146 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21147
36975e8e
L
211482017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21149
21150 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21151 (CFLAGS-argp-parse.c): Likewise.
21152 (CFLAGS-argp-fmtstream.c): Likewise.
21153 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21154 (CPPFLAGS-sha512-crypt.c): Likewise.
21155 (CPPFLAGS-md5-crypt.c): Likewise.
21156 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21157 (CFLAGS-stack_chk_fail_local.c): Likewise.
21158 (CFLAGS-backtrace.c): Likewise.
21159 (CFLAGS-sprintf_chk.c): Likewise.
21160 (CFLAGS-snprintf_chk.c): Likewise.
21161 (CFLAGS-vsprintf_chk.c): Likewise.
21162 (CFLAGS-vsnprintf_chk.c): Likewise.
21163 (CFLAGS-asprintf_chk.c): Likewise.
21164 (CFLAGS-vasprintf_chk.c): Likewise.
21165 (CFLAGS-obprintf_chk.c): Likewise.
21166 (CFLAGS-dprintf_chk.c): Likewise.
21167 (CFLAGS-vdprintf_chk.c): Likewise.
21168 (CFLAGS-printf_chk.c): Likewise.
21169 (CFLAGS-fprintf_chk.c): Likewise.
21170 (CFLAGS-vprintf_chk.c): Likewise.
21171 (CFLAGS-vfprintf_chk.c): Likewise.
21172 (CFLAGS-gets_chk.c): Likewise.
21173 (CFLAGS-fgets_chk.c): Likewise.
21174 (CFLAGS-fgets_u_chk.c): Likewise.
21175 (CFLAGS-fread_chk.c): Likewise.
21176 (CFLAGS-fread_u_chk.c): Likewise.
21177 (CFLAGS-swprintf_chk.c): Likewise.
21178 (CFLAGS-vswprintf_chk.c): Likewise.
21179 (CFLAGS-wprintf_chk.c): Likewise.
21180 (CFLAGS-fwprintf_chk.c): Likewise.
21181 (CFLAGS-vwprintf_chk.c): Likewise.
21182 (CFLAGS-vfwprintf_chk.c): Likewise.
21183 (CFLAGS-fgetws_chk.c): Likewise.
21184 (CFLAGS-fgetws_u_chk.c): Likewise.
21185 (CFLAGS-read_chk.c): Likewise.
21186 (CFLAGS-pread_chk.c): Likewise.
21187 (CFLAGS-pread64_chk.c): Likewise.
21188 (CFLAGS-recv_chk.c): Likewise.
21189 (CFLAGS-recvfrom_chk.c): Likewise.
21190 (CFLAGS-tst-longjmp_chk.c): Likewise.
21191 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21192 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21193 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21194 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21195 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21196 (CFLAGS-tst-chk1.c): Likewise.
21197 (CFLAGS-tst-chk2.c): Likewise.
21198 (CFLAGS-tst-chk3.c): Likewise.
21199 (CFLAGS-tst-chk4.cc): Likewise.
21200 (CFLAGS-tst-chk5.cc): Likewise.
21201 (CFLAGS-tst-chk6.cc): Likewise.
21202 (CFLAGS-tst-lfschk1.c): Likewise.
21203 (CFLAGS-tst-lfschk2.c): Likewise.
21204 (CFLAGS-tst-lfschk3.c): Likewise.
21205 (CFLAGS-tst-lfschk4.cc): Likewise.
21206 (CFLAGS-tst-lfschk5.cc): Likewise.
21207 (CFLAGS-tst-lfschk6.cc): Likewise.
21208 (CFLAGS-tst-ssp-1.c): Likewise.
21209 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21210 (CFLAGS-scandir64.c): Likewise.
21211 (CFLAGS-scandir-tail.c): Likewise.
21212 (CFLAGS-scandir64-tail.c): Likewise.
21213 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21214 (CFLAGS-dl-tunables.c): Likewise.
21215 (CFLAGS-dl-runtime.c): Likewise.
21216 (CFLAGS-dl-lookup.c): Likewise.
21217 (CFLAGS-dl-iterate-phdr.c): Likewise.
21218 (CFLAGS-vismain.c): Likewise.
21219 (CFLAGS-tst-linkall-static.c): Likewise.
21220 (CFLAGS-tst-linkall-static.c): Likewise.
21221 (CPPFLAGS-dl-load.c): Likewise.
21222 (CFLAGS-ldconfig.c): Likewise.
21223 (CFLAGS-dl-cache.c): Likewise.
21224 (CFLAGS-cache.c): Likewise.
21225 (CFLAGS-rtld.c): Likewise.
21226 (CFLAGS-multiload.c): Likewise.
21227 (CFLAGS-filtmod1.c): Likewise.
21228 (CFLAGS-tst-align.c): Likewise.
21229 (CFLAGS-tst-align2.c): Likewise.
21230 (CFLAGS-tst-alignmod.c): Likewise.
21231 (CFLAGS-tst-alignmod2.c): Likewise.
21232 (CPPFLAGS-tst-execstack.c): Likewise.
21233 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21234 (CFLAGS-tst-latepthreadmod.c): Likewise.
21235 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21236 (CFLAGS-getgrnam_r.c): Likewise.
21237 (CFLAGS-getgrent_r.c): Likewise.
21238 (CFLAGS-getgrent.c): Likewise.
21239 (CFLAGS-fgetgrent.c): Likewise.
21240 (CFLAGS-fgetgrent_r.c): Likewise.
21241 (CFLAGS-putgrent.c): Likewise.
21242 (CFLAGS-initgroups.c): Likewise.
21243 (CFLAGS-getgrgid.c): Likewise.
21244 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21245 (CFLAGS-getsgent.c): Likewise.
21246 (CFLAGS-fgetsgent.c): Likewise.
21247 (CFLAGS-fgetsgent_r.c): Likewise.
21248 (CFLAGS-putsgent.c): Likewise.
21249 (CFLAGS-getsgnam.c): Likewise.
21250 (CFLAGS-getsgnam_r.c): Likewise.
21251 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21252 (CFLAGS-iconv_charmap.c): Likewise.
21253 (CFLAGS-dummy-repertoire.c): Likewise.
21254 (CFLAGS-charmap.c): Likewise.
21255 (CFLAGS-linereader.c): Likewise.
21256 (CFLAGS-simple-hash.c): Likewise.
21257 (CFLAGS-gconv_conf.c): Likewise.
21258 (CFLAGS-iconvconfig.c): Likewise.
21259 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21260 (CFLAGS-gethstbyad.c): Likewise.
21261 (CFLAGS-gethstbynm_r.c): Likewise.
21262 (CFLAGS-gethstbynm.c): Likewise.
21263 (CFLAGS-gethstbynm2_r.c): Likewise.
21264 (CFLAGS-gethstbynm2.c): Likewise.
21265 (CFLAGS-gethstent_r.c): Likewise.
21266 (CFLAGS-gethstent.c): Likewise.
21267 (CFLAGS-rcmd.c): Likewise.
21268 (CFLAGS-getnetbynm_r.c): Likewise.
21269 (CFLAGS-getnetbynm.c): Likewise.
21270 (CFLAGS-getnetbyad_r.c): Likewise.
21271 (CFLAGS-getnetbyad.c): Likewise.
21272 (CFLAGS-getnetent_r.c): Likewise.
21273 (CFLAGS-getnetent.c): Likewise.
21274 (CFLAGS-getaliasent_r.c): Likewise.
21275 (CFLAGS-getaliasent.c): Likewise.
21276 (CFLAGS-getrpcent_r.c): Likewise.
21277 (CFLAGS-getrpcent.c): Likewise.
21278 (CFLAGS-getservent_r.c): Likewise.
21279 (CFLAGS-getservent.c): Likewise.
21280 (CFLAGS-getprtent_r.c): Likewise.
21281 (CFLAGS-getprtent.c): Likewise.
21282 (CFLAGS-either_ntoh.c): Likewise.
21283 (CFLAGS-either_hton.c): Likewise.
21284 (CFLAGS-getnetgrent.c): Likewise.
21285 (CFLAGS-getnetgrent_r.c): Likewise.
21286 (CFLAGS-tst-checks-posix.c): Likewise.
21287 (CFLAGS-tst-sockaddr.c): Likewise.
21288 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21289 (CFLAGS-tst-translit.c): Likewise.
21290 (CFLAGS-tst-gettext2.c): Likewise.
21291 (CFLAGS-tst-codeset.c): Likewise.
21292 (CFLAGS-tst-gettext3.c): Likewise.
21293 (CFLAGS-tst-gettext4.c): Likewise.
21294 (CFLAGS-tst-gettext5.c): Likewise.
21295 (CFLAGS-tst-gettext6.c): Likewise.
21296 * io/Makefile (CFLAGS-open.c): Likewise.
21297 (CFLAGS-open64.c): Likewise.
21298 (CFLAGS-creat.c): Likewise.
21299 (CFLAGS-creat64.c): Likewise.
21300 (CFLAGS-fcntl.c): Likewise.
21301 (CFLAGS-poll.c): Likewise.
21302 (CFLAGS-ppoll.c): Likewise.
21303 (CFLAGS-lockf.c): Likewise.
21304 (CFLAGS-statfs.c): Likewise.
21305 (CFLAGS-fstatfs.c): Likewise.
21306 (CFLAGS-statvfs.c): Likewise.
21307 (CFLAGS-fstatvfs.c): Likewise.
21308 (CFLAGS-fts.c): Likewise.
21309 (CFLAGS-fts64.c): Likewise.
21310 (CFLAGS-ftw.c): Likewise.
21311 (CFLAGS-ftw64.c): Likewise.
21312 (CFLAGS-lockf.c): Likewise.
21313 (CFLAGS-posix_fallocate.c): Likewise.
21314 (CFLAGS-posix_fallocate64.c): Likewise.
21315 (CFLAGS-fallocate.c): Likewise.
21316 (CFLAGS-fallocate64.c): Likewise.
21317 (CFLAGS-read.c): Likewise.
21318 (CFLAGS-write.c): Likewise.
21319 (CFLAGS-test-stat.c): Likewise.
21320 (CFLAGS-test-lfs.c): Likewise.
21321 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21322 (CFLAGS-fputc.c): Likewise.
21323 (CFLAGS-fputwc.c): Likewise.
21324 (CFLAGS-freopen64.c): Likewise.
21325 (CFLAGS-freopen.c): Likewise.
21326 (CFLAGS-fseek.c): Likewise.
21327 (CFLAGS-fseeko64.c): Likewise.
21328 (CFLAGS-fseeko.c): Likewise.
21329 (CFLAGS-ftello64.c): Likewise.
21330 (CFLAGS-ftello.c): Likewise.
21331 (CFLAGS-fwide.c): Likewise.
21332 (CFLAGS-genops.c): Likewise.
21333 (CFLAGS-getc.c): Likewise.
21334 (CFLAGS-getchar.c): Likewise.
21335 (CFLAGS-getwc.c): Likewise.
21336 (CFLAGS-getwchar.c): Likewise.
21337 (CFLAGS-iofclose.c): Likewise.
21338 (CFLAGS-iofflush.c): Likewise.
21339 (CFLAGS-iofgetpos64.c): Likewise.
21340 (CFLAGS-iofgetpos.c): Likewise.
21341 (CFLAGS-iofgets.c): Likewise.
21342 (CFLAGS-iofgetws.c): Likewise.
21343 (CFLAGS-iofputs.c): Likewise.
21344 (CFLAGS-iofputws.c): Likewise.
21345 (CFLAGS-iofread.c): Likewise.
21346 (CFLAGS-iofsetpos64.c): Likewise.
21347 (CFLAGS-iofsetpos.c): Likewise.
21348 (CFLAGS-ioftell.c): Likewise.
21349 (CFLAGS-iofwrite.c): Likewise.
21350 (CFLAGS-iogetdelim.c): Likewise.
21351 (CFLAGS-iogetline.c): Likewise.
21352 (CFLAGS-iogets.c): Likewise.
21353 (CFLAGS-iogetwline.c): Likewise.
21354 (CFLAGS-ioputs.c): Likewise.
21355 (CFLAGS-ioseekoff.c): Likewise.
21356 (CFLAGS-ioseekpos.c): Likewise.
21357 (CFLAGS-iosetbuffer.c): Likewise.
21358 (CFLAGS-iosetvbuf.c): Likewise.
21359 (CFLAGS-ioungetc.c): Likewise.
21360 (CFLAGS-ioungetwc.c): Likewise.
21361 (CFLAGS-oldfileops.c): Likewise.
21362 (CFLAGS-oldiofclose.c): Likewise.
21363 (CFLAGS-oldiofgetpos64.c): Likewise.
21364 (CFLAGS-oldiofgetpos.c): Likewise.
21365 (CFLAGS-oldiofsetpos64.c): Likewise.
21366 (CFLAGS-oldiofsetpos.c): Likewise.
21367 (CFLAGS-peekc.c): Likewise.
21368 (CFLAGS-putc.c): Likewise.
21369 (CFLAGS-putchar.c): Likewise.
21370 (CFLAGS-putwc.c): Likewise.
21371 (CFLAGS-putwchar.c): Likewise.
21372 (CFLAGS-rewind.c): Likewise.
21373 (CFLAGS-wfileops.c): Likewise.
21374 (CFLAGS-wgenops.c): Likewise.
21375 (CFLAGS-oldiofopen.c): Likewise.
21376 (CFLAGS-iofopen.c): Likewise.
21377 (CFLAGS-iofopen64.c): Likewise.
21378 (CFLAGS-oldtmpfile.c): Likewise.
21379 (CFLAGS-tst_putwc.c): Likewise.
21380 * locale/Makefile (CFLAGS-md5.c): Likewise.
21381 (CFLAGS-charmap.c): Likewise.
21382 (CFLAGS-locfile.c): Likewise.
21383 (CFLAGS-charmap-dir.c): Likewise.
21384 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21385 (CFLAGS-getpt.c): Likewise.
21386 (CFLAGS-pt_chown.c): Likewise.
21387 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21388 (CFLAGS-obstack.c): Likewise.
21389 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21390 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21391 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21392 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21393 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21394 (CFLAGS-test-tgmath.c): Likewise.
21395 (CFLAGS-test-tgmath2.c): Likewise.
21396 (CFLAGS-test-tgmath-ret.c): Likewise.
21397 (CFLAGS-test-powl.c): Likewise.
21398 (CFLAGS-test-snan.c): Likewise.
21399 (CFLAGS-test-signgam-finite.c): Likewise.
21400 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21401 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21402 (CFLAGS-test-signgam-uchar.c): Likewise.
21403 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21404 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21405 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21406 (CFLAGS-test-signgam-uint.c): Likewise.
21407 (CFLAGS-test-signgam-uint-init.c): Likewise.
21408 (CFLAGS-test-signgam-uint-static.c): Likewise.
21409 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21410 (CFLAGS-test-signgam-ullong.c): Likewise.
21411 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21412 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21413 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21414 (CFLAGS-test-math-cxx11.cc): Likewise.
21415 (CFLAGS-test-math-isinff.cc): Likewise.
21416 (CFLAGS-test-math-iszero.cc): Likewise.
21417 (CFLAGS-test-math-issignaling.cc): Likewise.
21418 (CFLAGS-test-math-iscanonical.cc): Likewise.
21419 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21420 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21421 (CFLAGS-test-flt-eval-method.c): Likewise.
21422 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21423 (CFLAGS-test-finite-macros.c): Likewise.
21424 * misc/Makefile (CFLAGS-select.c): Likewise.
21425 (CFLAGS-tsearch.c): Likewise.
21426 (CFLAGS-lsearch.c): Likewise.
21427 (CFLAGS-pselect.c): Likewise.
21428 (CFLAGS-readv.c): Likewise.
21429 (CFLAGS-writev.c): Likewise.
21430 (CFLAGS-preadv.c): Likewise.
21431 (CFLAGS-preadv64.c): Likewise.
21432 (CFLAGS-pwritev.c): Likewise.
21433 (CFLAGS-pwritev64.c): Likewise.
21434 (CFLAGS-preadv2.c): Likewise.
21435 (CFLAGS-preadv64v2.c): Likewise.
21436 (CFLAGS-pwritev2.c): Likewise.
21437 (CFLAGS-pwritev64v2.c): Likewise.
21438 (CFLAGS-usleep.c): Likewise.
21439 (CFLAGS-syslog.c): Likewise.
21440 (CFLAGS-error.c): Likewise.
21441 (CFLAGS-getpass.c): Likewise.
21442 (CFLAGS-mkstemp.c): Likewise.
21443 (CFLAGS-mkstemp64.c): Likewise.
21444 (CFLAGS-getsysstats.c): Likewise.
21445 (CFLAGS-getusershell.c): Likewise.
21446 (CFLAGS-err.c): Likewise.
21447 (CFLAGS-tst-tsearch.c): Likewise.
21448 (CFLAGS-msync.c): Likewise.
21449 (CFLAGS-fdatasync.c): Likewise.
21450 (CFLAGS-fsync.c): Likewise.
21451 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21452 (CFLAGS-unwind.c): Likewise.
21453 (CFLAGS-unwind-forcedunwind.c): Likewise.
21454 (CFLAGS-pthread_cancel.c): Likewise.
21455 (CFLAGS-pthread_setcancelstate.c): Likewise.
21456 (CFLAGS-pthread_setcanceltype.c): Likewise.
21457 (CFLAGS-cancellation.c): Likewise.
21458 (CFLAGS-libc-cancellation.c): Likewise.
21459 (CFLAGS-pthread_exit.c): Likewise.
21460 (CFLAGS-forward.c): Likewise.
21461 (CFLAGS-pthread_testcancel.c): Likewise.
21462 (CFLAGS-pthread_join.c): Likewise.
21463 (CFLAGS-pthread_timedjoin.c): Likewise.
21464 (CFLAGS-pthread_once.c): Likewise.
21465 (CFLAGS-pthread_cond_wait.c): Likewise.
21466 (CFLAGS-sem_wait.c): Likewise.
21467 (CFLAGS-sem_timedwait.c): Likewise.
21468 (CFLAGS-fcntl.c): Likewise.
21469 (CFLAGS-lockf.c): Likewise.
21470 (CFLAGS-pread.c): Likewise.
21471 (CFLAGS-pread64.c): Likewise.
21472 (CFLAGS-pwrite.c): Likewise.
21473 (CFLAGS-pwrite64.c): Likewise.
21474 (CFLAGS-wait.c): Likewise.
21475 (CFLAGS-waitpid.c): Likewise.
21476 (CFLAGS-sigwait.c): Likewise.
21477 (CFLAGS-msgrcv.c): Likewise.
21478 (CFLAGS-msgsnd.c): Likewise.
21479 (CFLAGS-tcdrain.c): Likewise.
21480 (CFLAGS-open.c): Likewise.
21481 (CFLAGS-open64.c): Likewise.
21482 (CFLAGS-pause.c): Likewise.
21483 (CFLAGS-recv.c): Likewise.
21484 (CFLAGS-send.c): Likewise.
21485 (CFLAGS-accept.c): Likewise.
21486 (CFLAGS-sendto.c): Likewise.
21487 (CFLAGS-connect.c): Likewise.
21488 (CFLAGS-recvfrom.c): Likewise.
21489 (CFLAGS-recvmsg.c): Likewise.
21490 (CFLAGS-sendmsg.c): Likewise.
21491 (CFLAGS-close.c): Likewise.
21492 (CFLAGS-read.c): Likewise.
21493 (CFLAGS-write.c): Likewise.
21494 (CFLAGS-nanosleep.c): Likewise.
21495 (CFLAGS-sigsuspend.c): Likewise.
21496 (CFLAGS-msync.c): Likewise.
21497 (CFLAGS-fdatasync.c): Likewise.
21498 (CFLAGS-fsync.c): Likewise.
21499 (CFLAGS-pt-system.c): Likewise.
21500 (CFLAGS-tst-cleanup2.c): Likewise.
21501 (CFLAGS-tst-cleanupx2.c): Likewise.
21502 (CFLAGS-flockfile.c): Likewise.
21503 (CFLAGS-ftrylockfile.c): Likewise.
21504 (CFLAGS-funlockfile.c): Likewise.
21505 (CFLAGS-tst-initializers1.c): Likewise.
21506 (CFLAGS-tst-initializers1-c89.c): Likewise.
21507 (CFLAGS-tst-initializers1-c99.c): Likewise.
21508 (CFLAGS-tst-initializers1-c11.c): Likewise.
21509 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21510 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21511 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21512 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21513 (CFLAGS-nscd_getgr_r.c): Likewise.
21514 (CFLAGS-nscd_gethst_r.c): Likewise.
21515 (CFLAGS-nscd_getai.c): Likewise.
21516 (CFLAGS-nscd_initgroups.c): Likewise.
21517 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21518 (CFLAGS-pause.c): Likewise.
21519 (CFLAGS-pread.c): Likewise.
21520 (CFLAGS-pread64.c): Likewise.
21521 (CFLAGS-pwrite.c): Likewise.
21522 (CFLAGS-pwrite64.c): Likewise.
21523 (CFLAGS-sleep.c): Likewise.
21524 (CFLAGS-wait.c): Likewise.
21525 (CFLAGS-waitid.c): Likewise.
21526 (CFLAGS-waitpid.c): Likewise.
21527 (CFLAGS-getopt.c): Likewise.
21528 (CFLAGS-wordexp.c): Likewise.
21529 (CFLAGS-sysconf.c): Likewise.
21530 (CFLAGS-pathconf.c): Likewise.
21531 (CFLAGS-fpathconf.c): Likewise.
21532 (CFLAGS-spawn.c): Likewise.
21533 (CFLAGS-spawnp.c): Likewise.
21534 (CFLAGS-spawni.c): Likewise.
21535 (CFLAGS-glob.c): Likewise.
21536 (CFLAGS-glob64.c): Likewise.
21537 (CFLAGS-getconf.c): Likewise.
21538 (CFLAGS-nanosleep.c): Likewise.
21539 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21540 (CFLAGS-getpwent.c): Likewise.
21541 (CFLAGS-getpw.c): Likewise.
21542 (CFLAGS-fgetpwent_r.c): Likewise.
21543 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21544 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21545 (CFLAGS-mq_timedreceive.c): Likewise.
21546 (CFLAGS-mq_timedsend.c): Likewise.
21547 (CFLAGS-clock_nanosleep.c): Likewise.
21548 (CFLAGS-librt-cancellation.c): Likewise.
21549 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21550 (CFLAGS-getspent.c): Likewise.
21551 (CFLAGS-fgetspent.c): Likewise.
21552 (CFLAGS-fgetspent_r.c): Likewise.
21553 (CFLAGS-putspent.c): Likewise.
21554 (CFLAGS-getspnam.c): Likewise.
21555 (CFLAGS-getspnam_r.c): Likewise.
21556 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21557 (CFLAGS-sigsuspend.c): Likewise.
21558 (CFLAGS-sigtimedwait.c): Likewise.
21559 (CFLAGS-sigwait.c): Likewise.
21560 (CFLAGS-sigwaitinfo.c): Likewise.
21561 (CFLAGS-sigreturn.c): Likewise.
21562 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21563 (CFLAGS-vfwprintf.c): Likewise.
21564 (CFLAGS-tmpfile.c): Likewise.
21565 (CFLAGS-tmpfile64.c): Likewise.
21566 (CFLAGS-tempname.c): Likewise.
21567 (CFLAGS-psignal.c): Likewise.
21568 (CFLAGS-vprintf.c): Likewise.
21569 (CFLAGS-cuserid.c): Likewise.
21570 (CFLAGS-errlist.c): Likewise.
21571 (CFLAGS-siglist.c): Likewise.
21572 (CFLAGS-scanf15.c): Likewise.
21573 (CFLAGS-scanf17.c): Likewise.
21574 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21575 (CFLAGS-msort.c): Likewise.
21576 (CFLAGS-qsort.c): Likewise.
21577 (CFLAGS-system.c): Likewise.
21578 (CFLAGS-fmtmsg.c): Likewise.
21579 (CFLAGS-strfmon.c): Likewise.
21580 (CFLAGS-strfmon_l.c): Likewise.
21581 (CFLAGS-strfromd.c): Likewise.
21582 (CFLAGS-strfromf.c): Likewise.
21583 (CFLAGS-strfroml.c): Likewise.
21584 (CFLAGS-tst-bsearch.c): Likewise.
21585 (CFLAGS-tst-qsort.c): Likewise.
21586 (CFLAGS-tst-makecontext2.c): Likewise.
21587 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21588 (CFLAGS-xnlm_prot.c): Likewise.
21589 (CFLAGS-xrstat.c): Likewise.
21590 (CFLAGS-xyppasswd.c): Likewise.
21591 (CFLAGS-xklm_prot.c): Likewise.
21592 (CFLAGS-xrex.c): Likewise.
21593 (CFLAGS-xsm_inter.c): Likewise.
21594 (CFLAGS-xmount.c): Likewise.
21595 (CFLAGS-xrusers.c): Likewise.
21596 (CFLAGS-xspray.c): Likewise.
21597 (CFLAGS-xnfs_prot.c): Likewise.
21598 (CFLAGS-xrquota.c): Likewise.
21599 (CFLAGS-xkey_prot.c): Likewise.
21600 (CFLAGS-auth_unix.c): Likewise.
21601 (CFLAGS-key_call.c): Likewise.
21602 (CFLAGS-pmap_rmt.c): Likewise.
21603 (CFLAGS-clnt_perr.c): Likewise.
21604 (CFLAGS-openchild.c): Likewise.
21605 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21606 (CFLAGS-msgsnd.c): Likewise.
21607 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21608 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21609 (CFLAGS-tzset.c): Likewise.
21610 (CFLAGS-getdate.c): Likewise.
21611 (CFLAGS-test_time.c): Likewise.
21612 (CPPFLAGS-tst-tzname.c): Likewise.
21613 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21614 (CFLAGS-zic.c): Likewise.
21615 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21616 (CFLAGS-wcswidth.c): Likewise.
21617 (CFLAGS-wcstol.c): Likewise.
21618 (CFLAGS-wcstoul.c): Likewise.
21619 (CFLAGS-wcstoll.c): Likewise.
21620 (CFLAGS-wcstoull.c): Likewise.
21621 (CFLAGS-wcstod.c): Likewise.
21622 (CFLAGS-wcstold.c): Likewise.
21623 (CFLAGS-wcstof128.c): Likewise.
21624 (CFLAGS-wcstof.c): Likewise.
21625 (CFLAGS-wcstol_l.c): Likewise.
21626 (CFLAGS-wcstoul_l.c): Likewise.
21627 (CFLAGS-wcstoll_l.c): Likewise.
21628 (CFLAGS-wcstoull_l.c): Likewise.
21629 (CFLAGS-wcstod_l.c): Likewise.
21630 (CFLAGS-wcstold_l.c): Likewise.
21631 (CFLAGS-wcstof128_l.c): Likewise.
21632 (CFLAGS-wcstof_l.c): Likewise.
21633 (CPPFLAGS-tst-wchar-h.c): Likewise.
21634 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21635
f4b2aea6
PC
216362017-12-11 Paul A. Clarke <pc@us.ibm.com>
21637
21638 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21639
c9cd7b0c
AZ
216402017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21641 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21642
21643 * manual/tunables.texi (Hardware Capability Tunables): Document
21644 glibc.tune.cached_memopt.
21645 * sysdeps/powerpc/cpu-features.c: New file.
21646 * sysdeps/powerpc/cpu-features.h: New file.
21647 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21648 _dl_powerpc_cpu_features.
21649 * sysdeps/powerpc/dl-tunables.list: New file.
21650 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21651 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21652 (INIT_ARCH): Initialize use_aligned_memopt.
21653 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21654 IS_IN(rtld))]: Restrict dl_platform_init availability and
21655 initialize CPU features used by tunables.
21656 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21657 Add memcpy-power8-cached.
21658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21659 __memcpy_power8_cached.
21660 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21661 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21662 New file.
21663
e70c6fee
L
216642017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21667 (CFLAGS-noinl-tester.c): Likewise.
21668 (CFLAGS-tst-strlen.c): Likewise.
21669 (CFLAGS-stratcliff.c): Likewise.
21670 (CFLAGS-test-ffs.c): Likewise.
21671 (CFLAGS-tst-inlcall.c): Likewise.
21672 (CFLAGS-tst-xbzero-opt.c): Likewise.
21673 (CFLAGS-memcpy.c): Likewise.
21674 (CFLAGS-wordcopy.c): Likewise.
21675
dee94366
SL
216762017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21677
21678 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21679 Store r15 on stack and add cfi rule.
21680 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21681 Likewise.
21682
363e4519 216832017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21684
21685 [BZ #22577]
21686 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21687 call.
21688
9d0ffa60
L
216892017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21690
21691 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21692 Add s_sinf-sse2 and s_sinf-fma.
21693 (CFLAGS-s_sinf-fma.c): New.
21694 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21695 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21696 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21697
9574c7b6
L
216982017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21699
21700 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21701
d15e83c5
JM
217022017-12-07 Joseph Myers <joseph@codesourcery.com>
21703
21704 [BZ #22568]
21705 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21706 part of result to imaginary part of argument if it is zero and the
21707 real part of the argument is not finite.
21708 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21709 of result to real part of argument if it is zero and the imaginary
21710 part of the argument is not finite.
21711
d89756eb
MF
217122017-12-07 Mike FABIAN <mfabian@redhat.com>
21713
21714 [BZ #22524]
21715 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21716 and to the list of locales to be built for testing.
21717 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21718 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21719 and build the collation rules upon that.
21720
1f9055ce
JM
217212017-12-07 Joseph Myers <joseph@codesourcery.com>
21722
21723 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21724 * manual/math.texi (Mathematics): Document support for _Float32.
21725 * math/Makefile (test-types): Add float32.
21726 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21727 * stdlib/Versions (GLIBC_2.27): Likewise.
21728 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21729 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21730 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21732 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21738 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21739 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21740 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21741 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21742 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21743 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21744 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21745 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21746 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21747 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21748 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21749 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21750 Likewise.
21751 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21752 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21753 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21754 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21755 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21757 Likewise.
21758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21759 Likewise.
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21761 Likewise.
21762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21763 Likewise.
21764
21765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21766 Likewise.
21767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21768 Likewise.
21769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21770 Likewise.
21771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21772 Likewise.
21773 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21774 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21775 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21776 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21777 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21778 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21779 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21780 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21781 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21782 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21783 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21784 Likewise.
21785 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21786 Likewise.
21787 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21788 Likewise.
21789 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21790 Likewise.
21791 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21792 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21793 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21794 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21795 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21796 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21797 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21798 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21799
5244527d
JM
218002017-12-06 Joseph Myers <joseph@codesourcery.com>
21801
fb1ca2aa
JM
21802 * stdlib/strtof.c: Include <bits/floatn.h>
21803 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21804 and later undefine as macro. Define as weak alias if
21805 [!USE_WIDE_CHAR].
21806 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21807 and later undefine as macro. Define as weak alias if
21808 [USE_WIDE_CHAR].
21809 * stdlib/strtof_l.c: Include <bits/floatn.h>
21810 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21811 and later undefine as macro. Define as weak alias if
21812 [!USE_WIDE_CHAR].
21813 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21814 and later undefine as macro. Define as weak alias if
21815 [USE_WIDE_CHAR].
21816
fc10cc3f
JM
21817 * stdlib/strfromf.c: Include <bits/floatn.h>.
21818 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21819 and later undefine as macro and define as weak alias.
21820
e420d228
JM
21821 * math/test-float32.h: New file.
21822
26007a2f
JM
21823 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21824 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21825 (libm_alias_float_other_r): Create f32 alias.
21826 (libm_alias_float_r): Use semicolon before call to
21827 libm_alias_float_other_r.
21828
c191f64c
JM
21829 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21830 second argument to libm_alias_float_other.
21831 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21832 second argument to libm_alias_float_other.
21833 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21834 argument to libm_alias_float_other.
21835
5244527d
JM
21836 [BZ #22561]
21837 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21838 real part of result for argument 0 + i * NaN.
21839 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21840 results for tests of 0 + i * NaN.
21841
d73fac82
AZ
218422017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21843
21844 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21845
7ec094e8
DM
218462017-12-06 David S. Miller <davem@davemloft.net>
21847
21848 * sysdeps/sparc/fpu/libm-test-ulps: Update
21849 exp_{downward,towardzero,upward} ulps.
21850
53994f12
JM
218512017-12-06 Joseph Myers <joseph@codesourcery.com>
21852
1dbe6f64
JM
21853 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21854 variables static.
21855
53994f12
JM
21856 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21857 (Y0_2D): Likewise.
21858 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21859 (Y0_2D): Likewise.
21860 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21861 (Y0_2D): Likewise.
21862 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21863 (Y0_2D): Likewise.
21864
62ea2193
MF
218652017-12-06 Mike FABIAN <mfabian@redhat.com>
21866
21867 [BZ #22515]
21868 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21869 and to the list of locales to be built for testing.
21870 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21871 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21872 and build the collation rules upon that.
21873
87235d70
RS
218742017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21875
21876 * NEWS: Add sinf to list of optimized functions.
21877
0d93b7fd
JM
218782017-12-06 Joseph Myers <joseph@codesourcery.com>
21879
21880 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21881 (__HAVE_FLOAT32X): Likewise.
21882 * manual/math.texi (Mathematics): Document support for _Float64
21883 and _Float32x.
21884 * math/Makefile (test-types): Add float64 and float32x.
21885 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21886 functions.
21887 * stdlib/Versions (GLIBC_2.27): Likewise.
21888 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21889 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21890 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21891 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21892 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21893 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21894 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21895 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21896 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21897 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21898 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21899 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21900 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21901 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21902 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21903 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21904 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21905 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21906 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21907 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21908 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21909 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21910 Likewise.
21911 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21912 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21913 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21914 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21915 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21917 Likewise.
21918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21919 Likewise.
21920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21921 Likewise.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21923 Likewise.
21924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21925 Likewise.
21926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21927 Likewise.
21928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21929 Likewise.
21930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21931 Likewise.
21932 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21933 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21934 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21935 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21936 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21937 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21938 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21939 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21940 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21941 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21942 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21943 Likewise.
21944 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21945 Likewise.
21946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21947 Likewise.
21948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21949 Likewise.
21950 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21951 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21952 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21953 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21954 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21955 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21956 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21957 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21958
f7787234
JM
219592017-12-05 Joseph Myers <joseph@codesourcery.com>
21960
21961 * bits/floatn-common.h: Include <bits/long-double.h>.
21962 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21963 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21964 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21965 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21966 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21967 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21968 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21969 (__builtin_huge_valf64): Use __builtin_huge_vall.
21970 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21971 (__builtin_inff64): Use __builtin_infl.
21972 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21973 (__builtin_nanf64): Use __builtin_nanl.
21974 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21975 (__builtin_nansf64): Use __builtin_nansl.
21976
363e4519
DL
219772017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21978 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21979 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21980
21981 * elf/dl-tunables.list: Add elision parameters.
21982 * manual/tunables.texi: Add entries about elision tunable.
21983 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21984 Add callback functions to dynamically enable/disable elision.
21985 Add multiple callbacks functions to set elision parameters.
21986 Deleted __libc_enable_secure check.
21987 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21988 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21989 * configure: Regenerated.
21990 * configure.ac: Option enable_lock_elision was deleted.
21991 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21992 * config.make.in: Remove references to enable_lock_elision.
21993 * manual/install.texi: Elision configure option was removed.
21994 * INSTALL: Regenerated to remove enable_lock_elision.
21995 * nptl/Makefile:
21996 Disable elision so it can verify error case for destroying a mutex.
21997 * sysdeps/powerpc/nptl/elide.h:
21998 Cleanup ENABLE_LOCK_ELISION check.
21999 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
22000 * sysdeps/s390/configure: Regenerated.
22001 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
22002 * nptl/tst-mutex8.c:
22003 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
22004 * sysdeps/powerpc/powerpc32/sysdep.h:
22005 Deleted all ENABLE_LOCK_ELISION checks.
22006 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22007 * sysdeps/powerpc/sysdep.h: Likewise.
22008 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22009 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22010 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22011 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22012 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22013 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22014 enable-lock-elision.
22015
a5a2a76b
JM
220162017-12-05 Joseph Myers <joseph@codesourcery.com>
22017
22018 * stdlib/strtod.c: Include <bits/floatn.h>.
22019 (BUILD_DOUBLE): New macro.
22020 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22021 (strtof64): Define and later undefine as macro. Define as weak
22022 alias if [!USE_WIDE_CHAR].
22023 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22024 (wcstof64): Define and later undefine as macro. Define as weak
22025 alias if [USE_WIDE_CHAR].
22026 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22027 (strtof32x): Define and later undefine as macro. Define as weak
22028 alias if [!USE_WIDE_CHAR].
22029 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22030 (wcstof32x): Define and later undefine as macro. Define as weak
22031 alias if [USE_WIDE_CHAR].
22032 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22033 (BUILD_DOUBLE): New macro.
22034 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22035 (strtof64_l): Define and later undefine as macro. Define as weak
22036 alias if [!USE_WIDE_CHAR].
22037 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22038 (wcstof64_l): Define and later undefine as macro. Define as weak
22039 alias if [USE_WIDE_CHAR].
22040 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22041 (strtof32x_l): Define and later undefine as macro. Define as weak
22042 alias if [!USE_WIDE_CHAR].
22043 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22044 (wcstof32x_l): Define and later undefine as macro. Define as weak
22045 alias if [USE_WIDE_CHAR].
22046
94d80dfc
AZ
220472017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22048
22049 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22050 (reduced): Use ones as double instead of integer.
22051
00d54af7
SN
220522017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22053
22054 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22055
f2d64d62
JM
220562017-12-05 Joseph Myers <joseph@codesourcery.com>
22057
1f70eae4
JM
22058 * stdlib/strfromd.c: Include <bits/floatn.h>.
22059 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22060 and later undefine as macro and define as weak alias.
22061 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22062 Likewise.
22063
e2c4dce5
JM
22064 * math/test-float32x.h: New file.
22065 * math/test-float64.h: Likewise.
22066
f2d64d62
JM
22067 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22068 (libm_alias_double_other_r_f64): New macro.
22069 (libm_alias_double_other_r_f32x): Likewise.
22070 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22071 libm_alias_double_other_r_f32x.
22072 (libm_alias_double_r): Use semicolon before call to
22073 libm_alias_double_other_r.
22074 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22075 <bits/floatn.h>.
22076 (libm_alias_double_other_r_f64): New macro.
22077 (libm_alias_double_other_r_f32x): Likewise.
22078 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22079 libm_alias_double_other_r_f32x.
22080
91c318e7
L
220812017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22082
22083 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22084 int.
22085 (SINF_FUNC): Likewise. Replace floor with simple casts.
22086
de9661d6
MF
220872017-12-05 Mike FABIAN <mfabian@redhat.com>
22088
22089 [BZ #22517]
22090 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22091 and to the list of locales to be built for testing.
22092 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22093 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22094 and build the collation rules upon that.
22095
f18b8dc7
CM
220962017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22097
22098 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22099 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22100 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22101 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22102 instead of __insn__xxx.
22103 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22104 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22105 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22106 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22107 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22108 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22109
446d22e9
FW
221102017-12-05 Florian Weimer <fweimer@redhat.com>
22111
22112 Linux: Implement interfaces for memory protection keys
22113 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22114 xsignal, xsysconf.
22115 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22116 * support/xunistd.h (xsysconf): Declare.
22117 * support/xraise.c: New file.
22118 * support/xsigaction.c: Likewise.
22119 * support/xsignal.c: Likewise.
22120 * support/xsysconf.c: Likewise.
22121 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22122 pkey_set, pkey_get, pkey_mprotect.
22123 [misc] (tests): Add tst-pkey.
22124 (tst-pkey): Link with -lpthread.
22125 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22126 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22127 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22128 (PKEY_DISABLE_WRITE): Define.
22129 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22130 Declare.
22131 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22132 (SEGV_PKUERR): Add.
22133 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22134 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22135 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22136 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22137 Add.
22138 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22139 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22140 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22141 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22142 * sysdeps/unix/sysv/linux/**.abilist: Update.
22143
da616c14
FW
221442017-12-05 Florian Weimer <fweimer@redhat.com>
22145
22146 * support/tst-test_compare.c (subprocess): Use long long instead
22147 of long argument for consistent type width across 32-bit and
22148 64-bit architectures.
22149 (do_test): Adjust expected output.
22150
216933b2
JM
221512017-12-05 Joseph Myers <joseph@codesourcery.com>
22152
22153 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22154 (cosf): Define using libm_alias_float.
22155 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22156 (fabsf): Define using libm_alias_float.
22157 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22158 (fmaf): Define using libm_alias_float.
22159 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22160 (rintf): Define using libm_alias_float.
22161 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22162 (sinf): Define using libm_alias_float.
22163 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22164 <libm-alias-float.h>.
22165 (modff): Define using libm_alias_float.
22166 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22167 <libm-alias-float.h>.
22168 (logbf): Define using libm_alias_float.
22169 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22170 <libm-alias-float.h>.
22171 (ceilf): Define using libm_alias_float.
22172 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22173 <libm-alias-float.h>.
22174 (copysignf): Define using libm_alias_float.
22175 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22176 <libm-alias-float.h>.
22177 (floorf): Define using libm_alias_float.
22178 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22179 <libm-alias-float.h>.
22180 (llrintf): Define using libm_alias_float.
22181 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22182 <libm-alias-float.h>.
22183 (llroundf): Define using libm_alias_float.
22184 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22185 <libm-alias-float.h>.
22186 (lrintf): Define using libm_alias_float.
22187 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22188 <libm-alias-float.h>.
22189 (lroundf): Define using libm_alias_float.
22190 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22191 <libm-alias-float.h>.
22192 (nearbyintf): Define using libm_alias_float.
22193 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22194 <libm-alias-float.h>.
22195 (rintf): Define using libm_alias_float.
22196 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22197 <libm-alias-float.h>.
22198 (roundf): Define using libm_alias_float.
22199 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22200 <libm-alias-float.h>.
22201 (truncf): Define using libm_alias_float.
22202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22203 Include <libm-alias-float.h>.
22204 (ceilf): Define using libm_alias_float.
22205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22206 Include <libm-alias-float.h>.
22207 (copysignf): Define using libm_alias_float.
22208 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22209 Include <libm-alias-float.h>.
22210 (floorf): Define using libm_alias_float.
22211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22212 Include <libm-alias-float.h>.
22213 (llrintf): Define using libm_alias_float.
22214 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22215 Include <libm-alias-float.h>.
22216 (llroundf): Define using libm_alias_float.
22217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22218 Include <libm-alias-float.h>.
22219 (logbf): Define using libm_alias_float.
22220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22221 Include <libm-alias-float.h>.
22222 (lrintf): Define using libm_alias_float.
22223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22224 Include <libm-alias-float.h>.
22225 (lroundf): Define using libm_alias_float.
22226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22227 Include <libm-alias-float.h>.
22228 (modff): Define using libm_alias_float.
22229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22230 Include <libm-alias-float.h>.
22231 (roundf): Define using libm_alias_float.
22232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22233 Include <libm-alias-float.h>.
22234 (truncf): Define using libm_alias_float.
22235 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22236 <libm-alias-float.h>.
22237 (llrintf): Define using libm_alias_float.
22238 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22239 <libm-alias-float.h>.
22240 (llroundf): Define using libm_alias_float.
22241 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22242 <libm-alias-float.h>.
22243 (ceilf): Define using libm_alias_float.
22244 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22245 <libm-alias-float.h>.
22246 (floorf): Define using libm_alias_float.
22247 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22248 <libm-alias-float.h>.
22249 (llroundf): Define using libm_alias_float.
22250 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22251 <libm-alias-float.h>.
22252 (lroundf): Define using libm_alias_float.
22253 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22254 <libm-alias-float.h>.
22255 (roundf): Define using libm_alias_float.
22256 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22257 <libm-alias-float.h>.
22258 (truncf): Define using libm_alias_float.
22259 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22260 <libm-alias-float.h>.
22261 (copysignf): Define using libm_alias_float.
22262 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22263 <libm-alias-float.h>.
22264 (llrintf): Define using libm_alias_float.
22265 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22266 <libm-alias-float.h>.
22267 (llroundf): Define using libm_alias_float.
22268 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22269 <libm-alias-float.h>.
22270 (lrintf): Define using libm_alias_float.
22271 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22272 <libm-alias-float.h>.
22273 (lroundf): Define using libm_alias_float.
22274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22275 <libm-alias-float.h>.
22276 (ceilf): Define using libm_alias_float.
22277 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22278 <libm-alias-float.h>.
22279 (copysignf): Define using libm_alias_float.
22280 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22281 <libm-alias-float.h>.
22282 (cosf): Define using libm_alias_float.
22283 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22284 <libm-alias-float.h>.
22285 (floorf): Define using libm_alias_float.
22286 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22287 <libm-alias-float.h>.
22288 (llrintf): Define using libm_alias_float.
22289 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22290 <libm-alias-float.h>.
22291 (llroundf): Define using libm_alias_float.
22292 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22293 <libm-alias-float.h>.
22294 (logbf): Define using libm_alias_float.
22295 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22296 <libm-alias-float.h>.
22297 (modff): Define using libm_alias_float.
22298 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22299 <libm-alias-float.h>.
22300 (roundf): Define using libm_alias_float.
22301 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22302 <libm-alias-float.h>.
22303 (sinf): Define using libm_alias_float.
22304 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22305 <libm-alias-float.h>.
22306 (truncf): Define using libm_alias_float.
22307 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22308 <libm-alias-float.h>.
22309 (ceilf): Define using libm_alias_float.
22310 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22311 <libm-alias-float.h>.
22312 (copysignf): Define using libm_alias_float.
22313 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22314 <libm-alias-float.h>.
22315 (floorf): Define using libm_alias_float.
22316 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22317 <libm-alias-float.h>.
22318 (llrintf): Define using libm_alias_float.
22319 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22320 <libm-alias-float.h>.
22321 (llroundf): Define using libm_alias_float.
22322 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22323 <libm-alias-float.h>.
22324 (nearbyintf): Define using libm_alias_float.
22325 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22326 <libm-alias-float.h>.
22327 (rintf): Define using libm_alias_float.
22328 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22329 <libm-alias-float.h>.
22330 (roundf): Define using libm_alias_float.
22331 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22332 <libm-alias-float.h>.
22333 (truncf): Define using libm_alias_float.
22334 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22335 <libm-alias-float.h>.
22336 (ceilf): Define using libm_alias_float.
22337 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22338 <libm-alias-float.h>.
22339 (floorf): Define using libm_alias_float.
22340 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22341 <libm-alias-float.h>.
22342 (llroundf): Define using libm_alias_float.
22343 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22344 <libm-alias-float.h>.
22345 (roundf): Define using libm_alias_float.
22346 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22347 <libm-alias-float.h>.
22348 (truncf): Define using libm_alias_float.
22349 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22350 <libm-alias-float.h>.
22351 (copysignf): Define using libm_alias_float.
22352 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22353 <libm-alias-float.h>.
22354 (llrintf): Define using libm_alias_float.
22355 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22356 <libm-alias-float.h>.
22357 (llroundf): Define using libm_alias_float.
22358 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22359 <libm-alias-float.h>.
22360 (cosf): Define using libm_alias_float.
22361 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22362 <libm-alias-float.h>.
22363 (llrintf): Define using libm_alias_float.
22364 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22365 <libm-alias-float.h>.
22366 (llroundf): Define using libm_alias_float.
22367 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22368 <libm-alias-float.h>.
22369 (sinf): Define using libm_alias_float.
22370
93485524
FW
223712017-12-04 Florian Weimer <fweimer@redhat.com>
22372
22373 * support/check.h (TEST_COMPARE): Define.
22374 (support_test_compare_failure): Declare.
22375 * support/Makefile (libsupport-routines): Add
22376 support_test_compare_failure.
22377 (tests): Add tst-test_compare.
22378 * support /support_test_compare_failure.c: New file.
22379 * support/tst-test_compare.c: Likewise.
22380
96b06a19
MF
223812017-12-04 Mike FABIAN <mfabian@redhat.com>
22382
22383 [BZ #22527]
22384 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22385 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22386 available, this rewrite of the collation rules does reproduce
22387 the test file in the same order.
22388
1f6d91f3
MF
223892017-12-04 Mike FABIAN <mfabian@redhat.com>
22390
22391 [BZ #10580]
22392 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22393 digraphs in the month and day names. Using single code points for
22394 digraphs is deprecated. While there are dedicated Unicode
22395 codepoints, for the digraphs, these are included for backwards
22396 compatibility and modern texts use a sequence of Basic Latin
22397 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22398 This makes the month and day names agree exactly with CLDR now,
22399 CLDR does not use the single code points for the digraphs either.
22400
2e49fed8
CM
224012017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22402
22403 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22404
73895b49
JM
224052017-12-04 Joseph Myers <joseph@codesourcery.com>
22406
22407 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22408 of floor.
22409
4c1d801a
SP
224102017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22411
22412 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22413 Define only for libc.so.
22414
478593e6
SL
224152017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22416
22417 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22418 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22419 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22420 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22421 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22422
7863a711
RS
224232017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22424
22425 [BZ #5997]
22426 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22427
800a496a
JDA
224282017-12-02 John David Anglin <danglin@gcc.gnu.org>
22429
b3f7fb12
JDA
22430 [BZ libc/19170]
22431 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22432 PREINIT_FUNCTION_WEAK is nonzero.
22433 (gmon_initializer): New function. Put procedure label for it in
22434 .init_array section.
22435 (_init): Don't call PREINIT_FUNCTION.
22436 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22437 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22438 value when map argument is null.
22439
800a496a
JDA
22440 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22441 depi instruction from PIC pc-relative sequence.
22442 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22443 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22444 (elf_machine_load_address): Likewise.
22445 (elf_machine_runtime_setup): Likewise.
22446
d17542d2
JM
224472017-12-02 Joseph Myers <joseph@codesourcery.com>
22448
22449 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22450 <libm-alias-double.h>.
22451 (logb): Define using libm_alias_double.
22452 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22453 <libm-alias-double.h>.
22454 (copysign): Define using libm_alias_double.
22455 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22456 <libm-alias-double.h>.
22457 (llrint): Define using libm_alias_double.
22458 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22459 <libm-alias-double.h>.
22460 (llround): Define using libm_alias_double.
22461 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22462 <libm-alias-double.h>.
22463 (lrint): Define using libm_alias_double.
22464 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22465 <libm-alias-double.h>.
22466 (lround): Define using libm_alias_double.
22467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22468 Include <libm-alias-double.h>.
22469 (copysign): Define using libm_alias_double.
22470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22471 Include <libm-alias-double.h>.
22472 (llrint): Define using libm_alias_double.
22473 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22474 Include <libm-alias-double.h>.
22475 (llround): Define using libm_alias_double.
22476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22477 <libm-alias-double.h>.
22478 (logb): Define using libm_alias_double.
22479 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22480 Include <libm-alias-double.h>.
22481 (lrint): Define using libm_alias_double.
22482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22483 Include <libm-alias-double.h>.
22484 (lround): Define using libm_alias_double.
22485 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22486 <libm-alias-double.h>.
22487 (llrint): Define using libm_alias_double.
22488 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22489 <libm-alias-double.h>.
22490 (llround): Define using libm_alias_double.
22491 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22492 <libm-alias-double.h>.
22493 (llround): Define using libm_alias_double.
22494 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22495 <libm-alias-double.h>.
22496 (lround): Define using libm_alias_double.
22497 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22498 <libm-alias-double.h>.
22499 (copysign): Define using libm_alias_double.
22500 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22501 <libm-alias-double.h>.
22502 (llrint): Define using libm_alias_double.
22503 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22504 <libm-alias-double.h>.
22505 (llround): Define using libm_alias_double.
22506 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22507 <libm-alias-double.h>.
22508 (lrint): Define using libm_alias_double.
22509 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22510 <libm-alias-double.h>.
22511 (lround): Define using libm_alias_double.
22512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22513 <libm-alias-double.h>.
22514 (copysign): Define using libm_alias_double.
22515 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22516 <libm-alias-double.h>.
22517 (llrint): Define using libm_alias_double.
22518 (lrint): Likewise.
22519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22520 <libm-alias-double.h>.
22521 (llround): Define using libm_alias_double.
22522 (lround): Likewise.
22523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22524 <libm-alias-double.h>.
22525 (logb): Define using libm_alias_double.
22526 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22527 <libm-alias-double.h>.
22528 (copysign): Define using libm_alias_double.
22529 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22530 <libm-alias-double.h>.
22531 (llrint): Define using libm_alias_double.
22532 (lrint): Likewise.
22533 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22534 <libm-alias-double.h>.
22535 (llround): Define using libm_alias_double.
22536 (lround): Likewise.
22537 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22538 <libm-alias-double.h>.
22539 (llround): Define using libm_alias_double.
22540 (lround): Likewise.
22541 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22542 <libm-alias-double.h>.
22543 (copysign): Define using libm_alias_double.
22544 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22545 <libm-alias-double.h>.
22546 (llrint): Define using libm_alias_double.
22547 (lrint): Likewise.
22548 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22549 <libm-alias-double.h>.
22550 (llround): Define using libm_alias_double.
22551 (lround): Likewise.
22552 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22553 <libm-alias-double.h>.
22554 (llrint): Define using libm_alias_double.
22555 (lrint): Likewise.
22556 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22557 <libm-alias-double.h>.
22558 (llround): Define using libm_alias_double.
22559 (lround): Likewise.
22560
ec2cf3f4
JM
225612017-12-01 Joseph Myers <joseph@codesourcery.com>
22562
0ddde474
JM
22563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22564 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22565 compat symbol based on llround.
22566
0d5ba561
JM
22567 * sysdeps/powerpc/power7/fpu/s_logb.c
22568 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22569 symbol based on __logb, not on logb.
22570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22571 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22573 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22574
51ea3b20
JM
22575 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22576 (rint): Define using libm_alias_double.
22577 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22578 <libm-alias-double.h>.
22579 (modf): Define using libm_alias_double.
22580 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22581 <libm-alias-double.h>.
22582 (ceil): Define using libm_alias_double.
22583 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22584 <libm-alias-double.h>.
22585 (floor): Define using libm_alias_double.
22586 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22587 <libm-alias-double.h>.
22588 (nearbyint): Define using libm_alias_double.
22589 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22590 <libm-alias-double.h>.
22591 (rint): Define using libm_alias_double.
22592 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22593 <libm-alias-double.h>.
22594 (round): Define using libm_alias_double.
22595 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22596 <libm-alias-double.h>.
22597 (trunc): Define using libm_alias_double.
22598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22599 <libm-alias-double.h>.
22600 (ceil): Define using libm_alias_double.
22601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22602 Include <libm-alias-double.h>.
22603 (floor): Define using libm_alias_double.
22604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22605 <libm-alias-double.h>.
22606 (modf): Define using libm_alias_double.
22607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22608 Include <libm-alias-double.h>.
22609 (round): Define using libm_alias_double.
22610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22611 Include <libm-alias-double.h>.
22612 (trunc): Define using libm_alias_double.
22613 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22614 <libm-alias-double.h>.
22615 (ceil): Define using libm_alias_double.
22616 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22617 <libm-alias-double.h>.
22618 (floor): Define using libm_alias_double.
22619 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22620 <libm-alias-double.h>.
22621 (round): Define using libm_alias_double.
22622 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22623 <libm-alias-double.h>.
22624 (trunc): Define using libm_alias_double.
22625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22626 <libm-alias-double.h>.
22627 (ceil): Define using libm_alias_double.
22628 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22629 <libm-alias-double.h>.
22630 (floor): Define using libm_alias_double.
22631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22632 <libm-alias-double.h>.
22633 (modf): Define using libm_alias_double.
22634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22635 <libm-alias-double.h>.
22636 (round): Define using libm_alias_double.
22637 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22638 <libm-alias-double.h>.
22639 (trunc): Define using libm_alias_double.
22640 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22641 <libm-alias-double.h>.
22642 (ceil): Define using libm_alias_double.
22643 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22644 <libm-alias-double.h>.
22645 (floor): Define using libm_alias_double.
22646 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22647 <libm-alias-double.h>.
22648 (nearbyint): Define using libm_alias_double.
22649 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22650 <libm-alias-double.h>.
22651 (rint): Define using libm_alias_double.
22652 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22653 <libm-alias-double.h>.
22654 (round): Define using libm_alias_double.
22655 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22656 <libm-alias-double.h>.
22657 (trunc): Define using libm_alias_double.
22658 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22659 <libm-alias-double.h>.
22660 (ceil): Define using libm_alias_double.
22661 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22662 <libm-alias-double.h>.
22663 (floor): Define using libm_alias_double.
22664 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22665 <libm-alias-double.h>.
22666 (round): Define using libm_alias_double.
22667 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22668 <libm-alias-double.h>.
22669 (trunc): Define using libm_alias_double.
22670
ec2cf3f4
JM
22671 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22672 (fabs): Define using libm_alias_double.
22673 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22674 (fma): Define using libm_alias_double.
22675 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22676 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22677 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22678 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22679
5b7bd975
AZ
226802017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22681
0594b13f
AZ
22682 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22683
dbdfcf3b
AZ
22684 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22685 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22686 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22687
5b7bd975
AZ
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22689 due redirect macro.
22690
ef9ecfa6
AS
226912017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22692
22693 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22694
5b4e5e78
AZ
226952017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22696
2a14526b
AZ
22697 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22698 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22699 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22700 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22701
dbeb74ef 22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22703 (libm-sysdep_routines): Add s_nearbyintf-generic and
22704 s_nearbyint-generic.
22705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22706 New file.
22707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22709 Likewise.
22710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22711 Likewise.
22712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22713 file.
22714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22715 Likewise.
22716
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22718 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22720 file.
22721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22723 Likewise.
22724 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22727
fa7ded96
AZ
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22729 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22731 file.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22734 Likewise.
22735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22737 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22738
e240cf0e
AZ
22739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22740 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22742 file.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22745 Likewise.
22746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22747 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22749
5b4e5e78
AZ
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22751 (sysdep_calls): New rule.
22752 (sysdep_routines): Use sysdep_calls as base.
22753 (libm-sysdep_routines): Add generic rule for symbols shared with
22754 libc. Add s_copysign-generic and s_copysign-generic objects.
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22756 New file.
22757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22759 Likewise.
22760 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22761 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22762 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22763
d985adae
MF
227642017-12-01 Mike FABIAN <mfabian@redhat.com>
22765
22766 [BZ #22519]
22767 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22768 the list of locales to be built for testing.
22769 * localedata/is_IS.UTF-8.in: New file.
22770 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22771 on iso14651_t1.
22772
ff84a0e0
JM
227732017-12-01 Joseph Myers <joseph@codesourcery.com>
22774
22775 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22776 <libm-alias-float.h>.
22777 (fabsf): Define using libm_alias_float.
22778
ef5d8b43
L
227792017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22780
22781 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22782
c0535adf
JM
227832017-11-30 Joseph Myers <joseph@codesourcery.com>
22784
f938b397
JM
22785 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22786 <libm-alias-float.h>.
22787 (fabsf): Define using libm_alias_float.
22788 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22789 <libm-alias-float.h>.
22790 (lrintf): Define using libm_alias_float.
22791 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22792 <libm-alias-float.h>.
22793 (rintf): Define using libm_alias_float.
22794
2251fad0
JM
22795 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22796 <libm-alias-double.h>.
22797 (fabs): Define using libm_alias_double.
22798 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22799 <libm-alias-double.h>.
22800 (lrint): Define using libm_alias_double.
22801 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22802 <libm-alias-double.h>.
22803 (rint): Define using libm_alias_double.
22804
e53df1de
JM
22805 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22806 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22807 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22808 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22809 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22810 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22811 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22812 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22813 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22814 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22815 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22816 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22817 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22818 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22819 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22820 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22821 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22822 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22823 s_atan_template.c.
22824 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22825 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22826 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22827 s_ceil_template.c.
22828 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22829 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22830 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22831 s_cos_template.c.
22832 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22833 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22834 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22835 s_expm1_template.c.
22836 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22837 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22838 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22839 s_fabs_template.c.
22840 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22841 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22842 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22843 s_floor_template.c.
22844 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22845 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22846 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22847 s_frexp_template.c.
22848 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22849 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22850 s_lrint_template.c.
22851 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22852 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22853 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22854 s_modf_template.c.
22855 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22856 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22857 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22858 s_nearbyint_template.c.
22859 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22860 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22861 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22862 s_remquo_template.c.
22863 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22864 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22865 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22866 s_rint_template.c.
22867 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22868 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22869 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22870 s_sin_template.c.
22871 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22872 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22873 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22874 s_sincos_template.c.
22875 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22876 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22877 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22878 s_tan_template.c.
22879 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22880 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22881 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22882 s_tanh_template.c.
22883 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22884 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22885 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22886 s_trunc_template.c.
22887 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22888 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22889 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22890 s_atan.c instead of including s_atan.c.
22891 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22892 s_atanf.c instead of including s_atanf.c.
22893 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22894 s_atanl.c instead of including s_atanl.c.
22895 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22896 instead of s_atan.c.
22897 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22898 instead of s_atanf.c.
22899 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22900 instead of s_atanl.c.
22901
c0535adf
JM
22902 * scripts/update-copyrights: Do not handle intl/plural.c
22903 specially.
22904
1faaf703
JB
229052017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22906
22907 [BZ #22432]
22908 * configure.ac (BISON): Require to be present.
22909 * configure: Regenerated.
22910 * intl/Makefile (generated): Add plural.c.
22911 [$(BISON) != no]: Make code unconditional.
22912 (plural.c): Change rule to $(objpfx)plural.c.
22913 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22914 * intl/plural.c: Remove.
22915 * manual/install.texi (Tools for Compilation): Document bison as
22916 required.
22917 * INSTALL: Regenerated.
22918
faec6323
JM
229192017-11-30 Joseph Myers <joseph@codesourcery.com>
22920
bd6ea9ed
JM
22921 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22922 <libm-alias-double.h>.
22923 (llrint): Define using libm_alias_double.
22924 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22925 <libm-alias-float.h>.
22926 (llrintf): Define using libm_alias_float.
22927 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22928 <libm-alias-ldouble.h>.
22929 (llrintl): Define using libm_alias_ldouble.
22930
faec6323
JM
22931 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22932 declare_mgen_alias instead of weak_alias.
22933 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22934 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22935 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22936
023cade3
AZ
229372017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22938
9e2279a0
AZ
22939 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22940 Add add_n-generic.
22941 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22942 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22943 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22944
75f37c71
AZ
22945 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22946 Add submul_1-generic.
22947 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22948 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22949 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22950
b70cbbfc 22951 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22952 Add addmul_1-generic.
22953 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22954 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22955 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22956
22957 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22958 Add sub_n-generic.
22959 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22960 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22961 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22962
023cade3
AZ
22963 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22964 Add mul_1-generic.
22965 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22966 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22967 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22968
fbb5fd03
MF
229692017-11-30 Mike FABIAN <mfabian@redhat.com>
22970
22971 According to CLDR, collation rules for Serbian and Bosnian
22972 should be the same as for Croatian.
22973
22974 [BZ #22534]
22975 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22976 and to the list of locales to be built for testing.
22977 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22978 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22979 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22980 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22981
5e56e937
MF
229822017-11-30 Mike FABIAN <mfabian@redhat.com>
22983
22984 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22985 to make test case pass.
22986 * localedata/hr_HR.UTF-8.in: Add more test strings.
22987
cf4341ca
MF
229882017-11-30 Mike FABIAN <mfabian@redhat.com>
22989
22990 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22991
363e4519 229922017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22993
22994 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22995 the list of locales to built for testing.
22996 * localedata/hr_HR.UTF-8.in: New file.
22997
363e4519 229982017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22999
23000 [BZ #10580]
23001 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
23002 iso14651_t1.
23003 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
23004 CLDR (except use ligatures for the digraphs, CLDR does not use
23005 the ligatures), add first_workday, some fixes in the date and time
23006 formats.
23007 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23008 for Đ and đ.
23009 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23010 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23011 Add int_p_cs_precedes and int_n_cs_precedes.
23012 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23013 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23014 LC_MONETARY now).
23015 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23016 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23017 name_miss.
23018 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23019 and lang_lib. Change postal_fmt.
23020
f33632cc
L
230212017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23022
23023 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23024 <setjmp.h>.
23025 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23026 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23027 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23028 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23029 * sysdeps/generic/setjmpP.h: New file.
23030 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23031 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23032 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23033 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23034 Add jmp_buf-ssp.sym.
23035 (tests): Add tst-saved_mask-1.
23036
34697694
AS
230372017-11-30 Arjun Shankar <arjun@redhat.com>
23038
23039 [BZ #22375]
37ac8e63 23040 CVE-2017-17426
34697694
AS
23041 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23042 instead of request2size.
23043
3e5efdbd
JM
230442017-11-30 Joseph Myers <joseph@codesourcery.com>
23045
18305fba
JM
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23047 (__lllrint): Remove alias.
23048 (lllrint): Likewise.
23049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23050 (__lllrintf): Likewise.
23051 (lllrintf): Likewise.
23052
3e5efdbd
JM
23053 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23054 <libm-alias-float.h>.
23055 (copysignf): Define using libm_alias_float.
23056 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23057 <libm-alias-float.h>.
23058 (fabsf): Define using libm_alias_float.
23059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23060 Include <libm-alias-float.h>.
23061 (copysignf): Define using libm_alias_float.
23062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23063 <libm-alias-float.h>.
23064 (fabsf): Define using libm_alias_float.
23065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23066 <libm-alias-float.h>.
23067 (fdimf): Define using libm_alias_float.
23068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23069 <libm-alias-float.h>.
23070 (fmaf): Define using libm_alias_float.
23071 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23072 <libm-alias-float.h>.
23073 (llrintf): Define using libm_alias_float.
23074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23075 Include <libm-alias-float.h>.
23076 (nearbyintf): Define using libm_alias_float.
23077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23078 <libm-alias-float.h>.
23079 (rintf): Define using libm_alias_float.
23080 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23081 <libm-alias-float.h>.
23082 (llrintf): Define using libm_alias_float.
23083 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23084 <libm-alias-float.h>.
23085 (lrintf): Define using libm_alias_float.
23086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23087 <libm-alias-float.h>.
23088 (nearbyintf): Define using libm_alias_float.
23089 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23090 <libm-alias-float.h>.
23091 (rintf): Define using libm_alias_float.
23092 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23093 <libm-alias-float.h>.
23094 (ceilf): Define using libm_alias_float.
23095 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23096 <libm-alias-float.h>.
23097 (floorf): Define using libm_alias_float.
23098 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23099 <libm-alias-float.h>.
23100 (fmaf): Define using libm_alias_float.
23101 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23102 <libm-alias-float.h>.
23103 (lrintf): Define using libm_alias_float.
23104 (llrintf): Likewise.
23105 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23106 <libm-alias-float.h>.
23107 (nearbyintf): Define using libm_alias_float.
23108 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23109 <libm-alias-float.h>.
23110 (rintf): Define using libm_alias_float.
23111 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23112 <libm-alias-float.h>.
23113 (truncf): Define using libm_alias_float.
23114 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23115 <libm-alias-float.h>.
23116 (copysignf): Define using libm_alias_float.
23117 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23118 <libm-alias-float.h>.
23119 (fabsf): Define using libm_alias_float.
23120 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23121 <libm-alias-float.h>.
23122 (lrintf): Define using libm_alias_float.
23123 (llrintf): Likewise.
23124 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23125 <libm-alias-float.h>.
23126 (nearbyintf): Define using libm_alias_float.
23127 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23128 <libm-alias-float.h>.
23129 (rintf): Define using libm_alias_float.
23130
011fba7e
JM
231312017-11-29 Joseph Myers <joseph@codesourcery.com>
23132
875cd548
JM
23133 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23134 <libm-alias-double.h>.
23135 (copysign): Define using libm_alias_double.
23136 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23137 <libm-alias-double.h>.
23138 (fabs): Define using libm_alias_double.
23139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23140 Include <libm-alias-double.h>.
23141 (copysign): Define using libm_alias_double.
23142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23143 <libm-alias-double.h>.
23144 (fabs): Define using libm_alias_double.
23145 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23146 <libm-alias-double.h>.
23147 (fdim): Define using libm_alias_double.
23148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23149 <libm-alias-double.h>.
23150 (fma): Define using libm_alias_double.
23151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23152 <libm-alias-double.h>.
23153 (llrint): Define using libm_alias_double.
23154 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23155 Include <libm-alias-double.h>.
23156 (nearbyint): Define using libm_alias_double.
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23158 <libm-alias-double.h>.
23159 (rint): Define using libm_alias_double.
23160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23161 <libm-alias-double.h>.
23162 (fabs): Define using libm_alias_double.
23163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23164 <libm-alias-double.h>.
23165 (llrint): Define using libm_alias_double.
23166 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23167 <libm-alias-double.h>.
23168 (nearbyint): Define using libm_alias_double.
23169 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23170 <libm-alias-double.h>.
23171 (rint): Define using libm_alias_double.
23172 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23173 <libm-alias-double.h>.
23174 (ceil): Define using libm_alias_double.
23175 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23176 <libm-alias-double.h>.
23177 (floor): Define using libm_alias_double.
23178 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23179 <libm-alias-double.h>.
23180 (fma): Define using libm_alias_double.
23181 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23182 <libm-alias-double.h>.
23183 (lrint): Define using libm_alias_double.
23184 (llrint): Likewise.
23185 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23186 <libm-alias-double.h>.
23187 (nearbyint): Define using libm_alias_double.
23188 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23189 <libm-alias-double.h>.
23190 (rint): Define using libm_alias_double.
23191 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23192 <libm-alias-double.h>.
23193 (trunc): Define using libm_alias_double.
23194 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23195 <libm-alias-double.h>.
23196 (copysign): Define using libm_alias_double.
23197 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23198 <libm-alias-double.h>.
23199 (fabs): Define using libm_alias_double.
23200 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23201 <libm-alias-double.h>.
23202 (lrint): Define using libm_alias_double.
23203 (llrint): Likewise.
23204 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23205 <libm-alias-double.h>.
23206 (nearbyint): Define using libm_alias_double.
23207 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23208 <libm-alias-double.h>.
23209 (rint): Define using libm_alias_double.
23210
cf4ebc27
JM
23211 [BZ #22229]
23212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23213 <math_ldbl_opt.h>.
23214 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23215
0c097378
JM
23216 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23217 SPARC --disable-multi-arch glibc variants.
23218
34bb10aa
JM
23219 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23220 <libm-alias-float.h>.
23221 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23222 if [SHARED].
23223 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23224 <libm-alias-float.h>.
23225 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23226 if [SHARED].
23227 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23228 <libm-alias-float.h>.
23229 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23230 if [SHARED].
23231 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23232 <libm-alias-float.h>.
23233 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23234 if [SHARED].
23235 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23236 <libm-alias-float.h>.
23237 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23238 if [SHARED].
23239 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23240 <libm-alias-float.h>.
23241 (ceilf): Define using libm_alias_float.
23242 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23243 <libm-alias-float.h>.
23244 (floorf): Define using libm_alias_float.
23245 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23246 <libm-alias-float.h>.
23247 (fmaf): Define using libm_alias_float.
23248 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23249 <libm-alias-float.h>.
23250 (nearbyintf): Define using libm_alias_float.
23251 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23252 <libm-alias-float.h>.
23253 (rintf): Define using libm_alias_float.
23254 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23255 <libm-alias-float.h>.
23256 (truncf): Define using libm_alias_float.
23257 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23258 (copysignf): Define using libm_alias_float.
23259 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23260 (cosf): Define using libm_alias_float.
23261 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23262 (fabsf): Define using libm_alias_float.
23263 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23264 (fmaxf): Define using libm_alias_float.
23265 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23266 (fminf): Define using libm_alias_float.
23267 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23268 (llrintf): Define using libm_alias_float.
23269 [!__ILP32__] (lrintf): Likewise.
23270 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23271 (sincosf): Define using libm_alias_float.
23272 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23273 (sinf): Define using libm_alias_float.
23274 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23275 (lrintf): Define using libm_alias_float.
23276
011fba7e
JM
23277 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23278 <libm-alias-double.h>.
23279 (atan): Define using libm_alias_double.
23280 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23281 <libm-alias-double.h>.
23282 (ceil): Define using libm_alias_double.
23283 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23284 <libm-alias-double.h>.
23285 (floor): Define using libm_alias_double.
23286 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23287 <libm-alias-double.h>.
23288 (fma): Define using libm_alias_double.
23289 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23290 <libm-alias-double.h>.
23291 (nearbyint): Define using libm_alias_double.
23292 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23293 <libm-alias-double.h>.
23294 (rint): Define using libm_alias_double.
23295 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23296 <libm-alias-double.h>.
23297 (sin): Define using libm_alias_double.
23298 (cos): Likewise.
23299 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23300 <libm-alias-double.h>.
23301 (tan): Define using libm_alias_double.
23302 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23303 <libm-alias-double.h>.
23304 (trunc): Define using libm_alias_double.
23305 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23306 (copysign): Define using libm_alias_double.
23307 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23308 (fabs): Define using libm_alias_double.
23309 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23310 (fmax): Define using libm_alias_double.
23311 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23312 (fmin): Define using libm_alias_double.
23313 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23314 (llrint): Define using libm_alias_double.
23315 [!__ILP32__] (lrint): Likewise.
23316 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23317 (lrint): Define using libm_alias_double.
23318
1cbd7bfe
AZ
233192017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23320
21bfcc3d
AZ
23321 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23322 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23323 objects.
23324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23325 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23327 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23328 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23329 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23330
522228dd
AZ
23331 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23332 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23333 objects.
23334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23335 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23337 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23338 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23339 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23340
2a6f4fab
AZ
23341 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23342 (libm-sysdep_routines): Add s_nearbyint-generic and
23343 s_nearbyintf-generic objects.
23344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23345 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23346 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23347 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23348 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23349 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23350
712b5b83
AZ
23351 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23352 Add s_finitef-generic and s_finite-generic objects.
23353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23355 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23356 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23357 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23358 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23359
c96d3335
AZ
23360 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23361 Add s_isinff-generic and s_isinf-generic objects.
23362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23368
c6862a23
AZ
23369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23370 Add s_isnanf-generic and s_isnan-generic objects.
23371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23372 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23373 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23374 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23375 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23376 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23377
1cbd7bfe
AZ
23378 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23379 macro.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23381 rule.
23382 (sysdep_routines): Use sysdep_calls as base.
23383 (libm-sysdep_routines): Add generic rule for symbols shared with
23384 libc. Add s_signbit-generic and s_signbitf-generic objects.
23385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23386 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23387 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23388 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23389 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23390 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23391
aa1142c5
JM
233922017-11-29 Joseph Myers <joseph@codesourcery.com>
23393
23394 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23395 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23396 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23397 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23398 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23399 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23400 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23401 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23402 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23403 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23404 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23405 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23406 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23407 libm_alias_float_r.
23408 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23409 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23410 (logf): Likewise.
23411 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23412 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23413 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23414 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23415 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23416 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23417 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23418 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23419 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23420 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23421 libm_alias_float.
23422 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23423 (cosf): Likewise.
23424 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23425 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23426 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23427 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23428 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23429 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23430 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23431 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23432 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23433 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23434 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23435 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23436 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23437 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23438 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23439 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23440 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23441 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23442 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23443 libm_alias_float.
23444 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23445 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23446 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23447 * sysdeps/ia64/fpu/w_lgammaf_main.c
23448 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23449 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23450
363e4519
DL
234512017-11-28 Mike FABIAN <mfabian@redhat.com>
23452 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23453
23454 [BZ #17750]
23455 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23456 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23457 accents sorting.
23458 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23459 sorting.
23460 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23461 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23462 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23463 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23464 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23465 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23466 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23467 instead of “ifdef DIACRIT_BACKWARD”.
23468
a55430cb
AZ
234692017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23470
23471 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23472 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23473 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23474 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23475 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23476 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23477 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23478 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23479 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23480 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23481 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23482 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23483 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23484 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23485 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23486 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23487 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23488 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23490 ($(have-as-vis3) == yes): Remove conditional.
23491 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23492 Likewise.
23493 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23494 file.
23495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23496 file.
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23498 file.
23499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23500 file.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23502 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23503 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23504 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23505 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23506 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23507 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23508 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23509
0609ec0a
JM
235102017-11-29 Joseph Myers <joseph@codesourcery.com>
23511
23512 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23513 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23514 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23515 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23516 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23517 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23518 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23519 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23520 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23521 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23522 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23523 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23524 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23525 libm_alias_double_r.
23526 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23527 (log): Likewise.
23528 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23529 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23530 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23531 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23532 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23533 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23534 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23535 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23536 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23537 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23538 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23539 libm_alias_double.
23540 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23541 (cos): Likewise.
23542 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23543 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23544 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23545 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23546 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23547 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23548 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23549 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23550 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23551 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23552 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23553 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23554 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23555 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23556 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23557 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23558 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23559 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23560 libm_alias_double.
23561 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23562 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23563 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23564 * sysdeps/ia64/fpu/w_lgamma_main.c
23565 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23566 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23567
d5bfa34a
JDA
235682017-11-28 John David Anglin <danglin@gcc.gnu.org>
23569
23570 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23571 address of $global$ into %dp register earlier. Use pc-relative
23572 instruction sequence for PIC case.
23573
bc4e8f9b
JM
235742017-11-28 Joseph Myers <joseph@codesourcery.com>
23575
e4602cba
JM
23576 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23577 (asinhf): Define using libm_alias_float.
23578 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23579 (atanf): Define using libm_alias_float.
23580 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23581 (cbrtf): Define using libm_alias_float.
23582 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23583 (ceilf): Define using libm_alias_float.
23584 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23585 (copysignf): Define using libm_alias_float.
23586 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23587 (expm1f): Define using libm_alias_float.
23588 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23589 (fabsf): Define using libm_alias_float.
23590 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23591 (floorf): Define using libm_alias_float.
23592 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23593 (fmaxf): Define using libm_alias_float.
23594 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23595 (fminf): Define using libm_alias_float.
23596 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23597 (frexpf): Define using libm_alias_float.
23598 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23599 (llrintf): Define using libm_alias_float.
23600 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23601 (logbf): Define using libm_alias_float.
23602 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23603 (lrintf): Define using libm_alias_float.
23604 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23605 (nearbyintf): Define using libm_alias_float.
23606 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23607 (remquof): Define using libm_alias_float.
23608 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23609 (rintf): Define using libm_alias_float.
23610 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23611 (truncf): Define using libm_alias_float.
23612 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23613 <libm-alias-float.h>.
23614 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23615 if [SHARED].
23616 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23617 <libm-alias-float.h>.
23618 (expf): Define using libm_alias_float, or libm_alias_float_other
23619 if [SHARED].
23620 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23621 <libm-alias-float.h>.
23622 (log2f): Define using libm_alias_float, or libm_alias_float_other
23623 if [SHARED].
23624 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23625 <libm-alias-float.h>.
23626 (logf): Define using libm_alias_float, or libm_alias_float_other
23627 if [SHARED].
23628 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23629 <libm-alias-float.h>.
23630 (powf): Define using libm_alias_float, or libm_alias_float_other
23631 if [SHARED].
23632 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23633 <libm-alias-float.h>.
23634 (cosf): Define using libm_alias_float.
23635 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23636 <libm-alias-float.h>.
23637 (sincosf): Define using libm_alias_float.
23638 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23639 <libm-alias-float.h>.
23640 (sinf): Define using libm_alias_float.
23641 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23642 (fmaxf): Define using libm_alias_float.
23643 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23644 (fminf): Define using libm_alias_float.
23645 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23646 <libm-alias-float.h>.
23647 (fmaf): Define using libm_alias_float.
23648
bc4e8f9b
JM
23649 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23650 (asinh): Define using libm_alias_double.
23651 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23652 (atan): Define using libm_alias_double.
23653 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23654 (cbrt): Define using libm_alias_double.
23655 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23656 (ceil): Define using libm_alias_double.
23657 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23658 (copysign): Define using libm_alias_double.
23659 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23660 (expm1): Define using libm_alias_double.
23661 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23662 (fabs): Define using libm_alias_double.
23663 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23664 (fdim): Define using libm_alias_double.
23665 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23666 (floor): Define using libm_alias_double.
23667 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23668 (fmax): Define using libm_alias_double.
23669 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23670 (fmin): Define using libm_alias_double.
23671 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23672 (frexp): Define using libm_alias_double.
23673 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23674 (llrint): Define using libm_alias_double.
23675 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23676 (logb): Define using libm_alias_double.
23677 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23678 (lrint): Define using libm_alias_double.
23679 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23680 (nearbyint): Define using libm_alias_double.
23681 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23682 (remquo): Define using libm_alias_double.
23683 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23684 (rint): Define using libm_alias_double.
23685 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23686 (trunc): Define using libm_alias_double.
23687 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23688 (fmax): Define using libm_alias_double.
23689 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23690 (fmin): Define using libm_alias_double.
23691 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23692 (fma): Define using libm_alias_double.
23693
8d81ce0c
L
236942017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23695
23696 [BZ #22370]
23697 * elf/dl-hwcaps.c (ROUND): Removed.
23698 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23699 and ELF_NOTE_NEXT_OFFSET.
23700 * elf/dl-load.c (ROUND): Removed.
23701 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23702 * elf/readelflib.c (ROUND): Removed.
23703 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23704 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23705 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23706 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23707
6940bd96
JM
237082017-11-28 Joseph Myers <joseph@codesourcery.com>
23709
313ba463
JM
23710 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23711 [!__fmaf] (fmaf): Define using libm_alias_float.
23712
6940bd96
JM
23713 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23714 [!__fma] (fma): Define using libm_alias_double.
23715 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23716
22c69b6a
MF
237172017-11-28 Mike FABIAN <mfabian@redhat.com>
23718
23719 [BZ #22336]
23720 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23721 and implement the collation rules for cs from CLDR on top of that.
23722 * Makefile: Add cs_CZ.UTF-8 to test-input.
23723 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23724
8d7d3ba8
SP
237252017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23726
23727 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23728
0422ed1e
VR
237292017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23730 Icarus Sparry <icarus.w.sparry@intel.com>
23731
23732 * benchtests/Makefile:Add BENCHSET to allow subsets of
23733 benchmarks to be run.
23734 * benchtests/README: Add documentation for: Running subsets of
23735 benchmarks.
23736
0595e360
VR
237372017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23738
d5090db3
VR
23739 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23740 range of tests names.
23741
0595e360
VR
23742 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23743 result from property and remove "max", min" and "mean" from
23744 required properties based on benchtests/bench-skeleton.c.
23745
b4c645c2
FW
237462017-11-28 Florian Weimer <fweimer@redhat.com>
23747
23748 [BZ #20826]
23749 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23750 due to Internet requirement.
23751 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23752 tst-getaddrinfo5.
23753 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23754
88684de7
AZ
237552017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23756
69056564
AZ
23757 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23758 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23759 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23760 (sysdep_routines): Add memset-ultra1.
23761 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23762 file.
23763 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23764 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23765 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23766 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23767 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23768 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23770 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23771
88684de7
AZ
23772 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23773 file.
23774 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23775 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23776 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23777 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23778 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23779 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23780 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23781 macro.
23782 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23783 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23784 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23785 (sysdep_routines): Add memcpy-ultra1.
23786 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23787 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23788
d8124864
JM
237892017-11-28 Joseph Myers <joseph@codesourcery.com>
23790
f433d0b3
JM
23791 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23792 (cfloat_versions): Take function argument without trailing 'f'.
23793 Call libm_alias_float_other.
23794 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23795 * sysdeps/alpha/fpu/cargf.c: Likewise.
23796 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23797 * sysdeps/alpha/fpu/conjf.c: Likewise.
23798 * sysdeps/alpha/fpu/crealf.c: Likewise.
23799 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23800 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23801 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23802 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23803 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23804 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23805 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23806 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23807 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23808 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23809 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23810 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23811 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23812 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23813 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23814 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23815 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23816 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23817 (clog10f): Use libm_alias_float_other.
23818 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23819 (ceilf): Define using libm_alias_float.
23820 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23821 (copysignf): Define using libm_alias_float.
23822 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23823 (fabsf): Define using libm_alias_float.
23824 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23825 (floorf): Define using libm_alias_float.
23826 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23827 (fmaxf): Define using libm_alias_float.
23828 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23829 (fminf): Define using libm_alias_float.
23830 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23831 (lrintf): Define using libm_alias_float.
23832 (llrintf): Likewise.
23833 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23834 (lroundf): Define using libm_alias_float.
23835 (llroundf): Likewise.
23836 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23837 (rintf): Define using libm_alias_float.
23838 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23839 (truncf): Define using libm_alias_float.
23840
15ff4900
JM
23841 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23842 (ceilf): Define using libm_alias_float.
23843 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23844 (floorf): Define using libm_alias_float.
23845 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23846 (fmaf): Define using libm_alias_float.
23847 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23848 (fmaxf): Define using libm_alias_float.
23849 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23850 (fminf): Define using libm_alias_float.
23851 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23852 (llrintf): Define using libm_alias_float.
23853 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23854 (llroundf): Define using libm_alias_float.
23855 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23856 (lrintf): Define using libm_alias_float.
23857 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23858 (lroundf): Define using libm_alias_float.
23859 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23860 <libm-alias-float.h>.
23861 (nearbyintf): Define using libm_alias_float.
23862 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23863 (rintf): Define using libm_alias_float.
23864 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23865 (roundf): Define using libm_alias_float.
23866 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23867 (truncf): Define using libm_alias_float.
23868
5de60638
JM
23869 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23870 (ceil): Define using libm_alias_double.
23871 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23872 (copysign): Define using libm_alias_double.
23873 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23874 (fabs): Define using libm_alias_double.
23875 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23876 (floor): Define using libm_alias_double.
23877 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23878 (fmax): Define using libm_alias_double.
23879 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23880 (fmin): Define using libm_alias_double.
23881 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23882 (lrint): Define using libm_alias_double.
23883 (llrint): Likewise.
23884 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23885 (lround): Define using libm_alias_double.
23886 (llround): Likewise.
23887 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23888 (rint): Define using libm_alias_double.
23889 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23890 (trunc): Define using libm_alias_double.
23891
d8124864
JM
23892 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23893 (libm_alias_double_r): Add semicolon after weak_alias call.
23894
f07d2ec8
JM
238952017-11-27 Joseph Myers <joseph@codesourcery.com>
23896
23897 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23898 (ceil): Define using libm_alias_double.
23899 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23900 (floor): Define using libm_alias_double.
23901 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23902 (fma): Define using libm_alias_double.
23903 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23904 (fmax): Define using libm_alias_double.
23905 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23906 (fmin): Define using libm_alias_double.
23907 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23908 (llrint): Define using libm_alias_double.
23909 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23910 (llround): Define using libm_alias_double.
23911 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23912 (lrint): Define using libm_alias_double.
23913 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23914 (lround): Define using libm_alias_double.
23915 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23916 (nearbyint): Define using libm_alias_double.
23917 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23918 (rint): Define using libm_alias_double.
23919 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23920 (round): Define using libm_alias_double.
23921 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23922 (trunc): Define using libm_alias_double.
23923
4bab0224
FW
239242017-11-27 Florian Weimer <fweimer@redhat.com>
23925
23926 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23927 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23928 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23929 (tests): Add tst-mlock2.
23930 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23931 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23932 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23933 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23934 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23935 for mlock. Document mlock2.
23936
a23aa5b7
JM
239372017-11-27 Joseph Myers <joseph@codesourcery.com>
23938
23939 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23940 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23941 Likewise.
23942 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23943 Likewise.
23944 * sysdeps/x86/Makeconfig: New file.
23945 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23946 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23947 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23948 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23949 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23950 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23951 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23952 Likewise.
23953 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23954 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23955 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23956 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23957 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23958 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23959 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23960 * manual/math.texi (Mathematics): Document support for _Float64x.
23961 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23962 * stdlib/Versions (GLIBC_2.27): Likewise.
23963 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23964 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23965 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23966 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23967 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23968 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23969 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23970 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23971 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23972 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23973 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23974 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23976 Likewise.
23977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23978 Likewise.
23979 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23980 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23981 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23982 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23983 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23984 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23985 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23986 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23987 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23988 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23989 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23990 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23991 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23992 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23993
c2c299fd
AS
239942017-11-27 Andreas Schwab <schwab@suse.de>
23995
23996 * elf/Makefile (dl-routines): Add dl-sort-maps.
23997 * elf/dl-sort-maps.c: New file.
23998 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23999 (_dl_sort_maps): Declare.
24000 * elf/dl-fini.c (_dl_sort_fini): Remove.
24001 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
24002 * elf/dl-close.c (_dl_close_worker): Likewise.
24003 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24004 open-coding it.
24005 * elf/dl-open.c (dl_open_worker): Likewise.
24006
9d4b0117
JM
240072017-11-24 Joseph Myers <joseph@codesourcery.com>
24008
de61465c
JM
24009 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24010 using libm_alias_float128.
24011 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24012 Likewise.
24013 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24014 Likewise.
24015 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24016 (setpayloadsigf128): Likewise.
24017 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24018 Likewise.
24019 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24020 Likewise.
24021
9ae6d171
JM
24022 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24023 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24024 -mfloat128 to CFLAGS.
24025 ($(foreach
24026 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24027 Likewise.
24028 (CFLAGS-libm-test-support-float64x.c): New variable.
24029 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24030 $(f128-loader-link) to gnulib-tests.
24031
6e70d156
JM
24032 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24033 (libm_alias_float128_other_r): If
24034 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24035 alias.
24036 (libm_alias_float128_r): Add semicolon after weak_alias call.
24037 * sysdeps/generic/libm-alias-ldouble.h
24038 (libm_alias_ldouble_other_r_f128): New macro.
24039 (libm_alias_ldouble_other_r_f64x): Likewise.
24040 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24041 and libm_alias_ldouble_other_r_f64x.
24042 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24043 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24044 (libm_alias_ldouble_other_r_f128): New macro.
24045 (libm_alias_ldouble_other_r_f64x): Likewise.
24046 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24047 and libm_alias_ldouble_other_r_f64x.
24048
df2806cd
JM
24049 * stdlib/strfroml.c: Always include <stdlib.h>.
24050 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24051 undefine as macro and define as weak alias.
24052 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24053 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24054 <stdlib.h>.
24055 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24056 Define and later undefine as macro and define as weak alias.
24057
0df4fe35
JM
24058 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24059 Define and later undefine as macro. Define as weak alias if
24060 [!USE_WIDE_CHAR].
24061 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24062 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24063 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24064 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24065 Define and later undefine as macro. Define as weak alias if
24066 [!USE_WIDE_CHAR].
24067 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24068 Define and later undefine as macro. Define as weak alias if
24069 [USE_WIDE_CHAR].
24070 * sysdeps/ieee754/float128/strtof128_l.c
24071 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24072 Define and later undefine as macro. Define as weak alias if
24073 [!USE_WIDE_CHAR].
24074 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24075 Define and later undefine as macro. Define as weak alias if
24076 [USE_WIDE_CHAR].
24077 * sysdeps/ieee754/ldbl-128/strtold_l.c
24078 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24079 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24080 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24081 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24082 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24083 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24084 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24085 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24086 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24087 * sysdeps/ieee754/ldbl-96/strtold_l.c
24088 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24089 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24090 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24091 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24092
ae7207d0
JM
24093 * math/test-float64x.h: New file.
24094 * math/Makefile (type-float64x-yes): New variable.
24095 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24096
9596fc69
JM
24097 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24098 function-like macro.
24099 (min_of_type_): Likewise.
24100 (min_of_type_l): Likewise.
24101 (min_of_type_f128): Likewise.
24102 (min_of_type): Pass () as last argument of __MATH_TG.
24103
46453c3c
JM
24104 * stdlib/tst-strtod-round-skeleton.c
24105 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24106 headers.
24107
01e659e7
JM
24108 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24109 for combinations of long double with _Float64 and _Float64x.
24110
5c60afdd
JM
24111 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24112 (__DECL_SIMD_cosf32): Likewise.
24113 (__DECL_SIMD_cosf64): Likewise.
24114 (__DECL_SIMD_cosf32x): Likewise.
24115 (__DECL_SIMD_cosf64x): Likewise.
24116 (__DECL_SIMD_cosf128x): Likewise.
24117 (__DECL_SIMD_sinf16): Likewise.
24118 (__DECL_SIMD_sinf32): Likewise.
24119 (__DECL_SIMD_sinf64): Likewise.
24120 (__DECL_SIMD_sinf32x): Likewise.
24121 (__DECL_SIMD_sinf64x): Likewise.
24122 (__DECL_SIMD_sinf128x): Likewise.
24123 (__DECL_SIMD_sincosf16): Likewise.
24124 (__DECL_SIMD_sincosf32): Likewise.
24125 (__DECL_SIMD_sincosf64): Likewise.
24126 (__DECL_SIMD_sincosf32x): Likewise.
24127 (__DECL_SIMD_sincosf64x): Likewise.
24128 (__DECL_SIMD_sincosf128x): Likewise.
24129 (__DECL_SIMD_logf16): Likewise.
24130 (__DECL_SIMD_logf32): Likewise.
24131 (__DECL_SIMD_logf64): Likewise.
24132 (__DECL_SIMD_logf32x): Likewise.
24133 (__DECL_SIMD_logf64x): Likewise.
24134 (__DECL_SIMD_logf128x): Likewise.
24135 (__DECL_SIMD_expf16): Likewise.
24136 (__DECL_SIMD_expf32): Likewise.
24137 (__DECL_SIMD_expf64): Likewise.
24138 (__DECL_SIMD_expf32x): Likewise.
24139 (__DECL_SIMD_expf64x): Likewise.
24140 (__DECL_SIMD_expf128x): Likewise.
24141 (__DECL_SIMD_powf16): Likewise.
24142 (__DECL_SIMD_powf32): Likewise.
24143 (__DECL_SIMD_powf64): Likewise.
24144 (__DECL_SIMD_powf32x): Likewise.
24145 (__DECL_SIMD_powf64x): Likewise.
24146 (__DECL_SIMD_powf128x): Likewise.
24147
9d4b0117
JM
24148 * stdlib/Versions (libc): Move entries for wcstof128 and
24149 wcstof128_l to ....
24150 * wcsmbs/Versions (libc): ... here.
24151 Include <float128-abi.h>.
24152
7911dd47
FW
241532017-11-24 Florian Weimer <fweimer@redhat.com>
24154
24155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24156 bits/mman-shared.h.
24157 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24158 <bits/mman-shared.h>.
24159 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24160 to ...
24161 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24162 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24163 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24164 <bits/mman-shared.h>.
24165
c45d78aa
AZ
241662017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24167
24168 [BZ #22457]
24169 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24170 posix_memalign/free.
24171 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24172
3ffc4cc1
MF
241732017-11-22 Mike FABIAN <mfabian@redhat.com>
24174
24175 [BZ #22469]
24176 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24177 and implement the collation rules for pl from CLDR on top of that.
24178 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24179 of locales to be built for testing.
24180 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24181
3a327316
JM
241822017-11-23 Joseph Myers <joseph@codesourcery.com>
24183
24184 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24185 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24186 libm_alias_ldouble_other.
24187 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24188 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24189 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24190 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24191 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24192 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24193 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24194 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24195 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24196 libm_alias_ldouble_r.
24197 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24198 libm_alias_ldouble_other.
24199 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24200 (log10l): Likewise.
24201 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24202 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24203 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24204 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24205 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24206 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24207 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24208 (atan2l): Likewise.
24209 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24210 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24211 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24212 libm_alias_ldouble.
24213 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24214 (cosl): Likewise.
24215 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24216 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24217 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24218 (expl): Likewise.
24219 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24220 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24221 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24222 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24223 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24224 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24225 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24226 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24227 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24228 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24229 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24230 libm_alias_ldouble.
24231 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24232 libm_alias_ldouble_other.
24233 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24234 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24235 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24236 libm_alias_ldouble.
24237 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24238 libm_alias_ldouble_other.
24239 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24240 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24241 * sysdeps/ia64/fpu/w_lgammal_main.c
24242 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24243 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24244
0a947e06
FW
242452017-11-23 Florian Weimer <fweimer@redhat.com>
24246
24247 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24248 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24249 alike. Remove freeres marker.
24250 * malloc/arena.c (arena_thread_freeres): Call
24251 tcache_thread_shutdown.
24252
67f36c79
FW
242532017-11-23 Florian Weimer <fweimer@redhat.com>
24254
24255 [BZ #22459]
24256 Export nscd hash function as __nss_hash.
24257 * include/nss.h (__nss_hash): Declare.
24258 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24259 symbol.
24260 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24261 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24262 of __nscd_hash.
24263 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24264 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24265 * nss/Makefiles (routines): Add nss_hash.
24266 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24267 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24268 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24269 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24270
cccb6d4e
FW
242712017-11-23 Florian Weimer <fweimer@redhat.com>
24272
24273 [BZ #22478]
24274 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24275 Return error code, not -1.
24276 * signal/tst-sigwait-eintr.c: New file.
24277 * signal/Makefile (tests): Add tst-sigwait-eintr.
24278
59d2cbb1
FW
242792017-11-23 Florian Weimer <fweimer@redhat.com>
24280
24281 Linux: Add memfd_create system call wrapper
24282 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24283 tst-memfd_create.
24284 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24285 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24286 [__USE_GNU] (memfd_create): Declare.
24287 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24288 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24289 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24290 * sysdeps/unix/sysv/linux/**.abilist: Update.
24291 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24292
a90d1ac2
JM
242932017-11-22 Joseph Myers <joseph@codesourcery.com>
24294
0a9d1d62
JM
24295 * localedata/gen-locale.sh: Fix typo in variable name.
24296
754034c4
JM
24297 * resolv/res_debug.c (p_secstodate): Condition definition on
24298 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24299 directly as __p_secstodate, and as a compat symbol. Do not use
24300 libresolv_hidden_def.
24301 * resolv/resolv.h (p_secstodate): Remove macro and function
24302 declaration.
24303 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24304 using p_secstodate.
24305 * include/resolv.h (__p_secstodate): Do not use
24306 libresolv_hidden_proto.
24307 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24308 (tests-internal): ... here.
24309 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24310 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24311 and declare and use __p_secstodate and use compat_symbol_reference
24312 in that case.
24313 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24314 implementation returning 77.
24315
f120cda6
JM
24316 [BZ #22463]
24317 * resolv/res_debug.c: Include <libc-diag.h>.
24318 (p_secstodate): Assert time_t at least as wide as u_long. On
24319 overflow, use integer seconds since the epoch as output, or use
24320 "<overflow>" as output and set errno to EOVERFLOW if integer
24321 seconds since the epoch would be 14 or more characters.
24322 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24323 for sprintf call.
24324 * resolv/tst-p_secstodate.c: New file.
24325 * resolv/Makefile (tests): Add tst-p_secstodate.
24326 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24327
a90d1ac2
JM
24328 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24329 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24330 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24331
0285e6bd
PE
243322017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24333
24334 * posix/regcomp.c (init_word_char): Add comments.
24335
4bae6150
JM
243362017-11-22 Joseph Myers <joseph@codesourcery.com>
24337
24338 [BZ #22447]
24339 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24340 strlen to compute length of ut_user and set trailing NUL byte of
24341 result explicitly.
24342
4b7af5fc
MF
243432017-11-21 Mike FABIAN <mfabian@redhat.com>
24344
24345 [BZ #15537]
24346 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24347 using “copy "iso14651_t1"” and then implementing the
24348 collation rules for lv from CLDR on top of that.
24349 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24350 of locales to be built for testing.
24351 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24352 sorting.
24353
922bb78c
JM
243542017-11-21 Joseph Myers <joseph@codesourcery.com>
24355
24356 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24357 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24358 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24359 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24360 [__USE_MISC] (MADV_HWPOISON): New macro.
24361 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24362
a3aaa598
AZ
243632017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24364
24365 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24366 -Wmissing-braces on GCC 4.9.
24367
8beba15d
SL
243682017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24369
24370 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24371 * sysdeps/s390/s390-32/start.S (_start): Likewise
24372 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24373 (thread_start): Likewise.
24374 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24375 (thread_start): Likewise.
24376 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24377 (__makecontext_ret): Likewise.
24378 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24379 (__makecontext_ret): Likewise.
24380
80eb52e3
SL
243812017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24382
24383 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24384 __wcschrnul): Remove attribute_hidden.
24385
567d8c1f
PE
243862017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24387
24388 regex: don't assume uint64_t or uint32_t
24389 This avoids -Werror=overflow errors for 32-bit systems in
24390 the 64-bit case. Problem reported by Joseph Myers in:
24391 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24392 Also, when this code is used in Gnulib it ports to platforms
24393 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24394 them, and on some 32-bit compilers there is no uint64_t.
24395 Problem reported by Gianluigi Tiesi in:
24396 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24397 * posix/regcomp.c (init_word_char): Don't assume that the types
24398 uint64_t and uint32_t exist. Adapted from Gnulib patch
24399 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24400 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24401
4d7632ff
SP
244022017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24403
5a67c4fa
SP
24404 * sysdeps/aarch64/memset-reg.h: New file.
24405 * sysdeps/aarch64/memset.S: Use it.
24406 (__memset): Rename to MEMSET macro.
24407 [ZVA_MACRO]: Use zva_macro.
24408 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24409 Add memset_generic and memset_falkor.
24410 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24411 (__libc_ifunc_impl_list): Add memset ifuncs.
24412 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24413 local variable zva_size.
24414 * sysdeps/aarch64/multiarch/memset.c: New file.
24415 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24416 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24417 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24418 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24419 (DCZID_DZP_MASK): New macro.
24420 (DCZID_BS_MASK): Likewise.
24421 (init_cpu_features): Read and set zva_size.
24422 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24423 (struct cpu_features): New member zva_size.
24424
eb332f9f
SP
24425 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24426 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24427 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24428
4d7632ff
SP
24429 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24430 backwards. Fix timing computation.
24431 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24432 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24433 on memset by N at a time. Fix timing computation.
24434
a465b89e
FW
244352017-11-20 Florian Weimer <fweimer@redhat.com>
24436
24437 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24438 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24439
0f74bbf5
FW
244402017-11-19 Florian Weimer <fweimer@redhat.com>
24441
24442 manual: Document mprotect
24443 * manual/memory.texi (Memory Protection): New section.
24444 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24445 documentation of PROT_* flags and reference the Memory Protection
24446 section instead.
24447
f6e965ee
FW
244482017-11-19 Florian Weimer <fweimer@redhat.com>
24449
24450 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24451 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24452 (Scatter-Gather): ... to here. Remove misleading comment.
24453
363e4519 244542017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24455
5f9d1949
CB
24456 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24457 style.
24458
ea69a5c8
CB
24459 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24460 when /proc/<pid>/setgroups does not exist.
24461
8db7f48c
FW
244622017-11-18 Florian Weimer <fweimer@redhat.com>
24463
24464 * sysdeps/unix/sysv/linux/tst-ttyname.c
24465 (become_root_in_mount_ns): Remove.
24466 (do_in_chroot_1): Call support_enter_mount_namespace.
24467 (do_in_chroot_2): Likewise.
24468 (do_test): Call support_become_root early.
24469
273a0c49
FW
244702017-11-18 Florian Weimer <fweimer@redhat.com>
24471
24472 * support/namespace.h (support_enter_mount_namespace): Declare.
24473 * support/support_enter_mount_namespace.c: New file.
24474 * support/Makefile (libsupport-routines): Add
24475 support_enter_mount_namespace.
24476
8adfb0ee
FW
244772017-11-18 Florian Weimer <fweimer@redhat.com>
24478
24479 * support/temp_file.c (support_create_temp_directory): Use
24480 test_dir and do not rely on the presence of the XXXXXX suffix.
24481 * support/temp_file.h (support_create_temp_directory): Update
24482 comment.
24483 * support/tst-xreadlink.c (do_test): Adjust.
24484 * support/support_chroot.c (support_chroot_create): Likewise.
24485
df0c40ee
TMQMF
244862017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24487
24488 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24489 macro.
24490 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24491 htm-no-suspend.
24492
015c6dc2
JM
244932017-11-17 Joseph Myers <joseph@codesourcery.com>
24494
f58e5f48
JM
24495 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24496 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24497 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24498 (ceill): Define using libm_alias_ldouble.
24499 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24500 <libm-alias-ldouble.h>.
24501 (copysignl): Define using libm_alias_ldouble.
24502 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24503 (fabsl): Define using libm_alias_ldouble.
24504 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24505 (floorl): Define using libm_alias_ldouble.
24506 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24507 (fmaxl): Define using libm_alias_ldouble.
24508 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24509 (fminl): Define using libm_alias_ldouble.
24510 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24511 (llrintl): Define using libm_alias_ldouble.
24512 (lrintl): Likewise.
24513 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24514 <libm-alias-ldouble.h>.
24515 (nearbyintl): Define using libm_alias_ldouble.
24516 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24517 (truncl): Define using libm_alias_ldouble.
24518 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24519 <libm-alias-ldouble.h>.
24520 (lrintl): Define using libm_alias_ldouble.
24521
2ce30701
JM
24522 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24523 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24524 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24525 (asinhl): Define using libm_alias_ldouble.
24526 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24527 (atanl): Define using libm_alias_ldouble.
24528 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24529 (cbrtl): Define using libm_alias_ldouble.
24530 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24531 (ceill): Define using libm_alias_ldouble.
24532 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24533 (copysignl): Define using libm_alias_ldouble.
24534 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24535 (fabsl): Define using libm_alias_ldouble.
24536 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24537 (floorl): Define using libm_alias_ldouble.
24538 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24539 (fmaxl): Define using libm_alias_ldouble.
24540 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24541 (fminl): Define using libm_alias_ldouble.
24542 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24543 (frexpl): Define using libm_alias_ldouble.
24544 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24545 (llrintl): Define using libm_alias_ldouble.
24546 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24547 (logbl): Define using libm_alias_ldouble.
24548 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24549 (lrintl): Define using libm_alias_ldouble.
24550 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24551 (nearbyintl): Define using libm_alias_ldouble.
24552 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24553 (nextafterl): Define using libm_alias_ldouble.
24554 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24555 (remquol): Define using libm_alias_ldouble.
24556 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24557 (rintl): Define using libm_alias_ldouble.
24558 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24559 (truncl): Define using libm_alias_ldouble.
24560 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24561 (fmaxl): Define using libm_alias_ldouble.
24562 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24563 (fminl): Define using libm_alias_ldouble.
24564
015c6dc2
JM
24565 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24566 to C syntax instead of availability and properties of types.
24567 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24568 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24569 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24570 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24571 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24572 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24573
ce003e5d
FW
245742017-11-17 Florian Weimer <fweimer@redhat.com>
24575
24576 support_become_root: Enable file creation in namespaces.
24577 * support/support_become_root.c (setup_mapping): New function.
24578 (support_become_root): Call it.
24579
e7df6c5c
JM
245802017-11-17 Joseph Myers <joseph@codesourcery.com>
24581
24582 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24583 macro.
24584
58a813bf
AZ
245852017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24586
24587 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24588 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24589
f97773d1
JM
245902017-11-16 Joseph Myers <joseph@codesourcery.com>
24591
6a6aa1f3
JM
24592 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24593
f97773d1
JM
24594 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24595 version to 4.14.
24596
a306c790
SP
245972017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24598
7b0fb870
SP
24599 * INSTALL: Fix botched up regeneration.
24600
24601 * NEWS: Update sourceare link to https.
a306c790
SP
24602 * configure.ac: Likewise.
24603 * crypt/md5test-giant.c: Likewise.
24604 * dlfcn/bug-atexit1.c: Likewise.
24605 * dlfcn/bug-atexit2.c: Likewise.
24606 * localedata/README: Likewise.
24607 * malloc/tst-mallocfork.c: Likewise.
24608 * manual/install.texi: Likewise.
24609 * nptl/tst-pthread-getattr.c: Likewise.
24610 * stdio-common/tst-fgets.c: Likewise.
24611 * stdio-common/tst-fwrite.c: Likewise.
24612 * sunrpc/Makefile: Likewise.
24613 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24614 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24615 * configure: Regenerate.
24616 * INSTALL: Regenerate.
a306c790 24617
7532837d
MS
246182017-11-15 Martin Sebor <msebor@redhat.com>
24619
24620 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24621 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24622 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24623
495a56fd
LS
246242017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24625
d9611e30
LS
24626 [BZ #22145]
24627 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24628 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24629
a09dfc19
LS
24630 [BZ #22145]
24631 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24632 Defer is_pty check until end of the function.
24633 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24634
2fbce9c2
LS
24635 [BZ #22145]
24636 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24637 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24638 (ttyname): Likewise.
24639 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24640 (__ttyname_r): Likewise.
24641
d10d6cab
LS
24642 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24643 int to bool.
24644
9b5a8750
LS
24645 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24646
495a56fd
LS
24647 * manual/terminal.texi (Is It a Terminal):
24648 Mention ENODEV for ttyname and ttyname_r.
24649
fa680dc6
JM
246502017-11-15 Joseph Myers <joseph@codesourcery.com>
24651
78cde19f
JM
24652 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24653 constant and macro.
24654
fa680dc6
JM
24655 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24656 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24657 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24658 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24659 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24660 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24661
ad4f43a2
AZ
246622017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24663
1ba1d8a4
AZ
24664 * signal/sigrelse.c (sigrelse): Optimize implementation.
24665
ad4f43a2
AZ
24666 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24667 (__sigpause): Rely on __sigsuspend to implement single thread
24668 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24669
d0212d42
JM
246702017-11-15 Joseph Myers <joseph@codesourcery.com>
24671
24672 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24673 kernel version to 4.14.
24674
2180fee1
SE
246752017-11-15 Steve Ellcey <sellcey@cavium.com>
24676
24677 [BZ #22442]
24678 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24679 Check if ifname is too long.
24680
cad7ca39
LS
246812017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24682
24683 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24684
58c9f659
MF
246852017-11-15 Mike FABIAN <mfabian@redhat.com>
24686
24687 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24688 was accidentally lost.
24689
0fa87c01
MF
246902017-11-15 Mike FABIAN <mfabian@redhat.com>
24691
24692 * localedata/locales/az_IR: Add standard copyright header.
24693
34eb4157
FW
246942017-11-15 Florian Weimer <fweimer@redhat.com>
24695
24696 [BZ #22439]
24697 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24698 not just the top one. Output a new "subheaps" statistic.
24699
7a9368a1
FW
247002017-11-15 Florian Weimer <fweimer@redhat.com>
24701
24702 [BZ #22408]
24703 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24704 under the per-arena lock.
24705 * malloc/Makefile (tests): Add tst-malloc_info.
24706 (tst-malloc_info): Link with libpthread.
24707 * malloc/tst-malloc_info.c: New file.
24708
be3a79a3
JM
247092017-11-15 Joseph Myers <joseph@codesourcery.com>
24710
24711 [BZ #21660]
24712 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24713 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24714 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24715 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24716 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24717 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24718 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24719 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24720 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24721 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24722 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24723 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24724 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24725 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24726 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24727 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24728 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24729 (__floating_type): Likewise.
24730 (__real_integer_type): Likewise.
24731 (__complex_integer_type): Likewise.
24732 (__expr_is_real): Likewise.
24733 (__tgmath_real_type_sub): Likewise.
24734 (__tgmath_real_type): Likewise.
24735 (__tgmath_complex_type_sub): Likewise.
24736 (__tgmath_complex_type): Likewise.
24737 (__TGMATH_F128): Likewise.
24738 (__TGMATH_CF128): Likewise.
24739 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24740 new macros.
24741 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24742 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24743 Likewise.
24744 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24745 Likewise.
24746 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24747 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24748 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24749 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24750 Likewise.
24751 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24752 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24753 Likewise.
24754 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24755 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24756 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24757 Likewise.
24758 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24759 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24760 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24761 (cimag): Likewise.
24762 (creal): Likewise.
24763
ec72135e
JM
247642017-11-14 Joseph Myers <joseph@codesourcery.com>
24765
2e64ec9c
JM
24766 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24767 for stpncpy calls for GCC 8.
24768 (test_strncat): Disable -Wstringop-truncation warning for strncat
24769 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24770 strncat call for GCC 7.
24771 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24772 calls for GCC 8.
24773 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24774 trailing NUL.
24775
ec72135e
JM
24776 * string/bug-strncat1.c: Include <libc-diag.h>.
24777 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24778
363e4519 247792017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24780
24781 [BZ #22387]
24782 * localedata/locales/aa_DJ: Improved readibility by replacing
24783 <Uxxxx> sequences in the ASCII printable range by their ASCII
24784 character equivalents.
24785 * localedata/locales/aa_ER: Likewise.
24786 * localedata/locales/aa_ER@saaho: Likewise.
24787 * localedata/locales/aa_ET: Likewise.
24788 * localedata/locales/af_ZA: Likewise.
24789 * localedata/locales/agr_PE: Likewise.
24790 * localedata/locales/ak_GH: Likewise.
24791 * localedata/locales/am_ET: Likewise.
24792 * localedata/locales/anp_IN: Likewise.
24793 * localedata/locales/ar_AE: Likewise.
24794 * localedata/locales/ar_BH: Likewise.
24795 * localedata/locales/ar_DZ: Likewise.
24796 * localedata/locales/ar_EG: Likewise.
24797 * localedata/locales/ar_IN: Likewise.
24798 * localedata/locales/ar_IQ: Likewise.
24799 * localedata/locales/ar_JO: Likewise.
24800 * localedata/locales/ar_KW: Likewise.
24801 * localedata/locales/ar_LB: Likewise.
24802 * localedata/locales/ar_LY: Likewise.
24803 * localedata/locales/ar_MA: Likewise.
24804 * localedata/locales/ar_OM: Likewise.
24805 * localedata/locales/ar_QA: Likewise.
24806 * localedata/locales/ar_SA: Likewise.
24807 * localedata/locales/ar_SD: Likewise.
24808 * localedata/locales/ar_SS: Likewise.
24809 * localedata/locales/ar_SY: Likewise.
24810 * localedata/locales/ar_TN: Likewise.
24811 * localedata/locales/ar_YE: Likewise.
24812 * localedata/locales/as_IN: Likewise.
24813 * localedata/locales/ast_ES: Likewise.
24814 * localedata/locales/ayc_PE: Likewise.
24815 * localedata/locales/az_AZ: Likewise.
24816 * localedata/locales/az_IR: Likewise.
24817 * localedata/locales/be_BY: Likewise.
24818 * localedata/locales/be_BY@latin: Likewise.
24819 * localedata/locales/bem_ZM: Likewise.
24820 * localedata/locales/ber_DZ: Likewise.
24821 * localedata/locales/ber_MA: Likewise.
24822 * localedata/locales/bg_BG: Likewise.
24823 * localedata/locales/bhb_IN: Likewise.
24824 * localedata/locales/bho_IN: Likewise.
24825 * localedata/locales/bi_VU: Likewise.
24826 * localedata/locales/bn_BD: Likewise.
24827 * localedata/locales/bn_IN: Likewise.
24828 * localedata/locales/bo_CN: Likewise.
24829 * localedata/locales/bo_IN: Likewise.
24830 * localedata/locales/br_FR: Likewise.
24831 * localedata/locales/brx_IN: Likewise.
24832 * localedata/locales/bs_BA: Likewise.
24833 * localedata/locales/byn_ER: Likewise.
24834 * localedata/locales/ca_AD: Likewise.
24835 * localedata/locales/ca_ES: Likewise.
24836 * localedata/locales/ca_FR: Likewise.
24837 * localedata/locales/ca_IT: Likewise.
24838 * localedata/locales/ce_RU: Likewise.
24839 * localedata/locales/chr_US: Likewise.
24840 * localedata/locales/cmn_TW: Likewise.
24841 * localedata/locales/crh_UA: Likewise.
24842 * localedata/locales/cs_CZ: Likewise.
24843 * localedata/locales/csb_PL: Likewise.
24844 * localedata/locales/cv_RU: Likewise.
24845 * localedata/locales/cy_GB: Likewise.
24846 * localedata/locales/da_DK: Likewise.
24847 * localedata/locales/de_AT: Likewise.
24848 * localedata/locales/de_BE: Likewise.
24849 * localedata/locales/de_CH: Likewise.
24850 * localedata/locales/de_DE: Likewise.
24851 * localedata/locales/de_IT: Likewise.
24852 * localedata/locales/de_LI: Likewise.
24853 * localedata/locales/de_LU: Likewise.
24854 * localedata/locales/doi_IN: Likewise.
24855 * localedata/locales/dv_MV: Likewise.
24856 * localedata/locales/dz_BT: Likewise.
24857 * localedata/locales/el_CY: Likewise.
24858 * localedata/locales/el_GR: Likewise.
24859 * localedata/locales/en_AG: Likewise.
24860 * localedata/locales/en_AU: Likewise.
24861 * localedata/locales/en_BW: Likewise.
24862 * localedata/locales/en_CA: Likewise.
24863 * localedata/locales/en_DK: Likewise.
24864 * localedata/locales/en_GB: Likewise.
24865 * localedata/locales/en_HK: Likewise.
24866 * localedata/locales/en_IE: Likewise.
24867 * localedata/locales/en_IL: Likewise.
24868 * localedata/locales/en_IN: Likewise.
24869 * localedata/locales/en_NG: Likewise.
24870 * localedata/locales/en_NZ: Likewise.
24871 * localedata/locales/en_PH: Likewise.
24872 * localedata/locales/en_SG: Likewise.
24873 * localedata/locales/en_US: Likewise.
24874 * localedata/locales/en_ZA: Likewise.
24875 * localedata/locales/en_ZM: Likewise.
24876 * localedata/locales/en_ZW: Likewise.
24877 * localedata/locales/eo: Likewise.
24878 * localedata/locales/es_AR: Likewise.
24879 * localedata/locales/es_BO: Likewise.
24880 * localedata/locales/es_CL: Likewise.
24881 * localedata/locales/es_CO: Likewise.
24882 * localedata/locales/es_CR: Likewise.
24883 * localedata/locales/es_CU: Likewise.
24884 * localedata/locales/es_DO: Likewise.
24885 * localedata/locales/es_EC: Likewise.
24886 * localedata/locales/es_ES: Likewise.
24887 * localedata/locales/es_GT: Likewise.
24888 * localedata/locales/es_HN: Likewise.
24889 * localedata/locales/es_MX: Likewise.
24890 * localedata/locales/es_NI: Likewise.
24891 * localedata/locales/es_PA: Likewise.
24892 * localedata/locales/es_PE: Likewise.
24893 * localedata/locales/es_PR: Likewise.
24894 * localedata/locales/es_PY: Likewise.
24895 * localedata/locales/es_SV: Likewise.
24896 * localedata/locales/es_US: Likewise.
24897 * localedata/locales/es_UY: Likewise.
24898 * localedata/locales/es_VE: Likewise.
24899 * localedata/locales/et_EE: Likewise.
24900 * localedata/locales/eu_ES: Likewise.
24901 * localedata/locales/eu_ES@euro: Likewise.
24902 * localedata/locales/fa_IR: Likewise.
24903 * localedata/locales/ff_SN: Likewise.
24904 * localedata/locales/fi_FI: Likewise.
24905 * localedata/locales/fil_PH: Likewise.
24906 * localedata/locales/fo_FO: Likewise.
24907 * localedata/locales/fr_BE: Likewise.
24908 * localedata/locales/fr_CA: Likewise.
24909 * localedata/locales/fr_CH: Likewise.
24910 * localedata/locales/fr_FR: Likewise.
24911 * localedata/locales/fr_LU: Likewise.
24912 * localedata/locales/fur_IT: Likewise.
24913 * localedata/locales/fy_DE: Likewise.
24914 * localedata/locales/fy_NL: Likewise.
24915 * localedata/locales/ga_IE: Likewise.
24916 * localedata/locales/gd_GB: Likewise.
24917 * localedata/locales/gez_ER: Likewise.
24918 * localedata/locales/gez_ET: Likewise.
24919 * localedata/locales/gl_ES: Likewise.
24920 * localedata/locales/gu_IN: Likewise.
24921 * localedata/locales/gv_GB: Likewise.
24922 * localedata/locales/ha_NG: Likewise.
24923 * localedata/locales/hak_TW: Likewise.
24924 * localedata/locales/he_IL: Likewise.
24925 * localedata/locales/hi_IN: Likewise.
24926 * localedata/locales/hif_FJ: Likewise.
24927 * localedata/locales/hne_IN: Likewise.
24928 * localedata/locales/hr_HR: Likewise.
24929 * localedata/locales/hsb_DE: Likewise.
24930 * localedata/locales/ht_HT: Likewise.
24931 * localedata/locales/hu_HU: Likewise.
24932 * localedata/locales/hy_AM: Likewise.
24933 * localedata/locales/i18n: Likewise.
24934 * localedata/locales/ia_FR: Likewise.
24935 * localedata/locales/id_ID: Likewise.
24936 * localedata/locales/ig_NG: Likewise.
24937 * localedata/locales/ik_CA: Likewise.
24938 * localedata/locales/is_IS: Likewise.
24939 * localedata/locales/it_CH: Likewise.
24940 * localedata/locales/it_IT: Likewise.
24941 * localedata/locales/iu_CA: Likewise.
24942 * localedata/locales/ja_JP: Likewise.
24943 * localedata/locales/ka_GE: Likewise.
24944 * localedata/locales/kk_KZ: Likewise.
24945 * localedata/locales/kl_GL: Likewise.
24946 * localedata/locales/kn_IN: Likewise.
24947 * localedata/locales/ko_KR: Likewise.
24948 * localedata/locales/kok_IN: Likewise.
24949 * localedata/locales/ks_IN: Likewise.
24950 * localedata/locales/ks_IN@devanagari: Likewise.
24951 * localedata/locales/ku_TR: Likewise.
24952 * localedata/locales/kw_GB: Likewise.
24953 * localedata/locales/ky_KG: Likewise.
24954 * localedata/locales/lb_LU: Likewise.
24955 * localedata/locales/lg_UG: Likewise.
24956 * localedata/locales/li_BE: Likewise.
24957 * localedata/locales/li_NL: Likewise.
24958 * localedata/locales/lij_IT: Likewise.
24959 * localedata/locales/ln_CD: Likewise.
24960 * localedata/locales/lo_LA: Likewise.
24961 * localedata/locales/lt_LT: Likewise.
24962 * localedata/locales/lv_LV: Likewise.
24963 * localedata/locales/lzh_TW: Likewise.
24964 * localedata/locales/mag_IN: Likewise.
24965 * localedata/locales/mai_IN: Likewise.
24966 * localedata/locales/mg_MG: Likewise.
24967 * localedata/locales/mhr_RU: Likewise.
24968 * localedata/locales/mi_NZ: Likewise.
24969 * localedata/locales/mk_MK: Likewise.
24970 * localedata/locales/ml_IN: Likewise.
24971 * localedata/locales/mn_MN: Likewise.
24972 * localedata/locales/mni_IN: Likewise.
24973 * localedata/locales/mr_IN: Likewise.
24974 * localedata/locales/ms_MY: Likewise.
24975 * localedata/locales/mt_MT: Likewise.
24976 * localedata/locales/my_MM: Likewise.
24977 * localedata/locales/nan_TW: Likewise.
24978 * localedata/locales/nan_TW@latin: Likewise.
24979 * localedata/locales/nb_NO: Likewise.
24980 * localedata/locales/nds_DE: Likewise.
24981 * localedata/locales/nds_NL: Likewise.
24982 * localedata/locales/ne_NP: Likewise.
24983 * localedata/locales/nhn_MX: Likewise.
24984 * localedata/locales/niu_NU: Likewise.
24985 * localedata/locales/niu_NZ: Likewise.
24986 * localedata/locales/nl_AW: Likewise.
24987 * localedata/locales/nl_BE: Likewise.
24988 * localedata/locales/nl_NL: Likewise.
24989 * localedata/locales/nn_NO: Likewise.
24990 * localedata/locales/nr_ZA: Likewise.
24991 * localedata/locales/nso_ZA: Likewise.
24992 * localedata/locales/oc_FR: Likewise.
24993 * localedata/locales/om_ET: Likewise.
24994 * localedata/locales/om_KE: Likewise.
24995 * localedata/locales/or_IN: Likewise.
24996 * localedata/locales/os_RU: Likewise.
24997 * localedata/locales/pa_IN: Likewise.
24998 * localedata/locales/pa_PK: Likewise.
24999 * localedata/locales/pap_AW: Likewise.
25000 * localedata/locales/pap_CW: Likewise.
25001 * localedata/locales/pl_PL: Likewise.
25002 * localedata/locales/ps_AF: Likewise.
25003 * localedata/locales/pt_BR: Likewise.
25004 * localedata/locales/pt_PT: Likewise.
25005 * localedata/locales/quz_PE: Likewise.
25006 * localedata/locales/raj_IN: Likewise.
25007 * localedata/locales/ro_RO: Likewise.
25008 * localedata/locales/ru_RU: Likewise.
25009 * localedata/locales/ru_UA: Likewise.
25010 * localedata/locales/rw_RW: Likewise.
25011 * localedata/locales/sa_IN: Likewise.
25012 * localedata/locales/sat_IN: Likewise.
25013 * localedata/locales/sc_IT: Likewise.
25014 * localedata/locales/sd_IN: Likewise.
25015 * localedata/locales/sd_IN@devanagari: Likewise.
25016 * localedata/locales/se_NO: Likewise.
25017 * localedata/locales/sgs_LT: Likewise.
25018 * localedata/locales/shs_CA: Likewise.
25019 * localedata/locales/si_LK: Likewise.
25020 * localedata/locales/sid_ET: Likewise.
25021 * localedata/locales/sk_SK: Likewise.
25022 * localedata/locales/sl_SI: Likewise.
25023 * localedata/locales/sm_WS: Likewise.
25024 * localedata/locales/so_DJ: Likewise.
25025 * localedata/locales/so_ET: Likewise.
25026 * localedata/locales/so_KE: Likewise.
25027 * localedata/locales/so_SO: Likewise.
25028 * localedata/locales/sq_AL: Likewise.
25029 * localedata/locales/sq_MK: Likewise.
25030 * localedata/locales/sr_ME: Likewise.
25031 * localedata/locales/sr_RS: Likewise.
25032 * localedata/locales/sr_RS@latin: Likewise.
25033 * localedata/locales/ss_ZA: Likewise.
25034 * localedata/locales/st_ZA: Likewise.
25035 * localedata/locales/sv_FI: Likewise.
25036 * localedata/locales/sv_SE: Likewise.
25037 * localedata/locales/sw_KE: Likewise.
25038 * localedata/locales/sw_TZ: Likewise.
25039 * localedata/locales/szl_PL: Likewise.
25040 * localedata/locales/ta_IN: Likewise.
25041 * localedata/locales/ta_LK: Likewise.
25042 * localedata/locales/tcy_IN: Likewise.
25043 * localedata/locales/te_IN: Likewise.
25044 * localedata/locales/tg_TJ: Likewise.
25045 * localedata/locales/th_TH: Likewise.
25046 * localedata/locales/the_NP: Likewise.
25047 * localedata/locales/ti_ER: Likewise.
25048 * localedata/locales/ti_ET: Likewise.
25049 * localedata/locales/tig_ER: Likewise.
25050 * localedata/locales/tk_TM: Likewise.
25051 * localedata/locales/tl_PH: Likewise.
25052 * localedata/locales/tn_ZA: Likewise.
25053 * localedata/locales/to_TO: Likewise.
25054 * localedata/locales/tpi_PG: Likewise.
25055 * localedata/locales/tr_CY: Likewise.
25056 * localedata/locales/tr_TR: Likewise.
25057 * localedata/locales/ts_ZA: Likewise.
25058 * localedata/locales/tt_RU: Likewise.
25059 * localedata/locales/tt_RU@iqtelif: Likewise.
25060 * localedata/locales/ug_CN: Likewise.
25061 * localedata/locales/uk_UA: Likewise.
25062 * localedata/locales/unm_US: Likewise.
25063 * localedata/locales/ur_IN: Likewise.
25064 * localedata/locales/ur_PK: Likewise.
25065 * localedata/locales/uz_UZ: Likewise.
25066 * localedata/locales/uz_UZ@cyrillic: Likewise.
25067 * localedata/locales/ve_ZA: Likewise.
25068 * localedata/locales/vi_VN: Likewise.
25069 * localedata/locales/wa_BE: Likewise.
25070 * localedata/locales/wae_CH: Likewise.
25071 * localedata/locales/wal_ET: Likewise.
25072 * localedata/locales/wo_SN: Likewise.
25073 * localedata/locales/xh_ZA: Likewise.
25074 * localedata/locales/yi_US: Likewise.
25075 * localedata/locales/yo_NG: Likewise.
25076 * localedata/locales/yue_HK: Likewise.
25077 * localedata/locales/yuw_PG: Likewise.
25078 * localedata/locales/zh_CN: Likewise.
25079 * localedata/locales/zh_HK: Likewise.
25080 * localedata/locales/zh_SG: Likewise.
25081 * localedata/locales/zh_TW: Likewise.
25082 * localedata/locales/zu_ZA: Likewise.
25083
cae87e64
FW
250842017-11-13 Florian Weimer <fweimer@redhat.com>
25085
25086 * support/next_to_fault.h, support/next_to_fault.c: New files.
25087 * support/Makefile (libsupport-routines): Add next_to_fault.
25088 * resolv/tst-inet_pton.c (struct next_to_fault)
25089 (next_to_fault_allocate, next_to_fault_free): Remove.
25090 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25091
4a306ef1
L
250922017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25093
25094 * elf/dl-support.c: Include <dl-procruntime.c>.
25095 * include/link.h: Include <link_map.h>.
25096 * sysdeps/generic/dl-procruntime.c: New file.
25097 * sysdeps/generic/link_map.h: Likewise.
25098 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25099 the writable ld.so namespace.
25100
e69897bf
PE
251012017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25102
25103 timezone: pacify GCC -Wstringop-truncation
25104 Problem reported by Martin Sebor in:
25105 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25106 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25107
1ffe1ccb
FW
251082017-11-12 Florian Weimer <fweimer@redhat.com>
25109
eceed671
FW
25110 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25111 tst-xreadlink.
25112 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25113 * support/support.h (xstrndup): Declare.
25114 * support/xunistd.h (xunlink, xreadlink): Declare.
25115 * support/temp_file.h (support_create_temp_directory): Declare.
25116 * support/temp_file.c (support_create_temp_directory): New function.
25117 * support/support_chroot.c (support_chroot_create): Use it.
25118 * support/xreadlink.c: New file.
25119 * support/xstrndup.c: Likewise.
25120 * support/xunlink.c: Likewise.
25121 * support/tst-xreadlink.c: Likewise.
25122
456b40a9
JDA
251232017-11-11 John David Anglin <danglin@gcc.gnu.org>
25124
25125 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25126
c0a25aa9
FW
251272017-11-11 Florian Weimer <fweimer@redhat.com>
25128
25129 [BZ #22409]
25130 [BZ #22412]
25131 * resolv/res_comp.c (printable_string, binary_hnok)
25132 (binary_leading_dash): New functions.
25133 (res_hnok): Reimplement using these functions and ns_name_pton.
25134 (res_ownok): Likewise.
25135 (res_mailok): Reimplement using printable_string, ns_name_pton and
25136 binary_hnok.
25137 (res_dnok): Reimplement using printable_string and ns_name_pton.
25138 * resolv/tst-res_hnok.c (tests): Add additional tests.
25139 (LETTERDIGITS, PRINTABLE): Define.
25140 (do_test): Adjust one_char results.
25141
9e0ad304
FW
251422017-11-11 Florian Weimer <fweimer@redhat.com>
25143
25144 [BZ #22413]
25145 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25146 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25147
e2a9fca8
FW
251482017-11-11 Florian Weimer <fweimer@redhat.com>
25149
25150 * resolv/tst-ns_name_pton.c: New file.
25151 * resolv/Makefile (tests): Add tst-ns_name_pton.
25152 (tst-ns_name_pton): Link against libresolv.
25153
5c1a6923
FW
251542017-11-11 Florian Weimer <fweimer@redhat.com>
25155
25156 * resolv/tst-res_hnok.c: New file.
25157 * resolv/Makefile (tests): Add tst-res_hnok.
25158 (tst-res_hnok): Link against libresolv.
25159
a19c0a1d
FW
251602017-11-11 Florian Weimer <fweimer@redhat.com>
25161
25162 * resolv/tst-resolv-network.c: Use test framework instead explicit
25163 main function.
25164
8cb5295d
L
251652017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25166
25167 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25168 <jmp_buf-macros.h>.
25169 [!_ISOMAC] (STR_HELPER): New.
25170 [!_ISOMAC] (STR): Likewise.
25171 [!_ISOMAC] (TEST_SIZE): Likewise.
25172 [!_ISOMAC] (TEST_ALIGN): Likewise.
25173 [!_ISOMAC] (TEST_OFFSET): Likewise.
25174 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25175 field offsets of jmp_buf as well as sigjmp_buf.
25176 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25177 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25178 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25179 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25180 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25181 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25182 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25183 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25184 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25185 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25186 Likewise.
25187 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25188 Likewise.
25189 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25191 Likewise.
25192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25193 Likewise.
25194 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25195 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25196 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25197 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25198 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25199 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25200 Likewise.
25201 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25202 Likewise.
25203 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25204 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25205 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25206
58c4a161
JM
252072017-11-07 Joseph Myers <joseph@codesourcery.com>
25208
3683b423
JM
25209 * include/float.h
25210 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25211 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25212 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25213 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25214 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25215 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25216 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25217 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25218 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25219 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25220 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25221 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25222 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25223 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25224 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25225 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25226 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25227 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25228 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25229 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25230 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25231 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25232 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25233 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25234 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25235 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25236 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25237 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25238 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25239 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25240 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25241 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25242 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25243 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25244 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25245 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25246 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25247 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25248 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25249 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25250 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25251 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25252 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25253 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25254 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25255 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25256 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25257 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25258 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25259 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25260 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25261 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25262 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25263 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25264 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25265 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25266 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25267 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25268 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25269 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25270 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25271 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25272 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25273 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25274 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25275 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25276 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25277 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25278 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25279 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25280 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25281 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25282 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25283 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25284 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25285 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25286 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25287 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25288 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25289 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25290 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25291 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25292 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25293 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25294 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25295 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25296 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25297 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25298
58c4a161
JM
25299 * stdlib/tst-strtod.h (F16): New macro.
25300 (F32): Likewise.
25301 (F64): Likewise.
25302 (F32X): Likewise.
25303 (F64X): Likewise.
25304 (F128X): Likewise.
25305 (IF_FLOAT16): Likewise.
25306 (IF_FLOAT32): Likewise.
25307 (IF_FLOAT64): Likewise.
25308 (IF_FLOAT32X): Likewise.
25309 (IF_FLOAT64X): Likewise.
25310 (IF_FLOAT128X): Likewise.
25311 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25312 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25313 (STRTOD_TEST_FOREACH): Likewise.
25314 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25315 (CHOOSE_f64): Likewise.
25316 (CHOOSE_f32x): Likewise.
25317 (CHOOSE_f64x): Likewise.
25318
feda96a1
AS
253192017-11-07 Andreas Schwab <schwab@suse.de>
25320
25321 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25322
1bd0cbb8
MF
253232017-11-07 Mike FABIAN <mfabian@redhat.com>
25324
25325 [BZ #22403]
25326 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25327 to be escaped.
25328 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25329 to be escaped.
25330
363e4519 253312017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25332
25333 [BZ #22403]
25334 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25335 to be escaped.
25336 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25337 to be escaped.
25338 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25339 to be escaped.
25340
dff91cd4
AZ
253412017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25342
06be6368
AZ
25343 [BZ #22298]
25344 * nptl/allocatestack.c (allocate_stack): Check if
25345 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25346 __PTHREAD_MUTEX_HAVE_PREV is defined.
25347 * nptl/descr.h (pthread): Likewise.
25348 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25349 Likewise.
25350 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25351 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25352 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25353 * sysdeps/nptl/bits/thread-shared-types.h
25354 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25355 defines.
25356 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25357 of __WORDSIZE for internal layout.
25358 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25359 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25360 instead of __WORDSIZE whether to use an union for __spins and __list
25361 fields.
25362 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25363 case.
25364 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25365 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25366 defines.
25367 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25368 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25369 Likewise.
25370 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25371 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25372 Likewise.
25373 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25374 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25375 Likewise.
25376 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25377 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25378 Likewise.
25379 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25380 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25381 Likewise.
25382 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25383 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25384 Likewise.
25385 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25386 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25387 Likewise.
25388 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25389 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25390 Likewise.
25391 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25392 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25393 Likewise.
25394 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25395 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25396 Likewise.
25397 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25398 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25399 Likewise.
25400 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25401 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25402 Likewise.
25403 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25404 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25405 Likewise.
25406 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25407 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25408 Likewise.
25409
72b3c6ee
AZ
25410 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25411 New macros.
25412 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25413 checks for expected input type size.
25414 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25415 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25416 Likewise.
25417 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25418 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25419 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25420 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25421 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25422 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25423 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25424 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25425 superflous runtime assert check.
25426 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25427 Likewise.
25428 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25429 Likewise.
25430 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25431 Likewise.
25432 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25433 Likewise.
25434 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25435 Likewise.
25436 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25437 Likewise.
25438 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25439 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25440 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25441 Likewise.
25442 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25443 Likewise.
25444 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25445 Likewise.
25446 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25447 Likewise.
25448 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25449 Likewise.
25450 * nptl/pthread_attr_setinheritsched.c
25451 (__pthread_attr_setinheritsched): Likewise.
25452 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25453 Likewise.
25454 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25455 Likewise.
25456 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25457 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25458 __old_pthread_attr_setstack): Likewise.
25459 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25460 Likewise.
25461 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25462 Likewise.
25463 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25464 Likewise.
25465 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25466 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25467 Likewise.
25468 * nptl/tst-typesizes.c: Remove file.
25469
dff91cd4
AZ
25470 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25471 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25472 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25473 checks for internal pthread_mutex_t offsets.
25474 * sysdeps/aarch64/nptl/pthread-offsets.h
25475 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25476 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25477 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25478 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25479 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25480 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25481 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25482 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25483 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25484 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25485 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25486 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25487 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25488 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25489 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25490 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25491 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25492 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25493
b7fc95f8
FW
254942017-11-07 Florian Weimer <fweimer@redhat.com>
25495
25496 * bits/mman-linux.h: Move ...
25497 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25498 comment.
25499 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25500 outdated comment.
25501
6b860364
RS
255022017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25503
25504 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25505 Redefine STRNLEN as __strnlen_power8.
25506
802c1f16
AZ
255072017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25508
d83da3a4
AZ
25509 * signal/sighold.c (sighold): Optimize implementation.
25510
6a4235f1
AZ
25511 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25512 __NR_rt_sigqueueinfo.
25513
8b0e795a
AZ
25514 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25515 __sigtimedwait.
25516 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25517 assume __NR_rt_sigtimedwait.
25518 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25519 and add LIBC_CANCEL_HANDLED for cancellation marking.
25520 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25521
a1a638dd
AZ
25522 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25523 (sysdeps_routines): Add memchr_noneon.
25524 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25525 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25526 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25527 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25528 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25529 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25530 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25531
802c1f16
AZ
25532 * sysdeps/arm/arm-ifunc.h: New file.
25533 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25534 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25535 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25536 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25537 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25538 (__memcpy_neon): Avoid create hidden alias.
25539 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25540 (__memcpy_vfp): Likewise.
25541 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25542 (sysdep_routines): Add memcpy_arm.
25543 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25544
abcb584d
L
255452017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25546
25547 [BZ #22362]
25548 * Makerules (make-link-multidir): New.
25549 * config.make.in (multidir): New.
25550 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25551 * configure: Regenerated.
25552 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25553 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25554 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25555 New target.
25556
4e2dff67
JM
255572017-11-06 Joseph Myers <joseph@codesourcery.com>
25558
25559 [BZ #22402]
25560 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25561 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25562
a1c7cd3c
MF
255632017-11-04 Mike FABIAN <mfabian@redhat.com>
25564
25565 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25566 to be escaped.
25567
b9af29c0
FW
255682017-11-04 Florian Weimer <fweimer@redhat.com>
25569
25570 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25571
4ca70e1a
JM
255722017-11-03 Joseph Myers <joseph@codesourcery.com>
25573
25574 * math/math.h [__HAVE_DISTINCT_FLOAT16
25575 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25576 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25577 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25578 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25579 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25580 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25581 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25582 (__MATH_TG_F32): New macro.
25583 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25584 (__MATH_TG_F64X): Likewise.
25585 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25586 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25587
ba0e6668
DL
255882017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25589
25590 * po/de.po: Update translations.
25591 * po/ru.po: Likewise.
25592
bc18a6d3
FW
255932017-11-03 Florian Weimer <fweimer@redhat.com>
25594
25595 * manual/filesys.texi (Hard Links): Document linkat.
25596
97255170
JM
255972017-11-03 Joseph Myers <joseph@codesourcery.com>
25598
86ec4865
JM
25599 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25600 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25601 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25602 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25603 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25604 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25605 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25606 the same as _Float128.
25607 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25608 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25609 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25610
97255170
JM
25611 * stdlib/stdlib.h
25612 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25613 Declare.
25614 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25615 Likewise.
25616 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25617 Likewise.
25618 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25619 (strtof32x): Likewise.
25620 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25621 (strtof64x): Likewise.
25622 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25623 (strtof128x): Likewise.
25624 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25625 (strfromf16): Likewise.
25626 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25627 (strfromf32): Likewise.
25628 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25629 (strfromf64): Likewise.
25630 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25631 (strfromf32x): Likewise.
25632 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25633 (strfromf64x): Likewise.
25634 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25635 (strfromf128x): Likewise.
25636 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25637 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25638 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25639 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25640 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25641 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25642
6d58ce5e
RH
256432017-11-03 Richard Henderson <rth@twiddle.net>
25644
25645 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25646
659ca267
SN
256472017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25648
25649 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25650
94d2f0af
SN
256512017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25652
25653 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25654 DT_TLSDESC_GOT initialization.
25655 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25656 (_dl_tlsdesc_resolve_hold): Likewise.
25657 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25658 (_dl_tlsdesc_resolve_hold): Likewise.
25659 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25660 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25661
28e1ddf3
SN
256622017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25663
25664 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25665
0ca3d1d6
SN
256662017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25667
25668 [BZ #18572]
25669 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25670 non-lazily for R_ARM_TLS_DESC.
25671
2c1d4e5f
SN
256722017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25673
25674 [BZ #17078]
25675 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25676 R_ARM_TLS_DESC case.
25677 (elf_machine_lazy_rel): Remove the prelink check.
25678
91c5a366
SN
256792017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25680
25681 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25682 DT_TLSDESC_GOT initialization.
25683 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25684 (_dl_tlsdesc_resolve_rela): Likewise.
25685 (_dl_tlsdesc_resolve_hold): Likewise.
25686 (_dl_tlsdesc_undefweak): Remove ldar.
25687 (_dl_tlsdesc_dynamic): Likewise.
25688 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25689 (_dl_tlsdesc_resolve_rela): Likewise.
25690 (_dl_tlsdesc_resolve_hold): Likewise.
25691 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25692 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25693 (_dl_tlsdesc_resolve_rela): Likewise.
25694 (_dl_tlsdesc_resolve_hold): Likewise.
25695
b7cf203b
SN
256962017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25697
25698 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25699 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25700
0cc5b022
SN
257012017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25702
25703 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25704 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25705
43ddff2e
JM
257062017-11-02 Joseph Myers <joseph@codesourcery.com>
25707
25708 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25709 Declare.
25710 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25711 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25712 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25713 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25714 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25715 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25716 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25717 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25718 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25719 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25720 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25721
5baac970
MF
257222017-11-02 Mike FABIAN <mfabian@redhat.com>
25723
25724 [BZ #22382]
25725 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25726 * localedata/locales/tpi_PG: Add standard header.
25727
ef11081f
FW
257282017-11-02 Florian Weimer <fweimer@redhat.com>
25729
25730 test-errno-linux: quotactl can fail with EPERM in containers.
25731 * sysdeps/unix/sysv/linux/test-errno-linux.c
25732 (LIST, LIST_FORWARD): New macros.
25733 (check_error_in_list): New function.
25734 (test_wrp_rv): Accept list of permitted error codes.
25735 (test_wrp_rv2): Remove.
25736 (test_wrp): Call test_wrp_rv with list of error codes.
25737 (test_wrp2): Accept list of error codes.
25738 (do_test): Adjust. Allow EPERM for quotactl.
25739
d10b132b
FW
257402017-11-02 Florian Weimer <fweimer@redhat.com>
25741
25742 * stdio-common/bug16.c (do_test): Use array_length.
25743 * stdio-common/errlist.c (_sys_nerr): Likewise.
25744 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25745 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25746 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25747 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25748 (do_test): Use array_length.
25749 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25750 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25751 * stdio-common/tst-printf-round.c (do_test): Likewise.
25752 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25753 (CHECK): Use array_length.
25754 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25755 * stdio-common/tstscanf.c (main): Likewise.
25756 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25757
c94a5688
FW
257582017-11-02 Florian Weimer <fweimer@redhat.com>
25759
25760 Add array_length and array_end macros.
25761 * include/array_length.h: New file.
25762
2fac6a6c
FW
257632017-11-02 Florian Weimer <fweimer@redhat.com>
25764
25765 [BZ #22332]
25766 * posix/tst-glob-tilde.c (do_noescape): New variable.
25767 (one_test): Process it.
25768 (do_test): Set do_noescape. Add unescaping test case.
25769
2f1b212e
JM
257702017-11-01 Joseph Myers <joseph@codesourcery.com>
25771
260fbd0a
JM
25772 * math/complex.h
25773 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25774 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25775 with appropriate macros defined and undefined.
25776 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25777 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25778 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25779 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25780 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25781 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25782 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25783 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25784 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25785 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25786
2f1b212e
JM
25787 * math/complex.h
25788 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25789 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25790 that for long double. Do not condition define and undefine of
25791 _Mdouble_complex_ on [__CFLOAT128].
25792
95b93c6e
L
257932017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25794
25795 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25796 of <sysdeps/generic/sysdep.h>.
25797 (ALIGNARG): Removed.
25798 (ASM_SIZE_DIRECTIVE): Likewise.
25799 (ENTRY): Likewise.
25800 (END): Likewise.
25801 (ENTRY_CHK): Likewise.
25802 (END_CHK): Likewise.
25803 (syscall_error): Likewise.
25804 (mcount): Likewise.
25805 (PSEUDO_END): Likewise.
25806 (L): Likewise.
25807 (atom_text_section): Likewise.
25808 * sysdeps/x86/sysdep.h: New file.
25809 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25810 of <sysdeps/generic/sysdep.h>.
25811 (ALIGNARG): Removed.
25812 (ASM_SIZE_DIRECTIVE): Likewise.
25813 (ENTRY): Likewise.
25814 (END): Likewise.
25815 (ENTRY_CHK): Likewise.
25816 (END_CHK): Likewise.
25817 (syscall_error): Likewise.
25818 (mcount): Likewise.
25819 (PSEUDO_END): Likewise.
25820 (L): Likewise.
25821 (atom_text_section): Likewise.
25822
1bb36539
RL
258232017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25824
25825 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25826 category of LC_CTYPE set to "i18n:2012".
25827 * localedata/locales/i18n_ctype: Regenerate.
25828
067f5d97 258292017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25830
87bbc4cf
YN
25831 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25832 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25833 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25834 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25835
e8681faa
YN
25836 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25837 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25838 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25839 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25840
540af6e2
JM
258412017-10-31 Joseph Myers <joseph@codesourcery.com>
25842
43e66283
JM
25843 * math/complex.h
25844 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25845 New macro.
25846 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25847 Likewise.
25848 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25849 Likewise.
25850 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25851 (CMPLXF32X): Likewise.
25852 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25853 (CMPLXF64X): Likewise.
25854 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25855 (CMPLXF128X): Likewise.
25856
540af6e2
JM
25857 * math/math.h
25858 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25859 (__MATH_EVAL_FMT2): Define to add 0.0f.
25860
58af72b4
AM
258612017-10-31 Alan Modra <amodra@gmail.com>
25862
25863 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25864 include sysdep.h.
25865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25879 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25880 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25881 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25882 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25883 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25884 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25885 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25887 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25890 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25891 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25892 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25893 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25894 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25895 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25896 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25897 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25898 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25899 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25901 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25902 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25903 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25904 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25905 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25906 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25907 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25908 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25909 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25910 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25911 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25913 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25914 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25916 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25917 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25918 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25920 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25921 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25922 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25929 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25930 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25931 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25932 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25933 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25934
25935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25936 include sysdep.h and math_ldbl_opt.h.
25937
25938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25939 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25959 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25961 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25962 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25964
112f30b3
AM
259652017-10-31 Alan Modra <amodra@gmail.com>
25966
25967 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25968 string/strncase_l.c, not string/strncase.c.
25969 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25970 (libc_hidden_def): Redefine.
25971
e9e7eced
AM
259722017-10-31 Alan Modra <amodra@gmail.com>
25973
25974 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25975 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25976 (__strcasecmp): Don't define.
25977
f7b465cf
AM
259782017-10-31 Alan Modra <amodra@gmail.com>
25979
25980 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25981 IS_IN (libc).
25982 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25983 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25984 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25985
d46b09f9
AM
259862017-10-31 Alan Modra <amodra@gmail.com>
25987
25988 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25989 USE_AS_STPNCPY.
25990
e9b8e194
AM
259912017-10-31 Alan Modra <amodra@gmail.com>
25992
25993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25994 Redefine only when SHARED.
25995
eda162dd
JM
259962017-10-30 Joseph Myers <joseph@codesourcery.com>
25997
b61afe8c
JM
25998 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25999 Include <bits/math-finite.h> with appropriate macros defined and
26000 undefined.
26001 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26002 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26003 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26004 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26005 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26006
eda162dd
JM
26007 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26008 [!_Mlong_double_] (_Mlong_double_): Likewise.
26009 [!_Mfloat16_] (_Mfloat16_): Likewise.
26010 [!_Mfloat32_] (_Mfloat32_): Likewise.
26011 [!_Mfloat64_] (_Mfloat64_): Likewise.
26012 [!_Mfloat128_] (_Mfloat128_): Likewise.
26013 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26014 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26015 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26016 (_Mdouble_): Define without indirection through those macros.
26017 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26018 [!_Mfloat128_] (_Mfloat128_): Likewise.
26019 [_Mlong_double_] (_Mlong_double_): Likewise.
26020 (_Mdouble_): Define without indirection through those macros.
26021 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26022 not add -D_Mlong_double_=double.
26023 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26024 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26025
4ad5106e
L
260262017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26027
26028 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26029
fe326df7
L
260302017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26031
26032 * sysdeps/x86/libc-start.c: Reformat.
26033
c5cc4514
L
260342017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26035
26036 [BZ #22353]
26037 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26038 (1): Renamed to ...
26039 (L(Src0)): This.
26040 (L(Src1)): New.
26041 (L(Src2)): Likewise.
26042 (L(1)): Renamed to ...
26043 (L(Src3)): This.
26044
ce12269f
JM
260452017-10-30 Joseph Myers <joseph@codesourcery.com>
26046
26047 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26048 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26049 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26050 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26051 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26052 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26053 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26054 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26055 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26056 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26057 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26058 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26059 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26060 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26061 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26062 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26063 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26064 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26065 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26066 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26067 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26068 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26069 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26070 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26071 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26072 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26073 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26074 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26075 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26076 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26077 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26078 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26079 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26080 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26081 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26082 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26083 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26084 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26085 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26086 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26087 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26088 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26089 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26090 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26091 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26092 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26093 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26094 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26095 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26096 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26097 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26098 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26099 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26100 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26101 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26102 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26103 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26104 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26105 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26106 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26107 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26108 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26109 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26110 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26111 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26112 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26113
4484b9e2
FW
261142017-10-30 Florian Weimer <fweimer@redhat.com>
26115
26116 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26117 always defined.
26118 * io/tst-mkdirat.c (do_test): Likewise.
26119 * io/tst-mkfifoat.c (do_test): Likewise.
26120 * io/tst-mknodat.c (do_test): Likewise.
26121 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26122 * locale/programs/locale.c (select_dirs): Likewise.
26123 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26124 * posix/bug-glob2.c (my_readdir): Likewise.
26125 * posix/tst-dir.c (main): Likewise.
26126 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26127 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26128
68fe16dd
FW
261292017-10-30 Florian Weimer <fweimer@redhat.com>
26130
26131 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26132 just __USE_GNU.
26133
dadf23f0
FW
261342017-10-30 Florian Weimer <fweimer@redhat.com>
26135
26136 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26137 Convert to support/test-driver.c.
26138 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26139 New macro parameters.
26140 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26141 * posix/tst-gnuglob.c: New file.
26142 * posix/tst-gnuglob64.c: Likewise.
26143 * posix/Makefile (tests): Add tst-gnuglob64.
26144
363e4519 261452017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26146
26147 [BZ #19485]
26148 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26149 and use a better translation for March in “mon”.
26150 * localedata/locales/csb_PL: Use more ASCII to improve the
26151 readability of the source.
26152
b110af82
MF
261532017-10-30 Mike FABIAN <mfabian@redhat.com>
26154
26155 [BZ #13953]
26156 * localedata/locales/km_KH: Use ASCII as much
26157 as possible for better readability of the source and
26158 remove useless comments.
26159 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26160 was commented out and apparently wrong anyway because it was
26161 using Lao characters. If Buddhist era should be used
26162 for km_KH, a native speaker should write the correct formaat
26163 for Khmer.
26164 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26165 (According to CLDR, the first weekday for Cambodia is Sunday).
26166 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26167 (These were using Lao characters which must be wrong. If we get
26168 the correct data from a native speaker, we could add it back, until
26169 then it is better not to have name_mr and name_mrs at all than
26170 having it wrong).
26171
f301e533
RL
261722017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26173
26174 * locale/loadlocale.c: Correct size of
26175 _nl_value_type_LC_<category> arrays.
26176
7e9d7073
JM
261772017-10-27 Joseph Myers <joseph@codesourcery.com>
26178
26179 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26180 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26181 with appropriate macros defined and undefined.
26182 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26183 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26184 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26185 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26186 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26187
63d3b468
L
261882017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26189
26190 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26191 "-O2 -march=i586".
26192
a4cc02c7
MF
261932017-10-27 Mike FABIAN <mfabian@redhat.com>
26194
26195 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26196 with lowercase letters to make it agree with CLDR.
26197
1e5971ec
MF
261982017-10-27 Mike FABIAN <mfabian@redhat.com>
26199
26200 [BZ #15260]
26201 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26202 first letters of yesstr and nostr in yesexpr and noexpr,
26203 not for the full words.
26204 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26205 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26206 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26207 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26208 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26209 first letters of yesstr and nostr in yesexpr and noexpr,
26210 until now only English was matched in yesexpr and noexpr.
26211 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26212 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26213 fil but not for tl. As tl and fil are very similar, using fil
26214 is probably better than using English.
26215
363e4519 262162017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26217
26218 [BZ #21706]
26219 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26220 in yesstr and nostr.
26221
5d220788
JM
262222017-10-26 Joseph Myers <joseph@codesourcery.com>
26223
ecc7da5b
JM
26224 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26225 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26226 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26227 Likewise.
26228 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26229 Likewise.
26230 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26231 Likewise.
26232 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26233 Likewise.
26234 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26235 (SNANF128X): Likewise.
26236
5d220788
JM
26237 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26238 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26239 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26240 (HUGE_VAL_F32): Likewise.
26241 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26242 (HUGE_VAL_F64): Likewise.
26243 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26244 (HUGE_VAL_F32X): Likewise.
26245 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26246 (HUGE_VAL_F64X): Likewise.
26247 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26248 (HUGE_VAL_F128X): Likewise.
26249
363e4519 262502017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26251
26252 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26253 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26254 for the br_FR locale.
26255
363e4519 262562017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26257
26258 [BZ #21706]
26259 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26260
337ff3c5
CD
262612017-10-25 Carlos O'Donell <carlos@redhat.com>
26262
02eec681
CD
26263 * locale/programs/record-status.h: Define globals, and function
26264 prototypes. Move function bodies...
26265 * locale/programs/record-status.c: ... to here. New file.
26266 * iconv/Makefile (iconv_prog-modules): Add record-status.
26267 * locale/Makefile (lib-modules): Likewise.
26268 * iconv/iconv_prog.c: Remove verbose.
26269 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26270 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26271 record a warning about ASCII compatibility.
26272 * locale/programs/ld-monetary.c (monetary_finish): If
26273 warn_int_curr_symbol is true then record a warning about the symbol
26274 not being in our ISO 4217 list.
26275 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26276 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26277 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26278 (OPT_NO_WARN): Define.
26279 (OPT_WARN): Define.
26280 (options): Add entry for --no-warnings, and --warnings.
26281 (set_warnings): New function to enable/disable warnings.
26282 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26283 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26284 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26285 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26286 Pass flags to generate_locale.
26287 (generate_locale): Accept new flag argument and pass it to localedef
26288 invocation.
26289 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26290 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26291
56fa555a
CD
26292 * localedata/Makefile (test-input-data): Use full file name.
26293 * localedata/da_DK.in: Rename to...
26294 * localedata/da_DK.ISO-8859-1.in: ...this.
26295 * localedata/de_DE.in: Rename to...
26296 * localedata/de_DE.ISO-8859-1.in: ...this.
26297 * localedata/en_US.in: Rename to...
26298 * localedata/en_US.ISO-8859-1.in: ...this.
26299 * localedata/fr_FR.in: Rename to...
26300 * localedata/fr_FR.UTF-8.in: ... this.
26301 * localedata/hr_HR.in: Rename to...
26302 * localedata/hr_HR.ISO-8859-2.in: ...this.
26303 * localedata/hu_HU.in: Rename to...
26304 * localedata/hu_HU.UTF-8.in: ...this.
26305 * localedata/si_LK.in: Rename to...
26306 * localedata/si_LK.UTF-8.in: ...this.
26307 * localedata/sv_SE.in: Rename to...
26308 * localedata/sv_SE.ISO-8859-1.in: ...this.
26309 * localedata/tr_TR.in: Rename to...
26310 * localedata/tr_TR.UTF-8.in: ...this.
26311 * localedata/uk_UA.in: Rename to...
26312 * localedata/uk_UA.UTF-8.in: ...this.
26313 * localedata/sort-test.sh: Test file is locale name with the
26314 suffix.
26315
337ff3c5
CD
26316 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26317 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26318 file.
26319 * localedata/locales/i18n_ctype: Regenerate.
26320 * localedata/locales/tr_TR: Likewise.
26321 * localedata/locales/translit_circle: Likewise.
26322 * localedata/locales/translit_cjk_compat: Likewise.
26323 * localedata/locales/translit_combining: Likewise.
26324 * localedata/locales/translit_compat: Likewise.
26325 * localedata/locales/translit_font: Likewise.
26326 * localedata/locales/translit_fraction: Likewise.
26327
63da5cd4
RS
263282017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26329
26330 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26331 lxvd2x/stxvd2x with lvx/stvx.
26332 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26333
a122dbfb
L
263342017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26335
26336 * include/alloc_buffer.h: Replace "if if " with "if " in
26337 comments.
26338 * sysdeps/mips/memcpy.S: Likkewise.
26339 * sysdeps/mips/memset.S: Likewise.
26340 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26341 Likewise.
26342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26343 Likewise.
26344 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26345 Likewise.
26346
9be7530c
MF
263472017-10-25 Mike FABIAN <mfabian@redhat.com>
26348
26349 [BZ #15261]
26350 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26351 yesexpr and noexpr.
26352 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26353 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26354 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26355 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26356 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26357 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26358 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26359
6ccbf6ff
MF
263602017-10-25 Mike FABIAN <mfabian@redhat.com>
26361
26362 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26363 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26364 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26365 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26366 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26367 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26368 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26369 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26370 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26371 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26372 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26373 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26374
58b1a7ea
MF
263752017-10-25 Mike FABIAN <mfabian@redhat.com>
26376
26377 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26378 as possible for better readability of the source.
26379 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26380 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26381 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26382 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26383 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26384 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26385 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26386 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26387 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26388 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26389 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26390 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26391 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26392 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26393 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26394 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26395 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26396 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26397 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26398 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26399 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26400 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26401 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26402 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26403 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26404 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26405 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26406 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26407 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26408 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26409 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26410 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26411 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26412 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26413 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26414 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26415 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26416 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26417 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26418 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26419 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26420 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26421 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26422 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26423 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26424 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26425 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26426 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26427 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26428 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26429 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26430 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26431 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26432 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26433 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26434 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26435 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26436 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26437 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26438 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26439 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26440 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26441 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26442 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26443 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26444 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26445 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26446 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26447 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26448 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26449 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26450 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26451 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26452 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26453 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26454 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26455 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26456 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26457 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26458 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26459 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26460 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26461 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26462 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26463 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26464 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26465 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26466 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26467 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26468 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26469 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26470 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26471 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26472 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26473 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26474 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26475 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26476 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26477 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26478 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26479 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26480 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26481 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26482 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26483 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26484 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26485 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26486 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26487 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26488 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26489 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26490 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26491 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26492 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26493 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26494 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26495 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26496 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26497 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26498 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26499 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26500 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26501 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26502 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26503 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26504 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26505 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26506 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26507 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26508 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26509 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26510 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26511 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26512 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26513 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26514 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26515 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26516 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26517 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26518 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26519 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26520 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26521 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26522 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26523 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26524 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26525 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26526 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26527 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26528 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26529 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26530 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26531 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26532 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26533 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26534 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26535 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26536 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26537 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26538 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26539 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26540 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26541 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26542 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26543 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26544 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26545 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26546 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26547 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26548 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26549 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26550 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26551 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26552 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26553
17e78edb
MF
265542017-10-25 Mike FABIAN <mfabian@redhat.com>
26555
26556 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26557 (Use first letters of yesstr and nostr correctly instead of using
26558 full words).
26559
74e7284f
MF
265602017-10-25 Mike FABIAN <mfabian@redhat.com>
26561
26562 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26563 (Use first letters of yesstr and nostr correctly).
26564
b41a0ff1
MF
265652017-10-25 Mike FABIAN <mfabian@redhat.com>
26566
26567 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26568 also check for the first characters of yesstr and nostr.
26569 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26570 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26571
d971f380
MF
265722017-10-25 Mike FABIAN <mfabian@redhat.com>
26573
26574 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26575 also check for Chinese characters.
26576
effc9e1d
MF
265772017-10-25 Mike FABIAN <mfabian@redhat.com>
26578
26579 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26580 match also for the contents of yesstr and nostr. As the first letter
26581 of yesstr and nostr is equal, checking only for the first letter
26582 is not enough.
26583
10320881
MF
265842017-10-25 Mike FABIAN <mfabian@redhat.com>
26585
26586 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26587 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26588
d8682a15
MF
265892017-10-25 Mike FABIAN <mfabian@redhat.com>
26590
26591 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26592 of main contributor.
26593
1bfb86ae
MF
265942017-10-25 Mike FABIAN <mfabian@redhat.com>
26595
26596 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26597 instead of using English.
26598
da33d60b
MF
265992017-10-25 Mike FABIAN <mfabian@redhat.com>
26600
26601 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26602 by including the first letters of nostr and yesexpr in the regexp.
26603 Also make it more readable by using ASCII where possible.
26604
725bbb3e
MF
266052017-10-25 Mike FABIAN <mfabian@redhat.com>
26606
26607 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26608 the first letter of nostr in the regexp. It agrees with CLDR now.
26609 Also make it more readable by using ASCII where possible.
26610
fe043d8a
MF
266112017-10-24 Mike FABIAN <mfabian@redhat.com>
26612
26613 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26614 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26615 these strings contain a U+17D6 (which somewhat looks like a colon)
26616 instead of a real colon to separate the full words for “yes”
26617 and “no” from the single letter responses.
26618
360a8df3
MF
266192017-10-24 Mike FABIAN <mfabian@redhat.com>
26620
26621 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26622 it agree with CLDR (include the first letter of yesstr).
26623 Also make it more readable by using ASCII where possible.
26624
bab7b6b0
MF
266252017-10-24 Mike FABIAN <mfabian@redhat.com>
26626
26627 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26628 and improve yesexpr and noexpr. The yesstr and nostr apparently
26629 came from CLDR. And CLDR has a bug there: these strings contain
26630 a U+0903 (which looks like a colon) instead of a real colon
26631 to separate the full words for “yes” and “no” from the single
26632 letter responses.
26633
3e79f758
MF
266342017-10-24 Mike FABIAN <mfabian@redhat.com>
26635
26636 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26637 letters of the full yesstr and nostr in yesexpr and noexpr.
26638
4960c879
MF
266392017-10-24 Mike FABIAN <mfabian@redhat.com>
26640
26641 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26642 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26643 * localedata/locales/an_ES: Make source more readable by using ASCII
26644 where possible.
26645
b06a054f
MF
266462017-10-24 Mike FABIAN <mfabian@redhat.com>
26647
26648 [BZ #20952]
26649 * localedata/locales/yuw_PG: New file.
26650 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26651 * locale/iso-639.def: Add Yau (Uruwa).
26652
905a7725
WD
266532017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26654
26655 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26656
3f6bb8a3
WD
266572017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26658
26659 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26660 (__libc_realloc): Likewise.
26661 (_mid_memalign): Likewise.
26662 (__libc_calloc): Likewise.
26663
1d479c8c
MF
266642017-10-23 Mike FABIAN <mfabian@redhat.com>
26665
26666 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26667 by adding the generic +1 and -0 as in all other locales.
26668 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26669 day names and make it more readable by using ASCII where possible.
26670
91c3985c
JM
266712017-10-24 Joseph Myers <joseph@codesourcery.com>
26672
26673 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26674 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26675
aa95a241
AZ
266762017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26677
26678 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26679 WNOHANG in waitpid call.
26680
db9bab09
SP
266812017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26682
a2e0a7f1
SP
26683 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26684 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26685
db9bab09
SP
26686 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26687 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26688 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26689 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26690 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26691 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26692 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26693 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26694 variables.
26695
5062680c
MC
266962017-10-23 Michael Collison <michael.collison@arm.com>
26697
26698 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26699 with __builtin_sqrt.
26700 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26701 with __builtin_sqrtf.
26702 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26703 with __builtin_ceil.
26704 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26705 with __builtin_ceilf.
26706 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26707 with __builtin_floor.
26708 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26709 with __builtin_floorf.
26710 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26711 with __builtin_fma.
26712 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26713 with __builtin_fmaf.
26714 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26715 with __builtin_fmax.
26716 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26717 with __builtin_fmaxf.
26718 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26719 with __builtin_fmin.
26720 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26721 with __builtin_fminf.
26722 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26723 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26724 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26725 with builtin_rint and conversion to int.
26726 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26727 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26728 with builtin_llround.
26729 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26730 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26731 with builtin_rint and conversion to long int.
26732 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26733 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26734 with builtin_lround.
26735 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26736 with builtin_lroundf.
26737 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26738 statements with __builtin_nearbyint.
26739 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26740 statements with __builtin_nearbyintf.
26741 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26742 with __builtin_rint.
26743 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26744 with __builtin_rintf.
26745 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26746 with __builtin_round.
26747 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26748 with __builtin_roundf.
26749 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26750 with __builtin_trunc.
26751 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26752 with __builtin_truncf.
be080b6c
SN
26753 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26754 and s_l[l]round[f].c too.
5062680c 26755
174935af
AM
267562017-10-23 Alan Modra <amodra@gmail.com>
26757
26758 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26759 Adjust stack after restoring regs. Add missing LR cfi_restore.
26760
750a0e49
AM
267612017-10-23 Alan Modra <amodra@gmail.com>
26762
26763 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26764 Move LR save and frame setup/teardown and LR restore to
26765 immediately around memset call. Provide cfi.
26766
5313581c
L
267672017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26768
26769 * sysdeps/i386/fpu/e_powf.S: Removed.
26770 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26771 * sysdeps/i386/fpu/w_powf.c: Likewise.
26772 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26773 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26774 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26775 Add e_powf-sse2.
26776 (CFLAGS-e_powf-sse2.c): New.
26777 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26778 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26779
6089a3ee
L
267802017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26781
26782 * sysdeps/i386/fpu/e_log2f.S: Removed.
26783 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26784 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26785 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26786 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26787 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26788 Add e_log2f-sse2.
26789 (CFLAGS-e_log2f-sse2.c): New.
26790 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26791 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26792
80bb5935
L
267932017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26794
26795 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26796 Add e_powf-fma.
26797 (CFLAGS-e_powf-fma.c): New.
26798 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26799 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26800
5c7adbd8
L
268012017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26802
26803 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26804 Add e_log2f-fma.
26805 (CFLAGS-e_log2f-fma.c): New.
26806 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26807 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26808
0ccc7153
L
268092017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26810
26811 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26812 Add e_logf-fma.
26813 (CFLAGS-e_logf-fma.c): New.
26814 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26815 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26816
fe596486
L
268172017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26818
26819 * sysdeps/i386/fpu/e_logf.S: Removed.
26820 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26821 * sysdeps/i386/fpu/w_logf.c: Likewise.
26822 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26823 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26824 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26825 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26826 Add e_logf-sse2.
26827 (CFLAGS-e_logf-sse2.c): New.
26828 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26829 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26830
7eda65f6
L
268312017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26832
26833 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26834 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26835 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26836 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26837 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26838 Add e_exp2f-sse2.
26839 (CFLAGS-e_exp2f-sse2.c): New.
26840 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26841 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26842
5d15c969
L
268432017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26844
26845 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26846 Add e_exp2f-fma.
26847 (CFLAGS-e_exp2f-fma.c): New.
26848 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26849 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26850
b2f6137e
L
268512017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26852
26853 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26854 * sysdeps/i386/fpu/e_expf.S: Likewise.
26855 * sysdeps/i386/fpu/math_errf.c: Likewise.
26856 * sysdeps/i386/fpu/w_expf.c: Likewise.
26857 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26858 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26859 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26860 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26861 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26862 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26863 Remove e_expf-ia32.
26864 (CFLAGS-e_expf-sse2.c): New.
26865 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26866 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26867
e1f59beb
L
268682017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26869
26870 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26871 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26872 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26873 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26874 e_expf.c.
26875 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26876 New.
26877 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26878 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26879 Renamed to ...
26880 (__redirect_expf): This.
26881 (SYMBOL_NAME): Changed to expf.
26882 (__ieee754_expf): Renamed to ...
26883 (__expf): This.
26884 (__GI___expf): This.
26885 (__ieee754_expf): Add strong_alias.
26886 (__expf_finite): Likewise.
26887 (__expf): New.
26888 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26889
363e4519 268902017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26891
26892 [BZ #22332]
26893 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26894 unescaping.
26895
e80fc1fc
FW
268962017-10-21 Florian Weimer <fweimer@redhat.com>
26897
26898 * posix/Makefile (tests): Add tst-glob-tilde.
26899 (tests-special): Add tst-glob-tilde-mem.out
26900 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26901 (tst-glob-tilde-mem.out): Add mtrace check.
26902 * posix/tst-glob-tilde.c: New file.
26903
797ba44b
JM
269042017-10-20 Joseph Myers <joseph@codesourcery.com>
26905
26906 * bits/floatn-common.h: New file.
26907 * math/Makefile (headers): Add bits/floatn-common.h.
26908 * bits/floatn.h: Include <bits/floatn-common.h>.
26909 * sysdeps/ia64/bits/floatn.h: Likewise.
26910 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26911 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26912 * sysdeps/powerpc/bits/floatn.h: Likewise.
26913 * sysdeps/x86/bits/floatn.h: Likewise.
26914
fe05e1cb
AZ
269152017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26916
8f6f5362
AZ
26917 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26918 indicates whether compiler emits an warning for alias for
26919 functions with incompatible types.
26920
fe05e1cb
AZ
26921 [BZ #22273]
26922 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26923 the auxiliary process is terminated by a signal before calling _exit
26924 or execve.
26925
b52b0d79
L
269262017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26927
26928 [BZ #21265]
26929 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26930 New.
26931 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26932 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26933 and bit_arch_XSAVEC_Usable if needed.
26934 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26935 and bit_arch_Use_dl_runtime_resolve_opt.
26936 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26937 Removed.
26938 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26939 (bit_arch_Prefer_No_AVX512): Updated.
26940 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26941 (bit_arch_XSAVEC_Usable): New.
26942 (STATE_SAVE_OFFSET): Likewise.
26943 (STATE_SAVE_MASK): Likewise.
26944 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26945 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26946 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26947 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26948 (index_arch_XSAVEC_Usable): New.
26949 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26950 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26951 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26952 is enabled.
26953 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26954 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26955 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26956 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26957 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26958 _dl_runtime_resolve_xsavec.
26959 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26960 Removed.
26961 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26962 instead of VEC_SIZE.
26963 (REGISTER_SAVE_BND0): Removed.
26964 (REGISTER_SAVE_BND1): Likewise.
26965 (REGISTER_SAVE_BND3): Likewise.
26966 (REGISTER_SAVE_RAX): Always defined to 0.
26967 (VMOV): Removed.
26968 (_dl_runtime_resolve_avx): Likewise.
26969 (_dl_runtime_resolve_avx_slow): Likewise.
26970 (_dl_runtime_resolve_avx_opt): Likewise.
26971 (_dl_runtime_resolve_avx512): Likewise.
26972 (_dl_runtime_resolve_avx512_opt): Likewise.
26973 (_dl_runtime_resolve_sse): Likewise.
26974 (_dl_runtime_resolve_sse_vex): Likewise.
26975 (USE_FXSAVE): New.
26976 (_dl_runtime_resolve_fxsave): Likewise.
26977 (USE_XSAVE): Likewise.
26978 (_dl_runtime_resolve_xsave): Likewise.
26979 (USE_XSAVEC): Likewise.
26980 (_dl_runtime_resolve_xsavec): Likewise.
26981 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26982 Removed.
26983 (_dl_runtime_resolve_avx512_opt): Likewise.
26984 (_dl_runtime_resolve_avx): Likewise.
26985 (_dl_runtime_resolve_avx_opt): Likewise.
26986 (_dl_runtime_resolve_sse): Likewise.
26987 (_dl_runtime_resolve_sse_vex): Likewise.
26988 (_dl_runtime_resolve_fxsave): New.
26989 (_dl_runtime_resolve_xsave): Likewise.
26990 (_dl_runtime_resolve_xsavec): Likewise.
26991
363e4519 269922017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26993
26994 [BZ #22320]
26995 CVE-2017-15670
26996 * posix/glob.c (__glob): Fix one-byte overflow.
26997
6d43de4b
WD
269982017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26999
27000 * malloc/malloc.c (sysdep-cancel.h): Add include.
27001
a15d53e2
WD
270022017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
27003
27004 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27005
b9a558e7
WH
270062017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27007
27008 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27009 (tests): Remove $(objpfx)ga_test depdendency.
27010 * resolv/ga_test.c: Remove file.
27011
b6b08b8e
MF
270122017-10-20 Mike FABIAN <mfabian@redhat.com>
27013
27014 [BZ #18812]
27015 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27016 * localedata/locales/kab_DZ: New file.
27017
9ba7e810
L
270182017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27019
27020 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27021 _dl_relocate_static_pie instead of _dl_start to compute load
27022 address in static PIE.
27023
4027a4fd
L
270242017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27025
27026 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27027
2f9314b4
MF
270282017-10-20 Mike FABIAN <mfabian@redhat.com>
27029
27030 [BZ #13605]
27031 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27032 * localedata/locales/shn_MM: New file.
27033
63b4baa4
FW
270342017-10-20 Florian Weimer <fweimer@redhat.com>
27035
27036 [BZ #22321]
27037 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27038 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27039 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27040 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27041 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27042 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27043
95ccb619
L
270442017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27045
27046 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27047
37bb78cb
JM
270482017-10-19 Joseph Myers <joseph@codesourcery.com>
27049
76f2ed92
JM
27050 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27051
37bb78cb
JM
27052 [BZ #22322]
27053 * sysdeps/mips/bits/long-double.h: Move to ....
27054 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27055
d74e6f6c
WD
270562017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27057
27058 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27059
363e4519 270602017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27061 H.J. Lu <hongjiu.lu@intel.com>
27062
27063 [BZ #22299]
27064 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27065 GLRO(dl_platform) to NULL.
27066 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27067 (modules-names): Add tst-platformmod-1 and
27068 x86_64/tst-platformmod-2.
27069 (CFLAGS-tst-platform-1.c): New.
27070 (CFLAGS-tst-platformmod-1.c): Likewise.
27071 (CFLAGS-tst-platformmod-2.c): Likewise.
27072 (LDFLAGS-tst-platformmod-2.so): Likewise.
27073 ($(objpfx)tst-platform-1): Likewise.
27074 ($(objpfx)tst-platform-1.out): Likewise.
27075 (tst-platform-1-ENV): Likewise.
27076 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27077 * sysdeps/x86_64/tst-platform-1.c: New file.
27078 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27079 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27080
4b0fa403
MF
270812017-10-19 Mike FABIAN <mfabian@redhat.com>
27082
27083 [BZ #13994]
27084 * locale/iso-639.def: Add Karbi.
27085 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27086 * localedata/locales/mjw_IN: New file.
27087
81325b12
JM
270882017-10-18 Joseph Myers <joseph@codesourcery.com>
27089
27090 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27091 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27092 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27093 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27094 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27095 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27096 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27097 <bits/floatn.h>.
27098 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27099 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27100 * manual/math.texi (Mathematics): Document additional architecture
27101 support for _Float128.
27102 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27103 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27104 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27105 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27106 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27107 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27108 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27109 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27110 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27111 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27112 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27113 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27114 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27115 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27117
a68ba2f3
SN
271182017-10-18 Renlin Li <renlin.li@arm.com>
27119
27120 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27121 _DYNAMIC symbol to calculate load address.
27122
346729f6
PC
271232017-10-18 Paul A. Clarke <pc@us.ibm.com>
27124
27125 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27126 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27127 summary bits.
27128 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27129 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27130
508b1e71
MF
271312017-10-18 Mike FABIAN <mfabian@redhat.com>
27132
27133 [BZ #16777]
27134 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27135 and improve readability by using more ASCII.
27136 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27137 and improve readability by using more ASCII.
27138
2c2245b9
WD
271392017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27140
27141 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27142 not all targets support atomics on bool.
27143
13c92696
JM
271442017-10-17 Joseph Myers <joseph@codesourcery.com>
27145
27146 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27147 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27148 __f128.
27149 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27150 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27151 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27152 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27153 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27154 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27155
71d85045
AZ
271562017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27157
27158 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27159 defines.
27160
3381be5c
WD
271612017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27162
27163 [BZ #22159]
27164 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27165 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27166 (do_check_remalloced_chunk): Fix build bug.
27167 (do_check_malloc_state): Add assert that checks arena->top.
27168 (malloc_consolidate): Remove initialization.
27169 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27170 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27171
e956075a
WD
271722017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27173
27174 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27175 (have_fastchunks): Remove.
27176 (clear_fastchunks): Remove.
27177 (set_fastchunks): Remove.
27178 (malloc_state): Add have_fastchunks.
27179 (malloc_init_state): Use have_fastchunks.
27180 (do_check_malloc_state): Remove incorrect invariant checks.
27181 (_int_malloc): Use have_fastchunks.
27182 (_int_free): Likewise.
27183 (malloc_consolidate): Likewise.
27184
e4dd4ace
WD
271852017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27186
27187 * malloc/malloc.c (tcache_put): Inline.
27188 (tcache_get): Inline.
27189
5bf58bc7
AJ
271902017-10-17 Jordi Mallach <jordi@gnu.org>
27191
27192 Aurelien Jarno <aurelien@aurel32.net>
27193 [BZ #2522]
27194 * localedata/locales/ca_ES@valencia: New file.
27195 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27196
386e1c26
RN
271972017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27198
27199 [BZ #22296]
27200 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27201 < 6.x
27202
4e17c78e
AZ
272032017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27204
3d265601
AZ
27205 * scripts/build-many-glibcs.py (Context.add_all_configs):
27206 Add arm-linux-gnueabihf multiarch extra_glibcs.
27207
4e17c78e
AZ
27208 * sysdeps/generic/ifunc-init.h: New file.
27209 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27210
56a752ab
MF
272112017-10-17 Mike FABIAN <mfabian@redhat.com>
27212
27213 [BZ #22019]
27214 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27215 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27216 * stdlib/tst-strfmon_l.c: adapt test case.
27217
c38a4bfd
JM
272182017-10-16 Joseph Myers <joseph@codesourcery.com>
27219
27220 * sysdeps/generic/float128-abi.h: New file.
27221 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27222 non-__prefixed symbols to ....
27223 * math/Versions: ... here. Include <float128-abi.h>.
27224 * stdlib/Versions ... and here. Include <float128-abi.h>
27225
76009b26
FW
272262017-10-16 Florian Weimer <fweimer@redhat.com>
27227
27228 * version.h (VERSION): Switch to ".9000" as the development
27229 version suffix.
27230
7ece6cd5
FW
272312017-10-16 Florian Weimer <fweimer@redhat.com>
27232
27233 [BZ #22050]
27234 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27235 compat_symbol_reference to access non-default version.
27236
d8287b36
FW
272372017-10-16 Florian Weimer <fweimer@redhat.com>
27238
27239 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27240
3480ddc4
CD
272412017-10-16 Carlos O'Donell <carlos@redhat.com>
27242
27243 * include/shlib-compat.h (compat_symbol_reference): Update
27244 comment.
27245
02010e79
JM
272462017-10-16 Joseph Myers <joseph@codesourcery.com>
27247
596f7013
JM
27248 * math/Makefile (test-types): Add
27249 $(type-float128-$(float128-alias-fcts)).
27250 * math/test-float128.h (TYPE_STR): Define conditional on
27251 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27252 (ULP_IDX): Likewise.
27253 (ULP_I_IDX): Likewise.
27254
02010e79
JM
27255 * stdlib/strtold.c: Include <bits/floatn.h>
27256 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27257 and later undefine as macro. Define as weak alias if
27258 [!USE_WIDE_CHAR].
27259 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27260 and later undefine as macro. Define as weak alias if
27261 [USE_WIDE_CHAR].
27262 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27263 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27264 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27265 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27266 Define and later undefine as macro. Define as weak alias if
27267 [USE_WIDE_CHAR].
27268 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27269 <bits/floatn.h>.
27270 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27271 Define and later undefine as macro. Define as weak alias if
27272 [!USE_WIDE_CHAR].
27273 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27274 Define and later undefine as macro. Define as weak alias if
27275 [USE_WIDE_CHAR].
27276
ea91c315
CD
272772017-10-15 Carlos O'Donell <carlos@redhat.com>
27278
27279 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27280 record_verbose messages.
27281
8e57c943
L
272822017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27283
27284 [BZ #22052]
27285 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27286 to silence -O3 -Wall warning with GCC 7.
27287
a4777c46
L
272882017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27289
27290 * Makeconfig (+link-static-before-libc): Use the first of
27291 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27292 * gmon/Makefile (tests): Add tst-gmon-static.
27293 (tests-static): Likewise.
27294 (CFLAGS-tst-gmon-static.c): New.
27295 (CRT-tst-gmon-static): Likewise.
27296 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27297 (tst-gmon-static-ENV): Likewise.
27298 (tests-special): Likewise.
27299 ($(objpfx)tst-gmon-static.out): Likewise.
27300 (clean-tst-gmon-static-data): Likewise.
27301 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27302 * gmon/tst-gmon-static-gprof.sh: New file.
27303 * gmon/tst-gmon-static.c: Likewise.
27304
bc3821bb
CD
273052017-10-13 Carlos O'Donell <carlos@redhat.com>
27306
27307 [BZ #22295]
27308 * locale/programs/linereader.c (get_string): Don't warn on
27309 non-symbolic character.
27310
a3e23a2c
CD
27311 [BZ #22294]
27312 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27313 int_curr_symbol.
27314
f16491eb
CD
27315 [BZ #22292]
27316 * locale/programs/record-status.h: New file
27317 * locale/programs/locale.c: Add comment.
27318 * locale/programs/charmap-dir.c: Don't include error.h.
27319 (charmap_opendir): Use record_error.
27320 * locale/programs/charmap.c: Don't include error.h.
27321 (charmap_read): Use record_error, and record_warning.
27322 (parse_charmap): Likewise.
27323 * locale/programs/ld-address.c: Don't include error.h.
27324 (address_finish): Use record_error, and record_warning.
27325 * locale/programs/ld-collate.c: Don't include error.h.
27326 (collate_finish): Use record_error, and record_error_at_line.
27327 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27328 (ctype_class_new): Likewise.
27329 (ctype_map_new): Likewise.
27330 (set_one_default): Likewise.
27331 (set_class_defaults): Likewise.
27332 (translit_flatten): Likewise.
27333 (allocate_arrays): Use record_error, and record_verbose.
27334 * locale/programs/ld-identification.c: Don't include error.h.
27335 (indentation_finish): Use record_error and record_warning.
27336 * locale/programs/ld-measurement.c: Don't include error.h.
27337 (measurement_finish): Use record_error.
27338 * locale/programs/ld-messages.c
27339 (message_finish): Likewise.
27340 * locale/programs/ld-monetary.c
27341 (monetary_finish): Likewise.
27342 * locale/programs/ld-name.c (name_finish): Use record_error
27343 and record_warning.
27344 * locale/programs/ld-numeric.c
27345 (numeric_finish): Use record_error.
27346 * locale/programs/ld-paper.c: Don't include error.h.
27347 (paper_finish): Use record_error.
27348 * locale/programs/ld-telephone.c: Don't include error.h.
27349 (telephone_finish): Use record_error.
27350 * locale/programs/ld-time.c (time_finish): Likewise.
27351 * locale/programs/linereader.h (lr_error): Make inline func.
27352 * locale/programs/localedef.c: Define recorded_warning_count,
27353 and recorded_error_count.
27354 (main): Use record_error. Use recorded_error_count and
27355 recorded_warning_count to issue correct error returns.
27356 (add_to_readlist): Use record_error.
27357 (find_locale): Likewise.
27358 (load_locale): Likewise.
27359 * locale/programs/localedef.h: Remove be_quiet
27360 and WITH_CUR_LOCALE.
27361 * locale/programs/locarchive.c (compare_from_file): Use
27362 record_error.
27363 * locale/programs/locfile.c (write_locale_data): Use
27364 record_error.
27365 * locale/programs/repertoire.c: Dont include error.h.
27366 (repertoire_complain): Use record_error.
27367 * localedata/tst-fmon.sh: Expect failures from localedef.
27368 * localedata/tst-locale.sh: Likewise.
27369 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27370
8dc8be75
CD
27371 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27372 (REPORTS): Likewise.
27373 (check): Likewise.
27374 (i18n): Rename to...
27375 (i18n_ctype): ...this.
27376 (i18n-report): Rename to...
27377 (i18n_ctype-report): ...this.
27378 * localedata/locales/i18n_ctype: Regenerate.
27379 * localedata/locales/i18n: copy i18n_ctype.
27380
f8718a9e
JM
273812017-10-13 Joseph Myers <joseph@codesourcery.com>
27382
18c08b96
JM
27383 * stdlib/strfroml.c: Include <bits/floatn.h>.
27384 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27385 Define before include of <stdlib.h> and undefine afterwards, then
27386 define as weak alias.
27387
f8718a9e
JM
27388 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27389 Undefine and restore default definition. Use
27390 libm_alias_ldouble_other.
27391
e4f530da
PZ
273922017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27393
27394 [BZ #22153]
27395 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27396 in coredumps.
27397
86445888
JC
273982017-10-13 James Clarke <jrtc27@jrtc27.com>
27399
27400 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27401 Assign sym_map to be map for local symbols, as TLS relocations
27402 use sym_map to determine whether the symbol is defined and to
27403 extract the TLS information.
27404 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27405 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27406
179dcdb7
TMQMF
274072017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27408
e8dbd6a3
TMQMF
27409 [BZ #22189]
27410 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27411 (math_force_eval): Add powerpc version.
27412
179dcdb7
TMQMF
27413 [BZ #22142]
27414 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27415 -DBL_MAX.
27416 (do_test): Likewise.
27417 * stdio-common/tst-printf.sh: Likewise.
27418 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27419 ifdef clause in order to set the carry bit right. Replace r0 by
27420 0 without changing the behavior.
27421
7d25d410
JM
274222017-10-13 Joseph Myers <joseph@codesourcery.com>
27423
006e7664
JM
27424 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27425 <libm-alias-ldouble.h>.
27426 (fabsl): Define using libm_alias_ldouble.
27427 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27428 <libm-alias-ldouble.h>.
27429 (fabsl): Define using libm_alias_ldouble.
27430
1def91b3
JM
27431 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27432 Remove conditional code.
27433
7d25d410
JM
27434 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27435 Rename to __clog10_internal_l.
27436 (__clog10_internal_l): Define aliases using
27437 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27438 with __clog10.
27439
077ee129
RS
274402017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27441
27442 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27443 * benchtests/sincosf-inputs: New file.
27444 * benchtests/cosf-inputs: New file.
27445 * benchtests/sinf-inputs: New file.
27446
5ba41de9
SN
274472017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27448
27449 * posix/tst-spawn.c (do_test): Wait for both children.
27450
d165ca64
L
274512017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27452
27453 [BZ #22284]
27454 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27455 tests-pie): Add tst-gmon-pie.
27456 (CFLAGS-tst-gmon-pie.c): New.
27457 (CRT-tst-gmon-pie): Likewise.
27458 (tst-gmon-pie-ENV): Likewise.
27459 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27460 ($(objpfx)tst-gmon-pie.out): Likewise.
27461 (clean-tst-gmon-pie-data): Likewise.
27462 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27463 * gmon/gmon.c [PIC]: Include <link.h>.
27464 [PIC] (callback): New function.
27465 (write_hist): Add an argument for load address. Subtract load
27466 address from PCs.
27467 (write_call_graph): Likewise.
27468 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27469 it to write_hist and write_call_graph.
7bacdcfc 27470 * gmon/tst-gmon-pie.c: New file.
d165ca64 27471
bc9620d0
JM
274722017-10-11 Joseph Myers <joseph@codesourcery.com>
27473
27474 * math/Makefile (test-types-basic): New variable.
27475 (test-types): Likewise.
27476 (libm-test-support): Use $(test-types) instead of $(types).
27477 (libm-tests-base-normal): Likewise.
27478 (libm-tests-base-finite): Likewise.
27479 (libm-tests-base-inline): Likewise.
27480 (generated): Likewise.
27481 ($(objpfx)libm-test-support-$(t).c): Likewise.
27482 (libm-tests-for-type iterator): Likewise.
27483 (libm-test-support iterator): Likewise.
27484 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27485 (ulp_idx): Use ULP_IDX.
27486 * math/test-ldouble.h: Include <float.h>.
27487 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27488 (ULP_IDX): New macro.
27489 (ULP_I_IDX): Likewise.
27490 * math/test-double.h (ULP_IDX): Likewise.
27491 (ULP_I_IDX): Likewise.
27492 * math/test-float.h (ULP_IDX): Likewise.
27493 (ULP_I_IDX): Likewise.
27494 * math/test-float128.h (ULP_IDX): Likewise.
27495 (ULP_I_IDX): Likewise.
27496
09c76a74
AZ
274972017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27498
27499 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27500 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27501 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27502 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27503 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27504 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27505 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27506 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27508 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27509 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27510 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27511 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27512 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27513 (SINGLE_THREAD_BY_GLOBAL): Define.
27514 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27515 Likewise.
27516 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27517 Likewise.
27518 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27519 Likewise.
27520 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27521 Likewise.
27522 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27523 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27525 Likewise.
27526
2faa42da
AS
275272017-10-11 Andreas Schwab <schwab@suse.de>
27528
27529 * nis/Makefile (aux): Remove.
27530 * nscd/Makefile (aux): Add nscd_hash.
27531 (nscd-modules): Likewise.
27532 ($(objpfx)nscd): Don't depend on libnsl.
27533 * nscd/nscd_hash.c: New file.
27534 * nscd/nscd_hash.h: Likewise.
27535 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27536 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27537 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27538 instead of <nis/rpcsvc/nis.h>.
27539 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27540
d8425e11
FW
275412017-10-11 Florian Weimer <fweimer@redhat.com>
27542
27543 [BZ #22078]
27544 Avoid large NSS buffers with many addresses, aliases.
27545 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27546 using dynarrays and struct alloc_buffer.
27547 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27548 (tst-nss-files-hosts-multi): Link with -ldl.
27549 * nss/tst-nss-files-hosts-multi.c: New file.
27550
78e806fd
FW
275512017-10-11 Florian Weimer <fweimer@redhat.com>
27552
27553 [BZ #18023]
27554 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27555 scratch_buffer. Eliminate gotos.
27556
541f19ba
JM
275572017-10-11 Joseph Myers <joseph@codesourcery.com>
27558
0ff64d3a
JM
27559 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27560 libm_alias_ldouble_other.
27561 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27562 undefine and redefine.
27563 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27564 (exp10l): Do not define here.
27565 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27566 (weak_alias): Undefine and redefine.
27567 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27568 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27569 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27570 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27571
541f19ba
JM
27572 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27573 [!__fma] (fma): Define using libm_alias_double.
27574 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27575 [!__fmaf] (fmaf): Define using libm_alias_float.
27576 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27577 (fmal): Define using libm_alias_ldouble.
27578
24b6515d
JM
275792017-10-10 Joseph Myers <joseph@codesourcery.com>
27580
27581 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27582 New macro.
27583 (libm_alias_double_other): Likewise.
27584 (libm_alias_double_r): Use libm_alias_double_other_r.
27585 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27586 New macro.
27587 (libm_alias_float_other): Likewise.
27588 (libm_alias_float_r): Use libm_alias_float_other_r.
27589 * sysdeps/generic/libm-alias-float128.h
27590 (libm_alias_float128_other_r): New macro.
27591 (libm_alias_float128_other): Likewise.
27592 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27593 * sysdeps/generic/libm-alias-ldouble.h
27594 (libm_alias_ldouble_other_r): New macro.
27595 (libm_alias_ldouble_other): Likewise.
27596 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27597 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27598 (libm_alias_double_other_r): New macro.
27599 (libm_alias_double_other): Likewise.
27600 (libm_alias_double_r): Use libm_alias_double_other_r.
27601 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27602 (libm_alias_ldouble_other_r): New macro.
27603 (libm_alias_ldouble_other): Likewise.
27604 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27605 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27606 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27607 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27608 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27609 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27610 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27611 * math/w_exp2f.c: Use libm_alias_float_other.
27612 * math/w_expf.c: Likewise.
27613 * math/w_log2f.c: Likewise.
27614 * math/w_logf.c: Likewise.
27615 * math/w_powf.c: Likewise.
27616 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27617 [!__exp2f]: Use libm_alias_float_other.
27618 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27619 [!__expf]: Use libm_alias_float_other.
27620 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27621 [!__log2f]: Use libm_alias_float_other.
27622 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27623 [!__logf]: Use libm_alias_float_other.
27624 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27625 [!__powf]: Use libm_alias_float_other.
27626
8ed70de2
FW
276272017-10-10 Florian Weimer <fweimer@redhat.com>
27628
27629 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27630 function.
27631 (_nss_files_gethostbyname3_r): Call it.
27632
a8dce619
JM
276332017-10-09 Joseph Myers <joseph@codesourcery.com>
27634
27635 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27636 error. Remove default definition of declare_mgen_alias.
27637 [!declare_mgen_alias_r]: Likewise.
27638 * sysdeps/generic/math-type-macros-double.h
27639 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27640 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27641 (declare_mgen_alias_r): Likewise.
27642 * sysdeps/generic/math-type-macros-float128.h
27643 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27644 * sysdeps/generic/math-type-macros-ldouble.h
27645 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27646 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27647 macro.
27648 (declare_mgen_alias_r_s): Likewise.
27649 (declare_mgen_alias_r): Likewise.
27650 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27651 (lgamma_r): Define using libm_alias_double_r.
27652 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27653 (lgammaf_r): Define using libm_alias_float_r.
27654 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27655 (lgammal_r): Define using libm_alias_ldouble_r.
27656 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27657 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27658
bedac136
AZ
276592017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27660
27661 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27662 extern declaration.
27663
c7509db2
JM
276642017-10-09 Joseph Myers <joseph@codesourcery.com>
27665
27666 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27667
d6c064e9
JW
276682017-10-09 Jonathan Wakely <jwakely@redhat.com>
27669
27670 [BZ #21326]
27671 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27672 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27673 * math/Makefile (test-math-cxx11): New test.
27674 * math/test-math-cxx11.cc: New file.
27675
98e07420
CB
276762017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27677
27678 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27679
645ac9aa
CB
27680 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27681 call to allocate the slave pty file descriptor.
27682
fd3b4e7c
JM
276832017-10-06 Joseph Myers <joseph@codesourcery.com>
27684
f85a176f
JM
27685 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27686 [!__fma] (fma): Define using libm_alias_double.
27687 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27688 [!__fma] (fma): Define using libm_alias_double.
27689
fd3b4e7c
JM
27690 * sysdeps/ieee754/float128/float128_private.h: Include
27691 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27692 (libm_alias_ldouble_r): Undefine and redefine.
27693 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27694 <libm-alias-ldouble.h>.
27695 (asinhl): Define using libm_alias_ldouble.
27696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27697 <libm-alias-ldouble.h>.
27698 (atanl): Define using libm_alias_ldouble.
27699 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27700 <libm-alias-ldouble.h>.
27701 (cbrtl): Define using libm_alias_ldouble.
27702 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27703 <libm-alias-ldouble.h>.
27704 (ceill): Define using libm_alias_ldouble.
27705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27706 <libm-alias-ldouble.h>.
27707 (copysignl): Define using libm_alias_ldouble.
27708 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27709 <libm-alias-ldouble.h>.
27710 (cosl): Define using libm_alias_ldouble.
27711 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27712 <libm-alias-ldouble.h>.
27713 (erfl): Define using libm_alias_ldouble.
27714 (erfcl): Likewise.
27715 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27716 <libm-alias-ldouble.h>.
27717 (expm1l): Define using libm_alias_ldouble.
27718 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27719 <libm-alias-ldouble.h>.
27720 (fabsl): Define using libm_alias_ldouble.
27721 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27722 <libm-alias-ldouble.h>.
27723 (floorl): Define using libm_alias_ldouble.
27724 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27725 <libm-alias-ldouble.h>.
27726 (fmal): Define using libm_alias_ldouble.
27727 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27728 <libm-alias-ldouble.h>.
27729 (frexpl): Define using libm_alias_ldouble.
27730 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27731 libm_alias_ldouble.
27732 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27733 <libm-alias-ldouble.h>.
27734 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27735 libm_alias_ldouble.
27736 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27737 <libm-alias-ldouble.h>.
27738 (getpayloadl): Define using libm_alias_ldouble.
27739 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27740 <libm-alias-ldouble.h>.
27741 (llrintl): Define using libm_alias_ldouble.
27742 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27743 <libm-alias-ldouble.h>.
27744 (llroundl): Define using libm_alias_ldouble.
27745 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27746 <libm-alias-ldouble.h>.
27747 (logbl): Define using libm_alias_ldouble.
27748 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27749 <libm-alias-ldouble.h>.
27750 (lrintl): Define using libm_alias_ldouble.
27751 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27752 <libm-alias-ldouble.h>.
27753 (lroundl): Define using libm_alias_ldouble.
27754 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27755 <libm-alias-ldouble.h>.
27756 (modfl): Define using libm_alias_ldouble.
27757 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27758 <libm-alias-ldouble.h>.
27759 (nearbyintl): Define using libm_alias_ldouble.
27760 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27761 <libm-alias-ldouble.h>.
27762 (nextafterl): Define using libm_alias_ldouble.
27763 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27764 <libm-alias-ldouble.h>.
27765 (nextupl): Define using libm_alias_ldouble.
27766 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27767 <libm-alias-ldouble.h>.
27768 (remquol): Define using libm_alias_ldouble.
27769 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27770 <libm-alias-ldouble.h>.
27771 (rintl): Define using libm_alias_ldouble.
27772 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27773 <libm-alias-ldouble.h>.
27774 (roundevenl): Define using libm_alias_ldouble.
27775 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27776 <libm-alias-ldouble.h>.
27777 (roundl): Define using libm_alias_ldouble.
27778 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27779 using libm_alias_ldouble.
27780 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27781 <libm-alias-ldouble.h>.
27782 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27783 Define using libm_alias_ldouble.
27784 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27785 <libm-alias-ldouble.h>.
27786 (sincosl): Define using libm_alias_ldouble.
27787 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27788 <libm-alias-ldouble.h>.
27789 (sinl): Define using libm_alias_ldouble.
27790 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27791 <libm-alias-ldouble.h>.
27792 (tanhl): Define using libm_alias_ldouble.
27793 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27794 <libm-alias-ldouble.h>.
27795 (tanl): Define using libm_alias_ldouble.
27796 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27797 <libm-alias-ldouble.h>.
27798 (totalorderl): Define using libm_alias_ldouble.
27799 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27800 <libm-alias-ldouble.h>.
27801 (totalordermagl): Define using libm_alias_ldouble.
27802 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27803 <libm-alias-ldouble.h>.
27804 (truncl): Define using libm_alias_ldouble.
27805 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27806 libm_alias_ldouble.
27807 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27808 libm_alias_ldouble.
27809 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27810 <libm-alias-ldouble.h>.
27811 (weak_alias): Do not undefine and redefine.
27812 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27813 (copysignl): Define with long_double_symbol only if [IS_IN
27814 (libc)].
27815 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27816 <libm-alias-ldouble.h>.
27817 (weak_alias): Do not undefine and redefine.
27818 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27819 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27820 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27821 <libm-alias-ldouble.h>.
27822 (weak_alias): Do not undefine and redefine.
27823 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27824 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27825 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27826 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27827 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27829 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27830 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27832 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27835 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27837 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27842 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27844 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27845 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27846 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27847 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27848 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27849
1e26d351
CD
278502017-10-06 Carlos O'Donell <carlos@redhat.com>
27851
27852 [BZ #22111]
27853 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27854 (tcache_thread_freeres): Set tcache_shutting_down before
27855 freeing the tcache.
27856 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27857 * malloc/tst-malloc-tcache-leak.c: New file.
27858
d1386762
RS
278592017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27860
27861 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27862 back to powerpc32 file.
27863 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27864 (memrchr): Add __memrchr_power8 to ifunc list.
27865 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27866 extra bytes for unaligned inputs.
27867
6dff1983
JM
278682017-10-06 Joseph Myers <joseph@codesourcery.com>
27869
27870 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27871 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27872 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27873 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27874 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27875
86f9568a
JM
278762017-10-05 Joseph Myers <joseph@codesourcery.com>
27877
0db0b931
JM
27878 * sysdeps/arm/libm-test-ulps: Update.
27879
86f9568a
JM
27880 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27881 <libm-alias-ldouble.h>.
27882 (asinhl): Define using libm_alias_ldouble.
27883 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27884 <libm-alias-ldouble.h>.
27885 (cbrtl): Define using libm_alias_ldouble.
27886 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27887 <libm-alias-ldouble.h>.
27888 (copysignl): Define using libm_alias_ldouble.
27889 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27890 <libm-alias-ldouble.h>.
27891 (cosl): Define using libm_alias_ldouble.
27892 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27893 <libm-alias-ldouble.h>.
27894 (erfl): Define using libm_alias_ldouble.
27895 (erfcl): Likewise.
27896 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27897 <libm-alias-ldouble.h>.
27898 (fmal): Define using libm_alias_ldouble.
27899 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27900 <libm-alias-ldouble.h>.
27901 (frexpl): Define using libm_alias_ldouble.
27902 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27903 libm_alias_ldouble.
27904 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27905 <libm-alias-ldouble.h>.
27906 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27907 libm_alias_ldouble.
27908 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27909 <libm-alias-ldouble.h>.
27910 (getpayloadl): Define using libm_alias_ldouble.
27911 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27912 <libm-alias-ldouble.h>.
27913 (llrintl): Define using libm_alias_ldouble.
27914 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27915 <libm-alias-ldouble.h>.
27916 (llroundl): Define using libm_alias_ldouble.
27917 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27918 <libm-alias-ldouble.h>.
27919 (lrintl): Define using libm_alias_ldouble.
27920 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27921 <libm-alias-ldouble.h>.
27922 (lroundl): Define using libm_alias_ldouble.
27923 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27924 <libm-alias-ldouble.h>.
27925 (modfl): Define using libm_alias_ldouble.
27926 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27927 <libm-alias-ldouble.h>.
27928 (nextupl): Define using libm_alias_ldouble.
27929 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27930 <libm-alias-ldouble.h>.
27931 (remquol): Define using libm_alias_ldouble.
27932 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27933 <libm-alias-ldouble.h>.
27934 (roundevenl): Define using libm_alias_ldouble.
27935 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27936 <libm-alias-ldouble.h>.
27937 (roundl): Define using libm_alias_ldouble.
27938 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27939 using libm_alias_ldouble.
27940 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27941 <libm-alias-ldouble.h>.
27942 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27943 <libm-alias-ldouble.h>.
27944 (setpayloadsigl): Define using libm_alias_ldouble.
27945 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27946 <libm-alias-ldouble.h>.
27947 (sincosl): Define using libm_alias_ldouble.
27948 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27949 <libm-alias-ldouble.h>.
27950 (sinl): Define using libm_alias_ldouble.
27951 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27952 <libm-alias-ldouble.h>.
27953 (tanhl): Define using libm_alias_ldouble.
27954 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27955 <libm-alias-ldouble.h>.
27956 (tanl): Define using libm_alias_ldouble.
27957 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27958 <libm-alias-ldouble.h>.
27959 (totalorderl): Define using libm_alias_ldouble.
27960 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27961 <libm-alias-ldouble.h>.
27962 (totalordermagl): Define using libm_alias_ldouble.
27963 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27964 libm_alias_ldouble.
27965 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27966 libm_alias_ldouble.
27967
9ec87fd2
SP
279682017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27969
dd5bc7f1
SP
27970 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27971 memmove_falkor.
27972 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27973 (__libc_ifunc_impl_list): Likewise.
27974 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27975 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27976
5bfb0404
SP
27977 * benchtests/bench-memmove-walk.c: New file.
27978 * benchtests/Makefile (string-benchset): Add it.
27979
36bb8edf
SP
27980 * benchtests/bench-memset-walk.c: New file.
27981 * benchtests/Makefile (string-benchset): Add it.
27982
9ec87fd2
SP
27983 * benchtests/bench-memcpy-walk.c: New file.
27984 * benchtests/Makefile (string-benchset): Add it.
27985
1e9522c6
FW
279862017-10-05 Florian Weimer <fweimer@redhat.com>
27987
27988 nscd: Eliminate compilation time dependency in the build output.
27989 * nscd/nscd_stat.c (STATDATA_VERSION)
27990 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27991 (STATDATA_VERSION_FULL): New macro definitions.
27992 (compilation): Remove.
27993 (struct statdata): Adjust version member.
27994 (send_stats): Set version from STATDATA_VERSION_FULL.
27995 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27996
644d3857
JM
279972017-10-05 Joseph Myers <joseph@codesourcery.com>
27998
27999 * configure.ac (--enable-add-ons): Remove option.
28000 (machine): Do not mention add-ons in comment.
28001 (LIBC_PRECONFIGURE): Likewise.
28002 (add_ons): Remove variable and sanity checks and logic to locate
28003 add-ons.
28004 (add_ons_automatic): Remove variable.
28005 (configured_add_ons): Likewise.
28006 (add_ons_sfx): Likewise.
28007 (add_ons_pfx): Likewise.
28008 (add_on_subdirs): Likewise.
28009 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28010 consideration of add-ons in Implies handling.
28011 (sysdeps_add_ons): Likewise.
28012 * configure: Regenerated.
28013 * libidn/configure.ac: Remove.
28014 * libidn/configure: Likewise.
28015 * sysdeps/unix/inet/configure.ac: New file.
28016 * sysdeps/unix/inet/configure: New generated file.
28017 * sysdeps/unix/inet/Subdirs: Add libidn.
28018 * Makeconfig (sysdeps-srcdirs): Remove variable.
28019 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28020 ($(common-objpfx)config.status): Do not depend on add-on files.
28021 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28022 comment.
28023 (all-subdirs): Do not include $(add-on-subdirs).
28024 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28025 * config.make.in (add-ons): Remove variable.
28026 (add-on-subdirs): Likewise.
28027 (sysdeps-add-ons): Likewise.
28028 * manual/Makefile (add-chapters): Remove.
28029 ($(objpfx)texis): Do not depend on $(add-chapters).
28030 (nonexamples): Do not handle $(add-chapters).
28031 (examples): Do not handle $(add-ons).
28032 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28033 libc-texinfo.sh.
28034 * manual/install.texi (Installation): Do not mention add-ons.
28035 (--enable-add-ons): Do not document configure option.
28036 * INSTALL: Regenerated.
28037 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28038 * manual/maint.texi (Hierarchy Conventions): Do not mention
28039 add-ons.
28040 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28041 --enable-add-ons.
28042 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28043 add-ons.
28044 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28045 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28046
19f82f35
AS
280472017-10-05 Andreas Schwab <schwab@suse.de>
28048
28049 [BZ #15142]
28050 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28051 (_IO_flush_all_lockp): Always lock list_all_lock.
28052 (_IO_flush_all_linebuffered): Likewise.
28053 (_IO_unbuffer_all): Likewise.
28054
91e7cf98
FW
280552017-10-05 Florian Weimer <fweimer@redhat.com>
28056
28057 [BZ #15436]
28058 Do not flush stdio streams on abort.
28059 * stdlib/abort.c (fflush): Remove macro definition.
28060 (abort): Remove stages related to stdio flushing.
28061
0c251257
FW
280622017-10-05 Florian Weimer <fweimer@redhat.com>
28063
28064 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28065
7ea59e3e
SL
280662017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28067
28068 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28069
84d0e6f0
FW
280702017-10-05 Florian Weimer <fweimer@redhat.com>
28071
28072 * support/support_format_hostent.c (support_format_hostent): Add
28073 more error information for NETDB_INTERNAL.
28074
ee417882
L
280752017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28076
28077 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28078 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28079 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28080 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28081 AC_DEFINE if multi-arch is enabled.
28082 * sysdeps/i386/configure: Regenerated.
28083
a67029ff
L
280842017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28085
28086 * Makeconfig (+link-static-before-libc): Use
28087 $(DEFAULT-LDFLAGS-$(@F)).
28088 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28089 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28090 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28091
5dba84b3
L
280922017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28093
28094 * elf/Makefile (tests): Add tst-main1.
28095 (modules-names): Add tst-main1mod.
28096 ($(objpfx)tst-main1): New.
28097 (CRT-tst-main1): Likewise.
28098 (LDFLAGS-tst-main1): Likewise.
28099 (LDLIBS-tst-main1): Likewise.
28100 (tst-main1mod.so-no-z-defs): Likewise.
28101 * elf/tst-main1.c: New file.
28102 * elf/tst-main1mod.c: Likewise.
28103
758f1bfa
L
281042017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28105
28106 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28107
7e16a5d1
JM
281082017-10-04 Joseph Myers <joseph@codesourcery.com>
28109
28110 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28111 (fma): Define using libm_alias_double.
28112 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28113 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28114 <math_ldbl_opt.h>.
28115 (fmal): Do not define as compat symbol here.
28116 * sysdeps/alpha/fpu/s_fma.c: New file.
28117
db4f87ba
SN
281182017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28119
28120 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28121
72d13ed1
JM
281222017-10-04 Joseph Myers <joseph@codesourcery.com>
28123
32d372d5
JM
28124 [BZ #22229]
28125 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28126 <math_ldbl_opt.h>
28127 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28128 and libc.
28129 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28130 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28131 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28132 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28134 Include <math_ldbl_opt.h>
28135 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28136 and libc.
28137 (compat_symbol): Undefine and redefine.
28138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28139 <math_ldbl_opt.h>
28140 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28141 (compat_symbol): Undefine and redefine.
28142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28143 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28144 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28145 GLIBC_2_1 for libm.
28146 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28147 GLIBC_2.0 copysignl symbol.
28148 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28149 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28150
72d13ed1
JM
28151 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28152
11c4f501
FW
281532017-10-04 Florian Weimer <fweimer@redhat.com>
28154
28155 * scripts/check-local-headers.sh: Ignore nspr4 header file
28156 directory in addition to nspr.
28157
57b4af19
GT
281582017-10-04 Guido Trentalancia <guido@trentalancia.net>
28159
28160 [BZ #17956]
28161 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28162 * configure: Regenerate.
28163 * crypt/Makefile (nss-cpp-flags): New variable.
28164 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28165 (CPPFLAGS-md5-crypt.c): Use it.
28166 * scripts/check-local-headers.sh: Ignore nspr header file
28167 directory.
28168
64d1e08e
AS
281692017-10-04 Andreas Schwab <schwab@suse.de>
28170
28171 * nis/Makefile (services): Remove compat.
28172 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28173 ($(objpfx)libnss_compat.so): Remove rule.
28174 * nis/Versions (libnss_compat): Remove.
28175 * nss/Makefile (services): Add compat.
28176 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28177 * nss/Versions (libnss_compat): Define.
28178 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28179 Don't include <rpc/types.h>. Replace bool_t by bool.
28180 * nss/nss_compat/compat-initgroups.c: Likewise.
28181 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28182 instead of <rpcsrv/ypclnt.h>.
28183 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28184 yp_get_default_domain.
28185 * nss/nss_compat/compat-pwd.c: Likewise.
28186 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28187 yp_get_default_domain.
28188 * nss/nss_compat/nisdomain.c: New file.
28189 * nss/nss_compat/nisdomain.h: Likewise.
28190
86c27ade
SN
281912017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28192
28193 [BZ #22244]
28194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28195 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28196
8f8f8ef7
SN
281972017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28198
28199 [BZ #22243]
28200 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28201 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28202
95577475
L
282032017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28204
28205 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28206 "movl main@GOTOFF(%ebx), %eax".
28207
02d2d892
L
282082017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28209
28210 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28211 allow undefined _DYNAMIC in PIE libc.a.
28212 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28213 Likewse.
28214
0c609d19
L
282152017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28216
28217 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28218 check _DYNAMIC.
28219
c34a19ed
L
282202017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28221
28222 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28223 check _DYNAMIC.
28224
cdd4155d
L
282252017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28226
28227 * math/test-math-iscanonical.cc (error): Replace bool with int.
28228
4699cb8b
JM
282292017-10-03 Joseph Myers <joseph@codesourcery.com>
28230
d8f619b3
JM
28231 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28232 (modf): Define using libm_alias_double, only if [!__modf].
28233 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28234 <libm-alias-double.h>.
28235 (modf): Define using libm_alias_double, only if [!__modf].
28236 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28237 compat symbol here.
28238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28239 (weak_alias): Do not undefine and redefine.
28240 (strong_alias): Likewise.
28241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28242 (weak_alias): Likewise.
28243 (strong_alias): Likewise.
28244
4699cb8b
JM
28245 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28246 (logb): Define using libm_alias_double, only if [!__logb].
28247 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28248 <libm-alias-double.h>.
28249 (logb): Define using libm_alias_double, only if [!__logb].
28250 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28251 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28252 (weak_alias): Do not undefine and redefine.
28253 (strong_alias): Likewise.
28254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28255 (weak_alias): Likewise.
28256 (strong_alias): Likewise.
28257
bcc4e4bb
L
282582017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28259
28260 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28261 Check SHARED instead PIC.
28262
39793865
JM
282632017-10-03 Joseph Myers <joseph@codesourcery.com>
28264
7f1cbdf8
JM
28265 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28266 [!__fmaf] (fmaf): Define using libm_alias_float.
28267
39793865
JM
28268 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28269 (frexp): Define using libm_alias_double.
28270 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28271 <libm-alias-double.h>.
28272 (frexp): Define using libm_alias_double.
28273 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28274 compat symbol here.
28275
aa0235df
GG
282762017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28277
28278 [BZ #22235]
28279 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28280 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28281 (CFLAGS-test-math-iscanonical.cc): New variable.
28282 * math/test-math-iscanonical.cc: New file.
28283 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28284 Provide a C++ implementation based on function overloading,
28285 rather than using __MATH_TG, which uses C-only builtins.
28286 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28287 Likewise.
28288 * sysdeps/powerpc/powerpc64le/Makefile
28289 (CFLAGS-test-math-iscanonical.cc): New variable.
28290
a1132b5e
JM
282912017-10-03 Joseph Myers <joseph@codesourcery.com>
28292
28293 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28294 (ceil): Define using libm_alias_double.
28295 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28296 (floor): Define using libm_alias_double.
28297 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28298 <libm-alias-double.h>.
28299 (llround): Define using libm_alias_double.
28300 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28301 <libm-alias-double.h>.
28302 (lround): Define using libm_alias_double.
28303 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28304 <libm-alias-double.h>.
28305 (nearbyint): Define using libm_alias_double.
28306 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28307 <libm-alias-double.h>.
28308 (remquo): Define using libm_alias_double.
28309 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28310 (rint): Define using libm_alias_double.
28311 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28312 (round): Define using libm_alias_double.
28313 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28314 (trunc): Define using libm_alias_double.
28315 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28316 <libm-alias-double.h>.
28317 (ceil): Define using libm_alias_double.
28318 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28319 <libm-alias-double.h>.
28320 (floor): Define using libm_alias_double.
28321 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28322 <libm-alias-double.h>.
28323 (llround): Define using libm_alias_double.
28324 [_LP64] (lround): Likewise.
28325 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28326 <libm-alias-double.h>.
28327 [!_LP64] (lround): Define using libm_alias_double.
28328 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28329 <libm-alias-double.h>.
28330 (nearbyint): Define using libm_alias_double.
28331 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28332 <libm-alias-double.h>.
28333 (remquo): Define using libm_alias_double.
28334 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28335 <libm-alias-double.h>.
28336 (rint): Define using libm_alias_double.
28337 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28338 <libm-alias-double.h>.
28339 (round): Define using libm_alias_double.
28340 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28341 <libm-alias-double.h>.
28342 (trunc): Define using libm_alias_double.
28343 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28344 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28345 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28346 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28347 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28348 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28349 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28350 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28351 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28352
f275f64e
SN
283532017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28354
28355 * math/w_remainder.c: New file.
28356 * math/w_remainderf.c: New file.
28357 * math/w_remainderl.c: New file.
28358
b8818ab5
L
283592017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28360
28361 * elf/rtld.c (BOOTSTRAP_MAP): New.
28362 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28363 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28364 Likewise.
28365 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28366 Likewise.
28367 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28368 Likewise.
28369
3d1870fa
ST
283702017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28371
28372 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28373 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28374 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28375 rtld_hidden_data_ver): Define to empty.
28376 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28377 __assert_perror_fail): Likewise.
28378 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28379 (__rewinddir): Likewise.
28380 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28381 (__profile_frequency): Likewise.
28382 * include/setjmp.h (__sigsetjmp): Likewise.
28383 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28384 __libc_sigaction): Likewise.
28385 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28386 not set hidden attribute.
28387 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28388 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28389 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28390 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28391 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28392 __fxstatat64): Likewise.
28393 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28394 (__uname): Likewise.
28395 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28396 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28397 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28398 (NO_RTLD_HIDDEN): Set.
28399 * sysdeps/mach/hurd/configure: Refresh.
28400 * config.h.in: Refresh.
28401
527cd19c
JM
284022017-10-02 Joseph Myers <joseph@codesourcery.com>
28403
38722448
JM
28404 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28405 (atan): Define using libm_alias_double.
28406 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28407 (tan): Define using libm_alias_double.
28408 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28409 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28410
527cd19c
JM
28411 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28412 define as weak alias of __atan. Do not define any aliases if
28413 [__atan].
28414 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28415 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28416 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28417 as weak alias of __tan. Do not define any aliases if [__tan].
28418 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28419 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28420 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28421 __atan.
28422 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28423 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28424 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28425 and define as weak alias of __atan.
28426 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28427 __atan.
28428 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28429 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28430 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28431 define as weak alias of __tan.
28432
bdc5c592
SN
284332017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28434
28435 * math/w_lgamma.c: New file.
28436 * math/w_lgammaf.c: New file.
28437 * math/w_lgammal.c: New file.
28438
bd4430c2
SN
284392017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28440
28441 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28442 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28443 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28444 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28445 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28446 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28447 * sysdeps/i386/fpu/w_log2f.c: New file.
28448 * sysdeps/i386/fpu/w_logf.c: New file.
28449 * sysdeps/i386/fpu/w_powf.c: New file.
28450 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28451 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28452 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28453
f7a0b063
SN
284542017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28455 H.J. Lu <hongjiu.lu@intel.com>
28456
28457 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28458 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28459 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28460 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28461 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28462 the new expf code.
28463 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28464 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28465 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28466 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28467 * sysdeps/i386/fpu/w_exp2f.c: New file.
28468 * sysdeps/i386/fpu/w_expf.c: New file.
28469 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28470 * sysdeps/x86_64/fpu/w_expf.c: New file.
28471
72d3d281
SN
284722017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28473
28474 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28475 (log2f): Likewise.
28476 (powf): Likewise.
28477 * math/w_log2f.c: New file.
28478 * math/w_logf.c: New file.
28479 * math/w_powf.c: New file.
28480 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28481 * math/w_logf_compat.c (__logf_compat): Likewise.
28482 * math/w_powf_compat.c (__powf_compat): Likewise.
28483 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28484 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28485 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28486 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28487 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28488 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28489 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28490 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28491 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28492 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28493 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28494 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28495 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28496 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28497 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28499 Likewise.
28500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28501 Likewise.
28502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28503 Likewise.
28504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28505 Likewise.
28506 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28507 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28508 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28509 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28510 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28511 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28512 Likewise.
28513 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28514 Likewise.
28515 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28516 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28517 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28518
59ba2d2b
RS
285192017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28520
28521 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28522 (sysdep_routines): Add memrchr_power8.
28523 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28524 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28525 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28526 New file.
28527 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28528 (memrchr): Add __memrchr_power8 to ifunc list.
28529 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28530
397286ea
L
285312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28532
28533 [BZ #18822]
28534 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28535 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28536 libc_hidden_def.
28537 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28538 (__posix_fallocate64_l64): Likewise.
28539
d0a4512b
L
285402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 [BZ #18822]
28543 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28544 (__sched_setaffinity_new): Add libc_hidden_proto and
28545 libc_hidden_def.
28546
c0769f70
L
285472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28548
28549 [BZ #18822]
28550 * include/glob.h (__glob64): Add libc_hidden_proto.
28551 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28552 libc_hidden_def.
28553
0e7d5b6e
L
285542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 [BZ #18822]
28557 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28558 attribute_hidden.
28559
bde06c87
L
285602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28561
28562 [BZ #18822]
28563 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28564
fa426590
L
285652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28566
28567 [BZ #18822]
28568 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28569 libc_hidden_def.
28570
2f8a05d8
L
285712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28572
28573 [BZ #18822]
28574 * csu/version.c (__libc_print_version): Add attribute_hidden.
28575
7bfd08ac
L
285762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28577
28578 [BZ #18822]
28579 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28580
0e1fd06c
L
285812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28582
28583 [BZ #18822]
28584 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28585
36e7ae1e
L
285862017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28587
28588 [BZ #18822]
28589 * nscd/nscd_helper.c (__nis_hash): New prototype.
28590
87078544
L
285912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28592
28593 [BZ #18822]
28594 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28595 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28596 libc_hidden_def.
28597 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28598 * termios/tcgetattr.c (__tcgetattr): Likewise.
28599
dd3121df
L
286002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28601
28602 [BZ #18822]
28603 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28604 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28605 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28606 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28607 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28608
047d1a81
L
286092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28610
28611 [BZ #18822]
28612 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28613
fd331b11
L
286142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28615
28616 [BZ #18822]
28617 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28618 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28619
57f859bd
L
286202017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28621
28622 [BZ #18822]
28623 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28624
d1903329
L
286252017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28626
28627 [BZ #18822]
28628 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28629 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28630
b4744101
L
286312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28632
28633 [BZ #18822]
28634 * include/ifreq.h: New file.
28635 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28636 (__ifreq): Likewise.
28637 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28638 (__ifreq): Likewise.
28639
43b7dfd1
L
286402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28641
28642 [BZ #18822]
28643 * include/idna.h: New file.
28644 * inet/getnameinfo.c: Include <idna.h> instead of
28645 <libidn/idna.h>.
28646 (__idna_to_unicode_lzlz): Removed.
28647 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28648 <libidn/idna.h>.
28649 (__idna_to_ascii_lz): Removed.
28650 (__idna_to_unicode_lzlz): Likewise.
28651
2c0cd8f8
L
286522017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28653
28654 [BZ #18822]
28655 * include/plural-exp.h: New file.
28656 * intl/plural-exp.c: Include <plural-exp.h> instead of
28657 "plural-exp.h".
28658
8369d216
L
286592017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28660
28661 [BZ #18822]
28662 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28663 "getsourcefilter.h".
28664 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28665 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28666 "getsourcefilter.h".
28667 (__get_sol): Removed.
28668
a0aef783
L
286692017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28670
28671 [BZ #18822]
28672 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28673 to ...
28674 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28675
3ee8209b
L
286762017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28677
28678 [BZ #18822]
28679 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28680 attribute_hidden.
28681
6036fc38
L
286822017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28683
28684 [BZ #18822]
28685 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28686
fe84fed0
L
286872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28688
28689 [BZ #18822]
28690 * include/search.h (__tdestroy): Add libc_hidden_proto.
28691 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28692
048dd681
L
286932017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28694
28695 [BZ #18822]
28696 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28697
6e342af6
L
286982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28699
28700 [BZ #18822]
28701 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28702 attribute_hidden.
28703
6a088436
L
287042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28705
28706 [BZ #18822]
28707 * include/signal.h (__kill): Add libc_hidden_proto.
28708 (__sigblock): Likewise.
28709 (__sigprocmask): Likewise.
28710 (__sigaltstack): Likewise.
28711 * signal/kill.c (__kill): Add libc_hidden_def.
28712 * signal/sigblock.c (__sigblock): Likewise.
28713 * signal/sigprocmask.c (__sigprocmask): Likewise.
28714 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28715 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28716 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28717 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28718 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28719 Likewise.
28720 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28721 Likewise.
28722 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28723 (__sigprocmask): Likewise.
28724 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28725 Likewise.
28726 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28727 (__sigprocmask): Likewise.
28728 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28729 Likewise.
28730
78cf1d74
L
287312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28732
28733 [BZ #18822]
28734 * include/string.h (__strsep): Add libc_hidden_proto.
28735 * string/strsep.c (__strsep): Add libc_hidden_def.
28736
85b35894
L
287372017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28738
28739 [BZ #18822]
28740 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28741 attribute_hidden.
28742 (__spawni): Likewise.
28743
225f7eec
L
287442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28745
28746 [BZ #18822]
28747 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28748 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28749 libc_hidden_def.
28750
372fe247
L
287512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28752
28753 [BZ #18822]
28754 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28755
9e5ee8b8
L
287562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28757
28758 [BZ #18822]
28759 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28760 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28761 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28762 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28763 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28764 Likewise.
28765 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28766 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28767
2ff16592
L
287682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 [BZ #18822]
28771 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28772 (__dcigettext): Likewise.
28773
b5648377
L
287742017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28775
28776 [BZ #18822]
28777 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28778 libc_hidden_proto.
28779 (__get_nprocs): Likewise.
28780 (__get_phys_pages): Likewise.
28781 (__get_avphys_pages): Likewise.
28782 (__get_child_max): Add attribute_hidden.
28783 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28784 (__get_nprocs): Likewise.
28785 (__get_phys_pages): Likewise.
28786 (__get_avphys_pages): Likewise.
28787 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28788 libc_hidden_def.
28789 (__get_nprocs): Likewise.
28790 (__get_phys_pages): Likewise.
28791 (__get_avphys_pages): Likewise.
28792 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28793 libc_hidden_def.
28794 (__get_nprocs_conf): Likewise.
28795 (__get_phys_pages): Likewise.
28796 (__get_avphys_pages): Likewise.
28797
0389a6aa
L
287982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28799
28800 [BZ #18822]
28801 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28802 attribute_hidden.
28803 (__netlink_close): Likewise.
28804 (__netlink_free_handle): Likewise.
28805 (__netlink_request): Likewise.
28806
d48354d8
L
288072017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28808
28809 [BZ #18822]
28810 * include/rpc/rpc.h (__rpc_thread_variables): Add
28811 attribute_hidden.
28812 (__rpc_thread_svc_cleanup): Likewise.
28813 (__rpc_thread_clnt_cleanup): Likewise.
28814 (__rpc_thread_key_cleanup): Likewise.
28815
d6daff12
L
288162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28817
28818 [BZ #18822]
28819 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28820 (__writev): Likewise.
28821 * misc/readv.c (__readv): Add libc_hidden_def.
28822 * misc/writev.c (__writev): Likewise.
28823 * sysdeps/posix/readv.c (__readv): Likewise.
28824 * sysdeps/posix/writev.c (__writev): Likewise.
28825 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28826 (__readv): Likewise.
28827 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28828 (__writev): Likewise.
28829
b68f8620
L
288302017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28831
28832 [BZ #18822]
28833 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28834 (__regcomp): Add libc_hidden_proto.
28835 (__regexec): Likewise.
28836 (__regfree): Likewise.
28837 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28838 (__regfree): Likewise.
28839 * posix/regexec.c (__regexec): Likewise.
28840
59c04e67
L
288412017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28842
28843 [BZ #18822]
28844 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28845 (__getutent): Likewise.
28846 (__getutid): Likewise.
28847 (__getutline): Likewise.
28848 (__pututline): Likewise.
28849 (__getutent_r): Likewise.
28850 (__getutid_r): Likewise.
28851 (__getutline_r): Likewise.
28852 (__utmpname): Add attribute_hidden.
28853 (__setutent): Likewise.
28854 (__endutent): Likewise.
28855 * login/getutent.c (__getutent): Add libc_hidden_def.
28856 * login/getutent_r.c (__getutent_r): Likewise.
28857 (__pututline): Likewise.
28858 * login/getutid.c (__getutid): Likewise.
28859 * login/getutid_r.c (__getutid_r): Likewise.
28860 * login/getutline.c (__getutline): Likewise.
28861 * login/getutline_r.c (__getutline_r): Likewise.
28862 * login/updwtmp.c (__updwtmp): Likewise.
28863
4587a421
L
288642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28865
28866 [BZ #18822]
28867 * include/dirent.h (__opendir): Always add attribute_hidden.
28868 (__fdopendir): Likewise.
28869 (__closedir): Likewise.
28870 (__readdir): Likewise.
28871 (__readdir64): Add libc_hidden_proto.
28872 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28873 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28874 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28875 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28876 New alias.
28877
9635ce69
L
288782017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28879
28880 [BZ #18822]
28881 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28882 * include/netdb.h (__gethostbyaddr_r): Likewise.
28883 (__gethostbyname_r): Likewise.
28884 (__gethostbyname2_r): Likewise.
28885 (__getnetbyaddr_r): Likewise.
28886 (__getnetbyname_r): Likewise.
28887 (__getservbyname_r): Likewise.
28888 (__getservbyport_r): Likewise.
28889 (__getprotobyname_r): Likewise.
28890 (__getprotobynumber_r): Likewise.
28891 (__getnetgrent_r): Likewise.
28892 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28893 (__getrpcbynumber_r): Likewise.
28894 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28895
2e0a6909
L
288962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28897
28898 [BZ #18822]
28899 * include/stdio.h (__fcloseall): Add attribute_hidden.
28900 (__getline): Likewise.
28901 (__path_search): Likewise.
28902 (__gen_tempname): Likewise.
28903 (__libc_message): Likewise.
28904 (__flockfile): Likewise.
28905 (__funlockfile): Likewise.
28906 (__fxprintf): Likewise.
28907 (__fxprintf_nocancel): Likewise.
28908
94fd682c
L
289092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28910
28911 [BZ #18822]
28912 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28913 (__sgetsgent_r): Likewise.
28914
e1b33bba
L
289152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28916
28917 [BZ #18822]
28918 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28919 (__statfs64): Likewise.
28920 (__fstatfs64): Likewise.
28921 * include/sys/statvfs.h (__statvfs64): Likewise.
28922 (__fstatvfs64): Likewise.
28923 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28924 (__statfs_filesize_max): Likewise.
28925 (__statfs_symlinks): Likewise.
28926 (__statfs_chown_restricted): Likewise.
28927
b0f56784
L
289282017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28929
28930 [BZ #18822]
28931 * include/time.h (__tzstring): Add attribute_hidden.
28932 (__tzfile_read): Likewise.
28933 (__tzfile_compute): Likewise.
28934 (__tzfile_default): Likewise.
28935 (__tzset_parse_tz): Likewise.
28936 (__offtime): Likewise.
28937 (__asctime_r): Likewise.
28938 (__tzset): Likewise.
28939 (__tz_convert): Likewise.
28940 (__getdate_r): Likewise.
28941 (__getclktck): Likewise.
28942
a4338d99
L
289432017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 [BZ #18822]
28946 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28947 (__nscd_unmap): Likewise.
28948 (__nscd_cache_search): Likewise.
28949 (__nscd_get_nl_timestamp): Likewise.
28950 (__nscd_getpwnam_r): Likewise.
28951 (__nscd_getpwuid_r): Likewise.
28952 (__nscd_getgrnam_r): Likewise.
28953 (__nscd_getgrgid_r): Likewise.
28954 (__nscd_gethostbyname_r): Likewise.
28955 (__nscd_gethostbyname2_r): Likewise.
28956 (__nscd_gethostbyaddr_r): Likewise.
28957 (__nscd_getai): Likewise.
28958 (__nscd_getgrouplist): Likewise.
28959 (__nscd_getservbyname_r): Likewise.
28960 (__nscd_getservbyport_r): Likewise.
28961 (__nscd_innetgr): Likewise.
28962 (__nscd_setnetgrent): Likewise.
28963
a2ca1652
L
289642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 [BZ #18822]
28967 * include/gmp.h: Declare internal functions only if _ISOMAC is
28968 undefined.
28969 (__mpn_extract_double): Add attribute_hidden.
28970 (__mpn_extract_long_double): Likewise.
28971 (__mpn_extract_float128): Likewise.
28972 (__mpn_construct_float): Likewise.
28973 (__mpn_construct_double): Likewise.
28974 (__mpn_construct_long_double): Likewise.
28975 (__mpn_construct_float128): Likewise.
28976 (mpn_add_1): Likewise.
28977 (mpn_addmul_1): Likewise.
28978 (mpn_add_n): Likewise.
28979 (mpn_cmp): Likewise.
28980 (mpn_divrem): Likewise.
28981 (mpn_lshift): Likewise.
28982 (mpn_mul): Likewise.
28983 (mpn_mul_1): Likewise.
28984 (mpn_rshift): Likewise.
28985 (mpn_sub_1): Likewise.
28986 (mpn_submul_1): Likewise.
28987 (mpn_sub_n): Likewise.
28988
44af8a32
L
289892017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28990
28991 [BZ #18822]
28992 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28993 (__wcscat): Likewise.
28994 (__btowc): Likewise.
28995 (__wcrtomb): Likewise.
28996 (__mbsrtowcs): Likewise.
28997 (__wcsrtombs): Likewise.
28998 (__mbsnrtowcs): Likewise.
28999 (__wcsnrtombs): Likewise.
29000 (__wcsncpy): Likewise.
29001 (__wcpncpy): Likewise.
29002 (__wmemcpy): Likewise.
29003 (__wmempcpy): Likewise.
29004 (__wmemmove): Likewise.
29005 (__wcschrnul): Likewise.
29006 (__vfwscanf): Likewise.
29007 (__vswprintf): Likewise.
29008 (__fwprintf): Likewise.
29009 (__vfwprintf): Likewise.
29010
783cd767
L
290112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29012
29013 [BZ #18822]
29014 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29015 (__getgrgid_r): Likewise.
29016 (__getgrnam_r): Likewise.
29017 * include/pwd.h (__getpwuid_r): Likewise.
29018 (__getpwnam_r): Likewise.
29019 (__fgetpwent_r): Likewise.
29020 * include/shadow.h (__getspnam_r): Likewise.
29021 (__sgetspent_r): Likewise.
29022 (__fgetspent_r): Likewise.
29023
7ec4b39a
L
290242017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29025
29026 [BZ #18822]
29027 * include/unistd.h (__access): Add attribute_hidden.
29028 (__lseek64): Likewise.
29029 (__libc_pread64): Likewise.
29030 (__pipe2): Likewise.
29031 (__sleep): Likewise.
29032 (__chdir): Likewise.
29033 (__fchdir): Likewise.
29034 (__getcwd): Likewise.
29035 (__rmdir): Likewise.
29036 (__execvpe): Likewise.
29037 (__execve): Likewise.
29038 (__setsid): Likewise.
29039 (__getuid): Likewise.
29040 (__geteuid): Likewise.
29041 (__getgid): Likewise.
29042 (__getegid): Likewise.
29043 (__getgroups): Likewise.
29044 (__group_member): Likewise.
29045 (__ttyname_r): Likewise.
29046 (__isatty): Likewise.
29047 (__readlink): Likewise.
29048 (__unlink): Likewise.
29049 (__gethostname): Likewise.
29050 (__profil): Likewise.
29051 (__getdtablesize): Likewise.
29052 (__brk): Likewise.
29053 (__ftruncate): Likewise.
29054 (__ftruncate64): Likewise.
29055
8345a760
L
290562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29057
29058 [BZ #18822]
29059 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29060 * argp/argp-fs-xinl.c: Likewise.
29061 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29062 * argp/argp-parse.c: Include <argp.h>.
29063 * argp/argp-xinl.c: Likewise.
29064 * include/argp-fmtstream.h: New file.
29065 * include/argp.h (__argp_error): Add attribute_hidden.
29066 (__argp_failure): Likewise.
29067 (__argp_input): Likewise.
29068 (__argp_state_help): Likewise.
29069
c26dd7c6
L
290702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29071
29072 [BZ #18822]
29073 * include/wchar.h (____wcstof_l_internal): New prototype.
29074 (____wcstod_l_internal): Likewise.
29075 (____wcstold_l_internal): Likewise.
29076 (____wcstol_l_internal): Likewise.
29077 (____wcstoul_l_internal): Likewise.
29078 (____wcstoll_l_internal): Likewise.
29079 (____wcstoull_l_internal): Likewise.
29080 (____wcstof128_l_internal): Likewise.
29081 * sysdeps/ieee754/float128/wcstof128.c
29082 (____wcstof128_l_internal): Removed.
29083 * sysdeps/ieee754/float128/wcstof128_l.c
29084 (____wcstof128_l_internal): Likewise.
29085 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29086 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29087 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29088 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29089 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29090 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29091 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29092 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29093 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29094 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29095
3aff5644
L
290962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29097
29098 [BZ #18822]
29099 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29100 instead of <sys/statvfs.h>.
29101 (__internal_statvfs): Removed.
29102 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29103 instead of <sys/statvfs.h>.
29104 (__internal_statvfs64): Removed.
29105 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29106 "internal_statvfs.h" instead of <sys/statvfs.h>.
29107 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29108 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29109 instead of <sys/statvfs.h>.
29110 (__internal_statvfs): Removed.
29111 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29112 instead of <sys/statvfs.h>.
29113 (__internal_statvfs64): Removed.
29114
8bcdb7e0
L
291152017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29116
29117 [BZ #18822]
29118 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29119 (__gconv_close): Likewise.
29120 (__gconv): Likewise.
29121 (__gconv_find_transform): Likewise.
29122 (__gconv_lookup_cache): Likewise.
29123 (__gconv_compare_alias_cache): Likewise.
29124 (__gconv_load_cache): Likewise.
29125 (__gconv_get_path): Likewise.
29126 (__gconv_close_transform): Likewise.
29127 (__gconv_release_cache): Likewise.
29128 (__gconv_find_shlib): Likewise.
29129 (__gconv_release_shlib): Likewise.
29130 (__gconv_get_builtin_trans): Likewise.
29131 (__gconv_compare_alias): Likewise.
29132 * include/dlfcn.h (_dlerror_run): Likewise.
29133 * include/stdio.h (__fortify_fail_abort): Likewise.
29134 * include/time.h (__tz_compute): Likewise.
29135 (__strptime_internal): Likewise.
29136 * intl/gettextP.h (_nl_find_domain): Likewise.
29137 (_nl_load_domain): Likewise.
29138 (_nl_find_msg): Likewise.
29139 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29140 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29141 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29142 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29143 (__gai_find_request): Likewise.
29144 (__gai_remove_request): Likewise.
29145 (__gai_notify): Likewise.
29146 (__gai_notify_only): Likewise.
29147 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29148 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29149 (_dl_non_dynamic_init): Likewise.
29150 (_dl_aux_init): Likewise.
29151 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29152 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29153 Likewise.
29154 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29155 (__wcsmbs_clone_conv): Likewise.
29156 (__wcsmbs_named_conv): Likewise.
29157
8ed3b643
L
291582017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29159
29160 [BZ #18822]
29161 * include/stdlib.h (__random): Add attribute_hidden.
29162 (__random_r): Likewise.
29163 (__srandom_r): Likewise.
29164 (__initstate_r): Likewise.
29165 (__setstate_r): Likewise.
29166 (__erand48_r): Likewise.
29167 (__nrand48_r): Likewise.
29168 (__jrand48_r): Likewise.
29169 (__srand48_r): Likewise.
29170 (__seed48_r): Likewise.
29171 (__lcong48_r): Likewise.
29172 (__drand48_iterate): Likewise.
29173 (__setenv): Likewise.
29174 (__unsetenv): Likewise.
29175 (__clearenv): Likewise.
29176 (__ptsname_r): Likewise.
29177 (__posix_openpt): Likewise.
29178 (__add_to_environ): Likewise.
29179 (__realpath): Add libc_hidden_proto.
29180 (__ecvt_r): Likewise.
29181 (__fcvt_r): Likewise.
29182 (__qecvt_r): Likewise.
29183 (__qfcvt_r): Likewise.
29184 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29185 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29186
ef9b6f73
L
291872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29188
29189 [BZ #18822]
29190 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29191 * include/time.h (__mktime_internal): Likewise.
29192 * libio/iolibio.h (__fopen_internal): Likewise.
29193
8da92e72
JDA
291942017-10-01 John David Anglin <danglin@gcc.gnu.org>
29195
29196 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29197 pointer in frame.
29198 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29199 Correct offset used to restore PIC register.
29200
388784cf
JDA
292012017-09-30 John David Anglin <danglin@gcc.gnu.org>
29202
29203 [BZ libc/22165]
29204 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29205 code to load address of __getcontext_ret when generating PIC code.
29206
2000067a
L
292072017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29208
29209 * elf/Makefile (tests-static-internal): Add
29210 tst-tls1-static-non-pie.
29211 (LDFLAGS-tst-tls1-static-non-pie): New.
29212 * elf/tst-tls1-static-non-pie.c: New file.
29213
1e2bffd0
JM
292142017-09-29 Joseph Myers <joseph@codesourcery.com>
29215
29216 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29217 (asinh): Define using libm_alias_double.
29218 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29219 (cbrt): Define using libm_alias_double.
29220 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29221 <libm-alias-double.h>.
29222 (copysign): Define using libm_alias_double.
29223 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29224 (erf): Define using libm_alias_double.
29225 (erfc): Likewise.
29226 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29227 (expm1): Define using libm_alias_double.
29228 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29229 (fabs): Define using libm_alias_double.
29230 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29231 libm_alias_double.
29232 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29233 <libm-alias-double.h>.
29234 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29235 libm_alias_double.
29236 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29237 <libm-alias-double.h>.
29238 (getpayload): Define using libm_alias_double.
29239 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29240 <libm-alias-double.h>.
29241 (llrint): Define using libm_alias_double.
29242 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29243 (lrint): Define using libm_alias_double.
29244 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29245 <libm-alias-double.h>.
29246 (nextup): Define using libm_alias_double.
29247 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29248 <libm-alias-double.h>.
29249 (roundeven): Define using libm_alias_double.
29250 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29251 libm_alias_double.
29252 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29253 <libm-alias-double.h>.
29254 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29255 using libm_alias_double.
29256 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29257 (cos): Define using libm_alias_double.
29258 (sin): Likewise.
29259 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29260 <libm-alias-double.h>.
29261 (sincos): Define using libm_alias_double.
29262 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29263 (tanh): Define using libm_alias_double.
29264 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29265 <libm-alias-double.h>.
29266 (totalorder): Define using libm_alias_double.
29267 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29268 <libm-alias-double.h>.
29269 (totalordermag): Define using libm_alias_double.
29270 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29271 libm_alias_double.
29272 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29273 libm_alias_double.
29274 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29275 <libm-alias-double.h>.
29276 (getpayload): Define using libm_alias_double.
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29278 <libm-alias-double.h>.
29279 (roundeven): Define using libm_alias_double.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29281 <libm-alias-double.h>.
29282 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29283 <libm-alias-double.h>.
29284 (totalorder): Define using libm_alias_double.
29285 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29286 <libm-alias-double.h>.
29287 (totalordermag): Define using libm_alias_double.
29288 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29289 libc compat symbol here.
29290 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29291 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29292 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29293 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29294 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29295 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29296 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29297 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29298 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29299 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29300
8172aad9
L
293012017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29302
29303 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29304 _dl_relocate_static_pie instead of _dl_start to compute load
29305 address in static PIE. Return 0 if _DYNAMIC is undefined for
29306 static executable.
29307
54464e74
L
293082017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29309
29310 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29311 _DYNAMIC is undefined for static executable.
29312
f6c5e5bc
L
293132017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29314
29315 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29316
2f92505d
JM
293172017-09-29 Joseph Myers <joseph@codesourcery.com>
29318
29319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29320
bd8d53bb
WD
293212017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29322
29323 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29324 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29325 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29326 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29327 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29328 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29329 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29330 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29331 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29332 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29333 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29334 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29335 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29336 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29337 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29338 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29339 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29340
fffb1507
WD
293412017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29342
29343 * math/bits/cmathcalls.h (cimag): Remove inline.
29344 (creal): Remove inline.
29345 (conj): Remove inline.
29346
4ea49f4c
SN
293472017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29348
29349 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29350 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29351 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29352 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29353 (issignalingf_inline): Likewise.
29354 (POWF_LOG2_TABLE_BITS): Likewise.
29355 (POWF_LOG2_POLY_ORDER): Likewise.
29356 (POWF_SCALE_BITS): Likewise.
29357 (POWF_SCALE): Likewise.
29358 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29359 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29360 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29361
875c76c7
SN
293622017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29363
29364 * math/Makefile (type-float-routines): Add e_log2f_data.
29365 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29366 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29367 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29368 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29369 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29370 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29371 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29372
90c42e40
SN
293732017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29374
29375 * math/Makefile (type-float-routines): Add e_logf_data.
29376 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29377 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29378 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29379 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29380 * sysdeps/i386/fpu/e_logf_data.c: New file.
29381 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29382 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29383
4088d8dd
L
293842017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29385
29386 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29387 undefined _DYNAMIC in PIE libc.a.
29388 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29389 Likewse.
29390
4d3693ec
WD
293912017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29392
29393 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29394 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29395 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29396 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29397 (__signbit): Remove.
29398 (__signbitl): Remove.
29399 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29400 (__signbit): Remove.
29401 (__signbitl): Remove.
29402 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29403 (__signbit): Remove.
29404 (__signbitl): Remove.
29405 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29406 (__signbit): Remove.
29407 (__signbitl): Remove.
29408 * sysdeps/tile/bits/mathinline.h: Delete file.
29409 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29410 (__signbit): Remove.
29411 (__signbitl): Remove.
29412
1e6d0723
WD
294132017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29414
29415 * math/math.h: Improve handling of C99 isgreater macros.
29416 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29417 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29418 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29419 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29420 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29421
b2f03cf3
SN
294222017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29423
29424 * sysdeps/aarch64/libm-test-ulps: Update.
29425
f124cb38
JM
294262017-09-28 Joseph Myers <joseph@codesourcery.com>
29427
29428 [BZ #22225]
29429 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29430 math_opt_barrier on argument when doing arithmetic on it.
29431 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29432 Likewise. Use math_force_eval not math_opt_barrier after
29433 arithmetic.
29434 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29435 math_opt_barrier on argument when doing arithmetic on it.
29436 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29437 Likewise.
29438
7edd0691
L
294392017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29440
29441 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29442 libc_hidden_def.
29443 (__freeifaddrs): Likewise.
29444
2c7bbfaf
ST
294452017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29446
29447 * include/dirent.h (__dirfd): New declaration.
29448 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29449 alias.
29450 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29451 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29452 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29453 * include/unistd.h (__revoke): New declaration.
29454 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29455 alias.
29456 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29457 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29458 revoke.
64a4af28
ST
29459 * include/dirent.h (__seekdir): New declaration.
29460 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29461 redefine as weak alias.
29462 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29463 of seekdir.
4009ddc6
ST
29464 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29465 and use libc_hidden_def on them.
29466 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29467 them.
29468 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29469 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29470 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29471
825adeee
L
294722017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29473
29474 [BZ #18822]
29475 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29476 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29477 (__dso_handle): Remove declaration.
29478 * dlfcn/tstatexit.c (__dso_handle): Removed.
29479 (main): Don't check __dso_handle.
29480 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29481 (main): Don't check __dso_handle.
29482 * include/dso_handle.h: New file.
29483 * malloc/mtrace.c: Include <dso_handle.h>.
29484 (mtrace): Pass __dso_handle directly.
29485 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29486 (__dso_handle): Remove declaration.
29487 (__pthread_atfork): Pass __dso_handle directly.
29488 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29489 (__dso_handle): Removed.
29490 * posix/wordexp-test.c: Include <dso_handle.h>.
29491 (__dso_handle): Remove declaration.
29492 (__app_register_atfork): Pass __dso_handle directly.
29493 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29494 (__dso_handle): Remove declaration.
29495 (at_quick_exit): Pass __dso_handle directly.
29496 * stdlib/atexit.c: Include <dso_handle.h>.
29497 (__dso_handle): Remove declaration.
29498 (atexit): Pass __dso_handle directly.
29499 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29500 (__dso_handle): Removed.
29501
bfb0deb3
JM
295022017-09-26 Joseph Myers <joseph@codesourcery.com>
29503
29504 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29505 using VDSO.
29506
cebcb9f8
AM
295072017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29508
29509 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29510 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29511 values to correct default value for given type.
29512
592d5c75
L
295132017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29514
29515 [BZ #22101]
29516 * elf/Makefile (tests): Add tst-debug1.
29517 ($(objpfx)tst-debug1): New.
29518 ($(objpfx)tst-debug1.out): Likewise.
29519 ($(objpfx)tst-debug1mod1.so): Likewise.
29520 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29521 with p_filesz == 0.
29522 * elf/tst-debug1.c: New file.
29523
2d9193f2
JM
295242017-09-26 Joseph Myers <joseph@codesourcery.com>
29525
29526 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29527 Define using __ifunc.
29528
4c5a7a02
TMQMF
295292017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29530
29531 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29532 exp2f() values.
29533
12ef66c4
JM
295342017-09-26 Joseph Myers <joseph@codesourcery.com>
29535
29536 [BZ #22156]
29537 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29538
44dade71
FW
295392017-09-26 Florian Weimer <fweimer@redhat.com>
29540
29541 * resolv/Makefile (tests-internal): Fix typo in comment.
29542
eaca16f1
FW
295432017-09-26 Florian Weimer <fweimer@redhat.com>
29544
29545 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29546
ccf970c7
AZ
295472017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29548
5f9f31ad
AZ
29549 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29550 Use an union instead of a max_align_t array for __space,
29551 so that __space is the same size on all platforms.
29552 * malloc/scratch_buffer_grow_preserve.c
29553 (__libc_scratch_buffer_grow_preserve): Likewise.
29554
ccf970c7
AZ
29555 [BZ #22183]
29556 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29557 version to 2.
29558 * posix/Makefile (routines): Add glob-lstat-compat and
29559 glob64-lstat-compat.
29560 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29561 * posix/glob-lstat-compat.c: New file.
29562 * posix/glob64-lstat-compat.c: Likewise.
29563 * posix/tst-glob_lstat_compat.c: Likewise.
29564 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29565 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29566 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29567 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29568 Likewise.
29569 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29570 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29571 * posix/glob.c (glob_lstat): New function.
29572 (glob): Rename to __glob and add versioned symbol to 2.27.
29573 (glob_in_dir): Use glob_lstat.
29574 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29575 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29576 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29577 2.27.
29578 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29579 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29580 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29581 gl_lstat on glob call.
29582 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29583 and glob64 symbols.
29584 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29585 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29586 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29587 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29588 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29589 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29590 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29591 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29592 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29593 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29594 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29595 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29597 Likewise.
29598 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29600 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29601 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29602 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29603 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29604 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29606 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29607 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29608 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29609 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29610
b4396163
L
296112017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29612
29613 * configure.ac (AS): Require binutils 2.25 or later.
29614 * configure: Regenerated.
29615
8f834987
PP
296162017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29617
29618 [BZ #22207]
29619 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29620 VM size.
29621
3de93d19
DD
296222017-09-25 DJ Delorie <dj@redhat.com>
29623
29624 [BZ #22161]
29625 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29626 resetting timeout.
29627
9947638d
SL
296282017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29629
29630 * sysdeps/ieee754/dbl-64/sincos32.h
29631 [SINCCOS32_H]: Remove define.
29632 [SINCOS32_H]: Define.
29633
f5f0f526
SN
296342017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29635
29636 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29637 (exp2f): Likewise.
29638 * math/w_exp2f.c: New file.
29639 * math/w_expf.c: New file.
29640 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29641 * math/w_expf_compat.c (__expf_compat): Likewise.
29642 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29643 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29644 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29645 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29646 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29647 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29648 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29649 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29650 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29651 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29652 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29653 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29654 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29655 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29657 Likewise.
29658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29659 Likewise.
29660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29661 Likewise.
29662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29663 Likewise.
29664 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29665 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29666 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29667 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29668 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29669 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29670 Likewise.
29671 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29672 Likewise.
29673 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29674 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29675 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29676
72aa6233
SN
296772017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29678
29679 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29680 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29681 (roundtoint, converttoint): Likewise.
29682 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29683 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29684 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29685 * sysdeps/ieee754/flt-32/math_config.h: New file.
29686 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29687 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29688 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29689 * sysdeps/i386/fpu/math_errf.c: New file.
29690 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29691 * sysdeps/ia64/fpu/math_errf.c: New file.
29692 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29693 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29694
5e6f3253
ST
296952017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29696
29697 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29698 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29699 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29700 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29701 to make sure that these symbols are defined.
b38a42a0
ST
29702 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29703 of <limits.h>
29704 (__need_NULL): Do not define.
29705 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29706 alignment.
29707 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29708 CMGROUP_MAX, cmsgcred): Do not define.
29709 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29710 NULL.
29711 * bits/socket.h: Likewise.
fcafcd16
ST
29712 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29713 __gettimeofday instead of gettimeofday.
29714 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29715 instead of settimeofday.
5e6f3253 29716
2f49ce7d
JM
297172017-09-22 Joseph Myers <joseph@codesourcery.com>
29718
29719 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29720 (asinhf): Define using libm_alias_float.
29721 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29722 (atanf): Define using libm_alias_float.
29723 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29724 (cbrtf): Define using libm_alias_float.
29725 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29726 (ceilf): Define using libm_alias_float.
29727 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29728 <libm-alias-float.h>.
29729 (copysignf): Define using libm_alias_float.
29730 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29731 (cosf): Define using libm_alias_float.
29732 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29733 (erff): Define using libm_alias_float.
29734 (erfcf): Likewise.
29735 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29736 (expm1f): Define using libm_alias_float.
29737 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29738 (fabsf): Define using libm_alias_float.
29739 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29740 (floorf): Define using libm_alias_float.
29741 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29742 (frexpf): Define using libm_alias_float.
29743 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29744 libm_alias_float.
29745 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29746 <libm-alias-float.h>.
29747 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29748 libm_alias_float.
29749 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29750 <libm-alias-float.h>.
29751 (getpayloadf): Define using libm_alias_float.
29752 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29753 <libm-alias-float.h>.
29754 (llrintf): Define using libm_alias_float.
29755 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29756 <libm-alias-float.h>.
29757 (llroundf): Define using libm_alias_float.
29758 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29759 (logbf): Define using libm_alias_float.
29760 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29761 (lrintf): Define using libm_alias_float.
29762 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29763 (lroundf): Define using libm_alias_float.
29764 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29765 (modff): Define using libm_alias_float.
29766 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29767 <libm-alias-float.h>.
29768 (nearbyintf): Define using libm_alias_float.
29769 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29770 <libm-alias-float.h>.
29771 (nextafterf): Define using libm_alias_float.
29772 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29773 <libm-alias-float.h>.
29774 (nextupf): Define using libm_alias_float.
29775 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29776 <libm-alias-float.h>.
29777 (remquof): Define using libm_alias_float.
29778 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29779 (rintf): Define using libm_alias_float.
29780 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29781 <libm-alias-float.h>.
29782 (roundevenf): Define using libm_alias_float.
29783 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29784 (roundf): Define using libm_alias_float.
29785 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29786 using libm_alias_float.
29787 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29788 <libm-alias-float.h>.
29789 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29790 Define using libm_alias_float.
29791 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29792 <libm-alias-float.h>.
29793 (sincosf): Define using libm_alias_float.
29794 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29795 (sinf): Define using libm_alias_float.
29796 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29797 (tanf): Define using libm_alias_float.
29798 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29799 (tanhf): Define using libm_alias_float.
29800 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29801 <libm-alias-float.h>.
29802 (totalorderf): Define using libm_alias_float.
29803 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29804 <libm-alias-float.h>.
29805 (totalordermagf): Define using libm_alias_float.
29806 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29807 (truncf): Define using libm_alias_float.
29808 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29809 libm_alias_float.
29810 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29811 libm_alias_float.
29812
c5c4a626
GG
298132017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29814
29815 [BZ #22146]
29816 math/math.h: Let fpclassify use the builtin in C++ mode, even
29817 when optimazing for size.
29818
23947846
JM
298192017-09-22 Joseph Myers <joseph@codesourcery.com>
29820
29821 * csu/Makefile (generated): Do not add version-info.h.
29822 (before-compile): Likewise.
29823 (all-Banner-files): Remove variable.
29824 ($(objpfx)version-info.h): Remove rule.
29825 * csu/version.c (banner): Do not include "version-info.h".
29826 * libidn/Banner: Remove.
29827 * manual/contrib.texi (Simon Josefsson): New entry.
29828
9ac3c682
GG
298292017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29830
29831 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29832 Remove conditionals on LDBL_MANT_DIG.
29833 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29834 (__ieee754_lgammal_r): Likewise.
29835
d2f0ed09
GG
298362017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29837
29838 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29839 _Float128 and L().
29840 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29841 _Float128 and L(). Replace _Float128 with long double and L(x)
29842 with xL, throughout the file.
29843 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29844 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29845 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29846 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29847
c5c2e667
GG
298482017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29849
29850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29851 sysdeps/ieee754/ldbl-128ibm.
29852 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29853 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29854 of including it. Keep _Float128 and L() intact. These will be
29855 reviewed by a separate patch.
29856 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29857 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29858 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29859 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29860
e010deb2
GG
298612017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29862
29863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29864 (__finitef128): Define to __redirect___finitef128.
29865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29866 (__isinff128): Define to __redirect___isinff128.
29867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29868 (__isnanf128): Define to __redirect___isnanf128.
29869
ffa44804
GG
298702017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29871
29872 * sysdeps/powerpc/powerpc64le/Makefile
29873 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29874 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29875
e5e4d7cc
PP
298762017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29877 Carlos O'Donell <carlos@redhat.com>
29878
29879 [BZ #22180]
29880 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29881 * stdlib/test-dlclose-exit-race.c: New file.
29882 * stdlib/test-dlclose-exit-race-helper.c: New file.
29883 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29884
c10c5267
JM
298852017-09-21 Joseph Myers <joseph@codesourcery.com>
29886
29887 * crypt/Banner: Remove file.
29888 * nptl/Banner: Likewise.
29889 * resolv/Banner: Likewise.
29890 * soft-fp/Banner: Likewise.
29891 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29892 ($(objpfx)version.d): Remove dependency on banner.h.
29893 ($(objpfx)version.os): Likewise.
29894 * nptl/version.c (banner): Do not include banner.h.
29895 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29896 Jelinek and BIND code.
29897
1cc9e59a
PP
298982017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29899 Carlos O'Donell <carlos@redhat.com>
29900
29901 * support/xdlfcn.h: New file.
29902 * support/xdlfcn.c: New file.
29903 * support/Makefile (libsupport-routines): Add xdlfcn.
29904 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29905
ae8372d7
JM
299062017-09-20 Joseph Myers <joseph@codesourcery.com>
29907
29908 [BZ #20142]
29909 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29910 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29911 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29912 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29913 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29914 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29915 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29916 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29917
26e70aec 299182017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29919 Ricky Zhou <rickyz@google.com>
29920 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29921
29922 [BZ #14333]
29923 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29924 Remove atomics.
29925 (__new_exitfn): Fail registration when we finished at_exit processing.
29926 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29927 * stdlib/on_exit.c (__on_exit): Likewise.
29928 * stdlib/exit.c (__exit_funcs_done): New variable.
29929 (__run_exit_handlers): Use __exit_funcs_lock.
29930 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29931 declarations.
29932 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29933 (test-cxa_atexit-race, test-on_exit-race): New tests.
29934 * stdlib/test-atexit-race-common.c: New file.
29935 * stdlib/test-atexit-race.c: New file.
29936 * stdlib/test-at_quick_exit-race.c: New file.
29937 * stdlib/test-cxa_atexit-race.c: New file.
29938 * stdlib/test-on_exit-race.c: New file.
29939
0525ce48
SN
299402017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29941
29942 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29943 * benchtests/exp2f-inputs: Copy of expf-inputs.
29944 * benchtests/log2f-inputs: Copy of logf-inputs.
29945
d82468d1
JM
299462017-09-19 Joseph Myers <joseph@codesourcery.com>
29947
29948 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29949 Explicitly take address of first element of array arguments in
29950 call to INLINE_SYSCALL.
29951
43ffc53a
AS
299522017-09-19 Andreas Schwab <schwab@suse.de>
29953
29954 [BZ #22134]
29955 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29956 execveat first.
29957 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29958 unimplemented.
29959 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29960 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29961 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29962 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29963 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29964 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29965 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29966 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29967 * posix/Makefile (tests): Add tst-fexecve.
29968 * posix/tst-fexecve.c: New file.
29969
a5dcc87e
WD
299702017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29971
29972 * benchtests/Makefile: Add logf benchmark.
29973 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29974
7024d544
WD
299752017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29976
29977 * benchtests/Makefile: Add expf benchmark.
29978 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29979
ca3a382e
WD
299802017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29981
29982 * csu/Makefile: Add -funwind-tables to libc-start.c.
29983 * debug/Makefile: Add -funwind-tables to backtrace.c.
29984 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29985 * sysdeps/arm/Makefile: Likewise.
29986 * sysdeps/i386/Makefile: Likewise.
29987 * sysdeps/m68k/Makefile: Likewise.
29988 * sysdeps/mips/Makefile: Likewise.
29989 * sysdeps/nios2/Makefile: Likewise.
29990 * sysdeps/sh/Makefile: Likewise.
29991 * sysdeps/sparc/Makefile: Likewise.
29992
eb375def
JM
299932017-09-19 Joseph Myers <joseph@codesourcery.com>
29994
29995 * benchtests/Makefile (bench-math): Add trunc and truncf.
29996 (CFLAGS-bench-trunc.c): New variable.
29997 (CFLAGS-bench-truncf.c): Likewise.
29998 * benchtests/trunc-inputs: New file.
29999 * benchtests/truncf-inputs: Likewise.
30000
bd17ba29
RS
300012017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30002
30003 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30004
92892fdb
JM
300052017-09-18 Joseph Myers <joseph@codesourcery.com>
30006
6d9b0b5a
JM
30007 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30008 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30009 redefine.
30010 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30011 (exp10l): Define as weak alias.
30012 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30013 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30014 and redefine.
30015 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30016 (remainderl): Define as weak alias.
30017
92892fdb
JM
30018 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30019 (fmal): Define using libm_alias_ldouble.
30020 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30021 (acoshl): Define using libm_alias_ldouble.
30022 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30023 (acosl): Define using libm_alias_ldouble.
30024 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30025 (asinl): Define using libm_alias_ldouble.
30026 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30027 (atan2l): Define using libm_alias_ldouble.
30028 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30029 (atanhl): Define using libm_alias_ldouble.
30030 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30031 (coshl): Define using libm_alias_ldouble.
30032 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30033 (exp10l): Define using libm_alias_ldouble.
30034 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30035 (exp2l): Define using libm_alias_ldouble.
30036 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30037 (expl): Define using libm_alias_ldouble.
30038 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30039 (fmodl): Define using libm_alias_ldouble.
30040 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30041 (hypotl): Define using libm_alias_ldouble.
30042 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30043 (j0l): Define using libm_alias_ldouble.
30044 (y0l): Likewise.
30045 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30046 (j1l): Define using libm_alias_ldouble.
30047 (y1l): Likewise.
30048 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30049 (jnl): Define using libm_alias_ldouble.
30050 (ynl): Likewise.
30051 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30052 (log10l): Define using libm_alias_ldouble.
30053 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30054 (log2l): Define using libm_alias_ldouble.
30055 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30056 (logl): Define using libm_alias_ldouble.
30057 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30058 (powl): Define using libm_alias_ldouble.
30059 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30060 (remainderl): Define using libm_alias_ldouble.
30061 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30062 (sinhl): Define using libm_alias_ldouble.
30063 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30064 (sqrtl): Define using libm_alias_ldouble.
30065 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30066 (tgammal): Define using libm_alias_ldouble.
30067 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30068 (exp10l): Do not use long_double_symbol here.
30069 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30070 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30071 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30072 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30073 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30074 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30075 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30076 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30077 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30078 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30079 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30080 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30081 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30082 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30083 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30084 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30085 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30086 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30087 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30088 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30089 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30090 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30091
6cd380dd
WB
300922017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30093
30094 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30095 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30096
1c6d89e9
ST
300972017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30098
30099 * io/read.c (read): Add libc_hidden_weak.
30100 * sysdeps/mach/hurd/read.c (read): Likewise.
30101 * io/write.c (write): Likewise.
30102 * sysdeps/mach/hurd/write.c (write): Likewise.
30103 * io/pread64.c (__pread64): Likewise.
30104 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30105 * posix/pread64.c (__pread64): Add libc_hidden_def.
30106
06b1de23
SP
301072017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30108
140647ea
SP
30109 * benchtests/scripts/compare_strings.py: New option -g.
30110 (draw_graph): Print a message that a graph is being generated.
30111 (process_results): Generate graph only if -g is passed.
30112 (main): Process option -g.
30113
5a6547b7
SP
30114 * benchtests/scripts/compare_strings.py (process_results):
30115 Better spacing for output.
30116
06b1de23
SP
30117 * benchtests/scripts/compare_strings.py: Use argparse.
30118 * benchtests/README: Document existence of compare_strings.py.
30119
c67a2328
JM
301202017-09-15 Joseph Myers <joseph@codesourcery.com>
30121
9ac44708
JM
30122 * math/s_fma.c: Include <libm-alias-double.h>.
30123 (fma): Define using libm_alias_double.
30124 * math/s_nextafter.c: Include <libm-alias-double.h>.
30125 (nextafter): Define using libm_alias_double.
30126 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30127 (acos): Define using libm_alias_double.
30128 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30129 (aocsh): Define using libm_alias_double.
30130 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30131 (asin): Define using libm_alias_double.
30132 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30133 (atan2): Define using libm_alias_double.
30134 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30135 (atanh): Define using libm_alias_double.
30136 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30137 (cosh): Define using libm_alias_double.
30138 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30139 (exp10): Define using libm_alias_double.
30140 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30141 (exp2): Define using libm_alias_double.
30142 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30143 (exp): Define using libm_alias_double.
30144 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30145 (fmod): Define using libm_alias_double.
30146 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30147 (hypot): Define using libm_alias_double.
30148 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30149 (j0): Define using libm_alias_double.
30150 (y0): Likewise.
30151 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30152 (j1): Define using libm_alias_double.
30153 (y1): Likewise.
30154 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30155 (jn): Define using libm_alias_double.
30156 (yn): Likewise.
30157 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30158 (log10): Define using libm_alias_double.
30159 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30160 (log2): Define using libm_alias_double.
30161 * math/w_log_compat.c: Include <libm-alias-double.h>.
30162 (log): Define using libm_alias_double.
30163 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30164 (pow): Define using libm_alias_double.
30165 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30166 (remainder): Define using libm_alias_double.
30167 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30168 (sinh): Define using libm_alias_double.
30169 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30170 (sqrt): Define using libm_alias_double.
30171 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30172 (tgamma): Define using libm_alias_double.
30173 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30174 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30175 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30176 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30177 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30178 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30179 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30180 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30181 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30182 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30183 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30184 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30185 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30186 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30187 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30188 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30189 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30190 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30191 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30192 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30193 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30194 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30195 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30196 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30197 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30198
c67a2328
JM
30199 * math/e_acoshl.c: Remove.
30200 * math/e_acosl.c: Likewise.
30201 * math/e_asinl.c: Likewise.
30202 * math/e_atan2l.c: Likewise.
30203 * math/e_atanhl.c: Likewise.
30204 * math/e_coshl.c: Likewise.
30205 * math/e_expl.c: Likewise.
30206 * math/e_fmodl.c: Likewise.
30207 * math/e_gammal_r.c: Likewise.
30208 * math/e_hypotl.c: Likewise.
30209 * math/e_j0l.c: Likewise.
30210 * math/e_j1l.c: Likewise.
30211 * math/e_jnl.c: Likewise.
30212 * math/e_lgammal_r.c: Likewise.
30213 * math/e_log10l.c: Likewise.
30214 * math/e_log2l.c: Likewise.
30215 * math/e_logl.c: Likewise.
30216 * math/e_powl.c: Likewise.
30217 * math/e_rem_pio2l.c: Likewise.
30218 * math/e_sinhl.c: Likewise.
30219 * math/e_sqrtf128.c: Likewise.
30220 * math/e_sqrtl.c: Likewise.
30221 * math/k_cosl.c: Likewise.
30222 * math/k_sinl.c: Likewise.
30223 * math/k_tanl.c: Likewise.
30224 * math/s_asinhl.c: Likewise.
30225 * math/s_atanl.c: Likewise.
30226 * math/s_cbrtl.c: Likewise.
30227 * math/s_erfl.c: Likewise.
30228 * math/s_expm1l.c: Likewise.
30229 * math/s_log1pl.c: Likewise.
30230 * math/s_tanhl.c: Likewise.
30231
61c45f25
TMQMF
302322017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30233
30234 [BZ #21745]
30235 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30236 [$(subdir) = math] (sysdep_calls): New variable. Has the
30237 previous contents of sysdep_routines, but re-sorted..
30238 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30239 sysdep_calls.
30240 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30241 defined in sysdep_calls and replace by the respective m_* names.
30242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30243 (compat_symbol): Undefine to avoid duplicated compat symbols in
30244 libc.
30245
5bcdb315
JM
302462017-09-15 Joseph Myers <joseph@codesourcery.com>
30247
30248 * math/s_fmaf.c: Include <libm-alias-float.h>.
30249 (fmaf): Define using libm_alias_float.
30250 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30251 (acosf): Define using libm_alias_float.
30252 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30253 (acoshf): Define using libm_alias_float.
30254 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30255 (asinf): Define using libm_alias_float.
30256 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30257 (atan2f): Define using libm_alias_float.
30258 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30259 (atanhf): Define using libm_alias_float.
30260 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30261 (coshf): Define using libm_alias_float.
30262 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30263 (exp10f): Define using libm_alias_float.
30264 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30265 (fmodf): Define using libm_alias_float.
30266 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30267 (hypotf): Define using libm_alias_float.
30268 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30269 (j0f): Define using libm_alias_float.
30270 (y0f): Likewise.
30271 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30272 (j1f): Define using libm_alias_float.
30273 (y1f): Likewise.
30274 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30275 (jnf): Define using libm_alias_float.
30276 (ynf): Likewise.
30277 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30278 (log10f): Define using libm_alias_float.
30279 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30280 (log2f): Define using libm_alias_float.
30281 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30282 (logf): Define using libm_alias_float.
30283 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30284 (powf): Define using libm_alias_float.
30285 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30286 (remainderf): Define using libm_alias_float.
30287 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30288 (sinhf): Define using libm_alias_float.
30289 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30290 (sqrtf): Define using libm_alias_float.
30291 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30292 (tgammaf): Define using libm_alias_float.
30293
01f28812
JM
302942017-09-14 Joseph Myers <joseph@codesourcery.com>
30295
30296 * include/math.h (roundeven): Change hidden_proto call to
30297 __roundeven.
30298 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30299 alias.
30300 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30301 (y0): Rename to __y0 and define as weak alias.
30302 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30303 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30304 alias.
30305 (y0f): Rename to __y0f and define as weak alias.
30306 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30307 alias.
30308 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30309 (y1): Rename to __y1 and define as weak alias.
30310 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30311 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30312 alias.
30313 (y1f): Rename to __y1f and define as weak alias.
30314 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30315 alias.
30316 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30317 (yn): Rename to __yn and define as weak alias.
30318 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30319 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30320 alias.
30321 (ynf): Rename to __ynf and define as weak alias.
30322 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30323 (fromfp): Define as weak alias.
30324 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30325 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30326 (fromfpx): Define as weak alias.
30327 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30328 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30329 __getpayload and define as weak alias.
30330 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30331 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30332 __roundeven and define as weak alias.
30333 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30334 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30335 __setpayload.
30336 (setpayload): Define as weak alias.
30337 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30338 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30339 __setpayloadsig.
30340 (setpayloadsig): Define as weak alias.
30341 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30342 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30343 __totalorder and define as weak alias.
30344 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30345 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30346 to __totalordermag and define as weak alias.
30347 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30348 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30349 (ufromfp): Define as weak alias.
30350 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30351 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30352 __ufromfpx.
30353 (ufromfpx): Define as weak alias.
30354 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30355 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30356 Rename to __getpayload and define as weak alias.
30357 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30358 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30359 Rename to __roundeven and define as weak alias.
30360 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30361 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30362 Rename to __totalorder and define as weak alias.
30363 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30364 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30365 (totalordermag): Rename to __totalordermag and define as weak
30366 alias.
30367 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30368 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30369 macro.
30370 (__roundevenl): Likewise.
30371 (__totalorderl): Likewise.
30372 (__totalordermagl): Likewise
30373 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30374 __fromfpf128.
30375 (fromfpf128): Define as weak alias.
30376 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30377 __fromfpxf128.
30378 (fromfpxf128): Define as weak alias.
30379 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30380 __setpayloadf128.
30381 (setpayloadf128): Define as weak alias.
30382 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30383 __setpayloadsigf128.
30384 (setpayloadsigf128): Define as weak alias.
30385 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30386 __ufromfpf128.
30387 (ufromfpf128): Define as weak alias.
30388 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30389 __ufromfpxf128.
30390 (ufromfpxf128): Define as weak alias.
30391 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30392 (fromfpf): Define as weak alias.
30393 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30394 __fromfpxf.
30395 (fromfpxf): Define as weak alias.
30396 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30397 __getpayloadf and define as weak alias.
30398 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30399 __roundevenf and define as weak alias.
30400 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30401 __setpayloadf.
30402 (setpayloadf): Define as weak alias.
30403 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30404 __setpayloadsigf.
30405 (setpayloadsigf): Define as weak alias.
30406 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30407 __totalorderf and define as weak alias.
30408 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30409 Rename to __totalordermagf and define as weak alias.
30410 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30411 __ufromfpf.
30412 (ufromfpf): Define as weak alias.
30413 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30414 __ufromfpxf.
30415 (ufromfpxf): Define as weak alias.
30416 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30417 __fromfpl.
30418 (fromfpl): Define as weak alias.
30419 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30420 __fromfpxl.
30421 (fromfpxl): Define as weak alias.
30422 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30423 to __getpayloadl and define as weak alias.
30424 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30425 __roundevenl and define as weak alias.
30426 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30427 __setpayloadl.
30428 (setpayloadl): Define as weak alias.
30429 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30430 __setpayloadsigl.
30431 (setpayloadsigl): Define as weak alias.
30432 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30433 to __totalorderl and define as weak alias.
30434 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30435 Rename to __totalordermagl and define as weak alias.
30436 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30437 __ufromfpl.
30438 (ufromfpl): Define as weak alias.
30439 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30440 __ufromfpxl.
30441 (ufromfpxl): Define as weak alias.
30442 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30443 __fromfpl.
30444 (fromfpl): Define as weak alias.
30445 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30446 __fromfpxl.
30447 (fromfpxl): Define as weak alias.
30448 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30449 Rename to __getpayloadl and define as weak alias.
30450 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30451 to __roundevenl and define as weak alias. Call __roundeven
30452 instead of roundeven.
30453 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30454 __setpayloadl.
30455 (setpayloadl): Define as weak alias.
30456 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30457 __setpayloadsigl.
30458 (setpayloadsigl): Define as weak alias.
30459 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30460 Rename to __totalorderl and define as weak alias.
30461 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30462 Rename to __totalordermagl and define as weak alias.
30463 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30464 __ufromfpl.
30465 (ufromfpl): Define as weak alias.
30466 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30467 __ufromfpxl.
30468 (ufromfpxl): Define as weak alias.
30469 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30470 __fromfpl.
30471 (fromfpl): Define as weak alias.
30472 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30473 __fromfpxl.
30474 (fromfpxl): Define as weak alias.
30475 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30476 __getpayloadl and define as weak alias.
30477 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30478 __roundevenl and define as weak alias.
30479 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30480 __setpayloadl.
30481 (setpayloadl): Define as weak alias.
30482 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30483 __setpayloadsigl.
30484 (setpayloadsigl): Define as weak alias.
30485 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30486 __totalorderl and define as weak alias.
30487 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30488 Rename to __totalordermagl and define as weak alias.
30489 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30490 __ufromfpl.
30491 (ufromfpl): Define as weak alias.
30492 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30493 __ufromfpxl.
30494 (ufromfpxl): Define as weak alias.
30495
29c933fb
SP
304962017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30497
503c92c3
SP
30498 * benchtests/bench-string.h (realloc_bufs): New function.
30499 (test_init): Call it.
30500 * benchtests/bench-memset-large.c (do_test): Likewise.
30501 * benchtests/bench-memset.c (do_test): Likewise.
30502
29c933fb
SP
30503 * benchtests/bench-memset-large.c: Print output in JSON
30504 format.
30505 * benchtests/bench-memset.c: Likewise.
30506
799c8d69
MF
305072017-09-14 Mike FABIAN <mfabian@redhat.com>
30508
30509 [BZ #21084]
30510 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30511 * iconvdata/Makefile: Add IBM858.
30512 * iconvdata/gconv-modules: Likewise.
30513 * iconvdata/tst-tables.sh: Likewise.
30514 * iconvdata/ibm858.c: New file.
30515 * localedata/charmaps/IBM858: Likewise.
30516
c207f7ce 305172017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30518
30519 [BZ #22023]
30520 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30521 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30522
f28a0926
AK
305232017-09-14 Mike FABIAN <mfabian@redhat.com>
30524
30525 [BZ #22112]
30526 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30527 and add tel_int_fmt.
30528
02093e62
JM
305292017-09-14 Joseph Myers <joseph@codesourcery.com>
30530
30531 * sysdeps/generic/libm-alias-float128.h: New file.
30532 * sysdeps/generic/math-type-macros-float128.h: Include
30533 <libm-alias-float128.h>.
30534 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30535
1aae75ef
JM
305362017-09-13 Joseph Myers <joseph@codesourcery.com>
30537
30538 * sysdeps/generic/libm-alias-ldouble.h: New file.
30539 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30540 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30541 * sysdeps/generic/math-type-macros-ldouble.h: Include
30542 <libm-alias-ldouble.h>.
30543 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30544 libm_alias_ldouble.
30545
bcea7ad6
SN
305462017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30547
30548 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30549 * math/w_exp_compat.c: ... here.
30550 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30551 * math/w_expf_compat.c: ... here.
30552 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30553 * math/w_expl_compat.c: ... here.
30554 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30555 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30556 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30557 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30558
0fc56478
JM
305592017-09-13 Joseph Myers <joseph@codesourcery.com>
30560
30561 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30562 redefine.
30563 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30564 macro.
30565 (ldexpl): Only define as compat symbol for libc, not libm.
30566 (scalbnl): Define as compat symbol for libc here.
30567 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30568 define for [IS_IN (libc)].
30569 (__ldexpl_2): Remove alias.
30570 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30571 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30572 name in long_double_symbol call.
30573 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30574 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30575 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30576 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30577 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30578 Remove macro.
30579 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30580 Define as compat symbol.
30581
3ca622e4
AZ
305822017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30583
30584 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30585 * sysdeps/unix/sysv/linux/alpha/Makefile
30586 [$(subdir) = csu] (sysdep_routines): Remove rule.
30587
620ff9ee
JM
305882017-09-13 Joseph Myers <joseph@codesourcery.com>
30589
30590 * sysdeps/generic/libm-alias-double.h: New file.
30591 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30592 * sysdeps/generic/math-type-macros-double.h: Include
30593 <libm-alias-double.h>.
30594 [declare_mgen_alias] (declare_mgen_alias): Define to use
30595 libm_alias_double.
30596 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30597 (M_LIBM_NEED_COMPAT): Remove macro.
30598 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30599 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30600 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30601 code.
30602 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30603 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30604 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30605 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30606 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30607 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30608 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30609 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30610 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30611 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30612 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30613 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30614 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30615 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30616 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30617 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30618 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30619 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30620 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30621 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30622 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30623 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30624 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30625 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30626 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30627 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30628 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30629 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30630 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30631 macro.
30632 (declare_mgen_alias): New macro.
30633 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30634 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30636 (M_LIBM_NEED_COMPAT): Remove macro.
30637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30638 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30639 <first-versions.h>.
30640 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30641 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30642
a891caff
JM
306432017-09-12 Joseph Myers <joseph@codesourcery.com>
30644
30645 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30646 (declare_mgen_alias_2): Remove.
30647 * sysdeps/generic/math-type-macros-double.h
30648 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30649 Likewise.
30650 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30651 alias.
30652 (ldexp): Define with declare_mgen_alias.
30653 (scalbn): Likewise.
30654
a1a78204
SE
306552017-09-12 Steve Ellcey <sellcey@cavium.com>
30656
30657 * grp/initgroups.c: Include config.h.
30658 (DEFAULT_CONFIG): New macro.
30659 (internal_getgrouplist): Use DEFAULT_CONFIG.
30660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30661 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30662 (DEFAULT_DEFCONFIG): New macro.
30663 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30664 * nss/grp-lookup.c: Include config.h
30665 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30666 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30667 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30668 * manual/nss.texi: Update default values section.
30669
ef8adeb0
L
306702017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30671
30672 [BZ #21967]
30673 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30674 New.
30675 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30676 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30677 Handle MathVec_Prefer_No_AVX512.
30678 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30679 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30680 is set.
30681
a166531f
ST
306822017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30683
30684 * posix/sched_primax.c (__sched_get_priority_max): Add
30685 libc_hidden_def.
30686 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30687 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30688 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30689 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30690 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30691 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30692 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30693 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30694 Add aliases.
30695
4b7d1efb
JM
306962017-09-11 Joseph Myers <joseph@codesourcery.com>
30697
30698 * sysdeps/generic/libm-alias-float.h: New file.
30699 * sysdeps/generic/math-type-macros-float.h: Include
30700 <libm-alias-float.h>.
30701 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30702
45ff3463
L
307032017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30704
30705 [BZ #22093]
30706 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30707 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30708 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30709 (HWCAP_IMPORTANT): Likewise.
30710 (HWCAP_X86_64): New enum.
30711 (HWCAP_X86_AVX512_1): Updated.
30712 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30713 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30714 (modules-names): Add x86_64/tst-x86_64mod-1.
30715 (LDFLAGS-tst-x86_64mod-1.so): New.
30716 ($(objpfx)tst-x86_64-1): Likewise.
30717 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30718 (tst-x86_64-1-clean): Likewise.
30719 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30720 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30721
891abfd3
SP
307222017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30723
30724 * po/sv.po: Update translations.
30725 * po/fr.po: Likewise.
30726
00c3da43
ST
307272017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30728
30729 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30730 seconds.
3bdfd9fb
ST
30731 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30732 seconds.
65b22ebc 30733 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30734
96480903
MF
307352017-09-09 Mike FABIAN <mfabian@redhat.com>
30736
30737 [BZ #14925]
30738 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30739 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30740 * localedata/locales/bn_BD: “Bengali” was still used in some
30741 comments. Change it to “Bangla”.
30742
4c03a696
MT
307432017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30744
30745 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30746
9c9ec581
SE
307472017-09-08 Steve Ellcey <sellcey@cavium.com>
30748
30749 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30750 thunderx2t99p1 to list of cpu names.
30751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30752 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30753
f00bce74
SE
307542017-09-08 Steve Ellcey <sellcey@cavium.com>
30755
30756 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30757 Use strcmp instead of tunable_is_name.
30758
27342d17
JM
307592017-09-08 Joseph Myers <joseph@codesourcery.com>
30760
af1b7c8c
JM
30761 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30762 (F_GET_RW_HINT): New macro.
30763 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30764 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30765 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30766 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30767 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30768 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30769 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30770 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30771 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30772
27342d17
JM
30773 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30774 (F_ADD_SEALS): New macro.
30775 [__USE_GNU] (F_GET_SEALS): Likewise.
30776 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30777 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30778 [__USE_GNU] (F_SEAL_GROW): Likewise.
30779 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30780
c66c9082
AZ
307812017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30782
07b4f49d
AZ
30783 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30784 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30785 * posix/glob_internal.h (__glob_pattern_type):
30786 * posix/glob.c (glob):
30787 * posix/glob_pattern_p.c (__glob_pattern_p):
30788 Use them.
30789
116f1c64
AZ
30790 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30791 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30792 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30793 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30794 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30796 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30797 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30798 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30799 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30800 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30801 * sysdeps/wordsize-64/glob.c: Likewise.
30802 * sysdeps/wordsize-64/glob64.c: Likewise.
30803 * sysdeps/wordsize-64/globfree.c: Likewise.
30804 * sysdeps/wordsize-64/globfree64.c: Likewise.
30805 * sysdeps/unix/sysv/linux/glob.c: New file.
30806 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30807 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30808 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30809 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30810 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30811 adds !GLOB_NO_OLD_VERSION as an extra condition.
30812 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30813 using relative path instead of absolute one.
30814 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30815 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30816 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30817 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30818 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30819 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30820
ffca8901
AZ
30821 [BZ #1062]
30822 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30823 (glob): Use the same scratch buffer for both getlogin_r and
30824 getpwnam_r. Don’t require preallocation of the login name. This
30825 simplifies storage allocation, and corrects the handling of
30826 long login names.
30827
5a79f975
AZ
30828 [BZ #1062]
30829 * posix/glob.c (glob): Port recent patches to platforms
30830 lacking getpwnam_r.
30831 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30832 returns an error number rather than setting errno.
30833
e00f2425
AZ
30834 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30835 instead of GCC extension.
30836 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30837 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30838 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30839
5554304f
AZ
30840 [BZ #866]
30841 [BZ #1062]
30842 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30843 * posix/bug-glob1.c: Remove file.
30844 * posix/tst-glob_symlinks.c: New file.
30845 * posix/glob.c (__lstat64): New macro.
30846 (is_dir): New function.
30847 (glob, glob_in_dir): Match symlinks even if they are dangling.
30848 (link_stat, link_exists_p): Remove. All uses removed.
30849
686f2ea1
AZ
30850 [BZ #1062]
30851 [BZ #19971]
30852 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30853 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30854 All uses removed.
30855
c66c9082 30856 [BZ #1062]
914c9994 30857 CVE-2017-15671
c66c9082
AZ
30858 * posix/Makefile (routines): Add globfree, globfree64, and
30859 glob_pattern_p.
30860 * posix/flexmember.h: New file.
30861 * posix/glob_internal.h: Likewise.
30862 * posix/glob_pattern_p.c: Likewise.
30863 * posix/globfree.c: Likewise.
30864 * posix/globfree64.c: Likewise.
30865 * sysdeps/gnu/globfree64.c: Likewise.
30866 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30867 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30868 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30869 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30870 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30871 * sysdeps/wordsize-64/globfree.c: Likewise.
30872 * sysdeps/wordsize-64/globfree64.c: Likewise.
30873 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30874 [NDEBUG): Remove comments.
30875 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30876 (dirent_type): New type. Use uint_fast8_t not
30877 uint8_t, as C99 does not require uint8_t.
30878 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30879 (struct readdir_result): Use dirent_type. Do not define skip_entry
30880 unless it is needed; this saves a byte on platforms lacking d_ino.
30881 (readdir_result_type, readdir_result_skip_entry):
30882 New functions, replacing ...
30883 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30884 these functions, which were removed. This makes the callers
c66c9082
AZ
30885 easier to read. All callers changed.
30886 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30887 (size_add_wrapv, glob_use_alloca): New static functions.
30888 (glob, glob_in_dir): Check for size_t overflow in several places,
30889 and fix some size_t checks that were not quite right.
30890 Remove old code using SHELL since Bash no longer
30891 uses this.
30892 (glob, prefix_array): Separate MS code better.
30893 (glob_in_dir): Remove old Amiga and VMS code.
30894 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30895 separate files.
30896 (glob_in_dir): Do not rely on undefined behavior in accessing
30897 struct members beyond their bounds. Use a flexible array member
30898 instead
30899 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30900 0/1. Caller changed.
30901 (glob): Fix memory leaks.
30902 * posix/glob64 (globfree64): Move to separate file.
30903 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30904 (globfree64): Remove hidden alias.
30905 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30906 oldglob.
30907 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30908 separate file.
30909 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30910 define.
30911 Move compat code to separate file.
30912 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30913 separate file.
30914
78bfa877
L
309152017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30916
30917 * resolv/tst-resolv-qtypes.c (domain): Changed to
30918 "const char domain[] =".
30919
05f0011f
JM
309202017-09-07 Joseph Myers <joseph@codesourcery.com>
30921
85bec0f2
JM
30922 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30923 version to 3.1.6.
30924
5c23ee6e
JM
30925 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30926 (TCP_MD5SIG_EXT): Likewise.
30927 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30928 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30929 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30930
05f0011f
JM
30931 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30932
7c9c5be9
MF
309332017-09-07 Mike FABIAN <mfabian@redhat.com>
30934
30935 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30936
c207f7ce 309372017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30938
30939 [BZ #22100]
30940 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30941
507fe027
ST
309422017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30943
30944 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30945 before assuming that the file is empty. Avoid testing buffer content
30946 when nread == 0.
30947
65687ac7
AZ
309482017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30949
7bbbb4b9 30950 [BZ #18858]
65687ac7
AZ
30951 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30952 Remove define.
30953 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30954 Likewise.
30955 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30956 Likewise.
30957 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30958 Likewise.
30959 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30960 Likewise.
30961 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30962 Likewise.
30963 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30964 Likewise.
30965
ab5ac271
FW
309662017-09-06 Florian Weimer <fweimer@redhat.com>
30967
30968 * malloc/dynarray_emplace_enlarge.c
30969 (__libc_dynarray_emplace_enlarge): Add missing else.
30970
a8304730
FW
309712017-09-06 Florian Weimer <fweimer@redhat.com>
30972
30973 [BZ #22096]
30974 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30975 case of failure to obtain the global conf object.
30976
5670c4ab
FW
309772017-09-06 Florian Weimer <fweimer@redhat.com>
30978
30979 [BZ #22095]
30980 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30981 dynarray allocation failure.
30982
c77eb969
FW
309832017-09-06 Florian Weimer <fweimer@redhat.com>
30984
30985 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30986 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30987 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30988 New functions.
30989 (response): Call them. Add 'p', '6' flag processing.
30990 (test_reverse): New function.
30991 (test_get2_any): Call it.
30992 (test_no_inet6): Add 'p' test.
30993 (test_inet6): Likewise.
30994
5e9c4d17
FW
309952017-09-06 Florian Weimer <fweimer@redhat.com>
30996
30997 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30998 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30999 the QNAME.
31000 (test_gai): Adjust query names. Add additional tests.
31001 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
31002 test_get2. Adjust query names. Add additional tests.
31003 (test_no_inet6): New function, extracted from threadfunc.
31004 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31005 Add additional tests.
31006
2ae5be04
MF
310072017-09-06 Mike FABIAN <mfabian@redhat.com>
31008
31009 [BZ #22070]
31010 * localedata/unicode-gen/utf8_gen.py: Set the width for
31011 characters with Prepended_Concatenation_Mark property to 1
31012 * localedata/charmaps/UTF-8: Updated using the improved script.
31013
af83ed5c
MF
310142017-09-06 Mike FABIAN <mfabian@redhat.com>
31015
31016 [BZ #21750]
31017 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31018 use the range notation for all ranges of neighbouring characters
31019 with the same width.
31020
4f3647e4
JM
310212017-09-05 Joseph Myers <joseph@codesourcery.com>
31022
31023 * sysdeps/generic/math-type-macros-double.h: Include
31024 <math-svid-compat.h>.
31025 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31026 * sysdeps/generic/math-type-macros-float.h: Include
31027 <math-svid-compat.h>.
31028 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31029 * sysdeps/generic/math-type-macros-ldouble.h: Include
31030 <math-svid-compat.h>.
31031 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31032 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31033 condition.
31034 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31035 * math/w_acosf_compat.c: Likewise.
31036 * math/w_acosh_compat.c: Likewise.
31037 * math/w_acoshf_compat.c: Likewise.
31038 * math/w_acoshl_compat.c: Likewise.
31039 * math/w_acosl_compat.c: Likewise.
31040 * math/w_asin_compat.c: Likewise.
31041 * math/w_asinf_compat.c: Likewise.
31042 * math/w_asinl_compat.c: Likewise.
31043 * math/w_atan2_compat.c: Likewise.
31044 * math/w_atan2f_compat.c: Likewise.
31045 * math/w_atan2l_compat.c: Likewise.
31046 * math/w_atanh_compat.c: Likewise.
31047 * math/w_atanhf_compat.c: Likewise.
31048 * math/w_atanhl_compat.c: Likewise.
31049 * math/w_cosh_compat.c: Likewise.
31050 * math/w_coshf_compat.c: Likewise.
31051 * math/w_coshl_compat.c: Likewise.
31052 * math/w_exp10_compat.c: Likewise.
31053 * math/w_exp10f_compat.c: Likewise.
31054 * math/w_exp10l_compat.c: Likewise.
31055 * math/w_exp2_compat.c: Likewise.
31056 * math/w_exp2f_compat.c: Likewise.
31057 * math/w_exp2l_compat.c: Likewise.
31058 * math/w_fmod_compat.c: Likewise.
31059 * math/w_fmodf_compat.c: Likewise.
31060 * math/w_fmodl_compat.c: Likewise.
31061 * math/w_hypot_compat.c: Likewise.
31062 * math/w_hypotf_compat.c: Likewise.
31063 * math/w_hypotl_compat.c: Likewise.
31064 * math/w_j0_compat.c: Likewise.
31065 * math/w_j0f_compat.c: Likewise.
31066 * math/w_j0l_compat.c: Likewise.
31067 * math/w_j1_compat.c: Likewise.
31068 * math/w_j1f_compat.c: Likewise.
31069 * math/w_j1l_compat.c: Likewise.
31070 * math/w_jn_compat.c: Likewise.
31071 * math/w_jnf_compat.c: Likewise.
31072 * math/w_jnl_compat.c: Likewise.
31073 * math/w_lgamma_r_compat.c: Likewise.
31074 * math/w_lgammaf_r_compat.c: Likewise.
31075 * math/w_lgammal_r_compat.c: Likewise.
31076 * math/w_log10_compat.c: Likewise.
31077 * math/w_log10f_compat.c: Likewise.
31078 * math/w_log10l_compat.c: Likewise.
31079 * math/w_log2_compat.c: Likewise.
31080 * math/w_log2f_compat.c: Likewise.
31081 * math/w_log2l_compat.c: Likewise.
31082 * math/w_log_compat.c: Likewise.
31083 * math/w_logf_compat.c: Likewise.
31084 * math/w_logl_compat.c: Likewise.
31085 * math/w_pow_compat.c: Likewise.
31086 * math/w_powf_compat.c: Likewise.
31087 * math/w_powl_compat.c: Likewise.
31088 * math/w_remainder_compat.c: Likewise.
31089 * math/w_remainderf_compat.c: Likewise.
31090 * math/w_remainderl_compat.c: Likewise.
31091 * math/w_sinh_compat.c: Likewise.
31092 * math/w_sinhf_compat.c: Likewise.
31093 * math/w_sinhl_compat.c: Likewise.
31094 * math/w_sqrt_compat.c: Likewise.
31095 * math/w_sqrtf_compat.c: Likewise.
31096 * math/w_sqrtl_compat.c: Likewise.
31097 * math/w_tgamma_compat.c: Likewise.
31098 * math/w_tgammaf_compat.c: Likewise.
31099 * math/w_tgammal_compat.c: Likewise.
31100 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31101 [LIBM_SVID_COMPAT].
31102 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31103 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31104 [LIBM_SVID_COMPAT].
31105 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31106 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31107 [LIBM_SVID_COMPAT].
31108 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31109 * sysdeps/i386/fpu/w_sqrt.c: New file.
31110 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31111 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31112 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31113 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31114 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31115 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31116 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31117 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31118 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31119 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31120 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31121 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31122 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31123 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31124 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31125 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31126 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31127 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31128 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31129 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31130 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31131 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31132 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31133 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31134 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31135 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31136 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31137 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31138 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31139 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31140 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31141 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31142 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31143 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31144 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31145 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31146 * sysdeps/ia64/fpu/w_log.c: Likewise.
31147 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31148 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31149 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31150 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31151 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31152 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31153 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31154 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31155 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31156 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31157 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31158 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31159 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31160 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31161 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31162 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31163 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31164 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31165 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31166 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31167 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31168 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31169 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31170 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31171 [LIBM_SVID_COMPAT].
31172 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31173 * sysdeps/ieee754/k_standard.c: Likewise.
31174 * sysdeps/ieee754/k_standardf.c: Likewise.
31175 * sysdeps/ieee754/k_standardl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31178 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31179 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31180 long_double_symbol call on [LIBM_SVID_COMPAT].
31181 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31182 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31183 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31184 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31185 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31186 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31187 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31188 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31189 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31190 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31191 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31192 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31193 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31194 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31195 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31196 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31197 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31198 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31199 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31200 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31201 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31202 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31203
05b38d64
SE
312042017-09-05 Steve Ellcey <sellcey@cavium.com>
31205
31206 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31207 * malloc/tst-mallocstate.c: Convert from test-skeleton
31208 to test-driver. Ifdef code using TEST_COMPAT macro.
31209 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31210 * math/test-matherr.c: Likewise.
31211
99d67918
JM
312122017-09-05 Joseph Myers <joseph@codesourcery.com>
31213
31214 [BZ #22086]
31215 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31216 comparing word with byte-swapped constant.
31217
c207f7ce 312182017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31219
31220 [BZ #20498]
31221 * locale/iso-639.def: add Miskito.
31222 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31223 * localedata/locales/miq_NI: New file.
31224
0a587a8a
L
312252017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31226
31227 [BZ #18822]
31228 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31229 (__mkdir): Likewise.
31230 * io/chmod.c (__chmod): Add libc_hidden_def.
31231 * io/mkdir.c (__mkdir): Likewise.
31232 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31233 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31234 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31235 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31236
f3a129b8
JM
312372017-09-04 Joseph Myers <joseph@codesourcery.com>
31238
1650e192
JM
31239 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31240 version to 4.13.
31241
f3a129b8
JM
31242 [BZ #22082]
31243 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31244 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31245
b38042f5
FW
312462017-09-04 Florian Weimer <fweimer@redhat.com>
31247
31248 * math/math.h: Issue warning if log is defined.
31249
059b6404
JM
312502017-09-04 Joseph Myers <joseph@codesourcery.com>
31251
31252 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31253 kernel version to 4.13.
31254
b794e16b
ST
312552017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31256
31257 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31258 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31259 parameter.
01969395
ST
31260 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31261 just <bits/types.h>.
dd2b31de 31262 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31263 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31264 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31265 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31266 * misc/preadv2.c: Include <errno.h>.
31267 * misc/preadv64v2.c: Include <errno.h>.
31268 * misc/pwritev2.c: Include <errno.h>.
31269 * misc/pwritev64v2.c: Include <errno.h>.
31270 * sysdeps/posix/preadv2.c: Include <errno.h>.
31271 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31272 Fix <unistd.h> inclusion.
31273 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31274 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31275 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31276 __strtoul_internal): New functions.
127e7773
ST
31277 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31278 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31279 * sysdeps/mach/hurd/i386/Makefile
31280 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31281 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31282 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31283 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31284 __feraiseexcept_renamed to feraiseexcept instead of
31285 __GI_feraiseexcept.
56bf5497 31286 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31287 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31288 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31289 RWF_NOWAIT): Define to 0 if undefined already.
31290 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31291 boils down to 0.
6547ec0a
ST
31292 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31293 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31294
5a80d39d
JM
312952017-09-01 Joseph Myers <joseph@codesourcery.com>
31296
31297 * manual/math.texi (pow10): Do not document.
31298 (pow10f): Likewise.
31299 (pow10l): Likewise.
31300 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31301 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31302 * math/libm-test-exp10.inc (pow10_test): Remove.
31303 (do_test): Do not call pow10.
31304 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31305 [NO_LONG_DOUBLE] (pow10l): Likewise.
31306 * math/w_exp10f_compat.c (pow10f): Likewise.
31307 * math/w_exp10l_compat.c (pow10l): Likewise.
31308 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31309 (pow10): Make into compat symbol.
31310 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31311 (pow10f): Make into compat symbol.
31312 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31313 (pow10l): Make into compat symbol.
31314 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31315 pow10.
31316 (CFLAGS-nldbl-pow10.c): Remove variable..
31317 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31318 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31319 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31320 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31321 Undefine and redefine.
31322 (pow10l): Make into compat symbol.
31323 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31324 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31325 * sysdeps/arm/libm-test-ulps: Likewise.
31326 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31327 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31328 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31329 * sysdeps/microblaze/libm-test-ulps: Likewise.
31330 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31331 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31332 * sysdeps/nios2/libm-test-ulps: Likewise.
31333 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31334 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31335 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31336 * sysdeps/sh/libm-test-ulps: Likewise.
31337 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31338 * sysdeps/tile/libm-test-ulps: Likewise.
31339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31340
3824fc38
PP
313412017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31342
31343 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31344
b3008279
L
313452017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31346
31347 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31348 "../ChangeLog.old/ChangeLog.8".
31349 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31350 "../ChangeLog.old/ChangeLog.14".
31351
136fa185
L
313522017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31353
31354 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31355 Threads Library.
31356
c18d50a2
JM
313572017-09-01 Joseph Myers <joseph@codesourcery.com>
31358
31359 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31360
bedbd859
L
313612017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31362
31363 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31364 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31365
50c66c7a
PP
313662017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31367
31368 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31369 32 atexit handlers.
31370
a617bd11
ZW
313712017-09-01 Zack Weinberg <zackw@panix.com>
31372
31373 * math/math.h (HUGE_VAL): Improve commentary.
31374
e0d2eb5a
AZ
313752017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31376 Andreas Schwab <schwab@suse.de>
31377
31378 [BZ #21530]
31379 * include/stdio.h (__gen_tempfd): New function.
31380 * stdio-common/Makefile (routines): Add gentempfd.
31381 * stdio-common/gentempfd.c: New file.
31382 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31383 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31384 unnamed file first.
31385
f4a6be25
FW
313862017-09-01 Florian Weimer <fweimer@redhat.com>
31387
31388 [BZ #21915]
31389 [BZ #21922]
31390 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31391 result to determine success or failure, not the errno value.
31392 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31393 (tst-nss-files-hosts-erange): Link with -ldl.
31394 * nss/tst-nss-files-hosts-erange.c: New file.
31395 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31396 (do_test): Add NO_DATA tests.
31397 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31398 (do_test): Call it.
31399
5f8340f5
FW
314002017-09-01 Florian Weimer <fweimer@redhat.com>
31401
31402 [BZ #21922]
31403 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31404 coming from gethostbyname2_r.
31405
65329bd2
FW
314062017-09-01 Florian Weimer <fweimer@redhat.com>
31407
31408 * support/namespace.h (struct support_chroot_configuration): Add
31409 hosts, host_conf.
31410 (struct support_chroot): Add path_hosts, path_host_conf.
31411 * support/support_chroot.c (write_file): New function.
31412 (support_chroot_create): Call it to process /etc/resolv.conf,
31413 /etc/hosts, /etc/host.conf.
31414 (support_chroot_free): Update.
31415
a2881ef0
FW
314162017-09-01 Florian Weimer <fweimer@redhat.com>
31417
31418 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31419 status indicates it is set.
31420
ad816a5e
FW
314212017-09-01 Florian Weimer <fweimer@redhat.com>
31422
63b52889 31423 [BZ #20532]
ad816a5e
FW
31424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31425 function lookup failures more reliable.
31426
53250a21
FW
314272017-09-01 Florian Weimer <fweimer@redhat.com>
31428
31429 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31430 (getcanonname): Likewise.
31431 (gaih_inet): Likewise.
31432
924b121c
FW
314332017-09-01 Florian Weimer <fweimer@redhat.com>
31434
31435 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31436 (getcanonname): Likewise.
31437 (gaih_inet): Likewise.
31438
d9ff799a 314392017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31440 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31441
31442 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31443 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31444 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31445 (IREG_SIZE, OREG_SIZE): New macros.
31446 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31447 (IREG_SIZE, OREG_SIZE): New macros.
31448 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31449 (IREG_SIZE): New macro.
31450 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31451 (IREG_SIZE): New macro.
31452 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31453 New includes.
31454 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31455 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31456 (__CONCATX): Handle exceptions correctly on large values that may
31457 set FE_INVALID.
31458 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31459 Initialize if not already set.
b39d961c 31460 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31461
102dde84
AZ
314622017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31463
31464 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31465 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31466 Likewise.
31467 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31468 Likewise.
31469 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31470 Likewise.
31471 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31472 Likewise.
31473 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31474 Likewise.
31475 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31476 Likewise.
31477 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31478 Likewise.
31479 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31480 (NO_CANCELLATION): Likewise.
31481 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31482 Likewise.
31483 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31484 Likewise.
31485 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31486 Likewise.
31487 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31488 (NO_CANCELLATION): Likewise.
31489 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31490 (NO_CANCELLATION): Likewise.
31491 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31492 Likewise
31493 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31494 Likewise.
31495 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31496 Likewise.
31497 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31498 Likewise.
31499 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31500 hidden prototype.
31501 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31502 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31503
9eee633b
SE
315042017-08-31 Steve Ellcey <sellcey@cavium.com>
31505
31506 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31507 in resolver call.
31508
65284eb7
FW
315092017-08-31 Florian Weimer <fweimer@redhat.com>
31510
31511 * include/libc-symbols.h (internal_function): Remove.
31512
41ad5ca6
FW
315132017-08-31 Florian Weimer <fweimer@redhat.com>
31514
31515 * stdlib/fmtmsg.c (internal_addseverity): Remove
31516 internal_function.
31517
2fa6d086
FW
315182017-08-31 Florian Weimer <fweimer@redhat.com>
31519
31520 * stdio-common/printf_fp.c (group_number): Remove
31521 internal_function.
31522 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31523
b41bd5bc
FW
315242017-08-31 Florian Weimer <fweimer@redhat.com>
31525
31526 * posix/fnmatch.c (internal_function): Remove definition.
31527 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31528 * posix/regcomp.c (peek_token, init_word_char)
31529 (duplicate_node_closure, fetch_token, peek_token)
31530 (peek_token_bracket, build_range_exp, build_collating_symbol):
31531 Likewise.
31532 * posix/regex_internal.c (re_string_construct_common)
31533 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31534 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31535 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31536 (re_string_translate_buffer, re_string_reconstruct)
31537 (re_string_peek_byte_case, re_string_fetch_byte_case)
31538 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31539 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31540 (re_node_set_add_intersect, re_node_set_init_union)
31541 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31542 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31543 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31544 (re_acquire_state_context): Likewise.
31545 * posix/regex_internal.h (internal_function): Remove definition.
31546 (re_string_realloc_buffers, build_wcs_buffer)
31547 (build_wcs_upper_buffer, build_upper_buffer)
31548 (re_string_translate_buffer, re_string_context_at)
31549 (re_string_char_size_at, re_string_wchar_at)
31550 (re_string_elem_size_at): Likewise.
31551 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31552 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31553 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31554 (re_search_internal, re_search_2_stub, re_search_stub)
31555 (re_copy_regs, prune_impossible_nodes, check_matching)
31556 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31557 (free_fail_stack_return, sift_states_iter_mb)
31558 (sift_states_backward, build_sifted_states)
31559 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31560 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31561 (check_subexp_limits, sift_states_bkref, merge_state_array)
31562 (find_recover_state, transit_state, merge_state_with_log)
31563 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31564 (transit_state_mb, transit_state_bkref, get_subexp)
31565 (get_subexp_sub, find_subexp_node, check_arrival)
31566 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31567 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31568 (check_node_accept_bytes, find_collation_sequence_value)
31569 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31570 (acquire_init_state_context, check_halt_node_context)
31571 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31572 (sub_epsilon_src_nodes): Likewise.
31573 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31574 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31575 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31576 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31577 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31578 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31579 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31580 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31581 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31582 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31583 (PREADV): Likewise.
31584 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31585 (PREADV): Likewise.
31586 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31587 (PWRITEV): Likewise.
31588 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31589 (PWRITEV): Likewise.
31590 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31591 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31592
83b09837
FW
315932017-08-31 Florian Weimer <fweimer@redhat.com>
31594
31595 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31596 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31597 Remove internal_function.
31598 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31599 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31600 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31601 (__deallocate_stack, __libc_pthread_init)
31602 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31603 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31604 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31605 Likewise.
31606 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31607 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31608 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31609 Likewise.
31610 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31611 (__pthread_mutex_unlock_usercnt): Likewise.
31612
116ac301
FW
316132017-08-31 Florian Weimer <fweimer@redhat.com>
31614
31615 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31616 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31617 (fts_safe_changedir): Remove internal_function.
31618 * io/ftw.c (internal_function): Remove definition.
31619 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31620
9da93bd7
FW
316212017-08-31 Florian Weimer <fweimer@redhat.com>
31622
31623 * inet/deadline.c (__deadline_current_time)
31624 (__deadline_from_timeval, __deadline_to_ms): Remove
31625 internal_function.
31626 * inet/getnameinfo.c (nrl_domainname): Likewise.
31627 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31628 * inet/inet6_option.c (add_pad): Likewise.
31629 * inet/net-internal.h (__deadline_current_time)
31630 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31631 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31632 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31633 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31634
a60eca2e
JM
316352017-08-31 Joseph Myers <joseph@codesourcery.com>
31636
c0c49d60
JM
31637 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31638 include <bits/nan.h>.
31639 * math/Makefile (headers): Remove bits/nan.h.
31640 * bits/nan.h: Remove.
31641 * sysdeps/ieee754/bits/nan.h: Likewise.
31642 * sysdeps/mips/bits/nan.h: Likewise.
31643
5ef1b213
JM
31644 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31645 not include <bits/inf.h>.
31646 * math/Makefile (headers): Remove bits/inf.h.
31647 * bits/inf.h: Remove.
31648 * sysdeps/ieee754/bits/inf.h: Likewise.
31649
a60eca2e
JM
31650 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31651 bits/huge_vall.h or bits/huge_val_flt128.h.
31652 (HUGE_VAL): Define directly here.
31653 [__USE_ISOC99] (HUGE_VALF): Likewise.
31654 [__USE_ISOC99] (HUGE_VALL): Likewise.
31655 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31656 (HUGE_VAL_F128): Likewise.
31657 * math/Makefile (headers): Remove bits/huge_val.h,
31658 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31659 * bits/huge_val.h: Remove.
31660 * bits/huge_val_flt128.h: Likewise.
31661 * bits/huge_valf.h: Likewise.
31662 * bits/huge_vall.h: Likewise.
31663 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31664 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31665 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31666 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31667 * sysdeps/sh/bits/huge_val.h: Likewise.
31668 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31669 * sysdeps/x86/bits/huge_vall.h: Likewise.
31670
17e00cc6
FW
316712017-08-31 Florian Weimer <fweimer@redhat.com>
31672
31673 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31674 internal_function.
31675 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31676 Likewise.
31677 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31678 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31679 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31680 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31681 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31682 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31683 * elf/dl-libc.c (dlerror_run): Likewise.
31684 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31685 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31686 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31687 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31688 Likewise.
31689 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31690 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31691 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31692 * elf/dl-profile.c (_dl_start_profile): Likewise.
31693 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31694 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31695 Likewise.
31696 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31697 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31698 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31699 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31700 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31701 (_dl_allocate_tls_storage): Likewise.
31702 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31703 (_dl_check_all_versions): Likewise.
31704 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31705 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31706 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31707 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31708 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31709 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31710 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31711 internal_function from __dl_start.
31712 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31713 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31714 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31715 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31716 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31717 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31718 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31719 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31720 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31721 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31722 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31723 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31724 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31725 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31726 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31727 Likewise.
31728 (struct rtld_global_ro): Remove internal_function from the
31729 _dl_lookup_symbol_x member.
31730 (_dl_symbol_value): Remove. No longer defined anywhere.
31731 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31732 internal_function.
31733 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31734 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31735 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31736 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31737 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31738 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31739 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31740 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31741 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31742 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31743 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31744 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31745
8d2f9410
FW
317462017-08-31 Florian Weimer <fweimer@redhat.com>
31747
31748 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31749 Remove internal_function.
31750 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31751 Likewise.
31752 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31753 Likewise.
31754
86e4919f
FW
317552017-08-31 Florian Weimer <fweimer@redhat.com>
31756
31757 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31758 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31759 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31760
59bd52b0
FW
317612017-08-31 Florian Weimer <fweimer@redhat.com>
31762
31763 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31764 (__gai_enqueue_request): Remove internal_function.
31765 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31766 (__gai_remove_request, __gai_notify, __gai_notify_only)
31767 (__gai_sigqueue): Likewise.
31768 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31769 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31770 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31771 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31772 Likewise.
31773
fc3d9497
FW
317742017-08-31 Florian Weimer <fweimer@redhat.com>
31775
31776 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31777 * include/dirent.h (__opendirat, __getdents, __getdents64)
31778 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31779 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31780 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31781 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31782 Likewise.
31783 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31784
18c54fac
FW
317852017-08-31 Florian Weimer <fweimer@redhat.com>
31786
31787 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31788 internal_function.
31789 (GETCWD_RETURN_TYPE): Likewise.
31790
7e01f080
FW
317912017-08-31 Florian Weimer <fweimer@redhat.com>
31792
31793 * include/time.h (__tz_compute, __strptime_internal): Remove
31794 internal_function.
31795 * time/strptime_l.c (__strptime_internal): Likewise.
31796 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31797
d7ccc6c9
FW
317982017-08-31 Florian Weimer <fweimer@redhat.com>
31799
31800 * iconv/gconv.c (__gconv): Remove internal_function.
31801 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31802 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31803 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31804 (__gconv_release_cache): Likewise.
31805 * iconv/gconv_close.c (__gconv_close): Likewise.
31806 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31807 (read_conf_file, __gconv_get_path): Likewise.
31808 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31809 (__gconv_release_step, gen_steps, increment_counter)
31810 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31811 (__gconv_close_transform, free_modules_db): Likewise.
31812 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31813 Likewise.
31814 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31815 (__gconv_find_transform, __gconv_lookup_cache)
31816 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31817 (__gconv_close_transform, __gconv_release_cache)
31818 (__gconv_loaded_object, __gconv_release_shlib)
31819 (__gconv_compare_alias): Likewise.
31820 * iconv/gconv_open.c (__gconv_open): Likewise.
31821 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31822 * iconv/iconvconfig.c (add_module): Likewise.
31823 * intl/dcigettext.c (plural_lookup, guess_category_value)
31824 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31825 * intl/eval-plural.h (plural_eval): Likewise.
31826 * intl/finddomain.c (_nl_find_domain): Likewise.
31827 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31828 (_nl_load_domain, _nl_find_msg): Likewise.
31829 (internal_function): Remove definition.
31830 * intl/loadinfo.h (internal_function): Likewise.
31831 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31832 internal_function.
31833 * intl/localealias.c (internal_function): Remove definition.
31834 (read_alias_file): Remove internal_function.
31835 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31836 * intl/plural-exp.h (internal_function): Remove definition.
31837 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31838 internal_function.
31839 * intl/plural.c: Regenerate.
31840 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31841 * locale/coll-lookup.c (__collidx_table_lookup)
31842 (__collseq_table_lookup): Likewise.
31843 * locale/coll-lookup.h (__collidx_table_lookup)
31844 (__collseq_table_lookup): Likewise.
31845 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31846 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31847 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31848 (_nl_unload_locale): Likewise.
31849 * locale/localeinfo.h (struct __locale_data): Remove
31850 internal_function from cleanup member.
31851 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31852 (_nl_remove_locale, _nl_load_locale_from_archive)
31853 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31854 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31855 (_nl_cleanup_time): Remove internal_function.
31856 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31857 (_nl_parse_alt_digit): Likewise.
31858 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31859 (_nl_select_era_entry): Likewise.
31860 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31861 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31862 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31863 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31864 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31865
dab0eece
FW
318662017-08-31 Florian Weimer <fweimer@redhat.com>
31867
31868 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31869 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31870 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31871 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31872 Likewise.
31873 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31874 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31875 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31876 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31877 Likewise.
31878 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31879
ab5bf7cf
FW
318802017-08-31 Florian Weimer <fweimer@redhat.com>
31881
31882 * misc/getttyent.c (skip, value): Remove internal_function.
31883 * misc/syslog.c (openlog_internal): Likewise.
31884 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31885
75b3047e
FW
318862017-08-31 Florian Weimer <fweimer@redhat.com>
31887
31888 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31889 (__nss_rewrite_field): Remove internal_function.
31890 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31891 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31892 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31893 * nss/nsswitch.c (nss_parse_file, nss_getline)
31894 (nss_parse_service_list, nss_new_service): Likewise.
31895 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31896 * nss/valid_field.c (__nss_valid_field): Likewise.
31897 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31898
0c71122c
FW
318992017-08-31 Florian Weimer <fweimer@redhat.com>
31900
31901 * malloc/arena.c (__malloc_fork_lock_parent)
31902 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31903 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31904 internal_function from defintions.
31905 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31906 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31907 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31908 internal_function from declarations.
31909 * malloc/malloc.c (internal_function): Do not define.
31910 (mem2mem_check): Remove internal_function from declaration.
31911 (munmap_chunk, mremap_chunk): Remove internal_function.
31912 * malloc/mtrace.c (tr_where): Likewise.
31913
ca4ec803
FW
319142017-08-31 Florian Weimer <fweimer@redhat.com>
31915
31916 * include/rpc/pmap_clnt.h (__get_socket): Remove
31917 internal_function.
31918 * sunrpc/auth_des.c (synchronize): Likewise.
31919 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31920 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31921 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31922 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31923 (key_call): Likewise.
31924 * sunrpc/pm_getport.c (__get_socket): Likewise.
31925 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31926 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31927 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31928 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31929 (invalidate): Likewise.
31930 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31931 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31932 (set_input_fragment, get_input_bytes): Likewise.
31933
24cffce7
FW
319342017-08-31 Florian Weimer <fweimer@redhat.com>
31935
31936 * malloc/malloc.c (_int_free): Remove locked variable and related
31937 asserts.
31938
ecd0747d
L
319392017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31940
31941 [BZ #22051]
31942 * Makerules (build-module-helper-objlist): Filter out
31943 $(elf-objpfx)sofini.os.
31944 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31945 needed.
31946
5f0704b6
FW
319472017-08-31 Florian Weimer <fweimer@redhat.com>
31948
31949 * libio/fcloseall.c: Assume weak_alias is defined.
31950 * libio/feof.c: Likewise.
31951 * libio/fileno.c: Likewise.
31952 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31953 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31954 definitions.
31955 (_IO_file_open): Call __open directly.
31956 (_IO_new_file_sync): Assume ESPIPE is defined.
31957 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31958 (_IO_new_file_write): Call __write directly.
31959 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31960 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31961 * libio/genops.c: Assume _LIBC is defined.
31962 (save_for_backup): Remove internal_function.
31963 * libio/getc.c: Assume weak_alias is defined.
31964 * libio/getwc.c: Likewise.
31965 * libio/iofclose.c: Assume _LIBC is defined.
31966 * libio/iofdopen.c: Likewise.
31967 (_IO_fcntl): Remove macro definition.
31968 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31969 Call __fcntl directly.
31970 * libio/iofflush.c: Assume weak_alias is defined.
31971 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31972 defined.
31973 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31974 * libio/iofgets.c: Likewise.
31975 * libio/iofopen.c: Assume _LIBC is defined.
31976 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31977 * libio/iofputs.c: Assume weak_alias is defined.
31978 * libio/iofread.c: Likewise.
31979 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31980 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31981 * libio/ioftell.c: Assume weak_alias is defined.
31982 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31983 * libio/iofwide.c: Assume _LIBC is defined.
31984 (_IO_fwide): Drop SHARED conditional because it is implied by
31985 SHLIB_COMPAT.
31986 * libio/iofwrite.c: Assume weak_alias is defined.
31987 * libio/iogetdelim.c: Likewise.
31988 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31989 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31990 (_IO_getwline): Call __wmemcpy directly.
31991 * libio/iopopen.c: Assume _LIBC is defined.
31992 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31993 (_IO_close): Remove macro definitions.
31994 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31995 _exit directly.
31996 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31997 directly.
31998 * libio/ioputs.c: Assume weak_alias is defined.
31999 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
32000 * libio/iosetbuffer.c: Assume weak_alias is defined.
32001 * libio/iosetvbuf.c: Likewise.
32002 * libio/ioungetc.c: Likewise.
32003 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
32004 libc_hidden_def, libc_hidden_weak, NULL are defined.
32005 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32006 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32007 defined.
32008 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32009 definitions.
32010 (_IO_old_file_init_internal): Drop SHARED conditional because it
32011 is implied by SHLIB_COMPAT.
32012 (_IO_old_file_fopen): Call __open directly.
32013 (_IO_old_file_sync): Assume ESPIPE is defined.
32014 (_IO_old_file_write): Call __write directly.
32015 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32016 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32017 Call __fcntl directly.
32018 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32019 (_IO_old_fgetpos): Assume EIO is defined.
32020 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32021 (_IO_old_fgetpos64): Assume EIO is defined.
32022 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32023 (_IO_old_fsetpos): Assume EIO is defined.
32024 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32025 (_IO_old_fsetpos64): Assume EIO is defined.
32026 * libio/oldiopopen.c: Assume _LIBC is defined.
32027 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32028 (_IO_close): Remove macro definitions.
32029 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32030 directly.
32031 (_IO_old_proc_close): Call __close, __waitpid directly.
32032 * libio/put.c: Assume weak_alias is defined.
32033 * libio/stdfiles.c: Assume _LIBC is defined.
32034 * libio/stdio.c: Likewise.
32035 * libio/wfileops.c: Likewise.
32036 (_IO_wfile_sync): Assume ESPIPE is defined.
32037 * libio/wgenops.c: Assume _LIBC is defined.
32038 (save_for_wbackup): Remove internal_function.
32039
5129873a
FW
320402017-08-31 Florian Weimer <fweimer@redhat.com>
32041
32042 * malloc/malloc.c (top_check): Change return type to void. Remove
32043 internal_function.
32044 * malloc/hooks.c (top_check): Likewise.
32045 (malloc_check, realloc_check, memalign_check): Adjust.
32046
4fa9b3bf
JM
320472017-08-30 Joseph Myers <joseph@codesourcery.com>
32048
32049 [BZ #21457]
32050 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32051 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32052 sigcontext and namespace requirements.
32053 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32054 * sysdeps/m68k/sys/ucontext.h: Likewise.
32055 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32056 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32057 <bits/sigcontext.h>.
32058 (__ctx): Define earlier.
32059 (mcontext_t): Define structure contents rather than using struct
32060 sigcontext.
32061 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32062 __glibc_reserved1 instead of __reserved.
32063 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32064 <bits/sigcontext.h>.
32065 (__ctx): Define earlier.
32066 (mcontext_t): Define structure contents rather than using struct
32067 sigcontext.
32068 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32069 mcontext_t instead of struct sigcontext.
32070 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32071 <bits/sigcontext.h>.
32072 (__ctx): Define earlier.
32073 (mcontext_t): Define structure contents rather than using struct
32074 sigcontext.
32075 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32076 <bits/sigcontext.h>.
32077 (__ctx): Define earlier.
32078 (mcontext_t): Define structure contents rather than using struct
32079 sigcontext.
32080 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32081 mcontext_t instead of struct sigcontext.
32082 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32083 mcontext_t instead of struct sigcontext.
32084 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32085 <bits/sigcontext.h>.
32086 (__ctx): New macro.
32087 (struct __ia64_fpreg_mcontext): New type.
32088 (mcontext_t): Define structure contents rather than using struct
32089 sigcontext.
32090 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32091 (uc_sigmask): Define using __ctx.
32092 (uc_stack): Likewise.
32093 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32094 <bits/sigcontext.h>.
32095 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32096 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32097 <bits/sigcontext.h>.
32098 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32099 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32100 <bits/sigcontext.h>.
32101 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32102 <bits/sigcontext.h>.
32103 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32104 <bits/sigcontext.h>.
32105 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32106 <bits/sigcontext.h>.
32107 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32108 <bits/sigcontext.h>.
32109 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32110 <bits/sigcontext.h>.
32111 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32112 <bits/sigcontext.h>.
32113 (__ctx): Define earlier.
32114 (mcontext_t): Define structure contents rather than using struct
32115 sigcontext.
32116 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32117 <bits/sigcontext.h>. Include <bits/types.h>.
32118 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32119 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32120 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32121 (test-xfail-UNIX98/signal.h/conform): Likewise.
32122 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32123 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32124 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32125 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32126 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32127 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32128 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32129 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32130 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32131
5898f454
FW
321322017-08-30 Florian Weimer <fweimer@redhat.com>
32133
32134 * malloc/dynarray_emplace_enlarge.c
32135 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32136 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32137 * malloc/tst-dynarray.c (test_long_overflow): New function.
32138 (do_test): Call it.
32139
a9da0bb2
FW
321402017-08-30 Florian Weimer <fweimer@redhat.com>
32141
32142 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32143 (set_arena_corrupt): Remove definitions.
32144 (mtrim): Do not check for corrupt arena.
32145 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32146 Likewise.
32147
ac3ed168
FW
321482017-08-30 Florian Weimer <fweimer@redhat.com>
32149
32150 [BZ #21754]
32151 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32152 check_action.
32153 (ptmalloc_init): Do not set or use check_action.
32154 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32155 call to malloc_printerr. Remove return statement.
32156 (free_check): Likewise. Remove arena unlock.
32157 (top_check): Update comment. Adjust call to malloc_printerr.
32158 Remove heap repair code.
32159 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32160 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32161 (sysmalloc): Adjust call to malloc_printerr.
32162 (munmap_chunk, __libc_realloc): Likewise. Remove return
32163 statement.
32164 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32165 Remove errout label and corresponding gotos.
32166 (_int_free): Likewise. Remove arena unlock.
32167 (do_set_mallopt_check): Do not set check_action.
32168 (malloc_printerr): Adjust parameter list. Do not mark arena as
32169 corrupt.
32170 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32171 comment.
32172 * manual/probes.texi (Memory Allocation Probes): Remove
32173 memory_mallopt_check_action.
32174
44bcba80
SE
321752017-08-30 Steve Ellcey <sellcey@cavium.com>
32176
32177 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32178 Use pointer to uint64_t instead of long int for sp.
32179
ec2c1fce
FW
321802017-08-30 Florian Weimer <fweimer@redhat.com>
32181
32182 [BZ #21754]
32183 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32184 without printing a backtrace. Do not leak any information in the
32185 error message.
32186 * manual/memory.texi (Heap Consistency Checking): Update.
32187 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32188
9ce673b6
FW
321892017-08-30 Florian Weimer <fweimer@redhat.com>
32190
32191 Do not scale NPTL tests with available number of CPUs.
32192 * nptl/tst-cond16.c (count): Set to constant value of 8.
32193 * nptl/tst-cond18.c (count): Likewise.
32194
2f1aef19
JM
321952017-08-29 Joseph Myers <joseph@codesourcery.com>
32196
32197 [BZ #22035]
32198 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32199 Define to take a second argument that is a macro that
32200 concatentates a suffix, not the suffix itself.
32201 (__CONCAT_d): New macro.
32202 (__CONCAT_f): Likewise.
32203 (__CONCAT_l): Likewise.
32204
8325b477
PP
322052017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32206
32207 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32208 by child.
32209
319cbbf6
AZ
322102017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32211 Aurelien Jarno <aurelien@aurel32.net>
32212 Maciej W. Rozycki <macro@imgtec.com>
32213
32214 [BZ #21956]
32215 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32216 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32217 `mips16-syscall6' and `mips16-syscall7'.
32218 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32219 (CFLAGS-mips16-syscall7.c): Remove.
32220 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32221 Remove `__mips16_syscall5', `__mips16_syscall6' and
32222 `__mips16_syscall7'.
32223 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32224 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32225 `__mips_syscall_return'.
32226 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32227 (__mips16_syscall1): Likewise.
32228 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32229 (__mips16_syscall2): Likewise.
32230 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32231 (__mips16_syscall3): Likewise.
32232 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32233 (__mips16_syscall4): Likewise.
32234 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32235 Remove.
32236 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32237 Remove.
32238 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32239 Remove.
32240 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32241 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32242 `__mips16_syscall5'. Remove prototype.
32243 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32244 `__mips16_syscall6'. Remove prototype.
32245 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32246 `__mips16_syscall7'. Remove prototype.
32247 (__nomips16, __mips16_syscall_return): Move to...
32248 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32249 (__nomips16, __mips_syscall_return): ... here.
32250 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32251 `__mips16_syscall_return' to `__mips_syscall_return'.
32252 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32253 `internal_syscall##nr'.
32254 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32255 `internal_syscall##nr'.
32256 (FORCE_FRAME_POINTER): Remove.
32257 (__mips_syscall5): New prototype.
32258 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32259 (__mips_syscall6): New prototype.
32260 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32261 (__mips_syscall7): New prototype.
32262 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32263 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32264 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32265 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32266 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32267 (sysdep_routines): Add libc-do-syscall.
32268 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32269 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32270
01b87c65
AZ
322712017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32272
32273 [BZ #21672]
32274 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32275 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32276 (advise_stack_range): New function.
32277 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32278 stack non required to advise_stack_range at allocatestack.c
32279
16f138a4
SN
322802017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32281
32282 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32283
251bccfa
FW
322842017-08-29 Florian Weimer <fweimer@redhat.com>
32285
32286 [BZ #22026]
32287 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32288 __end_fct. Mangle __end_fct after setting it to NULL.
32289 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32290 (modules-names, modules-names-tests): Add
32291 tst-gconv-init-failure-mod.
32292 (gconv-modules): New target.
32293 (tst-gconv-init-failure-mod.so): Link against libsupport.
32294 (tst-gconv-init-failure): Depend on gconv-modules,
32295 tst-gconv-init-failure-mod.so.
32296 * iconv/tst-gconv-init-failure-mod.c: New file.
32297 * iconv/tst-gconv-init-failure.c: Likewise.
32298 * iconv/test-gconv-modules: Likewise.
32299
e7c18b9d
FW
323002017-08-29 Florian Weimer <fweimer@redhat.com>
32301
32302 [BZ #22025]
32303 * iconv/gconv_db.c (free_derivation): Remove redundant
32304 parentheses.
32305 (gen_steps): Unconditionally mangle __btowc_fct after
32306 initialization.
32307 (increment_counter): Likewise. Do not call init_fct for internal
32308 modules.
32309
7daada03
JM
323102017-08-29 Joseph Myers <joseph@codesourcery.com>
32311
32312 [BZ #22028]
32313 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32314 (_MSUF_): Remove macro.
32315 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32316 Likewise.
32317 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32318 (__REDIRFROM_X): New macro.
32319 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32320 Likewise.
32321 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32322 (__REDIRTO_X): Likewise.
32323 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32324 arguments.
32325 (__MATH_REDIRCALL_2): Likewise.
32326 (__MATH_REDIRCALL_INTERNAL): Likewise.
32327 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32328 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32329 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32330 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32331 * math/test-finite-macros.c: New file.
32332 * math/Makefile (tests): Add test-finite-macros.
32333 (CFLAGS-test-finite-macros.c): New variable.
32334
1cf1232c
PF
323352017-08-29 Patsy Franklin <pfrankli@redhat.com>
32336 Jeff Law <law@redhat.com>
32337
32338 [BZ #22025]
32339 Mangle NULL pointers in iconv/gconv.
32340 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32341 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32342 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32343 is non-NULL before demangling the end_fct. Check for NULL
32344 end_fct after demangling.
32345 (__gconv_release_step): Demangle the end_fct before checking
32346 it for NULL. Remove assert on __shlibc_handle != NULL.
32347 (gen_steps): Don't check btowc_fct for NULL before mangling.
32348 Demangle init_fct before checking for NULL.
32349 (increment_counter): Likewise.
32350 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32351 end_fct for NULL before mangling.
32352 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32353 for NULL.
32354
c207f7ce 323552017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32356
32357 [BZ #21971]
32358 * locale/iso-639.def: add Morisyen.
32359
42496114
GG
323602017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32361
32362 [BZ #21930]
32363 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32364 (iszero): New C++ implementation that does not use
32365 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32366 signaling nans are enabled, since __builtin_types_compatible_p
32367 is a C-only feature.
32368 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32369 defined, include ieee754_float128.h for access to the union and
32370 member ieee854_float128.ieee.
32371 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32372 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32373 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32374 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32375 options of test-math-zero on powerpc64le.
32376
5e2bc4ff
L
323772017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32378
32379 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32380 Change double to float.
32381
a48c0fb4
JM
323822017-08-28 Joseph Myers <joseph@codesourcery.com>
32383
32384 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32385 unconditional.
32386 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32387 conditional code; define contents only for [LIBM_SVID_COMPAT].
32388
ee17d4e9
FW
323892017-08-28 Florian Weimer <fweimer@redhat.com>
32390
32391 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32392 (abi-lp64_be-options): Remove.
32393 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32394 (abi-hard-options): Likewise.
32395 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32396 (abi-o32_hard-options, abi-o32_soft_2008-options)
32397 (abi-o32_hard_2008-options, abi-n32_soft-options)
32398 (abi-n32_hard-options, abi-n32_soft_2008-options)
32399 (abi-n32_hard_2008-options, abi-n64_soft-options)
32400 (abi-n64_hard-options, abi-n64_soft_2008-options)
32401 (abi-n64_hard_2008-options): Likewise.
32402 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32403 (abi-64-v1-options, abi-64-v2-options): Likewise.
32404 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32405 (abi-64-options): Likewise.
32406 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32407 (abi-64-options): Likewise.
32408 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32409 (abi-64-options): Likewise.
32410 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32411 (abi-64-options, abi-x32-options): Likewise.
32412
2dba5ce7
FW
324132017-08-28 Florian Weimer <fweimer@redhat.com>
32414
32415 Store supported list of SYS_* system calls in the source tree.
32416 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32417 (bits/syscall.h): Generate from list file.
32418 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32419 [$(subdir) = misc] (tests): Add tst-syscall-list.
32420 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32421 [$(subdir) = misc] (tst-syscall-list-macros.list)
32422 [$(subdir) = misc] (tst-syscall-list-nr.list)
32423 (tst-syscall-list-sys.list): Helper targets for new
32424 tst-syscall-list test.
32425 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32426 tst-syscall-list.sh.
32427 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32428 target. Do not include bits/syscall.d.
32429 [$(subdir) = misc] (generated): Do not update.
32430 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32431 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32432 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32433 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32434
5f3b183d
PP
324352017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32436
32437 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32438 (tst-cxa_atexit, tst-on_exit): Likewise.
32439 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32440 tst-cxa_atexit, and tst-on_exit.
32441 * stdlib/tst-atexit-common.c: New file.
32442 * stdlib/tst-atexit.c: New file.
32443 * stdlib/tst-at_quick_exit.c: New file.
32444 * stdlib/tst-cxa_atexit.c: New file.
32445 * stdlib/tst-on_exit.c: New file.
32446
2ef8d469
ST
324472017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32448
32449 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32450 * mach/stack_chk_fail_local.c: New file.
32451 * hurd/stack_chk_fail_local.c: New file.
32452 * mach/Machrules ($(interface-library)-routines): Add
32453 stack_chk_fail_local.
99ee4d26
ST
32454 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32455 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32456 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32457 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32458 * hurd/Makefile (CFLAGS-hurdstartup.o,
32459 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32460
7ab70c98
L
324612017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32462
32463 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32464 (index_cpu_*, index_arch_*): Removed.
32465
39e7a5a6
SN
324662017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32467
32468 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32469 Use uint64_t instead of unsigned long.
32470
bba5c930
JM
324712017-08-25 Joseph Myers <joseph@codesourcery.com>
32472
a6ccdb08
JM
32473 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32474 [__HAVE_DISTINCT_FLOAT128].
32475
23761119
JM
32476 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32477 of <bits/math-finite.h>.
32478 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32479 inclusion of <bits/math-finite.h>.
32480 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32481 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32482 __NO_LONG_DOUBLE_MATH].
32483 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32484 (__MATH_REDIRCALL_2): Likewise.
32485 (__MATH_REDIRCALL_INTERNAL): Likewise.
32486 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32487 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32488 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32489
bba5c930
JM
32490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32491 Remove file.
32492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32493 Likewise.
32494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32495 Likewise.
32496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32497 Likewise.
32498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32499 Likewise.
32500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32501 Likewise.
32502 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32503 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32504 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32505 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32507 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32508 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32509 w_sqrtf_compat-ppc32.
32510
3d7b66f6
GG
325112017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32512
32513 * math/math.h [defined __cplusplus] (issignaling): In the long
32514 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32515 is not defined. Call __issignaling, otherwise.
32516
ebd6f007
AZ
325172017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32518
32519 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32520 syscall definitions and replace __builtin_expect with __glibc_likely.
32521 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32522 syscall.
6b5c8607 32523 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32524 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32525 definition.
32526 (PSEUDO_END): Likewise.
32527 [IS_IN (libpthread)] (CENABLE): Likewise.
32528 [IS_IN (libpthread)] (CDISABLE): Likewise.
32529 [IS_IN (libc)] (CENABLE): Likewise.
32530 [IS_IN (libc)] (CENABLE): Likewise.
32531 [IS_IN (librt)] (CDISABLE): Likewise.
32532 [IS_IN (librt)] (CDISABLE): Likewise.
32533 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32534 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32535 definition.
32536 (PSEUDO_END): Likewise.
32537 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32538 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32539 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32540 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32541 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32542 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32543 (CENABLE): Likewise.
32544 (CDISABLE): Likewise.
32545 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32546 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32547 defintion.
32548 (PSEUDO_END): Likewise.
32549 [IS_IN (libpthread)] (CENABLE): Likewise.
32550 [IS_IN (libpthread)] (CDISABLE): Likewise.
32551 [IS_IN (libc)] (CENABLE): Likewise.
32552 [IS_IN (libc)] (CENABLE): Likewise.
32553 [IS_IN (librt)] (CDISABLE): Likewise.
32554 [IS_IN (librt)] (CDISABLE): Likewise.
32555 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32556 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32557 definition.
32558 (PSEUDO_END): Likewise.
32559 [IS_IN (libpthread)] (CENABLE): Likewise.
32560 [IS_IN (libpthread)] (CDISABLE): Likewise.
32561 [IS_IN (libc)] (CENABLE): Likewise.
32562 [IS_IN (libc)] (CENABLE): Likewise.
32563 [IS_IN (librt)] (CDISABLE): Likewise.
32564 [IS_IN (librt)] (CDISABLE): Likewise.
32565 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32566 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32567 definition.
32568 (PSEUDO_END): Likewise.
32569 [IS_IN (libpthread)] (CENABLE): Likewise.
32570 [IS_IN (libpthread)] (CDISABLE): Likewise.
32571 [IS_IN (libc)] (CENABLE): Likewise.
32572 [IS_IN (libc)] (CENABLE): Likewise.
32573 [IS_IN (librt)] (CDISABLE): Likewise.
32574 [IS_IN (librt)] (CDISABLE): Likewise.
32575 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32576 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32577 definition.
32578 (PSEUDO_END): Likewise.
32579 [IS_IN (libpthread)] (CENABLE): Likewise.
32580 [IS_IN (libpthread)] (CDISABLE): Likewise.
32581 [IS_IN (libc)] (CENABLE): Likewise.
32582 [IS_IN (libc)] (CENABLE): Likewise.
32583 [IS_IN (librt)] (CDISABLE): Likewise.
32584 [IS_IN (librt)] (CDISABLE): Likewise.
32585 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32586 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32587 definition.
32588 (PSEUDO_END): Likewise.
32589 [IS_IN (libpthread)] (CENABLE): Likewise.
32590 [IS_IN (libpthread)] (CDISABLE): Likewise.
32591 [IS_IN (libc)] (CENABLE): Likewise.
32592 [IS_IN (libc)] (CENABLE): Likewise.
32593 [IS_IN (librt)] (CDISABLE): Likewise.
32594 [IS_IN (librt)] (CDISABLE): Likewise.
32595 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32596 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32597 definition.
32598 (PSEUDO_END): Likewise.
32599 [IS_IN (libpthread)] (CENABLE): Likewise.
32600 [IS_IN (libpthread)] (CDISABLE): Likewise.
32601 [IS_IN (libc)] (CENABLE): Likewise.
32602 [IS_IN (libc)] (CENABLE): Likewise.
32603 [IS_IN (librt)] (CDISABLE): Likewise.
32604 [IS_IN (librt)] (CDISABLE): Likewise.
32605 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32606 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32607 Remove definition.
32608 (PSEUDO_END): Likewise.
32609 [IS_IN (libpthread)] (CENABLE): Likewise.
32610 [IS_IN (libpthread)] (CDISABLE): Likewise.
32611 [IS_IN (libc)] (CENABLE): Likewise.
32612 [IS_IN (libc)] (CENABLE): Likewise.
32613 [IS_IN (librt)] (CDISABLE): Likewise.
32614 [IS_IN (librt)] (CDISABLE): Likewise.
32615 (SINGLE_THREAD_P): Likewise.
32616 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32617 definition.
32618 (PSEUDO_END): Likewise.
32619 [IS_IN (libpthread)] (CENABLE): Likewise.
32620 [IS_IN (libpthread)] (CDISABLE): Likewise.
32621 [IS_IN (libc)] (CENABLE): Likewise.
32622 [IS_IN (libc)] (CENABLE): Likewise.
32623 [IS_IN (librt)] (CDISABLE): Likewise.
32624 [IS_IN (librt)] (CDISABLE): Likewise.
32625 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32626 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32627 definition.
32628 (PSEUDO_END): Likewise.
32629 [IS_IN (libpthread)] (CENABLE): Likewise.
32630 [IS_IN (libpthread)] (CDISABLE): Likewise.
32631 [IS_IN (libc)] (CENABLE): Likewise.
32632 [IS_IN (libc)] (CENABLE): Likewise.
32633 [IS_IN (librt)] (CDISABLE): Likewise.
32634 [IS_IN (librt)] (CDISABLE): Likewise.
32635 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32636 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32637 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32638 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32639 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32640 definition.
32641 (PSEUDO_END): Likewise.
32642 [IS_IN (libpthread)] (CENABLE): Likewise.
32643 [IS_IN (libpthread)] (CDISABLE): Likewise.
32644 [IS_IN (libc)] (CENABLE): Likewise.
32645 [IS_IN (libc)] (CENABLE): Likewise.
32646 [IS_IN (librt)] (CDISABLE): Likewise.
32647 [IS_IN (librt)] (CDISABLE): Likewise.
32648 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32649 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32650 definition.
32651 (PSEUDO_END): Likewise.
32652 [IS_IN (libpthread)] (CENABLE): Likewise.
32653 [IS_IN (libpthread)] (CDISABLE): Likewise.
32654 [IS_IN (libc)] (CENABLE): Likewise.
32655 [IS_IN (libc)] (CENABLE): Likewise.
32656 [IS_IN (librt)] (CDISABLE): Likewise.
32657 [IS_IN (librt)] (CDISABLE): Likewise.
32658 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32659 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32660 definition.
32661 (PSEUDO_END): Likewise.
32662 [IS_IN (libpthread)] (CENABLE): Likewise.
32663 [IS_IN (libpthread)] (CDISABLE): Likewise.
32664 [IS_IN (libc)] (CENABLE): Likewise.
32665 [IS_IN (libc)] (CENABLE): Likewise.
32666 [IS_IN (librt)] (CDISABLE): Likewise.
32667 [IS_IN (librt)] (CDISABLE): Likewise.
32668 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32669 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32670 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32671 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32672 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32673 definition.
32674 (PSEUDO_END): Likewise.
32675 [IS_IN (libpthread)] (CENABLE): Likewise.
32676 [IS_IN (libpthread)] (CDISABLE): Likewise.
32677 [IS_IN (libc)] (CENABLE): Likewise.
32678 [IS_IN (libc)] (CENABLE): Likewise.
32679 [IS_IN (librt)] (CDISABLE): Likewise.
32680 [IS_IN (librt)] (CDISABLE): Likewise.
32681 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32682 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32683 definition.
32684 (PSEUDO_END): Likewise.
32685 [IS_IN (libpthread)] (CENABLE): Likewise.
32686 [IS_IN (libpthread)] (CDISABLE): Likewise.
32687 [IS_IN (libc)] (CENABLE): Likewise.
32688 [IS_IN (libc)] (CENABLE): Likewise.
32689 [IS_IN (librt)] (CDISABLE): Likewise.
32690 [IS_IN (librt)] (CDISABLE): Likewise.
32691 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32692
8aa48656
SN
326932017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32694
32695 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32696
fcaaca41
L
326972017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32698
32699 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32700
376b40a2
L
327012017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32702
32703 [BZ #21982]
32704 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32705 middle and outer with size_t instead of int. Repleace %d and
32706 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32707 "MAX (outer, nchars - 64)" to support unsigned outer and
32708 nchars. Also exit loop when outer == 0.
32709
2b0b9a1c
AZ
327102017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32711
32712 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32713 * include/signal.h (__sigsuspend_nocancel): Likewise.
32714 * include/time.h (__nanosleep_nocancel): Likewise.
32715 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32716 * login/utmp_file.c: Include non cancellable syscall header.
32717 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32718 prototype.
32719
b9eaca8f
L
327202017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32721
32722 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32723 .byte sequences with AVX512F instructions.
32724 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32725 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32726 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32727 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32728 Likewise.
32729 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32730 Likewise.
32731
5a706f64
SE
327322017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32733 Steve Ellcey <sellcey@cavium.com>
32734
32735 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32736 Use PTR_REG macro in cmp instruction.
32737
b513da7e
GG
327382017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32739
32740 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32741 Change the return type of the ifunc resolver to match the return
32742 type of the target function.
32743
78ca091c
AZ
327442017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32745
b70b6026
AZ
32746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32747 (preadv64): Likewise.
32748 (pwrite64(: Likewise.
32749 (pwritev64): Likewise.
32750
78ca091c
AZ
32751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32752 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32753 (LOAD_ARGS_0): Likewise.
32754 (LOAD_ARGS_1): Likewise.
32755 (LOAD_ARGS_2): Likewise.
32756 (LOAD_ARGS_3): Likewise.
32757 (LOAD_ARGS_4): Likewise.
32758 (LOAD_ARGS_5): Likewise.
32759 (LOAD_ARGS_6): Likewise.
32760 (LOAD_REGS_0): Likewise.
32761 (LOAD_REGS_1): Likewise.
32762 (LOAD_REGS_2): Likewise.
32763 (LOAD_REGS_3): Likewise.
32764 (LOAD_REGS_4): Likewise.
32765 (LOAD_REGS_5): Likewise.
32766 (LOAD_REGS_6): Likewise.
32767 (ASM_ARGS_0): Likewise.
32768 (ASM_ARGS_1): Likewise.
32769 (ASM_ARGS_2): Likewise.
32770 (ASM_ARGS_3): Likewise.
32771 (ASM_ARGS_4): Likewise.
32772 (ASM_ARGS_5): Likewise.
32773 (ASM_ARGS_6): Likewise.
32774 (LOAD_ARGS_TYPES_1): Likewise.
32775 (LOAD_ARGS_TYPES_2): Likewise.
32776 (LOAD_ARGS_TYPES_3): Likewise.
32777 (LOAD_ARGS_TYPES_4): Likewise.
32778 (LOAD_ARGS_TYPES_5): Likewise.
32779 (LOAD_ARGS_TYPES_6): Likewise.
32780 (LOAD_REGS_TYPES_1): Likewise.
32781 (LOAD_REGS_TYPES_2): Likewise.
32782 (LOAD_REGS_TYPES_3): Likewise.
32783 (LOAD_REGS_TYPES_4): Likewise.
32784 (LOAD_REGS_TYPES_5): Likewise.
32785 (LOAD_REGS_TYPES_6): Likewise.
32786 (TYPEFY): New define.
32787 (ARGIFY): Likewise.
32788 (internal_syscall0): Likewise.
32789 (internal_syscall1): Likewise.
32790 (internal_syscall2): Likewise.
32791 (internal_syscall3): Likewise.
32792 (internal_syscall4): Likewise.
32793 (internal_syscall5): Likewise.
32794 (internal_syscall6): Likewise.
32795 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32796 (INTERNAL_SYSCALL_NCS): Remove define.
32797 (internal_syscall1): Add define.
32798
453a493d
GG
327992017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32800
32801 * math/w_remainder_compat.c: Remove duplicate inclusion of
32802 math-svid-compat.h.
32803 * math/w_remainderf_compat.c: Likewise.
32804 * math/w_remainderl_compat.c: Likewise.
32805
f2f048a5
GG
328062017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32807
32808 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32809
d9bef9c0
JM
328102017-08-22 Joseph Myers <joseph@codesourcery.com>
32811
32812 [BZ #21684]
32813 * math/tgmath.h (__floating_type): Simplify definitions.
32814 (__real_integer_type): New macro.
32815 (__complex_integer_type): Likewise.
32816 (__expr_is_real): Likewise.
32817 (__tgmath_real_type_sub): Update comment to describe handling of
32818 complex types.
32819 (__tgmath_complex_type_sub): New macro.
32820 (__tgmath_complex_type): Likewise.
32821 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32822 (__TGMATH_CF128): Use __expr_is_real.
32823 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32824 __expr_is_real.
32825 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32826 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32827 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32828 integer types.
32829
08d6eb46
AZ
328302017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32831
988f991b
AZ
32832 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32833 macro.
32834 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32835 alias.
32836 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32837 Likewise.
32838
6f33fd04
AZ
32839 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32840 nanosleep_not_cancel with __nanosleep_nocancel.
32841 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32842 (__nanosleep_nocancel): New macro.
32843 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32844 function.
32845 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32846 macro.
32847 (__nanosleep_nocancel): New prototype.
32848
08d6eb46
AZ
32849 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32850 pause_not_cancel with __pause_nocancel.
32851 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32852 (__pause_nocancel): New macro.
32853 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32854 macro.
32855 (__pause_nocancel): New prototype.
32856 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32857
ee4e992e
MS
328582017-08-22 Martin Sebor <msebor@redhat.com>
32859
32860 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32861 to return a pointer to the same type as the target function.
32862
20962acb
L
328632017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32864
32865 [BZ #18822]
32866 [BZ #21986]
32867 * include/printf.h (__printf_fphex): Add attribute_hidden.
32868 (__guess_grouping): New prototype.
32869 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32870 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32871 libc_hidden_proto and libc_hidden_def.
32872 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32873 (__vstrfmon_l): Remove the third argument passed to
32874 __guess_grouping.
32875
a16e8bc0
GG
328762017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32877
32878 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32879 definition for issignaling that does not rely on __MATH_TG,
32880 since __MATH_TG uses __builtin_types_compatible_p, which is only
32881 available in C mode.
32882 (CFLAGS-test-math-issignaling.cc): New variable.
32883 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32884 * math/test-math-issignaling.cc: New test for C++ implementation
32885 of type-generic issignaling.
32886 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32887 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32888 options of test-math-issignaling on powerpc64le.
32889
8d2ec553
L
328902017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32891
32892 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32893 building libc.a.
32894 (hidden_proto): Likewise.
32895 (hidden_tls_proto): Likewise.
32896 (__hidden_proto): Likewise.
32897
a4d57b79
FW
328982017-08-22 Florian Weimer <fweimer@redhat.com>
32899
32900 math: Statically link tests of internal functionality.
32901 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32902 atest-exp2.
32903 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32904 (gmp-objs): Remove assignment.
32905 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32906
75dfe623
JM
329072017-08-22 Joseph Myers <joseph@codesourcery.com>
32908
80f91666
JM
32909 [BZ #21987]
32910 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32911 and copy to ...
32912 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32913 ... here.
32914 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32915 ... and here.
32916
75dfe623
JM
32917 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32918 variable definitions above inclusion of ../Rules.
32919
ea99fcd0
JM
329202017-08-21 Joseph Myers <joseph@codesourcery.com>
32921
32922 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32923 case calling __builtin_unreachable.
32924
19926de9
AZ
329252017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32926
a8410a5f
AZ
32927 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32928 __waitpid_nocancel.
32929 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32930 (__waitpid_nocancel): New macro.
32931 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32932 macro.
32933 (__waitpid_nocancel): Replace macro with a function.
32934 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32935 function.
32936
7369800c
AZ
32937 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32938 __fcntl_nocancel.
32939 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32940 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32941
19926de9
AZ
32942 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32943 __writev_nocancel_nostatus.
32944 (write_call_graph): Likewise.
32945 (write_bb_counts): Likewise.
32946 * resolv/herror.c (herror): Likewise.
32947 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32948 macro.
32949 (__writev_nocancel_nostatus): New macro.
32950 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32951 Remove macro.
32952 (__writev_nocancel_nostatus): New function.
32953
813378e9
JM
329542017-08-21 Joseph Myers <joseph@codesourcery.com>
32955
df1deda6
JM
32956 Revert:
32957 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32958
32959 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32960 building libc.a.
32961 (hidden_proto): Likewise.
32962 (hidden_tls_proto): Likewise.
32963 (__hidden_proto): Likewise.
32964
831bbd55
JM
32965 [BZ #21973]
32966 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32967 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32969 Likewise.
32970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32971 Likewise.
32972 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32973 Likewise.
32974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32975 Likewise.
32976 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32978 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32979 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32980 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32981 GLIBC_2.0 sqrtl symbol.
32982
813378e9
JM
32983 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32984 [__USE_MISC] (_LIB_VERSION): Likewise.
32985 [__USE_MISC] (struct exception): Likewise.
32986 [__USE_MISC] (matherr): Likewise.
32987 [__USE_MISC] (DOMAIN): Likewise.
32988 [__USE_MISC] (SING): Likewise.
32989 [__USE_MISC] (OVERFLOW): Likewise.
32990 [__USE_MISC] (UNDERFLOW): Likewise.
32991 [__USE_MISC] (TLOSS): Likewise.
32992 [__USE_MISC] (PLOSS): Likewise.
32993 [__USE_MISC] (HUGE): Likewise.
32994 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32995 * math/math-svid-compat.h: New file.
32996 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32997 and matherrl.
32998 * include/math.h [!_ISOMAC] (__matherr): Remove.
32999 * manual/arith.texi (FP Exceptions): Do not document matherr.
33000 * math/Makefile (tests): Change test-matherr to test-matherr-3.
33001 (tests-internal): New variable.
33002 (install-lib): Do not add libieee.a.
33003 (non-lib.a): Likewise.
33004 (extra-objs): Do not add libieee.a and ieee-math.o.
33005 (CPPFLAGS-s_lib_version.c): Remove variable.
33006 ($(objpfx)libieee.a): Remove rule.
33007 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33008 * math/ieee-math.c: Remove.
33009 * math/libm-test-support.c (matherr): Remove.
33010 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33011 and license notices. Include <math-svid-compat.h> and
33012 <shlib-compat.h>.
33013 (matherr): Undefine as macro. Use compat_symbol_reference.
33014 (_LIB_VERSION): Likewise.
33015 * math/test-matherr-2.c: New file.
33016 * math/test-matherr-3.c: Likewise.
33017 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33018 declaration.
33019 (__kernel_standard_f): Likewise.
33020 (__kernel_standard_l): Likewise.
33021 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33022 <math_private.h>. Include <math-svid-compat.h>.
33023 (_LIB_VERSION): Undefine as macro.
33024 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33025 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33026 [LIBM_SVID_COMPAT], use compat_symbol.
33027 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33028 <math_private.h>. Include <math-svid-compat.h>.
33029 (matherr): Undefine as macro.
33030 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33031 compat_symbol.
33032 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33033 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33034 compat_symbol_reference.
33035 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33036 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33037 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33038 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33039 (MATHERR_D): Remove declaration.
33040 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33041 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33042 [LIBM_BUILD] (pmatherrf): Likewise.
33043 [LIBM_BUILD] (pmatherr): Likewise.
33044 [LIBM_BUILD] (pmatherrl): Likewise.
33045 (DOMAIN): Likewise.
33046 (SING): Likewise.
33047 (OVERFLOW): Likewise.
33048 (UNDERFLOW): Likewise.
33049 (TLOSS): Likewise.
33050 (PLOSS): Likewise.
33051 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33052 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33053 compat_symbol.
33054 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33055 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33056 compat_symbol.
33057 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33058 * math/w_acos_compat.c: Likewise.
33059 * math/w_acosf_compat.c: Likewise.
33060 * math/w_acosh_compat.c: Likewise.
33061 * math/w_acoshf_compat.c: Likewise.
33062 * math/w_acoshl_compat.c: Likewise.
33063 * math/w_acosl_compat.c: Likewise.
33064 * math/w_asin_compat.c: Likewise.
33065 * math/w_asinf_compat.c: Likewise.
33066 * math/w_asinl_compat.c: Likewise.
33067 * math/w_atan2_compat.c: Likewise.
33068 * math/w_atan2f_compat.c: Likewise.
33069 * math/w_atan2l_compat.c: Likewise.
33070 * math/w_atanh_compat.c: Likewise.
33071 * math/w_atanhf_compat.c: Likewise.
33072 * math/w_atanhl_compat.c: Likewise.
33073 * math/w_cosh_compat.c: Likewise.
33074 * math/w_coshf_compat.c: Likewise.
33075 * math/w_coshl_compat.c: Likewise.
33076 * math/w_exp10_compat.c: Likewise.
33077 * math/w_exp10f_compat.c: Likewise.
33078 * math/w_exp10l_compat.c: Likewise.
33079 * math/w_exp2_compat.c: Likewise.
33080 * math/w_exp2f_compat.c: Likewise.
33081 * math/w_exp2l_compat.c: Likewise.
33082 * math/w_fmod_compat.c: Likewise.
33083 * math/w_fmodf_compat.c: Likewise.
33084 * math/w_fmodl_compat.c: Likewise.
33085 * math/w_hypot_compat.c: Likewise.
33086 * math/w_hypotf_compat.c: Likewise.
33087 * math/w_hypotl_compat.c: Likewise.
33088 * math/w_j0_compat.c: Likewise.
33089 * math/w_j0f_compat.c: Likewise.
33090 * math/w_j0l_compat.c: Likewise.
33091 * math/w_j1_compat.c: Likewise.
33092 * math/w_j1f_compat.c: Likewise.
33093 * math/w_j1l_compat.c: Likewise.
33094 * math/w_jn_compat.c: Likewise.
33095 * math/w_jnf_compat.c: Likewise.
33096 * math/w_jnl_compat.c: Likewise.
33097 * math/w_lgamma_main.c: Likewise.
33098 * math/w_lgamma_r_compat.c: Likewise.
33099 * math/w_lgammaf_main.c: Likewise.
33100 * math/w_lgammaf_r_compat.c: Likewise.
33101 * math/w_lgammal_main.c: Likewise.
33102 * math/w_lgammal_r_compat.c: Likewise.
33103 * math/w_log10_compat.c: Likewise.
33104 * math/w_log10f_compat.c: Likewise.
33105 * math/w_log10l_compat.c: Likewise.
33106 * math/w_log2_compat.c: Likewise.
33107 * math/w_log2f_compat.c: Likewise.
33108 * math/w_log2l_compat.c: Likewise.
33109 * math/w_log_compat.c: Likewise.
33110 * math/w_logf_compat.c: Likewise.
33111 * math/w_logl_compat.c: Likewise.
33112 * math/w_pow_compat.c: Likewise.
33113 * math/w_powf_compat.c: Likewise.
33114 * math/w_powl_compat.c: Likewise.
33115 * math/w_remainder_compat.c: Likewise.
33116 * math/w_remainderf_compat.c: Likewise.
33117 * math/w_remainderl_compat.c: Likewise.
33118 * math/w_scalb_compat.c: Likewise.
33119 * math/w_scalbf_compat.c: Likewise.
33120 * math/w_scalbl_compat.c: Likewise.
33121 * math/w_sinh_compat.c: Likewise.
33122 * math/w_sinhf_compat.c: Likewise.
33123 * math/w_sinhl_compat.c: Likewise.
33124 * math/w_sqrt_compat.c: Likewise.
33125 * math/w_sqrtf_compat.c: Likewise.
33126 * math/w_sqrtl_compat.c: Likewise.
33127 * math/w_tgamma_compat.c: Likewise.
33128 * math/w_tgammaf_compat.c: Likewise.
33129 * math/w_tgammal_compat.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33131 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33132 * sysdeps/ieee754/k_standard.c: Likewise.
33133 * sysdeps/ieee754/k_standardf.c: Likewise.
33134 * sysdeps/ieee754/k_standardl.c: Likewise.
33135 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33136 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33137 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33138 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33139 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33140 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33141 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33142 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33143 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33144 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33145 Likewise.
33146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33147 Likewise.
33148 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33149 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33150 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33151 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33152
4504783c
FW
331532017-08-21 Florian Weimer <fweimer@redhat.com>
33154
33155 [BZ #21864]
33156 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33157 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33158 Move before inclusion of ../Rules.
33159
b5889d25
FW
331602017-08-21 Florian Weimer <fweimer@redhat.com>
33161
33162 [BZ #21972]
33163 * assert/assert.h (assert): Use static_cast (bool) for C++.
33164 Use the ternary operator in the warning branch for GNU C.
33165 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33166 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33167 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33168 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33169 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33170
41e673c1
L
331712017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33172
33173 [BZ #18822]
33174 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33175 (__syscall_clock_gettime): Add attribute_hidden.
33176 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33177 (__start_context): Likewise.
33178
568ff429
L
331792017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33180
33181 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33182 building libc.a.
33183 (hidden_proto): Likewise.
33184 (hidden_tls_proto): Likewise.
33185 (__hidden_proto): Likewise.
33186
7c41b4a1
L
331872017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33188
33189 * include/libc-symbols.h (attribute_hidden): Enable hidden
33190 visibility in libc.a compiled with PIE.
33191
483d7068
L
331922017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33193
33194 [BZ #18822]
33195 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33196 Add attribute_hidden.
33197
331982017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33199
33200 [BZ #21864]
33201 * Makerules (all-nonlib): Add $(others-extras).
33202 * catgets/Makefile (others-extras): New.
33203 * elf/Makefile (others-extras): Likewise.
33204 * nss/Makefile (others-extras): Likewise.
33205
54e4b8f2
L
332062017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33207
33208 [BZ #18822]
33209 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33210 * elf/dl-open.c: Include <libc-internal.h>.
33211 (__libc_multiple_libcs): Removed.
33212 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33213 <hp-timing.h>.
33214 * include/libc-internal.h (__libc_multiple_libcs): New.
33215 * misc/sbrk.c: Include <libc-internal.h>.
33216 (__libc_multiple_libcs): Removed.
33217
1dbbb1ec
L
332182017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33219
33220 [BZ #18822]
33221 * grp/initgroups.c (__nss_group_database): Removed.
33222 (__nss_initgroups_database): Likewise.
33223 * nscd/gai.c (__nss_hosts_database): Likewise.
33224 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33225 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33226 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33227 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33228 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33229 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33230 attribute_hidden.
33231 * nss/nsswitch.c (__nss_database_custom): Define only if
33232 USE_NSCD is defined.
33233 (__nss_configure_lookup): Use __nss_database_custom only if
33234 USE_NSCD is defined.
33235 * nss/nsswitch.h (__nss_database_custom): Declare only if
33236 USE_NSCD is defined. Add attribute_hidden.
33237 (__nss_setent): Add attribute_hidden.
33238 (__nss_endent): Likewise.
33239 (__nss_getent_r): Likewise.
33240 (__nss_getent): Likewise.
33241 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33242
2585d7b8
L
332432017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33244
33245 [BZ #18822]
33246 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33247 libc_hidden_proto and libc_hidden_def.
33248
c8dfa99c
L
332492017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33250
33251 [BZ #18822]
33252 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33253 Add libc_hidden_proto.
33254 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33255 Add libc_hidden_def.
33256
7ed87317
L
332572017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33258
33259 [BZ #21974]
33260 * gmon/Makefile (routines): Remove bb_init_func and
33261 bb_exit_func.
33262 (elide-routines.os): Removed.
9476b904
L
33263 * gmon/bb_exit_func.c: Likewise.
33264 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33265 * include/sys/gmon.h (__bb): Likewise.
33266 (__bb_init_func): Likewise.
33267 (__bb_exit_func): Likewise.
91695eb1 33268 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33269
94e6ba15
L
332702017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33271
33272 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33273 * include/setjmp.h (____longjmp_chk): Here. Add
33274 attribute_hidden.
33275
7550717e
L
332762017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33277
33278 [BZ #18822]
33279 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33280 attribute_hidden.
33281 (__strspn_sse2): Likewise.
33282
0bb2fabc
AZ
332832017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33284
c181840c
AZ
33285 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33286 (close_not_cancel_no_status): Likewise.
33287 (__close_nocancel): New macro.
33288 (__close_nocancel_nostatus): Likewise.
33289 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33290 macro.
33291 (close_not_cancel): Likewise.
33292 (close_not_cancel_no_status): Likewise.
33293 (__close_nocancel): New prototype.
33294 (__close_nocancel_nostatus): New function.
33295 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33296 * catgets/open_catalog.c (__open_catalog): Replace
33297 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33298 * gmon/gmon.c (write_gmon): Likewise.
33299 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33300 * intl/loadmsgcat.c (close): Likewise.
33301 * io/ftw.c (open_dir_stream): Likewise.
33302 (ftw_startup): Likewise.
33303 * libio/fileops.c (_IO_file_open): Likewise.
33304 (_IO_file_close_mmap): Likewise.
33305 (_IO_file_close): Likewise.
33306 * libio/iopopen.c (_IO_dup2): Likewise.
33307 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33308 * locale/loadlocale.c (_nl_load_locale): Likewise.
33309 * login/utmp_file.c (pututline_file): Likewise.
33310 (endutent_file): Likewise.
33311 * misc/daemon.c (daemon): Likewise.
33312 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33313 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33314 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33315 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33316 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33317 * nscd/nscd_helper.c (open_socket): Likewise.
33318 (__nscd_open_socket): Likewise.
33319 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33320 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33321 (__nscd_innetgr): Likewise.
33322 * nss/nss_db/db-open.c (internal_setent): Likewise.
33323 * resolv/res-close.c (__res_iclose): Likewise.
33324 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33325 * sysdeps/posix/closedir.c (__closedir): Likewise.
33326 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33327 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33328 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33329 (opendir_tail): Likewise.
33330 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33331 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33332 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33333 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33334 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33335 (gethostid): Likewise.
33336 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33337 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33338 Likewise.
33339 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33340 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33341 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33342 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33343 Likewise.
33344 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33345 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33346 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33347 Likewise.
33348 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33349 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33350 Likewise.
33351 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33352 Likewise.
33353 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33354 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33355 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33356 __close_nocancel.
33357
0bb2fabc
AZ
33358 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33359 (openat_not_cancel_3): Likewise.
33360 (openat64_not_cancel_3): Likewise).
33361 (openat_not_cancel_3): Likewise).
33362 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33363 macro.
33364 (openat_not_cancel_3): Likewise.
33365 (openat64_not_cancel): Likewise.
33366 (openat64_not_cancel_3): Likewise.
33367 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33368 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33369 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33370 __open{64}_nocancel.
33371 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33372 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33373 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33374
65a086db
L
333752017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33376
33377 [BZ #18822]
33378 * include/argz.h (__argz_create_sep): New function prototype.
33379 (__argz_append): Likewise.
33380 (__argz_add): Likewise.
33381 (__argz_add_sep): Likewise.
33382 (__argz_delete): Likewise.
33383 (__argz_insert): Likewise.
33384 (__argz_replace): Likewise.
33385 * string/argz.h (__argz_create_sep): Removed.
33386 (__argz_append): Likewise.
33387 (__argz_add): Likewise.
33388 (__argz_add_sep): Likewise.
33389 (__argz_delete): Likewise.
33390 (__argz_insert): Likewise.
33391 (__argz_replace): Likewise.
33392
62753d2c
L
333932017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33394
33395 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33396 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33397 (GNU_PROPERTY_STACK_SIZE): Likewie.
33398 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33399 (GNU_PROPERTY_LOPROC): Likewise.
33400 (GNU_PROPERTY_HIPROC): Likewise.
33401 (GNU_PROPERTY_LOUSER): Likewise.
33402 (GNU_PROPERTY_HIUSER): Likewise.
33403 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33404 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33405 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33406 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33407 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33408 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33409 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33410 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33411 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33412 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33413 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33414 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33415 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33416 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33417 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33418 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33419 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33420 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33421 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33422 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33423 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33424 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33425 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33426
6913ad65
GG
334272017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33428
33429 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33430 in C++ mode.
33431
47a67213
GG
334322017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33433
33434 [BZ #21930]
33435 * math/math.h (isinf): Check if in C or C++ mode before using
33436 __builtin_types_compatible_p, since this is a C mode feature.
33437
a748eb31
AZ
334382017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33439
c647fb88
AZ
33440 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33441 (__write_nocancel): New macro.
33442 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33443 Rewrite as a function prototype.
33444 (write_not_cancel): Remove macro.
33445 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33446 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33447 (write_gmon): Likewise.
33448 * libio/fileops.c (_IO_new_file_write): Likewise.
33449 * login/utmp_file.c (pututline_file): Likewise.
33450 (updwtmp_file): Likewise.
33451 * stdio-common/psiginfo.c (psiginfo): Likewise.
33452 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33453 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33454 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33455 Likewise.
33456 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33457 Likewise.
33458
a748eb31
AZ
33459 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33460 (__read_nocancel): New macro.
33461 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33462 __read_nocancel.
33463 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33464 macro.
33465 (__read_nocancel): New prototype.
33466 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33467 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33468 with __read_nocancel.
33469 * intl/loadmsgcat.c (read): Likewise.
33470 * libio/fileops.c (_IO_file_read): Likewise.
33471 * locale/loadlocale.c (_nl_load_locale): Likewise.
33472 * login/utmp_file.c (getutent_r_file): Likewise.
33473 (internal_getut_r): Likewise.
33474 (getutline_r_file): Likewise.
33475 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33476 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33477 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33478 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33479 Likewise.
33480 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33481 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33482 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33483 Likewise.
33484 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33485 Likewise.
33486 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33487 Likewise.
33488 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33489 Likewise.
33490 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33491
098b9dd4
L
334922017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33493
33494 [BZ #21966]
33495 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33496 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33497 usable.
33498
a3fe6a20
DD
334992017-08-17 DJ Delorie <dj@redhat.com>
33500
33501 * bug17079.c: Update to new test harness.
33502 * test-digits-dots.c: Likewise.
33503 * test-netdb.c: Likewise.
33504 * tst-field.c: Likewise.
33505 * tst-nss-getpwent.c: Likewise.
33506 * tst-nss-static.c: Likewise.
33507 * tst-nss-test1.c: Likewise.
33508 * tst-nss-test2.c: Likewise.
33509 * tst-nss-test3.c: Likewise.
33510 * tst-nss-test4.c: Likewise.
33511 * tst-nss-test5.c: Likewise.
33512
c2284574
AZ
335132017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33514
33515 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33516 (open_not_cancel_2): Likewise.
33517 (open_nocancel): New macro.
33518 (open64_nocancel): Likewise.
33519 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33520 (open_not_cancel_2): Likewise.
33521 (__open_nocancel): New prototype.
33522 (__open64_nocancel): Likewise.
33523 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33524 __open_nocancel.
33525 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33526 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33527 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33528 with __open_nocancel.
33529 * csu/check_fds.c (check_one_fd): Likewise.
33530 * gmon/gmon.c (write_gmon): Likewise.
33531 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33532 * intl/loadmsgcat.c (open): Likewise.
33533 * libio/fileops.c (_IO_file_open): Likewise.
33534 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33535 * locale/loadlocale.c (_nl_load_locale): Likewise.
33536 * login/utmp_file.c (setutent_file): Likewise.
33537 * misc/daemon.c (daemon): Likewise.
33538 * nss/nss_db/db-open.c (internal_setent): Likewise.
33539 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33540 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33541 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33542 (__opendir): Likewise.
33543 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33544 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33545 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33546 (gethostid): Likewise.
33547 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33548 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33549 Likewise.
33550 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33551 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33552 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33553 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33554 Likewise.
33555 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33556 Likewise.
33557 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33558 Likewise.
33559 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33560 Likewise.
33561 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33562 Likewise.
33563 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33564 Likewise.
33565 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33566 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33567
d4505b89
WD
335682017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33569
33570 * benchtests/bench-skeleton.c (main): Add support for
33571 latency benchmarking.
33572 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33573
34d6a3cb
L
335742017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33575
33576 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33577 the startup object.
33578
038d1caf
FW
335792017-08-17 Florian Weimer <fweimer@redhat.com>
33580
33581 * include/sys/socket.h (__opensock): Remove internal_function.
33582 * socket/opensock.c (__opensock): Likewise.
33583 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33584
67f0aff0
JM
335852017-08-16 Joseph Myers <joseph@codesourcery.com>
33586
33587 [BZ #21944]
33588 * signal/bits/types/__sigval_t.h: New file.
33589 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33590 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33591 and define sigval_t using __sigval_t.
33592 * include/bits/types/__sigval_t.h: New file.
33593 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33594 instead of <bits/types/__sigval_t.h>.
33595 (struct sigevent): Use __sigval_t instead of sigval_t.
33596 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33597 instead of <bits/types/__sigval_t.h>.
33598 (siginfo_t): Use __sigval_t instead of sigval_t.
33599 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33600 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33601 (struct sigevent): Use __sigval_t instead of sigval_t.
33602 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33603 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33604 (siginfo_t): Use __sigval_t instead of sigval_t.
33605 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33606
87e7bf4d
L
336072017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33608
33609 * NEWS: Remove "[Add new features here]" for 2.27.
33610
5047057f
JM
336112017-08-16 Joseph Myers <joseph@codesourcery.com>
33612
33613 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33614 libc.so.
33615
20c7b195
L
336162017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33617
33618 * NEWS: Mention x86-64 FMA optimization.
33619
24a2e658
L
336202017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33621
33622 [BZ #21912]
33623 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33624 Add e_expf-fma.
33625 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33626 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33627 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33628
eedca977
AS
336292017-08-16 Andreas Schwab <schwab@suse.de>
33630
403143e1
FW
33631 [BZ #16750]
33632 CVE-2009-5064
eedca977
AS
33633 * elf/ldd.bash.in: Never run file directly.
33634
f59f7adb
L
336352017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33636
33637 [BZ #21955]
33638 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33639 (L(SP_INF_0)): Likewise.
33640
6b11a6ad
FW
336412017-08-15 Florian Weimer <fweimer@redhat.com>
33642
33643 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33644 run-built-tests.
33645
bbf5c438
FW
336462017-08-15 Florian Weimer <fweimer@redhat.com>
33647
33648 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33649 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33650 BROKEN_THREAD_SIGNALS code.
33651 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33652 request_list): Remove caller_pid member used for
33653 BROKEN_THREAD_SIGNALS.
33654 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33655 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33656 Remove BROKEN_THREAD_SIGNALS support.
33657 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33658 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33659
6014c65d
FW
336602017-08-15 Florian Weimer <fweimer@redhat.com>
33661
33662 * gmon/Makefile (tests): Add tst-gmon.
33663 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33664 Set.
33665 (tests-special): Add tst-gmon-prof.out.
33666 (tst-gmon.out): Depend on clean-tst-gmon-data.
33667 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33668 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33669 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33670 startup object.
33671 * aclocal.m4 (GPROF): Set and substitute.
33672 * config.amke.in (GPROF): Set.
33673 * configure: Regenerate.
33674
ee72219a
GR
336752017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33676
33677 * elf/elf.h A (NT_PPC_TAR): New macro.
33678 (NT_PPC_PPR): Likewise.
33679 (NT_PPC_DSCR): Likewise.
33680 (NT_PPC_EBB): Likewise.
33681 (NT_PPC_PMU): Likewise.
33682 (NT_PPC_TM_CGPR): Likewise.
33683 (NT_PPC_TM_CFPR): Likewise.
33684 (NT_PPC_TM_CVMX): Likewise.
33685 (NT_PPC_TM_CVSX): Likewise.
33686 (NT_PPC_TM_SPR): Likewise.
33687 (NT_PPC_TM_CTAR): Likewise.
33688 (NT_PPC_TM_CPPR): Likewise.
33689 (NT_PPC_TM_CDSCR): Likewise.
33690
4ebf934e
FW
336912017-08-15 Florian Weimer <fweimer@redhat.com>
33692
33693 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33694 regparm (2) instead of internal_function.
33695 (_MCOUNT_DECL): Adjust.
33696
e9f57484
SL
336972017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33698
33699 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33700 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33701
88ff4d55
JM
337022017-08-14 Joseph Myers <joseph@codesourcery.com>
33703
33704 * conform/data/sys/wait.h-data (si_value): Do not expect for
33705 XPG42.
33706
c88ffc23
FW
337072017-08-14 Florian Weimer <fweimer@redhat.com>
33708
33709 [BZ #21962]
33710 NSS: Create stubs for accidentally exported lookup functions.
33711 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33712 Remove declaration.
33713 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33714 (ether_hostton): Call __nss_ethers_lookup2 instead.
33715 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33716 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33717 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33718 (setup): Call __nss_netgroup_lookup2 instead.
33719 * nss/Makefile (routines): Add compat-lookup.
33720 * nss/Versions (GLIBC_2.27): Add symbol version.
33721 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33722 (DB_COMPAT_FCT): Remove.
33723 * nss/compat-lookup.c: New file.
33724 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33725 from databases.def.
33726 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33727 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33728 (netname2user): Call __nss_publickey_lookup2 instead.
33729 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33730 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33731 instead.
33732
35a29136 337332017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33734 Sergei Trofimovich <slyfox@inbox.ru>
33735
33736 [BZ #21908]
33737 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33738 Rename to MMAP2_PAGE_UNIT.
33739 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33740 __OFF_T_MATCHES_OFF64_T is not defined.
33741 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33742 uint64_t.
33743 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33744 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33745
fbdc1e3e
FW
337462017-08-14 Florian Weimer <fweimer@redhat.com>
33747
33748 i386: Do not set internal_function.
33749 * config.h.in (USE_REGPARMS, internal_function): Remove.
33750 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33751 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33752
b3f85fd2
FW
337532017-08-14 Florian Weimer <fweimer@redhat.com>
33754
33755 * elf/dl-init.c (_dl_init): Remove internal_function.
33756 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33757 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33758
630bf491
FW
337592017-08-14 Florian Weimer <fweimer@redhat.com>
33760
33761 * elf/rtld.c (_dl_start): Remove internal_function.
33762 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33763 _dl_start.
33764
9fa7449b
FW
337652017-08-14 Florian Weimer <fweimer@redhat.com>
33766
33767 * elf/dl-fini.c (_dl_fini): Remove internal_function
33768 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33769
73322d5f
L
337702017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33771
d863cd71 33772 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33773 (bit_cpu_SHSTK): Likewise.
33774 (index_cpu_IBT): Likewise.
33775 (index_cpu_SHSTK): Likewise.
33776 (reg_IBT): Likewise.
33777 (reg_SHSTK): Likewise.
33778 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33779 Handle index_cpu_IBT and index_cpu_SHSTK.
33780
dbc303ef
MF
337812017-08-14 Mike FABIAN <mfabian@redhat.com>
33782
33783 [BZ #19982]
33784 * po/fr.po: Fix spelling mistake.
33785
3012cfb0
FW
337862017-08-13 Florian Weimer <fweimer@redhat.com>
33787
33788 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33789 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33790 (_dl_catch_error, _dl_receive_error): Likewise.
33791 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33792 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33793 (_dl_deallocate_tls): Likewise.
33794 * include/dlfcn.h (_dl_addr): Likewise.
33795 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33796 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33797 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33798 Likewise.
33799
52bcdf26
FW
338002017-08-13 Florian Weimer <fweimer@redhat.com>
33801
33802 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33803 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33804 internal_function.
33805 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33806
e1d2ae8d
FW
338072017-08-13 Florian Weimer <fweimer@redhat.com>
33808
33809 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33810 internal_function.
33811 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33812 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33813 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33814 internal_function from _dl_make_stack_executable_hook member.
33815 (_dl_make_stack_executable): Remove internal_function.
33816 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33817 Likewise.
33818 * sysdeps/unix/sysv/linux/dl-execstack.c
33819 (_dl_make_stack_executable): Likewise.
33820
c4ce0382
FW
338212017-08-13 Florian Weimer <fweimer@redhat.com>
33822
33823 * sysdeps/unix/sysv/linux/netlinkaccess.h
33824 (__netlink_assert_response): Remove internal_function.
33825 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33826 (__netlink_assert_response): Likewise.
33827
c4d767f7
FW
338282017-08-13 Florian Weimer <fweimer@redhat.com>
33829
33830 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33831 internal_function.
33832 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33833
b2297409
FW
338342017-08-13 Florian Weimer <fweimer@redhat.com>
33835
33836 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33837 internal_function.
33838 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33839 * inet/netgroup.h (__internal_setnetgrent)
33840 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33841 * inet/getnetgrent_r.c (__internal_setnetgrent)
33842 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33843 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33844 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33845 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33846 * nss/nsswitch.h (db_lookup_function): Likewise.
33847
1b0bfc69
FW
338482017-08-13 Florian Weimer <fweimer@redhat.com>
33849
33850 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33851 Remove internal_function.
33852 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33853 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33854 message argument on the stack.
33855 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33856 Likeweise.
33857
a6bd8722
MF
338582017-08-12 Mike FABIAN <mfabian@redhat.com>
33859
33860 Adapt test case data to the changes in the thousands
33861 separators.
33862
33863 [BZ #20756]
33864 * localedata/tst-langinfo.sh: Adapt test case data.
33865 * stdlib/tst-strfmon_l.c: Likewise.
33866 * stdlib/tst-strtod4.c: Likewise.
33867 * stdlib/tst-strtod5i.c: Likewise.
33868
8b2c63e4
FW
338692017-08-11 Florian Weimer <fweimer@redhat.com>
33870
33871 [BZ #21242]
33872 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33873 Suppress pedantic warning resulting from statement expression.
33874 (__ASSERT_FUNCTION): Add missing __extension__.
33875
61c98291
SP
338762017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33877
86c6519e
SP
33878 * benchtests/bench-memmove-large.c: Print output in JSON
33879 format.
33880 * benchtests/bench-memmove.c: Likewise.
33881
61c98291
SP
33882 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33883 * benchtests/bench-memchr.c (do_one_test): Likewise.
33884 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33885 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33886 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33887 * benchtests/bench-memmove.c (do_one_test): Likewise.
33888 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33889 * benchtests/bench-memset.c (do_one_test): Likewise.
33890 * benchtests/bench-string.h (test_init): Remove memsets.
33891
925733a9
RJ
338922017-08-10 Rical Jasan <ricaljasan@pacific.net>
33893
33894 * manual/lang.texi
33895 (Computing the Width of an Integer Data Type): Rename section to
33896 "Width of an Integer Type". Remove inaccurate statement regarding
33897 lack of C language facilities for determining width of integer
33898 types, and reorder content to improve flow and context of
33899 discussion.
33900
4fcdfbfc
RJ
339012017-08-10 Rical Jasan <ricaljasan@pacific.net>
33902
33903 * lang.texi (va_copy): Change standard from ISO to C99.
33904 (__va_copy): Add standard and header annotation.
33905 Update description for clarity of origins and current use.
33906
4d98ace9
GG
339072017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33908
33909 [BZ #21941]
33910 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33911 xssqrtqp requires operands to be in Vector Registers
33912 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33913 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33914 (__ieee754_sqrtf128): Likewise.
33915
92236903
WD
339162017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33917
33918 * sysdeps/aarch64/memcmp.S (memcmp):
33919 Rewrite of optimized memcmp.
33920
2449ae7b
FW
339212017-08-10 Florian Weimer <fweimer@redhat.com>
33922
33923 Introduce ld.so exceptions.
33924 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33925 (_dl_exception_create, _dl_exception_create_format)
33926 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33927 (_dl_catch_exception): Declare.
33928 (_dl_catch_error): Update comment.
33929 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33930 errstring, malloced members with exception member.
33931 (_dl_out_of_memory): Remove.
33932 (fatal_error): New function, extracted from _dl_signal_error.
33933 (_dl_signal_exception, _dl_signal_cexception): New functions.
33934 (_dl_signal_error): Call _dl_exception_create to allocate an
33935 exception object.
33936 (_dl_catch_exception): New function, based on _dl_catch_error.
33937 (_dl_catch_error): Implement using _dl_catch_exception.
33938 * elf/dl-exception.c: New file.
33939 * elf/Makefile (dl-routines): Add dl-exception.
33940 (elide-routines.os): Likewise.
33941 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33942 _dl_exception_create_format, _dl_exception_free.
33943 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33944 _dl_signal_exception.
33945 * elf/dl-lookup.c (make_string): Remove.
33946 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33947 _dl_signal_cexception, _dl_exception_free.
33948 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33949 _dl_signal_exception.
33950 * elf/dl-sym.c (do_sym): Likewise.
33951 * elf/dl-version.c (make_string): Remove.
33952 (match_symbol): Use _dl_exception_create_format,
33953 _dl_signal_cexception, _dl_exception_free.
33954 (_dl_check_map_versions): Likewise.
33955 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33956 _dl_catch_exception.
33957 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33958 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33959 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33960 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33961 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33962 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33963 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33964 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33965 Likewise.
33966 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33968 (ld.so): Likewise.
33969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33970 (ld.so): Likewise.
33971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33972 Likewise.
33973 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33974 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33975 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33976 Likewise.
33977 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33978 Likewise.
33979 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33980
f87cc2bf
FW
339812017-08-10 Florian Weimer <fweimer@redhat.com>
33982
33983 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33984 attribute_hidden, internal_function.
33985 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33986 internal_function.
33987
eac43cbb
FW
339882017-08-10 Florian Weimer <fweimer@redhat.com>
33989
33990 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33991 function which calls __builtin_unreachable.
33992
bd80111e
MF
339932017-08-10 Mike FABIAN <mfabian@redhat.com>
33994
33995 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33996 Indian monetary formatting
33997 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33998 test cases.
33999
60e2846e
DL
340002017-08-09 Dmitry V. Levin <ldv@altlinux.org>
34001
68dc02d1
DL
34002 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
34003 Fix typo in comment.
34004
60e2846e
DL
34005 [BZ #21928]
34006 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34007 PTRACE_SEIZE_DEVEL): Remove.
34008 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34009 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34010 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34011 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34012 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34013
3d452dab
JM
340142017-08-09 Joseph Myers <joseph@codesourcery.com>
34015
24d9f53a
JM
34016 * posix/bits/types.h (__qaddr_t): Remove.
34017
3d452dab
JM
34018 [BZ #21457]
34019 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34020 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34021 __glibc_reserved1.
34022 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34023 (ucontext_t): Use __ctx with uc_flags.
34024 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34025 (__ctxt): Likewise.
34026 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34027 __glibc_reserved1.
34028 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34029 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34030 __glibc_reserved1.
34031 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34032 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34033 __glibc_reserved1.
34034 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34035 macro.
34036 (ucontext_t): Use __ctx with uc_flags.
34037 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34038 (ucontext_t): Use __ctx with uc_flags.
34039 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34040 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34041 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34042 (ucontext_t): Use __ctx with uc_flags.
34043 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34044 undefine further down.
34045 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34046 __glibc_reserved1.
34047 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34048 undefine further down.
34049 (ucontext_t): Use __ctx with uc_flags.
34050 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34051 undefine further down.
34052 (ucontext_t): Use __ctx with uc_flags.
34053 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34054 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34055 Rename uc_pad to __glibc_reserved1.
34056 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34057 undefine further down.
34058 (ucontext_t): Use __ctx with uc_flags.
34059 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34060 further down.
34061 (ucontext_t): Use __ctx with uc_flags.
34062 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34063 __ctx with uc_flags.
34064 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34065 (ucontext_t): Use __ctx with uc_flags.
34066 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34067 __ctx with uc_flags.
34068
30161498
FW
340692017-08-09 Florian Weimer <fweimer@redhat.com>
34070
34071 [BZ #21932]
34072 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34073 before early return.
34074
5797b410
AS
340752017-08-09 Andreas Schwab <schwab@suse.de>
34076
139237a4 34077 [BZ #21041]
5797b410
AS
34078 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34079 renamed alias.
34080
139237a4 34081 [BZ #21041]
40c06a3d
AS
34082 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34083 tst-compat-forwarder.
34084 (modules-names): Add tst-compat-forwarder-mod.
34085 ($(objpfx)tst-compat-forwarder): Depend on
34086 $(objpfx)tst-compat-forwarder-mod.so.
34087 * nptl/tst-compat-forwarder.c: New file.
34088 * nptl/tst-compat-forwarder-mod.c: New file.
34089
36ada5f6
SP
340902017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34091
0e02b510
SP
34092 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34093 comments.
34094
36ada5f6
SP
34095 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34096 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34097 memcpy_falkor.
34098 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34099 Bump.
34100 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34101 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34102 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34103 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34104 Add falkor.
34105 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34106 New macro.
34107
9995c839
AZ
341082017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34109
34110 [BZ #759]
34111 * manual/setjmp.texi (getcontex): Document uc_stack value
34112 compatibility differences.
34113
f17a4233
JM
341142017-08-08 Joseph Myers <joseph@codesourcery.com>
34115
34116 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34117 (old_malloc_hook): Likewise.
34118 (old_memalign_hook): Likewise.
34119 (old_realloc_hook): Likewise.
34120 (struct hdr): Likewise.
34121 (flood): Likewise.
34122 (freehook): Likewise.
34123 (mallochook): Likewise.
34124 (memalignhook): Likewise.
34125 (reallochook): Likewise.
34126 (mprobe): Likewise.
34127 * malloc/mtrace.c (mallwatch): Likewise.
34128 (tr_old_free_hook): Likewise.
34129 (tr_old_malloc_hook): Likewise.
34130 (tr_old_realloc_hook): Likewise.
34131 (tr_old_memalign_hook): Likewise.
34132 (tr_where): Likewise.
34133 (lock_and_info): Likewise.
34134 (tr_freehook): Likewise.
34135 (tr_mallochook): Likewise.
34136 (tr_reallochook): Likewise.
34137 (tr_memalignhook): Likewise.
34138 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34139 * misc/mmap.c (__mmap): Likewise.
34140 * misc/mmap64.c (__mmap64): Likewise.
34141 * misc/mprotect.c (__mprotect): Likewise.
34142 * misc/msync.c (msync): Likewise.
34143 * misc/munmap.c (__munmap): Likewise.
34144 * posix/posix_madvise.c (posix_madvise): Likewise.
34145 * socket/send.c (__send): Likewise.
34146 * socket/sendto.c (__sendto): Likewise.
34147 * socket/setsockopt.c (__setsockopt): Likewise.
34148 * string/memcmp.c (__ptr_t): Remove macro.
34149 (MEMCMP): Use void * instead of ptr_t.
34150 * string/memrchr.c (__ptr_t): Remove macro.
34151 (__memrchr): Use void * instead of ptr_t.
34152 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34153 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34154 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34155 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34156 * sysdeps/mach/msync.c (msync): Likewise.
34157 * sysdeps/mach/munmap.c (__munmap): Likewise.
34158 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34159 Likewise.
34160 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34161 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34162 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34163 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34164 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34165 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34166 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34167 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34168 Likewise.
34169 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34170 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34171 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34172 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34173 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34174 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34175 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34176 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34177 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34178 Likewise.
34179 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34180 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34181 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34182 (MEMCMP): Use void * instead of ptr_t.
34183 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34184 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34185
0df595b2
FW
341862017-08-08 Florian Weimer <fweimer@redhat.com>
34187
34188 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34189 return statement.
34190
086df229
L
341912017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34192
34193 [BZ #21913]
34194 * csu/libc-tls.c: Include <startup.h> first.
34195 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34196 * elf/dl-tunables.c: Include <startup.h> first.
34197 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34198 * sysdeps/generic/startup.h: New file.
34199 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34200 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34201 (I386_USE_SYSENTER): New. Defined to 0.
34202
fc5ad702
AS
342032017-08-08 Andreas Schwab <schwab@suse.de>
34204
34205 [BZ #21041]
34206 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34207 * nptl/pt-system.c (system): Likewise.
34208
852d6312
AZ
342092017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34210
34211 [BZ #21780]
34212 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34213 EOPNOTSUPP.
34214 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34215 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34216 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34217 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34218 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34219 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34220 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34221
8b164787
JM
342222017-08-07 Joseph Myers <joseph@codesourcery.com>
34223
cd65836b
JM
34224 [BZ #21899]
34225 * bits/sigaction.h (struct sigaction): Define sa_handler and
34226 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34227 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34228 [__USE_XOPEN_EXTENDED].
34229 (SA_RESTART): Likewise.
34230 (SA_NODEFER): Likewise.
34231 (SA_RESETHAND): Likewise.
34232 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34233 (struct sigaction): Define sa_handler and sa_sigaction using union
34234 also for [__USE_XOPEN_EXTENDED].
34235 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34236 [__USE_XOPEN_EXTENDED].
34237 (SA_RESTART): Likewise.
34238 (SA_NODEFER): Likewise.
34239 (SA_RESETHAND): Likewise.
34240 * sysdeps/unix/sysv/linux/bits/sigaction.h
34241 (struct sigaction): Define sa_handler and sa_sigaction using union
34242 also for [__USE_XOPEN_EXTENDED].
34243 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34244 [__USE_XOPEN_EXTENDED].
34245 (SA_RESTART): Likewise.
34246 (SA_NODEFER): Likewise.
34247 (SA_RESETHAND): Likewise.
34248 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34249 (struct sigaction): Define sa_handler and sa_sigaction using union
34250 also for [__USE_XOPEN_EXTENDED].
34251 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34252 [__USE_XOPEN_EXTENDED].
34253 (SA_RESTART): Likewise.
34254 (SA_NODEFER): Likewise.
34255 (SA_RESETHAND): Likewise.
34256 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34257 (struct sigaction): Define sa_handler and sa_sigaction using union
34258 also for [__USE_XOPEN_EXTENDED].
34259 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34260 [__USE_XOPEN_EXTENDED].
34261 (SA_RESTART): Likewise.
34262 (SA_NODEFER): Likewise.
34263 (SA_RESETHAND): Likewise.
34264 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34265 (struct sigaction): Define sa_handler and sa_sigaction using union
34266 also for [__USE_XOPEN_EXTENDED].
34267 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34268 [__USE_XOPEN_EXTENDED].
34269 (SA_RESTART): Likewise.
34270 (SA_NODEFER): Likewise.
34271 (SA_RESETHAND): Likewise.
34272 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34273 (struct sigaction): Define sa_handler and sa_sigaction using union
34274 also for [__USE_XOPEN_EXTENDED].
34275 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34276 [__USE_XOPEN_EXTENDED].
34277 (SA_RESTART): Likewise.
34278 (SA_NODEFER): Likewise.
34279 (SA_RESETHAND): Likewise.
34280 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34281 (struct sigaction): Define sa_handler and sa_sigaction using union
34282 also for [__USE_XOPEN_EXTENDED].
34283 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34284 [__USE_XOPEN_EXTENDED].
34285 (SA_RESTART): Likewise.
34286 (SA_NODEFER): Likewise. Define directly rather than as alias.
34287 (SA_RESETHAND): Likewise.
34288 (SA_INTERRUPT): Define only for [__USE_MISC].
34289 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34290 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34291 [__USE_MISC].
34292 (SA_STACK): Define only for [__USE_MISC].
34293 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34294 (struct sigaction): Define sa_handler and sa_sigaction using union
34295 also for [__USE_XOPEN_EXTENDED].
34296 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34297 [__USE_XOPEN_EXTENDED].
34298 (SA_RESTART): Likewise.
34299 (SA_NODEFER): Likewise.
34300 (SA_RESETHAND): Likewise.
34301 (SA_NOPTRACE): Define only for [__USE_MISC].
34302
d9fee042
JM
34303 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34304 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34305 (struct catalog_info): Likewise.
34306 * inet/htontest.c (lo): Likewise.
34307 (foo): Likewise.
34308 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34309 * inet/inet_net.c (inet_network): Likewise.
34310 * inet/inet_netof.c (inet_netof): Likewise.
34311 * inet/rcmd.c (__ivaliduser): Likewise.
34312 (iruserok): Likewise.
34313 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34314 * locale/programs/locale-spec.c (locale_special): Likewise.
34315 * nis/nis_findserv.c (struct findserv_req): Likewise.
34316 (__nis_findfastest_with_timeout): Likewise.
34317 * nss/test-netdb.c (test_network): Likewise.
34318 * resolv/inet_neta.c (inet_neta): Likewise.
34319 * resolv/ns_date.c (ns_datetosecs): Likewise.
34320 (SECS_PER_DAY): Likewise.
34321 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34322 Likewise.
34323 * resolv/res_comp.c (__putlong): Likewise.
34324 (__putshort): Likewise.
34325 (_getlong): Likewise.
34326 (_getshort): Likewise.
34327 * resolv/res_debug.c (p_time): Likewise.
34328 (precsize_ntoa): Likewise.
34329 (precsize_aton): Likewise.
34330 (latlon2ul): Likewise.
34331 (loc_aton): Likewise.
34332 (loc_ntoa): Likewise.
34333 * resolv/res_hconf.c (struct netaddr): Likewise.
34334 (_res_hconf_reorder_addrs): Likewise.
34335 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34336 (clnttcp_control): Likewise.
34337 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34338 (clntudp_control): Likewise.
34339 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34340 (clntunix_control): Likewise.
34341 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34342 * sunrpc/rpc/auth.h (union des_block): Likewise.
34343 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34344 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34345 (xdrrec_create): Likewise.
34346 (xdrrec_endofrecord): Likewise.
34347 (flush_out): Likewise.
34348 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34349 (xdrstdio_putlong): Likewise.
34350 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34351 Likewise.
34352
8b164787
JM
34353 * misc/sys/cdefs.h (__long_double_t): Remove.
34354 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34355 instead of __long_double_t,
34356 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34357
7ee38e60
SP
343582017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34359
dd3e86ad
SP
34360 * benchtests/scripts/compare_strings.py: Avoid display error when
34361 running on a text terminal.
34362
b115e819
SP
34363 * benchtests/scripts/compare_strings.py (main): Add an
34364 optional -base option.
34365 (process_results): New argument base_func.
34366
7ee38e60
SP
34367 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34368 hardcoding memcpy.
34369 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34370 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34371
d5afb385
AS
343722017-08-07 Andreas Schwab <schwab@suse.de>
34373
34374 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34375 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34376 * intl/Makefile ($(objpfx)tst-gettext.out)
34377 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34378 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34379 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34380 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34381 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34382 * posix/Makefile ($(objpfx)globtest.out)
34383 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34384 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34385 ($(objpfx)tst-printf.out): Likewise.
34386 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34387 ($(objpfx)tst-setcontext3.out): Likewise.
34388
57a72fa3
L
343892017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34390
34391 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34392 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34393 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34394 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34395 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34396 and mptan-fma.
34397 (CFLAGS-doasin-fma.c): New.
34398 (CFLAGS-dosincos-fma.c): Likewise.
34399 (CFLAGS-e_asin-fma.c): Likewise.
34400 (CFLAGS-e_atan2-fma.c): Likewise.
34401 (CFLAGS-e_exp-fma.c): Likewise.
34402 (CFLAGS-e_log-fma.c): Likewise.
34403 (CFLAGS-e_pow-fma.c): Likewise.
34404 (CFLAGS-halfulp-fma.c): Likewise.
34405 (CFLAGS-mpa-fma.c): Likewise.
34406 (CFLAGS-mpatan-fma.c): Likewise.
34407 (CFLAGS-mpatan2-fma.c): Likewise.
34408 (CFLAGS-mpexp-fma.c): Likewise.
34409 (CFLAGS-mplog-fma.c): Likewise.
34410 (CFLAGS-mpsqrt-fma.c): Likewise.
34411 (CFLAGS-mptan-fma.c): Likewise.
34412 (CFLAGS-s_atan-fma.c): Likewise.
34413 (CFLAGS-sincos32-fma.c): Likewise.
34414 (CFLAGS-slowexp-fma.c): Likewise.
34415 (CFLAGS-slowpow-fma.c): Likewise.
34416 (CFLAGS-s_sin-fma.c): Likewise.
34417 (CFLAGS-s_tan-fma.c): Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34419 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34426 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34432 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34436 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34437 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34438 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34439 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34440 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34441 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34442 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34444 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34445 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34446 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34447 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34448 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34449
219dd320
JM
344502017-08-04 Joseph Myers <joseph@codesourcery.com>
34451
34452 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34453 (min_of_type_f): New macro.
34454 (min_of_type_): Likewise.
34455 (min_of_type_l): Likewise.
34456 (min_of_type_f128): Likewise.
34457 (min_of_type): Define using __MATH_TG and taking an expression
34458 argument.
34459 (math_check_force_underflow): Pass expression instead of type to
34460 min_of_type.
34461 (math_check_force_underflow_nonneg): Likewise.
34462
64d4dea6
L
344632017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34464
34465 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34466 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34467 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34468
973da22a
L
344692017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34470
34471 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34472 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34473 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34474 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34475 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34476 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34477 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34478 memmove_chk-nonshared and memset_chk-nonshared
34479 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34480 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34481 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34482 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34483 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34484 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34485 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34486 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34487 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34488 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34489 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34490 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34491 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34492 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34493 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34494 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34495 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34496 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34497 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34498 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34499 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34500 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34501 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34502 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34503 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34504 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34505 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34506 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34507 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34508 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34509 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34510 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34511 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34512 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34513 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34514 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34515 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34516 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34517 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34518 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34519 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34520 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34521 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34522 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34523 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34524 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34525 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34526 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34527 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34528 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34529 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34530 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34531 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34532 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34533 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34534 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34535 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34536 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34537 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34538 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34539 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34540 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34541 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34542 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34543 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34544 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34545 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34546 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34547 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34548 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34549 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34550 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34551 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34552 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34553 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34554 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34555 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34556 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34557 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34558 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34559 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34560 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34561 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34562 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34563 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34564 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34565 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34566 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34567 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34568 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34569 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34570 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34571 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34572 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34573 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34574 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34575 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34576 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34577 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34578 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34579 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34580 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34581 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34582 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34583 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34584 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34585 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34586 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34587
8537e0f6
L
345882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34589
34590 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34591 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34592 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34593 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34594 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34595 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34596 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34597 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34598 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34599 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34600 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34601 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34602 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34603 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34604 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34605 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34606 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34607 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34608 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34609 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34610 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34611 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34612 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34613 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34614 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34615 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34616 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34617 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34618 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34619 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34620 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34622 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34623 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34624 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34625 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34626 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34627 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34628 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34629 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34630 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34631 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34632 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34633 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34634 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34635 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34636 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34637 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34638 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34639 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34640 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34641 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34642 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34643 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34644 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34645 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34646 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34647 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34648 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34649 ...
34650 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34651 Don't include <sysdep.h> nor <init-arch.h>.
34652 (_ZGVbN2v_cos): Removed.
34653 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34654 ...
34655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34656 Don't include <sysdep.h> nor <init-arch.h>.
34657 (_ZGVdN4v_cos): Removed.
34658 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34659 ...
34660 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34661 Don't include <sysdep.h> nor <init-arch.h>.
34662 (_ZGVeN8v_cos): Removed.
34663 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34664 ...
34665 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34666 Don't include <sysdep.h> nor <init-arch.h>.
34667 (_ZGVbN2v_exp): Removed.
34668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34669 ...
34670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34671 Don't include <sysdep.h> nor <init-arch.h>.
34672 (_ZGVdN4v_exp): Removed.
34673 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34674 ...
34675 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34676 Don't include <sysdep.h> nor <init-arch.h>.
34677 (_ZGVeN8v_exp): Removed.
34678 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34679 ...
34680 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34681 Don't include <sysdep.h> nor <init-arch.h>.
34682 (_ZGVbN2v_log): Removed.
34683 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34684 ...
34685 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34686 Don't include <sysdep.h> nor <init-arch.h>.
34687 (_ZGVdN4v_log): Removed.
34688 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34689 ...
34690 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34691 Don't include <sysdep.h> nor <init-arch.h>.
34692 (_ZGVeN8v_log): Removed.
34693 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34694 ...
34695 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34696 Don't include <sysdep.h> nor <init-arch.h>.
34697 (_ZGVbN2vv_pow): Removed.
34698 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34699 ...
34700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34701 Don't include <sysdep.h> nor <init-arch.h>.
34702 (_ZGVdN4vv_pow): Removed.
34703 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34704 ...
34705 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34706 Don't include <sysdep.h> nor <init-arch.h>.
34707 (_ZGVeN8vv_pow): Removed.
34708 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34709 ...
34710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34711 Don't include <sysdep.h> nor <init-arch.h>.
34712 (_ZGVbN2v_sin): Removed.
34713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34714 ...
34715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34716 Don't include <sysdep.h> nor <init-arch.h>.
34717 (_ZGVbN4v_sin): Removed.
34718 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34719 ...
34720 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34721 Don't include <sysdep.h> nor <init-arch.h>.
34722 (_ZGVbN8v_sin): Removed.
34723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34724 ...
34725 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34726 Don't include <sysdep.h> nor <init-arch.h>.
34727 (_ZGVbN2vvv_sincos): Removed.
34728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34729 ...
34730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34731 Don't include <sysdep.h> nor <init-arch.h>.
34732 (_ZGVdN4vvv_sincos): Removed.
34733 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34734 ...
34735 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34736 Don't include <sysdep.h> nor <init-arch.h>.
34737 (_ZGVeN8vvv_sincos): Removed.
34738 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34739 ...
34740 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34741 Don't include <sysdep.h> nor <init-arch.h>.
34742 (_ZGVeN16v_cosf): Removed.
34743 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34744 ...
34745 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34746 Don't include <sysdep.h> nor <init-arch.h>.
34747 (_ZGVbN4v_cosf): Removed.
34748 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34749 ...
34750 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34751 Don't include <sysdep.h> nor <init-arch.h>.
34752 (_ZGVdN8v_cosf): Removed.
34753 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34754 ...
34755 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34756 Don't include <sysdep.h> nor <init-arch.h>.
34757 (_ZGVeN16v_expf): Removed.
34758 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34759 ...
34760 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34761 Don't include <sysdep.h> nor <init-arch.h>.
34762 (_ZGVbN4v_expf): Removed.
34763 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34764 ...
34765 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34766 Don't include <sysdep.h> nor <init-arch.h>.
34767 (_ZGVdN8v_expf): Removed.
34768 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34769 ...
34770 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34771 Don't include <sysdep.h> nor <init-arch.h>.
34772 (_ZGVeN16v_logf): Removed.
34773 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34774 ...
34775 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34776 Don't include <sysdep.h> nor <init-arch.h>.
34777 (_ZGVbN4v_logf): Removed.
34778 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34779 ...
34780 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34781 Don't include <sysdep.h> nor <init-arch.h>.
34782 (_ZGVdN8v_logf): Removed.
34783 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34784 ...
34785 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34786 Don't include <sysdep.h> nor <init-arch.h>.
34787 (_ZGVeN16vv_powf): Removed.
34788 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34789 ...
34790 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34791 Don't include <sysdep.h> nor <init-arch.h>.
34792 (_ZGVbN4vv_powf): Removed.
34793 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34794 ...
34795 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34796 Don't include <sysdep.h> nor <init-arch.h>.
34797 (_ZGVdN8vv_powf): Removed.
34798 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34799 ...
34800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34801 Don't include <sysdep.h> nor <init-arch.h>.
34802 (_ZGVeN16vvv_sincosf): Removed.
34803 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34804 ...
34805 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34806 Don't include <sysdep.h> nor <init-arch.h>.
34807 (_ZGVbN4vvv_sincosf): Removed.
34808 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34809 ...
34810 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34811 Don't include <sysdep.h> nor <init-arch.h>.
34812 (_ZGVdN8vvv_sincosf): Removed.
34813 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34814 ...
34815 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34816 Don't include <sysdep.h> nor <init-arch.h>.
34817 (_ZGVeN16v_sinf): Removed.
34818 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34819 ...
34820 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34821 Don't include <sysdep.h> nor <init-arch.h>.
34822 (_ZGVbN4v_sinf): Removed.
34823 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34824 ...
34825 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34826 Don't include <sysdep.h> nor <init-arch.h>.
34827 (_ZGVdN8v_sinf): Removed.
34828
10a87ca4
L
348292017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34830
34831 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34832 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34833 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34834 s_rint-sse4_1 and s_rintf-sse4_1.
34835 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34836 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34840 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34841 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34842 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34843 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34844 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34845 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34846 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34847 (__ceil): Removed.
34848 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34849 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34850 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34851 (__ceilf): Removed.
34852 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34853 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34854 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34855 (__floor): Removed.
34856 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34857 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34858 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34859 (__floorf): Removed.
34860 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34861 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34862 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34863 (__nearbyint): Removed.
34864 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34865 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34866 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34867 (__nearbyintf): Removed.
34868 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34869 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34870 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34871 (__rint): Removed.
34872 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34873 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34874 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34875 (__rintf): Removed.
34876
1e8e527d
L
348772017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34878
34879 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34880 SHARED. Avoid dynamic relocation against main in static PIE.
34881
e13daad7
L
348822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34883
34884 [BZ #21815]
34885 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34886 (LDFLAGS-tst-prelink): Likewise.
34887
627c69c8
L
348882017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34889
34890 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34891 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34892 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34893 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34894 (INTERNAL_SYSCALL_NCS): Likewise.
34895 (LOADARGS_1): Likewise.
34896 (LOADARGS_5): Likewise.
34897 (RESTOREARGS_1): Likewise.
34898 (RESTOREARGS_5): Likewise.
34899
fc11ff8d
L
349002017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34901
34902 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34903 (MEMPCPY_SYMBOL): Likewise.
34904 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34905 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34906 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34907 in libc.a.
34908 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34909 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34910 Likewise.
34911 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34912 (__hidden_ver1): Don't use in libc.a.
34913 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34914 (__mempcpy): Don't create a weak alias in libc.a.
34915 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34916 libc.a.
34917 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34918 (__hidden_ver1): Don't use in libc.a.
34919
19f1a11e
L
349202017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34921
34922 * config.make.in (have-insert): New.
34923 * configure.ac (libc_cv_insert): New. Set to yes if linker
34924 supports INSERT in linker script.
34925 (AC_SUBST(libc_cv_insert): New.
34926 * configure: Regenerated.
34927 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34928 if $(have-insert) == yes.
34929
3093fd5e
L
349302017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34931
34932 * elf/Makefile (tests): Add vismain only if
34933 $(have-protected-data) == yes.
34934 (tests-pie): Likewise.
34935
d2cf37c0
L
349362017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34937
34938 [BZ #21871]
34939 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34940 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34941
c8a0e6ec
L
349422017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34943
34944 [BZ #21790]
34945 * sysdeps/i386/i586/memset.S
34946 (__memset_zero_constant_len_parameter): Removed.
34947 * sysdeps/i386/i686/memset.S
34948 (__memset_zero_constant_len_parameter): Likewise.
34949 * sysdeps/i386/i686/multiarch/memset_chk.S
34950 (__memset_zero_constant_len_parameter): Likewise.
34951 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34952 Likewise.
34953
2b34e271
AJ
349542017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34955
34956 * stdlib/getentropy.c (getentropy): Change return type to int.
34957
144bdab0
AJ
349582017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34959
34960 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34961
24ab7723
JM
349622017-08-03 Joseph Myers <joseph@codesourcery.com>
34963
34964 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34965 u_intN_t.
34966 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34967 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34968 Likewise.
34969 (ieee_float_shape_type): Likewise.
34970 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34971 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34972 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34973 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34974 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34975 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34976 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34977 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34978 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34979 Likewise.
34980 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34981 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34982 (__ieee754_yn): Likewise.
34983 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34984 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34985 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34986 Likewise.
34987 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34988 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34989 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34990 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34991 (__erfc): Likewise.
34992 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34993 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34994 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34995 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34996 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34997 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34998 Likewise.
34999 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
35000 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
35001 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
35002 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
35003 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
35004 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35005 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35006 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35007 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35008 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35009 (__issignaling): Likewise.
35010 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35011 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35012 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35013 Likewise.
35014 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35015 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35016 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35017 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35018 Likewise.
35019 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35020 Likewise.
35021 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35022 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35023 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35024 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35025 (__erfcf): Likewise.
35026 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35027 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35028 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35029 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35030 Likewise.
35031 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35032 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35033 Likewise.
35034 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35035 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35036 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35037 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35038 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35039 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35040 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35041 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35042 Likewise.
35043 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35044 Likewise.
35045 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35046 Likewise.
35047 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35048 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35049 Likewise.
35050 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35051 Likewise.
35052 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35053 (__ieee754_ynl): Likewise.
35054 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35055 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35056 Likewise.
35057 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35058 Likewise.
35059 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35060 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35061 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35062 Likewise.
35063 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35064 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35065 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35066 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35067 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35068 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35069 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35070 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35071 Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35075 Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35077 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35078 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35079 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35080 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35081 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35082 Likewise.
35083 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35084 Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35086 Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35088 Likewise.
35089 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35090 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35091 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35092 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35093 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35094 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35095 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35096 Likewise.
35097 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35098 Likewise.
35099 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35100 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35101 Likewise.
35102 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35103 (__ieee754_remainderl): Likewise.
35104 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35106 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35107 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35108 Likewise.
35109 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35110 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35111 Likewise.
35112 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35113 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35114 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35115 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35116 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35117 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35118 Likewise.
35119 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35120 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35121 (__ieee754_y0l): Likewise.
35122 (pzero): Likewise.
35123 (qzero): Likewise.
35124 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35125 (__ieee754_y1l): Likewise.
35126 (pone): Likewise.
35127 (qone): Likewise.
35128 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35129 (__ieee754_ynl): Likewise.
35130 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35131 (__ieee754_lgammal_r): Likewise.
35132 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35133 Likewise.
35134 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35135 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35136 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35137 (__erfcl): Likewise.
35138 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35139 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35140 Likewise.
35141 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35142 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35143 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35144 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35145 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35146 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35147 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35148 Likewise.
35149 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35150 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35151 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35152 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35153 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35154 Likewise.
35155 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35156 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35157 Likewise.
35158 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35159 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35160 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35161 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35162 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35163
964263bb
FW
351642017-08-03 Florian Weimer <fweimer@redhat.com>
35165
35166 [BZ #21885]
35167 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35168 on memory allocation failure.
35169
e98c925f
AM
351702017-08-03 Alan Modra <amodra@gmail.com>
35171
35172 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35173 tst-tlsopt-powerpc.c with function name change and no test harness.
35174 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35175 Call tls_get_addr_opt_test.
35176 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35177 (modules-names): Add mod-tlsopt-powerpc.
35178 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35179 (tst-tlsopt-powerpc): Depend on .so.
35180 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35181 define. Expand use in TLS_GD and TLS_LD.
35182
8ee1abdb
ST
351832017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35184
35185 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35186 function.
3da5756e 35187 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35188
42df8d59
JM
351892017-08-02 Joseph Myers <joseph@codesourcery.com>
35190
35191 [BZ #21686]
35192 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35193 comparing size with that of double.
35194 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35195 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35196 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35197 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35198 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35199 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35200 unsigned __int128 types.
35201
b7f95f49
SE
352022017-08-02 Steve Ellcey <sellcey@cavium.com>
35203
35204 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35205 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35206 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35207 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35208 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35209
5b736bc9
L
352102017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35211
35212 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35213
dfc93c41
L
352142017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35215
35216 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35217 of SHARED.
35218 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35219 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35220 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35221 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35222 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35223 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35224 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35225
2fee621d
JM
352262017-08-02 Joseph Myers <joseph@codesourcery.com>
35227
35228 [BZ #21685]
35229 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35230 bit-field expressions passed to sizeof or typeof.
35231 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35232 (__TGMATH_F128): Likewise.
35233 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35234 (__TGMATH_CF128): Likewise.
35235 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35236 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35237 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35238 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35239 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35240 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35241 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35242 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35243 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35244 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35245 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35246 (__TGMATH_UNARY_IMAG): Likewise.
35247 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35248 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35249 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35250 type.
35251 (define_vars_for_type): Handle bit_field type specially.
35252 (Tests.__init__): Declare structure with bit-field element.
35253
b358255f
L
352542017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35255
35256 [BZ #21791]
35257 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35258 (MEMCPY_CHK): Define only if SHARED is defined.
35259 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35260 Likewise.
35261 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35262 Likewise.
edf66db1
SP
35263
35264See ChangeLog.18 for earlier changes.