]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
math: Use wordsize-64 version for isinf
[thirdparty/glibc.git] / ChangeLog
CommitLineData
21bd039b
AZ
12019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2
a8c590f7
AZ
3 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
4 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
5
2666f963
AZ
6 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
7 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
8 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
9 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
10 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
11 s_isnanf-* objects.
12 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
13 Remove file
14 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
15 Likewise.
16 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
17 Likewise.
18 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
19 Likewise.
20 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
21 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
22 Likewise.
23 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
24 Likewise.
25 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
26 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
27 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
28 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
29 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
30 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
31 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
32 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
33 Remove s_isnan-* and s_isnanf-* objects.
34 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
35 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
36 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
37 Likewise.
38 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
39 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
40 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
41 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
42 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
43 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
44 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
45 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
46 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
47 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
48 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
49 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
50 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
51
197dbda1
AZ
52 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
53 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
54
2731a326
AZ
55 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
56 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
57 CFLAGS-bench-isfinite.c): New rule.
58 * benchtests/isnan-input: New file.
59 * benchtests/isinf-input: New file.
60 * benchtests/isfinite-input: New file.
61
e41d66e4
AZ
62 * sysdeps/powerpc/fpu/s_copysign.c: New file.
63 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
64 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
65 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
66 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
67 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
68 s_copysign-ppc32.
69 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
70 Remove file.
71 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
72 Likewise.
73 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
74 Likewise.
75 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
76 Likewise.
77 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
78 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
79 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
80 Remove s_copysign-power6 s_copysign-ppc64.
81 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
82 Remove file.
83 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
84 Likewise.
85 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
86 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
87 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
88 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
89 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
90 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
91
21bd039b
AZ
92 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
93 round_to_integer_float, round_mode): Add RINT handling.
94 (reset_fenv_mode): New symbol.
95 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
96 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
97 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
98 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
99 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
100 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
101
cfa61144
FW
1022019-06-12 Florian Weimer <fweimer@redhat.com>
103
104 [BZ #24632]
105 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
106 * libio/freopen.c (freopen): Use it.
107
744e8296
FW
1082019-06-12 Florian Weimer <fweimer@redhat.com>
109
110 Linux: Deprecate sysctl.
111 * include/sysctl.h (__sysctl): Remove declaration.
112 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
113 check.
114 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
115 (sysctl): Add deprecation attribute.
116 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
117 directly, to avoid the deprecation warning. Do not include
118 <string.h>.
119 (__sysctl): Remove hidden alias.
120
5dad6ffb
FW
1212019-06-12 Florian Weimer <fweimer@redhat.com>
122
123 Linux: Use kernel headers for statx definitions if available.
124 * include/bits/statx-generic.h: New file.
125 * include/bits/types/struct_statx.h: Likewise.
126 * include/bits/types/struct_statx_timestamp.h: Likewise.
127 * io/Makefile (headers): Add bits/statx-generic.h.
128 * io/bits/statx-generic.h: New file. Partly copied from
129 io/bits/statx.h.
130 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
131 define original_statx.
132 * io/bits/types/struct_statx.h: Likewise.
133 * io/bits/types/struct_statx_timestamp.h: Likewise.
134 (statx_generic): Use original_statx.
135 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
136 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
137
4e75c2a4
FW
1382019-06-12 Florian Weimer <fweimer@redhat.com>
139
140 * misc/sys/cdefs.h (__glibc_has_include): Define.
141
680942b0
WD
1422019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
143
144 * string/memmem.c (__memmem): Rewrite to improve performance.
145
5e0a7ecb
WD
1462019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
147
148 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
149 warning.
150 (two_way_long_needle): Block inlining.
151 * string/strstr.c (strstr2): Add new function.
152 (strstr3): Likewise.
153 (STRSTR): Completely rewrite strstr to improve performance.
154
80b2bfb5
WD
1552019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
156
157 * benchtests/bench-strstr.c (test_hard_needle): New function.
158
e6e24243
JM
1592019-06-10 Joseph Myers <joseph@codesourcery.com>
160
161 * malloc/tst-calloc.c: Include <libc-diag.h>.
162 (null_test): Ignore -Wunused-result around calls to calloc.
163 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
164 (do_test): Ignore -Wunused-result around call to malloc.
165
51ea67d5
FW
1662019-06-07 Florian Weimer <fweimer@redhat.com>
167
168 Linux: Add getdents64 system call.
169 * include/dirnent.h (getdents): Add comment and change buffer
170 argument type to void *.
171 (getdents64): Likewise. Add hidden prototype.
172 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
173 getdents64.
174 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
175 Add tst-getdents64.
176 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
177 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
178 argument type to void *.
179 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
180 Add hidden definition and getdents64 alias.
181 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
182 Likewise.
183 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
184 * manual/filesys.texi (Accessing Directories): Add Low-level
185 Directory Access node reference.
186 (Opening a Directory): Cross-reference it.
187 (Low-level Directory Access): New node.
188 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
189 getdents64.
190 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
191 Likewise.
192 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
193 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
194 Likewise.
195 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
196 Likewise.
197 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
198 Likewise.
199 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
200 Likewise.
201 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
202 Likewise.
203 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
204 Likewise.
205 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
206 Likewise.
207 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
208 (GLIBC_2.30): Likewise.
209 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
210 (GLIBC_2.30): Likewise.
211 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
212 (GLIBC_2.30): Likewise.
213 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
214 (GLIBC_2.30): Likewise.
215 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
216 Likewise.
217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
218 (GLIBC_2.30): Likewise.
219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
220 (GLIBC_2.30): Likewise.
221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
222 (GLIBC_2.30): Likewise.
223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
224 (GLIBC_2.30): Likewise.
225 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
226 Likewise.
227 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
228 Likewise.
229 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
230 Likewise.
231 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
232 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
233 Likewise.
234 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
235 Likewise.
236 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
237 Likewise.
238 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
239 Likewise.
240
de751ebc
PC
2412019-06-06 Paul A. Clarke <pc@us.ibm.com>
242
243 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
244 (__FPU_MFFS): New.
245 (__FPU_MFFSL): New.
246 (_FPU_GET_RC): New.
247 (_FPU_GETCW): Use __FPU_MFFS().
248 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
249
28dd3939
FW
2502019-06-06 Florian Weimer <fweimer@redhat.com>
251
252 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
253 internal GCC preprocessor identifier __has_include__.
254
0158473d
PC
2552019-06-05 Paul A. Clarke <pc@us.ibm.com>
256
257 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
258 with call to equivalent function.
259
e863dbf6
FW
2602019-06-04 Florian Weimer <fweimer@redhat.com>
261
262 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
263 (do_release_shlib): Adjust for __twalk_r.
264 (__gconv_release_shlib): Call __twalk_r.
265
4802be92
AS
2662019-06-04 Andreas Schwab <schwab@suse.de>
267
268 [BZ #18830]
269 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
270 no irreversible characters occurred.
271 * iconv/gconv_simple.c (internal_ucs4_loop)
272 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
273 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
274 (ucs4_internal_loop_single, internal_ucs4le_loop)
275 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
276 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
277 (ucs4le_internal_loop_single): Add const to outend.
278 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
279 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
280 * iconv/Makefile (tests): Add tst-iconv7.
281 * iconv/tst-iconv7.c: New file.
282
dc91a19e
JM
2832019-06-03 Joseph Myers <joseph@codesourcery.com>
284
285 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
286
6a1a9a49 2872019-06-01 Florian Weimer <fweimer@redhat.com>
6b33f373
FW
288
289 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
290 * sysdeps/unix/sysv/linux/arm/Makefile
291 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
292 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
293 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
294 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
295 compatibility symbols.
296
0bb8f8c7
FW
2972019-05-31 Florian Weimer <fweimer@redhat.com>
298
299 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
300 system calls for the arm architecture: breakpoint, get_tls,
301 set_tls, usr26, usr32.
302
9250e661
GG
3032019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
304
305 * sysdeps/powerpc/Makefile
306 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
307 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
308 Declare '.machine power7' to get support for ldbrx.
309 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
310 directive based on the directory of the file.
311 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
312 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
313 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
314 '.machine' directive.
315 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
316 (VADDUQM_V7_V8): Remove.
317 (__STRCASECMP): Replace macros with actual instructions.
318 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
319 '.machine' directive.
320 (VCLZD_V8_v7): Remove.
321 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
322
fbd6c928
AZ
3232019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
324
325 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
326 Remove file.
327 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
328
e47308c9
AZ
3292019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
330
331 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
332 NEARBYINT handling.
333 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
334 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
335 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
336 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
337 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
338 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
339
157cda1f 3402019-05-28 mansayk <6688000@gmail.com>
341
342 [BZ #24370]
343 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
344
182a3746 3452019-05-28 mansayk <6688000@gmail.com>
346
347 [BZ #24369]
348 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
349 (abmon): Likewise, but remove the trailing dots.
350
c6df1ce3
JM
3512019-05-28 Joseph Myers <joseph@codesourcery.com>
352
353 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
354
85188d82
FW
3552019-05-27 Florian Weimer <fweimer@redhat.com>
356
357 * nptl/nptl-init.c: Add comment.
358
5c23c821
FW
3592019-05-24 Florian Weimer <fweimer@redhat.com>
360
361 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
362 struct in_addr/struct in6_addr alignment.
363
bee1f2c4
JM
3642019-05-23 Joseph Myers <joseph@codesourcery.com>
365
366 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
367 (F_SEAL_FUTURE_WRITE): New macro.
368
481c30cb
AH
3692019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
370
371 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
372 * elf/tst-ldconfig-bad-aux-cache.c: New file.
373 * elf/tst-ldconfig_aux-cache.root: New directory.
374 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
375 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
376 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
377
cb755eed
ZW
3782019-05-22 Zack Weinberg <zackw@panix.com>
379
380 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
381 host type.
382 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
383 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
384
385 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
388 Delete.
389
390 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
391 Issue an #error if used with a compiler in SPE-float mode.
392 * sysdeps/powerpc/powerpc32/__longjmp_common.S
393 * sysdeps/powerpc/powerpc32/setjmp_common.S
394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
400 Remove code to preserve SPE register state.
401
402 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
403 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
404 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
405 Remove __SPE__ ifndefs.
406
46ae0732
WD
4072019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
408
409 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
410 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
411 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
412 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
413 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
414 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
415 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
416 (INNER_LOOP_ITERS_MEDIUM): New define.
417 (INNER_LOOP_ITERS_SMALL): New define.
418 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
419 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
420 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
421 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
422 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
423
004e52fe
AZ
4242019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
425
426 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
427 New define.
428 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
429 (SEMTIMEDOP_IPC_ARGS): Likewise.
430
c9c15ac3
FW
4312019-05-21 Florian Weimer <fweimer@redhat.com>
432
433 [BZ #24584]
434 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
435 before updating __counter field and release it afterwards. Add
436 overflow check.
437 * iconv/gconv.h (struct __gconv_step): Mention synchronization
438 requirement for __counter member.
439
7e740ab2
FW
4402019-05-21 Florian Weimer <fweimer@redhat.com>
441
442 [BZ #24583]
443 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
444 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
445 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
446 instead of __gconv_release_step.
447 * libio/Makefile (tests): Add tst-wfile-gconv.
448 (tests-container): Add tst-wfile-ascii.
449 (tst-wfile-gconv-ENV): Enable mtrace.
450 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
451 (tests-special): Add tst-wfile-gconv-mem.out.
452 (tst-wfile-gconv.out): Depend on locales.
453 (tst-wfile-gconv-mem.out): Add mtrace rule.
454 * libio/tst-wfile-ascii.c: New file.
455 * libio/tst-wfile-gconv.c: Likewise.
456
09e1b0e3
FW
4572019-05-20 Florian Weimer <fweimer@redhat.com>
458
459 [BZ #24588]
460 libio: Remove codecvt vtable.
461 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
462 __libio_codecvt.
463 * libio/iofgetpos.c (_IO_new_fgetpos): Call
464 __libio_codecvt_encoding.
465 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
466 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
467 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
468 * libio/iofwide.c (__libio_codecvt): Remove variable.
469 (_IO_fwide): Do not copy __libio_codecvt.
470 (__libio_codecvt_out): Rename from do_out and export.
471 (do_unshift): Remove function.
472 (__libio_codecvt_in): Rename from do_in and export.
473 (__libio_codecvt_encoding): Rename from do_encoding and export.
474 (do_always_noconv): Remove function.
475 (__libio_codecvt_length): Rename from do_length and export.
476 (do_max_length): Remove function.
477 * libio/libio.h (enum __codecvt_result): Remove definition; moved
478 to libioP.h.
479 (struct _IO_codecvt): Remove fields __codecvt_destr,
480 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
481 __codecvt_do_encoding, __codecvt_do_always_noconv,
482 __codecvt_do_length, __codecvt_do_max_length.
483 * libio/libioP.h (enum __codecvt_result): Define; moved from
484 libio.h.
485 (__libio_codecvt_out, __libio_codecvt_in)
486 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
487 functions.
488 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
489 (_IO_wfile_underflow): Call __libio_codecvt_in.
490 (_IO_wfile_underflow): Likewise.
491 (_IO_wfile_underflow_mmap): Likewise.
492 (_IO_wfile_sync): Call __libio_codecvt_encoding,
493 __libio_codecvt_length.
494 (adjust_wide_data): Call __libio_codecvt_encoding,
495 __libio_codecvt_in.
496 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
497 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
498 __libio_codecvt_length.
499
75c51570
FW
5002019-05-20 Florian Weimer <fweimer@redhat.com>
501
502 * support/support.h (support_sbindir_prefix): Declare.
503 (support_install_rootsbindir): Update comment.
504 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
505 * support/support_paths.c (support_sbindir_prefix): Define.
506
ff6bec7d
MC
5072019-05-20 Mike Crowe <mac@mcrowe.com>
508
b62bb3bc
MC
509 * support/timespec.c: Add backslash to correct newline in failure
510 message.
511
ff6bec7d
MC
512 * support/timespec.h: Correct confusing comment.
513
dfba907f
AZ
5142019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
515
236c18e5
AZ
516 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
517 define.
518 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
519 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
520 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
521 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
522
dfba907f
AZ
523 [BZ #24570]
524 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
525 usage.
526
13886008
JM
5272019-05-20 Joseph Myers <joseph@codesourcery.com>
528
529 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
530 (NT_ARM_PACG_KEYS): Likewise.
531
1f50f2ad
WD
5322019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
533
534 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
535 (tcache_put): Remove redundant assert.
536 (tcache_get): Remove redundant asserts.
537 (__libc_malloc): Check tcache count is not zero.
538 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
539
fef7c63c
FW
5402019-05-17 Florian Weimer <fweimer@redhat.com>
541
542 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
543
5f161b23
JM
5442019-05-16 Joseph Myers <joseph@codesourcery.com>
545
546 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
547 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
548 0x050100].
549 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
550 Likewise.
551 * sysdeps/unix/sysv/linux/sh/kernel-features.h
552 (__ASSUME_STATX): Likewise.
553
ec255a97
FW
5542019-05-16 Florian Weimer <fweimer@redhat.com>
555
556 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
557 flags argument.
558 (LINE_PARSER): Do not map IPv4 addresses.
559 (internal_nis_gethostent_r): Remove flags argument. Adjust call
560 to parse_line.
561 (_nss_nis_gethostent_r): Always pass AF_INET to
562 internal_nis_gethostent_r.
563 (internal_gethostbyname2_r): Remove flags argument. Adjust call
564 to parse_line.
565 (_nss_nis_gethostbyname2_r): Adjust call to
566 internal_nis_gethostent_r.
567 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
568 call to internal_nis_gethostent_r.
569 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
570 from parse_line.
571 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
572 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
573 Remove flags argument. Do not map IPv4 addresses.
574 (internal_nisplus_gethostent_r): Adjust call to
575 _nss_nisplus_parse_hostent.
576 (internal_gethostbyname2_r): Remove flags argument. Adjust call
577 to _nss_nisplus_parse_hostent.
578 (_nss_nisplus_gethostbyname2_r): Adjust call to
579 internal_gethostbyname2_r.
580 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
581 Adjust call to internal_gethostbyname2_r.
582 (_nss_nisplus_gethostbyaddr_r): Adjust call to
583 _nss_nisplus_parse_hostent.
584 (_nss_nisplus_gethostbyname4_r): Adjust call to
585 internal_gethostbyname2_r.
586
9c02d078
FW
5872019-05-16 Florian Weimer <fweimer@redhat.com>
588
589 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
590 Remove flags.
591 (LINE_PARSER): Remove address mapping.
592 (EXTRA_ARGS_VALUE): Remove flags argument.
593 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
594 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
595 gethostbyname3_multi.
596 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
597 _nss_files_gethostbyname3_r.
598 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
599
85b0e1e8
FW
6002019-05-16 Florian Weimer <fweimer@redhat.com>
601
602 * support/support_test_compare_blob.c (report_blob): Report
603 incorrect NULL blobs.
604
11b451c8
MW
6052019-05-15 Mark Wielaard <mark@klomp.org>
606
607 [BZ# 24476]
608 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
609 __libc_once_get (once) and static_buf == NULL.
610 (__dlerror): Check we have a valid key, set result to static_buf
611 otherwise.
612
32ff3975
AS
6132019-05-15 Andreas Schwab <schwab@suse.de>
614
615 [BZ #20568]
616 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
617 __codecvt_do_length.
618 * libio/Makefile (tests): Add tst-wfile-sync.
619 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
620 * libio/tst-wfile-sync.c: New file.
621 * libio/tst-wfile-sync.input: New file.
622
a9368c34
FW
6232019-05-15 Florian Weimer <fweimer@redhat.com>
624
625 nss: Turn __nss_database_lookup into a compatibility symbol.
626 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
627 __nss_database_lookup.
628 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
629 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
630 __nss_database_lookup.
631 (__nss_next): Move to …
632 * nss/compat-lookup.c (nss_next): … here. Change it to fail
633 unconditionally.
634 (__nss_database_lookup): New function.
635 * nss/Versions (GLIBC_2.0): Update comment.
636 (GLIBC_PRIVATE): Export __nss_database_lookup2.
637 * grp/initgroups.c (internal_getgrouplist): Call
638 __nss_database_lookup2 instead of __nss_database_lookup.
639 * nscd/aicache.c (addhstaiX): Likewise.
640 * nscd/initgrcache.c (addinitgroupsX): Likewise.
641 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
642 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
643 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
644 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
645 Likewise.
646 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
647 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
649
d50f0918 6502019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
32ff3975 651
d50f0918
AH
652 * support/support.h (support_install_rootsbindir): New variable.
653 * support/support_paths.c: Likewise.
654 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
655
7ac6fad9
FW
6562019-05-15 Florian Weimer <fweimer@redhat.com>
657
658 * iconv/gconv.h (__gconv_transliterate): Move declaration …
659 * iconv/gconv_int.h (__gconv_transliterate): … here.
660 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
661 * iconv/skeleton.c: Likewise.
662
04b261bd
FW
6632019-05-14 Florian Weimer <fweimer@redhat.com>
664
665 Linux: Add the tgkill function.
666 * bits/signal_ext.h: New file.
667 * manual/signal.texi (Signaling Another Process): Document tgkill.
668 * signal/Makefile (headers): Add bits/signal_ext.h.
669 * signal/signal.h: Include <bits/signal_ext.h>.
670 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
671 (tst-tgkill): Link with libpthread.
672 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
673 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
674 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
675 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
676 tgkill.
677 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
678 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
679 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
680 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
681 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
682 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
683 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
684 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
685 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
686 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
687 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
688 Likewise.
689 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
690 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
691 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
693 Likewise.
694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
695 Likewise.
696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
697 Likewise.
698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
699 Likewise.
700 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
701 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
702 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
703 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
704 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
705 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
706 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
707 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
708
6807f47b
CD
7092019-05-14 Carlos O'Donell <carlos@redhat.com>
710
711 * manual/search.texi (Tree Search Function): Adjust twalk_r
712 documentation.
713
fdb8a0be
AZ
7142019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
715
da2b83ef
AZ
716 [BZ #24544]
717 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
718 pre-defined value.
719
c7ac9caa
AZ
720 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
721 * support/support.h (support_bindir_prefix): New variable.
722 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
723
91f043ae
AZ
724 * config.make.in (bindir): New variable.
725
c50e1c26
AZ
726 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
727 (lll_trylock): Call __lll_trylock.
728 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
729 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
730 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
731 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
732 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
733 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
734 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
735 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
736 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
737 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
738 lowlevellock-futex.h.
739
959aff9f
AZ
740 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
741 initialization for LLL_LOCK_INITIALIZER different than 0.
742 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
743 Assume LLL_LOCK_INITIALIZER being 0.
744 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
745 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
746 Likewise.
747 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
748 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
749
d7e4c642
AZ
750 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
751 Optimize futex call and add systemtap probe.
752
fdb8a0be
AZ
753 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
754 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
755 __libc_disable_asynccancel, __librt_enable_asynccancel,
756 __libc_disable_asynccancel, __librt_enable_asynccancel,
757 __librt_disable_asynccancel): Move to ...
758 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
759 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
760 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
761 * sysdeps/generic/single-thread.h: New file.
762 * sysdeps/unix/sysdep.h: Include single-thread.h.
763 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
764 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
765
f6efec90
MF
7662019-05-08 Mike FABIAN <mfabian@redhat.com>
767
768 [BZ #24535]
769 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
770 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
771 Unicode 12.1.0.
772 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
773 * localedata/unicode-gen/PropList.txt: Likewise.
774 * localedata/unicode-gen/UnicodeData.txt: Likewise.
775 * localedata/charmaps/UTF-8: Regenerate.
776 * localedata/locales/i18n_ctype: Likewise.
777 * localedata/locales/tr_TR: Likewise.
778 * localedata/locales/translit_circle: Likewise.
779 * localedata/locales/translit_cjk_compat: Likewise.
780 * localedata/locales/translit_combining: Likewise.
781 * localedata/locales/translit_compat: Likewise.
782 * localedata/locales/translit_font: Likewise.
783 * localedata/locales/translit_fraction: Likewise.
784
5ad533e8
WD
7852019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
786
787 [BZ #24531]
788 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
789 (do_set_tcache_count): Only update if count is small enough.
790 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
791
4aee85f9
FW
7922019-05-10 Florian Weimer <fweimer@redhat.com>
793
794 * nptl/sem_close.c (struct walk_closure): Define.
795 (walker): Adjust for __twalk_r.
796 (sem_close): Call __twalk_r.
797
eb669ff5
AZ
7982019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
799
800 * support/timespec.c (test_timespec_before_impl,
801 test_timespec_equal_or_after_impl): print timespec member as intmax_t
802 insted of long int.
803
51983996
MC
8042019-05-09 Mike Crowe <mac@mcrowe.com>
805
44ac6ee9
MC
806 * nptl/tst-abstime.c: Use libsupport.
807
495514ee
MC
808 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
809 small bug where only tv.tv_usec was checked which could cause an
810 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
811 than a second.
812
813 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
814 libsupport.
815
40d0816f
MC
816 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
817 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
818
d8e0b901
MC
819 * nptl/tst-cond11.c: Use libsupport.
820
51983996
MC
821 * support/timespec.h: New file. Provide timespec helper functions
822 along with macros in the style of those in check.h.
823 * support/timespec.c: New file. Implement check functions declared
824 in support/timespec.h.
825 * support/timespec-add.c: New file from gnulib containing
826 timespec_add implementation that handles overflow.
827 * support/timespec-sub.c: New file from gnulib containing
828 timespec_sub implementation that handles overflow.
829 * support/README: Mention timespec.h.
830
18aa51ee
SN
8312019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
832
833 [BZ #24537]
834 * nptl/Makefile: Move tst-eintr1 to xtests.
835
252296c6
AZ
8362019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
837
ae45cf84
AZ
838 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
839 TRUNC handling.
840 (round_mode): Add definition for TRUNC.
841 * sysdeps/powerpc/fpu/s_trunc.c: New file.
842 * sysdeps/powerpc/fpu/s_truncf.c: New file.
843 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
844 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
845 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
846 Likewise.
847 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
848 Likewise.
849 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
850 Likewise.
851 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
852 Likewise.
853 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
854 file.
855 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
856 Likewise.
857 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
858 Likewise.
859 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
860 Likewise.
861 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
862 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
863 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
864 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
865 s_truncf-power5+, and s_truncf-ppc64.
866 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
867 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
868 file.
869 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
871 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
872 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
873 file.
874 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
875 Likewise.
876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
877 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
878 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
879 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
880 s_truncf-power5+, and s_truncf-ppc64.
881 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
882 file.
883 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
884 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
885 Likewise.
886 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
887 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
888 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
889 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
890 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
891
a1cb1888
AZ
892 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
893 ROUND handling.
894 (round_mode): Add definition for ROUND.
895 (round_to_integer_float): Likewise.
896 * sysdeps/powerpc/fpu/s_round.c: New file.
897 * sysdeps/powerpc/fpu/s_roundf.c: New file.
898 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
899 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
900 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
901 Likewise.
902 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
903 Likewise.
904 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
905 Likewise.
906 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
907 Likewise.
908 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
909 file.
910 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
911 Likewise.
912 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
913 Likewise.
914 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
915 Likewise.
916 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
917 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
918 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
919 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
920 s_roundf-power5+, and s_roundf-ppc64.
921 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
922 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
923 file.
924 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
926 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
927 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
928 file.
929 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
930 Likewise.
931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
932 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
934 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
935 s_roundf-power5+, and s_roundf-ppc64.
936 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
937 file.
938 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
939 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
940 Likewise.
941 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
942 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
943 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
944 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
945 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
946
252296c6
AZ
947 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
948 Add FLOOR option.
949 (round_mode): Add definition for FLOOR.
950 * sysdeps/powerpc/fpu/s_floor.c: New file.
951 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
952 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
953 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
955 Remove file.
956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
957 Likewise
958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
959 Likewise.
960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
961 Likewise.
962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
963 New file.
964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
965 Likewise.
966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
967 Likewise.
968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
969 Likewise.
970 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
971 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
972 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
973 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
974 s_floorf-power5+, and s_floorf-ppc64.
975 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
976 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
977 file.
978 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
980 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
981 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
982 file.
983 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
984 Likewise.
985 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
986 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
987 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
988 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
989 s_floorf-power5+, and s_floorf-ppc64.
990 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
991 file.
992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
993 file.
994 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
995 Likewise.
996 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
997 Likewise.
998 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
999 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1000 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1001 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1002
33647a72
MC
10032019-05-08 Mike Crowe <mac@mcrowe.com>
1004
1005 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1006 clock_gettime wrapper for use in tests that fails the test rather
1007 than returning failure.
1008
1009 * support/xtime.h: New file to declare xclock_gettime.
1010
1011 * support/Makefile: Add xclock_gettime.c.
1012
1013 * support/README: Mention xtime.h.
1014
b2f601ba
FW
10152019-05-08 Florian Weimer <fweimer@redhat.com>
1016
1017 malloc/tst-mallocfork2: Use process-shared barriers.
1018 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1019 (signal_count, sigusr1_sender_pid): Remove.
1020 (iterations): Define constant.
1021 (shared): New variable.
1022 (sigusr1_received): Update comment.
1023 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1024 (signal_sender): Optional use barriers to avoid sending signals
1025 during irrelevant times.
1026 (do_it): Initialize variable shared. Use xfork for error
1027 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1028 the iteration count, independent of signal delivery. Check for
1029 deadlocks in fork. Introduce barriers for reducing signal
1030 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1031 replaced by the barriers. Count signals during fork/free/malloc
1032 and report them.
1033 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1034
c4a392cf
JM
10352019-05-07 Joseph Myers <joseph@codesourcery.com>
1036
7621676f
JM
1037 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1038 version to 5.1.
1039 (clock_adjtime64) New syscall.
1040 (clock_getres_time64) Likewise.
1041 (clock_gettime64) Likewise.
1042 (clock_nanosleep_time64) Likewise.
1043 (clock_settime64) Likewise.
1044 (futex_time64) Likewise.
1045 (io_pgetevents_time64) Likewise.
1046 (io_uring_enter) Likewise.
1047 (io_uring_register) Likewise.
1048 (io_uring_setup) Likewise.
1049 (mq_timedreceive_time64) Likewise.
1050 (mq_timedsend_time64) Likewise.
1051 (pidfd_send_signal) Likewise.
1052 (ppoll_time64) Likewise.
1053 (pselect6_time64) Likewise.
1054 (recvmmsg_time64) Likewise.
1055 (rt_sigtimedwait_time64) Likewise.
1056 (sched_rr_get_interval_time64) Likewise.
1057 (semtimedop_time64) Likewise.
1058 (timer_gettime64) Likewise.
1059 (timer_settime64) Likewise.
1060 (timerfd_gettime64) Likewise.
1061 (timerfd_settime64) Likewise.
1062 (utimensat_time64) Likewise.
1063
c4a392cf
JM
1064 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1065 version to 9 branch.
1066
32e902a9
AY
10672019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1068
1069 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1070 __memmove_thunderx2 to the list of implementations
1071 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1072 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1073 (__memmove_thunderx2): Rewritten using SIMD ld/st
1074 (__memcpy_thunderx2): Fixed handling overlapping cases.
1075 Used ldp/stp instead of ldr/str if possible. Made loops
1076 tails branchless.
1077
ac3da35d
FW
10782019-05-03 Florian Weimer <fweimer@redhat.com>
1079
1080 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1081
b2af6fb2
AZ
10822019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1083
7dfde28a 1084 [BZ #24506]
b2af6fb2
AZ
1085 * elf/tst-pldd.c (in_str_list): New function.
1086 (do_test): Add default names for ld and libc as one option.
1087
7b807a35
FW
10882019-05-02 Florian Weimer <fweimer@redhat.com>
1089
1090 misc: Add twalk_r function.
1091 * include/search.h (__twalk_r): Declare.
1092 * manual/examples/twalk.c: New file.
1093 * manual/search.texi (Tree Search Function): Document twalk_r.
1094 * misc/Versions (2.30): Export twalk_r.
1095 (GLIBC_PRIVATE): Export __twalk_r.
1096 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1097 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1098 (twalk_r): Add weak alias.
1099 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1100 (walk_trace): New variable.
1101 (struct twalk_with_twalk_r_closure): Define.
1102 (twalk_with_twalk_r_action): New function.
1103 (twalk_with_twalk_r): Likewise.
1104 (walk_action): Call walk_trace_add.
1105 (walk_tree_with): Rename from walk_tree. Add walk argument.
1106 (walk_tree): New function.
1107 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1108 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1109 Likewise.
1110 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1111 Likewise.
1112 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1113 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1114 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1115 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1116 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1117 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1118 Likewise.
1119 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1120 Likewise.
1121 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1122 Likewise.
1123 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1124 (GLIBC_2.30): Likewise.
1125 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1126 (GLIBC_2.30): Likewise.
1127 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1128 (GLIBC_2.30): Likewise.
1129 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1130 (GLIBC_2.30): Likewise.
1131 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1132 Likewise.
1133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1134 (GLIBC_2.30): Likewise.
1135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1136 (GLIBC_2.30): Likewise.
1137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1138 (GLIBC_2.30): Likewise.
1139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1140 (GLIBC_2.30): Likewise.
1141 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1142 Likewise.
1143 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1144 Likewise.
1145 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1146 Likewise.
1147 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1148 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1149 Likewise.
1150 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1151 Likewise.
1152 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1153 Likewise.
1154 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1155 Likewise.
1156
20aa5819
PE
11572019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1158
1159 Make mktime etc. compatible with __time64_t
1160 Keep these functions compatible with Gnulib while adding
1161 __time64_t support. The basic idea is to move private API
1162 declarations from include/time.h to time/mktime-internal.h, since
1163 the former file cannot easily be shared with Gnulib whereas the
1164 latter can.
1165 Also, do some other minor cleanup while in the neighborhood.
1166 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1167 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1168 since Gnulib needs it.
1169 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1170 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1171 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1172 (in_time_t_range): New static function.
1173 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1174 so that glibc users are not tempted to use __time64_t.
1175 * time/mktime-internal.h: Rewrite so that it does both glibc
1176 and Gnulib work. Include time.h if not _LIBC.
1177 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1178 (__time64_t): New type or macro, moved here from
1179 posix/bits/types.h.
1180 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1181 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1182 from include/time.h.
1183 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1184 New macros, taken from GNulib.
1185 (__mktime_internal): New prototype, moved here from include/time.h.
1186 * time/mktime.c (mktime_min, mktime_max, convert_time)
1187 (ranged_convert, __mktime_internal, __mktime64):
1188 * time/timegm.c (__timegm64):
1189 Use __time64_t, not time_t.
1190 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1191 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1192 Rename from mktime.
1193 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1194 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1195 for libc_hidden_def.
1196 Include errno.h.
1197 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1198 Rename from timegm.
1199 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1200
87c266d7
MR
12012019-04-30 Maciej W. Rozycki <macro@wdc.com>
1202
1203 [BZ #19444]
1204 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1205 from `-Wmaybe-uninitialized'.
1206 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1207
c4c0848b
AZ
12082019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1209
6cac323c
AZ
1210 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1211 function.
1212 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1213 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1214 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1215 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1216 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1218 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1220 Remove file.
1221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1222 Likewise.
1223 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1224 Likewise.
1225 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1226 Likewise.
1227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1228 New file.
1229 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1230 Likewise.
1231 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1232 Likewise.
1233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1234 Likewise.
1235 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1237 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1238 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1239 Likewise.
1240 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1241 Likewise.
1242 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1243 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1244 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1245 file.
1246 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1247 Likewise.
1248 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1249 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1250 * here.
1251 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1252 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1253 s_ceilf-power5+, and s_ceilf-ppc64.
1254 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1255 file.
1256 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1257 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1258 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1263
c4c0848b
AZ
1264 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1265 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1266 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1267
f492fc99
YD
12682019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1269
1270 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1271 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1272 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1273 (sem_getvalue): Likewise.
1274
c57afec0
FW
12752019-04-26 Florian Weimer <fweimer@redhat.com>
1276
1277 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1278 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1279
a8ff215e
FW
12802019-04-26 Florian Weimer <fweimer@redhat.com>
1281
1282 Makeconfig: Move -Wl,-rpath-link options before library references.
1283 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1284 (link-libc): Remove $(link-libc-rpath-link).
1285
12862019-04-25 Florian Weimer <fweimer@redhat.com>
1287
1288 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1289 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1290 (+link-static-before-libc): Remove $(CC).
1291 (+link-static, +link-static-tests): Add $(CC).
1292 (+link-before-libc): Remove $(CC).
1293 (+link, +link-pie, +link-pie-printers): Add $(CC).
1294
e30fb31c
FW
12952019-04-26 Florian Weimer <fweimer@redhat.com>
1296
1297 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1298 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1299 (+link-static-before-libc): Remove $(CC).
1300 (+link-static, +link-static-tests): Add $(CC).
1301 (+link-before-libc): Remove $(CC).
1302 (+link, +link-pie, +link-pie-printers): Add $(CC).
1303
deacca00
DA
13042019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1305
1306 [BZ#24484]
1307 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1308
b5ffdc48
FW
13092019-04-25 Florian Weimer <fweimer@redhat.com>
1310
1311 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1312 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1313 (bench-link-targets): New variable.
1314 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1315
94a4e9e4
FW
13162019-04-25 Florian Weimer <fweimer@redhat.com>
1317
1318 Also enable BIND_NOW for programs if --enable-bind-now.
1319 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1320 (+link-pie): Use $(link-extra-flags).
1321 (+link-static): Likewise.
1322 [! $(build-pie-default)] (+link): Likewise.
1323 * manual/install.texi (Configuring and compiling): Update
1324 --enable-bind-now description.
1325 * INSTALL: Regenerated.
1326
fe92a91f
WD
13272019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1328
1329 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1330 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1331
f9b645b4
MF
13322019-04-24 Mike Frysinger <vapier@gentoo.org>
1333
1334 [BZ #18465]
1335 * malloc/Makefile (others): Add memusagestat.
1336 ($(objpfx)memusagestat): Delete rule.
1337 (LDLIBS-memusagestat): New variable.
1338
439bf534
FW
13392019-04-24 Florian Weimer <fweimer@redhat.com>
1340
1341 * locale/Makefile (tests-special): Guard setting by
1342 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1343 to run while cross-compiling.
1344
1a4c2735
AZ
13452019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1346
1347 [BZ #18035]
1348 * elf/Makefile (tests-container): Add tst-pldd.
1349 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1350 (E(find_maps)): Avoid use alloca, use default read file operations
1351 instead of explicit LFS names, and fix infinite loop.
1352 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1353 (get_process_info): Use _Static_assert instead of assert, use default
1354 directory operations instead of explicit LFS names, and free some
1355 leadek pointers.
1356 * elf/tst-pldd.c: New file.
1357
2d398aa2
L
13582019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1359
1360 * malloc/arena.c (do_set_mallopt_check): Removed.
1361
e485b2b6
FW
13622019-04-23 Florian Weimer <fweimer@redhat.com>
1363
1364 locale: Add LOCPATH diagnostics to the locale program.
1365 * locale/programs/locale.c (setlocale_failed): New variable.
1366 (try_setlocale): New function.
1367 (quote_string): Likewise.
1368 (setlocale_diagnostics): Likewise.
1369 (main): Call try_setlocale instead of setlocale. Call
1370 setlocale_diagnostics.
1371 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1372 (tst-locale-locpath.out): New target.
1373 * locale/tst-locale-locpath.sh: New file.
1374
25f7a3c9
AZ
13752019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1376
1377 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1378 to 2.30 notes.
1379
9bf8e29c
AZ
13802019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1381
1382 [BZ #23741]
1383 * malloc/hooks.c (malloc_check, realloc_check): Use
1384 __builtin_add_overflow on overflow check and adapt to
1385 checked_request2size change.
1386 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1387 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1388 allocation size to PTRDIFF_MAX.
1389 (REQUEST_OUT_OF_RANGE): Remove macro.
1390 (checked_request2size): Change to inline function and limit maximum
1391 requested size to PTRDIFF_MAX.
1392 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1393 maximum allocation size to PTRDIFF_MAX.
1394 (_mid_memalign): Use _int_memalign call for overflow check.
1395 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1396 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1397 limit maximum requested size to PTRDIFF_MAX.
1398 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1399 valloc, pvalloc): Add __attribute_alloc_size__.
1400 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1401 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1402 larger than PTRDIFF_MAX.
1403 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1404 around tests of malloc with negative sizes.
1405 * malloc/tst-posix_memalign.c (do_test): Likewise.
1406 * malloc/tst-pvalloc.c (do_test): Likewise.
1407 * malloc/tst-valloc.c (do_test): Likewise.
1408 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1409 with resulting size allocation larger than PTRDIFF_MAX with
1410 reallocarray_nowarn.
1411 (reallocarray_nowarn): New function.
1412 * NEWS: Mention the malloc function semantic change.
1413
0e169691
AZ
14142019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1415
52faba65
AZ
1416 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1417 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1418
3a16dd78
AZ
1419 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1420 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1421 * sysdeps/powerpc/fpu/s_fma.c: New file.
1422 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1423
1dac8bd6
AZ
1424 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1425 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1426
a3ae315a
AZ
1427 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1428 the magic flag store.
1429 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1430 Likewise.
1431 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1432 Likewise.
1433 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1434 Remove rt_sigreturn call.
1435
ffe8a9a8
AZ
1436 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1437 Remove rt_sigreturn call.
1438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1439 Likewise.
1440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1442
0e169691
AZ
1443 * support/Makefile (libsupport-routines): Add support_subprocess,
1444 xposix_spawn, xposix_spawn_file_actions_addclose, and
1445 xposix_spawn_file_actions_adddup2.
1446 (tst-support_capture_subprocess-ARGS): New rule.
1447 * support/capture_subprocess.h (support_capture_subprogram): New
1448 prototype.
1449 * support/support_capture_subprocess.c (support_capture_subprocess):
1450 Refactor to use support_subprocess and support_capture_poll.
1451 (support_capture_subprogram): New function.
1452 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1453 str_to_write_mode, test_common, parse_int, handle_restart,
1454 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1455 (do_test): Add support_capture_subprogram tests.
1456 * support/subprocess.h: New file.
1457 * support/support_subprocess.c: Likewise.
1458 * support/xposix_spawn.c: Likewise.
1459 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1460 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1461 * support/xspawn.h: Likewise.
1462
bae8cf0e
MG
14632019-04-17 Mike Gerow <gerow@google.com>
1464
1465 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1466 groups limit.
1467
e3f454ba
FW
14682019-04-11 Florian Weimer <fweimer@redhat.com>
1469
1470 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1471 domain with empty string.
1472 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1473
32d85c11
FW
14742019-04-11 Florian Weimer <fweimer@redhat.com>
1475
1476 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1477 comment.
1478 (alloc_buffer_next): Change return type to non-const. Update
1479 comment.
1480
221710af
FW
14812019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1482
1483 * manual/time.texi (Formatting Calendar Time): Add missing percent
1484 sign to conversion specifier.
1485
e621246e
CD
14862019-04-09 Carlos O'Donell <carlos@redhat.com>
1487 Kwok Cheung Yeung <kcy@codesourcery.com>
1488
1489 [BZ #16573]
1490 * malloc/mtrace.c: Define prototypes for all hooks.
1491 (set_default_hooks): New function.
1492 (set_trace_hooks): Likewise.
1493 (save_default_hooks): Likewise.
1494 (tr_freehook): Use new s*_hooks functions.
1495 (tr_mallochook): Likewise.
1496 (tr_reallochook): Likewise.
1497 (tr_memalignhook): Likewise.
1498 (mtrace): Likewise.
1499 (muntrace): Likewise.
1500
648279f4
WD
15012019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1502
1503 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1504 (generic_stpcpy): New function.
1505 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1506 (generic_stpncpy): New function.
1507 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1508 (generic_strcat): New function.
1509 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1510 (generic_strcpy): New function.
1511 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1512 (STUPID_STRNCAT): Remove function.
1513 (generic_strncat): New function.
1514 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1515 (STUPID_STRNCPY): Remove function.
1516 (generic_strncpy): New function.
1517 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1518 (generic_strnlen): New function.
1519 (memchr_strnlen): New function.
1520 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1521 (memchr_strlen): Likewise.
1522
93eebae5
WD
15232019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1524
1525 * benchtests/bench-strstr.c (input): Add realistic input text.
1526 (stupid_strstr): Remove function.
1527 (basic_strstr): Add function.
1528 (twoway_strstr): Add function.
1529 (do_one_test): Add result checking.
1530 (do_test): Use new input text. Remove accidental early matches.
1531 (test_main): Improve range of tests, reduce unaligned cases.
1532
a173d09f
WD
15332019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1534
1535 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1536 (basic_memmem): Add function.
1537 (twoway_memmem): Add function.
1538
6103c0a8
WD
15392019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1540
1541 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1542 * benchtests/bench-malloc-thread.c: Likewise.
1543 * benchtests/bench-skeleton.c: Likewise.
1544 * benchtests/bench-strtod.c: Likewise.
1545 * benchtests/bench-timing.h: Likewise.
1546
33322186
FW
15472019-04-08 Florian Weimer <fweimer@redhat.com>
1548
1549 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1550 definitions.
1551 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1552 RES_INSECURE2 security checks.
1553 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1554 RES_INSECURE2 handling.
1555
3f8b44be
FW
15562019-04-08 Florian Weimer <fweimer@redhat.com>
1557
1558 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1559 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1560 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1561 GETHOSTBYNAME.
1562 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1563 (tests-internal): Update justification for tst-resolv-res_init,
1564 tst-resolv-res_init-thread.
1565 (tst-res_use_inet6): Remove target.
1566 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1567 * resolv/res_debug.c (p_option): Remove "inet6" support.
1568 * resolv/res_init.c (res_setoptions): Likewise.
1569 * resolv/res_use_inet6.h: Remove file.
1570 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1571 definition.
1572 (res_use_inet6): Always return false.
1573 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1574 * resolv/resolv_context.h: Adjust file comment.
1575 (struct resolv_context): Update comment on __next field.
1576 (__resolv_context_put): Update comment.
1577 * resolv/tst-res_use_inet6.c: Remove file.
1578 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1579 "inet6" support.
1580 (test_cases): Adjust test case.
1581 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1582 (thread_byname2_af_inet6): Use old byname_inet6 code.
1583 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1584 (gai): Remove do_inet6 argument.
1585 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1586 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1587 (thread_gai_unspec_inet6): Remove functions.
1588 (do_test): Adjust thread_funcs.
1589 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1590 RES_USE_INET6 flag.
1591 (gaih_inet): Do not disable RES_USE_INET6 flag.
1592
6b5c8607 15932019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
94e358f6
AY
1594
1595 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1596 and remove redundant code.
1597
e3fd0b0e
AZ
15982019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1599
f82ed45d
AZ
1600 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1601 New rule.
1602 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1603 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1604 Likewise.
1605 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1606 Likewise.
1607 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1608 Likewise.
1609 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1610 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1611 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1612 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1613 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1614 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1615 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1616 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1617 wcsrchr-power7.
1618 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1619 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1620 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1621 Remove wcsrchr optimizations.
1622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1623
662c2cc4
AZ
1624 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1625 the loop unroll.
1626
421e3005
AZ
1627 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1628 New rule.
1629 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1630 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1631 Likewise.
1632 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1633 Likewise.
1634 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1635 Likewise.
1636 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1637 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1638 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1639 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1640 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1641 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1642 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1643 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1644 wcschr-power7.
1645 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1646 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1648 Remove wcschr optimizations.
1649 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1650
7ba0100c
AZ
1651 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1652 the loop unroll.
1653
447a1306
AZ
1654 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1655 New rule.
1656 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1657 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1658 Likewise.
1659 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1660 Likewise.
1661 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1662 Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1664 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1665 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1666 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1667 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1668 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1670 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1671 wcscpy-power7.
1672 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1673 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1674 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1675 Remove wcscpy optimizations.
1676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1677
e3fd0b0e
AZ
1678 * include/loop_unroll.h: New file.
1679 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1680 besides generic implementation.
1681
8260f236
DD
16822019-04-03 DJ Delorie <dj@redhat.com>
1683
1684 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1685 snprintf truncating output.
1686
0bd545ee
DD
16872019-04-02 DJ Delorie <dj@redhat.com>
1688
1689 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1690 warning.
1691
466afec3
TS
16922019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1693
1694 [BZ #22964]
1695 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1696 era.
1697 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1698 (mkreftable): Add rules for the new Japanese era and the new dates.
1699
2f1d6155
TS
17002019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1701 Rafal Luzynski <digitalfreak@lingonborough.com>
1702
1703 * time/tst-strftime2.c (date_t): Explicitly define the type.
1704 (dates): Use natural month and year numbers to express a date.
1705 (is_before): New function to compare dates.
1706 (mkreftable): Minor improvements to simplify maintenance.
1707 (do_test): Reflect the changes in dates array.
1708
84aea169
TS
1709 [BZ #24293]
1710 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1711 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1712 * time/tst-strftime2.c (locales): Likewise.
1713 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1714 2010-04-01, and 2011-04-01.
1715 (mkreftable): Add rules for the new locales and the new dates.
1716
62449176
CD
17172019-04-01 Carlos O'Donell <carlos@redhat.com>
1718
1719 * localedata/locales/ja_JP: Add comments to era entries.
1720
e0e4c321
DD
17212019-04-01 DJ Delorie <dj@redhat.com>
1722
1723 [BZ #24394]
1724 * time/strptime_l.c (%Ey): Fix fencepost error.
1725 * time/tst-strftime3.c: New.
1726 * time/Makefile (tests): Add tst-strftime3.
1727
6b5c8607 17282019-04-01 Uros Bizjak <ubizjak@gmail.com>
993e3107
UB
1729
1730 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1731 conditional branch to DIVBYZERO. Fix unwind info.
1732 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1733 excb after conditional branch to $powerof2. Add missing unop
1734 instructions and .align directives and reorder instructions to
1735 match __divqu.
1736
d5ecee82
RH
17372019-04-01 Richard Henderson <rth@twiddle.net>
1738
1739 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1740 Do not redefine.
1741 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1742 Do not redefine.
1743
656dd306
MR
17442019-03-30 Maciej W. Rozycki <macro@wdc.com>
1745
1746 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1747 $libc_cv_riscv_float_abi in `test' invocation.
1748 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1749
10cce669
PC
17502019-03-29 Paul A. Clarke <pc@us.ibm.com>
1751
1752 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1753 asm with builtin.
1754 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1755 Likewise.
1756 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1757 (_GET_SI_FPSCR): Likewise.
1758 (_SET_SI_FPSCR): Likewise.
1759
5e67e4bf 17602019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4997e8f3
AZ
1761
1762 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1763 clang 2.8.
1764 (signbit): Use builtin for clang 3.3.
1765 (isinf): Use builtin for clang 3.7.
1766
01963891
AZ
17672019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1768
1769 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1770
67112f7a
AH
17712019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1772
1773 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1774 quote in printf.
1775
7a773abf
MC
17762019-03-25 Mike Crowe <mac@mcrowe.com>
1777
82849fde
MC
1778 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1779 pthread_rwlock_timedrdlock with calls to
1780 pthread_rwlock_timedwrlock to ensure that the latter is tested
1781 too. Use new function name in diagnostic messages too.
1782
7a773abf
MC
1783 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1784 (do_test) Use libsupport test macros rather than hand-coded
1785 conditionals and error messages. Ensure that sem_init returns zero
1786 rather than not -1. Use <support/test-driver.c> rather than
1787 test-skeleton.c.
1788
1789 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1790 test macros rather than hand-coded conditionals and error messages.
1791 Use <support/test-driver.c> rather than test-skeleton.c.
1792
9ac2de69
JM
17932019-03-25 Joseph Myers <joseph@codesourcery.com>
1794
d7563e62
JM
1795 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1796
9ac2de69
JM
1797 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1798 (NT_MIPS_MSA): Likewise.
1799
38cc11da
AZ
18002019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1801
7621e38b
WD
1802 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1803 * benchtests/README: Update description.
1804 * benchtests/bench-timing.h: Default to hp-timing.
1805 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1806 HP_TIMING_PRINT): Remove.
1807 (HP_TIMING_NOW): Add generic implementation.
1808 (hp_timing_t): Change to uint64_t.
1809
1e372ded
AZ
1810 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1811 HP_TIMING_INLINE.
1812 * nptl/descr.h: Likewise.
1813 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1814 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1815 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1816 Abstract hp-timing usage with RTLD_* macros.
1817 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1818 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1819 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1820 HP_TIMING_NONAVAIL): Likewise.
1821 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1822 Likewise.
1823 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1824 HP_SMALL_TIMING_AVAIL): Likewise.
1825 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1826 HP_SMALL_TIMING_AVAIL): Likewise.
1827 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1828 HP_SMALL_TIMING_AVAIL): Likewise.
1829 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1830 HP_SMALL_TIMING_AVAIL): Likewise.
1831 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1832 Likewise.
1833 * sysdeps/generic/hp-timing-common.h: Update comment with
1834 HP_TIMING_AVAIL removal.
1835
359653aa
AZ
1836 * include/random-bits.h: New file.
1837 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1838 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1839 random_bits.
1840 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1841 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1842 Likewise.
1843
6e8ba7fd
AZ
1844 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1845 * rt/Makefile (clock-routines): Remove get_clockfreq.
1846 * rt/get_clockfreq.c: Remove file.
1847 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1848 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1849 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1850 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1851 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1852
77b6f553
AZ
1853 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1854 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1855 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1856 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1857 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1858
38cc11da
AZ
1859 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1860 pthread_clock_settime.
1861 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1862 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1863 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1864 * elf/rtld.c (_dl_start_final): Likewise.
1865 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1866 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1867 Remove.
1868 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1869 (_dl_cpuclock_offset): Remove.
1870 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1871 cpuclock_offset_ununsed.
1872 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1873 cpuclock_offset set.
1874 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1875 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1876 * nptl/pthread_clock_gettime.c: Remove file.
1877 * nptl/pthread_clock_settime.c: Likewise.
1878 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1879 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1880 and CLOCK_PROCESS_CPUTIME_ID support.
1881 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1882 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1883 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1884 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1885 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1886 Likewise.
1887 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1888
421749d6
SL
18892019-03-22 Stefan Liebler <stli@linux.ibm.com>
1890
1891 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1892 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1893 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1894 New defines.
1895 * sysdeps/s390/memmem-arch13.S: New file.
1896 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1897 if it is only used as fallback.
1898 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1899 * sysdeps/s390/multiarch/ifunc-impl-list.c
1900 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1901
6f47401b
SL
19022019-03-22 Stefan Liebler <stli@linux.ibm.com>
1903
1904 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1905 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1906 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1907 New defines.
1908 * sysdeps/s390/multiarch/ifunc-impl-list.c
1909 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1910 * sysdeps/s390/strstr-arch13.S: New file.
1911 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1912 if it is only used as fallback.
1913 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1914
96fbb9a3
SL
19152019-03-22 Stefan Liebler <stli@linux.ibm.com>
1916
1917 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1918 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1919 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1920 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1921 ifunc selector.
1922 * sysdeps/s390/multiarch/ifunc-impl-list.c
1923 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1924 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1925 S390_IS_ARCH13_MIE3): New defines.
1926
a899a551
SL
19272019-03-22 Stefan Liebler <stli@linux.ibm.com>
1928
1929 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1930 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1931 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1932 * sysdeps/s390/configure: Regenerated.
1933
1a7df49c
SL
19342019-03-22 Stefan Liebler <stli@linux.ibm.com>
1935
1936 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1937 Add vxe2, vxp, dflt, sort flags.
1938 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1939 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1940 capabilities.
1941 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1942 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1943 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1944 HWCAP_S390_DFLT): Define.
1945
5e67e4bf 19462019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
5abcddd7
GG
1947
1948 [BZ #24372]
1949 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
1950 of compiler warning.
1951 * locale/programs/ld-collate.c (collate_output): Likewise.
1952
ac64195c
DD
19532019-03-21 DJ Delorie <dj@redhat.com>
1954
1955 [BZ #24372]
1956 * iconv/iconvconfig.c (write_output): Replace floating point math
1957 with integer math to avoid imprecise results.
1958 * locale/programs/ld-collate.c (collate_output): Likewise.
1959
61f5e947
SL
19602019-03-21 Stefan Liebler <stli@linux.ibm.com>
1961
1962 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
1963 Add HWCAP_S390_VX and HWCAP_S390_VXE.
1964
57ada43c 19652019-03-20 mansayk <6688000@gmail.com>
1966
1967 [BZ #24296]
1968 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
1969 (abday): Likewise, but remove the trailing dots.
1970
a2e57f89
JM
19712019-03-19 Joseph Myers <joseph@codesourcery.com>
1972
1973 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
1974 macro.
1975 (HWCAP_PACA): Likewise.
1976 (HWCAP_PACG): Likewise.
1977 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
1978 Increase to 32.
1979 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
1980
e87d8ada
ST
19812019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
1982
1983 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
1984 should be handled.
1985
477e739b
JM
19862019-03-15 Joseph Myers <joseph@codesourcery.com>
1987
1988 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1989 version to 5.0.
1990 (old_getpagesize): New syscall.
1991
238d60a1
FY
19922019-03-15 Felix Yan <felixonmars@archlinux.org>
1993
1994 [BZ #24293]
1995 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
1996 * localedata/locales/cmn_TW (era): Likewise.
1997 * localedata/locales/hak_TW (era): Likewise.
1998 * localedata/locales/lzh_TW (era): Likewise.
1999 * localedata/locales/nan_TW (era): Likewise.
2000
5dde9ef7
DD
20012019-03-14 Adam Maris <amaris@redhat.com>
2002
2003 * malloc/malloc.c (_int_malloc): Check for large bin list
2004 corruption when inserting unsorted chunk.
2005
a0a0dc83
FW
20062019-03-14 Florian Weimer <fweimer@redhat.com>
2007
2008 Remove obsolete, never-implemented XSI STREAMS declarations.
2009 * manual/terminal.texi (Allocation): Remove portability note and
2010 adjust example.
2011 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2012 _SC_STREAMS.
2013 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2014 * sysdeps/unix/inet/Subdirs (streams): Remove.
2015 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2016 (conformtest-headers-UNIX98): Likewise.
2017 (conformtest-headers-XOPEN2K): Likewise.
2018 (conformtest-headers-POSIX2008): Likewise.
2019 * posix/compat-streams.c: New file.
2020 * posix/Makefile (routines): Add it.
2021 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2022 getpmsg, isastream, putmsg, putpmsg.
2023 (GLIBC_2.30): New section.
2024 * bits/stropts.h: Remove file.
2025 * bits/xtitypes.h: Likewise.
2026 * conform/data/stropts.h-data: Likewise.
2027 * include/stropts.h: Likewise.
2028 * include/sys/stropts.h: Likewise.
2029 * include/xtitypes.h: Likewise.
2030 * streams/Makefile: Likewise.
2031 * streams/fattach.c: Likewise.
2032 * streams/fdetach.c: Likewise.
2033 * streams/getmsg.c: Likewise.
2034 * streams/getpmsg.c: Likewise.
2035 * streams/isastream.c: Likewise.
2036 * streams/putmsg.c: Likewise.
2037 * streams/putpmsg.c: Likewise.
2038 * streams/stropts.h: Likewise.
2039 * streams/sys/stropts.h: Likewise.
2040 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2041 * sysdeps/s390/bits/xtitypes.h: Likewise.
2042 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2043 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2044 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2045 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2046 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2047 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2048 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2049 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2050 * sysdeps/x86/bits/xtitypes.h: Likewise.
2051
081bdf94
FW
20522019-03-14 Florian Weimer <fweimer@redhat.com>
2053
2054 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2055 libnss_files.
2056 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2057 but not with libnss_files.
2058 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2059
97f8225d
ZW
20602019-03-14 Zack Weinberg <zackw@panix.com>
2061
2062 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2063 Specify encoding="utf-8" when opening headers to check.
2064
0c1041ee
JM
20652019-03-13 Joseph Myers <joseph@codesourcery.com>
2066
2067 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2068 version to 5.0.
2069 (Context.checkout_tar): Handle variable major version for Linux
2070 kernel.
2071
043440e7
FW
20722019-03-13 Florian Weimer <fweimer@redhat.com>
2073
2074 [BZ #24047]
2075 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2076
29218b26
ZW
20772019-03-13 Zack Weinberg <zackw@panix.com>
2078
2079 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2080 Move to stdlib.
2081 * include/inttypes.h: Adjust to match.
2082 * include/stdint.h: New wrapper.
2083
711a322a
ZW
20842019-03-13 Zack Weinberg <zackw@panix.com>
2085
2086 * scripts/check-obsolete-constructs.py: New test script.
2087 * scripts/check-installed-headers.sh: Remove tests for
2088 obsolete typedefs, superseded by check-obsolete-constructs.py.
2089 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2090 as a special test. Update commentary.
2091 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2092 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2093 Update commentary.
2094 * posix/sys/types.h (__u_intN_t): Remove.
2095 (u_int8_t): Typedef using __uint8_t.
2096 (u_int16_t): Typedef using __uint16_t.
2097 (u_int32_t): Typedef using __uint32_t.
2098 (u_int64_t): Typedef using __uint64_t.
2099
7c651308
SL
21002019-03-13 Stefan Liebler <stli@linux.ibm.com>
2101
2102 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2103 call _dl_procinfo.
2104 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2105 Ignore types other than AT_HWCAP.
2106 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2107 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2108 Likewise.
2109 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2110 in the case of falling back to generic output mechanism.
2111 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2112 Likewise.
2113
38b52865
FW
21142019-03-12 Florian Weimer <fweimer@redhat.com>
2115
2116 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2117
08504de7
FW
21182019-03-12 Florian Weimer <fweimer@redhat.com>
2119
2120 [BZ #24047]
2121 resolv: Enable full ICMP errors for UDP DNS sockets
2122 * resolv/res_enable_icmp.c: New file.
2123 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2124 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2125 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2126 socket.
2127
5fbcd763
MH
21282019-03-11 Mao Han <han_mao@c-sky.com>
2129
2130 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2131 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2132
c4e5f34b
MH
21332019-03-11 Mao Han <han_mao@c-sky.com>
2134
2135 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2136 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2137 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2138
827e30f3
MH
21392019-03-11 Mao Han <han_mao@c-sky.com>
2140
2141 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2142 directly.
2143 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2144 definition.
2145
6229c9bf
MH
21462019-03-11 Mao Han <han_mao@c-sky.com>
2147
2148 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2149 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2150 in mcontext_t
2151
86bdd49d
MF
21522019-03-08 Mike FABIAN <mfabian@redhat.com>
2153
2154 [BZ #24307]
2155 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2156 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2157 Unicode 12.0.0.
2158 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2159 * localedata/unicode-gen/PropList.txt: Likewise.
2160 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2161 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2162 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2163 * localedata/charmaps/UTF-8: Regenerate.
2164 * localedata/locales/i18n_ctype: Likewise.
2165 * localedata/locales/tr_TR: Likewise.
2166 * localedata/locales/translit_circle: Likewise.
2167 * localedata/locales/translit_cjk_compat: Likewise.
2168 * localedata/locales/translit_combining: Likewise.
2169 * localedata/locales/translit_compat: Likewise.
2170 * localedata/locales/translit_font: Likewise.
2171 * localedata/locales/translit_fraction: Likewise.
2172
c5f65462
JM
21732019-03-07 Joseph Myers <joseph@codesourcery.com>
2174
2175 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2176 than after operators.
2177 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2178 (setitimer_locked): Likewise.
2179 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2180 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2181 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2182 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2183 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2184 (PPC_CPU_SUPPORTED): Likewise.
2185 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2186 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2187 (stat_overflow): Likewise.
2188 (statfs_overflow): Likewise.
2189 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2190 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2191 (eq_ttyname_r): Likewise.
2192 (run_chroot_tests): Likewise.
2193
27a2f2f3
FW
21942019-03-07 Florian Weimer <fweimer@redhat.com>
2195
2196 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2197 header check.
2198
ae514971 21992019-03-07 Martin Liska <mliska@suse.cz>
2200
2201 * math/Makefile: Change location where math-vector-fortran.h is
2202 installed.
2203 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2204 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2205 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2206 * scripts/check-installed-headers.sh: Skip Fortran header files.
2207 * scripts/check-wrapper-headers.py: Likewise.
2208
0ddb7ea8
AZ
22092019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2210
2211 * nptl/nptl-init.c (__have_futex_clock_realtime,
2212 __have_futex_clock_realtime): Remove definition.
2213 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2214 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2215 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2216 __ASSUME_FUTEX_CLOCK_REALTIME support.
2217 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2218 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2219 * sysdeps/unix/sysv/linux/kernel-features.h
2220 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2221 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2222 Adjust comment.
2223
590675c0
GG
22242019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2225
2226 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2227 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2228 __GI___wcscpy and wcscpy.
2229
de71ee7b
FW
22302019-03-04 Florian Weimer <fweimer@redhat.com>
2231
2232 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2233 declaration.
2234 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2235 defined.
2236
ce6ddae0
SL
22372019-03-04 Stefan Liebler <stli@linux.ibm.com>
2238
2239 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2240 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2241
31efface
TS
22422019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2243
2244 [BZ #24162]
2245 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2246 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2247
f0eaf862
GG
22482019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2249
2250 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2251 tests.
2252 (do_test): Likewise.
2253 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2254 (do_test_call_varg): Likewise.
2255 (do_test_call_rarg): Likewise.
2256 * sysdeps/ieee754/ldbl-opt/Makefile
2257 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2258 tst-nldbl-error.
2259 ($(objpfx)tst-nldbl-warn.c): New rule.
2260 ($(objpfx)tst-nldbl-error.c): Likewise.
2261 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2262 New variables.
2263
d11086a9
GG
22642019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2265
2266 [BZ #23984]
2267 * include/bits/error-ldbl.h: New file.
2268 * include/error.h: Include stdarg.h. Declare internal functions
2269 __error_internal and __error_at_line_internal.
2270 * misc/Makefile (headers): Add bits/error-ldbl.h.
2271 * misc/bits/error-ldbl.h: New file.
2272 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2273 avoid the inclusion of bits/error.h.
2274 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2275 and __nldbl_error_at_line.
2276 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2277 (__nldbl_error, __ndlbl_error_at_line): New functions.
2278 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2279 Redirect error and error_at_line.
2280 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2281 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2282 Likewise.
2283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2284 Likewise.
2285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2286 Likewise.
2287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2288 Likewise.
2289 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2290 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2291 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2292
90188e7d
GG
22932019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2294
2295 [BZ #23984]
2296 * include/bits/err-ldbl.h: New file.
2297 * include/err.h: Add prototypes for the internal functions:
2298 __vwarnx_internal and __vwarn_internal.
2299 * misc/Makefile (headers): Add bits/err-ldbl.h.
2300 * misc/bits/err-ldbl.h: New file.
2301 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2302 defined, i.e.: when -mlong-double-64 is in use.
2303 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2304 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2305 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2306 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2307 (VA_CALL): New macro.
2308 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2309 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2310 functions.
2311 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2312 declare prototypes for the new functions.
2313 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2315 Likewise.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2317 Likewise.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2319 Likewise.
2320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2321 Likewise.
2322 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2323 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2325
ea2d89d0
GG
23262019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2327
2328 * sysdeps/ieee754/ldbl-opt/Makefile
2329 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2330 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2331 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2332
6e1f6440
GG
23332019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2334
2335 [BZ #23983]
2336 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2337 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2338 * argp/bits/argp-ldbl.h: New file.
2339 * include/argp.h: Include stdarg.h. Add prototypes for internal
2340 functions: __argp_error_internal and __argp_failure_internal.
2341 * include/bits/argp-ldbl.h: New file.
2342 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2343 __nldbl_argp_error and __nldbl_argp_failure.
2344 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2345 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2346 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2347 Redirect argp_error and argp_failure calls.
2348 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2350 Likewise.
2351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2352 Likewise.
2353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2354 Likewise.
2355 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2356 Likewise.
2357 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2358 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2359 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2360
c259196b
FW
23612019-03-01 Florian Weimer <fweimer@redhat.com>
2362
2363 [BZ #20419]
2364 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2365 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2366 code, to avoid creating an ABI tag note.
2367 (modules-names-nobuild): Add tst-big-note-lib.
2368
928b305d
SL
23692019-03-01 Stefan Liebler <stli@linux.ibm.com>
2370
2371 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2372 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2373
36f30c10
FW
23742019-03-01 Florian Weimer <fweimer@redhat.com>
2375
2376 [BZ #20271]
2377 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2378 (__netlink_assert_response): Add additional missing newlines.
2379
462e83a4
JM
23802019-02-28 Joseph Myers <joseph@codesourcery.com>
2381
2382 * sysdeps/powerpc/powerpc32/dl-machine.c
2383 (__elf_machine_fixup_plt): Use space before '('.
2384 (__process_machine_rela): Likewise.
2385 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2386 Likewise.
2387 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2388 Likewise.
2389 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2390 Likewise.
2391 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2392 (pattern): Likewise.
2393 (delta): Likewise.
2394 (check_result): Likewise.
2395 (check_excepts): Likewise.
2396 (check_op): Likewise.
2397 (fail_xr): Likewise.
2398 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2399 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2400 (SCNHSZ): Likewise.
2401 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2402 Likewise.
2403 (ARGS): Likewise.
2404 (__makecontext): Likewise.
2405 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2406 Likewise.
2407
cc3e573c
FW
24082019-02-28 Florian Weimer <fweimer@redhat.com>
2409
2410 [BZ #23937]
2411 elf: Add test with a local IFUNC resolver.
2412 * elf/ifuncmain9.c: New file.
2413 * elf/ifuncmain9pic.c: Likewise.
2414 * elf/ifuncmain9picstatic.c: Likewise.
2415 * elf/ifuncmain9pie.c: Likewise.
2416 * elf/ifuncmain9static.c: Likewise.
2417 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2418 ifuncmain9static, ifuncmain9picstatic.
2419 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2420 Add ifuncmain9, ifuncmain9pic.
2421 * elf/Makefile [multi-arch && build-shared && have-fpie]
2422 (ifunc-pie-tests): Add ifuncmain9pie.
2423 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2424 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2425 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2426
92ad88fe
L
24272019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2428
2429 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2430 * configure: Regenerated.
2431 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2432
6bd4d02e
AZ
24332019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2434
2435 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2436 symbol as __wcspcy instead of wcscpy.
2437
1b218417
ST
24382019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2439
2440 * include/stdio.h (__renameat2): New hidden prototype.
2441 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2442 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2443 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2444 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2445
c4f50205
JM
24462019-02-27 Joseph Myers <joseph@codesourcery.com>
2447
f627dd4d
JM
2448 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2449 if statement.
2450
c4f50205
JM
2451 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2452 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2453 * benchtests/bench-strlen.c (do_test): Likewise.
2454 (test_main): Likewise.
2455 * catgets/gencat.c (read_old): Likewise.
2456 * elf/cache.c (load_aux_cache): Likewise.
2457 * iconvdata/bug-iconv8.c (do_test): Likewise.
2458 * math/test-tgmath-ret.c (do_test): Likewise.
2459 * nis/nis_call.c (rec_dirsearch): Likewise.
2460 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2461 * nptl/tst-audit-threads.c (do_test): Likewise.
2462 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2463 * nss/nss_test1.c (init): Likewise.
2464 * nss/test-netdb.c (test_hosts): Likewise.
2465 * posix/execvpe.c (maybe_script_execute): Likewise.
2466 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2467 * stdio-common/tst-printf.c (do_test): Likewise.
2468 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2469 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2470 * stdlib/qsort.c (STACK_SIZE): Likewise.
2471 * stdlib/test-canon.c (do_test): Likewise.
2472 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2473 * string/memcmp.c (OPSIZ): Likewise.
2474 * string/test-strcpy.c (do_test): Likewise.
2475 (do_random_tests): Likewise.
2476 * string/test-strlen.c (do_test): Likewise.
2477 (test_main): Likewise.
2478 * string/test-strrchr.c (do_test): Likewise.
2479 (do_random_tests): Likewise.
2480 * string/tester.c (test_memrchr): Likewise.
2481 (test_memchr): Likewise.
2482 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2483 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2484 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2485 (read_encoded_value_with_base): Likewise.
2486 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2487 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2488 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2489 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2490 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2491 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2492 Likewise.
2493 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2494 Likewise.
2495 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2496 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2497 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2498 Likewise.
2499 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2500 Likewise.
2501 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2502 Likewise.
2503 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2504 Likewise.
2505 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2506 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2507 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2508 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2509 * time/test_time.c (main): Likewise.
2510
7b3fb620
AZ
25112019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2512
457208b1
AZ
2513 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2514
30a7e208
AZ
2515 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2516 wmemcpy.
2517
ddf21ec7
AZ
2518 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2519 wmemcpy.
2520
4d801563
AZ
2521 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2522
81a14439
AZ
2523 * include/wchar.h (__wcscpy): New prototype.
2524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2525 (__wcscpy): Route internal symbol to generic implementation.
2526 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2527 Add internal __wcscpy alias.
2528 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2529 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2530 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2531 * wcsmbs/wcscpy.c (wcscpy): Add
2532 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2533 use generic implementation.
2534 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2535
39ef0744
AZ
2536 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2537 wmemset.
2538
7b3fb620
AZ
2539 * sysdeps/m68k/wcpcpy.c: Remove file.
2540 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2541
e0cb7b61
JM
25422019-02-26 Joseph Myers <joseph@codesourcery.com>
2543
aa0e4663
JM
2544 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2545 than after operators.
2546 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2547 * sysdeps/mach/hurd/getcwd.c
2548 (__hurd_canonicalize_directory_name_internal): Likewise.
2549 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2550 (pthread_mutex_consistent): Likewise.
2551 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2552 Likewise.
2553 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2554 (__pthread_mutex_transfer_np): Likewise.
2555 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2556 (__pthread_mutex_unlock): Likewise.
2557 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2558 (mtx_owned_p): Likewise.
2559 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2560 (pthread_mutexattr_getrobust): Likewise.
2561 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2562 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2563 Likewise.
2564 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2565 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2566 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2567 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2568 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2569 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2570 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2571 Likewise.
2572 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2573 Likewise.
2574 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2575 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2576 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2577 (____longjmp_chk): Likewise.
2578 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2579 Likewise.
2580 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2581 (INTERNAL_SYSCALL): Likewise.
2582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2583 (INTERNAL_SYSCALL): Likewise.
2584 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2585 (__get_clockfreq_via_cpuinfo): Likewise.
2586
e0cb7b61
JM
2587 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2588 comments.
2589 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2590 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2591 (WORD_COPY_BWD): Likewise.
2592 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2593 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2594 Likewise.
2595 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2596 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2597 comment.
2598 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2599
a04549c1
JM
26002019-02-25 Joseph Myers <joseph@codesourcery.com>
2601
2602 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2603 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2604 rather than after operators.
2605 * elf/cache.c (print_cache): Likewise.
2606 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2607 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2608 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2609 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2610 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2611 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2612 (reauth_proc): Likewise.
2613 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2614 (__file_name_split_at): Likewise.
2615 (__directory_name_split_at): Likewise.
2616 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2617 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2618 * iconv/gconv_dl.c (do_print): Likewise.
2619 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2620 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2621 * locale/setlocale.c (new_composite_name): Likewise.
2622 * malloc/memusagestat.c (main): Likewise.
2623 * misc/fstab.c (fstab_convert): Likewise.
2624 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2625 Likewise.
2626 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2627 (getgrent_next_file): Likewise.
2628 (internal_getgrnam_r): Likewise.
2629 (internal_getgrgid_r): Likewise.
2630 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2631 Likewise.
2632 (internal_getgrent_r): Likewise.
2633 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2634 (getpwent_next_nss): Likewise.
2635 (getpwent_next_file): Likewise.
2636 (internal_getpwnam_r): Likewise.
2637 (internal_getpwuid_r): Likewise.
2638 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2639 Likewise.
2640 (getspent_next_nss): Likewise.
2641 (internal_getspnam_r): Likewise.
2642 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2643 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2644 * string/strchr.c (STRCHR): Likewise.
2645 * string/strchrnul.c (STRCHRNUL): Likewise.
2646 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2647 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2648 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2649 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2650 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2651 Likewise.
2652 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2653 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2654 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2655 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2656 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2657 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2658 (open_file): Likewise.
2659 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2660 (pthread_mutexattr_setprotocol): Likewise.
2661 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2662 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2663 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2664 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2665 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2666 Likewise.
2667 (elf_machine_rela): Likewise.
2668 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2669 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2670 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2671 * sysdeps/posix/rename.c (rename): Likewise.
2672 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2673 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2674 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2675 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2676 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2677 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2678 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2679 Likewise.
2680 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2681 Likewise.
2682 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2683 * time/tzfile.c (__tzfile_compute): Likewise.
2684
34a5a146
JM
26852019-02-22 Joseph Myers <joseph@codesourcery.com>
2686
2687 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2688 rather than after operators.
2689 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2690 * crypt/md5.c (md5_finish_ctx): Likewise.
2691 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2692 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2693 * elf/cache.c (load_aux_cache): Likewise.
2694 * elf/dl-load.c (open_verify): Likewise.
2695 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2696 * elf/readelflib.c (process_elf_file): Likewise.
2697 * elf/rtld.c (dl_main): Likewise.
2698 * elf/sprof.c (generate_call_graph): Likewise.
2699 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2700 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2701 * hurd/dtable.c (reauth_dtable): Likewise.
2702 * hurd/getdport.c (__getdport): Likewise.
2703 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2704 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2705 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2706 Likewise.
2707 * hurd/hurdioctl.c (fioctl): Likewise.
2708 * hurd/hurdselect.c (_hurd_select): Likewise.
2709 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2710 (STOPSIGS): Likewise.
2711 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2712 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2713 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2714 * hurd/msgportdemux.c (msgport_server): Likewise.
2715 * hurd/setauth.c (_hurd_setauth): Likewise.
2716 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2717 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2718 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2719 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2720 * login/tst-utmp.c (do_check): Likewise.
2721 (simulate_login): Likewise.
2722 * mach/lowlevellock.h (lll_lock): Likewise.
2723 (lll_trylock): Likewise.
2724 * math/test-fenv.c (ALL_EXC): Likewise.
2725 * math/test-fenvinline.c (ALL_EXC): Likewise.
2726 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2727 * nis/nis_call.c (__do_niscall3): Likewise.
2728 * nis/nis_callback.c (cb_prog_1): Likewise.
2729 * nis/nis_defaults.c (searchaccess): Likewise.
2730 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2731 * nis/nis_ismember.c (internal_ismember): Likewise.
2732 * nis/nis_local_names.c (nis_local_principal): Likewise.
2733 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2734 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2735 Likewise.
2736 * nis/ypclnt.c (yp_match): Likewise.
2737 (yp_first): Likewise.
2738 (yp_next): Likewise.
2739 (yp_master): Likewise.
2740 (yp_order): Likewise.
2741 * nscd/hstcache.c (cache_addhst): Likewise.
2742 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2743 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2744 (internal_getpwuid_r): Likewise.
2745 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2746 * posix/glob.h (__GLOB_FLAGS): Likewise.
2747 * posix/regcomp.c (peek_token): Likewise.
2748 (peek_token_bracket): Likewise.
2749 (parse_expression): Likewise.
2750 * posix/regexec.c (sift_states_iter_mb): Likewise.
2751 (check_node_accept_bytes): Likewise.
2752 * posix/tst-spawn3.c (do_test): Likewise.
2753 * posix/wordexp-test.c (testit): Likewise.
2754 * posix/wordexp.c (parse_tilde): Likewise.
2755 (exec_comm): Likewise.
2756 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2757 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2758 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2759 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2760 * stdio-common/tst-fileno.c (do_test): Likewise.
2761 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2762 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2763 * stdlib/strtod_l.c (round_and_return): Likewise.
2764 (____STRTOF_INTERNAL): Likewise.
2765 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2766 * string/strcspn.c (STRCSPN): Likewise.
2767 * string/test-memmem.c (simple_memmem): Likewise.
2768 * termios/tcsetattr.c (tcsetattr): Likewise.
2769 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2770 * time/asctime.c (asctime_internal): Likewise.
2771 * time/strptime_l.c (__strptime_internal): Likewise.
2772 * time/sys/time.h (timercmp): Likewise.
2773 * time/tzfile.c (__tzfile_compute): Likewise.
2774
b0b50fe0
PF
27752019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2776
b39d961c
TS
2777 [BZ #21915]
2778 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
b0b50fe0 2779
f43b8dd5
GG
27802019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2781
2782 * argp/argp-help.c (__argp_error_internal): New function,
2783 renamed from __argp_error, but that takes a 'mode_flags'
2784 parameter to control the format of long double parameters.
2785 (__argp_error): Converted into a call __argp_error_internal.
2786 (__argp_failure_internal): New function, renamed from
2787 __argp_failure, but that takes a 'mode_flags' parameter.
2788 (__argp_failure): Converted into a call __argp_failure_internal.
2789 * misc/err.c (__vwarnx_internal): New function, renamed from
2790 vwarnx, but that takes a 'mode_flags' parameter.
2791 (vwarnx): Converted into a call to __vwarnx_internal.
2792 (__vwarn_internal): New function, renamed from vwarn, but that
2793 takes a 'mode_flags' parameter.
2794 (vwarn): Converted into a call to __vwarn_internal.
2795 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2796 call to __vfxprintf with 'mode_flags'.
2797 (__error_internal): New function, renamed from error, but that
2798 takes a 'mode_flags' parameter.
2799 (error): Converted into a call to __error_internal.
2800 (__error_at_line_internal): New function, renamed from
2801 error_at_line, but that takes a 'mode_flags' parameter.
2802 (error_at_line): Converted into a call to
2803 __error_at_line_internal.
2804 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2805 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2806 Likewise.
2807
dc0afac3 28082019-02-20 Martin Liska <mliska@suse.cz>
2809
2810 * math/Makefile: Install math-vector-fortran.h.
2811 * bits/math-vector-fortran.h: New file.
2812 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2813
4a2dd41c
GG
28142019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2815
2816 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2817 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2818
04de9302
WS
28192019-02-19 Wolfram Sang <wsa@the-dreams.de>
2820
2821 * nptl/pthread_mutex_trylock.c: Fix comment.
2822
b026ce1e
CD
28232019-02-19 Carlos O'Donell <carlos@redhat.com>
2824
2825 * nptl/pthread_tryjoin.c: Fix comment.
2826
8c9289b6
JM
28272019-02-18 Joseph Myers <joseph@codesourcery.com>
2828
2829 [BZ #24231]
2830 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2831 after R_SPARC_H34 case.
2832
308e022f
FW
28332019-02-18 Florian Weimer <fweimer@redhat.com>
2834
2835 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2836 (getanswer): Do not call Dprintf.
2837 (res_gethostbyname2_context): Likewise.
2838 (res_gethostbyaddr_context): Likewise.
2839
a5406364
FW
28402019-02-18 Florian Weimer <fweimer@redhat.com>
2841
2842 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2843 declaration.
2844 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2845 Remove definitions.
2846 * libio/stdfiles.c: Update comment.
2847 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2848 set _IO_stdin, _IO_stdout, _IO_stderr.
2849 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2850 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2851 inline function.
2852 (_IO_deallocate_file): New inline function.
2853 * libio/iolibio.h (_IO_vprintf): Remove definition.
2854 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2855 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2856 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2857 _IO_legacy_file.
2858 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2859 __builtin_expect. Use _IO_legacy_file.
2860
6c29942c
SL
28612019-02-18 Stefan Liebler <stli@linux.ibm.com>
2862
2863 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2864 Initialize ctid with a known value and remove update of ctid
2865 after clone.
2866 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2867 as assumed current value of ctid_ptr.
2868
225d9445 28692019-02-16 Florian Weimer <fweimer@redhat.com>
ad18dade
FW
2870
2871 Check that non-sysdeps headers have wrapper headers.
2872 * scripts/check-wrapper-headers.py: New file.
2873 * Makefile (tests-special): Add check-wrapper-headers.out.
2874 (check-wrapper-headers.out): New target.
2875 * Rules (tests-special): Add check-wrapper-headers.out.
2876 (check-wrapper-headers.out): New target.
2877
225d9445 28782019-02-16 Florian Weimer <fweimer@redhat.com>
ebd32784
FW
2879
2880 Add missing header wrappers under include/.
2881 * include/ar.h: New file.
2882 * include/bits/mqueue2.h: Likewise.
2883 * include/bits/stdio.h: Likewise.
2884 * include/bits/stdio2.h: Likewise.
2885 * include/fstab.h: Likewise.
2886 * include/fts.h: Likewise.
2887 * include/lastlog.h: Likewise.
2888 * include/netinet/icmp6.h: Likewise.
2889 * include/netinet/igmp.h: Likewise.
2890 * include/netinet/ip6.h: Likewise.
2891 * include/re_comp.h: Likewise.
2892 * include/regexp.h: Likewise.
2893 * include/rpcsvc/bootparam.h: Likewise.
2894 * include/rpcsvc/yp_prot.h: Likewise.
2895 * include/sys/random.h: Likewise.
2896 * include/sys/stropts.h: Likewise.
2897 * include/sys/ttychars.h: Likewise.
2898 * include/sys/vfs.h: Likewise.
2899 * include/wait.h: Likewise.
2900
225d9445 29012019-02-16 Florian Weimer <fweimer@redhat.com>
a198d37a
FW
2902
2903 * nptl_db/proc_service.h: Move to ...
2904 * sysdeps/nptl/proc_service.h: ... here.
2905 * nptl_db/thread_db.h: Move to ...
2906 * sysdeps/nptl/thread_db.h: ... here.
2907 * nptl/descr.h: Include <thread_db.h>.
2908
e442e40d
AZ
29092019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2910
2911 * io/Makefile (tests): Add tst-lockf.
2912 * io/lockf.c (lockf): Use __fcntl and only define for
2913 !__OFF_T_MATCHES_OFF64_T.
2914 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2915 __OFF_T_MATCHES_OFF64_T case.
2916 * io/tst-lockf.c: New file.
2917 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2918 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2919 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2920 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2921 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2923 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2924 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2925 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2926
bc10e22c
FW
29272019-02-15 Florian Weimer <fweimer@redhat.com>
2928
2929 [BZ #24211]
2930 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2931 pd->result after the thread descriptor has been freed.
2932
365f05c7
JM
29332019-02-15 Joseph Myers <joseph@codesourcery.com>
2934
8a11f970
JM
2935 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2936 from function return type.
2937
365f05c7
JM
2938 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2939
6b5c8607 29402019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
56a731d4
JK
2941
2942 * scripts/test_printers_common.py: Set TERM to a known harmless
2943 value.
2944
712182c8
JM
29452019-02-14 Joseph Myers <joseph@codesourcery.com>
2946
2947 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
2948 (xdr_u_int): Likewise.
2949 (xdr_enum): Likewise.
2950 (xdr_bytes): Reword fall-through comment.
2951 (xdr_string): Likewise.
2952
eb76e5b4
AZ
29532019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2954
2955 [BZ #2421]
2956 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
2957 (tests): Add tst-join8 tst-join9.
2958 * nptl/lll_timedwait_tid.c: Remove file.
2959 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
2960 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
2961 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
2962 * nptl/pthread_join_common.c (timedwait_tid): New function.
2963 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
2964 is set.
2965 * nptl/tst-join5.c (thread_join): New function.
2966 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
2967 check.
2968 * nptl/tst-join8.c: New file.
2969 * nptl/tst-join9.c: Likewise.
2970 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
2971 lll_futex_timed_wait_cancel): Add generic macros.
2972 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
2973 Remove definitions.
2974 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2975 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2976 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2977 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
2978 Remove function.
2979 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
2980 Likewise.
2981 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2982 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
2983 (lll_futex_timed_wait_cancel): New macro.
2984
3904fd85
WD
29852019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
2986
2987 * benchtests/Makefile: Add malloc-simple benchmark.
2988 * benchtests/bench-malloc-simple.c: New benchmark.
2989
24ca04fe
SP
29902019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
2991
2992 * benchtests/bench-memmove.c (do_one_test): Remove unused
2993 ORIG_SRC.
2994 (do_test): Adjust.
2995 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
2996 ORIG_SRC.
2997 (do_test): Adjust.
2998
85bd1ddb
JW
29992019-01-13 Jim Wilson <jimw@sifive.com>
3000
3001 [BZ #24040]
3002 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3003 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3004 (func): New.
3005 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3006 call func directly.
3007 * nptl/Makefile (tests): Add tst-unwind-thread.
3008 (CFLAGS-tst-unwind-thread.c): Define.
3009 * nptl/tst-unwind-thread.c: New file.
3010 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3011 as undefined.
3012
86140c62
JM
30132019-02-13 Joseph Myers <joseph@codesourcery.com>
3014
10756268
JM
3015 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3016 comment wording.
3017 * nis/nis_call.c (__do_niscall3): Likewise.
3018
05383720
JM
3019 * catgets/gencat.c (normalize_line): Use braces around empty
3020 'else' body.
3021 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3022 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3023 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3024 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3025 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3026 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3027 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3028 definition.
3029
86140c62
JM
3030 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3031 execlp returns.
3032
16f87cfd
WD
30332019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3034
3035 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3036 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3037 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3038 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3039 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3040 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3041 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3042 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3043 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3044 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3045 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3046 * benchtests/bench-bcopy.c: Delete file.
3047 * benchtests/bench-bzero.c: Likewise.
3048 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3049 (simple_memccpy): Remove.
3050 (generic_memccpy): Add function.
3051 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3052 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3053 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3054 (generic_mempcpy): Add new function.
3055 * benchtests/bench-memset.c (simple_bzero): Remove.
3056 (builtin_bzero): Remove.
3057 (builtin_memset): Remove.
3058 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3059 (generic_rawmemchr): Add new function.
3060
0c6d82e9
FW
30612019-02-12 Florian Weimer <fweimer@redhat.com>
3062
3063 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3064
b3fbfe81
AZ
30652019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3066
3067 [BZ #24122]
3068 * elf/Makefile (tests): Add tst-audit13.
3069 (modules-names): Add tst-audit13mod1.
3070 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3071 rule.
3072 * elf/tst-audit13.c: New file.
3073 * elf/tst-audit13mod1.c: Likewise.
3074
3b856d09
FW
30752019-02-12 Florian Weimer <fweimer@redhat.com>
3076
3077 [BZ #24122]
3078 * elf/rtld.c (unload_audit_module): New function.
3079 (report_audit_module_load_error): Likewise.
3080 (load_audit_module): Likewise. Extracted from dl_main. Call
3081 _dl_close if the laversion symbol cannot be found. Use early
3082 returns for error handling. Add malloc error check. Check for a
3083 zero return value from la_version. Remove spurious comment about
3084 static TLS initialization. Remove useless casts.
3085 (notify_audit_modules_of_loaded_object): New function. Extracted
3086 from dl_main.
3087 (load_audit_module): Likewise.
3088 (dl_main): Call load_audit_modules.
3089
32db86d5
JM
30902019-02-12 Joseph Myers <joseph@codesourcery.com>
3091
3092 * elf/dl-exception.c (_dl_exception_create_format): Add
3093 fall-through comments.
3094 * elf/ldconfig.c (parse_conf_include): Likewise.
3095 * elf/rtld.c (print_statistics): Likewise.
3096 * locale/programs/charmap.c (parse_charmap): Likewise.
3097 * misc/mntent_r.c (__getmntent_r): Likewise.
3098 * posix/wordexp.c (parse_arith): Likewise.
3099 (parse_backtick): Likewise.
3100 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3101 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3102 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3103
a51bc4fe
PC
31042019-02-11 Paul A. Clarke <pc@us.ibm.com>
3105
3106 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3107 Use float instead of double.
3108
fb25b135
TS
31092019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3110
3111 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3112
32ea7299
JM
31132019-02-08 Joseph Myers <joseph@codesourcery.com>
3114
3115 * sysdeps/powerpc/bits/mathinline.h: Remove.
3116
eef4d4f8
FW
31172019-02-08 Florian Weimer <fweimer@redhat.com>
3118
3119 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3120 * math/bits/math-finite.h: Move to ...
3121 * bits/math-finite.h: ... here.
3122
fdfbd47d
FW
31232019-02-08 Florian Weimer <fweimer@redhat.com>
3124
3125 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3126 * bits/unistd_ext.h: here.
3127
11eb21c4
PF
31282019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3129
3130 [BZ #21915]
3131 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3132 * nss/tst-nss-files-hosts-long.c: New file.
3133 * nss/tst-nss-files-hosts-long.root: New directory.
3134 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3135 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3136
e47d82c9
FW
31372019-02-08 Florian Weimer <fweimer@redhat.com>
3138
3139 * include/bits/unistd_ext.h: Remove file.
3140 * posix/bits/unistd_ext.h: Move to ...
3141 * sysdeps/generic/bits/unistd_ext.h: ... here.
3142
8f89ab21
FW
31432019-02-08 Florian Weimer <fweimer@redhat.com>
3144
3145 * include/bits/unistd_ext.h: New file.
3146
144a794e
TS
31472019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3148
3149 * time/tst-strftime2.c: Use array_length macros instead of magic
3150 numbers.
3151
669ff911
FW
31522019-02-08 Florian Weimer <fweimer@redhat.com>
3153
3154 [BZ #24161]
3155 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3156 argument.
3157 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3158 locking if the new do_locking argument is true.
3159 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3160 __run_fork_handlers.
3161
d0bd87d4 31622019-02-08 Florian Weimer <fweimer@redhat.com>
1d0fc213
FW
3163
3164 [BZ #6399]
3165 Linux: Add gettid system call wrapper.
3166 * posix/Makefile (headers): Add bits/unistd_ext.h.
3167 * posix/bits/unistd_ext.h: New file.
3168 * posix/unistd.h: Include it.
3169 * manual/process.texi (Process Identification): Document gettid.
3170 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3171 tst-gettid, tst-gettid-kill.
3172 (tst-gettid): Link with $(shared-thread-library).
3173 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3174 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3175 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3176 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3177 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3178 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3179 Add gettid.
3180 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3181 Likewise.
3182 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3183 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3184 Likewise.
3185 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3186 Likewise.
3187 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3190 Likewise.
3191 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3194 Likewise.
3195 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3196 Likewise.
3197 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3198 (GLIBC_2.30): Likewise.
3199 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3200 (GLIBC_2.30): Likewise.
3201 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3202 (GLIBC_2.30): Likewise.
3203 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3204 (GLIBC_2.30): Likewise.
3205 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3206 Likewise.
3207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3208 (GLIBC_2.30): Likewise.
3209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3210 (GLIBC_2.30): Likewise.
3211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3212 (GLIBC_2.30): Likewise.
3213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3214 (GLIBC_2.30): Likewise.
3215 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3216 Likewise.
3217 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3218 Likewise.
3219 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3222 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3223 Likewise.
3224 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3225 Likewise.
3226 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3227 Likewise.
3228 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3229 Likewise.
3230 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3231
225d9445 32322019-02-08 Florian Weimer <fweimer@redhat.com>
f289e656
FW
3233
3234 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3235 compatibility symbols.
3236
823624bd
SL
32372019-02-07 Stefan Liebler <stli@linux.ibm.com>
3238
3239 [BZ #24180]
3240 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3241 Add compiler barriers and comments.
3242
8311c83f
FW
32432019-02-07 Florian Weimer <fweimer@redhat.com>
3244
3245 * include/array_length.h (array_length): Do not use a statement
3246 expression and _Static_assert, so that array_length can be used at
3247 file scope and as a constant expression.
3248
94b63e66
FW
32492019-02-07 Florian Weimer <fweimer@redhat.com>
3250
3251 * support/xdlfcn.h (xdlmopen): Declare.
3252 * support/xdlmopen.c: New file.
3253 * support/Makefile (libsupport-routines): Add xdlmopen.
3254
c2d8f0b7
JM
32552019-02-06 Joseph Myers <joseph@codesourcery.com>
3256
3257 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3258 before return type, without separate inline.
3259 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3260 * elf/dl-tunables.h (tunable_is_name): Likewise.
3261 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3262 (do_set_top_pad): Likewise.
3263 (do_set_mmap_threshold): Likewise.
3264 (do_set_mmaps_max): Likewise.
3265 (do_set_mallopt_check): Likewise.
3266 (do_set_perturb_byte): Likewise.
3267 (do_set_arena_test): Likewise.
3268 (do_set_arena_max): Likewise.
3269 (do_set_tcache_max): Likewise.
3270 (do_set_tcache_count): Likewise.
3271 (do_set_tcache_unsorted_limit): Likewise.
3272 * nis/nis_subr.c (count_dots): Likewise.
3273 * nptl/allocatestack.c (advise_stack_range): Likewise.
3274 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3275 (do_sin): Likewise.
3276 (reduce_sincos): Likewise.
3277 (do_sincos): Likewise.
3278 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3279 (do_set_elision_enable): Likewise.
3280 (TUNABLE_CALLBACK_FNDECL): Likewise.
3281
3b935595
FW
32822019-02-06 Florian Weimer <fweimer@redhat.com>
3283
3284 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3285 (xdlsym): Use dlerror to detect a NULL symbol.
3286
b4333340
FW
32872019-02-06 Florian Weimer <fweimer@redhat.com>
3288
3289 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3290 <stap-probe.h>.
3291 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3292
b6d8a999
SL
32932019-02-06 Stefan Liebler <stli@linux.ibm.com>
3294
3295 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3296
94eeeec0
SL
32972019-02-06 Stefan Liebler <stli@linux.ibm.com>
3298
3299 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3300 __wmemcmp and weak alias to wmemcmp.
3301
bc79db3f
SL
33022019-02-06 Stefan Liebler <stli@linux.ibm.com>
3303
3304 [BZ #23403]
3305 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3306 TLS_TCB_AT_TP tls variant.
3307 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3308 Add alignment checks.
3309 * support/Makefile (libsupport-routines): Add xposix_memalign and
3310 xpthread_setstack.
3311 * support/support.h: Add xposix_memalign.
3312 * support/xthread.h: Add xpthread_attr_setstack.
3313 * support/xposix_memalign.c: New File.
3314 * support/xpthread_attr_setstack.c: Likewise.
3315
f1ac7455
FW
33162019-02-05 Florian Weimer <fweimer@redhat.com>
3317
3318 [BZ #24164]
3319 arm: Use "nr" constraint for Systemtap probes, to avoid the
3320 compiler using memory operands for constants, due to the "o"
3321 alternative in the default "nor" constraint.
3322 * include/stap-probe.h [USE_STAP_PROBE]: Include
3323 <stap-probe-machine.h>
3324 * sysdeps/generic/stap-probe-machine.h: New file.
3325 * sysdeps/arm/stap-probe-machine.h: Likewise.
3326
7a0dcfc6
JM
33272019-02-04 Joseph Myers <joseph@codesourcery.com>
3328
77dc0d86
JM
3329 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3330 with 0, not tcache->entries[tc_idx].
3331
7a0dcfc6
JM
3332 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3333 once.
3334
65f7767a
AS
33352019-02-04 Andreas Schwab <schwab@suse.de>
3336
3337 [BZ #16976]
3338 [BZ #17396]
3339 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3340 looking up collating elements match against (wide) character
3341 sequence instead of name. Correct alignment adjustment.
3342 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3343 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3344 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3345 (LOCALES): Add cs_CZ.ISO-8859-2.
3346 * posix/tst-fnmatch4.c: New file.
3347 * posix/tst-fnmatch5.c: New file.
3348 * include/wchar.h (__wmemcmp): Declare.
3349 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3350 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3351 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3352 * sysdeps/s390/wmemcmp.c: Likewise.
3353
3f635fb4
L
33542019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3355
3356 [BZ #24155]
3357 CVE-2019-7309
3358 * NEWS: Updated for CVE-2019-7309.
3359 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3360 upper 32 bits of RDX register for x32. Use unsigned Jcc
3361 instructions, instead of signed.
3362 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3363 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3364
2ab5741b
FW
33652019-02-04 Florian Weimer <fweimer@redhat.com>
3366
3367 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3368 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3369 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3370 Likewise.
3371 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3372 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3373 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3374 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3375 Likewise.
3376 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3377 Likewise.
3378 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3379 Likewise.
3380 (posix_spawn_file_actions_addopen): Likewise.
3381 (posix_spawn_file_actions_addclose): Likewise.
3382 (posix_spawn_file_actions_adddup2): Likewise.
3383 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3384 qualifiers.
3385 (posix_spawn_file_actions_addfchdir_np): Likewise.
3386
8692ebdb
DN
33872019-02-04 David Newall <glibc@davidnewall.com>
3388
3389 elf: Implement --preload option for the dynamic linker.
3390 * elf/rtld.c (preloadarg): New variable.
3391 (handle_preload_list): Pass through “where” argument to
3392 do_preload.
3393 (dl_main): Handle "--preload" and add second call to
3394 handle_preload_list.
3395 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3396 (tst-rtld-preload-OBJS): Set variable.
3397 (tst-rtld-preload.out): New target.
3398 * elf/tst-rtld-preload.sh: New file.
3399
5e10136b
MM
34002019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3401
3402 * Makefile (testrun.sh): Exit in case of incorrect argument.
3403
221baae0
FW
34042019-02-04 Florian Weimer <fweimer@redhat.com>
3405
3406 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3407 alignment gaps.
3408
b8c72381
FW
34092019-02-03 Florian Weimer <fweimer@redhat.com>
3410
3411 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3412 implicit overflow checks.
3413
11f382ee
AJ
34142019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3415
3416 * stdlib/isomac.c: Include <unistd.h>.
3417
77c7d55e
FW
34182019-02-03 Florian Weimer <fweimer@redhat.com>
3419
3420 * include/time.h (__tzfile_default): Use int, not long int, for
3421 the GMT offsets.
3422 * time/tzfile.c (struct ttinfo): Change type of the offset member
3423 to int.
3424 (__tzfile_read): Remove useless cast.
3425 (__tzfile_default): Adjust prototype.
3426 * time/tzset.c (tz_rule): Change type of the offset member to int.
3427 (parse_offset): Change the type of the sign variable to int.
3428
ee9941f9
FW
34292019-02-03 Florian Weimer <fweimer@redhat.com>
3430
3431 [BZ #24153]
3432 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3433 * libio/getchar.c (getchar): Likewise.
3434 * libio/getchar_u.c (getchar_unlocked): Likewise.
3435 * libio/getwchar.c (getwchar): Likewise.
3436 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3437 * libio/iogets.c (_IO_gets): Likewise.
3438 * libio/vscanf.c (_IO_vscanf): Likewise.
3439 * libio/vwscanf.c (__vwscanf): Likewise.
3440 * libio/tst-bz24153.c: New file.
3441 * libio/Makefile (tests): Add it.
3442
c70824b9
FW
34432019-02-02 Florian Weimer <fweimer@redhat.com>
3444
3445 [BZ #14829]
3446 * manual/resource.texi (Basic Scheduling Functions): Add
3447 portability note. Change process to task throughout the section.
3448 Remove incorrect comment about sched_yield as it affects
3449 tasks/threads, not entire processes.
3450 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3451 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3452
4dcbbc3b
JM
34532019-02-01 Joseph Myers <joseph@codesourcery.com>
3454
3455 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3456 * configure: Regenerated.
3457 * manual/install.texi (Tools for Compilation): Update minimum GCC
3458 version.
3459 * INSTALL: Regenerated.
3460
6175507c
FW
34612019-02-01 Florian Weimer <fweimer@redhat.com>
3462
3463 * support/support_test_compare_string.c
3464 (support_test_compare_string): Use "string" in error message.
3465 * support/tst-test_compare_string.c (do_test): Adjust.
3466
baef1943
FW
34672019-02-01 Florian Weimer <fweimer@redhat.com>
3468
3469 * support/support_format_address_family.c
3470 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3471
395599f0
FW
34722019-02-01 Florian Weimer <fweimer@redhat.com>
3473
3474 * manual/socket.texi (Internet Address Formats): Clarify the byte
3475 order of struct sockaddr_in, struct sockaddr_in6. Document
3476 sin6_flowinfo and sin6_scope_id.
3477
b06f4c00
WD
34782019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3479
3480 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3481 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3482 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3483 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3484 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3485 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3486
83d1cc42
FX
34872019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3488
3489 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3490 [!MEMCHR](MEMCHR): Set to __memchr.
3491 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3492 Add memchr_generic and memchr_nosimd.
3493 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3494 (__libc_ifunc_impl_list): Add memchr ifuncs.
3495 * sysdeps/aarch64/multiarch/memchr.c: New file.
3496 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3497 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3498
c7d3890f
FX
34992019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3500
3501 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3502 Add memset_emag.
3503 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3504 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3505 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3506 Add IS_EMAG check for ifunc dispatch.
3507 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3508 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3509
07c3d1ec
FX
35102019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3511
3512 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3513 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3514 Add emag.
3515 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3516 New macro.
3517
114f792e
SL
35182019-02-01 Stefan Liebler <stli@linux.ibm.com>
3519
3520 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3521
d5627550
VG
35222019-01-31 Vineet Gupta <vgupta@synopsys.com>
3523
3524 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3525 syscall-template file.
3526
5fc9ed4c
CD
35272019-01-31 Carlos O'Donell <carlos@redhat.com>
3528 Torvald Riegel <triegel@redhat.com>
3529 Rik Prohaska <prohaska7@gmail.com>
3530
3531 [BZ# 23844]
3532 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3533 tst-rwlock-trywrlock-stall.
3534 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3535 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3536 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3537 Set __wrphase_fute to 1 only if we started the write phase.
3538 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3539 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3540 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3541 * support/xpthread_rwlock_destroy.c: New file.
3542 * support/xthread.h: Declare xpthread_rwlock_destroy.
3543
932329a5
JM
35442019-02-01 Joseph Myers <joseph@codesourcery.com>
3545
3546 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3547 version to 4.0.2.
3548
5f10701f
PP
35492019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3550
3551 [BZ #24051]
3552 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3553 * libio/fileops.c (_IO_new_file_underflow): Likewise
3554 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3555 * libio/putchar.c (putchar): Likewise.
3556 * libio/putchar_u.c (putchar_unlocked): Likewise.
3557 * libio/putwchar.c (putchar): Likewise.
3558 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3559 * libio/tst-bz24051.c: New test.
3560 * libio/Makefile (tests): Add tst-bz24051
3561
583dd860
PE
35622019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3563
b626c5aa 3564 CVE-2019-9169
583dd860
PE
3565 regex: fix read overrun [BZ #24114]
3566 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3567 https://debbugs.gnu.org/34140
3568 * posix/regexec.c (proceed_next_node):
3569 Do not read past end of input buffer.
3570
2bac7daa
FW
35712019-01-31 Florian Weimer <fweimer@redhat.com>
3572
3573 [BZ #24059]
3574 * nss/nss_files/files-alias.c (get_next_alias): Handle
3575 continuation line without newline at the end.
3576 * nss/tst-nss-files-alias-truncated.c: New file.
3577 * nss/Makefile [$(build-shared)] (tests): Add
3578 tst-nss-files-alias-truncated.
3579 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3580 * support/namespace.h (struct support_chroot_configuration): Add
3581 aliases member.
3582 (struct support_chroot): Add path_aliases member.
3583 * support/support_chroot.c (support_chroot_create): Handle
3584 aliases.
3585 (support_chroot_free): Free path_aliases.
3586
330c9d0d
SP
35872019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3588
de44ab67
SP
3589 * version.h (RELEASE): Set to "development".
3590 (VERSION): Set to "2.29.9000".
3591 * NEWS: Add section for 2.30.
3592
56c86f5d
SP
3593 * version.h (RELEASE): Set to "stable".
3594 (VERSION): Set to "2.29".
3595 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3596
330c9d0d
SP
3597 * NEWS: Add the list of bugs fixed in 2.29.
3598 * manual/contrib.texi: Update contributors list with some more
3599 names.
3600 * manual/install.texi: Update latest versions of packages
3601 tested.
3602 * INSTALL: Regenerated.
3603
e1e47c91
SP
36042019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3605
3606 * po/be.po: Update translations.
3607 * po/bg.po: Likewise.
3608 * po/ca.po: Likewise.
3609 * po/cs.po: Likewise.
3610 * po/da.po: Likewise.
3611 * po/de.po: Likewise.
3612 * po/el.po: Likewise.
3613 * po/eo.po: Likewise.
3614 * po/es.po: Likewise.
3615 * po/fi.po: Likewise.
3616 * po/fr.po: Likewise.
3617 * po/gl.po: Likewise.
3618 * po/hr.po: Likewise.
3619 * po/hu.po: Likewise.
3620 * po/ia.po: Likewise.
3621 * po/id.po: Likewise.
3622 * po/it.po: Likewise.
3623 * po/ja.po: Likewise.
3624 * po/ko.po: Likewise.
3625 * po/lt.po: Likewise.
3626 * po/nb.po: Likewise.
3627 * po/nl.po: Likewise.
3628 * po/pl.po: Likewise.
3629 * po/pt_BR.po: Likewise.
3630 * po/ru.po: Likewise.
3631 * po/rw.po: Likewise.
3632 * po/sk.po: Likewise.
3633 * po/sl.po: Likewise.
3634 * po/sv.po: Likewise.
3635 * po/tr.po: Likewise.
3636 * po/uk.po: Likewise.
3637 * po/vi.po: Likewise.
3638 * po/zh_CN.po: Likewise.
3639 * po/zh_TW.po: Likewise.
3640
8d016826
UB
36412019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3642
3643 [BZ #24130]
3644 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3645 of $f3 register on $y_is_neg path.
3646
a0bb5abd
ST
36472019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3648
b96e22d0 3649 [BZ #24110]
a0bb5abd
ST
3650 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3651 sigaltstack.ss_flags.
3652
b22eed37
TS
36532019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3654
3655 [BZ #23758]
3656 * manual/time.texi (strftime): Document "%Ey".
3657 * time/strftime_l.c (__strftime_internal): Set the default width
3658 padding with zero of "%Ey" to 2.
3659
32f600a2
TS
3660 [BZ #24096]
3661 * manual/time.texi (strftime): Document "%EC" and "%EY".
3662 * time/Makefile (tests): Add tst-strftime2.
3663 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3664 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3665 override padding for "%Ey".
3666 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3667 "%Ey" in the subformat as if decorated with that flag.
3668 * time/tst-strftime2.c: New file.
3669
8e889c5d
AZ
36702019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3671
3367acdb
AZ
3672 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3673 are not defined.
3674
8e889c5d
AZ
3675 [BZ #24122]
3676 * elf/Makefile (tests): Add tst-audit13.
3677 (modules-names): Add tst-audit13mod1.
3678 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3679 rule.
3680 * elf/rtld.c (dl_main): Handle invalid audit module version.
3681 * elf/tst-audit13.c: New file.
3682 * elf/tst-audit13mod1.c: Likewise.
3683
a95dc01c
ST
36842019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3685
3686 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3687 returned by __hurd_at_flags.
ee4d7902
ST
3688 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3689 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3690 directly instead of __hurd_file_name_lookup.
a95dc01c 3691
712f1167
JM
36922019-01-21 Joseph Myers <joseph@codesourcery.com>
3693
3694 * scripts/build-many-glibcs.py (Context.checkout): Default
3695 binutils version to 2.32 branch.
3696
108bc404
FW
36972019-01-21 Florian Weimer <fweimer@redhat.com>
3698
3699 [BZ #20018]
3700 CVE-2016-10739
3701 resolv: Reject trailing characters in host names
3702 * include/arpa/inet.h (__inet_aton_exact): Declare.
3703 (inet_aton): Remove hidden prototype. No longer used internally.
3704 * nscd/gai.c (__inet_aton): Do not define.
3705 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3706 * nss/digits_dots.c (__inet_aton): Likewise.
3707 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3708 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3709 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3710 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3711 (tst-resolv-trailing): Likewise.
3712 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3713 libc.
3714 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3715 Make static. Add endp parameter.
3716 (__inet_aton_exact): New function.
3717 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3718 (__inet_addr): Call inet_aton_end.
3719 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3720 not just IPv6. Call __inet_aton_exact.
3721 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3722 (tests): Make const. Add additional test cases with trailing
3723 characters.
3724 (do_test): Use array_length.
3725 * resolv/tst-inet_aton_exact.c: New file.
3726 * resolv/tst-resolv-trailing.c: Likewise.
3727 * resolv/tst-resolv-nondecimal.c: Likewise.
3728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3729
5165de69
L
37302019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3731
3732 [BZ# 24097]
3733 CVE-2019-6488
3734 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3735 Clear the upper 32 bits of RSI register.
3736 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3737 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3738 and tst-size_t-wcsnlen.
3739 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3740 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3741
c7c54f65
L
37422019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3743
3744 [BZ# 24097]
3745 CVE-2019-6488
3746 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3747 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3748 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3749 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3750 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3751
ee915088
L
37522019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3753
3754 [BZ# 24097]
3755 CVE-2019-6488
3756 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3757 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3758 * sysdeps/x86_64/strcmp.S: Likewise.
3759 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3760 tst-size_t-strncmp and tst-size_t-wcsncmp.
3761 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3762 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3763 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3764
82d0b4a4
L
37652019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3766
3767 [BZ# 24097]
3768 CVE-2019-6488
3769 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3770 RDX_LP for length. Clear the upper 32 bits of RDX register.
3771 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3772 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3773 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3774 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3775
ecd8b842
L
37762019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3777
3778 [BZ# 24097]
3779 CVE-2019-6488
3780 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3781 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3782 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3783 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3784
231c5676
L
37852019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3786
3787 [BZ# 24097]
3788 CVE-2019-6488
3789 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3790 length. Clear the upper 32 bits of RDX register.
3791 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3792 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3793 Likewise.
3794 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3795 Likewise.
3796 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3797 tst-size_t-wmemchr.
3798 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3799
b304fc20
L
38002019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3801
3802 [BZ# 24097]
3803 CVE-2019-6488
3804 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3805 length. Clear the upper 32 bits of RDX register.
3806 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3807 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3808 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3809 tst-size_t-wmemcmp.
3810 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3811 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3812
97700a34
L
38132019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3814
3815 [BZ# 24097]
3816 CVE-2019-6488
3817 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3818 upper 32 bits of RDX register.
3819 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3820 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3821 tst-size_t-wmemchr.
3822 * sysdeps/x86_64/x32/test-size_t.h: New file.
3823 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3824 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3825
6ca53a24
FW
38262019-01-18 Florian Weimer <fweimer@redhat.com>
3827
3828 [BZ #24112]
3829 resolv: Do not send queries for non-host-names in nss_dns.
3830 * resolv/nss_dns/dns-host.c (check_name): New function.
3831 (_nss_dns_gethostbyname2_r): Use it.
3832 (_nss_dns_gethostbyname_r): Likewise.
3833 (_nss_dns_gethostbyname4_r): Likewise.
3834
5e30b8ef
FW
38352019-01-21 Florian Weimer <fweimer@redhat.com>
3836
3837 * resolv/inet_addr.c: Reformat to GNU style.
3838 (__inet_addr, __inet_aton): Update comment.
3839
71effcea
FW
38402019-01-18 Florian Weimer <fweimer@redhat.com>
3841
3842 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3843 ("malloc: Use current (C11-style) atomics for fastbin access").
3844 This commit introduces a substantial performance regression on
3845 POWER and Aarch64.
3846 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3847 (REMOVE_FB): Define.
3848 (_int_malloc): Use it and reindent.
3849 (_int_free): Use CAS loop with
3850 catomic_compare_and_exchange_val_rel.
3851 (malloc_consolidate): Use atomic_exchange_acq.
3852
3853
562f4362
L
38542019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3855
3856 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3857 -Wl,-z,now.
3858 (LDFLAGS-tst-minsigstksz-2): Likewise.
3859 (LDFLAGS-tst-minsigstksz-3): Likewise.
3860 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3861 (LDFLAGS-tst-minsigstksz-4): Likewise.
3862
80dfa298
TS
38632019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3864
3865 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3866 than "alternate".
3867
008b598e
PC
38682019-01-16 Paul A. Clarke <pc@us.ibm.com>
3869
3870 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3871
fbbc9a4e
ZW
38722019-01-16 Zack Weinberg <zackw@panix.com>
3873
6b5c8607
TS
3874 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3875 (xget_sigstack_location): New test support functions.
3876 * support/xsigstack.c: New file, implementing them.
3877 * support/tst-xsigstack.c: New test for them.
3878 * support/Makefile: Update.
fbbc9a4e 3879
6b5c8607
TS
3880 * signal/tst-minsigstksz-1.c
3881 * signal/tst-minsigstksz-2.c
3882 * signal/tst-minsigstksz-3.c
3883 * signal/tst-minsigstksz-3a.c
3884 * signal/tst-minsigstksz-4.c: New tests.
3885 * signal/Makefile: Run them.
fbbc9a4e 3886
5f1135e4
SP
38872019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3888
3889 * po/libc.pot: Regenerate.
3890
ecdacd34
TMQMF
38912019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3892
3893 * math/libm-test-fma.inc (fma_test_data): Set
3894 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3895
56054664
RA
38962019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3897
3898 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3899 (do_test): Changed __vector __int128_t to __vector unsigned int.
3900
1a153e47
LS
39012019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3902
3903 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3904 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3905 stpcpy-avx2 and stpncpy-avx2.
3906 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3907 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3908 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3909 and __stpncpy_avx2.
3910 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3911 ifunc-strcpy.h}: rename header for a more generic name.
3912 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3913 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3914 AVX unaligned load is fast and vzeroupper is preferred.
3915 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3916 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3917 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3918 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3919 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3920 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3921
a1b02ae7
DL
39222019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3923
3924 * argp/argp-help.c: Fix typo in comment.
3925 * misc/sys/cdefs.h: Likewise.
3926 * posix/regexec.c (sift_states_iter_mb): Likewise.
3927 * socket/sockatmark.c: Likewise.
3928 * socket/sys/socket.h: Likewise.
3929 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3930 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3931 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3932 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3933 * sysdeps/unix/sockatmark.c: Likewise.
3934 * time/strptime_l.c: Likewise.
3935
5cbbf01e
TS
39362019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3937
3938 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3939 missing space after the cast of "_NL_CURRENT".
3940
0bc9bdf1
RA
39412019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3942
3943 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3944 ifdef to fix read of VSCR.
3945 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
3946 tst-ucontext-ppc64-vscr.c to test list.
3947 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
3948
5494af04
AH
39492019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
3950
3951 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
3952 fall-through.
3953
e17f63ff
JW
39542019-01-09 Jim Wilson <jimw@sifive.com>
3955
3956 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
3957
02f440c1
WD
39582019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
3959
3960 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
3961 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
3962 __memcpy_falkor for ares.
3963 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
3964 Add new define.
3965 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3966 Add ares cpu.
3967
69da3c9e
L
39682019-01-07 H.J. Lu <hongjiu.lu@intel.com>
3969
3970 [BZ #24066]
3971 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
3972 4_FP_W_TYPEs are used for IEEE quad precision.
3973 * soft-fp/extendhftf2.c: Likewise.
3974 * soft-fp/extendsftf2.c: Likewise.
3975 * soft-fp/extendxftf2.c: Likewise.
3976 * soft-fp/trunctfdf2.c: Likewise.
3977 * soft-fp/trunctfhf2.c: Likewise.
3978 * soft-fp/trunctfsf2.c: Likewise.
3979 * soft-fp/trunctfxf2.c: Likewise.
3980 * sysdeps/alpha/ots_cvttx.c: Likewise.
3981 * sysdeps/alpha/ots_cvtxt.c: Likewise.
3982 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
3983 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
3984 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
3985 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
3986 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
3987 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
3988 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
3989 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
3990 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
3991 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
3992 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
3993 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
3994 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
3995 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
3996 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
3997 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
3998
2ef42716
AJ
39992019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4000
4001 [BZ #24024]
4002 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4003 code with -fmath-errno.
4004 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4005 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4006 * string/test-strerror-errno.c: New file.
4007
7395f3a0
AJ
40082019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4009
4010 [BZ #24046]
4011 * localedata/locales/en_US (date_fmt): Add, set to
4012 "%a %d %b %Y %r %Z".
4013
010fe231
FW
40142019-01-07 Florian Weimer <fweimer@redhat.com>
4015
4016 [BZ #24063]
4017 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4018 instead of @var{errno}.
4019 (Parsing of Integers): Likewise.
4020 (Parsing of Floats): Likewise.
4021 * manual/filesys.texi (Working with Directory Trees): Likewise.
4022 (Temporary Files): Likewise.
4023 * manual/job.texi (Terminal Access Functions): Likewise.
4024 * manual/llio.texi (Synchronizing I/O): Likewise.
4025 * manual/math.texi (SVID Random): Likewise.
4026 * manual/message.texi (The catgets Functions): Likewise.
4027 (Translation with gettext): Likewise.
4028 (Locating gettext catalog): Likewise.
4029 (Charset conversion in gettext): Likewise.
4030 * manual/nss.texi (NSS Module Function Internals): Likewise.
4031 * manual/search.texi (Hash Search Function): Likewise.
4032 * manual/setjmp.texi (System V contexts): Likewise.
4033 * manual/time.texi (Sleeping): Likewise.
4034 * manual/users.texi (Lookup User): Likewise.
4035 (Lookup Group): Likewise.
4036
b79dc8d0
AZ
40372019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4038
4039 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4040 fix typo.
4041
890461fe 40422019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
27c5e756
MJ
4043
4044 [BZ #19444]
4045 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4046 __builtin_unreachable for default case in switch.
4047 (__ieee754_yn): Likewise.
4048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4049 (__ieee754_ynl): Likewise.
4050 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4051 (__ieee754_ynl): Likewise.
4052 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4053 (__ieee754_ynl): Likewise.
4054
8b18d418
SN
40552019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4056
4057 * manual/maint.texi: Use @{ and @}.
4058
4392898d
FW
40592019-01-04 Florian Weimer <fweimer@redhat.com>
4060
4061 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4062 function.
4063 (do_in_chroot_1): Call it.
4064 (run_chroot_tests):
4065 Improve error reporting in case it is not possible to create a
4066 collision for the PTY name required by the test.
4067
17cc27d5
AZ
40682019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4069
ce7eb0e9
AZ
4070 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4071 lll_wait_tid with timeout.
4072 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4073 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4074 futex_reltimed_wait_cancelable for cancelabla mode.
4075 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4076 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4077 macros.
4078 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4079 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4080 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4081 SYSCALL_CANCEL_NCS): New macro.
4082 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4083 (lll_timedwait_tid): Remove macro.
4084 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4085 Likewise.
4086 (lll_timedwait_tid): Likewise.
4087 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4088 Likewise.
4089 (lll_timedwait_tid): Likewise.
4090 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4091 Likewise.
4092 (lll_timedwait_tid): Likewise.
4093 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4094 Use INTERNAL_SYSCALL_CANCEL.
4095 * sysdeps/unix/sysv/linux/futex-internal.h
4096 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4097 instead of __pthread_{enable,disable}_asynccancel.
4098 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4099 (lll_futex_wait_cancel): New macro.
4100
0b13e255
AZ
4101 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4102 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4103
85c828a4
AZ
4104 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4105 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4106
d0d7f85f
AZ
4107 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4108 in backtrace analysis.
4109 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4110 side-effects.
4111 (tf_send): Likewise.
4112
17cc27d5
AZ
4113 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4114 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4115 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4116 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4117 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4118 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4119 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4120 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4121 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4122 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4123 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4124 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4125 Likewise.
4126 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4127 tst-cancel-wrappers.sh.
4128 (generated): Remove tst-cancel-wrappers.out.
4129 (tst-cancel-wrappers.out): Remove rule.
4130 * nptl/tst-cancel-wrappers.sh: Remove file.
4131
7d7af8f1
SN
41322019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4133
4134 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4135 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4136 Update.
4137
805334b2
AZ
41382019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4139
4140 [BZ #23640]
4141 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4142 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4143 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4144 close-on-exec reset for adddup2 file action.
4145 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4146
03992356
ZW
41472019-01-03 Zack Weinberg <zackw@panix.com>
4148
4149 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4150 parameter. Only use deprecated scanf when __USE_GNU is defined
4151 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4152 than 201103L, whichever is relevant for the language being compiled.
4153
4154 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4155 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4156 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4157 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4158 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4159
4160 * libio/iovsscanf.c
4161 * libio/fwscanf.c
4162 * libio/iovswscanf.c
4163 * libio/swscanf.c
4164 * libio/vscanf.c
4165 * libio/vwscanf.c
4166 * libio/wscanf.c
4167 * stdio-common/fscanf.c
4168 * stdio-common/scanf.c
4169 * stdio-common/vfscanf.c
4170 * stdio-common/vfwscanf.c
4171 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4172 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4173 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4174 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4175 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4176 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4177 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4178 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4179 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4180 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4181 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4182 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4183 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4184 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4185 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4186
4187 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4188 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4189 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4190 not sscanf.
4191 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4192 with a preprocessor macro.
4193
4194 * stdio-common/bug21.c, stdio-common/scanf14.c:
4195 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4196 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4197 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4198 to xscanf, xfscanf, xsscanf.
4199
4200 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4201 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4202 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4203 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4204 xfscanf, xsscanf.
4205 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4206 override feature selection macros or provide definitions of u_char etc.
4207 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4208 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4209 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4210 with -std=gnu89.
4211
8083afa5
AZ
42122019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4213
6f343c1f
AZ
4214 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4215 bits/termios-misc.h.
4216 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4217 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4218 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4219 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4220 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4221 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4222
51f4beb0
AZ
4223 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4224 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4225 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4226 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4227 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4228 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4229 termios-misc.h.
4230 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4231 (sysdep_headers): Add termios-misc.h.
4232
f69c5cb2
AZ
4233 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4234 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4235 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4236
3aa4a07e
AZ
4237 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4238 termios-tcflow.h.
4239 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4240 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4241 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4242 TCSAFLUSH): Move to termios-tcflow.h.
4243 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4244 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4245 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4246 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4247
22679ddf
AZ
4248 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4249 termios-c_lflag.h.
4250 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4251 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4252 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4253 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4254 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4255 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4256 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4257 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4258 Likewise.
4259 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4260 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4261 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4262 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4263
72eb6ecc
AZ
4264 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4265 termios-c_cflag.h.
4266 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4267 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4268 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4269 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4270 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4271 termios-c_cflag.h.
4272 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4273 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4275 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4276
9c5d0d02
AZ
4277 [BZ #23783]
4278 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4279 termios-baud.h.
4280 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4281 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4282 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4283 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4284 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4285 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4286 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4287 __MAX_BAUD): Move to termios-baud.h.
4288 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4289 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4290 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4291 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4292 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4293
7b832018
AZ
4294 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4295 termios-c_oflag.h.
4296 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4297 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4298 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4299 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4300 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4301 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4302 termios-c_oflag.h.
4303 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4304 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4305 FFR1): Likewise.
4306 [USE_MISC] (XTABS): Likewise.
4307 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4308 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4309 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4310 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4311
3127003e
AZ
4312 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4313 termios-c_iflag.h.
4314 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4315 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4316 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4317 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4318 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4319 IUTF8): Move to termios-c_iflag.h.
4320 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4321 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4322 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4323 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4324
48c1dd96
AZ
4325 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4326 termios-cc.h.
4327 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4328 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4329 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4330 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4331 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4332 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4333 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4334 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4335 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4336 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4337 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4338 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4339
e5a50db3
AZ
4340 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4341 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4342 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4343 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4344 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4345 termios-struct.h.
4346 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4347 termios-struct.h.
4348 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4349 Likewise.
4350 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4351 Likewise.
4352 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4353 Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4355 Likewise.
4356 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4357 _HAVE_C_OSPEED): Define.
4358 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4359 _HAVE_C_OSPEED): Likewise.
4360 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4361 _HAVE_C_OSPEED): Likewise.
4362 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4363 (cfsetospeed): Check for define value instead of existence.
4364 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4365 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4366 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4367 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4368 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4369
8083afa5
AZ
4370 [BZ #17783]
4371 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4372 Define.
4373 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4374 (TIOCSER_TEMT): Likewise.
4375 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4376 (TEOCSER_TEMT): Likewise.
4377
4d7d7dc6
P
43782019-01-02 PanderMusubi <pander@users.sourceforge.net>
4379
4380 [BZ #24011]
4381 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4382
8e291a29
JM
43832019-01-02 Joseph Myers <joseph@codesourcery.com>
4384
4385 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4386
55137f7d
ST
43872019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4388
4389 * sysdeps/htl/pt-barrierattr-setpshared.c
4390 (pthread_barrierattr_setpshared): Add stub warning.
4391 * sysdeps/htl/pt-condattr-setpshared.c
4392 (pthread_condattr_setpshared): Likewise.
4393 * sysdeps/htl/pt-mutexattr-setpshared.c
4394 (pthread_mutexattr_setpshared): Likewise.
4395 * sysdeps/htl/pt-rwlockattr-setpshared.c
4396 (pthread_rwlockattr_setpshared): Likewise.
4397 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4398 (pthread_mutexattr_setpshared): Likewise.
4399
2ce09e01
JM
44002019-01-02 Joseph Myers <joseph@codesourcery.com>
4401
acb55dcb
JM
4402 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4403 constants to match with Linux 4.20.
4404
2ce09e01
JM
4405 * sysdeps/mips/mips32/libm-test-ulps: Update.
4406 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4407
fe20bb1d
AJ
44082019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4409
4410 [BZ #24034]
4411 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4412 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4413 than __typeof (...) for the a_ptr variable.
4414
2d9837c1
GG
44152019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4416
4417 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4418 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4419 * libio/Makefile (tests): Add tst-sprintf-ub and
4420 tst-sprintf-chk-ub.
4421 (CFLAGS-tst-sprintf-ub.c): New variable.
4422 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4423 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4424 destination buffer and check for overflows in fortified mode.
4425 * libio/libioP.h (PRINTF_CHK): New macro.
4426 * libio/tst-sprintf-chk-ub.c: New file.
4427 * libio/tst-sprintf-ub.c: Likewise.
4428
d5c6df0b 44292019-01-02 Florian Weimer <fweimer@redhat.com>
8c1aafc1
FW
4430
4431 [BZ #24018]
4432 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4433 failure.
4434
66081e38
FW
44352019-01-02 Florian Weimer <fweimer@redhat.com>
4436
4437 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4438
04277e02
JM
44392019-01-01 Joseph Myers <joseph@codesourcery.com>
4440
6ef3d225
JM
4441 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4442 macro.
4443
e3d4e292
JM
4444 * sysdeps/unix/sysv/linux/netpacket/packet.h
4445 (PACKET_IGNORE_OUTGOING): New macro.
4446
f4507797
JM
4447 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4448 macro.
4449
47ad5e1a
JM
4450 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4451 version to 4.20.
4452 (riscv_flush_icache): New syscall.
4453
7628a1b0
JM
4454 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4455 trailing whitespace removed.
4456 * scripts/config.guess: Update to version 2019-01-01.
4457 * scripts/config.sub: Update to version 2019-01-01.
4458 * scripts/move-if-change: Update from gnulib.
4459
c9123888
JM
4460 * NEWS: Update copyright dates.
4461 * catgets/gencat.c (print_version): Likewise.
4462 * csu/version.c (banner): Likewise.
4463 * debug/catchsegv.sh: Likewise.
4464 * debug/pcprofiledump.c (print_version): Likewise.
4465 * debug/xtrace.sh (do_version): Likewise.
4466 * elf/ldconfig.c (print_version): Likewise.
4467 * elf/ldd.bash.in: Likewise.
4468 * elf/pldd.c (print_version): Likewise.
4469 * elf/sotruss.sh: Likewise.
4470 * elf/sprof.c (print_version): Likewise.
4471 * iconv/iconv_prog.c (print_version): Likewise.
4472 * iconv/iconvconfig.c (print_version): Likewise.
4473 * locale/programs/locale.c (print_version): Likewise.
4474 * locale/programs/localedef.c (print_version): Likewise.
4475 * login/programs/pt_chown.c (print_version): Likewise.
4476 * malloc/memusage.sh (do_version): Likewise.
4477 * malloc/memusagestat.c (print_version): Likewise.
4478 * malloc/mtrace.pl: Likewise.
4479 * manual/libc.texinfo: Likewise.
4480 * nptl/version.c (banner): Likewise.
4481 * nscd/nscd.c (print_version): Likewise.
4482 * nss/getent.c (print_version): Likewise.
4483 * nss/makedb.c (print_version): Likewise.
4484 * posix/getconf.c (main): Likewise.
4485 * scripts/test-installation.pl: Likewise.
4486 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4487
04277e02
JM
4488 * All files with FSF copyright notices: Update copyright dates
4489 using scripts/update-copyrights.
4490 * locale/programs/charmap-kw.h: Regenerated.
4491 * locale/programs/locfile-kw.h: Likewise.
4492
e740e5b1
JM
44932018-12-31 Joseph Myers <joseph@codesourcery.com>
4494
4495 * timezone/zdump.c: Update from tzcode 2018i.
4496 * timezone/zic.c: Likewise.
4497
9b7f98b3
PE
44982018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4499
4500 regex: improve Gnulib port to AIX
4501 From the glibc point of view, this removes duplicate macro
4502 definitions and is obviously safe.
4503 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4504 * posix/regex_internal.h:
4505 (__attribute__, __attribute_warn_unused_result__):
4506 Remove; already defined elsewhere.
4507
b50dd3bc
FW
45082018-12-31 Florian Weimer <fw@deneb.enyo.de>
4509
4510 [BZ #24027]
4511 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4512 copying operation. (ncopies had the wrong type, resulting in an
4513 integer wraparound and too few elements being copied.)
4514
0b9c8490
L
45152018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4516
4517 [BZ #24022]
4518 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4519 <asm/syscalls.h> exists with __has_include__ before including it.
4520
01047fa6
JM
45212018-12-31 Joseph Myers <joseph@codesourcery.com>
4522
4523 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4524 version to 4.20.
4525
6b5c8607 45262018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
065957a3
JW
4527
4528 * hurd/lookup-retry: Include <unistd.h>.
4529 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4530 Release it on return. Handle "pid" magical lookup retry.
4531
989182c4
RL
45322018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4533
4534 [BZ #10496]
4535 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4536 (t_fmt_ampm): Likewise.
4537 * localedata/locales/aa_ER (t_fmt): Likewise.
4538 (t_fmt_ampm): Likewise.
4539 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4540 (t_fmt_ampm): Likewise.
4541 * localedata/locales/aa_ET (t_fmt): Likewise.
4542 (t_fmt_ampm): Likewise.
4543 * localedata/locales/am_ET (t_fmt): Likewise.
4544 (t_fmt_ampm): Likewise.
4545 * localedata/locales/byn_ER (t_fmt): Likewise.
4546 (t_fmt_ampm): Likewise.
4547 * localedata/locales/om_ET (t_fmt): Likewise.
4548 (t_fmt_ampm): Likewise.
4549 * localedata/locales/sid_ET (t_fmt): Likewise.
4550 (t_fmt_ampm): Likewise.
4551 * localedata/locales/so_DJ (t_fmt): Likewise.
4552 (t_fmt_ampm): Likewise.
4553 * localedata/locales/so_ET (t_fmt): Likewise.
4554 (t_fmt_ampm): Likewise.
4555 * localedata/locales/so_SO (t_fmt): Likewise.
4556 (t_fmt_ampm): Likewise.
4557 * localedata/locales/ti_ER (t_fmt): Likewise.
4558 (t_fmt_ampm): Likewise.
4559 * localedata/locales/ti_ET (t_fmt): Likewise.
4560 (t_fmt_ampm): Likewise.
4561 * localedata/locales/tig_ER (t_fmt): Likewise.
4562 (t_fmt_ampm): Likewise.
4563 * localedata/locales/wal_ET (t_fmt): Likewise.
4564 (t_fmt_ampm): Likewise.
4565
4566 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4567 * localedata/locales/ar_IN (t_fmt): Likewise.
4568 * localedata/locales/bhb_IN (t_fmt): Likewise.
4569 * localedata/locales/bho_IN (t_fmt): Likewise.
4570 * localedata/locales/bi_VU (t_fmt): Likewise.
4571 * localedata/locales/bn_BD (t_fmt): Likewise.
4572 * localedata/locales/bn_IN (t_fmt): Likewise.
4573 * localedata/locales/brx_IN (t_fmt): Likewise.
4574 * localedata/locales/doi_IN (t_fmt): Likewise.
4575 * localedata/locales/en_HK (t_fmt): Likewise.
4576 (t_fmt_ampm): Likewise.
4577 * localedata/locales/en_IN (t_fmt): Likewise.
4578 * localedata/locales/en_PH (t_fmt): Likewise.
4579 * localedata/locales/gu_IN (t_fmt): Likewise.
4580 * localedata/locales/hi_IN (t_fmt): Likewise.
4581 * localedata/locales/hif_FJ (t_fmt): Likewise.
4582 * localedata/locales/hne_IN (t_fmt): Likewise.
4583 * localedata/locales/kn_IN (t_fmt): Likewise.
4584 * localedata/locales/kok_IN (t_fmt): Likewise.
4585 * localedata/locales/ks_IN (t_fmt): Likewise.
4586 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4587 * localedata/locales/mag_IN (t_fmt): Likewise.
4588 * localedata/locales/mai_IN (t_fmt): Likewise.
4589 * localedata/locales/mjw_IN (t_fmt): Likewise.
4590 * localedata/locales/ml_IN (t_fmt): Likewise.
4591 * localedata/locales/mni_IN (t_fmt): Likewise.
4592 * localedata/locales/mr_IN (t_fmt): Likewise.
4593 * localedata/locales/ms_MY (t_fmt): Likewise.
4594 * localedata/locales/pa_IN (t_fmt): Likewise.
4595 * localedata/locales/raj_IN (t_fmt): Likewise.
4596 * localedata/locales/sa_IN (t_fmt): Likewise.
4597 * localedata/locales/sat_IN (t_fmt): Likewise.
4598 * localedata/locales/sd_IN (t_fmt): Likewise.
4599 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4600 * localedata/locales/tcy_IN (t_fmt): Likewise.
4601 * localedata/locales/the_NP (t_fmt): Likewise.
4602 * localedata/locales/to_TO (t_fmt): Likewise.
4603 * localedata/locales/ur_IN (t_fmt): Likewise.
4604
4605 * localedata/locales/hif_FJ (d_t_fmt): Set to
4606 "%A %d %b %Y %I:%M:%S %p".
4607 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4608
4609 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4610 * localedata/locales/ar_BH (t_fmt): Likewise.
4611 * localedata/locales/ar_DZ (t_fmt): Likewise.
4612 * localedata/locales/ar_EG (t_fmt): Likewise.
4613 * localedata/locales/ar_IQ (t_fmt): Likewise.
4614 * localedata/locales/ar_JO (t_fmt): Likewise.
4615 * localedata/locales/ar_KW (t_fmt): Likewise.
4616 * localedata/locales/ar_LB (t_fmt): Likewise.
4617 * localedata/locales/ar_LY (t_fmt): Likewise.
4618 * localedata/locales/ar_OM (t_fmt): Likewise.
4619 * localedata/locales/ar_QA (t_fmt): Likewise.
4620 * localedata/locales/ar_SD (t_fmt): Likewise.
4621 * localedata/locales/ar_SS (t_fmt): Likewise.
4622 * localedata/locales/ar_SY (t_fmt): Likewise.
4623 * localedata/locales/ar_TN (t_fmt): Likewise.
4624 * localedata/locales/ar_YE (t_fmt): Likewise.
4625
4626 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4627 (t_fmt_ampm): Likewise.
4628 * localedata/locales/gez_ET (t_fmt): Likewise.
4629 (t_fmt_ampm): Likewise.
4630
4631 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4632 (t_fmt_ampm): Likewise.
4633 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4634
4635 * localedata/locales/zh_HK (t_fmt):
4636 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4637
4638 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4639 because this locale does not use the 12-hour clock.
4640 (t_fmt): Set to "%Z %H:%M:%S".
4641 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4642
4643 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4644 because this locale does not use the 12-hour clock.
4645 (t_fmt): Set to "%H:%M:%S %Z".
4646 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4647
4648 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4649 because this locale does not use the 12-hour clock.
4650 (t_fmt): Set to "%T".
4651 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4652 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4653
4654 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4655 because this locale does not use the 12-hour clock.
4656 (t_fmt): Set to "%H:%M:%S %Z".
4657 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4658
4659 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4660 because this locale does not use the 12-hour clock.
4661 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4662 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4663
27841a7d
RL
46642018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4665
4666 [BZ #10496]
4667 [BZ #23724]
4668 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4669 (t_fmt_ampm): Likewise.
4670 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4671 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4672 (d_fmt): Set to "%-d.%-m.%y".
4673
0253580a
AZ
46742018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4675
4676 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4677 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4678 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4679 Likewise.
4680 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4681 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4682 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4683 function.
4684 * support/blob_repeat.c (check_mul_overflow_size_t,
4685 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4686
09104e5b
AJ
46872018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4688
4689 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4690
c0feb731
PE
46912018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4692
4693 regex: simplify Gnulib port
4694 This simplifies the code, by removing stuff intended for porting
4695 to Gnulib but no longer needed there.
4696 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4697 uses of libc_hidden_def, weak_alias.
4698 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4699 _Restrict_ except for public-facing headers.
4700 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4701 Remove; already defined elsewhere.
4702 * posix/regex.c, posix/regex_internal.h:
4703 Use __GNUC_PREREQ instead of rolling our own.
4704 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4705
5289f1f5
WD
47062018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4707
4708 * benchtests/bench-strlen.c (generic_strlen): New function.
6b5c8607 4709 (memchr_strlen): New function.
5289f1f5 4710
ba4b8fab
L
47112018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4712
4713 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4714 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4715 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4716
9412979a
L
47172018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4718
4719 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4720
8700a785
L
47212018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4722
4723 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4724 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4725 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4726 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4727 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4728 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4729 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4730
57b3ff8e
JM
47312018-12-21 Joseph Myers <joseph@codesourcery.com>
4732
4733 [BZ #24023]
4734 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4735 PLT reference in libc.so.
4736 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4737 _Q_lltoq and _Q_qtod PLT references in libc.so.
4738
90d3320d
WD
47392018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4740
4741 * benchtests/bench-memchr.c: Cleanup defines.
4742 * benchtests/bench-memcmp.c: Likewise.
4743 * benchtests/bench-memset.c: Likewise.
4744 * benchtests/bench-memset-large.c: Likewise.
4745 * benchtests/bench-memset-walk.c: Likewise.
4746 * benchtests/bench-stpcpy.c: Likewise.
4747 * benchtests/bench-stpncpy.c: Likewise.
4748 * benchtests/bench-strcat.c: Likewise.
4749 * benchtests/bench-strchr.c: Likewise.
4750 * benchtests/bench-strcmp.c: Likewise.
4751 * benchtests/bench-strcpy.c: Likewise.
4752 * benchtests/bench-strcspn.c: Likewise.
4753 * benchtests/bench-string.h: Likewise.
4754 * benchtests/bench-strlen.c: Likewise.
4755 * benchtests/bench-strncat.c: Likewise.
4756 * benchtests/bench-strncmp.c: Likewise.
4757 * benchtests/bench-strncpy.c: Likewise.
4758 * benchtests/bench-strnlen.c: Likewise.
4759 * benchtests/bench-strpbrk.c: Likewise.
4760 * benchtests/bench-strrchr.c: Likewise.
4761 * benchtests/bench-strspn.c: Likewise.
4762
192963be
JM
47632018-12-21 Joseph Myers <joseph@codesourcery.com>
4764
5d025ea6
JM
4765 * stdlib/longlong.h: Update from GCC.
4766
192963be
JM
4767 [BZ #23993]
4768 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4769 * configure: Regenerated.
4770 * manual/install.texi (Tools for Compilation): Update minimum GCC
4771 version.
4772 * INSTALL: Regenerated.
4773
6b5c8607 47742018-12-21 Istvan Kurucsai <pistukem@gmail.com>
c0e82f11
IK
4775
4776 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4777
6b5c8607 47782018-12-20 Istvan Kurucsai <pistukem@gmail.com>
ebe544bf
IK
4779
4780 * malloc/malloc.c (mremap_chunk): Additional checks.
4781
5f72b005
MH
47822018-12-21 Mao Han <han_mao@c-sky.com>
4783
4784 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4785 * scripts/build-many-glibcs.py: Add C-SKY targets.
4786 * sysdeps/csky/Implies: New file.
4787 * sysdeps/csky/Makefile: Likewise.
4788 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4789 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4790 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4791 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4792 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4793 * sysdeps/csky/abiv2/memmove.S: Likewise.
4794 * sysdeps/csky/abiv2/memset.S: Likewise.
4795 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4796 * sysdeps/csky/abiv2/start.S: Likewise.
4797 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4798 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4799 * sysdeps/csky/abiv2/strlen.S: Likewise.
4800 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4801 * sysdeps/csky/abort-instr.h: Likewise.
4802 * sysdeps/csky/atomic-machine.h: Likewise.
4803 * sysdeps/csky/bits/endian.h: Likewise.
4804 * sysdeps/csky/bits/fenv.h: Likewise.
4805 * sysdeps/csky/bits/link.h: Likewise.
4806 * sysdeps/csky/bits/setjmp.h: Likewise.
4807 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4808 * sysdeps/csky/bsd-setjmp.S: Likewise.
4809 * sysdeps/csky/configure: Likewise.
4810 * sysdeps/csky/configure.ac: Likewise.
4811 * sysdeps/csky/dl-machine.h: Likewise.
4812 * sysdeps/csky/dl-procinfo.c: Likewise.
4813 * sysdeps/csky/dl-procinfo.h: Likewise.
4814 * sysdeps/csky/dl-sysdep.h: Likewise.
4815 * sysdeps/csky/dl-tls.h: Likewise.
4816 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4817 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4818 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4819 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4820 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4821 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4822 * sysdeps/csky/fpu/fegetround.c: Likewise.
4823 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4824 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4825 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4826 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4827 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4828 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4829 * sysdeps/csky/fpu/fesetround.c: Likewise.
4830 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4831 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4832 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4833 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4834 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4835 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4836 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4837 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4838 * sysdeps/csky/fpu_control.h: Likewise.
4839 * sysdeps/csky/gccframe.h: Likewise.
4840 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4841 * sysdeps/csky/ldsodefs.h: Likewise.
4842 * sysdeps/csky/libc-tls.c: Likewise.
4843 * sysdeps/csky/linkmap.h: Likewise.
4844 * sysdeps/csky/machine-gmon.h: Likewise.
4845 * sysdeps/csky/memusage.h: Likewise.
4846 * sysdeps/csky/nofpu/Implies: Likewise.
4847 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4848 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4849 * sysdeps/csky/nptl/Makefile: Likewise.
4850 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4851 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4852 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4853 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4854 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4855 * sysdeps/csky/nptl/tls.h: Likewise.
4856 * sysdeps/csky/preconfigure: Likewise.
4857 * sysdeps/csky/sfp-machine.h: Likewise.
4858 * sysdeps/csky/sotruss-lib.c: Likewise.
4859 * sysdeps/csky/stackinfo.h: Likewise.
4860 * sysdeps/csky/sysdep.h: Likewise.
4861 * sysdeps/csky/tininess.h: Likewise.
4862 * sysdeps/csky/tst-audit.h: Likewise.
4863 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4864 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4865 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4866 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4867 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4868 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4869 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4870 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4871 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4872 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4873 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4874 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4875 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4876 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4877 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4878 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4879 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4880 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4881 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4882 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4883 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4884 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4885 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4886 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4887 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4888 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4889 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4890 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4891 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4892 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4893 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4894 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4895 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4896 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4897 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4898 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4899 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4900 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4901 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4902 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4903 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4904 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4905 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4906 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4907
6b5c8607 49082018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
ac253355
AA
4909
4910 * include/time.h (__difftime64): Add.
4911 * time/difftime.c (subtract): convert to 64-bit time.
4912 * time/difftime.c (__difftime64): Add.
4913 * time/difftime.c (__difftime): Wrap around __difftime64.
4914
ab416931
L
49152018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4916
4917 * manual/examples/add.c: Remove redundant "if not".
4918 * manual/examples/argp-ex1.c: Likewise.
4919 * manual/examples/argp-ex2.c: Likewise.
4920 * manual/examples/argp-ex3.c: Likewise.
4921 * manual/examples/argp-ex4.c: Likewise.
4922 * manual/examples/atexit.c: Likewise.
4923 * manual/examples/db.c: Likewise.
4924 * manual/examples/dir.c: Likewise.
4925 * manual/examples/dir2.c: Likewise.
4926 * manual/examples/execinfo.c: Likewise.
4927 * manual/examples/filecli.c: Likewise.
4928 * manual/examples/filesrv.c: Likewise.
4929 * manual/examples/fmtmsgexpl.c: Likewise.
4930 * manual/examples/genpass.c: Likewise.
4931 * manual/examples/inetcli.c: Likewise.
4932 * manual/examples/inetsrv.c: Likewise.
4933 * manual/examples/isockad.c: Likewise.
4934 * manual/examples/longopt.c: Likewise.
4935 * manual/examples/memopen.c: Likewise.
4936 * manual/examples/memstrm.c: Likewise.
4937 * manual/examples/mkdirent.c: Likewise.
4938 * manual/examples/mkfsock.c: Likewise.
4939 * manual/examples/mkisock.c: Likewise.
4940 * manual/examples/mygetpass.c: Likewise.
4941 * manual/examples/pipe.c: Likewise.
4942 * manual/examples/popen.c: Likewise.
4943 * manual/examples/rprintf.c: Likewise.
4944 * manual/examples/search.c: Likewise.
4945 * manual/examples/select.c: Likewise.
4946 * manual/examples/setjmp.c: Likewise.
4947 * manual/examples/sigh1.c: Likewise.
4948 * manual/examples/sigusr.c: Likewise.
4949 * manual/examples/stpcpy.c: Likewise.
4950 * manual/examples/strdupa.c: Likewise.
4951 * manual/examples/strftim.c: Likewise.
4952 * manual/examples/subopt.c: Likewise.
4953 * manual/examples/swapcontext.c: Likewise.
4954 * manual/examples/termios.c: Likewise.
4955 * manual/examples/testopt.c: Likewise.
4956 * manual/examples/testpass.c: Likewise.
4957 * manual/examples/timeval_subtract.c: Likewise.
4958
515f463f
JM
49592018-12-19 Joseph Myers <joseph@codesourcery.com>
4960
da75c1b1
JM
4961 * sysdeps/x86/fpu/math_private.h: New file.
4962 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
4963
515f463f
JM
4964 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
4965 definition.
4966 (cosh): Likewise.
4967 (tanh): Likewise.
4968
1616d034
TMQMF
49692018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
4970
4971 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
4972 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
4973 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
4974 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
4975 fields.
4976 (_dl_show_auxv): Give a special treatment to
4977 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
4978 and AT_L3_CACHEGEOMETRY.
4979 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
4980 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
4981 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
4982 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
4983
61595e3d
AS
49842018-12-19 Andreas Schwab <schwab@suse.de>
4985
4986 * nscd/connections.c (check_use): Don't abort on invalid len.
4987
bbb7dc84
ST
49882018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
4989
4990 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
4991 values in the 64bit value cases.
4992
6b5c8607 49932018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
64c2277d 4994
c4c2836a
AA
4995 * include/time.h
4996 (__ctime64_r): Add.
4997 * time/ctime_r.c
4998 (__ctime64_r): Add.
4999 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5000
7755e504
AA
5001 * include/time.h
5002 (__ctime64): Add.
5003 * time/gmtime.c
5004 (__ctime64): Add.
5005 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5006
a1d346ce
AA
5007 * include/time.h
5008 (__gmtime64_r): Add.
5009 * time/gmtime.c
5010 (__gmtime64_r): Add.
5011 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5012
131db8b0
AA
5013 * include/time.h
5014 (__gmtime64): Add.
5015 * time/gmtime.c
5016 (__gmtime64): Add.
5017 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5018
64c2277d
AA
5019 * include/time.h
5020 (__localtime64_r): Add.
5021 * time/localtime.c
5022 (__localtime64_r): Add.
5023 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5024
56b98bf1
AZ
50252018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5026
64dd7a16
AZ
5027 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5028 kernel_sigction definition.
5029
8b1d5da5
AZ
5030 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5031
f9eabb19
AZ
5032 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5033
56b98bf1
AZ
5034 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5035 __syscall_rt_sigaction.
5036 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5037 (kernel_sigaction): Use Linux generic defintion.
5038 (STUB): Define.
5039 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5040 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5041 (__syscall_rt_sigaction): Remove implementation.
5042 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5043 hidden.
5044 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5045 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5046 INTERNAL_SYSCALL): Remove definitions.
5047 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5048 action and signal set size.
5049 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5050 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5051
43a45c2d
AZ
50522018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5053 James Clarke <jrtc27@jrtc27.com>
5054
dfa6216f 5055 [BZ #23967]
43a45c2d
AZ
5056 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5057 Define if SA_RESTORER is defined.
5058 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5059 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5060 already defined.
5061 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5062 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5063 definitions.
5064 (HAS_SA_RESTORER): Define.
5065 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5066 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5067 (HAS_SA_RESTORER): Define.
5068 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5069 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5070 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5071 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5072 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5073
646ce7e0
JM
50742018-12-18 Joseph Myers <joseph@codesourcery.com>
5075
5076 * sysdeps/unix/sysv/linux/kernel-features.h
5077 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5078 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5079 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5080 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5081 (__ASSUME_ST_INO_64_BIT): Likewise.
5082 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5083 <kernel-features.h>.
5084 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5085 Remove conditional code.
5086 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5087 <kernel-features.h>.
5088 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5089 Remove conditional code.
5090 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5091 <kernel-features.h>.
5092 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5093 Remove conditional code.
5094 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5095 <kernel-features.h>.
5096 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5097 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5098
80190d2b
SL
50992018-12-18 Stefan Liebler <stli@linux.ibm.com>
5100
5101 * sysdeps/s390/multiarch/ifunc-resolve.h
5102 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5103 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5104 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5105 Delete macro definition.
5106 (s390_libc_ifunc_init): Rename to
5107 s390_libc_ifunc_expr_stfle_init.
5108 * sysdeps/s390/bzero: Use
5109 s390_libc_ifunc_expr_stfle_init instead of
5110 s390_libc_ifunc_init.
5111 * sysdeps/s390/memcmp.c: Likewise.
5112 * sysdeps/s390/memcpy.c: Likewise.
5113 * sysdeps/s390/mempcpy.c: Likewise.
5114 * sysdeps/s390/memset.c: Likewise.
5115
12f0dcb8
SL
51162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5117
5118 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5119 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5120
25654a8c
SL
51212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5122
5123 * sysdeps/s390/multiarch/Makefile
5124 (sysdep_routines): Remove wmemcmp variants.
5125 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5126 * sysdeps/s390/multiarch/ifunc-impl-list.c
5127 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5128 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5129 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5130 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5131 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5132 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5133 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5134 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5135
d2a7436c
SL
51362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5137
5138 * sysdeps/s390/multiarch/Makefile
5139 (sysdep_routines): Remove wmemset variants.
5140 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5141 * sysdeps/s390/multiarch/ifunc-impl-list.c
5142 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5143 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5144 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5145 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5146 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5147 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5148 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5149 * sysdeps/s390/ifunc-wmemset.h: New file.
5150
c62534ae
SL
51512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5152
5153 * sysdeps/s390/multiarch/Makefile
5154 (sysdep_routines): Remove wmemchr variants.
5155 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5156 * sysdeps/s390/multiarch/ifunc-impl-list.c
5157 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5158 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5159 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5160 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5161 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5162 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5163 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5164 * sysdeps/s390/ifunc-wmemchr.h: New file.
5165
79b44cf6
SL
51662018-12-18 Stefan Liebler <stli@linux.ibm.com>
5167
5168 * sysdeps/s390/multiarch/Makefile
5169 (sysdep_routines): Remove wcscspn variants.
5170 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5171 * sysdeps/s390/multiarch/ifunc-impl-list.c
5172 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5173 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5174 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5175 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5176 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5177 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5178 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5179 * sysdeps/s390/ifunc-wcscspn.h: New file.
5180
8e87c1f6
SL
51812018-12-18 Stefan Liebler <stli@linux.ibm.com>
5182
5183 * sysdeps/s390/multiarch/Makefile
5184 (sysdep_routines): Remove wcspbrk variants.
5185 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5186 * sysdeps/s390/multiarch/ifunc-impl-list.c
5187 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5188 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5189 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5190 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5191 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5192 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5193 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5194 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5195
8507e831
SL
51962018-12-18 Stefan Liebler <stli@linux.ibm.com>
5197
5198 * sysdeps/s390/multiarch/Makefile
5199 (sysdep_routines): Remove wcsspn variants.
5200 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5201 * sysdeps/s390/multiarch/ifunc-impl-list.c
5202 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5203 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5204 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5205 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5206 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5207 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5208 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5209 * sysdeps/s390/ifunc-wcsspn.h: New file.
5210
4753713a
SL
52112018-12-18 Stefan Liebler <stli@linux.ibm.com>
5212
5213 * sysdeps/s390/multiarch/Makefile
5214 (sysdep_routines): Remove wcsrchr variants.
5215 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5216 * sysdeps/s390/multiarch/ifunc-impl-list.c
5217 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5218 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5219 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5220 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5221 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5222 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5223 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5224 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5225
c09c1b6f
SL
52262018-12-18 Stefan Liebler <stli@linux.ibm.com>
5227
5228 * sysdeps/s390/multiarch/Makefile
5229 (sysdep_routines): Remove wcschrnul variants.
5230 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5231 * sysdeps/s390/multiarch/ifunc-impl-list.c
5232 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5233 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5234 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5235 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5236 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5237 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5238 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5239 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5240
cf3ccc31
SL
52412018-12-18 Stefan Liebler <stli@linux.ibm.com>
5242
5243 * sysdeps/s390/multiarch/Makefile
5244 (sysdep_routines): Remove wcschr variants.
5245 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5246 * sysdeps/s390/multiarch/ifunc-impl-list.c
5247 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5248 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5249 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5250 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5251 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5252 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5253 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5254 * sysdeps/s390/ifunc-wcschr.h: New file.
5255
e9873e1d
SL
52562018-12-18 Stefan Liebler <stli@linux.ibm.com>
5257
5258 * sysdeps/s390/multiarch/Makefile
5259 (sysdep_routines): Remove wcsncmp variants.
5260 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5261 * sysdeps/s390/multiarch/ifunc-impl-list.c
5262 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5263 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5264 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5265 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5266 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5267 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5268 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5269 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5270
3459e23d
SL
52712018-12-18 Stefan Liebler <stli@linux.ibm.com>
5272
5273 * sysdeps/s390/multiarch/Makefile
5274 (sysdep_routines): Remove wcscmp variants.
5275 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5276 * sysdeps/s390/multiarch/ifunc-impl-list.c
5277 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5278 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5279 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5280 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5281 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5282 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5283 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5284 * sysdeps/s390/ifunc-wcscmp.h: New file.
5285
814a76e1
SL
52862018-12-18 Stefan Liebler <stli@linux.ibm.com>
5287
5288 * sysdeps/s390/multiarch/Makefile
5289 (sysdep_routines): Remove wcsncat variants.
5290 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5291 * sysdeps/s390/multiarch/ifunc-impl-list.c
5292 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5293 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5294 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5295 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5296 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5297 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5298 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5299 * sysdeps/s390/ifunc-wcsncat.h: New file.
5300
3389cae4
SL
53012018-12-18 Stefan Liebler <stli@linux.ibm.com>
5302
5303 * sysdeps/s390/multiarch/Makefile
5304 (sysdep_routines): Remove wcscat variants.
5305 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5306 * sysdeps/s390/multiarch/ifunc-impl-list.c
5307 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5308 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5309 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5310 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5311 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5312 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5313 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5314 * sysdeps/s390/ifunc-wcscat.h: New file.
5315
c3081bcb
SL
53162018-12-18 Stefan Liebler <stli@linux.ibm.com>
5317
5318 * sysdeps/s390/multiarch/Makefile
5319 (sysdep_routines): Remove wcpncpy variants.
5320 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5321 * sysdeps/s390/multiarch/ifunc-impl-list.c
5322 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5323 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5324 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5325 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5326 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5327 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5328 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5329 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5330
0966dd86
SL
53312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5332
5333 * sysdeps/s390/multiarch/Makefile
5334 (sysdep_routines): Remove wcsncpy variants.
5335 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5336 * sysdeps/s390/multiarch/ifunc-impl-list.c
5337 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5338 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5339 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5340 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5341 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5342 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5343 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5344 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5345
0582e428
SL
53462018-12-18 Stefan Liebler <stli@linux.ibm.com>
5347
5348 * sysdeps/s390/multiarch/Makefile
5349 (sysdep_routines): Remove wcpcpy variants.
5350 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5351 * sysdeps/s390/multiarch/ifunc-impl-list.c
5352 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5353 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5354 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5355 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5356 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5357 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5358 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5359 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5360
804f2e5c
SL
53612018-12-18 Stefan Liebler <stli@linux.ibm.com>
5362
5363 * sysdeps/s390/multiarch/Makefile
5364 (sysdep_routines): Remove wcscpy variants.
5365 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5366 * sysdeps/s390/multiarch/ifunc-impl-list.c
5367 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5368 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5369 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5370 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5371 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5372 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5373 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5374 * sysdeps/s390/ifunc-wcscpy.h: New file.
5375
c7e7cd26
SL
53762018-12-18 Stefan Liebler <stli@linux.ibm.com>
5377
5378 * sysdeps/s390/multiarch/Makefile
5379 (sysdep_routines): Remove wcsnlen variants.
5380 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5381 * sysdeps/s390/multiarch/ifunc-impl-list.c
5382 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5383 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5384 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5385 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5386 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5387 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5388 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5389 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5390
2e02d0b7
SL
53912018-12-18 Stefan Liebler <stli@linux.ibm.com>
5392
5393 * sysdeps/s390/multiarch/Makefile
5394 (sysdep_routines): Remove wcslen variants.
5395 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5396 * sysdeps/s390/multiarch/ifunc-impl-list.c
5397 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5398 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5399 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5400 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5401 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5402 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5403 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5404 * sysdeps/s390/ifunc-wcslen.h: New file.
5405
89bfcbdf
SL
54062018-12-18 Stefan Liebler <stli@linux.ibm.com>
5407
5408 * sysdeps/s390/multiarch/Makefile
5409 (sysdep_routines): Remove memrchr variants.
5410 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5411 * sysdeps/s390/multiarch/ifunc-impl-list.c
5412 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5413 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5414 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5415 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5416 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5417 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5418 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5419 * sysdeps/s390/ifunc-memrchr.h: New file.
5420
196655ba
SL
54212018-12-18 Stefan Liebler <stli@linux.ibm.com>
5422
5423 * sysdeps/s390/multiarch/Makefile
5424 (sysdep_routines): Remove memccpy variants.
5425 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5426 * sysdeps/s390/multiarch/ifunc-impl-list.c
5427 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5428 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5429 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5430 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5431 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5432 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5433 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5434 * sysdeps/s390/ifunc-memccpy.h: New file.
5435
4c7b3cec
SL
54362018-12-18 Stefan Liebler <stli@linux.ibm.com>
5437
5438 * sysdeps/s390/multiarch/Makefile
5439 (sysdep_routines): Remove rawmemchr variants.
5440 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5441 * sysdeps/s390/multiarch/ifunc-impl-list.c
5442 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5443 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5444 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5445 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5446 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5447 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5448 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5449 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5450
581a051c
SL
54512018-12-18 Stefan Liebler <stli@linux.ibm.com>
5452
5453 * sysdeps/s390/multiarch/Makefile
5454 (sysdep_routines): Remove memchr variants.
5455 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5456 * sysdeps/s390/multiarch/ifunc-impl-list.c
5457 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5458 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5459 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5460 * sysdeps/s390/multiarch/memchr.c: Move to ...
5461 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5462 * sysdeps/s390/ifunc-memchr.h: New file.
5463 * sysdeps/s390/s390-64/memchr.S: Move to ...
5464 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5465 for 31/64bit and ifunc handling.
5466 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5467 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5468 * sysdeps/s390/s390-32/memchr.S: Likewise.
5469
5d2ec20a
SL
54702018-12-18 Stefan Liebler <stli@linux.ibm.com>
5471
5472 * sysdeps/s390/multiarch/Makefile
5473 (sysdep_routines): Remove strcspn variants.
5474 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5475 * sysdeps/s390/multiarch/ifunc-impl-list.c
5476 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5477 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5478 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5479 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5480 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5481 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5482 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5483 * sysdeps/s390/ifunc-strcspn.h: New file.
5484
572cca93
SL
54852018-12-18 Stefan Liebler <stli@linux.ibm.com>
5486
5487 * sysdeps/s390/multiarch/Makefile
5488 (sysdep_routines): Remove strpbrk variants.
5489 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5490 * sysdeps/s390/multiarch/ifunc-impl-list.c
5491 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5492 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5493 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5494 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5495 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5496 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5497 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5498 * sysdeps/s390/ifunc-strpbrk.h: New file.
5499
483fc569
SL
55002018-12-18 Stefan Liebler <stli@linux.ibm.com>
5501
5502 * sysdeps/s390/multiarch/Makefile
5503 (sysdep_routines): Remove strspn variants.
5504 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5505 * sysdeps/s390/multiarch/ifunc-impl-list.c
5506 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5507 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5508 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5509 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5510 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5511 * sysdeps/s390/multiarch/strspn.c: Move to ...
5512 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5513 * sysdeps/s390/ifunc-strspn.h: New file.
5514
26ea8760
SL
55152018-12-18 Stefan Liebler <stli@linux.ibm.com>
5516
5517 * sysdeps/s390/multiarch/Makefile
5518 (sysdep_routines): Remove strrchr variants.
5519 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5520 * sysdeps/s390/multiarch/ifunc-impl-list.c
5521 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5522 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5523 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5524 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5525 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5526 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5527 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5528 * sysdeps/s390/ifunc-strrchr.h: New file.
5529
a1361e65
SL
55302018-12-18 Stefan Liebler <stli@linux.ibm.com>
5531
5532 * sysdeps/s390/multiarch/Makefile
5533 (sysdep_routines): Remove strchrnul variants.
5534 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5535 * sysdeps/s390/multiarch/ifunc-impl-list.c
5536 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5537 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5538 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5539 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5540 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5541 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5542 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5543 * sysdeps/s390/ifunc-strchrnul.h: New file.
5544
32f12653
SL
55452018-12-18 Stefan Liebler <stli@linux.ibm.com>
5546
5547 * sysdeps/s390/multiarch/Makefile
5548 (sysdep_routines): Remove strchr variants.
5549 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5550 * sysdeps/s390/multiarch/ifunc-impl-list.c
5551 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5552 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5553 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5554 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5555 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5556 * sysdeps/s390/multiarch/strchr.c: Move to ...
5557 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5558 * sysdeps/s390/ifunc-strchr.h: New file.
5559
316b8842
SL
55602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5561
5562 * sysdeps/s390/multiarch/Makefile
5563 (sysdep_routines): Remove strncmp variants.
5564 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5565 * sysdeps/s390/multiarch/ifunc-impl-list.c
5566 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5567 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5568 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5569 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5570 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5571 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5572 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5573 * sysdeps/s390/ifunc-strncmp.h: New file.
5574
cdab85fe
SL
55752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5576
5577 * sysdeps/s390/multiarch/Makefile
5578 (sysdep_routines): Remove strcmp variants.
5579 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5580 * sysdeps/s390/multiarch/ifunc-impl-list.c
5581 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5582 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5583 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5584 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5585 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5586 * sysdeps/s390/ifunc-strcmp.h: New file.
5587 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5588 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5589 for 31/64bit and ifunc handling.
5590 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5591 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5592 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5593
b9353351
SL
55942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5595
5596 * sysdeps/s390/multiarch/Makefile
5597 (sysdep_routines): Remove strncat variants.
5598 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5599 * sysdeps/s390/multiarch/ifunc-impl-list.c
5600 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5601 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5602 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5603 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5604 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5605 * sysdeps/s390/multiarch/strncat.c: Move to ...
5606 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5607 * sysdeps/s390/ifunc-strncat.h: New file.
5608
8e5a0afb
SL
56092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5610
5611 * sysdeps/s390/multiarch/Makefile
5612 (sysdep_routines): Remove strcat variants.
5613 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5614 * sysdeps/s390/multiarch/ifunc-impl-list.c
5615 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5616 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5617 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5618 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5619 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5620 * sysdeps/s390/multiarch/strcat.c: Move to ...
5621 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5622 * sysdeps/s390/ifunc-strcat.h: New file.
5623
25218822
SL
56242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5625
5626 * sysdeps/s390/multiarch/Makefile
5627 (sysdep_routines): Remove stpncpy variants.
5628 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5629 * sysdeps/s390/multiarch/ifunc-impl-list.c
5630 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5631 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5632 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5633 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5634 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5635 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5636 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5637 * sysdeps/s390/ifunc-stpncpy.h: New file.
5638
d1bdbf38
SL
56392018-12-18 Stefan Liebler <stli@linux.ibm.com>
5640
5641 * sysdeps/s390/multiarch/Makefile
5642 (sysdep_routines): Remove strncpy variants.
5643 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5644 * sysdeps/s390/multiarch/ifunc-impl-list.c
5645 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5646 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5647 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5648 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5649 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5650 * sysdeps/s390/ifunc-strncpy.h: New file.
5651 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5652 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5653 and adjust ifunc handling.
5654 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5655 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5656 and adjust ifunc handling.
5657 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5658 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5659
97044931
SL
56602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5661
5662 * sysdeps/s390/multiarch/Makefile
5663 (sysdep_routines): Remove stpcpy variants.
5664 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5665 * sysdeps/s390/multiarch/ifunc-impl-list.c
5666 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5667 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5668 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5669 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5670 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5671 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5672 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5673 * sysdeps/s390/ifunc-stpcpy.h: New file.
5674
914a4e05
SL
56752018-12-18 Stefan Liebler <stli@linux.ibm.com>
5676
5677 * sysdeps/s390/multiarch/Makefile
5678 (sysdep_routines): Remove strcpy variants.
5679 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5680 * sysdeps/s390/multiarch/ifunc-impl-list.c
5681 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5682 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5683 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5684 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5685 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5686 * sysdeps/s390/ifunc-strcpy.h: New file.
5687 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5688 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5689 for 31/64bit and ifunc handling.
5690 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5691 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5692 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5693
de10e44d
SL
56942018-12-18 Stefan Liebler <stli@linux.ibm.com>
5695
5696 * sysdeps/s390/multiarch/Makefile
5697 (sysdep_routines): Remove strnlen variants.
5698 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5699 * sysdeps/s390/multiarch/ifunc-impl-list.c
5700 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5701 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5702 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5703 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5704 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5705 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5706 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5707 * sysdeps/s390/ifunc-strnlen.h: New file.
5708
ff3ca374
SL
57092018-12-18 Stefan Liebler <stli@linux.ibm.com>
5710
5711 * sysdeps/s390/multiarch/Makefile
5712 (sysdep_routines): Remove strlen variants.
5713 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5714 * sysdeps/s390/multiarch/ifunc-impl-list.c
5715 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5716 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5717 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5718 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5719 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5720 * sysdeps/s390/multiarch/strlen.c: Move to ...
5721 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5722 * sysdeps/s390/ifunc-strlen.h: New file.
5723
d2c4c403
SL
57242018-12-18 Stefan Liebler <stli@linux.ibm.com>
5725
5726 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5727 * sysdeps/s390/multiarch/ifunc-impl-list.c
5728 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5729 * sysdeps/s390/ifunc-memmem.h: New file.
5730 * sysdeps/s390/memmem.c: Likewise.
5731 * sysdeps/s390/memmem-c.c: Likewise.
5732 * sysdeps/s390/memmem-vx.c: Likewise.
5733
8c25dddd
SL
57342018-12-18 Stefan Liebler <stli@linux.ibm.com>
5735
5736 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5737 * sysdeps/s390/multiarch/ifunc-impl-list.c
5738 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5739 * sysdeps/s390/ifunc-strstr.h: New file.
5740 * sysdeps/s390/strstr.c: Likewise.
5741 * sysdeps/s390/strstr-c.c: Likewise.
5742 * sysdeps/s390/strstr-vx.c: Likewise.
5743
cdd927d9
SL
57442018-12-18 Stefan Liebler <stli@linux.ibm.com>
5745
5746 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5747 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5748 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5749 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5750 New defines.
5751 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5752 * sysdeps/s390/memmove-c.c: New file.
5753 * sysdeps/s390/memmove.c: Likewise.
5754 * sysdeps/s390/multiarch/ifunc-impl-list.c
5755 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5756
2ee1bc57
SL
57572018-12-18 Stefan Liebler <stli@linux.ibm.com>
5758
5759 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5760 * sysdeps/s390/configure.ac: Add check for z13 support.
5761 * sysdeps/s390/configure: Regenerated.
5762
d097d976
SL
57632018-12-18 Stefan Liebler <stli@linux.ibm.com>
5764
5765 * sysdeps/s390/memcopy.h: New file.
5766
e099aab0
SL
57672018-12-18 Stefan Liebler <stli@linux.ibm.com>
5768
5769 * sysdeps/s390/s390-32/bcopy.S: Remove.
5770 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5771
18eb862d
SL
57722018-12-18 Stefan Liebler <stli@linux.ibm.com>
5773
5774 * sysdeps/s390/ifunc-memcpy.h: New File.
5775 * sysdeps/s390/memcpy.S: Move to ...
5776 * sysdeps/s390/memcpy-z900.S ... here.
5777 Move implementations from memcpy-s390x.s to here.
5778 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5779 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5780 Remove memcpy/mempcpy variants.
5781 * sysdeps/s390/Makefile (sysdep_routines):
5782 Add memcpy/mempcpy variants.
5783 * sysdeps/s390/multiarch/ifunc-impl-list.c
5784 (__libc_ifunc_impl_list): Adjust ifunc variants for
5785 memcpy and mempcpy.
5786 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5787 to ...
5788 * sysdeps/s390/memcpy.c: ... here.
5789 Adjust ifunc variants for memcpy.
5790 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5791 * sysdeps/s390/mempcpy.c: ... here.
5792 Adjust ifunc variants for mempcpy.
5793 * sysdeps/s390/mempcpy.S: Delete file.
5794
df3eb8de
SL
57952018-12-18 Stefan Liebler <stli@linux.ibm.com>
5796
5797 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5798 * sysdeps/s390/memcpy.S: ... here.
5799 Adjust to be usable for 31/64bit.
5800 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5801 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5802 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5803 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5804 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5805 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5806 Adjust to be usable for 31/64bit.
5807 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5808 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5809 * sysdeps/s390/multiarch/memcpy.c: ... here.
5810 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5811
b7e024a8
SL
58122018-12-18 Stefan Liebler <stli@linux.ibm.com>
5813
5814 * sysdeps/s390/ifunc-memcmp.h: New File.
5815 * sysdeps/s390/memcmp.S: Move to ...
5816 * sysdeps/s390/memcmp-z900.S ... here.
5817 Move implementations from memcmp-s390x.s to here.
5818 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5819 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5820 Remove memcmp variants.
5821 * sysdeps/s390/Makefile (sysdep_routines):
5822 Add memcmp variants.
5823 * sysdeps/s390/multiarch/ifunc-impl-list.c
5824 (__libc_ifunc_impl_list): Adjust ifunc variants for
5825 memcmp.
5826 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5827 to ...
5828 * sysdeps/s390/memcmp.c: ... here.
5829 Adjust ifunc variants for memcmp.
5830
6c6b8c74
SL
58312018-12-18 Stefan Liebler <stli@linux.ibm.com>
5832
5833 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5834 * sysdeps/s390/memcmp.S: ... here.
5835 Adjust to be usable for 31/64bit.
5836 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5837 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5838 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5839 Remove memcmp.
5840 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5841 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5842 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5843 Adjust to be usable for 31/64bit.
5844 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5845 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5846 * sysdeps/s390/multiarch/memcmp.c: ... here.
5847 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5848
07be3928
SL
58492018-12-18 Stefan Liebler <stli@linux.ibm.com>
5850
5851 * sysdeps/s390/s390-32/bzero.S: Delete file.
5852 * sysdeps/s390/s390-64/bzero.S: Likewise.
5853 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5854 * sysdeps/s390/bzero.c: New file.
5855 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5856 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5857 * sysdeps/s390/multiarch/ifunc-impl-list.c
5858 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5859
712a254a
SL
58602018-12-18 Stefan Liebler <stli@linux.ibm.com>
5861
5862 * sysdeps/s390/ifunc-memset.h: New File.
5863 * sysdeps/s390/memset.S: Move to ...
5864 * sysdeps/s390/memset-z900.S ... here.
5865 Move implementations from memset-s390x.s to here.
5866 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5867 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5868 Remove memset variants.
5869 * sysdeps/s390/Makefile (sysdep_routines):
5870 Add memset variants.
5871 * sysdeps/s390/multiarch/ifunc-impl-list.c
5872 (__libc_ifunc_impl_list): Adjust ifunc variants for
5873 memset.
5874 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5875 to ...
5876 * sysdeps/s390/memset.c: ... here.
5877 Adjust ifunc variants for memset.
5878
5f1743d1
SL
58792018-12-18 Stefan Liebler <stli@linux.ibm.com>
5880
5881 * sysdeps/s390/s390-64/memset.S: Move to ...
5882 * sysdeps/s390/memset.S: ... here.
5883 Adjust to be usable for 31/64bit.
5884 * sysdeps/s390/s390-32/memset.S: Delete File.
5885 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5886 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5887 Remove memset.
5888 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5889 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5890 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5891 Adjust to be usable for 31/64bit.
5892 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5893 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5894 * sysdeps/s390/multiarch/memset.c: ... here.
5895 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5896
e8023f26
SL
58972018-12-18 Stefan Liebler <stli@linux.ibm.com>
5898
5899 * sysdeps/s390/multiarch/ifunc-resolve.h
5900 (s390_libc_ifunc_init, s390_libc_ifunc,
5901 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5902
b8686c0d
SL
59032018-12-18 Stefan Liebler <stli@linux.ibm.com>
5904
5905 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5906 * sysdeps/s390/configure.ac: Add check for z10 support.
5907 * sysdeps/s390/configure: Regenerated.
5908
cd815050
L
59092018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5910
5911 * sysdeps/i386/atomic-machine.h: Merged with ...
5912 * sysdeps/x86_64/atomic-machine.h: To ...
5913 * sysdeps/x86/atomic-machine.h: This. New file.
5914
053c52b1
FW
59152018-12-18 Florian Weimer <fweimer@redhat.com>
5916
5917 Rewrite locale/gen-translit.pl in Python.
5918 * locale/Makefile (generated): Add C-translit.h.
5919 (before-compile): Add $(objpfx)C-translit.h.
5920 (C-translit.h): Move to $(objpfx). Create target directory.
5921 Build using Python script.
5922 * locale/gen-translit.py: New file.
5923 * locale/gen-translit.pl: Remove file.
5924 * locale/C-translit.h.in: Change comment character to '#' for
5925 easier parsing without a C preprocessor.
5926 * locale/C-translit.h: Remove generated file.
5927 * manual/install.texi (Tools for Compilation): Do not mention
5928 C-translit.h.
5929 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5930 Remove locale/C-translit.h.
5931 * scripts/update-copyrights: Likewise.
5932 * INSTALL: Regenerate.
5933
40e6c1ec
FW
59342018-12-18 Florian Weimer <fweimer@redhat.com>
5935
5936 [BZ #23995]
5937 * localedata/locales/bi_VU: Remove executable bit from file.
5938
6b5c8607 59392018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
6e15f3e2
AA
5940
5941 * include/time.h
5942 (__localtime64): Add.
5943 * manual/maint.texi: Document Y2038 symbol handling.
5944 * time/localtime.c
5945 (__localtime64): Add.
bfb79db4 5946 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6e15f3e2 5947
df648905
JM
59482018-12-17 Joseph Myers <joseph@codesourcery.com>
5949
551e81d9
JM
5950 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
5951 Do not clobber r12.
5952
df648905
JM
5953 * scripts/glibcextract.py (compare_macro_consts): Take parameters
5954 to allow extra macros from first or second sources.
5955 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
5956 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
5957 (tests-special): Add $(objpfx)tst-mman-consts.out.
5958 ($(objpfx)tst-mman-consts.out): New makefile target.
5959
6bbfc5c0
MH
59602018-12-17 Mao Han <han_mao@c-sky.com>
5961
5962 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
5963 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
5964 without stat64 system call support.
5965 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
5966 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
5967 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
5968 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
5969 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
5970 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
5971 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
5972 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
5973 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
5974 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
5975 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
5976
ef202e53
PE
59772018-12-15 Paul Eggert <eggert@cs.ucla.edu>
5978
5979 regex: fix storage-exhaustion error
5980 [BZ #18040]
5981 * posix/regexec.c (get_subexp):
5982 Do not continue if storage is exhausted.
5983
077caf61
AG
59842018-12-15 Assaf Gordon <assafgordon@gmail.com>
5985
5986 regex: fix heap-use-after-free error
5987 [BZ #18040]
5988 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
5989 https://debbugs.gnu.org/32592
5990 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
5991 call extend_buffers which reallocates the re_string_t internal buffer.
5992 Local variable 'buf' was not updated in such case, resulting in
5993 use-after-free.
5994 * posix/regexec.c (get_subexp): Update 'buf' after call to
5995 get_subexp_sub.
5996
0c1719e6
FW
59972018-12-15 Florian Weimer <fweimer@redhat.com>
5998
5999 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6000 (minimum_stride_size): Use it.
6001 (support_blob_repeat_allocate): Likewise.
6002
033a2c0a
JM
60032018-12-14 Joseph Myers <joseph@codesourcery.com>
6004
6005 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6006 definition.
6007 (acosh): Likewise.
6008 (atanh): Likewise.
6009
e361dc04
FW
60102018-12-14 Florian Weimer <fweimer@redhat.com>
6011
6012 * manual/process.texi (Process Creation Concepts): Remove
6013 documentation of process (ID) lifetime. List more process
6014 creation functions. Reference Process Identification section.
6015 (Process Identification): Add information about process ID
6016 lifetime. Describe Linux thread/task IDs.
6017 * manual/signal.texi (Signaling Another Process): Mention that the
6018 signal is always sent to the process.
6019
bd51ff5e
GG
60202018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6021
6022 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6023 and tst-ldbl-efgcvt.
6024 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6025 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6026 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6027 (fcvt_tests, output_error, output_r_error, do_test): Use the
6028 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6029 select the type of floating-point variables and arguments; to
6030 produce extra tests for double and conversion specifiers for
6031 printf; and to set the names of called functions.
6032 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6033 in tst-efgcvt-template.c.
6034 * misc/tst-ldbl-efgcvt.c: Likewise.
6035
268bb71e
SL
60362018-12-14 Stefan Liebler <stli@linux.ibm.com>
6037
6038 * nss/Makefile (tst-nss-test3.out): New rule.
6039
db6df070
JM
60402018-12-13 Joseph Myers <joseph@codesourcery.com>
6041
6042 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6043 clobber sp.
6044
ade8b817
CD
60452018-12-13 fanjinke <fanjinke@hygon.cn>
6046
6047 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6048 "HygonGenuine".
6049
3d265911
AS
60502018-12-13 Andreas Schwab <schwab@suse.de>
6051
f21e8f8c 6052 [BZ #23861]
3d265911 6053 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
f21e8f8c
AS
6054 (__pthread_rwlock_rdlock_full): Update expected value for
6055 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6056 * nptl/tst-rwlock-pwn.c: New file.
6057 * nptl/Makefile (tests): Add tst-rwlock-pwn.
3d265911 6058
bf8ae8c0
JM
60592018-12-12 Joseph Myers <joseph@codesourcery.com>
6060
6061 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6062 definition.
6063
de099757
LS
60642018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6065
6066 * benchtests/scripts/compare_bench.py (do_compare): write to
6067 stderr in casestat is not present.
6068 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6069 stderr in case timings field is not present. Also string showing
6070 the output filename goes into the stderr.
6071
1990185f
LS
60722018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6073
6074 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6075 and ZeroDivisorError exceptions.
6076 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6077 argument to loop through user provided statistics.
6078 * benchtests/scripts/compare_bench.py (main): Include the --stats
6079 argument.
6080
587426d4
LS
60812018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6082
6083 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6084 instead of return.
6085
46703efa
FW
60862018-12-12 Florian Weimer <fweimer@redhat.com>
6087
6088 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6089 clause to copyright header.
6090
1d880d4a
TMQMF
60912018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6092
6093 [BZ #23614]
6094 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6095 registers saved in the stack frame.
6096 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6097 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6098
1a502f52
GG
60992018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6100
6101 * include/bits/monetary-ldbl.h: New file.
6102 * include/bits/printf-ldbl.h: Likewise.
6103 * include/bits/stdio-ldbl.h: Likewise.
6104 * include/bits/stdlib-ldbl.h: Likewise.
6105 * include/bits/syslog-ldbl.h: Likewise.
6106 * include/bits/wchar-ldbl.h: Likewise.
6107
df682d1d
GG
61082018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6109
6110 * libio/libio.h: Remove redirection for _IO_vfprintf.
6111
c2c082c1
AS
61122018-12-11 Andreas Schwab <schwab@suse.de>
6113
6114 * Makerules: Remove all references to abilist-pattern.
6115 (update-all-abi): Simplify find expression.
6116
505b5b29
SN
61172018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6118
6119 [BZ #23961]
6120 * math/auto-libm-test-in: Add new test case.
6121 * math/auto-libm-test-out-pow: Regenerated.
6122 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6123
304c61a2
DD
61242018-12-10 DJ Delorie <dj@redhat.com>
6125
6126 [BZ #23948]
6127 * support/test-container.c: Move postclean step to before we
6128 change namespaces.
6129
a8110b72
JM
61302018-12-10 Joseph Myers <joseph@codesourcery.com>
6131
cb7be159
JM
6132 * scripts/gen-as-const.py (main): Handle --python option.
6133 * scripts/gen-py-const.awk: Remove.
6134 * Makerules (py-const-script): Use gen-as-const.py.
6135 ($(py-const)): Likewise.
6136 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6137 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6138 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6139 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6140 ~PTHREAD_MUTEX_NO_ELISION_NP.
6141 * manual/README.pretty-printers: Update reference to
6142 gen-py-const.awk.
6143
a8110b72
JM
6144 * scripts/glibcextract.py: New file.
6145 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6146 or tempfile. Import glibcexctract.
6147 (compute_c_consts): Remove. Moved to glibcextract.py.
6148 (gen_test): Update reference to compute_c_consts.
6149 (main): Likewise.
6150 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6151 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6152 * sysdeps/unix/sysv/linux/Makefile
6153 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6154 Redirect stderr as well as stdout.
6155
f9ba9eb8
RÁE
61562018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6157
6158 [BZ #19767]
6159 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
b39d961c
TS
6160 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6161 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
f9ba9eb8 6162 ALWAYS_USE_VSYSCALL.
b39d961c 6163 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
f9ba9eb8
RÁE
6164 ALWAYS_USE_VSYSCALL.
6165 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6166 ALWAYS_USE_VSYSCALL.
6167
8d20a2f4
FW
61682018-12-10 Florian Weimer <fweimer@redhat.com>
6169
6170 [BZ #23972]
6171 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6172 offset instead of count for clarity. Fix typo in comment.
6173 (__old_getdents64): Keep track of previous offset. Use it to call
6174 handle_overflow.
6175 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6176 that d_off is never zero.
6177
80472e2f
AS
61782018-12-10 Andreas Schwab <schwab@suse.de>
6179
6180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6181 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6183 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6184 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6185
0afcb29d
JM
61862018-12-10 Joseph Myers <joseph@codesourcery.com>
6187
6188 * timezone/private.h: Update from tzcode 2018g.
6189 * timezone/tzfile.h: Likewise.
6190 * timezone/tzselect.ksh: Likewise.
6191 * timezone/zdump.c: Likewise.
6192 * timezone/zic.c: Likewise.
6193
b93f4052
PP
61942018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6195
6196 [BZ #23490]
6197 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6198 (do_test): Adjust buffer size and fix format.
6199
7c9a7c68
DD
62002018-12-07 DJ Delorie <dj@redhat.com>
6201
6202 [BZ #23907]
6203 * malloc/tst-tcfree3.c: New.
6204 * malloc/Makefile: Add it.
6205
37caec3a
L
62062018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6207
6208 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6209
10446f5d
GG
62102018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6211
6212 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6213 used as a mask for the mode argument of __vfscanf_internal and
6214 __vfwscanf_internal.
6215 * stdio-common/vfscanf-internal.c
6216 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6217 (__strtof128_internal): Define to __wcstof128_internal.
6218 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6219 __strtof128_internal or __wcstof128_internal when the format of
6220 long double is the same as _Float128.
6221
45f33aac
ST
62222018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6223
6224 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6225 * posix/confstr.c (confstr): Rename to __confstr.
6226 (__confstr): Add hidden def.
6227 (confstr): Add weak alias for __confstr.
6228 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6229 confstr.
6230
a092ca94
L
62312018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6232
6233 * NEWS: Mention getcpu.
6234 * include/sched.h (__getcpu): New libc_hidden_proto.
6235 * manual/resource.texi: Document getcpu.
6236 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6237 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6238 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6239 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6240 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6241 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6242 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6243 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6244 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6245 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6246 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6247 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6248 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6249 Likewise.
6250 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6251 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6252 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6254 Likewise.
6255 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6256 Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6258 Likewise.
6259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6260 Likewise.
6261 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6262 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6263 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6264 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6265 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6266 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6267 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6268 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6269 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6270 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6271 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6272 Also check getcpu.
6273
7c857b6f
ST
62742018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6275
6276 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6277 functions.
6278 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6279
3a3fb755
FW
62802018-12-07 Florian Weimer <fweimer@redhat.com>
6281
6282 [BZ #17405]
6283 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6284 * posix/Versions (GLIBC_2.29): Export
6285 posix_spawn_file_actions_addfchdir_np.
6286 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6287 * posix/spawn_faction_destroy.c
6288 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6289 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6290 and the field action.fchdir_action.
6291 * posix/tst-spawn-chdir.c (add_chdir): New function.
6292 (do_test): Add do_fchdir loop. Call add_chdir.
6293 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6294 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6295 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6296 posix_spawn_file_actions_addfchdir_np.
6297 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6298 Likewise.
6299 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6300 Likewise.
6301 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6302 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6303 Likewise.
6304 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6305 Likewise.
6306 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6307 Likewise.
6308 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6309 Likewise.
6310 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6311 Likewise.
6312 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6313 Likewise.
6314 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6315 (GLIBC_2.29): Likewise.
6316 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6317 (GLIBC_2.29): Likewise.
6318 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6319 (GLIBC_2.29): Likewise.
6320 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6321 (GLIBC_2.29): Likewise.
6322 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6323 Likewise.
6324 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6325 (GLIBC_2.29): Likewise.
6326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6327 (GLIBC_2.29): Likewise.
6328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6329 (GLIBC_2.29): Likewise.
6330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6331 (GLIBC_2.29): Likewise.
6332 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6333 Likewise.
6334 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6335 Likewise.
6336 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6337 Likewise.
6338 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6339 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6340 Likewise.
6341 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6342 Likewise.
6343 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6344 Likewise.
6345 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6346 Likewise.
6347
c37cd439
JM
63482018-12-06 Joseph Myers <joseph@codesourcery.com>
6349
6350 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6351 trailing whitespace removed.
6352 * scripts/config.guess: Update to version 2018-11-28.
6353 * scripts/config.sub: Update to version 2018-11-28.
6354 * scripts/install-sh: Update to version 2018-03-11.20.
6355 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6356 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6357
899478c2
FW
63582018-12-07 Florian Weimer <fweimer@redhat.com>
6359
6360 [BZ #23927]
6361 CVE-2018-19591
6362 * inet/tst-if_index-long.c: New file.
6363 * inet/Makefile (tests): Add tst-if_index-long.
6364
f255336a
FW
63652018-12-07 Florian Weimer <fweimer@redhat.com>
6366
6367 * support/check.h (support_record_failure_is_failed): Declare.
6368 * support/descriptors.h: New file.
6369 * support/support_descriptors.c: Likewise.
6370 * support/tst-support_descriptors.c: Likewise.
6371 * support/support_record_failure.c
6372 (support_record_failure_is_failed): New function.
6373 * support/Makefile (libsupport-routines): Add support_descriptors.
6374 (tests): Add tst-support_descriptors.
6375
35caceb1
ZW
63762018-12-05 Zack Weinberg <zackw@panix.com>
6377 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6378
6379 * stdio-common/vfprintf-internal.c
6380 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6381 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6382 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6383 and __no_long_double.
6384 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6385 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6386 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6387 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6388 and __nldbl_*syslog* functions.
6389 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6390 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6391 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6392 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6393 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6394 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6395 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6396 (__nldbl_vwprintf, __nldbl_wprintf):
6397 Directly call the appropriate __v*printf_internal routine, passing
6398 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6399 variable names.
6400 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6401 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6402 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6403 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6404 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6405 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6406 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6407 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6408 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6409 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6410 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6411 (__nldbl_syslog, __nldbl_vsyslog):
6412 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6413 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6414 appropriate.
6415 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6416 appropriate.
6417
4e2f43f8
ZW
64182018-12-05 Zack Weinberg <zackw@panix.com>
6419 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6420
6421 [BZ #11319]
6422 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6423 Moved here from debug/vsprintf_chk.c.
6424 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6425 and completion logic for the strfile to match exactly what
6426 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6427 _IO_str_init_static_internal instead of maxlen-1.
6428 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6429 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6430 __vsprintf_internal.
6431
6432 * debug/vsprintf_chk.c (__vsprintf_chk)
6433 * debug/sprintf_chk.c (__sprintf_chk):
6434 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6435 'flags' argument is positive, and slen as maxlen. No need to lock
6436 the FILE and/or construct a temporary FILE. Minimize and normalize
6437 header inclusions and variable names. Do not libc_hidden_def anything.
6438
6439 * debug/asprintf_chk.c (__asprintf_chk)
6440 * debug/dprintf_chk.c (__dprintf_chk)
6441 * debug/fprintf_chk.c (__fprintf_chk)
6442 * debug/fwprintf_chk.c (__fwprintf_chk)
6443 * debug/printf_chk.c (__printf_chk)
6444 * debug/snprintf_chk.c (__snprintf_chk)
6445 * debug/swprintf_chk.c (__swprintf_chk)
6446 * debug/vasprintf_chk.c (__vasprintf_chk)
6447 * debug/vdprintf_chk.c (__vdprintf_chk)
6448 * debug/vfprintf_chk.c (__vfprintf_chk)
6449 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6450 * debug/vprintf_chk.c (__vprintf_chk)
6451 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6452 * debug/vswprintf_chk.c (__vswprintf_chk)
6453 * debug/vwprintf_chk.c (__vwprintf_chk)
6454 * debug/wprintf_chk.c (__wprintf_chk):
6455 Directly call the corresponding vxxprintf_internal function, passing
6456 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6457 the FILE and/or construct a temporary FILE. Minimize and normalize
6458 header inclusions and variable names. Do not libc_hidden_def anything.
6459
6460 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6461 __obstack_vprintf_internal.
6462 (__obstack_vprintf_chk): Convert into a wrapper that calls
6463 __obstack_vprintf_internal (these two functions already had the
6464 same code) and move to new file...
6465 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6466 file.
6467 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6468 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6469 * debug/Makefile (routines): Add vobprintf_chk.
6470
6471 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6472 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6473 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6474 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6475 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6476 (__nldbl___obstack_vfprintf_chk):
6477 Directly call the corresponding vxxprintf_internal function,
6478 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6479 duplicate comparison of slen with 0 or maxlen from the corresponding
6480 non-__nldbl function.
6481
6482 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6483 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6484 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6485 Remove libc_hidden_proto.
6486
6487 * stdio-common/vfprintf-internal.c
6488 (__vfprintf_internal, __vfwprintf_internal):
6489 Do not check _IO_FLAGS2_FORTIFY.
6490 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6491 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6492 a comment explaining why it has the maxlen argument.
6493 (_IO_acquire_lock_clear_flags2_fct): Remove.
6494 (_IO_acquire_lock_clear_flags2): Remove.
6495 (_IO_release_lock): Remove conditional statement which will
6496 now never execute.
6497 (_IO_acquire_lock): Remove variable which is now unused.
6498 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6499 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6500
6501 * stdio-common/Makefile (tests): Add tst-bz11319 and
6502 tst-bz11319-fortify2.
6503 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6504 * stdio-common/tst-bz11319-fortify2.c: New file.
6505 * stdio-common/tst-bz11319.c: Likewise.
6506
124fc732
ZW
65072018-12-05 Zack Weinberg <zackw@panix.com>
6508 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6509
6510 * misc/syslog.c: Include libioP.h, not iolibio.h.
6511 (__vsyslog_internal): New function with the former body of
6512 __vsyslog_chk; takes mode_flags argument same as
6513 __v*printf_internal. Call __vfprintf_internal directly.
6514
6515 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6516 Remove libc_hidden_def.
6517 (__syslog, __syslog_chk): Use __vsyslog_internal.
6518 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6519
6520 * include/sys/syslog.h: Add multiple inclusion guard.
6521 Add prototype for __vsyslog_internal.
6522 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6523
6524 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6525 Use __vsyslog_internal.
6526
698fb75b
ZW
65272018-12-05 Zack Weinberg <zackw@panix.com>
6528 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6529
6530 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6531 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6532 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6533 New functions.
6534 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6535 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6536
6537 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6538 Include wctype.h here if COMPILE_WPRINTF is defined.
6539 Define __vfprintf_internal or __vfwprintf_internal, depending
6540 on COMPILE_WPRINTF.
6541 Temporarily, on entry to this function, update mode_flags
6542 according to the environmental settings corresponding to
6543 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6544 Throughout, check mode_flags instead of __ldbl_is_dbl and
6545 _IO_FLAGS2_FORTIFY on the destination FILE.
6546 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6547 Include vfprintf-internal.c. Don't include wctype.h.
6548 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6549 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6550 and vfprintf.
6551 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6552 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6553 and vfwprintf.
6554 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6555
6556 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6557 and add mode_flags argument; use __vfprintf_internal.
6558 (__vdprintf): New function. Alias vdprintf to this.
6559 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6560 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6561 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6562 (__obstack_printf): Use __obstack_printf_internal.
6563 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6564 public aliases __vsnprintf and vsnprintf.
6565 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6566 called internally.
6567 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6568 public aliases _IO_vsprintf and vsprintf.
6569 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6570 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6571 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6572 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6573 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6574
6575 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6576 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6577 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6578 * stdio-common/printf.c: Use __vfprintf_internal.
6579
6580 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6581 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6582 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6583
6584 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6585 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6586 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6587 __vfwprintf_internal.
6588
6589 * libio/libio.h: Remove libc_hidden_proto and declaration for
6590 _IO_vfprintf.
6591 Remove declaration of _IO_vfwprintf.
6592 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6593 _IO_vsprintf.
6594 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6595 _IO_obstack_printf.
6596 * include/stdio.h: Add prototype for __vasprintf.
6597 (__vsnprintf): Remove declaration, because there are no more
6598 internal calls.
6599 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6600 declaration, because there are no more internal calls.
6601
6602 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6603 __vsnprintf_internal, instead of _IO_vsnprintf.
6604 * argp/argp-help.c (__argp_error, __argp_failure): Use
6605 __vasprintf_internal, instead of _IO_vasprintf.
6606 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6607 redefine, because there are no more internal calls.
6608
d91798b3
ZW
66092018-12-05 Zack Weinberg <zackw@panix.com>
6610 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6611
6612 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6613 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6614 Include libio/strfile.h instead of libioP.h.
6615 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6616 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6617 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6618 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6619 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6620 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6621 necessary. Do not set __no_long_double. Normalize variable names.
6622 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6623 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6624 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6625 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6626 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6627 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6628 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6629 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6630 Do not set __no_long_double. Normalize variable names.
6631
b87eb3f8
ZW
66322018-12-05 Zack Weinberg <zackw@panix.com>
6633 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6634
6635 * stdio-common/isoc99_scanf.c
6636 * stdio-common/isoc99_fscanf.c
6637 * stdio-common/isoc99_sscanf.c
6638 * stdio-common/isoc99_vscanf.c
6639 * stdio-common/isoc99_vfscanf.c
6640 * stdio-common/isoc99_vsscanf.c
6641 * wcsmbs/isoc99_wscanf.c
6642 * wcsmbs/isoc99_fwscanf.c
6643 * wcsmbs/isoc99_swscanf.c
6644 * wcsmbs/isoc99_vwscanf.c
6645 * wcsmbs/isoc99_vfwscanf.c
6646 * wcsmbs/isoc99_vswscanf.c:
6647 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6648 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6649 No need to lock and unlock the FILE passed to that function.
6650
6651 * stdio-common/vfscanf-internal.c
6652 (__vfscanf_internal, __vfwscanf_internal):
6653 Don't look at _IO_FLAGS2_SCANF_STD.
6654 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6655 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6656 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6657
349718d4
ZW
66582018-12-05 Zack Weinberg <zackw@panix.com>
6659 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6660
6661 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6662 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6663 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6664 * libio/strfile.h: Add multiple inclusion guard.
6665 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6666
6667 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6668 consistency with the other version of this file.
6669 (ldbl_compat_symbol): New macro.
6670 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6671 New macro.
6672
6673 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6674 Define __vfscanf_internal or __vfwscanf_internal, depending on
6675 COMPILE_WSCANF; don't define any other public symbols.
6676 Remove errval and code to set errp.
6677 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6678 as the mode_flags argument.
6679 (encode_error, conv_error, input_error): Don't set errval.
6680 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6681 Include vfscanf-internal.c.
6682 * stdio-common/vfscanf.c: New file defining the public entry
6683 point vfscanf, which calls __vfscanf_internal.
6684 * stdio-common/vfwscanf.c: New file defining the public entry
6685 point vfwscanf, which calls __vfwscanf_internal.
6686
6687 * stdio-common/iovfscanf.c: New file.
6688 * stdio-common/iovfwscanf.c: Likewise.
6689
6690 * stdio-common/Makefile (routines): Add vfscanf-internal,
6691 vfwscanf-internal, iovfscanf, iovfwscanf.
6692 * stdio-common/Versions: Mention GLIBC_2.29, so that
6693 it can be used in SHLIB_COMPAT expressions.
6694 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6695 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6696 Call __vfscanf_internal, instead of _IO_vfscanf.
6697 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6698 _IO_vfscanf.
6699 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6700 _IO_vfwscanf.
6701
6702 * libio/iovsscanf.c: Clean up includes, when possible. Use
6703 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6704 __vfscanf_internal or __vfwscanf_internal directly.
6705 * libio/iovswscanf.c: Likewise.
6706 * libio/swscanf.c: Likewise.
6707 * libio/vscanf.c: Likewise.
6708 * libio/vwscanf.c: Likewise.
6709 * libio/wscanf.c: Likewise.
6710 * stdio-common/isoc99_fscanf.c: Likewise.
6711 * stdio-common/isoc99_scanf.c: Likewise.
6712 * stdio-common/isoc99_sscanf.c: Likewise.
6713 * stdio-common/isoc99_vfscanf.c: Likewise.
6714 * stdio-common/isoc99_vscanf.c: Likewise.
6715 * stdio-common/isoc99_vsscanf.c: Likewise.
6716 * stdio-common/scanf.c: Likewise.
6717 * stdio-common/sscanf.c: Likewise.
6718 * wcsmbs/isoc99_fwscanf.c: Likewise.
6719 * wcsmbs/isoc99_swscanf.c: Likewise.
6720 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6721 * wcsmbs/isoc99_vswscanf.c: Likewise.
6722 * wcsmbs/isoc99_vwscanf.c: Likewise.
6723 * wcsmbs/isoc99_wscanf.c: Likewise.
6724
6b5c8607 67252018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
72b8692d
AA
6726
6727 * include/time.h
6728 (__tz_compute): Replace time_t with __time64_t.
6729 (__tz_convert): Replace time_t* with __time64_t.
6730 (__offtime): Replace time_t* with __time64_t.
6731 * time/gmtime.c
6732 (__gmtime_r): Adjust call to __tz_convert.
6733 (gmtime): Likewise.
6734 * time/localtime.c
6735 (__localtime_r): Likewise.
6736 (localtime): Likewise.
6737 * time/offtime.c: Replace time_t with __time64_t.
6738 * time/tzset.c: Likewise.
6739
bd598da9
JM
67402018-12-04 Joseph Myers <joseph@codesourcery.com>
6741
6742 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6743 dynamic linker unless [$(run-built-tests) = yes].
6744
b2e93de0
DD
67452018-12-03 DJ Delorie <dj@delorie.com>
6746
6747 * support/test-container.c (check_for_unshare_hints): New.
6748 (main): Call it if unshare fails. Add support for "su" scriptlet
6749 command.
6750
477a02f6
JM
67512018-12-03 Joseph Myers <joseph@codesourcery.com>
6752
6753 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6754 'START' to indicate that start text should be output.
6755 (gen_test): Likewise.
6756 (main): Generate 'START' for first symbol or '--' line, or at end
6757 of input if not previously generated.
6758
6af956e5
RÁE
67592018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6760
6761 [BZ #19767]
6762 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6763 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6764 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6765 ALWAYS_USE_VSYSCALL.
6766
f5ec0ea9
AZ
67672018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6768
6769 [BZ #23913]
6770 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6771 new_argv by one.
6772
8cebd4ff
CD
67732018-12-03 Carlos O'Donell <carlos@redhat.com>
6774
6775 [BZ #23923]
6776 * locale/programs/localedef.c: Declare boolean hard_links default true.
6777 (options): Add --no-hard-links option.
6778 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6779 * locale/programs/localedef.h: Declare prototype for hard_links.
6780 * locale/programs/locfile.c (write_locale_data): Don't use hard
6781 links if hard_links is false.
6782
c22e4c2a
L
67832018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6784
6785 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6786 cpu_features_basic.
6787 (__cache_sysconf): Likewise.
6788 (init_cacheinfo): Likewise.
6789 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6790 populate COMMON_CPUID_INDEX_80000007 and
6791 COMMON_CPUID_INDEX_80000008.
6792 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6793 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6794 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6795 (init_cpu_features): Use _Static_assert on
6796 index_arch_Fast_Unaligned_Load.
6797 __get_cpuid_registers and __get_arch_feature. Updated for
6798 cpu_features_basic. Set stepping in cpu_features.
6799 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6800 (FEATURE_INDEX_2): New.
6801 (FEATURE_INDEX_MAX): Changed to enum.
6802 (COMMON_CPUID_INDEX_D_ECX_1): New.
6803 (COMMON_CPUID_INDEX_80000007): Likewise.
6804 (COMMON_CPUID_INDEX_80000008): Likewise.
6805 (cpuid_registers): Likewise.
6806 (cpu_features_basic): Likewise.
6807 (CPU_FEATURE_USABLE): Likewise.
6808 (bit_arch_XXX_Usable): Likewise.
6809 (cpu_features): Use cpuid_registers and cpu_features_basic.
6810 (bit_arch_XXX): Reweritten.
6811 (bit_cpu_XXX): Likewise.
6812 (index_cpu_XXX): Likewise.
6813 (reg_XXX): Likewise.
6814 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6815 <support/check.h>.
6816 (CHECK_CPU_FEATURE): New.
6817 (CHECK_CPU_FEATURE_USABLE): Likewise.
6818 (cpu_kinds): Likewise.
6819 (do_test): Print vendor, family, model and stepping. Check
6820 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6821 (TEST_FUNCTION): Removed.
6822 Include <support/test-driver.c> instead of
6823 "../../test-skeleton.c".
6824 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6825 Check POPCNT instead of POPCOUNT.
6826 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6827
7b36d26b
ST
68282018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6829
6830 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6831 there is no element in `consts'.
6832
02cd5c1a
FW
68332018-12-01 Florian Weimer <fweimer@redhat.com>
6834
6835 * support/support_capture_subprocess.c
6836 (support_capture_subprocess): Check that pipe descriptors have
6837 expected values. Close original pipe descriptors in subprocess.
6838
fc493bc9
ST
68392018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6840
6841 [BZ #23032]
6842 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6843 attr with __pthread_default_barrierattr.
6844 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6845 attr with __pthread_default_condattr.
6846 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6847 attr with __pthread_default_mutexattr.
6848 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6849 attr with __pthread_default_rwlockattr.
6850
6310e6be
KW
68512018-12-01 Kemi Wang <kemi.wang@intel.com>
6852
6853 * manual/tunables.texi (POSIX Thread Tunables): New node.
6854 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6855 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6856 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6857 __pthread_tunables_init.
6858 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6859 (max_adaptive_count): Define.
6860 * nptl/pthread_mutex_conf.c: New file.
6861 * nptl/pthread_mutex_conf.h: New file.
6862 * sysdeps/generic/adaptive_spin_count.h: New file.
6863 * sysdeps/nptl/dl-tunables.list: New file.
6864 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6865 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6866 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6867 Likewise.
6868
8e67b39e
PP
68692018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6870
6871 [BZ #20544]
6872 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6873 * stdlib/on_exit.c (__on_exit): Likewise.
6874 * stdlib/Makefile (tests): Add tst-bz20544.
6875 * stdlib/tst-bz20544.c: New test.
6876
15b8d67e
RÁE
68772018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6878
6879 [BZ #19767]
6880 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6881 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6882 New.
6883
5e63c240
FW
68842018-11-30 Florian Weimer <fweimer@redhat.com>
6885
6886 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6887 Extend error logging.
6888 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6889 symbol.
6890
71058602 68912018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14d0e87d 6892
5fb7fc96
AZ
6893 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6894 __sigismember instead of sigismember.
6895 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6896 cancel_handler): New definitions.
6897 (do_system): Use posix_spawn instead of fork and execl and remove
6898 reentracy code.
6899 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6900 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6901 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6902 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6903 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6904 * sysdeps/unix/sysv/linux/system.c: Likewise.
6905
14d0e87d
AZ
6906 [BZ #22834]
6907 [BZ #17490]
6908 * NEWS: Add new semantic for atfork with popen and system.
6909 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6910 fork and execl.
6911
e5d262ef
TMQMF
69122018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6913
6914 [BZ #23690]
6915 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6916 modification order when accessing reloc_result->addr.
6917 * include/link.h (reloc_result): Add field init.
6918 * nptl/Makefile (tests): Add tst-audit-threads.
6919 (modules-names): Add tst-audit-threads-mod1 and
6920 tst-audit-threads-mod2.
6921 Add rules to build tst-audit-threads.
6922 * nptl/tst-audit-threads-mod1.c: New file.
6923 * nptl/tst-audit-threads-mod2.c: Likewise.
6924 * nptl/tst-audit-threads.c: Likewise.
6925 * nptl/tst-audit-threads.h: Likewise.
6926
7e1d4240
JM
69272018-11-30 Joseph Myers <joseph@codesourcery.com>
6928
6929 * scripts/gen-as-const.py: New file.
6930 * scripts/gen-as-const.awk: Remove.
6931 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6932 gen-as-const.py.
6933 ($(objpfx)test-as-const-%.c): Likewise.
6934
ce7387cc
L
69352018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6936
6937 * elf/dl-exception.c: Include <_itoa.h>.
6938
c6a5bdc1
ST
69392018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6940
6941 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6942 returned by __f_setlk.
6943
a5275ba5
L
69442018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6945 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6946
6947 * elf/Makefile (tests-internal): Add tst-create_format1.
6948 * elf/dl-exception.c (_dl_exception_create_format): Support
6949 %x, %lx and %zx.
6950 * elf/tst-create_format1.c: New file.
6951
3a67e81d
CAC
69522018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
6953
6954 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
6955 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
6956 gnulib.)
6957 * argp/argp-help.c (__argp_failure): Likewise.
6958
4975f0c3
MH
69592018-11-29 Mao Han <han_mao@c-sky.com>
6960
6961 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
6962 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
6963 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
6964 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
6965 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
6966 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
6967 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
6968 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
6969 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
6970 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
6971 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
6972 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
6973 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
6974 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
6975 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
6976 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
6977 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
6978 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
6979 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
6980 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
6981 (R_CKCORE_TLS_TPOFF32): New defines.
6982
250102c8
FW
69832018-11-29 Florian Weimer <fweimer@redhat.com>
6984
6985 * posix/Makefile (before-compile): Remove testcases.h and
6986 ptestcases.h.
6987 (generated): Add testcases.h and ptestcases.h.
6988 (testcases.h, ptestcases.h): Move to $(objpfx).
6989 (runtests.o): Add dependency on testcases.h.
6990 (runptests.o): Add dependency on ptestcases.h.
6991 * posix/testcases.h, posix/ptestcases.h: Remove files.
6992 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
6993 not touch posix/testcases.h and posix/ptestcases.h.
6994
96cd0558
FW
69952018-11-28 Florian Weimer <fweimer@redhat.com>
6996
6997 support: Add signal support to support_capture_subprocess_check.
6998 * support/capture_subprocess.h (support_capture_subprocess_check):
6999 Adjust comment and rename parameter.
7000 * support/support_capture_subprocess_check.c
7001 (print_actual_status): New function.
7002 (support_capture_subprocess_check): Support negative
7003 status_or_signal. Call print_actual_status.
7004 * support/tst-support_capture_subprocess.c (do_test): Call
7005 support_capture_subprocess_check.
7006 * libio/tst-vtables-common.c (termination_status)
7007 (init_termination_status): Remove.
7008 (check_for_termination): Adjust support_capture_subprocess_check
7009 call.
7010 (do_test): Remove call to init_termination_status.
7011
530504e3
JM
70122018-11-28 Joseph Myers <joseph@codesourcery.com>
7013
7014 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7015 source directory instead of a copy.
7016 (CommandList.create_copy_dir): Remove.
7017
9a0b6970
SL
70182018-11-28 Stefan Liebler <stli@linux.ibm.com>
7019
7020 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7021
47d8d9a2
FW
70222018-11-28 Florian Weimer <fweimer@redhat.com>
7023
7024 * support/support.h (support_quote_string): Do not use str
7025 parameter name.
7026
b473b7d8
JM
70272018-11-27 Joseph Myers <joseph@codesourcery.com>
7028
7029 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7030 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7031
c74a91de
FW
70322018-11-27 Florian Weimer <fweimer@redhat.com>
7033
7034 * support/support.h (support_quote_string): Declare.
7035 * support/support_quote_string.c: New file.
7036 * support/tst-support_quote_string.c: Likewise.
7037 * support/Makefile (libsupport-routines): Add
7038 support_quote_string.
7039 (tests): Add tst-support_quote_string.
7040
d527c860
FW
70412018-11-27 Florian Weimer <fweimer@redhat.com>
7042
7043 [BZ #23927]
7044 CVE-2018-19591
7045 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7046 descriptor leak in case of ENODEV error.
7047
979cfed0
RÁE
70482018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7049
7050 [BZ #19767]
7051 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7052 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7053 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7054
ce035c6e
CD
70552018-11-26 Carlos O'Donell <carlos@redhat.com>
7056
7057 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7058 Error for unknown lines.
7059
2bd0bfcc
JM
70602018-11-26 Joseph Myers <joseph@codesourcery.com>
7061
7062 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7063 Touch additional files.
7064
affec03b
FW
70652018-11-26 Florian Weimer <fweimer@redhat.com>
7066
7067 [BZ #23907]
7068 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7069 double-frees.
7070
8ae74ead
RÁE
70712018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7072
7073 [BZ #19767]
7074 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7075 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7076 SHARED. Include sysdep.h.
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7078 ALWAYS_USE_VSYSCALL.
7079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7080 ALWAYS_USE_VSYSCALL.
7081
1e8bdc3a
RÁE
70822018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7083
7084 [BZ #19767]
7085 * nptl/Makefile (tests-static): Add tst-cond11-static.
7086 (tests): Likewise.
7087 * nptl/tst-cond11-static.c: New File.
7088 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7089 tst-affinity-static.
7090 (tests): Likewise.
7091 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7092 instead of SHARED.
7093 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7094 (USE_VSYSCALL): Likewise.
7095 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7096 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7097 instead of SHARED.
7098 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7099 SHARED.
7100 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7101 New.
7102
1283c478
JM
71032018-11-23 Joseph Myers <joseph@codesourcery.com>
7104
7105 [BZ #23915]
7106 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7107 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7108 Undefine.
7109
c089fd80
L
71102018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7111
7112 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7113 (tst-cet-legacy-1a-ARGS): New.
7114 ($(objpfx)tst-cet-legacy-1a): New target.
7115 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7116
cc6c89fa
JM
71172018-11-22 Joseph Myers <joseph@codesourcery.com>
7118
95edd05c
JM
7119 * conform/conformtest.py (CompileSubTest.__init__): Set
7120 self.run_early to False.
7121 (ExecuteSubTest.__init__): Likewise.
7122 (HeaderTests.run): Try running all non-optional, non-XFAILed
7123 compilation tests in a single execution of the compiler.
7124
cc6c89fa
JM
7125 * conform/conformtest.py (CompileSubTest): New class.
7126 (ExecuteSubTest): Likewise.
7127 (ElementTest.run): Rename to gen_subtests. Append tests to
7128 self.subtests instead of running them.
7129 (ConstantTest.run): Likewise.
7130 (SymbolTest.run): Likewise.
7131 (TypeTest.run): Likewise.
7132 (TagTest.run): Likewise.
7133 (FunctionTest.run): Likewise.
7134 (VariableTest.run): Likewise.
7135 (MacroFunctionTest.run): Likewise.
7136 (MacroStrTest.run): Likewise.
7137 (HeaderTests.handle_test_line): Generate subtests for tests.
7138 (HeaderTests.run): Run subtests for tests.
7139
a502c529
SN
71402018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7141
7142 * math/Versions (GLIBC_2.29): Add pow.
7143 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7144 symbol.
7145 * math/w_pow.c: New file.
7146 * sysdeps/i386/fpu/w_pow.c: New file.
7147 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7148 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7149 and add necessary aliases.
7150 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7151 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7152 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7153 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7154 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7155 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7156 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7157 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7158 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7159 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7160 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7161 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7162 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7163 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7164 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7168 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7169 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7170 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7171 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7172 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7173 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7174 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7175 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7176 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7177 __pow.
7178 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7179 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7180 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7181
718d6542
SN
71822018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7183
7184 * math/Versions (GLIBC_2.29): Add log2.
7185 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7186 symbol.
7187 * math/w_log2.c: New file.
7188 * sysdeps/i386/fpu/w_log2.c: New file.
7189 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7190 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7191 and add necessary aliases.
7192 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7193 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7194 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7195 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7196 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7197 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7198 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7199 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7200 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7201 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7202 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7203 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7204 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7205 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7206 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7211 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7212 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7213 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7214 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7215 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7216 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7217 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7218
f29b7c49
SN
72192018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7220
7221 * math/Versions (GLIBC_2.29): Add log.
7222 * math/w_log_compat.c (__log_compat): Change to versioned compat
7223 symbol.
7224 * math/w_log.c: New file.
7225 * sysdeps/i386/fpu/w_log.c: New file.
7226 * sysdeps/ia64/fpu/e_log.S: Update.
7227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7228 and add necessary aliases.
7229 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7230 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7231 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7232 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7233 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7234 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7235 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7236 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7237 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7238 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7239 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7240 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7241 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7242 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7243 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7248 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7249 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7250 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7251 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7252 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7253 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7254 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7255 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7256 __log.
7257 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7258 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7259 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7260 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7261
c20a1056
SN
72622018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7263
7264 * math/Versions (GLIBC_2.29): Add exp and exp2.
7265 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7266 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7267 * math/w_exp_compat.c (__exp_compat): Likewise.
7268 * math/w_exp.c: New file.
7269 * math/w_exp2.c: New file.
7270 * sysdeps/i386/fpu/w_exp.c: New file.
7271 * sysdeps/i386/fpu/w_exp2.c: New file.
7272 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7273 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7274 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7275 and add necessary aliases.
7276 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7277 and add necessary aliases.
7278 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7279 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7280 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7281 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7282 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7283 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7284 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7285 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7286 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7287 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7288 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7289 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7290 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7291 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7292 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7293 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7294 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7299 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7300 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7301 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7302 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7303 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7304 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7305 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7306 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7307 (__ieee754_exp): Rename to __exp.
7308 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7309 (__ieee754_exp): Rename to __exp.
7310 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7311 (__ieee754_exp): Rename to __exp.
7312 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7313 __exp.
7314 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7315
bcdaad21
DD
73162018-11-20 DJ Delorie <dj@redhat.com>
7317
7318 * malloc/malloc.c (tcache_entry): Add key field.
7319 (tcache_put): Set it.
7320 (tcache_get): Likewise.
7321 (_int_free): Check for double free in tcache.
7322 * malloc/tst-tcfree1.c: New.
7323 * malloc/tst-tcfree2.c: New.
7324 * malloc/Makefile: Run the new tests.
7325 * manual/probes.texi: Document memory_tcache_double_free probe.
7326
7327 * dlfcn/dlerror.c (check_free): Prevent double frees.
7328
5770c0ad
WD
73292018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7330
7331 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7332
9a62a939
JM
73332018-11-20 Joseph Myers <joseph@codesourcery.com>
7334
7335 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7336 in tests. Use names for format arguments.
7337 (ConstantTest.run): Likewise.
7338 (SymbolTest.run): Likewise.
7339 (TypeTest.run): Likewise.
7340 (TagTest.run): Likewise.
7341 (FunctionTest.run): Likewise.
7342 (VariableTest.run): Likewise.
7343 (MacroFunctionTest.run): Likewise.
7344 (MacroStrTest.run): Likewise.
7345 (HeaderTests.__init__): Set self.num_tests.
7346 (HeaderTests.handle_test_line): Set test.num. Increment
7347 self.num_tests.
7348
b15b1a95
ST
73492018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7350
7351 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7352 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7353 SEEK_SET.
7354
0c7f97ae
MH
73552018-11-19 Mao Han <han_mao@c-sky.com>
7356
7357 * scripts/config.guess: Update to version 2018-08-29.
7358 * scripts/config.sub: Update to version 2018-08-29.
7359
35e3fbc4
FW
73602018-11-19 Florian Weimer <fweimer@redhat.com>
7361
7362 support: Print timestamps in timeout handler.
7363 * support/support_test_main.c (print_timestamp): New function.
7364 (signal_handler): Use it to print the termination time and the
7365 time of the last write to standard output.
7366
c75772e3
ZW
73672018-11-16 Zack Weinberg <zackw@panix.com>
7368 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7369
7370 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7371 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7372 argument.
7373 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7374 and add flags argument. Check flags instead of __ldbl_is_dbl when
7375 deciding whether to set is_long_double.
7376 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7377 passing zero for flags argument.
7378 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7379
7380 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7381 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7382 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7383 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7384 variable names. Remove libc_hidden_def/libc_hidden_proto from
7385 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7386 longer called from within the library.
7387 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7388 for __nldbl___vstrfmon_l, declare it explicitly.
7389
7390 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7391
346ef23f
ST
73922018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7393
7394 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7395 macros
7396 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7397 F_SETLK64, F_SETLKW64, respectively.
7398 * sysdeps/mach/hurd/f_setlk.c: New file.
7399 * sysdeps/mach/hurd/f_setlk.h: New file.
7400 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7401 f_setlk.
7402 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7403 (__libc_fcntl): Move non-flock operations to...
7404 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7405 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7406
de20b81a
PE
74072018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7408
5d8af156
PE
7409 mktime: DEBUG_MKTIME cleanup
7410 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7411 And it’s no longer needed now that glibc and Gnulib both have
7412 their own testing mechanisms for mktime.
7413 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7414
86aece3b
PE
7415 mktime: fix non-EOVERFLOW errno handling
7416 [BZ#23789]
7417 mktime was not properly reporting failures when the underlying
7418 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7419 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7420 The problem could happen on non-glibc platforms, with Gnulib.
7421 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7422 (tm_diff): ... this simpler function, which does not change errno.
7423 All callers changed to deal with errno themselves.
7424 (ranged_convert, __mktime_internal): Return failure immediately if
7425 the underlying function reports any failure other than EOVERFLOW.
7426 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7427 gap code fails.
7428
f6b3331b
PE
7429 mktime: fix bug with Y2038 DST transition
7430 [BZ#23789]
7431 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7432 mishandle a DST transition that jumps over the Y2038 boundary.
7433 No such DST transitions are known so this is only a theoretical
7434 bug, but we might as well do things right.
7435
efbdddc3
PE
7436 mktime: make more room for overflow
7437 [BZ#23789]
7438 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7439 This is so that we can add tm_diff results to a previous guess,
7440 which will be useful in a later patch.
7441
6c90d759
PE
7442 mktime: simplify offset guess
7443 [BZ#23789]
7444 * time/mktime.c (__mktime_internal): Omit excess precision.
7445
32c12f3f
PE
7446 mktime: new test for mktime failure
7447 [BZ#23789]
7448 Based on a test suggested by Albert Aribaud in:
7449 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7450 * time/Makefile (tests): Add bug-mktime4.
7451 * time/bug-mktime4.c: New file.
7452
de20b81a
PE
7453 mktime: fix EOVERFLOW bug
7454 [BZ#23789]
7455 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7456 Include libc-config.h, not config.h, for __set_errno.
7457 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7458
8c6c3fb0
ST
74592018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7460
7461 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7462 __attribute_copy__ to copy attributes from name. Drop static qualifier
7463 to avoid warnings about leaf attribute not having effect on static
7464 functions.
7465
6923f6db
FW
74662018-11-13 Florian Weimer <fweimer@redhat.com>
7467
7468 * malloc/malloc.c (fastbin_push_entry): New function.
7469 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7470 (REMOVE_FB): Remove macro.
7471 (_int_malloc): Use fastbin_pop_entry and reindent.
7472 (_int_free): Use fastbin_push_entry.
7473 (malloc_consolidate): Use atomic_exchange_acquire.
7474
53f5c659
JM
74752018-11-13 Joseph Myers <joseph@codesourcery.com>
7476
0c096dcf
JM
7477 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7478 alias attribute, not with strong_alias.
7479
9c4b457e
JM
7480 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7481 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7482 with additional parameter thread.
7483 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7484 in terms of __hidden_ver2.
7485 (hidden_tls_def): New macro.
7486 (libc_hidden_tls_def): Likewise.
7487 (rtld_hidden_tls_def): Likewise.
7488 (libm_hidden_tls_def): Likewise.
7489 (libmvec_hidden_tls_def): Likewise.
7490 (libresolv_hidden_tls_def): Likewise.
7491 (librt_hidden_tls_def): Likewise.
7492 (libdl_hidden_tls_def): Likewise.
7493 (libnss_files_hidden_tls_def): Likewise.
7494 (libnsl_hidden_tls_def): Likewise.
7495 (libnss_nisplus_hidden_tls_def): Likewise.
7496 (libutil_hidden_tls_def): Likewise.
7497 (libutil_hidden_tls_def): Likweise.
7498 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7499 libc_hidden_tls_def.
7500 (__sim_disabled_exceptions_thread): Likewise.
7501 (__sim_round_mode_thread): Likewise.
7502
53f5c659
JM
7503 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7504 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7505 copy attributes from name.
7506
092dfde6
JM
75072018-11-12 Joseph Myers <joseph@codesourcery.com>
7508
f578f97b
JM
7509 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7510 Use __attribute_copy__ to copy attributes from name.
7511
9a7c643a
JM
7512 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7513 with __hidden_ver1 call.
7514 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7515 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7516 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7517 (__cosf): Do not declare here.
7518 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7519 (__sincosf): Do not declare here.
7520 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7521 (__sinf): Do not declare here.
7522
092dfde6
JM
7523 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7524 (__BIG_ENDIAN): Likewise.
7525 (__BYTE_ORDER): Likewise.
7526 (strong_alias): Likewise.
7527 (_strong_alias): Likewise.
7528
1ecba1fa
FW
75292018-11-12 Florian Weimer <fweimer@redhat.com>
7530
7531 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7532 function. Move after the definition of in_smallbin_range. Do not
7533 use __builtin_expect for paths that lead to a noreturn function.
7534 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7535 because it is unclear whether this is in fact an unlikely
7536 condition.
7537 (_int_malloc, _int_free): Adjust.
7538 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7539 variables.
7540 * malloc/arena.c (heap_trim): Likewise.
7541
434c34bd
ST
75422018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7543
7544 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7545 it, free it if needed.
7546 (reauthenticate): Test and use ccwdir.
7547 (child_init_port): In non-resetids case, test and use ccwdir.
7548 (child_chdir): New nested function to set ccwdir.
7fa495cd
ST
7549 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7550 * hurd/hurd/port.h (_hurd_port_move): New function.
7551 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7552 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
88b26b7e
ST
7553 * hurd/Versions (_hurd_port_move): Export function.
7554 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7555 symbol.
58bb655a
ST
7556 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7557 of dtablesize for allocating dtable_cloexec.
434c34bd 7558
1626a1cf
MS
75592018-11-09 Martin Sebor <msebor@redhat.com>
7560
7561 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7562 it's already defined.
7563 (_strong_alias): Use __attribute_copy__.
7564 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7565 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7566 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7567 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7568 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7569 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7570 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7571 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7572 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7573 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7574 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7575 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7576 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7577 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7578 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7579 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7580 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7581 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7582 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7583
968ed530
GG
75842018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7585
7586 * misc/tst-efgcvt.c: Include support/check.h and
7587 support/test-driver.c. Do not include test-skeleton.c.
7588 (error_count): Remove.
7589 (output_error): Replace increments to error_count with calls to
7590 support_record_failure.
7591 (output_r_error): Likewise.
7592 (special): Likewise.
7593 (do_test): Unconditionally return zero.
7594 (TEST_FUNCTION): Remove.
7595
c3ec0972
JM
75962018-11-09 Joseph Myers <joseph@codesourcery.com>
7597
91faaa93
JM
7598 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7599 not $(@D)/scratch.
7600 ($(linknamespace-header-tests)): Likewise.
7601
c3ec0972
JM
7602 * conform/conformtest.py: New file.
7603 * conform/conformtest.pl: Remove.
7604 * conform/GlibcConform.pm: Likewise.
7605 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7606 (KEYWORDS_C99): Likewise.
7607 (KEYWORDS): Likewise.
7608 * conform/Makefile ($(conformtest-header-tests)): Use
7609 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7610 option. Use --header instead of --headers.
7611 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7612 function entries.
7613 * conform/data/spawn.h-data: Likewise.
7614 * conform/data/fcntl.h-data (openat): Add space after function
7615 name.
7616 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7617 (wcscasecmp_l): Likewise.
7618 * conform/data/termios.h-data (c_cc): Add space after element
7619 name.
7620
43257c33
GG
76212018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7622
7623 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7624 instead of manually comparing and reporting mismatching strings.
7625 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7626 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7627
e5de3b5b
JM
76282018-11-08 Joseph Myers <joseph@codesourcery.com>
7629
7630 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7631 __ASSUME_SOCKETCALL.
7632 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7633 (__ASSUME_SOCKETCALL): Remove.
7634 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7635 (__ASSUME_SOCKETCALL): Likewise.
7636 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7637 (__ASSUME_SOCKETCALL): Likewise.
7638 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7639 (__ASSUME_SOCKETCALL): Likewise.
7640 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7641 (__ASSUME_SOCKETCALL): Likewise.
7642 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7643 (__ASSUME_SOCKETCALL): Likewise.
7644 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7645 (__ASSUME_SOCKETCALL): Likewise.
7646
d524fa6c
L
76472018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7648
7649 [BZ #23509]
7650 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7651 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7652 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7653 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7654 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7655 lc_unknown.
7656
ac806026
AH
76572018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7658
7659 [BZ #17630]
7660 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7661
596cc360
JM
76622018-11-07 Joseph Myers <joseph@codesourcery.com>
7663
7664 [BZ #23867]
7665 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7666 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7667 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7668 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7669
00c86a37
AZ
76702018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7671
7672 * support/support_test_compare_string.c
7673 (support_test_compare_string): Fix printf format.
7674
1df872fd
FW
76752018-11-07 Florian Weimer <fweimer@redhat.com>
7676
7677 Implement TEST_COMPARE_STRING.
7678 * support/check.h (TEST_COMPARE_STRING): Define.
7679 (support_test_compare_string): Declare.
7680 * support/Makefile (libsupport-routines): Add
7681 support_test_compare_string.
7682 (tests): Add tst-test_compare_string.
7683 * support/support_test_compare_string.c: New file.
7684 * support/tst-test_compare_string.c: Likewise.
7685
295132ff
AS
76862018-11-07 Andreas Schwab <schwab@suse.de>
7687
7688 [BZ #23864]
7689 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7690 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7691 Undef.
7692
e143ceba
JM
76932018-11-06 Joseph Myers <joseph@codesourcery.com>
7694
7695 [BZ #23862]
7696 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7697 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7698 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7699 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7700 Likewise.
7701
4a938cb2
FW
77022018-11-06 Florian Weimer <fweimer@redhat.com>
7703
7704 [BZ #17405]
7705 * posix/Makefile (routines): Add spawn_faction_addchdir.
7706 (tests): Add tst-spawn-chdir.
7707 * posix/Versions (GLIBC_2.29): Add
7708 posix_spawn_file_actions_addchdir_np.
7709 * posix/spawn_faction_addchdir.c: New file.
7710 * posix/spawn_faction_destroy.c
7711 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7712 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7713 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7714 chdir_action.
7715 * posix/tst-spawn-chdir.c: New file.
7716 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7717 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7718 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7719 posix_spawn_file_actions_addchdir_np.
7720 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7721 Likewise.
7722 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7723 Likewise.
7724 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7725 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7726 Likewise.
7727 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7728 Likewise.
7729 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7730 Likewise.
7731 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7732 Likewise.
7733 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7734 Likewise.
7735 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7736 Likewise.
7737 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7738 (GLIBC_2.29): Likewise.
7739 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7740 (GLIBC_2.29): Likewise.
7741 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7742 (GLIBC_2.29): Likewise.
7743 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7744 (GLIBC_2.29): Likewise.
7745 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7746 Likewise.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7748 (GLIBC_2.29): Likewise.
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7750 (GLIBC_2.29): Likewise.
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7752 (GLIBC_2.29): Likewise.
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7754 (GLIBC_2.29): Likewise.
7755 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7756 Likewise.
7757 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7758 Likewise.
7759 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7760 Likewise.
7761 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7762 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7763 Likewise.
7764 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7765 Likewise.
7766 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7767 Likewise.
7768 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7769 Likewise.
7770
7597b0c7
GG
77712018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7772
7773 * misc/Makefile (tests): Add tst-ldbl-error.
7774 * misc/tst-ldbl-error.c: New file.
7775
9771e6cb
GG
77762018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7777
7778 * misc/Makefile (tests): Add tst-ldbl-warn.
7779 * misc/tst-ldbl-warn.c: New file.
7780
2c03961f
GG
77812018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7782
7783 * argp/Makefile (tests): Add tst-ldbl-argp.
7784 * argp/tst-ldbl-argp.c: New file.
7785
6d6ee046
AS
77862018-11-05 Arjun Shankar <arjun@redhat.com>
7787
7788 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7789 __gconv_path_elem and call __gconv_get_path unconditionally.
7790
bd3b0fba
AS
77912018-11-05 Andreas Schwab <schwab@suse.de>
7792
7793 [BZ #22927]
7794 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7795 creating the first helper thread failed.
7796
2e96e980
ST
77972018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7798
7799 * sysdeps/mach/hurd/msync.c: New file.
7800
6e36266c
FW
78012018-11-02 Florian Weimer <fweimer@redhat.com>
7802
7803 * support/shell-container.c (copy_func): Call
7804 support_copy_file_range instead of copy_file_range to support
7805 cross-device copies.
7806
599f7bee
FW
78072018-11-02 Florian Weimer <fweimer@redhat.com>
7808
7809 * support/test-container.c: Include <libc-pointer-arith.h> for
7810 ALIGN_UP.
7811
ff48ea67
ZL
78122018-11-01 Zong Li <zong@andestech.com>
7813
af1d5782
ZL
7814 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7815 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7816 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7817 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7818
ff48ea67
ZL
7819 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7820 variable to avoid overlap arguments.
7821
daea71c2
JM
78222018-11-01 Joseph Myers <joseph@codesourcery.com>
7823
eac4405a
JM
7824 * posix/bug-regex22.c (main): Use puts with distinct error
7825 messages for unexpected success of re_compile_pattern, not printf
7826 with NULL argument to %s.
7827
6f30e59f
JM
7828 * stdio-common/bug22.c: Include <libc-diag.h>.
7829 (do_test): Disable -Wformat-overflow= warnings around fprintf
7830 calls outputting more than INT_MAX characters.
7831 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7832 around printf call with NULL %s argument.
7833
daea71c2
JM
7834 [BZ #23848]
7835 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7836 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7837 Undefine.
7838 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7839 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7840 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7841 (__ASSUME_SENDTO_SYSCALL): Likewise.
7842 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7843 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7844 [!__arch64__].
7845 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7846 (__ASSUME_CONNECT_SYSCALL): Likewise.
7847 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7848 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7849 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7850 Define.
7851 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7852 Likewise.
7853 [__LINUX_KERNEL_VERSION >= 0x040400]
7854 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7855 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7856 Remove.
7857 (listen): Likewise.
7858 (setsockopt): Likewise.
7859
8e3c00db
FN
78602018-11-01 Fredrik Noring <noring@nocrew.org>
7861
7862 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7863 with the ISA override.
7864
9c3dbdbe
RAE
78652018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7866
7867 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7868 #endif.
7869
e3a88b3e
ST
78702018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7871
a67377e7 7872 * manual/errno.texi (EIEIO): Document how translators should
e3a88b3e 7873 translate the error message.
a67377e7
ST
7874 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7875 printing trailing whitespaces refused by git.
7876 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7877 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fc783076 7878 * hurd/Makefile (user-interfaces): Add pci.
e3a88b3e 7879
3ca235ed
JM
78802018-10-30 Joseph Myers <joseph@codesourcery.com>
7881
7882 * conform/linknamespace.py: New file.
7883 * conform/linknamespace.pl: Remove file.
7884 * conform/Makefile ($(linknamespace-header-tests)): Use
7885 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7886 option.
7887
60708030
FW
78882018-10-30 Florian Weimer <fweimer@redhat.com>
7889
7890 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7891 memory leaks.
7892
a91e9301
FW
78932018-10-30 Florian Weimer <fweimer@redhat.com>
7894
7895 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7896
07da99aa
FW
78972018-10-30 Florian Weimer <fweimer@redhat.com>
7898
7899 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7900 support_blob_repeat.
7901
f5e7e959
FW
79022018-10-30 Florian Weimer <fweimer@redhat.com>
7903
7904 Avoid spurious test failures in stdlib/test-bz22786.
7905 * support/Makefile (libsupport-routines): Add blob_repeat.
7906 (tests): Add tst-support_blob_repeat.
7907 * support/blob_repeat.h: New file.
7908 * support/blob_repeat.c: Likewise.
7909 * support/tst-support_blob_repeat.c: Likewise.
7910 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7911 support_blob_repeat_allocate.
7912
2dd12baa
AS
79132018-10-30 Andreas Schwab <schwab@suse.de>
7914
7915 [BZ #23125]
7916 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7917 Don't use tail call.
7918 * elf/tst-unwind-main.c: New file.
7919 * elf/Makefile (tests): Add tst-unwind-main.
7920 (CFLAGS-tst-unwind-main.c): Define.
7921
6b5c8607 79222018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
fec8bb7c
SAA
7923
7924 [BZ #23791]
7925 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7926 n_cs_precedes to 0.
7927 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7928
c6982f7e
JM
79292018-10-29 Joseph Myers <joseph@codesourcery.com>
7930
954cf3c2
JM
7931 * conform/glibcconform.py: Do not import shutil.
7932 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7933 of mkdtemp.
7934
c6982f7e
JM
7935 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7936 critic_missing for versions before 3.4.
7937 * configure: Regenerated.
7938 * manual/install.texi (Tools for Compilation): Document
7939 requirement for Python to build glibc.
7940 * INSTALL: Regenerated.
7941 * Rules [PYTHON]: Make code unconditional.
7942 * benchtests/Makefile [PYTHON]: Likewise.
7943 * conform/Makefile [PYTHON]: Likewise.
7944 * manual/Makefile [PYTHON]: Likewise.
7945 * math/Makefile [PYTHON]: Likewise.
7946
46a7f24c
ST
79472018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
7948
7949 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
2d0d1d38 7950 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
b6e7c449 7951 answer to interrupt_operation, return EIEIO instead of EINTR.
5c81be53
ST
7952 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
7953 _hurd_intr_rpc_msg_about_to global point to start of controlled
7954 assembly snippet. Make it check canceled flag.
7955 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
7956 the _hurd_intr_rpc_msg_about_to point.
7957 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
7958 issue, remove cancel flag check.
46a7f24c 7959
e5b8756d
JM
79602018-10-26 Joseph Myers <joseph@codesourcery.com>
7961
7962 * scripts/build-many-glibcs.py: Remove compatibility for missing
7963 os.cpu_count and re.fullmatch.
7964
ba5b14c7
SN
79652018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
7966
7967 [BZ #23822]
7968 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
7969 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
7970 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
7971
fe61f17c
JM
79722018-10-25 Joseph Myers <joseph@codesourcery.com>
7973
7974 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
7975 macro.
7976
7c5e34d7
FW
79772018-10-25 Florian Weimer <fweimer@redhat.com>
7978
7979 [BZ #23562]
7980 [BZ #23821]
7981 XFAIL siginfo_t si_band conform test on sparc64.
7982 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
7983 (__SI_BAND_TYPE): Only override long int default type on sparc64.
7984 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
7985 (conformtest-xfail-conds): Add sparc64-linux.
7986 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
7987 sparc64.
7988 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
7989
5b784e88
JM
79902018-10-25 Joseph Myers <joseph@codesourcery.com>
7991
7992 * elf/elf.h (NT_MIPS_DSP): New macro.
7993 (NT_MIPS_FP_MODE): Likewise.
7994
41432ebe
ZL
79952018-10-25 Zong Li <zong@andestech.com>
7996
7997 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
7998 name by adding the file extension (.so).
7999
d026efea
ST
80002018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8001
8002 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8003 (test-xfail-ISO11/threads.h/linknamespace,
8004 test-xfail-ISO11/threads.h/conform): Add.
8005
b71ac2b9
JM
80062018-10-24 Joseph Myers <joseph@codesourcery.com>
8007
8008 * math/gen-libm-test.py: Import os.
8009 (ALL_FLOATS_MANUAL): New constant.
8010 (ALL_FLOATS_SUFFIX): Likewise.
8011 (Ulps.all_functions): New function.
8012 (real_all_ulps): Likewise.
8013 (generate_err_table_sub): Likewise.
8014 (generate_err_table): Likewise.
8015 (main): Handle -s and -m options.
8016 * manual/libm-err-tab.pl: Remove.
8017 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8018 instead of libm-err-tab.pl.
8019 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8020 != no].
8021 * manual/install.texi (Tools for Compilation): Document
8022 requirement for Python to build manual.
8023 * INSTALL: Regenerated.
8024
6b5c8607 80252018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
d51f99ce
AA
8026
8027 * bits/time64.h: New file.
8028 * include/time.h: Replace internal_time_t with __time64_t.
8029 * posix/bits/types (__time64_t): Add.
8030 * stdlib/Makefile: Add bits/time64.h to includes.
8031 * time/tzfile.c: Replace internal_time_t with __time64_t.
8032
97d91fcc 80332018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2a973ab7
AZ
8034
8035 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8036 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8037 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8038 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8039 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8040 prototype.
8041 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8042 * posix/spawn_faction_addclose.c
8043 (__posix_spawn_file_actions_addclose): Add hidden definition.
8044 * posix/spawn_faction_adddup2.c
8045 (__posix_spawn_file_actions_adddup2): Likewise.
8046 * posix/spawn_faction_destroy.c
8047 (__posix_spawn_file_actions_destroy): Likewise.
8048 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8049 Likewise.
8050 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8051 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8052 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8053 Likewise.
8054 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8055 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8056 Likewise.
8057
2954daf0
AS
80582018-10-24 Andreas Schwab <schwab@suse.de>
8059
8060 [BZ #18093]
8061 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8062 format cache.
8063 * elf/cache.c (print_cache): Likewise.
8064
6b5c8607 80652018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
a27a4f47
AA
8066
8067 * bits/timesize.h: New file.
8068 * stdlib/Makefile (headers): Add bits/timesize.h.
8069 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8070 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8071 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8072 (__SEM_PAD_AFTER_TIME): Likewise.
8073 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8074 (__SHM_PAD_AFTER_TIME): Likewise.
8075 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8076 (__MSQ_PAD_BEFORE_TIME): Likewise.
8077 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8078 (__SEM_PAD_BEFORE_TIME): Likewise.
8079 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8080 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8081 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
b39d961c
TS
8082 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8083 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8084 (__MSQ_PAD_BEFORE_TIME): Likewise.
a27a4f47
AA
8085 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8086 (__SEM_PAD_BEFORE_TIME): Likewise.
8087 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8088 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8090 (__MSQ_PAD_BEFORE_TIME): Likewise.
8091 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8092 (__SEM_PAD_BEFORE_TIME): Likewise.
8093 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8094 (__SHM_PAD_BEFORE_TIME): Likewise.
8095 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8096 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8097 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8098
7cc65773
L
80992018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8100
8101 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8102 USE_RDTSCP is defined.
8103 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8104 USE_RDTSCP is defined.
8105
c3d8dc45
AZ
81062018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8107
18ad0de6
AZ
8108 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8109 defined.
8110
c3d8dc45
AZ
8111 [BZ #23709]
8112 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8113 independently of other flags.
8114
f1034472
FW
81152018-10-23 Florian Weimer <fweimer@redhat.com>
8116
8117 * time/tst-mktime2.c (N_STRINGS): Remove.
8118 (set_timezone): New function.
8119 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8120 (mktime_test1): Report localtime failure and check errno value.
8121 Use TEST_COMPARE.
8122 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8123 (do_test): Remove alarm call. Use set_timezone and array_length.
8124
367d7cc2
AS
81252018-10-23 Andreas Schwab <schwab@suse.de>
8126
8127 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8128 (__start_context): Use END instead of PSEUDO_END.
8129
be8ff03f
JM
81302018-10-22 Joseph Myers <joseph@codesourcery.com>
8131
029ad711
JM
8132 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8133 version to 4.19.
8134
8190520f
JM
8135 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8136 version to 4.19.
8137
be8ff03f
JM
8138 [BZ #23793]
8139 * wcsmbs/c32rtomb.c: New file.
8140 * wcsmbs/mbrtoc32.c: Likewise.
8141 * wcsmbs/tst-c32-state.c: Likewise.
8142 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8143 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8144 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8145 (tests): Add tst-c32-state.
8146 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8147 $(gen-locales).
8148
2dd8e58c
L
81492018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8150
8151 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8152 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8153
d0a74159
JM
81542018-10-19 Joseph Myers <joseph@codesourcery.com>
8155
8156 [BZ #23794]
8157 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8158 pair and return 0 in that case, and use saved character to
8159 interpret following character.
8160 * wcsmbs/tst-c16-surrogate.c: New file.
8161 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8162 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8163 Depend on $(gen-locales)
8164
f997b4be
IYM
81652018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8166
8167 [BZ #23562]
8168 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8169 (struct siginfo_t): Use correct type for si_band.
8170
53b2bb87
FW
81712018-10-19 Florian Weimer <fweimer@redhat.com>
8172
8173 [BZ #23689]
8174 * resource/bits/types/struct_rusage.h (struct rusage): Update
8175 comment on struct. Remove extraneous field comment.
8176
0a271c8f
DM
81772018-10-18 David S. Miller <davem@davemloft.net>
8178
94a3a27f
DM
8179 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8180 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8181 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8182 sysdep_routines in subdir elf.
8183 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8184 version for __vdso_clock_gettime.
8185 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8186 Define.
8187 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8188 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8189
0a271c8f
DM
8190 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8191
72771e53
L
81922018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8193
8194 * sysdeps/i386/init-arch.h: Removed.
8195 * sysdeps/i386/i586/init-arch.h: Likewise.
8196 * sysdeps/i386/i686/init-arch.h: Likewise.
8197 * sysdeps/i386/i686/hp-timing.h: Likewise.
8198 * sysdeps/x86_64/hp-timing.h: Likewise.
8199 * sysdeps/i386/isa.h: New file.
8200 * sysdeps/i386/i586/isa.h: Likewise.
8201 * sysdeps/i386/i686/isa.h: Likewise.
8202 * sysdeps/x86_64/isa.h: Likewise.
8203 * sysdeps/x86/hp-timing.h: New file.
8204 * sysdeps/x86/init-arch.h: Include <isa.h>.
8205
c2b7ccad
JM
82062018-10-17 Joseph Myers <joseph@codesourcery.com>
8207
8208 * math/libm-test-pow.inc (pow_test_data): Do not allow
8209 divide-by-zero exception for pow(+/- 0, -Inf).
8210
26756e57
ZW
82112018-10-17 Zack Weinberg <zackw@panix.com>
8212
8213 * manual/job.texi (Job Control is Optional): Remove node, as
8214 job control has not been optional in quite some time.
8215 (Job Control): Mention briefly that systems older than
8216 POSIX.1-2001 might not support job control.
8217 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8218 defined on systems conforming to POSIX.1-2001.
8219
c5288d37
AS
82202018-10-17 Arjun Shankar <arjun@redhat.com>
8221
8222 [BZ #22062]
8223 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8224 indentation.
8225 * (__gconv_read_conf): Mark function static.
8226 * (once): New static variable.
8227 * (__gconv_load_conf): New function.
8228 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8229 * iconv/gconv_db.c (once): Remove static variable.
8230 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8231 __gconv_read_conf.
8232 * (__gconv_find_transform): Likewise.
8233 * iconv/tst-iconv-mt.c: New test.
8234 * iconv/Makefile: Add tst-iconv_mt.
8235
8c8d2a8a
JM
82362018-10-17 Joseph Myers <joseph@codesourcery.com>
8237
8238 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
729f3402
JM
8239 bits/shm-pad.h.
8240 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8241 (shmatt_t): Define as __syscall_ulong_t.
8242 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8243 and [__SHM_PAD_AFTER_TIME].
8244 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8245 Define shm_segsz and associated padding based on
8246 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8247 Use __syscall_ulong_t instead of unsigned long int.
8248 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8249 unsigned long int.
8250 [__USE_MISC] (struct shm_info): Likewise.
8251 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8252 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8253 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8254 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8255 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8256 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8257 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8258 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8259 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8260 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8261 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8262
8263 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8c8d2a8a
JM
8264 bits/shmlba.h.
8265 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8266 (SHMLBA): Remove macro.
8267 (__getpagesize): Remove function declaration.
8268 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8269 <bits/shmlba.h>.
8270 (SHMLBA): Remove macro.
8271 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8272 <bits/shmlba.h>.
8273 (SHMLBA): Remove macro.
8274 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8275 <bits/shmlba.h>.
8276 (SHMLBA): Remove macro.
8277 (__getpagesize): Remove function declaration.
8278 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8279 <bits/shmlba.h>.
8280 (SHMLBA): Remove macro.
8281 (__getshmlba): Remove function declaration.
8282 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8283 (SHMLBA): Remove macro.
8284 (__getpagesize): Remove function declaration.
8285 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8286 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8287 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8288 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8289 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8290 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8291 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8292 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8293 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8294 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8295
403b4feb
SL
82962018-10-17 Stefan Liebler <stli@linux.ibm.com>
8297
8298 [BZ #23275]
8299 * nptl/tst-mutex10.c: New File.
8300 * nptl/Makefile (tests): Add tst-mutex10.
8301 (tst-mutex10-ENV): New variable.
8302 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8303 Ensure that elision path is used if elision is available.
8304 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8305 Likewise.
8306 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8307 Likewise.
8308 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8309 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8310 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8311 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8312 Likewise.
8313 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8314 (__pthread_mutex_cond_lock_adjust): Likewise.
8315 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8316 Likewise.
8317 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8318 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8319 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8320 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8321 Add comments.
8322 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8323 Use atomic_load_relaxed and atomic_store_relaxed.
8324 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8325 Use atomic_store_relaxed.
8326
ce5a7de6
AS
83272018-10-17 Andreas Schwab <schwab@suse.de>
8328
8329 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8330 * crypt/badsalttest.c (TIMEOUT): Likewise.
8331 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8332 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8333 * io/test-lfs.c (TIMEOUT): Likewise.
8334 * libio/tst-atime.c (TIMEOUT): Likewise.
8335 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8336 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8337 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8338 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8339 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8340 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8341 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8342 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8343 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8344 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8345 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8346 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8347 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8348 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8349 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8350 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8351 * nptl/tst-once2.c (TIMEOUT): Likewise.
8352 * nptl/tst-once3.c (TIMEOUT): Likewise.
8353 * nptl/tst-once4.c (TIMEOUT): Likewise.
8354 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8355 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8356 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8357 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8358 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8359 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8360 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8361 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8362 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8363 * posix/tst-chmod.c (TIMEOUT): Likewise.
8364 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8365 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8366 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8367 * posix/tst-regex2.c (TIMEOUT): Likewise.
8368 * posix/tst-waitid.c (TIMEOUT): Likewise.
8369 * rt/tst-aio.c (TIMEOUT): Likewise.
8370 * rt/tst-aio10.c (TIMEOUT): Likewise.
8371 * rt/tst-aio4.c (TIMEOUT): Likewise.
8372 * rt/tst-aio5.c (TIMEOUT): Likewise.
8373 * rt/tst-aio6.c (TIMEOUT): Likewise.
8374 * rt/tst-aio64.c (TIMEOUT): Likewise.
8375 * rt/tst-aio7.c (TIMEOUT): Likewise.
8376 * rt/tst-aio9.c (TIMEOUT): Likewise.
8377 * rt/tst-clock.c (TIMEOUT): Likewise.
8378 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8379 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8380 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8381 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8382 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8383 * rt/tst-timer4.c (TIMEOUT): Likewise.
8384 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8385 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8386 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8387 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8388 * time/tst-ftime.c (TIMEOUT): Likewise.
8389 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8390
6b5c8607 83912018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
75c1aee5
AY
8392
8393 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8394 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8395 for thunderX2.
8396
bcdb1bfa
JM
83972018-10-15 Joseph Myers <joseph@codesourcery.com>
8398
8399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8400 bits/sem-pad.h.
8401 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8402 instead of <bits/wordsize.h>.
8403 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8404 and [__SEM_PAD_AFTER_TIME].
8405 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8406 __syscall_ulong_t instead of unsigned long int.
8407 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8408 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8409 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8410 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8411 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8412 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8413 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8414 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8415 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8416 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8417 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8418
f4efbdfb
PE
84192018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8420
620a5d4c
PE
8421 regex: simplify by using intprops.h
8422 [BZ#23744]
8423 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8424 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8425 intprops.h defines them.
8426
f4efbdfb
PE
8427 regex: __builtin_expect → __glibc_unlikely
8428 [BZ#23744]
8429 This refactoring was prompted by a problem when the regex code is
8430 used as part of Gnulib and when the builder’s compiler does not grok
8431 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8432 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8433 Although this refactoring does not fix the problem directly,
8434 we might as well have Gawk use the now-preferred glibc style for when
8435 __builtin_expect is unavailable.
8436 * posix/regex_internal.h (BE): Remove.
8437 All uses replaced by __glibc_unlikely or __glibc_likely.
8438
9f9feb6d
JM
84392018-10-11 Joseph Myers <joseph@codesourcery.com>
8440
8441 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8442 bits/msq-pad.h.
8443 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8444 instead of <bits/wordsize.h>.
8445 (msgqnum_t): Define as __syscall_ulong_t.
8446 (msglen_t): Likewise.
8447 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8448 and [__MSQ_PAD_AFTER_TIME].
8449 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8450 __syscall_ulong_t instead of unsigned long int.
8451 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8452 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8453 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8454 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8455 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8456 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8457 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8458 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8459 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8460 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8461 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8462
b9c0f6c1
JM
84632018-10-10 Joseph Myers <joseph@codesourcery.com>
8464
2a4b25fa
JM
8465 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8466 (struct shmid_ds): Condition padding after time fields on
8467 [__WORDSIZE == 32].
8468 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8469 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8470 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8471
19e62f26
JM
8472 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8473 (struct semid_ds): Condition padding after time fields on
8474 [__WORDSIZE == 32].
8475 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8476 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8477 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8478 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8479
b9c0f6c1
JM
8480 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8481 (struct msqid_ds): Condition padding after time fields on
8482 [__WORDSIZE == 32].
8483 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8484 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8485 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8486 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8487
97785a61
SN
84882018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8489
8490 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8491
ed643089
SN
84922018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8493
8494 * libio/tst-readline.c (TIMEOUT): Define.
8495
5a580643
PE
84962018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8497
8498 mktime fix for Gnulib + coreutils
8499 [BZ#23745]
8500 This fix affects only Gnulib. Problem discovered when
8501 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8502 * time/mktime.c:
8503 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8504 Do not define since it is not used. Defining an unused static
8505 function prompts a warning from GCC when Coreutils is configured
8506 with --enable-gcc-warnings.
8507
c892ae04
LS
85082018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8509
8510 * benchtests/scripts/compare_bench.py (main): set float type on
8511 threshold argument.
8512
a68ec8ea
RL
85132018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8514
8515 [BZ #23740]
8516 * localedata/locales/kl_GL (mon): Update, the relative case.
8517 (alt_mon): Add, fill with month names in the nominative case.
8518 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8519 (d_fmt): Set to "%b %d %Y".
8520
a1987621
JM
85212018-10-04 Joseph Myers <joseph@codesourcery.com>
8522
47c49251
JM
8523 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8524 <bits/mman-linux.h>.
8525 (PROT_READ): Don't define here.
8526 (PROT_WRITE): Likewise.
8527 (PROT_EXEC): Likewise.
8528 (PROT_NONE): Likewise.
8529 (PROT_GROWSDOWN): Likewise.
8530 (PROT_GROWSUP): Likewise.
8531 (MAP_SHARED): Likewise.
8532 (MAP_PRIVATE): Likewise.
8533 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8534 [__USE_MISC] (MAP_FILE): Likewise.
8535 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8536 [__USE_MISC] (MAP_ANON): Likewise.
8537 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8538 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8539 (MCL_CURRENT): Likewise.
8540 (MCL_FUTURE): Likewise.
8541 (MCL_ONFAULT): Likewise.
8542 [__USE_MISC] (MADV_NORMAL): Likewise.
8543 [__USE_MISC] (MADV_RANDOM): Likewise.
8544 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8545 [__USE_MISC] (MADV_WILLNEED): Likewise.
8546 [__USE_MISC] (MADV_DONTNEED): Likewise.
8547 [__USE_MISC] (MADV_FREE): Likewise.
8548 [__USE_MISC] (MADV_REMOVE): Likewise.
8549 [__USE_MISC] (MADV_DONTFORK): Likewise.
8550 [__USE_MISC] (MADV_DOFORK): Likewise.
8551 [__USE_MISC] (MADV_HWPOISON): Likewise.
8552 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8553 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8554 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8555 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8556 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8557 (__MAP_ANONYMOUS): New macro.
8558 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8559 <bits/mman-linux.h> inclusion.
8560 (MAP_FIXED): Likewise.
8561 (MS_SYNC): Likewise.
8562 (MS_ASYNC): Likewise.
8563 (MS_INVALIDATE): Likewise.
8564 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8565 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8566 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8567 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8568 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8569 [__USE_MISC] (MADV_DODUMP): Likewise.
8570 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8571 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8572
a1987621
JM
8573 [BZ #23735]
8574 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8575 Define.
8576 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8577 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8578 Add test-nldbl-redirect.
8579 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8580 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8581 $(objpfx)libnldbl_nonshared.a.
8582
e7624d70
SL
85832018-10-04 Stefan Liebler <stli@linux.ibm.com>
8584
8585 * support/support.h (support_objdir_elf_ldso): New variable.
8586 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8587 * support/Makefile (CFLAGS-support_paths.c): Add definition
8588 for OBJDIR_ELF_LDSO_PATH.
8589 * support/test-container.c (main): Search for the ld.so
8590 which is also used by the testsuite.
8591
dae3ed95
RL
85922018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8593
8594 [BZ #20209]
8595 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8596 should be "sap" rather than "sab".
8597 (day): Fix spelling of Sunday, should be "sapaat" rather than
8598 "sabaat".
8599
f346b5b3
JM
86002018-10-02 Joseph Myers <joseph@codesourcery.com>
8601
8602 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8603
4a06ceea
MJ
86042018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8605
8606 [BZ #19444]
8607 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8608 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8609 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8610
a06fc4a5
AZ
86112018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8612
8613 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8614
a1ccc065
L
86152018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8616
8617 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8618 Add -mrtm.
8619 (CFLAGS-elision-unlock.c): Likewise.
8620 (CFLAGS-elision-timed.c): Likewise.
8621 (CFLAGS-elision-trylock.c): Likewise.
8622 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8623
0b727ed4
AZ
86242018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8625
8626 [BZ #21037]
8627 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8628 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8629 new fd_to_filename interface.
8630 * libio/freopen64.c (freopen64): Likewise.
8631 * libio/tst-memstream.h: New file.
8632 * libio/tst-memstream4.c: Likewise.
8633 * libio/tst-wmemstream4.c: Likewise.
8634 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8635 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8636 and remove internal dynamic allocation.
8637
d0e91e8c
JM
86382018-10-01 Joseph Myers <joseph@codesourcery.com>
8639
8640 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8641 (MREMAP_MAYMOVE): Do not define here.
8642 [__USE_GNU] (MREMAP_FIXED): Likewise.
8643 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8644 (MREMAP_MAYMOVE): Define here instead.
8645 [__USE_GNU] (MREMAP_FIXED): Likewise.
8646 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8647 (MREMAP_MAYMOVE): Remove.
8648 [__USE_GNU] (MREMAP_FIXED): Likewise.
8649
c52944e8
JM
86502018-09-28 Joseph Myers <joseph@codesourcery.com>
8651
8652 * math/fromfp.h: Do not include <math_private.h>.
8653 * math/s_cacosh_template.c: Likewise.
8654 * math/s_casin_template.c: Likewise.
8655 * math/s_casinh_template.c: Likewise.
8656 * math/s_ccos_template.c: Likewise.
8657 * math/s_cproj_template.c: Likewise.
8658 * math/s_fdim_template.c: Likewise.
8659 * math/s_fmaxmag_template.c: Likewise.
8660 * math/s_fminmag_template.c: Likewise.
8661 * math/s_iseqsig_template.c: Likewise.
8662 * math/s_ldexp_template.c: Likewise.
8663 * math/s_nextdown_template.c: Likewise.
8664 * math/w_log1p_template.c: Likewise.
8665 * math/w_scalbln_template.c: Likewise.
8666 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8667 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8668 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8669 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8670 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8671 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8672 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8673 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8674 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8675 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8676 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8677 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8678 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8679 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8680 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8681 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8682 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8687 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8688 * sysdeps/ieee754/k_standardf.c: Likewise.
8689 * sysdeps/ieee754/k_standardl.c: Likewise.
8690 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8691 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8692 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8693 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8694 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8695 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8696 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8697 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8698 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8699 * sysdeps/ieee754/s_signgam.c: Likewise.
8700 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8701 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8702 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8703 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8704 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8705 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8706 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8707 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8708 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8709 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8710 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8711 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8712 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8713 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8714 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8715 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8716 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8717 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8718 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8719 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8720 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8721 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8722 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8723 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8724 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8725 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8726 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8727 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8728 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8729 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8730 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8731 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8732 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8733 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8734 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8735 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8736 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8737 <math_private.h>.
8738 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8739
7b1f9406
L
87402018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8741
8742 [BZ #23716]
8743 * sysdeps/i386/dl-cet.c: Removed.
8744 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8745 prototype.
8746 (_dl_runtime_profile_shstk): Likewise.
8747 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8748 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8749
7a16bdbb
AZ
87502018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8751
8752 [BZ #23579]
8753 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8754 do_test_with_invalid_iov): New tests.
8755 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8756 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8757 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8758 errno is ENOSYS.
8759 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8760 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8761 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8762
9755bc46
JM
87632018-09-27 Joseph Myers <joseph@codesourcery.com>
8764
81dca813
JM
8765 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8766 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8767 (MATH_REDIRECT_BINARY_ARGS): New macro.
8768 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8769 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8770 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8771 header inclusion.
8772 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8773 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8774 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8776 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8777 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8778 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8779 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8780 Likewise.
8781 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8782 Likewise.
8783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8784 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8785 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8786 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8787 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8788 Likewise.
8789 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8790 Likewise.
8791 * sysdeps/generic/math_private_calls.h
8792 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8793 Do not declare and define as an inline function.
8794 * math/divtc3.c (__divtc3): Use copysign functions instead of
8795 __copysign variants.
8796 * math/multc3.c (__multc3): Likewise.
8797 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8798 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8799 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8800 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8801 Likewise.
8802 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8803 (__ieee754_yn): Likewise.
8804 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8805 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8806 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8807 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8808 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8809 (__sin): Likewise.
8810 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8811 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8812 Likewise.
8813 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8814 Likewise.
8815 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8816 Likewise.
8817 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8818 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8819 Likewise.
8820 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8821 (__ieee754_ynf): Likewise.
8822 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8823 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8824 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8825 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8826 Likewise.
8827 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8828 (__ieee754_ynl): Likewise.
8829 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8830 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8831 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8832 Likewise.
8833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8834 (__ieee754_ynl): Likewise.
8835 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8836 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8837 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8838 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8839 Likewise.
8840 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8841 (__ieee754_ynl)
8842 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8843 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8844 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8845 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8846 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8847
9755bc46
JM
8848 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8849 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8850 using MATH_REDIRECT.
8851 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8852 header inclusion.
8853 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8854 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8855 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8856 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8857 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8858 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8859 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8860 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8861 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8864 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8865 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8866 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8867 (round): Redirect to __round.
8868 (__roundl): Call round instead of __round.
8869 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8870 Remove macro.
8871 [_ARCH_PWR5X] (__roundf): Likewise.
8872 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8873 functions instead of __round variants.
8874 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8875 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8876 Likewise.
8877 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8878 Likewise.
8879 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8880 Likewise.
8881 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8882 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8883 __lroundl.
8884 (__ieee754_expl): Call roundl instead of __roundl.
8885
f841c97e
AS
88862018-09-27 Andreas Schwab <schwab@suse.de>
8887
8888 [BZ #23717]
8889 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8890 (do_test): Make st1 static.
8891
6ca8284e
AS
88922018-09-26 Andreas Schwab <schwab@suse.de>
8893
8894 [BZ #23707]
8895 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8896 * elf/Makefile (tests): Add tst-unwind-ctor.
8897 (modules-names): Add tst-unwind-ctor-lib.
8898 ($(objpfx)tst-unwind-ctor): Depend on
8899 $(objpfx)tst-unwind-ctor-lib.so.
8900
61d8b5fe
JM
89012018-09-26 Joseph Myers <joseph@codesourcery.com>
8902
8903 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8904 file. Most contents moved from ....
8905 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8906 and include <bits/mman-map-flags-generic.h>.
8907 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8908 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8909 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8910 <bits/mman-map-flags-generic.h>.
8911 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8912 macros defined in <bits/mman-map-flags-generic.h>.
8913 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8914 <bits/mman-map-flags-generic.h>.
8915 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8916 defined in <bits/mman-map-flags-generic.h>.
8917
46341286
AS
89182018-09-26 Andreas Schwab <schwab@suse.de>
8919
8920 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8921 output.
8922
b5c45e83
AZ
89232018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8924 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8925 Fangrui Song <maskray@google.com>
8926
8927 [BZ #20480]
8928 * config.make.in (have-textrel_ifunc): New define.
8929 * configure.ac: Add check if linker supports textrel relocation with
8930 ifunc.
8931 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8932 tst-ifunc-textrel.
8933 (CFLAGS-tst-ifunc-textrel.c): New rule.
8934 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8935 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8936 * elf/tst-ifunc-textrel.c: New file.
8937
8ea4d2b7
JM
89382018-09-25 Joseph Myers <joseph@codesourcery.com>
8939
d62f9ec0
JM
8940 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8941 <bits/procfs-prregset.h>.
8942 (prgregset_t): Define using __prgregset_t.
8943 (prfpregset_t): Define using __prfpregset_t.
8944 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8945 (sysdep_headers): Add bits/procfs-prregset.h.
8946 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
8947 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
8948 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
8949 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
8950
d0d8eb43
JM
8951 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8952 <bits/procfs-id.h> and <bits/procfs-extra.h>.
8953 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
8954 pr_uid and pr_gid.
8955 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8956 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
8957 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
8958 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
8959 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
8960 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
8961 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
8962 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
8963 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
8964 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
8965 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
8966 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
8967 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
8968 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
8969 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
8970 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
8971 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
8972 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
8973 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
8974 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
8975 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
8976 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
8977 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
8978 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
8979
8ea4d2b7
JM
8980 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
8981 AArch64 version. Include <bits/procfs.h>.
8982 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8983 (sysdep_headers): Add bits/procfs.h.
8984 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
8985 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
8986 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
8987 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
8988 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
8989 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
8990 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
8991 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
8992 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
8993 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
8994 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
8995 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
8996 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
8997 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
8998 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
8999 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9000 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9001
c7027166
AZ
90022018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9003
9004 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9005 Use libsupport.
9006
335a3b0a
AS
90072018-09-25 Arjun Shankar <arjun@redhat.com>
9008
9009 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9010 (__gconv_max_path_elem_len): Likewise.
9011 (__gconv_nmodules): Likewise.
9012 (__gconv_get_path): Likewise.
9013 (path_elem): Move to ...
9014 * iconv/gconv_conf.c: ... here.
9015 (__gconv_get_path): Mark function static.
9016 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9017 * iconv/gconv_open.c: ... here.
9018
462d348c
AS
90192018-09-24 Andreas Schwab <schwab@suse.de>
9020
9021 * scripts/haveversions.awk: New file.
9022 * Makerules ($(common-objpfx)Versions.def)
9023 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9024 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9025 Move rules ...
9026 * Makeconfig ($(common-objpfx)Versions.def)
9027 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9028 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9029 ... here.
9030 ($(common-objpfx)Versions.mk): New rule. Include it.
9031 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9032 Emit error if build-obsolete-nsl = yes.
9033 * manual/install.texi (Configuring and compiling): Describe
9034 --enable-obsolete-nsl as unavaiable after version 2.28.
9035 * INSTALL: Regenerate.
9036
f0458cf4
AZ
90372018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9038
9039 * NEWS: Add note about new TLE support on powerpc64le.
9040 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9041 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9042 __ununsed1.
9043 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9044 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9045 * sysdeps/powerpc/powerpc32/sysdep.h,
9046 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9047 ABORT_TRANSACTION): Remove macros.
9048 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9049 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9050 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9052 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9053 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9054 usage.
9055 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9056
434d45fd
RL
90572018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9058
9059 [BZ #10425]
9060 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9061 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9062 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9063 which is the same as in it_IT.
9064 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9065 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9066
d90c9b1a
JM
90672018-09-20 Joseph Myers <joseph@codesourcery.com>
9068
7abf97be
JM
9069 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9070 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9071 using MATH_REDIRECT.
9072 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9073 header inclusion.
9074 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9075 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9076 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9077 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9078 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9079 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9081 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9082 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9083 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9084 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9085 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9086 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9087 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9088 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9089 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9090 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9091 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9092 (ceil): Redirect to __ceil.
9093 (floor): Redirect to __floor.
9094 (trunc): Redirect to __trunc.
9095 (__truncl): Call trunc instead of __trunc.
9096 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9097 Remove macro.
9098 [_ARCH_PWR5X] (__truncf): Likewise.
9099 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9100 trunc functions instead of __trunc variants.
9101 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9102 Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9104 Likewise.
9105 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9106 Likewise.
9107 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9108 Likewise.
9109
d90c9b1a
JM
9110 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9111 [__i586__ || __pentium__].
9112 [__i486__]: Handle explicitly.
9113 (HAS_CPUID): Define to 1 if above macros are undefined.
9114 (HAS_I586): Likewise.
9115 (HAS_I686): Likewise.
9116
db9a8ad4
FW
91172018-09-20 Florian Weimer <fweimer@redhat.com>
9118
9119 * misc/tst-gethostid.c: New file.
9120 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9121 (tst-gethostid): Link with -ldl.
9122
1214ba06
MY
91232018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9124
9125 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9126 value from gethostbyname_r.
9127
791b350d
CD
91282018-09-19 Carlos O'Donell <carlos@redhat.com>
9129
9130 * stdlib/tst-setcontext9.c (f1): Rename to...
9131 (f1a): ... this.
9132 (f1b): New function implementing lower half of f1 in alternate stack.
9133
8e6fd2bd
PE
91342018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9135
e1080e7e
PE
9136 Fix mktime localtime offset confusion
9137 [BZ #23603]
9138 * include/time.h (__mktime_internal): The localtime offset is now
9139 of type long int instead of time_t. This is the longstanding type
9140 in glibc, and it is more than enough to represent difference
9141 between localtime and gmtime even if it is 32 bits and time_t is
9142 64. Changing it now will let us avoid an unnecessary change when
9143 time_t is widened to 64 bits on 32-bit platforms.
9144 * time/mktime-internal.h (mktime_offset_t): Now long int.
9145
8e6fd2bd
PE
9146 Merge mktime, timegm from upstream Gnulib
9147 [BZ #23603][BZ #16346]
9148 This fixes some obscure problems with integer overflow.
9149 Although it looks scary, it is almost all a byte-for-byte copy
9150 from Gnulib, and the Gnulib code has been tested reasonably well.
9151 * include/intprops.h: New file, copied from Gnulib.
9152 * include/verify.h, time/mktime-internal.h:
9153 New tiny files, simplified from Gnulib.
9154 * time/mktime.c: Copy from Gnulib. This has the following changes:
9155 Do not include config.h if DEBUG_MKTIME is nonzero.
9156 Include stdbool.h, intprops.h, verify.h.
9157 Include string.h only if needed.
9158 Include stdlib.h on MS-Windows.
9159 Include mktime-internal.h.
9160 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9161 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9162 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9163 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9164 simplify later conditionals; default the others to zero. Use
9165 these conditionals to express only the code needed on the current
9166 platform. In uses of these conditionals, explicitly spell out how
9167 _LIBC affects things, so it’s easier to review from a glibc
9168 viewpoint.
9169 (WRAPV): Remove; no longer needed now that we have
9170 systematic overflow checking.
9171 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9172 compartmentalize tzset issues. Move system-dependent tzsettish
9173 code here from mktime.
9174 (verify): Remove; now done by verify.h. All uses changed.
9175 (long_int): Use a more-conservative definition, to avoid
9176 integer overflow.
9177 (SHR): Remove, replacing with ...
9178 (shr): New function, which means we needn’t worry about side
9179 effects in args, and conversion analysis is simpler.
9180 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9181 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9182 (time_t_avg, time_t_add_ok): Remove.
9183 (mktime_min, mktime_max): New constants.
9184 (leapyear, isdst_differ): Use bool for booleans.
9185 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9186 Use long_int, not time_t, for mktime differences.
9187 (long_int_avg): New function, replacing time_t_avg.
9188 INT_ADD_WRAPV replaces time_t_add_ok.
9189 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9190 All uses changed.
9191 (convert_time): New function.
9192 (ranged_convert): Use it.
9193 (__mktime_internal): Last arg now points to mktime_offset_t, not
9194 time_t. All uses changed. This is a no-op on glibc, where
9195 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9196 offset guess. Directly check for integer overflow instead of
9197 using a heuristic that works only 99.9...% of the time.
9198 Access *OFFSET only once, to avoid an unlikely race if the
9199 compiler delays a load and if this cascades into a signed integer
9200 overflow.
9201 (mktime): Move tzsettish code to my_tzset, and move
9202 localtime_offset to within mktime so that it doesn’t
9203 need a separate ifdef.
9204 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9205 instead of localtime.
9206 * time/timegm.c: Copy from Gnulib. This has the following changes:
9207 Include mktime-internal.h.
9208 [!_LIBC]: Include config.h and time.h. Do not include
9209 timegm.h or time_r.h. Make __mktime_internal a macro,
9210 and include mktime-internal.h to get its declaration.
9211 (timegm): Temporary is now mktime_offset_t, not time_t.
9212 This affects only Gnulib.
9213
83a552b0
WD
92142018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9215
9216 [BZ #23637]
9217 * string/test-strstr.c (pr23637): New function.
9218 (test_main): Add tests with longer needles.
9219 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9220 * string/strstr.c (AVAILABLE): Likewise.
9221
d7347278
SN
92222018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9223
9224 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9225
424c4f60
SN
92262018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9227
9228 * NEWS: Mention pow improvements.
9229 * math/Makefile (type-double-routines): Add e_pow_log_data.
9230 * sysdeps/generic/math_private.h (__exp1): Remove.
9231 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9232 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9233 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9234 contraction.
9235 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9236 (exp_inline): Remove.
9237 (__ieee754_exp): Only single double input is handled.
9238 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9239 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9240 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9241 (__pow_log_data): Define.
9242 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9243 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9244 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9245 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9246 contraction.
9247 (CFLAGS-e_pow-fma4.c): Likewise.
9248
e4e4fde5
PE
92492018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9250
dab9c348
PE
9251 Simplify tzfile fstat failure code
9252 [BZ #21716]
9253 * time/tzfile.c (__tzfile_read): Simplify slightly.
9254
e4e4fde5
PE
9255 Fix tzfile low-memory assertion failure
9256 [BZ #21716]
9257 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9258 when registering time zone abbreviations.
9259
50bc59ca
JM
92602018-09-18 Joseph Myers <joseph@codesourcery.com>
9261
d3a43e49
JM
9262 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9263 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9264 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9265 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9266 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9267 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9268 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9269 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9270 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9271
50bc59ca
JM
9272 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9273 __ceil.
9274 (__ceill): Call ceil instead of __ceil.
9275 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9276 __floor.
9277 (__floorl): Call floor instead of __floor.
9278
89983cb3
JM
92792018-09-17 Joseph Myers <joseph@codesourcery.com>
9280
71223ef9
JM
9281 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9282 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9283 using MATH_REDIRECT.
9284 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9285 header inclusion.
9286 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9287 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9288 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9289 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9290 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9291 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9292 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9293 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9295 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9298 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9299 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9300 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9301 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9302 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9303 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9304 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9305 Remove macro.
9306 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9307 functions instead of __ceil variants.
9308 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9309 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9310 Likewise.
9311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9312 Likewise.
9313 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9314 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9315 Likewise.
9316 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9317 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9318
89983cb3
JM
9319 [BZ #21286]
9320 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9321 constant.
9322 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9323 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9324 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9325 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9326 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9327 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9328 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9329 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9330 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9331 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9332 (ILL_BADIADDR): Remove constant.
9333 (TRAP_BRANCH): Likewise.
9334 (TRAP_HWBKPT): Likewise.
9335
e44acb20
JM
93362018-09-14 Joseph Myers <joseph@codesourcery.com>
9337
3f7f1d18
JM
9338 [BZ #23656]
9339 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9340 Remove [_MIPS_SIM = _ABIN32] conditional case.
9341 (struct elf_prpsinfo): Likewise.
9342
d59f3e5e
JM
9343 [BZ #23649]
9344 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9345 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9346 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9347 Likewise.
9348 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9349 elf_prpsinfo): Likewise.
9350 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9351 elf_prpsinfo): Likewise.
9352 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9353 Likewise.
9354
f29b6f17
JM
9355 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9356 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9357 using MATH_REDIRECT.
9358 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9359 header inclusion.
9360 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9361 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9362 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9363 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9364 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9365 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9366 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9367 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9368 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9369 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9370 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9371 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9372 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9373 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9374 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9375 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9376 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9377 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9378 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9381 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9382 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9383 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9384 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9385 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9386 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9387 __rint variants.
9388 * math/e_scalbf.c (invalid_fn): Likewise.
9389 * math/e_scalbl.c (invalid_fn): Likewise.
9390 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9391 Likewise.
9392 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9393 Likewise.
9394 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9395 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9396 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9397 Likewise.
9398 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9399 Likewise.
9400 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9401 Likewise.
9402 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9403 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9404
e44acb20
JM
9405 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9406 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9407 New macro.
9408 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9409 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9410 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9411 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9412 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9413 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9414 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9415 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9416 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9417 && !NO_MATH_REDIRECT] (floor): Likewise.
9418 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9419 header inclusion.
9420 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9421 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9422 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9423 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9424 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9425 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9426 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9427 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9428 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9432 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9433 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9434 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9435 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9436 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9437 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9438 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9439 Remove macro.
9440 [_ARCH_PWR5X] (__floorf): Likewise.
9441 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9442 inline function.
9443 [__SSE4_1__] (__floorf): Likewise.
9444 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9445 instead of __floor variants.
9446 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9447 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9448 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9449 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9450 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9451 * math/w_tgamma_compat.c (__tgamma): Likewise.
9452 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9453 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9454 * math/w_tgammal_compat.c (__tgammal): Likewise.
9455 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9456 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9457 Likewise.
9458 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9459 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9460 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9461 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9462 Likewise.
9463 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9464 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9465 Likewise.
9466 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9467 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9468 Likewise.
9469 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9470 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9471 Likewise.
9472 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9473 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9474 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9475 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9476 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9477 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9478
221e4bab
JM
94792018-09-12 Joseph Myers <joseph@codesourcery.com>
9480
9481 * elf/Makefile (modules-names-tests): New variable.
9482
3e08ff54
SN
94832018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9484
9485 * NEWS: Mention log2 improvements.
9486 * math/Makefile (type-double-routines): Add e_log2_data.
9487 * sysdeps/i386/fpu/e_log2_data.c: New file.
9488 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9489 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9490 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9491 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9492 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9493 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9494
f41b0a43
SN
94952018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9496
9497 * NEWS: Mention log improvement.
9498 * math/Makefile (type-double-routines): Add e_log_data.
9499 * sysdeps/i386/fpu/e_log_data.c: New file.
9500 * sysdeps/ia64/fpu/e_log_data.c: New file.
9501 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9502 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9503 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9504 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9505 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9506 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9507
5a274db4
L
95082018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9509 Xuepeng Guo <xuepeng.guo@intel.com>
9510
9511 [BZ #23606]
9512 * sysdeps/i386/start.S: Include <sysdep.h>
9513 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9514 enabled. Add cfi_undefined (eip).
9515
b1176270
JM
95162018-09-11 Joseph Myers <joseph@codesourcery.com>
9517
4e7fbdd7
JM
9518 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9519 (MOVQ): Likewise.
9520 (EXTRACT_WORDS64): Likewise.
9521 (INSERT_WORDS64): Likewise.
9522 (GET_FLOAT_WORD): Likewise.
9523 (SET_FLOAT_WORD): Likewise.
9524
b1176270
JM
9525 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9526 argument.
9527 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9528 build, but not for second build if --full-gcc. Use
9529 --enable-languages=all for second build if --full-gcc.
9530 (get_parser): Add --full-gcc option.
9531 (main): Update call to Context.
9532
527f355e
RL
95332018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9534
9535 [BZ #10797]
9536 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9537 Single Quotation Mark).
9538 (thousands_sep): Likewise.
9539 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9540 * localedata/locales/it_IT (thousands_sep): Use ".".
9541 (grouping): Use "3;3".
9542
7244f13d
JM
95432018-09-10 Joseph Myers <joseph@codesourcery.com>
9544
9545 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9546 x86_64 and i686 configs using --enable-obsolete-rpc
9547 --enable-obsolete-nsl.
9548
38245425
SL
95492018-09-06 Stefan Liebler <stli@linux.ibm.com>
9550
9551 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9552
28669f86
SL
95532018-09-06 Stefan Liebler <stli@linux.ibm.com>
9554
9555 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9556 Increment size of new_argv by one.
9557
a33650d1
RL
95582018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9559
9560 [BZ #17426]
9561 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9562 * localedata/locales/ar_IN (d_fmt): Likewise.
9563 * localedata/locales/bhb_IN (d_fmt): Likewise.
9564 * localedata/locales/bho_IN (d_fmt): Likewise.
9565 * localedata/locales/bn_BD (d_fmt): Likewise.
9566 * localedata/locales/bn_IN (d_fmt): Likewise.
9567 * localedata/locales/doi_IN (d_fmt): Likewise.
9568 * localedata/locales/gu_IN (d_fmt): Likewise.
9569 * localedata/locales/hi_IN (d_fmt): Likewise.
9570 * localedata/locales/hne_IN (d_fmt): Likewise.
9571 * localedata/locales/kn_IN (d_fmt): Likewise.
9572 * localedata/locales/mag_IN (d_fmt): Likewise.
9573 * localedata/locales/mai_IN (d_fmt): Likewise.
9574 * localedata/locales/mjw_IN (d_fmt): Likewise.
9575 * localedata/locales/ml_IN (d_fmt): Likewise.
9576 * localedata/locales/mni_IN (d_fmt): Likewise.
9577 * localedata/locales/mr_IN (d_fmt): Likewise.
9578 * localedata/locales/pa_IN (d_fmt): Likewise.
9579 * localedata/locales/raj_IN (d_fmt): Likewise.
9580 * localedata/locales/sat_IN (d_fmt): Likewise.
9581 * localedata/locales/sd_IN (d_fmt): Likewise.
9582 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9583 * localedata/locales/ta_IN (d_fmt): Likewise.
9584 * localedata/locales/ta_LK (d_fmt): Likewise.
9585 * localedata/locales/tcy_IN (d_fmt): Likewise.
9586 * localedata/locales/ur_IN (d_fmt): Likewise.
9587
9588 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9589 * localedata/locales/ks_IN (d_fmt): Likewise.
9590 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9591
9592 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9593 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9594 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9595 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9596
d114e6a7
SN
95972018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9598
9599 * NEWS: Mention exp and exp2 improvements.
9600 * math/Makefile (libm-support): Remove t_exp.
9601 (type-double-routines): Add math_err and e_exp_data.
9602 * sysdeps/aarch64/libm-test-ulps: Update.
9603 * sysdeps/arm/libm-test-ulps: Update.
9604 * sysdeps/i386/fpu/e_exp_data.c: New file.
9605 * sysdeps/i386/fpu/math_err.c: New file.
9606 * sysdeps/i386/fpu/t_exp.c: Remove.
9607 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9608 * sysdeps/ia64/fpu/math_err.c: New file.
9609 * sysdeps/ia64/fpu/t_exp.c: Remove.
9610 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9611 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9612 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9613 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9614 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9615 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9616 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9617 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9618 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9619 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9620 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9621 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9622 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9623 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9625 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9626
b9d8c474
JM
96272018-09-05 Joseph Myers <joseph@codesourcery.com>
9628
b7cdc2ae
JM
9629 * sysdeps/alpha/fpu/math_private.h: Remove.
9630
b9d8c474
JM
9631 * sysdeps/generic/math_private.h
9632 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9633 Move this inline function ....
9634 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9635 * include/math.h [!_ISOMAC]: To here....
9636
418d99e6
JM
96372018-09-04 Joseph Myers <joseph@codesourcery.com>
9638
9639 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9640 code ....
9641 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9642 * include/fenv.h [!_ISOMAC]: ... to here.
9643 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9644 (feraiseexcept): Likewise.
9645 * math/fromfp.h: Do not include <fenv_private.h>.
9646 * math/s_cexp_template.c: Likewise.
9647 * math/s_csin_template.c: Likewise.
9648 * math/s_csinh_template.c: Likewise.
9649 * math/s_ctan_template.c: Likewise.
9650 * math/s_ctanh_template.c: Likewise.
9651 * math/s_iseqsig_template.c: Likewise.
9652 * math/w_acos_compat.c: Likewise.
9653 * math/w_acosf_compat.c: Likewise.
9654 * math/w_acosl_compat.c: Likewise.
9655 * math/w_asin_compat.c: Likewise.
9656 * math/w_asinf_compat.c: Likewise.
9657 * math/w_asinl_compat.c: Likewise.
9658 * math/w_j0_compat.c: Likewise.
9659 * math/w_j0f_compat.c: Likewise.
9660 * math/w_j0l_compat.c: Likewise.
9661 * math/w_j1_compat.c: Likewise.
9662 * math/w_j1f_compat.c: Likewise.
9663 * math/w_j1l_compat.c: Likewise.
9664 * math/w_jn_compat.c: Likewise.
9665 * math/w_jnf_compat.c: Likewise.
9666 * math/w_log10_compat.c: Likewise.
9667 * math/w_log10f_compat.c: Likewise.
9668 * math/w_log10l_compat.c: Likewise.
9669 * math/w_log2_compat.c: Likewise.
9670 * math/w_log2f_compat.c: Likewise.
9671 * math/w_log2l_compat.c: Likewise.
9672 * math/w_log_compat.c: Likewise.
9673 * math/w_logf_compat.c: Likewise.
9674 * math/w_logl_compat.c: Likewise.
9675 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9676 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9677 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9678 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9679 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9680 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9681 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9682 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9683 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9684 * sysdeps/ieee754/k_standardl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9686 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9687 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9688 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9689 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9690 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9696 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9697 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9698 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9699 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9700 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9701 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9702 * math/w_ilogb_template.c: Include <fenv.h> instead of
9703 <fenv_private.h>.
9704 * math/w_llogb_template.c: Likewise.
9705 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9706 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9707
70e2ba33
JM
97082018-09-03 Joseph Myers <joseph@codesourcery.com>
9709
9710 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9711 * math/fromfp.h: Include <fenv_private.h>.
9712 * math/math-narrow.h: Likewise.
9713 * math/s_cexp_template.c: Likewise.
9714 * math/s_csin_template.c: Likewise.
9715 * math/s_csinh_template.c: Likewise.
9716 * math/s_ctan_template.c: Likewise.
9717 * math/s_ctanh_template.c: Likewise.
9718 * math/s_iseqsig_template.c: Likewise.
9719 * math/w_acos_compat.c: Likewise.
9720 * math/w_acosf_compat.c: Likewise.
9721 * math/w_acosl_compat.c: Likewise.
9722 * math/w_asin_compat.c: Likewise.
9723 * math/w_asinf_compat.c: Likewise.
9724 * math/w_asinl_compat.c: Likewise.
9725 * math/w_ilogb_template.c: Likewise.
9726 * math/w_j0_compat.c: Likewise.
9727 * math/w_j0f_compat.c: Likewise.
9728 * math/w_j0l_compat.c: Likewise.
9729 * math/w_j1_compat.c: Likewise.
9730 * math/w_j1f_compat.c: Likewise.
9731 * math/w_j1l_compat.c: Likewise.
9732 * math/w_jn_compat.c: Likewise.
9733 * math/w_jnf_compat.c: Likewise.
9734 * math/w_llogb_template.c: Likewise.
9735 * math/w_log10_compat.c: Likewise.
9736 * math/w_log10f_compat.c: Likewise.
9737 * math/w_log10l_compat.c: Likewise.
9738 * math/w_log2_compat.c: Likewise.
9739 * math/w_log2f_compat.c: Likewise.
9740 * math/w_log2l_compat.c: Likewise.
9741 * math/w_log_compat.c: Likewise.
9742 * math/w_logf_compat.c: Likewise.
9743 * math/w_logl_compat.c: Likewise.
9744 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9745 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9746 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9747 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9748 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9749 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9750 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9751 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9752 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9753 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9754 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9755 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9756 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9757 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9758 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9759 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9760 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9761 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9762 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9763 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9764 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9765 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9766 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9767 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9768 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9769 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9770 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9771 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9772 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9773 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9774 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9775 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9776 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9777 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9778 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9779 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9780 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9781 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9782 * sysdeps/ieee754/k_standardl.c: Likewise.
9783 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9784 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9785 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9786 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9787 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9788 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9789 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9790 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9791 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9792 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9793 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9801 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9803 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9804 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9805 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9806 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9807 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9808 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9809 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9810 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9811 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9812 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9813 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9814 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9815 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9816 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9817 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9818 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9819 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9820 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9821 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9822 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9823 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9824 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9825 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9826 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9827 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9828 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9829 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9830 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9831 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9832 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9833 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9834 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9835 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9836 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9837 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9838 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9839 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9840 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9841 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9842 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9843 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9844 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9845 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9846 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9847 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9848 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9849 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9850 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9851 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9852 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9853 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9854
a6e8926f
PP
98552018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9856
9857 [BZ #20271]
9858 * include/stdio.h (__libc_fatal): Mention newline in comment.
9859 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9860 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9861 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9862 * nss/nsswitch.c (__nss_next2): Likewise.
9863 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9864 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9865 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9866 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9867 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9868 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9869 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9870 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9871 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9872 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9873 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9874 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9875 (__netlink_assert_response): Likewise.
9876
2bbd06bc
JM
98772018-08-31 Joseph Myers <joseph@codesourcery.com>
9878
9879 * conform/glibcconform.py: New file.
9880 * conform/list-header-symbols.py: Likewise.
9881 * conform/list-header-symbols.pl: Remove.
9882 * conform/Makefile (tests-special): Only add linknamespace tests
9883 if [PYTHON].
9884 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9885
81b9d87b
L
98862018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9887
9888 [BZ #23597]
9889 * support/Makefile (libsupport-routines): Add
9890 support_copy_file_range and xcopy_file_range.
9891 * support/support.h: Include <sys/types.h>.
9892 (support_copy_file_range): New prototype.
9893 * support/support_copy_file_range.c: New file. Copied and
9894 modified from io/copy_file_range-compat.c.
9895 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9896 instead of copy_file_range.
9897 * support/xcopy_file_range.c: New file.
9898 * support/xunistd.h (xcopy_file_range): New prototype.
9899
d330f31a
CD
99002018-08-30 Carlos O'Donell <carlos@redhat.com>
9901
9902 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9903 xpthread_create and xpthread_join.
9904
2bda273a
FW
99052018-08-30 Florian Weimer <fweimer@redhat.com>
9906
9907 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9908
3bad2358
SL
99092018-08-30 Stefan Liebler <stli@linux.ibm.com>
9910
9911 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9912 if malloc fails.
9913
09c12efc
JM
99142018-08-29 Joseph Myers <joseph@codesourcery.com>
9915
9916 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9917 and minus_oflow as non-finite.
9918
ff6b2450
JM
99192018-08-28 Joseph Myers <joseph@codesourcery.com>
9920
9921 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9922 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9923 moved to fenv_private.h except for ...
9924 (TOINT_INTRINSICS): Kept in math_private.h.
9925 (roundtoint): Likewise.
9926 (converttoint): Likewise.
9927 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9928 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9929 * sysdeps/arm/math_private.h: Remove.
9930 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9931 ....
9932 * sysdeps/generic/math_private.h: ... this file. Include
9933 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9934 Include <fenv_private.h>. Remove functions and macros moved to
9935 fenv_private.h.
9936 * sysdeps/i386/fpu/math_private.h: Remove.
9937 * sysdeps/mips/math_private.h: Move to ....
9938 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9939 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9940 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9941 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9942 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9943 * sysdeps/powerpc/fpu/math_private.h: Do not include
9944 <fenv_private.h>.
9945 * sysdeps/riscv/rvf/math_private.h: Move to ....
9946 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
9947 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
9948 <fenv_private.h>.
9949 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
9950 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9951 * sysdeps/sparc/fpu/math_private.h: Remove.
9952 * sysdeps/i386/fpu/fenv_private.h: Move to ....
9953 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
9954 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
9955 <fenv_private.h>.
9956 * sysdeps/x86_64/fpu/math_private.h: Do not include
9957 <sysdeps/i386/fpu/fenv_private.h>.
9958
761404b7
FW
99592018-08-28 Florian Weimer <fweimer@redhat.com>
9960
9961 [BZ #23578]
9962 * posix/tst-regcomp-truncated.c: New file.
9963 * posix/Makefile (tests): Add it.
9964 (tst-regcomp-truncated.out): Depend on generated locales.
9965
d6c44c3d
FW
99662018-08-28 Florian Weimer <fweimer@redhat.com>
9967
9968 * support/test-container.c (main): Treat unshare failure with
9969 EPERM as an unsupported test.
9970
745664bd
FW
99712018-08-28 Florian Weimer <fweimer@redhat.com>
9972
9973 [BZ #23520]
9974 nscd: Fix use-after-free in addgetnetgrentX and its callers.
9975 * nscd/netgroupcache.c
9976 (addgetnetgrentX): Add tofreep parameter. Do not free
9977 heap-allocated buffer.
9978 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
9979 (addgetnetgrentX_ignore): New function.
9980 (addgetnetgrent): Call it.
9981 (readdgetnetgrent): Likewise.
9982
c8dd67e7
RS
99832018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9984
9985 * string/memmem.c: Use memcmp for first match.
9986
5abedf97
RL
99872018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
9988
9989 [BZ #17426]
9990 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
9991
86de0499
DD
99922018-08-27 DJ Delorie <dj@redhat.com>
9993
9994 * support/Makefile (others): Don't list programs explicitly as a
9995 dependency of "others".
9996
c3ab2110
JM
99972018-08-27 Joseph Myers <joseph@codesourcery.com>
9998
9999 * sysdeps/generic/math-tests-trap-force.h: New file.
10000 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10001 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10002 * sysdeps/powerpc/math-tests.h: Remove file.
10003 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10004
6b5c8607
TS
100052018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10006 Torvald Riegel <triegel@redhat.com>
99ea93ca
MK
10007
10008 [BZ #23538]
10009 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10010 Update r to include the set wake-request flag if waiters are
10011 remaining after spinning.
10012
4061791f
JM
100132018-08-27 Joseph Myers <joseph@codesourcery.com>
10014
10015 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10016
bc680b33
PE
100172018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10018
761404b7 10019 [BZ #23578]
bc680b33
PE
10020 regex: fix uninitialized memory access
10021 I introduced this bug into gnulib in commit
10022 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10023 eventually it was merged into glibc. The bug was found by
10024 project-repo <bugs@feusi.co> and reported here:
10025 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10026 Diagnosis and draft fix reported by Assaf Gordon here:
10027 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10028 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10029 * posix/regex_internal.c (build_wcs_upper_buffer):
10030 Fix bug when mbrtowc returns 0.
10031
02458a52
CD
100322018-08-24 Carlos O'Donell <carlos@redhat.com>
10033
10034 * po/be.po: Update translation.
10035
acc2842a
DD
100362018-08-24 DJ Delorie <dj@delorie.com>
10037
10038 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10039 $(libunwind).
10040
6c3a8a9d
PP
100412018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10042
b39d961c
TS
10043 [BZ #23400]
10044 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10045 create temporary files in source tree.
6c3a8a9d 10046
895ef79e
JM
100472018-08-24 Joseph Myers <joseph@codesourcery.com>
10048
10049 * sysdeps/generic/math-tests-trap.h: New file.
10050 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10051 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10052 * sysdeps/aarch64/math-tests.h: Remove file.
10053 * sysdeps/arm/math-tests.h: Likewise.
10054 * sysdeps/riscv/math-tests.h: Likewise.
10055 * sysdeps/aarch64/math-tests-trap.h: New file.
10056 * sysdeps/arm/math-tests-trap.h: Likewise.
10057 * sysdeps/riscv/math-tests-trap.h: Likewise.
10058
ca3aac57
WD
100592018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10060
10061 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10062 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10063 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10064 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10065 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10066 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10067 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10068 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10069 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10070 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10071 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10072 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10073 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10074 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10075 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10076 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10077 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10078 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10079
60bcac09
JM
100802018-08-23 Joseph Myers <joseph@codesourcery.com>
10081
10082 * sysdeps/generic/math-tests-exceptions.h: New file.
10083 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10084 (EXCEPTION_TESTS_float): Do not define here.
10085 (EXCEPTION_TESTS_double): Likewise.
10086 (EXCEPTION_TESTS_long_double): Likewise.
10087 (EXCEPTION_TESTS_float128): Likewise.
10088 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10089 Likewise.
10090 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10091 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10092 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10093 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10094 * sysdeps/mips/math-tests.h: Likewise.
10095 * sysdeps/nios2/math-tests.h: Likewise.
10096 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10097 (EXCEPTION_TESTS_float): Do not define here.
10098 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10099 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10100 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10101
3bded567
WD
101022018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10103
10104 * NEWS: Move optimized sinf entry to 2.29.
10105
900fb446
WD
101062018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10107
10108 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10109
561b0bec
DD
101102018-08-22 DJ Delorie <dj@redhat.com>
10111
10112 * Makefile (testroot.pristine): New rules to initialize the
10113 test-in-container "testroot".
10114 * Makerules (all-testsuite): Add tests-container.
10115 * Rules (tests-expected): Add tests-container.
10116 (binaries-all-tests): Likewise.
10117 (tests-container): New, run these tests in the testroot container.
10118 * support/Makefile (others): Add *-container, support_paths.c,
10119 xmkdirp, and links-dso-program.
10120 * support/links-dso-program-c.c: New.
10121 * support/links-dso-program.cc: New.
10122 * support/test-container.c: New.
10123 * support/shell-container.c: New.
10124 * support/echo-container.c: New.
10125 * support/true-container.c: New.
10126 * support/xmkdirp.c: New.
10127 * support/xsymlink.c: New.
10128 * support/support_paths.c: New.
10129 * support/support.h: Add support paths prototypes.
10130 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10131
10132 * nss/tst-nss-test3.c: Convert to test-in-container.
10133 * nss/tst-nss-test3.root/: New.
10134
b35d3509
PE
101352018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10136
10137 regex: port Gnulib code to z/OS POSIX environment
10138 Problem reported by Arnold Robbins in:
10139 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10140 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10141 Undef.
10142
16a25138
JM
101432018-08-22 Joseph Myers <joseph@codesourcery.com>
10144
debc4c98
JM
10145 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10146 (ROUNDING_TESTS_double): Remove.
10147 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10148 (ROUNDING_TESTS_double): Remove.
10149 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10150 (ROUNDING_TESTS_double): Remove.
10151 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10152 (ROUNDING_TESTS_float): Remove.
10153 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10154 (ROUNDING_TESTS_float): Remove.
10155 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10156 (ROUNDING_TESTS_float): Remove.
10157 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10158 !TEST_MATHVEC here.
10159 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10160 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10161
16a25138
JM
10162 * sysdeps/generic/math-tests-rounding.h: New file.
10163 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10164 (ROUNDING_TESTS_float): Do not define here.
10165 (ROUNDING_TESTS_double): Likewise.
10166 (ROUNDING_TESTS_long_double): Likewise.
10167 (ROUNDING_TESTS_float128): Likewise.
10168 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10169 (ROUNDING_TESTS_double): Undefine before defining.
10170 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10171 (ROUNDING_TESTS_double): Undefine before defining.
10172 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10173 (ROUNDING_TESTS_double): Undefine before defining.
10174 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10175 (ROUNDING_TESTS_float): Undefine before defining.
10176 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10177 (ROUNDING_TESTS_float): Undefine before defining.
10178 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10179 (ROUNDING_TESTS_float): Undefine before defining.
10180 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10181 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10182 not define here.
10183 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10184 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10185 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10186 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10187 (ROUNDING_TESTS_float): Do not define here.
10188 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10189 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10190 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10191 (ROUNDING_TESTS_float): Likewise.
10192 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10193 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10194 * sysdeps/mips/math-tests.h [__mips_soft_float]
10195 (ROUNDING_TESTS_float): Likewise.
10196 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10197 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10198 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10199 (ROUNDING_TESTS_double): Likewise.
10200 (ROUNDING_TESTS_long_double): Likewise.
10201
38b0593e
TK
102022018-08-21 Tobias Klauser <tklauser@distanz.ch>
10203
10204 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10205 (PF_XDP): New macro.
10206 (AF_XDP): New macro.
10207 (SOL_XDP): New macro.
10208
5cd7dbde
JM
102092018-08-21 Joseph Myers <joseph@codesourcery.com>
10210
10211 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10212 (TCP_INQ): Likewise.
10213 (TCP_CM_INQ): Likewise.
10214 (TCP_REPAIR_ON): Likewise.
10215 (TCP_REPAIR_OFF): Likewise.
10216 (TCP_REPAIR_OFF_NO_WP): Likewise.
10217 (struct tcp_zerocopy_receive): New type.
10218
aa42b3db
FW
102192018-08-21 Florian Weimer <fweimer@redhat.com>
10220
10221 * support/support.h (support_descriptor_supports_holes): Declare.
10222 * support/Makefile (libsupport-routines): Add
10223 support_descriptor_supports_holes.
10224 * support/support_descriptor_supports_holes.c: New file.
10225 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10226 and stop testing if holes are not supported.
10227 * io/test-lfs.c (do_prepare): Likewise.
10228 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10229 Likewise.
10230 * timezone/tst-tzset.c (create_tz_file): Likewise.
10231 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10232 variable.
10233 (do_prepare): Set it.
10234 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10235
c7627f41
FW
102362018-08-21 Florian Weimer <fweimer@redhat.com>
10237
10238 [BZ #17248]
10239 * Makeconfig (+cflags): Do not sort (and deduplicate).
10240
ef939d92
FW
102412018-08-21 Florian Weimer <fweimer@redhat.com>
10242
10243 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10244 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10245
88ffb39d
FW
102462018-08-20 Florian Weimer <fweimer@redhat.com>
10247
10248 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10249 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10250
17419540
JM
102512018-08-20 Joseph Myers <joseph@codesourcery.com>
10252
e6edd40d
JM
10253 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10254 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10255 and ssi_arch members.
10256
17419540
JM
10257 * elf/elf.c (NT_VMCOREDD): New macro.
10258 (AT_MINSIGSTKSZ): Likewise.
10259
fa78896b
RS
102602018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10261
10262 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10263 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10264 s_cosf-ppc64 and s_cosf-power8.
10265 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10266 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10267 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10268 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10270 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10271 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10273 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10274 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10275 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10276 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10277
86a6c75a
FW
102782018-08-17 Florian Weimer <fweimer@redhat.com>
10279
10280 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10281
35cfefd9
FW
102822018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10283
10284 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10285
6413fcde
FW
102862018-08-16 Florian Weimer <fweimer@redhat.com>
10287
10288 * configure.ac: Add --with-nonshared-cflags option.
10289 * config.make.in (extra-nonshared-cflags): Set variable.
10290 * Makeconfig (CFLAGS-.oS): Use it.
10291 * manual/install.texi (Configuring and compiling): Document
10292 --with-nonshared-cflags.
10293 * configure: Regenerate.
10294 * INSTALL: Likewise.
10295
93a2584c
FW
102962018-08-16 Florian Weimer <fweimer@redhat.com>
10297
10298 * Makeconfig (ASFLAGS): Always append required assembler flags.
10299
f6f275d2 103002018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
d6db68e6
ME
10301
10302 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10303 (malloc_consolidate): Likewise.
10304
30a17d8c
PC
103052018-08-16 Pochang Chen <johnchen902@gmail.com>
10306
10307 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10308
953a5a4a
SP
103092018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10310
34f86d61
SP
10311 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10312 every strlen call.
10313
953a5a4a
SP
10314 * benchtests/bench-strlen.c: Print performance numbers in json.
10315
7793ad7a
RS
103162018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10317
10318 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10319 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10320 only for little endian.
10321 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10322 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10323 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10324 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10325 Add check for little endian.
10326 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10327 (__strcmp_power9): Add check for little endian.
10328 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10329 Add check for little endian.
10330 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10331 (__strncmp_power9): Add check for little endian.
10332 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10333 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10334 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10335 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10336 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10337
436e4d5b
SP
103382018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10339
10340 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10341 [!STRLEN](STRLEN): Set to __strlen.
10342 * sysdeps/aarch64/multiarch/strlen.c: New file.
10343 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10344 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10345 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10346 (__libc_ifunc_impl_list): Add strlen.
10347 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10348 strlen_generic and strlen_asimd.
10349
126c4e3f
WD
103502018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10351
10352 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10353 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10354 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10355
49acec17
WD
103562018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10357
10358 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10359
fdb16de3
FW
103602018-08-14 Florian Weimer <fweimer@redhat.com>
10361
10362 [BZ #23519]
10363 * include/stdio.h (__vfxprintf): Declare.
10364 * stdio-common/fxprintf.c (__vfxprintf): New function.
10365 (__fxprintf): Call it.
10366 * misc/err.c (convert_and_print): Remove function.
10367 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10368 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10369 * misc/Makefile (tests): Add tst-warn-wide.
10370 * misc/tst-warn-wide.c: New file.
10371
599cf397
WD
103722018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10373 Szabolcs Nagy <szabolcs.nagy@arm.com>
10374
10375 * NEWS: Mention sinf, cosf, sincosf.
10376 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10377 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10378 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10379 constants rather than including generic sincosf.h.
10380 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10381 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10382 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10383 (reduced_cos): Remove.
10384 (sinf_poly): New function.
10385 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10386
e95c6f61
FW
103872018-08-14 Florian Weimer <fweimer@redhat.com>
10388
10389 [BZ #23521]
10390 [BZ #23522]
10391 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10392 processing, bail out if no room, and close the stream before
10393 returning ERANGE.
10394 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10395 (tst-nss-files-alias-leak): Link with libdl.
10396 (tst-nss-files-alias-leak.out): Depend on nss_files.
10397
10398 * nss/tst-nss-files-alias-leak.c: New file.
10399
2d7acfac
FW
104002018-08-14 Florian Weimer <fweimer@redhat.com>
10401
10402 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10403 server_user, stat_user.
10404
f3cd0904
JM
104052018-08-13 Joseph Myers <joseph@codesourcery.com>
10406
17b26500
JM
10407 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10408 version to 4.18.
10409 (io_pgetevents): New syscall.
10410 (rseq): Likewise.
10411
3c1622eb
JM
10412 * manual/install.texi (Configuring and compiling): Do not list
10413 tools used for testing pretty printers here.
10414 (Tools for Compilation): List Python, PExpect and GDB here.
10415 Update descriptions of uses of Perl and Python.
10416 * INSTALL: Regenerate.
10417
f3cd0904
JM
10418 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10419 version to 4.18.
10420
b7b52b9d
FW
104212018-08-13 Florian Weimer <fweimer@redhat.com>
10422
10423 * misc/error.c (error): Add missing va_end call.
10424 (error_at_line): Likewise.
10425
01780188
FW
104262018-08-13 Florian Weimer <fweimer@redhat.com>
10427
10428 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10429
44727aec
SP
104302018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10431
8cac1f26
SP
10432 * benchtests/scripts/benchout.schema.json (properties): Add
10433 new properties.
10434
44727aec
SP
10435 * benchtests/bench-skeleton.c (main): Add duration and
10436 iterations attributes.
10437
c77bf91b
PE
104382018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10439
10440 regex: Gnulib unibyte RRI uses bytes not chars
10441 Adjust the non-glibc code to agree with what Gawk needs for
10442 rational range interpretation (RRI) for regular expression ranges.
10443 In unibyte locales, Gawk wants ranges to use the underlying byte
10444 rather than the character code point. This change does not affect
10445 glibc proper.
10446 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10447 In unibyte locales, use the byte value rather than
10448 running it through btowc.
10449
2ce7ba7d
JM
104502018-08-10 Joseph Myers <joseph@codesourcery.com>
10451
10452 * sysdeps/generic/math-tests-snan.h: New file.
10453 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10454 (SNAN_TESTS_float): Do not define here.
10455 (SNAN_TESTS_double): Likewise.
10456 (SNAN_TESTS_long_double): Likewise.
10457 (SNAN_TESTS_float128): Likewise.
10458 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10459 * sysdeps/i386/fpu/math-tests.h: Remove file.
10460 * sysdeps/ia64/math-tests-snan.h: New file.
10461 * sysdeps/ia64/math-tests.h: Remove file.
10462 * sysdeps/x86/math-tests.h: Likewise.
10463 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10464
ea5c662c
WD
104652018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10466 Szabolcs Nagy <szabolcs.nagy@arm.com>
10467
10468 * math/Makefile: Add s_sincosf_data.c.
10469 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10470 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10471 (sincosf_poly): Likewise.
10472 (reduce_small): Likewise.
10473 (reduce_large): Likewise.
10474 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10475 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10476 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10477 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10478
43cfdf8f
SN
104792018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10480 Szabolcs Nagy <szabolcs.nagy@arm.com>
10481
10482 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10483 (converttoint): Use lround.
10484 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10485 document the semantics when TOINT_INTRINSICS is set.
10486 (converttoint): Likewise.
10487 (TOINT_RINT): Remove.
10488 (TOINT_SHIFT): Remove.
10489 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10490 path.
10491
69065288
FW
104922018-08-10 Florian Weimer <fweimer@redhat.com>
10493
10494 [BZ #23497]
10495 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10496 function.
10497 (__old_getdents64): Use getdents64. Convert entries without
10498 moving them.
10499 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10500 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10501 tst-readdir64-compat.
10502
8f135efc
IL
105032018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10504
10505 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10506 Fix unwind.
10507
71c01af5
IL
105082018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10509
10510 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10511 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10512 code to s390x-mcount.h and #include it.
10513 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10515 (__fentry__): Add.
10516
8d997d22
IL
105172018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10518
10519 * stdlib/Versions: Remove __fentry__.
10520 * sysdeps/i386/Versions: Add __fentry__.
10521 * sysdeps/x86_64/Versions: Add __fentry__.
10522
69e2444a
IL
105232018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10524
10525 * sysdeps/s390/Makefile: Register the new tests.
10526 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10527 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10528 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10529 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10530 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10531 * sysdeps/s390/tst-dl-runtime.c: New file.
10532
bde6320f
IL
105332018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10534
10535 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10536 Do not clobber R0.
10537
5755f5e4
IL
105382018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10539
10540 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10541 Do not clobber R0.
10542
c8ad8522
IL
105432018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10544
10545 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10546 Do not clobber R0.
10547
b215eee1
IL
105482018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10549
10550 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10551 Do not clobber R0.
10552
329c6fec
IL
105532018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10554
10555 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10556 Use symbolic offsets for stack variables.
10557
0fb7afa2
IL
105582018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10559
10560 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10561 Use symbolic offsets for stack variables.
10562
6954059a
IL
105632018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10564
10565 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10566 Use symbolic offsets for stack variables.
10567
c7099673
IL
105682018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10569
10570 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10571 Use symbolic offsets for stack variables.
10572
2813e41e
JM
105732018-08-09 Joseph Myers <joseph@codesourcery.com>
10574
10575 * math/gen-libm-test.py: New file.
10576 * math/gen-libm-test.pl: Remove.
10577 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10578 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10579 gen-libm-test.pl.
10580 ($(libm-test-c-noauto-obj)): Likewise.
10581 ($(libm-test-c-auto-obj)): Likewise.
10582 ($(libm-test-c-narrow-obj)): Likewise.
10583 (regen-ulps): Likewise.
10584 * math/README.libm-test: Update references to gen-libm-test.pl.
10585 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10586 referencing gen-libm-test.pl.
10587 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10588 * math/libm-test-support.c: Likewise.
10589 * math/libm-test-support.h: Likewise.
10590 * sysdeps/generic/libm-test-ulps: Likewise.
10591
be64b194
SP
105922018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10593
10594 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10595 Fix value.
10596
140137fb
JM
105972018-08-08 Joseph Myers <joseph@codesourcery.com>
10598
10599 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10600 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10601
b5403eca
ST
106022018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10603
10604 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10605 symbols.
8ac0f9e6
ST
10606 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10607 __pthread_setspecific): Add hidden proto.
10608 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10609 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
b5403eca 10610
014efdd7
SP
106112018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10612
10613 * benchtests/bench-string.h (buf1_size, buf2_size): New
10614 variables.
10615 (init_sizes): New function.
10616 (test_init): Use it.
10617 (alloc_buf, exit_error): New functions.
10618 (alloc_bufs): Use ALLOC_BUF.
10619 (realloc_bufs): Remove.
10620 * benchtests/bench-memcmp.c (do_test): Adjust.
10621 * benchtests/bench-memset-large.c (do_test): Likewise.
10622 * benchtests/bench-memset-walk.c (do_test): Likewise.
10623 * benchtests/bench-memset.c (do_test): Likewise.
10624 * benchtests/bench-strncmp.c (do_test): Likewise.
10625
92a4cba7
AS
106262018-08-06 Andreas Schwab <schwab@suse.de>
10627
10628 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10629 of CONST_THREAD_AREA.
10630
fb4c32ae
L
106312018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10632
10633 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10634 (STATE_SAVE_MASK): Likewise.
10635 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10636 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10637 (STATE_SAVE_MASK): Likewise.
10638 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10639 instead of <cpu-features.h>.
10640
bf418187
DD
106412018-08-03 DJ Delorie <dj@redhat.com>
10642
10643 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
e5721f45 10644 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
bf418187 10645
bb17621a
DD
10646 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10647
ea705eb5
JM
106482018-08-03 Joseph Myers <joseph@codesourcery.com>
10649
10650 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10651 after TEST_* calls.
10652 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10653 * math/libm-test-logb.inc (logb_test_data): Likewise.
10654
284f42bc
WD
106552018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10656
10657 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10658 * string/strstr.c (AVAILABLE): Likewise.
10659
430388d5
L
106602018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10661
10662 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10663 <init-arch.h>.
10664 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10665 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10666 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10667
c5760aa9
CD
106682018-08-03 Carlos O'Donell <carlos@redhat.com>
10669
10670 * po/be.po: Update translation.
10671
6b535b84
CD
10672 * po/be.po: Update translation.
10673
ae67f2e5
L
106742018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10675
10676 * sysdeps/x86/cpu-features-offsets.sym
10677 (rtld_global_ro_offsetof): Removed.
10678 (CPU_FEATURES_SIZE): Likewise.
10679 (CPUID_OFFSET): Likewise.
10680 (CPUID_SIZE): Likewise.
10681 (CPUID_EAX_OFFSET): Likewise.
10682 (CPUID_EBX_OFFSET): Likewise.
10683 (CPUID_ECX_OFFSET): Likewise.
10684 (CPUID_EDX_OFFSET): Likewise.
10685 (FAMILY_OFFSET): Likewise.
10686 (MODEL_OFFSET): Likewise.
10687 (FEATURE_OFFSET): Likewise.
10688 (FEATURE_SIZ): Likewise.
10689 (COMMON_CPUID_INDEX_1): Likewise.
10690 (COMMON_CPUID_INDEX_7): Likewise.
10691 (FEATURE_INDEX_1): Likewise.
10692 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10693
6b5c8607 106942018-08-02 Carlos O'Donell <carlos@redhat.com>
08a5ee14
CD
10695
10696 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10697 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10698 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10699 (install-locales): Depend on install-locale-archive.
10700 (install-locale-archive): Define.
7b7adbd8 10701 (install-locale-files): Define.
08a5ee14
CD
10702 (build-one-locale): Define macro.
10703 * manual/install.texi (Running make install): Document.
10704 * manual/INSTALL: Regenerate.
10705
525691bd
SP
107062018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10707
d67d634b
SP
10708 * benchtests/scripts/compare_strings.py: Import traceback.
10709 (parse_file): Pretty-print error.
10710
525691bd
SP
10711 * NEWS: Mention the change.
10712 * elf/dl-tunables.list: Rename tune namespace to cpu.
10713 * sysdeps/powerpc/dl-tunables.list: Likewise.
10714 * sysdeps/x86/dl-tunables.list: Likewise.
10715 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10716 cpu.name.
10717 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10718 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10719 * manual/README.tunables: Likewise.
10720 * manual/tunables.texi: Likewise.
10721 * sysdeps/powerpc/cpu-features.c: Likewise.
10722 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10723 (init_cpu_features): Likewise.
10724 * sysdeps/x86/cpu-features.c: Likewise.
10725 * sysdeps/x86/cpu-features.h: Likewise.
10726 * sysdeps/x86/cpu-tunables.c: Likewise.
10727 * sysdeps/x86_64/Makefile: Likewise.
10728 * sysdeps/x86/dl-cet.c: Likewise.
10729
506d7fb1
JM
107302018-08-02 Joseph Myers <joseph@codesourcery.com>
10731
10732 [BZ #23479]
10733 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10734 [__mips_hard_float].
10735 (FE_UNDERFLOW): Likewise.
10736 (FE_OVERFLOW): Likewise.
10737 (FE_DIVBYZERO): Likewise.
10738 (FE_INVALID): Likewise.
10739 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10740 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10741 (FE_UPWARD): Likewise.
10742 (FE_DOWNWARD): Likewise.
10743 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10744 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10745 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10746 [__mips_hard_float].
10747 (FP_ROUNDMODE): Likewise.
10748 (FP_RND_NEAREST): Likewise.
10749 (FP_RND_ZERO): Likewise.
10750 (FP_RND_PINF): Likewise.
10751 (FP_RND_MINF): Likewise.
10752 (FP_EX_INVALID): Likewise.
10753 (FP_EX_OVERFLOW): Likewise.
10754 (FP_EX_UNDERFLOW): Likewise.
10755 (FP_EX_DIVZERO): Likewise.
10756 (FP_EX_INEXACT): Likewise.
10757 (FP_INIT_ROUNDMODE): Likewise.
10758 * sysdeps/mips/nofpu/fesetenv.c: New file.
10759 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10760
f6dcefbe
JM
107612018-08-01 Joseph Myers <joseph@codesourcery.com>
10762
10763 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10764 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10765 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10766 conditional on [FE_UPWARD].
10767
fa67ba06
PE
107682018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10769
10770 regex: fix memory leak in Gnulib
10771 Problem and fix reported by Assaf Gordon in:
10772 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10773 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10774 range_ends members too, as they are defined in 'struct
10775 re_charset_t' even if not _LIBC. This affects only Gnulib.
10776
82c80ac2
L
107772018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10778
10779 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10780 ...
10781 (get_common_indices): This.
10782 (init_cpu_features): Updated.
10783
c0e7e2c1
JM
107842018-08-01 Joseph Myers <joseph@codesourcery.com>
10785
46f8cf57
JM
10786 * sysdeps/generic/math-tests-snan-payload.h: New file.
10787 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10788 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10789 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10790 * sysdeps/generic/math-tests.h: Include
10791 <math-tests-snan-payload.h>.
10792 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10793 * sysdeps/hppa/math-tests.h: Remove file.
10794 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10795 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10796 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10797 Likewise.
10798
c0e7e2c1
JM
10799 * sysdeps/generic/math-tests-snan-cast.h: New file.
10800 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10801 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10802 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10803 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10804
74939c83
CD
108052018-08-01 Carlos O'Donel <carlos@redhat.com>
10806
b029723b
CD
10807 * version.h (RELEASE): Set to "development".
10808 (VERSION): Set to "2.28.9000".
10809 * NEWS (2.29): New section.
10810
3c03baca
CD
10811 * version.h (RELEASE): Set to "stable".
10812 (VERSION): Set to "2.28".
10813 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10814 * NEWS: Add the list of bugs fixed in 2.28.
10815
74939c83
CD
10816 * po/ca.po: Update to latest version.
10817 * po/cs.po: Likewise
10818 * po/da.po: Likewise
10819 * po/el.po: Likewise
10820 * po/eo.po: Likewise
10821 * po/es.po: Likewise
10822 * po/fi.po: Likewise
10823 * po/fr.po: Likewise
10824 * po/gl.po: Likewise
10825 * po/hu.po: Likewise
10826 * po/ia.po: Likewise
10827 * po/id.po: Likewise
10828 * po/it.po: Likewise
10829 * po/ja.po: Likewise
10830 * po/ko.po: Likewise
10831 * po/lt.po: Likewise
10832 * po/nb.po: Likewise
10833 * po/nl.po: Likewise
10834 * po/pt_BR.po: Likewise
10835 * po/ru.po: Likewise
10836 * po/rw.po: Likewise
10837 * po/sk.po: Likewise
10838 * po/sl.po: Likewise
10839 * po/tr.po: Likewise
10840 * po/zh_CN.po: Likewise
10841 * po/zh_TW.po: Likewise
10842
d4b54bdf
ST
108432018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10844
10845 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10846 initialization...
10847 (init): ... before initializing libpthread.
10848
42fc12ef
ST
10849 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10850 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10851 (__mach_setup_tls): ... new function.
10852 (mach_setup_tls): New alias.
10853 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10854 __mach_setup_thread.
10855 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10856 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10857 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10858 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10859
6cca855e
CD
108602018-07-31 Carlos O'Donell <carlos@redhat.com>
10861
f650932b
CD
10862 * manual/install.texi: Update versions.
10863 * INSTALL: Regenerate.
10864
6cca855e
CD
10865 * manual/contrib.texi (Contributors): Update contributions.
10866
07fdea47
CD
108672018-07-31 Carlos O'Donell <carlos@redhat.com>
10868
10869 * po/be.po: Update translations.
10870
63d5fad4
AZ
108712018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10872
10873 * sysdeps/sh/libm-test-ulps: Update.
10874
1ff712a6
CD
108752018-07-30 Carlos O'Donell <carlos@redhat.com>
10876
10877 * po/bg.po: Update translations.
10878 * po/de.po: Likewise.
10879 * po/hr.po: Likewise.
10880 * po/pt_BR.po: Likewise.
10881 * po/sv.po: Likewise.
10882 * po/vi.po: Likewise.
10883
98864ed0
L
108842018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10885
10886 [BZ #23467]
10887 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10888 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10889 (CFLAGS-tst-cet-property-1.o): New.
10890 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10891 ($(objpfx)tst-cet-property-2): Likewise.
10892 ($(objpfx)tst-cet-property-2.out): Likewise.
10893 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10894 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10895 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10896 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10897 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10898
c92a00d8
L
108992018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10900
10901 [BZ #23458]
10902 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10903
99bc6241
ST
109042018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10905
10906 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10907 __sbrk): Do not set attribute_hidden.
af86087f 10908 * sysdeps/mach/hurd/not-errno.h: New file.
99bc6241
ST
10909 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10910 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10911
bcb1c4af
CD
109122018-07-27 Carlos O'Donell <carlos@redhat.com>
10913
10914 * po/uk.po: Update translations.
10915 * po/cs.po: Likewise.
10916 * po/pl.po: Likewise.
10917
4591b7db
L
109182018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10921 parse beyond the note end.
10922
2c6da2f4
AZ
109232018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10924
10925 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10926 kernel does not support OFD locks.
10927 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10928
20365a31
ST
109292018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10930
10931 * sysdeps/mach/hurd/Versions (libc): Make __access and
10932 __access_noerrno external so they can override the ld symbols.
10933 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10934 __writev, __open64, __access_noerrno extern so they can be overrided.
10935 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10936 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10937
cb1a43db
CD
109382018-07-26 Carlos O'Donell <carlos@redhat.com>
10939
10940 * po/libc.pot: Regenerate.
10941
74759ae5
JM
109422018-07-26 Joseph Myers <joseph@codesourcery.com>
10943
10944 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
10945
da80612d
L
109462018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10947
10948 [BZ #23459]
10949 * sysdeps/x86/cpu-features.c (get_extended_indices): New
10950 function.
10951 (init_cpu_features): Call get_extended_indices for both Intel
10952 and AMD CPUs.
10953 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
10954 Remove "for AMD" comment.
10955
65d87ade
L
109562018-07-26 H.J. Lu <hongjiu.lu@intel.com>
10957
10958 [BZ # 23456]
10959 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
10960 COMMON_CPUID_INDEX_80000001.
10961
c9dc4d51
SL
109622018-07-26 Stefan Liebler <stli@linux.ibm.com>
10963
10964 * string/tst-xbzero-opt.c (use_test_buffer): New function.
10965 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
10966
cfba5dbb
FW
109672018-07-26 Florian Weimer <fweimer@redhat.com>
10968
10969 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
10970 aliases for symbols not in the implementation namespace.
10971
6b5c8607 109722018-07-25 Carlos O'Donell <carlos@redhat.com>
7cd7d36f
CD
10973
10974 [BZ #23393]
10975 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
10976 lowercase in LATIN script.
10977 * localedata/Makefile (test-input): Add en_US.UTF-8.
10978 * localedata/en_US.UTF-8.in: New file.
10979 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
10980 and restore old tests.
10981 * posix/tst-regexloc.c (do_test): Add back range expression test.
10982
3fb455b3
L
109832018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10984
10985 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
10986
d6499b70
AZ
109872018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10988
10989 * nptl/threads.h: Move to ...
10990 * sysdeps/nptl/threads.h: ... here.
10991 * sysdeps/hurd/stdc-predef.h: New file.
10992
08ac6bed
L
109932018-07-25 H.J. Lu <hongjiu.lu@intel.com>
10994
10995 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10996 tst-cet-setcontext-1 if CET is enabled.
10997 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
10998 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
10999
9faaf938
AZ
110002018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11001
11002 * include/threads.h: Move to ...
11003 * sysdeps/nptl/threads.h: ... here.
11004 * sysdeps/htl/threads.h: New file.
11005 * conform/Makefile (linknamespace-libs-ISO11): Use
11006 static-thread-library instead of linking libpthread.
11007 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11008
d6b8f847
FW
110092018-07-25 Florian Weimer <fweimer@redhat.com>
11010
11011 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11012 nanoseconds into seconds.
11013 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11014 (do_test): Likewise.
11015 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11016 (do_test): Likewise. Avoid nanosecond overflow and spurious
11017 timeouts due to system load.
11018 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11019 (child_wait): Increment it.
11020 (do_test): Wait as long as necessary until all expected threads
11021 have arrived.
11022
25123a1c
L
110232018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11024 H.J. Lu <hongjiu.lu@intel.com>
11025
11026 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11027 __ssp.
11028 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11029 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11030 (__push___start_context): New.
11031 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11032 <asm/prctl.h>.
11033 (__getcontext): Record the current shadow stack base. Save the
11034 caller's shadow stack pointer and base.
11035 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11036 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11037 (__push___start_context): New prototype.
11038 (__makecontext): Call __push___start_context to allocate a new
11039 shadow stack, push __start_context onto the new stack as well
11040 as the new shadow stack.
11041 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11042 <asm/prctl.h>.
11043 (__setcontext): Restore the target shadow stack.
11044 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11045 <asm/prctl.h>.
11046 (__swapcontext): Record the current shadow stack base. Save
11047 the caller's shadow stack pointer and base. Restore the target
11048 shadow stack.
11049 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11050 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11051 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11052
375a4844
L
110532018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11054
11055 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11056 tst-setcontext8 and tst-setcontext9.
11057 * stdlib/tst-setcontext6.c: New file.
11058 * stdlib/tst-setcontext7.c: Likewise.
11059 * stdlib/tst-setcontext8.c: Likewise.
11060 * stdlib/tst-setcontext9.c: Likewise.
11061
bd4f7903
L
110622018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11063
11064 * stdlib/Makefile ((tests): Add tst-setcontext5.
11065 * stdlib/tst-setcontext5.c: New file.
11066
7e28f203
L
110672018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11068
11069 * stdlib/Makefile (tests): Add tst-setcontext4.
11070 * stdlib/tst-setcontext4.c: New file.
11071
8516ad2d
L
110722018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11073
11074 * stdlib/Makefile (tests): Add tst-swapcontext1.
11075 * stdlib/tst-swapcontext1.c: New test.
11076
fddcd003
L
110772018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11078
11079 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11080 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11081 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11082 and tst-cet-legacy-4c.
11083 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11084 and tst-cet-legacy-mod-4.
11085 (CFLAGS-tst-cet-legacy-2.c): New.
11086 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11087 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11088 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11089 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11090 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11091 ($(objpfx)tst-cet-legacy-1): Likewise.
11092 ($(objpfx)tst-cet-legacy-2): Likewise.
11093 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11094 ($(objpfx)tst-cet-legacy-2a): Likewise.
11095 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11096 ($(objpfx)tst-cet-legacy-4): Likewise.
11097 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11098 ($(objpfx)tst-cet-legacy-4a): Likewise.
11099 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11100 (tst-cet-legacy-4a-ENV): Likewise.
11101 ($(objpfx)tst-cet-legacy-4b): Likewise.
11102 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11103 (tst-cet-legacy-4b-ENV): Likewise.
11104 ($(objpfx)tst-cet-legacy-4c): Likewise.
11105 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11106 (tst-cet-legacy-4c-ENV): Likewise.
11107 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11108 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11109 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11110 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11111 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11112 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11113 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11114 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11115 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11116 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11117 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11118
9aa3113a
L
111192018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11120
11121 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11122 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11123 with ssp_base.
11124 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11125 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11126 with ssp_base.
11127
9c79cec8
AS
111282018-07-25 Andreas Schwab <schwab@suse.de>
11129
11130 [BZ #23442]
11131 * locale/weightwc.h (findidx): Handle the case where usrc is a
11132 prefix of cp but one character too short.
11133
969c3355
AZ
111342018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11135
11136 * NEWS: Add ISO C threads addition.
11137
e0f9c462
FW
111382018-07-24 Florian Weimer <fweimer@redhat.com>
11139
11140 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11141 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11142 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11143 4.13.
11144
394df381
L
111452018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11146
11147 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11148 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11149 <sys/prctl.h> and <asm/prctl.h>.
11150 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11151 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11152 and <asm/prctl.h>.
11153 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11154 ARCH_CET_LEGACY_BITMAP.
11155 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11156 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11157 * sysdeps/x86/libc-start.c: Include <startup.h>.
11158
46545530
FW
111592018-07-24 Florian Weimer <fweimer@redhat.com>
11160
11161 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11162 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11163
6b5c8607 111642018-07-24 Rical Jasan <rj@2c3t.io>
9d0a979e 11165 Adhemerval Zanella <adhemerval.zanella@linaro.org>
0a07288b
AZ
11166 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11167
11168 [BZ #14092]
9d0a979e
RJ
11169 * manual/debug.texi: Update adjacent chapter name.
11170 * manual/probes.texi: Likewise.
11171 * manual/threads.texi (ISO C Threads): New section.
11172 (POSIX Threads): Convert to a section.
11173
111742018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11175 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11176
11177 [BZ# 14092]
0a07288b
AZ
11178 * nptl/Makefile (tests): Add new test files.
11179 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11180 * nptl/tst-cnd-basic.c: Likewise.
11181 * nptl/tst-cnd-broadcast.c: Likewise.
11182 * nptl/tst-cnd-timedwait.c: Likewise.
11183 * nptl/tst-mtx-basic.c: Likewise.
11184 * nptl/tst-mtx-recursive.c: Likewise.
11185 * nptl/tst-mtx-timedlock.c: Likewise.
11186 * nptl/tst-mtx-trylock.c: Likewise.
11187 * nptl/tst-thrd-basic.c: Likewise.
11188 * nptl/tst-thrd-detach.c: Likewise.
11189 * nptl/tst-thrd-sleep.c: Likewise.
11190 * nptl/tst-tss-basic.c: Likewise.
11191
ce7528f6
AZ
111922018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11193
c6dd669b
AZ
11194 [BZ #14092]
11195 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11196 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11197 symbols.
11198 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11199 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11200 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11201 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11202 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11203 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11204 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11205 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11206 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11207 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11208 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11209 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11211 Likewise.
11212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11213 Likewise.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11215 Likewise.
11216 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11217 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11218 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11219 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11220 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11221 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11222 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11223 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11224 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11225 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11226 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11227 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11228 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11229 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11230 Likewise.
11231 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11232 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11233 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11234 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11235 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11236 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11237 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11238 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11239 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11240 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11241 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11242 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11243 ikewise.
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11245 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11246 Likewise.
11247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11248 Likewise.
11249 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11251 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11252 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11253 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11257
78d40132
AZ
11258 [BZ #14092]
11259 * conform/data/threads.h-data (thread_local): New macro.
11260 (TSS_DTOR_ITERATIONS): Likewise.
11261 (tss_t): New type.
11262 (tss_dtor_t): Likewise.
11263 (tss_create): New function.
11264 (tss_get): Likewise.
11265 (tss_set): Likewise.
11266 (tss_delete): Likewise.
11267 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11268 tss_get, and tss_set objects.
11269 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11270 * nptl/tss_create.c: New file.
11271 * nptl/tss_delete.c: Likewise.
11272 * nptl/tss_get.c: Likewise.
11273 * nptl/tss_set.c: Likewise.
11274 * sysdeps/nptl/threads.h (thread_local): New define.
11275 (TSS_DTOR_ITERATIONS): Likewise.
11276 (tss_t): New typedef.
11277 (tss_dtor_t): Likewise.
11278 (tss_create): New prototype.
11279 (tss_get): Likewise.
11280 (tss_set): Likewise.
11281 (tss_delete): Likewise.
11282
918311a3
AZ
11283 [BZ #14092]
11284 * conform/data/threads.h-data (cnd_t): New type.
11285 (cnd_init): New function.
11286 (cnd_signal): Likewise.
11287 (cnd_broadcast): Likewise.
11288 (cnd_wait): Likewise.
11289 (cnd_timedwait): Likewise.
11290 (cnd_destroy): Likewise.
11291 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11292 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11293 object.
11294 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11295 * nptl/cnd_broadcast.c: New file.
11296 * nptl/cnd_destroy.c: Likewise.
11297 * nptl/cnd_init.c: Likewise.
11298 * nptl/cnd_signal.c: Likewise.
11299 * nptl/cnd_timedwait.c: Likewise.
11300 * nptl/cnd_wait.c: Likewise.
11301 * sysdeps/nptl/threads.h (cnd_t): New type.
11302 (cnd_init): New prototype.
11303 (cnd_signa): Likewise.
11304 (cnd_broadcast): Likewise.
11305 (cnd_wait): Likewise.
11306 (cnd_timedwait): Likewise.
11307 (cnd_destroy): Likewise.
11308
3c20a679
AZ
11309 [BZ #14092]
11310 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11311 (once_flag): New type.
11312 (call_once): New function.
11313 * nptl/Makefile (libpthread-routines): Add call_once object.
11314 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11315 * nptl/call_once.c: New file.
11316 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11317 (once_flag): New type.
11318 (call_once): New prototype.
11319
18d59c1b
AZ
11320 [BZ #14092]
11321 * conform/data/threads.h-data (mtx_plain): New constant.
11322 (mtx_recursive): Likewise.
11323 (mtx_timed): Likewise.
11324 (mtx_t): New type.
11325 (mtx_init): New function.
11326 (mtx_lock): Likewise.
11327 (mtx_timedlock): Likewise.
11328 (mtx_trylock): Likewise.
11329 (mtx_unlock): Likewise.
11330 (mtx_destroy): Likewise.
11331 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11332 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11333 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11334 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11335 * nptl/mtx_destroy.c: New file.
11336 * nptl/mtx_init.c: Likewise.
11337 * nptl/mtx_lock.c: Likewise.
11338 * nptl/mtx_timedlock.c: Likewise.
11339 * nptl/mtx_trylock.c: Likewise.
11340 * nptl/mtx_unlock.c: Likewise.
11341 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11342 (mtx_recursive): Likewise.
11343 (mtx_timed): Likewise.
11344 (mtx_t): New type.
11345 (mtx_init): New prototype.
11346 (mtx_lock): Likewise.
11347 (mtx_timedlock): Likewise.
11348 (mtx_trylock): Likewise.
11349 (mtx_unlock): Likewise.
11350 (mtx_destroy): Likewise.
11351
ce7528f6
AZ
11352 [BZ #14092]
11353 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11354 (linknamespace-libs-ISO11): Add libpthread.a.
11355 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11356 functions.
11357 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11358 * nptl/Makefile (headers): Add threads.h.
11359 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11360 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11361 thrd_yield.
11362 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11363 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11364 thrd_join, thrd_sleep, and thrd_yield symbols.
11365 * nptl/descr.h (struct pthread): Add c11 field.
11366 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11367 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11368 routine with expected function prototype.
11369 (__pthread_create_2_1): Add C11 threads check based on attribute
11370 value.
11371 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11372 * nptl/thrd_create.c: New file.
11373 * nptl/thrd_current.c: Likewise.
11374 * nptl/thrd_detach.c: Likewise.
11375 * nptl/thrd_equal.c: Likewise.
11376 * nptl/thrd_exit.c: Likewise.
11377 * nptl/thrd_join.c: Likewise.
11378 * nptl/thrd_priv.h: Likewise.
11379 * nptl/thrd_sleep.c: Likewise.
11380 * nptl/thrd_yield.c: Likewise.
11381 * include/threads.h: Likewise.
11382
e27f41ba
L
113832018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11384
11385 * bits/indirect-return.h: New file.
11386 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11387 * sysdeps/x86/bits/indirect-return.h: Likewise.
11388 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11389 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11390 (swapcontext): Add __INDIRECT_RETURN.
11391 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11392 (prepare_test_buffer): Use it.
11393
21526a50
AS
113942018-07-24 Andreas Schwab <schwab@suse.de>
11395
11396 [BZ #23448]
11397 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11398 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11399
3650e1d9
L
114002018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11401
11402 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11403 Redefine if shadow stack is enabled.
11404 (SYSCALL_ERROR_LABEL): Likewise.
11405 (__vfork): Pop shadow stack and jump back to to caller directly
11406 when shadow stack is in use.
11407 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11408 Redefine if shadow stack is enabled.
11409 (SYSCALL_ERROR_LABEL): Likewise.
11410 (__vfork): Pop shadow stack and jump back to to caller directly
11411 when shadow stack is in use.
11412
ca027e0f
L
114132018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11414
11415 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11416 enabled.
11417 (foo): Likewise.
11418 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11419 (foo): Likewise.
11420
b99f1c95
JM
114212018-07-20 Joseph Myers <joseph@codesourcery.com>
11422
11423 * scripts/build-many-glibcs.py (Context.checkout): Default
11424 binutils version to 2.31 branch.
11425
c8fabb84
ZL
114262018-07-20 Zong Li <zong@andestech.com>
11427
11428 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11429 URL of gcc's tarball.
11430
786658a0
FW
114312018-07-20 Florian Weimer <fweimer@redhat.com>
11432
11433 [BZ #23396]
11434 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11435 not compare an extra byte after the end of the weights.
11436
46f2474e
ST
114372018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11438
11439 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11440 to 1.
8ba1520e
ST
11441 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11442 hidden prototypes.
11443 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11444 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
2d5c41de
ST
11445 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11446 list of libraries whose stack executability is expected.
11447 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11448 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11449 variable.
11450 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11451 libc.so libpthread.so.
46f2474e 11452
60088242
TS
114532018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11454
11455 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11456 SOCK_NONBLOCK.
75d5e4a0
TS
11457 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11458 and SOCK_NONBLOCK.
de195be0
TS
11459 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11460 implement __pipe2.
11461 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
60088242 11462
1cf4ae7f
LS
114632018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11464
11465 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11466 library to improve command line parsing.
11467 (__main__): make schema file as optional parameter (--schema),
11468 defaulting to benchtests/scripts/benchout.schema.json.
11469 (main): move out of the parsing stuff to __main_  and leave it
11470 only as caller of main comparison functions.
11471
e84bd851
L
114722018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11473
11474 * NEWS: Add a note for Intel CET status.
11475 * manual/install.texi: Likewise.
11476 * INSTALL: Regenerated.
11477
df467d22
QP
114782018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11479
11480 [BZ #23140]
11481 * localedata/locales/oc_FR (mon): Rename to...
11482 (alt_mon): This, then update October (typo fix).
11483 (mon): New content (genitive case, month names preceded by
11484 "de" or "d’").
11485
11486 [BZ #23422]
11487 * localedata/locales/oc_FR (abday): Update all items.
11488 (day): Update Wednesday and Saturday (typo fixes).
11489 (abmon): Update all items, except May.
11490 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11491 (LC_IDENTIFICATION): Bump the revision number and date.
11492 Keep the "category" entries in alphabetic order.
11493 (LC_ADDRESS): Remove no longer needed comment.
11494 (LC_COLLATE): Use “copy "ca_ES"”.
11495 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11496 "name_mrs".
11497
5c112f1b
JM
114982018-07-18 Joseph Myers <joseph@codesourcery.com>
11499
11500 * grp/tst_fgetgrent.c: Include <unistd.h>.
11501 (main): Use mkstemp instead of tmpnam.
11502 * io/test-utime.c (main): Likewise.
11503 * posix/annexc.c (macrofile): Change to modifiable array.
11504 (main): Remove macrofile here.
11505 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11506 macrofile here.
11507 (check_header): Do not remove macrofile here.
11508 * posix/bug-getopt1.c: Include <stdlib.h>.
11509 (do_test): Use mkstemp instead of tmpnam.
11510 * posix/bug-getopt2.c: Include <stdlib.h>.
11511 (do_test): Use mkstemp instead of tmpnam.
11512 * posix/bug-getopt3.c: Include <stdlib.h>.
11513 (do_test): Use mkstemp instead of tmpnam.
11514 * posix/bug-getopt4.c: Include <stdlib.h>.
11515 (do_test): Use mkstemp instead of tmpnam.
11516 * posix/bug-getopt5.c: Include <stdlib.h>.
11517 (do_test): Use mkstemp instead of tmpnam.
11518 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11519 (main): Use mkstemp instead of tmpnam.
11520 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11521 (main): Use mkstemp instead of tmpnam.
11522 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11523 (main): use mkstemp instead of tmpnam.
11524 * stdlib/isomac.c (macrofile): Change to modifiable array.
11525 (main): Remove macrofile here.
11526 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11527 macrofile here.
11528 (check_header): Do not remove macrofile here.
11529
6d90776d
L
115302018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11531
11532 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11533 glibc.tune.x86_shstk.
11534
e6c69509
L
115352018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11536
11537 * NEWS: Mention --enable-cet.
11538 * manual/install.texi: Document --enable-cet.
11539 * INSTALL: Regenerated.
11540
e2d40a88
L
115412018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11542
11543 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11544 Add _CET_NOTRACK before indirect jump to jump table.
11545
77a8ae09
L
115462018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11547
11548 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11549 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11550 to jump table.
11551
90d15dc5
L
115522018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11553
11554 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11555 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11556 to jump table.
11557
f1574581
L
115582018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11559
11560 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11561 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11562 to jump table.
11563
7fb61336
L
115642018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11567 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11568 to jump table.
11569
0a899af0
L
115702018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11571
11572 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11573 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11574 to jump table.
11575 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11576
177824e2
L
115772018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11578
11579 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11580 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11581 to jump table.
11582
00e7b76a
L
115832018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11584
11585 * sysdeps/i386/i686/multiarch/memset-sse2.S
11586 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11587 to jump table.
11588
7e119cd5
L
115892018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11590
11591 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11592 indirect jump to jump table.
11593
03aaf49b
L
115942018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11595
11596 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11597 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11598 to jump table.
11599 (MEMCPY): Likewise.
11600
811e9e52
L
116012018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11602
11603 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11604 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11605 to jump table.
11606 (MEMCPY): Likewise.
11607
8817df42
L
116082018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11609
11610 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11611 _CET_NOTRACK before indirect jump to jump table.
11612
921595d1
L
116132018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11614
11615 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11616 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11617 to jump table.
11618
4ef60d95
L
116192018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11620
11621 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11622 indirect jump to jump table.
11623
61c4aad7
VT
116242018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11625
11626 [BZ #22241]
11627 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11628 (LOCALES): Likewise.
11629 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11630 * localedata/locales/sah_RU: New file.
11631 * localedata/sah_RU.UTF-8.in: New file.
11632
be9ccd27
L
116332018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11634
11635 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11636 "sysdep.h".
11637 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11638 _CET_ENDBR to indirect jump targets and adjust jump destination
11639 for _CET_ENDBR.
11640 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11641 "sysdep.h".
11642 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11643 _CET_ENDBR to indirect jump targets and adjust jump destination
11644 for _CET_ENDBR.
11645 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11646 "sysdep.h".
11647 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11648 _CET_ENDBR to indirect jump targets and adjust jump destination
11649 for _CET_ENDBR.
11650
5efc6777
L
116512018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11652
11653 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11654 _CET_ENDBR.
11655
562837c0
L
116562018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11657
11658 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11659 _CET_ENDBR.
11660 (_dl_tlsdesc_undefweak): Likewise.
11661 (_dl_tlsdesc_dynamic): Likewise.
11662 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11663 (_dl_tlsdesc_resolve_rel): Likewise.
11664 (_dl_tlsdesc_resolve_rela): Likewise.
11665 (_dl_tlsdesc_resolve_hold): Likewise.
11666 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11667 (_dl_tlsdesc_undefweak): Likewise.
11668 (_dl_tlsdesc_dynamic): Likewise.
11669 (_dl_tlsdesc_resolve_rela): Likewise.
11670 (_dl_tlsdesc_resolve_hold): Likewise.
11671
124bcde6
L
116722018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11673
11674 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11675 (_fini): Likewise.
11676 * sysdeps/x86_64/crti.S (_init): Likewise.
11677 (_fini): Likewise.
11678
9145f033
RL
116792018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11680
11681 [BZ #23140]
11682 * localedata/locales/os_RU (mon): Rename to...
11683 (alt_mon): This.
11684 (mon): Import from CLDR (genitive case).
11685
ba2ea23d
L
116862018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11687
11688 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11689 cet-tunables.h> when CET is enabled.
11690
f753fa7d
L
116912018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11692
6b5c8607 11693 [BZ #21598]
f753fa7d
L
11694 * configure.ac: Add --enable-cet.
11695 * configure: Regenerated.
11696 * elf/Makefille (all-built-dso): Add a comment.
11697 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11698 Include <dl-prop.h>.
11699 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11700 segment.
11701 * elf/dl-open.c: Include <dl-prop.h>.
11702 (dl_open_worker): Call _dl_open_check.
11703 * elf/rtld.c: Include <dl-prop.h>.
11704 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11705 _rtld_main_check.
11706 * sysdeps/generic/dl-prop.h: New file.
11707 * sysdeps/i386/dl-cet.c: Likewise.
11708 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11709 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11710 * sysdeps/x86/cet-tunables.h: Likewise.
11711 * sysdeps/x86/check-cet.awk: Likewise.
11712 * sysdeps/x86/configure: Likewise.
11713 * sysdeps/x86/configure.ac: Likewise.
11714 * sysdeps/x86/dl-cet.c: Likewise.
11715 * sysdeps/x86/dl-procruntime.c: Likewise.
11716 * sysdeps/x86/dl-prop.h: Likewise.
11717 * sysdeps/x86/libc-start.h: Likewise.
11718 * sysdeps/x86/link_map.h: Likewise.
11719 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11720 _CET_ENDBR.
11721 (_dl_runtime_profile): Likewise.
11722 (_dl_runtime_resolve_shstk): New.
11723 (_dl_runtime_profile_shstk): Likewise.
11724 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11725 if CET is enabled.
11726 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11727 (CFLAGS-.os): Likewise.
11728 (CFLAGS-.op): Likewise.
11729 (CFLAGS-.oS): Likewise.
11730 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11731 is enabled.
11732 (tests-special): Add $(objpfx)check-cet.out.
11733 (cet-built-dso): New.
11734 (+$(cet-built-dso:=.note)): Likewise.
11735 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11736 ($(objpfx)check-cet.out): New.
11737 (generated): Add check-cet.out.
11738 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11739 <cet-tunables.h>.
11740 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11741 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11742 (init_cpu_features): Call get_cet_status to check CET status
11743 and update dl_x86_feature_1 with CET status. Call
11744 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11745 (set_x86_shstk). Disable and lock CET in libc.a.
11746 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11747 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11748 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11749 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11750 (_CET_ENDBR): Define if not defined.
11751 (ENTRY): Add _CET_ENDBR.
11752 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11753 x86_shstk.
11754 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11755 _CET_ENDBR.
11756 (_dl_runtime_profile): Likewise.
11757
52b2a80f
RA
117582018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11759
11760 [BZ #21895]
11761 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11762 restore r2 on longjmp.
11763 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11764 test list.
11765 Added rules to build test tst-setjmp-bug21895-static.
11766 Added module setjmp-bug21895 and rules to build a shared object from it.
11767 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11768 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11769
3ae725df
WD
117702018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11771
11772 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11773 * benchtests/bench-strstr.c: Likewise.
11774 * string/memmem.c (FASTSEARCH): Define.
11775 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11776 Add support for FASTSEARCH.
11777 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11778 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11779 (FASTSEARCH): Define.
11780 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11781 * string/test-strstr.c: Likewise.
11782
31e422ca
L
117832018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11784
11785 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11786 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11787
faaee1f0
L
117882018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11789 H.J. Lu <hongjiu.lu@intel.com>
11790
11791 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11792 (__longjmp): Restore shadow stack pointer if shadow stack is
11793 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11794 isn't defined for __longjmp_cancel.
11795 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11796 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11797 and SHADOW_STACK_POINTER_OFFSET is defined.
11798 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11799 (setjmp): Save shadow stack pointer if shadow stack is enabled
11800 and SHADOW_STACK_POINTER_OFFSET is defined.
11801 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11802 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11803 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11804 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11805 <jmp_buf-ssp.h>.
11806 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11807 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11808 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11809 Remove jmp_buf-ssp.sym.
11810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11811 <jmp_buf-ssp.h>.
11812 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11813 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11814 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11815 jmp_buf-ssp.sym.
11816 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11817 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11818 (__longjmp): Restore shadow stack pointer if shadow stack is
11819 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11820 isn't defined for __longjmp_cancel.
11821 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11822 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11823 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11824
ebff9c5c
L
118252018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11826
11827 [BZ #22563]
11828 * nptl/pthread_create.c: Include <tls-setup.h>.
11829 (__pthread_create_2_1): Call tls_setup_tcbhead.
11830 * sysdeps/generic/tls-setup.h: New file.
11831 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11832 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11833 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11834 Likewise.
11835 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11836 to feature_1.
11837 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11838 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11839 (X86_FEATURE_1_SHSTK): Likewise.
11840 (CET_ENABLED): Likewise.
11841 (IBT_ENABLED): Likewise.
11842 (SHSTK_ENABLED): Likewise.
11843
0a83bad2
RL
118442018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11845
11846 [BZ #23208]
11847 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11848 (LOCALES): Likewise.
11849 * localedata/dsb_DE.UTF-8.in: New file.
11850 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11851
046bfed9
FW
118522018-07-12 Florian Weimer <fweimer@redhat.com>
11853
11854 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11855 __mprotect, not mprotect.
11856
93304f5f
FW
118572018-07-11 Florian Weimer <fweimer@redhat.com>
11858
11859 * io/Makefile (headers): Add bits/statx.h.
11860
4beefeeb
MF
118612018-07-10 Mike FABIAN <mfabian@redhat.com>
11862
11863 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11864 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11865 and headers.
11866 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11867 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11868 for utf8_gen.py
11869
fd70af45
FW
118702018-07-10 Florian Weimer <fweimer@redhat.com>
11871
11872 * io/Makefile (routines): Add statx.
11873 (tests-internal): Add tst-statx.
11874 * io/Versions (GLIBC_2.28): Export statx.
11875 * io/bits/statx.h: New file.
11876 * io/sys/stat.h [__USE_GNU]: Include it.
11877 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11878 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11879 Define.
11880 * io/statx.c: New file.
11881 * io/statx_generic.: Likewise.
11882 * io/tst-statx.: Likewise.
11883 * include/bits/statx.h: Likewise.
11884 * sysdeps/unix/sysv/linux/kernel-features.h
11885 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11886 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11887 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11888 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11889 Undefine.
11890 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11891 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11892 * sysdeps/unix/sysv/linux/statx.c: New file.
11893 * manual/filesys.texi: Note that statx is undocumented.
11894 * sysdeps/**/libc*.abilist: Update.
11895
b444e8f7
AZ
118962018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11897
11898 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11899 a kernel issue which lead to test failure in some cases.
11900
7b2f4ced
FW
119012018-07-10 Florian Weimer <fweimer@redhat.com>
11902
11903 [BZ #23036]
11904 * posix/regexec.c (check_node_accept_bytes): When comparing
11905 weights, do not compare an extra byte after the end of the
11906 weights.
11907
4fa34da6
FW
119082018-07-10 Florian Weimer <fweimer@redhat.com>
11909
11910 * libio/readline.c: Fix copyright year.
11911 * libio/tst-readline.c Likewise.
11912 * nss/tst-nss-files-hosts-getent.c: Likewise.
11913
916124ed
FW
119142018-07-06 Florian Weimer <fweimer@redhat.com>
11915
11916 [BZ #18991]
11917 * nss/nss_files/files-XXX.c (internal_getent): Use
11918 __libc_readline_unlocked. Seek back to the start of the line if
11919 parsing failes with ERANGE.
11920 (get_contents_ret, get_contents): Remove.
11921 * nss/tst-nss-files-hosts-getent.c: New file.
11922 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11923 (tst-nss-files-hosts-getent): Link with -ldl.
11924
3f5e3f5d
FW
119252018-07-06 Florian Weimer <fweimer@redhat.com>
11926
11927 * include/stdio.h (__libc_readline_unlocked): Declare.
11928 (__ftello64, __fseeko64): Declare aliases.
11929 * libio/readline.c: New file.
11930 * libio/tst-readline.c: Likewise.
11931 (routines): Add readline.
11932 (tests-internal): Add tst-readlime.
11933 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11934 __libc_readline_unlocked.
11935 * libio/fseeko.c (__fseeko): Rename from fseeko.
11936 (fseeko): Add alias.
11937 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11938 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11939 (fseeko64): Add alias.
11940 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11941 * libio/ftello64.c (__ftello64): Rename from ftello64.
11942 (ftello64): Add alias.
11943
397c54c1
SN
119442018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11945
11946 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
11947 HWCAP_ATOMICS.
11948
d0cd7980
SN
119492018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
11950
11951 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
11952 Use dl_hwcap without masking.
11953 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
11954 Remove HWCAP_CPUID.
11955
ddb3c626
FW
119562018-07-06 Florian Weimer <fweimer@redhat.com>
11957
11958 * conform/conformtest.pl (checknamespace): Escape literal braces
11959 in regular expressions.
11960
bce5911b
AP
119612018-07-06 Amit Pawar <amit.pawar@amd.com>
11962
11963 * sysdeps/x86/cpu-features.c (get_common_indeces):
11964 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
11965 * sysdeps/x86/cpu-features.c (init_cpu_features):
11966 AVX_Fast_Unaligned_Load is disabled for Excavator core.
11967
3a885c1f
FW
119682018-07-05 Florian Weimer <fweimer@redhat.com>
11969
11970 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
11971 protector.
11972 (CFLAGS-elf-init.oS): Likewise.
11973
38cade0c
FW
119742018-07-05 Florian Weimer <fweimer@redhat.com>
11975 Carlos O'Donell <carlos@redhat.com>
11976
11977 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
11978 $(no-stack-protector). stack_chk_fail_local.c can be compiled
11979 with stack protector enabled because there is no risk of infinite
11980 recursion.
11981
9449a295
MR
119822018-07-05 Maciej W. Rozycki <macro@mips.com>
11983
11984 [BZ #19818]
11985 [BZ #23307]
11986 * libc-abis (ABSOLUTE): New ABI.
11987 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
11988 * NEWS: Mention the new ABI.
11989
d6da5cb6
FW
119902018-07-05 Florian Weimer <fweimer@redhat.com>
11991
11992 [BZ # 17662]
11993 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
11994 (RENAME_WHITEOUT): Define.
11995 [__USE_GNU] (renameat2): Declare.
11996 * stdio-common/Makefile (routines): Add renameat2.
11997 (tests): Add tst-renameat2.
11998 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
11999 * stdio-common/renameat2.c: New file.
12000 * stdio-common/tst-renameat2.c: Likewise.
12001 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12002 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12003 undocumented.
12004 * sysdeps/unix/sysv/linux/kernel-features.h
12005 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12006 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12007 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12008 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12009 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12010 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12011 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12012 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12013 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12014 * include/stdio.h (__renameat): Add alias for renameat.
12015 * stdio-common/renameat.c (__renameat): Rename from renameat.
12016 Add hidden definition and alias.
12017 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12018 * sysdeps/mach/hurd/renameat.c: Likewise.
12019 * sysdeps/**/libc*.abilist: Add renameat2.
12020
1002d708
AZ
120212018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12022
12023 * posix/bug-regex33.c: Fix build after regex sync.
12024
34fdb893
CD
120252018-07-04 Carlos O'Donell <carlos@redhat.com>
12026
12027 [BZ #23164]
12028 * localedata/tst-langinfo-setlocale.c: New file.
12029 * localedata/tst-langinfo-setlocale-static.c: New file.
12030 * localedata/tst-langinfo-newlocale.c: New file.
12031 * localedata/tst-langinfo-newlocale-static.c: New file.
12032 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12033 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12034 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12035 (tests-static): Remove tst-langinfo-static. Add
12036 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12037 (tests-special): Remove $(objpfx)tst-langinfo.out,
12038 $(objpfx)tst-langinfo-static.out. Add
12039 $(objpfx)tst-langinfo-setlocale.out,
12040 $(objpfx)tst-langinfo-newlocale.out,
12041 $(objpfx)tst-langinfo-setlocale-static.out,
12042 $(objpfx)tst-langinfo-newlocale-static.out.
12043 ($(objpfx)tst-langinfo.out): Remove.
12044 ($(objpfx)tst-langinfo-static.out): Remove.
12045 ($(objpfx)tst-langinfo-newlocale.out): New target.
12046 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12047 (test-xfail-tst-langinfo-newlocale-static): Add.
12048 ($(objpfx)tst-langinfo-setlocale.out): New target.
12049 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12050 * localedata/tst-langinfo.c: Call test_locale.
12051 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12052 data.
12053
f2873d2d
FW
120542018-07-04 Florian Weimer <fweimer@redhat.com>
12055
12056 testrun.sh: Implement --tool=strace, --tool=valgrind
12057 * Makefile (testrun-script): Define variable.
12058 (testrun.sh): Use variable.
12059 * manual/install.texi (Tools for Compilation): make 4.0 or later
12060 is required.
12061 * configure.ac: Check for make 4.0 or later.
12062 * INSTALL: Regenerate.
12063 * configure: Likewise.
12064
eb04c213
AZ
120652018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12066
12067 [BZ #23233]
12068 [BZ #21163]
12069 [BZ #18986]
12070 [BZ #13762]
12071 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12072 * posix/PCRE.tests: Remove invalid test.
12073 * posix/bug-regex28.c: Fix expected values for used syntax.
12074 * posix/bug-regex37.c: New file.
12075 * posix/bug-regex38.c: Likewise.
12076 * posix/regcomp.c: Sync with gnulib.
12077 * posix/regex.c: Likewise.
12078 * posix/regex.h: Likewise.
12079 * posix/regex_internal.c: Likewise.
12080 * posix/regex_internal.h: Likewise.
12081 * posix/regexec.c: Likewise.
12082
b11643c2
MF
120832018-06-26 Mike FABIAN <mfabian@redhat.com>
12084
12085 [BZ #23308]
12086 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12087 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12088 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12089 * localedata/unicode-gen/PropList.txt: likewise.
12090 * localedata/unicode-gen/UnicodeData.txt: likewise.
12091 * localedata/charmaps/UTF-8: Regenerate.
12092 * localedata/locales/i18n_ctype: likewise.
12093 * localedata/locales/tr_TR: likewise.
12094 * localedata/locales/translit_circle: likewise.
12095 * localedata/locales/translit_cjk_compat: likewise.
12096 * localedata/locales/translit_combining: likewise.
12097 * localedata/locales/translit_compat: likewise.
12098 * localedata/locales/translit_font: likewise.
12099 * localedata/locales/translit_fraction: likewise.
12100
5a357506
FW
121012018-07-03 Florian Weimer <fweimer@redhat.com>
12102
12103 [BZ #23363]
12104 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12105 * stdio-common/tst-printf.sh: Adjust expected output.
12106 * LICENSES: Update.
12107
7279af00
AZ
121082018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12109
12110 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12111 symbol.
12112
b7b88cea
GG
121132018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12114
12115 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12116 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12117 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12118 * stdio-common/tst-printfsz-islongdouble.c: New file.
12119 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12120 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12121 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12122 [subdir == stdio-common] (tests-internal): Add
12123 test-printf-size-ieee128, and test-printf-size-ibm128.
12124 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12125 (CFLAGS-test-printf-size-ibm128.c): New variables.
12126 [subdir == stdio-common] (tests-special): Add
12127 $(objpfx)test-printf-size-ieee128.out and
12128 $(objpfx)test-printf-size-ibm128.out.
12129 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12130 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12131 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12132 __printf_sizeieee128.
12133 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12134 New file.
12135 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12136 Likewise.
12137 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12138 Likewise.
12139
2b445206
SN
121402018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12141
12142 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12143 (exp2f_inline): Likewise.
12144 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12145 (__math_uflowf): Likewise.
12146 (__math_may_uflowf): Likewise.
12147 (__math_divzerof): Likewise.
12148 (__math_invalidf): Likewise.
12149 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12150 (__math_oflowf): Likewise.
12151 (__math_uflowf): Likewise.
12152 (__math_may_uflowf): Likewise.
12153 (__math_divzerof): Likewise.
12154 (__math_invalidf): Likewise.
12155
2827ab99
CD
121562018-06-29 DJ Delorie <dj@redhat.com>
12157 Carlos O'Donell <carlos@redhat.com>
12158
12159 [BZ #23329]
12160 * include/libc-symbols.h: Comment the freeres framework.
12161 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12162 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12163 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12164 * dlfcn/dlerror.c: Include libc-symbols.h
12165 (__dlerror_main_freeres): New function.
12166 * dlfcn/dlfreeres.c: New file.
12167 * dlfcn/sdlfreeres.c: New file.
12168 * include/dlfcn.h: Declare __dlerror_main_freeres.
12169 * malloc/set-freeres.c: Declare __libdl_freeres, and
12170 __libpthread_freeres.
12171 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12172 the releavant libraries are loaded.
12173 * malloc/thread-freeres.c: Add comments.
12174 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12175 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12176 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12177 (__free_stacks): Rename to...
12178 (free_stacks): ...this. Mark static.
12179 (queue_stack): Call free_stacks.
12180 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12181 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12182 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12183 ptr_freeres element from struct.
12184 (pthread_functions): Remove .ptr_freeres from struct initializer.
12185 [SHARED] (nptl_freeres): Remove.
12186 * nptl/nptlfreeres.c: New file.
12187 * nptl/pthreadP.h
12188 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12189 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12190 attribute_hidden.
12191 (__free_stacks): Rename to...
12192 (__nptl_stacks_freeres): ...this.
12193 (__shm_directory_freeres): Declare.
12194 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12195 (__nptl_unwind_freeres): ...this.
12196 * resolv/res-close.c: Add comment.
12197 * resolv/resolv_conf.c: Include libc-symbols.h.
12198 * string/strerror_l.c: Include libc-symbols.h.
12199 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12200 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12201 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12202 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12203
37d3d244
RS
122042018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12205
12206 * stdlib/tst-strfmon_l.c: Add tests for long double.
12207
a1e0c5fa
MW
122082018-06-29 Michael Wolf <milupo@sorbzilla.de>
12209
12210 [BZ #23208]
12211 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12212 * localedata/locales/dsb_DE: New file.
12213
2e0c5de6
RL
122142018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12215
12216 [BZ #23140]
12217 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12218 genitive case).
12219 (alt_mon): New entry, import from CLDR (nominative case).
12220
cdb52c71
SL
122212018-06-29 Sylvain Lesage <severo@rednegra.net>
12222
12223 [BZ #22996]
12224 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12225
ce76a5cb
SP
122262018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12227
0aec4c1d
SP
12228 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12229 Use vector registers.
12230
ce76a5cb
SP
12231 * sysdeps/aarch64/multiarch/memmove_falkor.S
12232 (__memcpy_falkor): Use vector registers.
12233
7e8989d0
MS
122342018-06-29 Martin Sebor <msebor@redhat.com>
12235
12236 * manual/stdio.texi (Customizing Printf): Mention interaction
12237 with GCC built-ins.
12238
bac15a72
MR
122392018-06-29 Maciej W. Rozycki <macro@mips.com>
12240
12241 [BZ #23307]
12242 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12243 `st_value' is 0 if `st_shndx' is SHN_ABS.
12244 * elf/tst-absolute-zero.c: New file.
12245 * elf/tst-absolute-zero-lib.c: New file.
12246 * elf/tst-absolute-zero-lib.lds: New file.
12247 * elf/Makefile (tests): Add `tst-absolute-zero'.
12248 (modules-names): Add `tst-absolute-zero-lib'.
12249 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12250 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12251 ($(objpfx)tst-absolute-zero: New dependency.
12252
e69d994a
ZW
122532018-06-29 Zack Weinberg <zackw@panix.com>
12254
12255 * configure.ac: New command-line option --disable-crypt.
12256 Force --disable-nss-crypt when --disable-crypt is given, with a
12257 warning if it was explicitly enabled.
12258 * configure: Regenerate.
12259 * config.make.in: New boolean substitution variable $(build-crypt).
12260 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12261 when $(build-crypt).
12262 * manual/install.texi: Document --disable-crypt.
12263 * INSTALL: Regenerate.
12264
12265 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12266 which is never set.
12267 * conform/Makefile: Only include libcrypt.a in
12268 linknamespace-libs-xsi and linknamespace-libs-XPG4
12269 when $(build-crypt).
12270 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12271 USE_CRYPT to 1 when $(build-crypt).
12272 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12273 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12274 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12275
841785ba
ZW
122762018-06-29 Zack Weinberg <zackw@panix.com>
12277
12278 * crypt/crypt.h, posix/unistd.h: Update comments and
12279 prototypes for crypt and crypt_r.
12280
12281 * manual/crypt.texi (Cryptographic Functions): New initial
12282 exposition.
12283 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12284 (Unpredictable Bytes): Improve initial exposition. Clarify error
12285 behavior of getentropy and getrandom.
12286 * manual/examples/genpass.c: Generate a salt using getentropy
12287 instead of the current time. Use hash $5$ (SHA-2-256).
12288 * manual/examples/testpass.c: Demonstrate validation against
12289 hashes generated with three different one-way functions.
12290
12291 * manual/intro.texi: crypt.texi does not need an overview
12292 anymore.
12293
12294 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12295 * manual/terminal.texi: Consistently refer to "passphrases"
12296 * instead of "passwords", and to the "user database" instead
12297 * of the "password database".
12298 * manual/users.texi: Similarly. Add notes about how actual
12299 passphrase hashes are now stored in the shadow database.
12300 Remove 20-year-old junk todo note.
12301
6ab902e4
ZW
123022018-06-29 Zack Weinberg <zackw@panix.com>
12303
12304 * manual/crypt.texi: Use a normal top-level @node declaration.
12305 Move most of the introductory text to the 'crypt' section.
12306 Move the example programs below the @deftypefun for 'crypt_r'.
12307 Move the 'getpass' section...
12308 * manual/terminal.texi: ...here.
12309
b10a0acc
ZW
123102018-06-29 Zack Weinberg <zackw@panix.com>
12311 Florian Weimer <fweimer@redhat.com>
12312
12313 * posix/unistd.h: Do not declare encrypt.
12314 (_XOPEN_CRYPT): Remove macro definition.
12315 (crypt): Declare only for _USE_MISC.
12316 * stdlib/stdlib.h: Do not declare setkey.
12317 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12318 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12319
12320 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12321 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12322 into compat symbols. Don't define initial_perm if it's not
12323 going to be used.
12324 * crypt/cert.c: Link explicitly with the expected versions for
12325 setkey and encrypt. If they are not available at all, mark
12326 the test as unsupported.
12327
12328 * sunrpc/des_crypt.c: Unconditionally block linkage with
12329 cbc_crypt and ecb_crypt for new binaries.
12330 * sunrpc/des_soft.c: Unconditionally block linkage with
12331 des_setparity for new binaries.
12332
12333 * manual/crypt.texi: Remove the entire "DES Encryption"
12334 section. Also remove the paragraph talking about FIPS 140-2
12335 from the introduction.
12336 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12337 of libgcrypt for "real" encryption, not DES.
12338 * manual/conf.texi (Constants for Sysconf): Mention that
12339 _XOPEN_CRYPT is no longer impelemented.
12340
12341 * conform/data/unistd.h-data: Remove crypt function declaration.
12342
524d796d
FW
123432018-06-29 Florian Weimer <fweimer@redhat.com>
12344
12345 [BZ #23351]
12346 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12347 (disallow_malloc_check): Remove variable.
12348 (__malloc_check_init): Adjust.
12349 (malloc_set_state): Update comment.
12350 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12351 declarations.
12352
339124ab
RL
123532018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12354
12355 [BZ #23140]
12356 * localedata/locales/ast_ES (mon): Rename to...
12357 (alt_mon): This.
12358 (mon): Import from CLDR (genitive case).
12359
c1f86a33
DA
123602018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12361 Jakub Sitnicki <jkbs@redhat.com>
12362
12363 [BZ #21812]
12364 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12365 on NLM_F_DUMP_INTR.
12366
0b11b649
SN
123672018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12368
12369 * manual/llio.texi: Remove spurious space.
12370
c1c2848b
FW
123712018-06-28 Florian Weimer <fweimer@redhat.com>
12372
12373 [BZ #23349]
12374 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12375 _STRUCT_TIMESPEC.
12376
86a0f561
RS
123772018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12378
12379 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
6b5c8607 12380 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
86a0f561
RS
12381 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12382 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12383 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12384 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12385 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12386
780684eb
MR
123872018-06-27 Maciej W. Rozycki <macro@mips.com>
12388
12389 [BZ #23266]
12390 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12391 Copy and null-terminate entries that are not terminated, in
12392 addition to empty ones.
12393
c49e1822
FW
123942018-06-27 Florian Weimer <fweimer@redhat.com>
12395
12396 [BZ #18023]
b39d961c
TS
12397 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12398 (extend_alloca_account): Remove.
c49e1822
FW
12399 * manual/stdio.texi (Variable Arguments Output): Update comment.
12400
a833e627
JM
124012018-06-27 Joseph Myers <joseph@codesourcery.com>
12402
12403 * nptl/sockperf.c: Remove file.
12404
92d6aa85
FW
124052018-06-27 Florian Weimer <fweimer@redhat.com>
12406
12407 [BZ #18023]
12408 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12409 scratch_buffer instead of extend_alloca.
12410
890c2ced
FW
124112018-06-27 Florian Weimer <fweimer@redhat.com>
12412
12413 [BZ #18023]
12414 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12415 scratch_buffer instead of extend_alloca. Update comments.
12416
4272059d
FW
124172018-06-27 Florian Weimer <fweimer@redhat.com>
12418
12419 [BZ #18023]
12420 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12421 instead of extend_alloca.
12422
27f10a09
JM
124232018-06-26 Joseph Myers <joseph@codesourcery.com>
12424
12425 [BZ #13888]
12426 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12427 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12428 /tmp.
12429 * scripts/test-installation.pl: Put temporary files in build
12430 directory, not /tmp.
12431 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12432 (CFLAGS-bug4.c): Likewise.
12433 (CFLAGS-bug5.c): Likewise.
12434 (CFLAGS-test-fseek.c): Likewise.
12435 (CFLAGS-test-popen.c): Likewise.
12436 (CFLAGS-test_rdwr.c): Likewise.
12437 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12438 /tmp.
12439 * stdio-common/bug4.c (main): Likewise.
12440 * stdio-common/bug5.c (main): Likewise.
12441 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12442 * stdio-common/test-popen.c (do_test): Likewise.
12443 * stdio-common/test_rdwr.c (main): Likewise.
12444
05598a09
PF
124452018-06-26 Patsy Franklin <pfrankli@redhat.com>
12446
12447 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12448 (sem_open): Set sem.newsem.pad to zero for valgrind.
12449
06ab719d
AZ
124502018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12451
12452 [BZ #20251]
12453 * NEWS: Mention fcntl64 addition.
12454 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12455 * login/utmp_file.c: Likewise.
12456 * sysdeps/posix/fdopendir.c: Likewise.
12457 * sysdeps/posix/opendir.c: Likewise.
12458 * sysdeps/unix/pt-fcntl.c: Likewise.
12459 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12460 __fcntl64_nocancel_adjusted): New prototype.
12461 (__fcntl_nocancel_adjusted): Remove prototype.
12462 * io/Makefile (routines): Add fcntl64.
12463 (CFLAGS-fcntl64.c): New rule.
12464 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12465 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12466 * io/fcntl.h (fcntl64): Add prototype and redirect if
12467 __USE_FILE_OFFSET64 is defined.
12468 * io/fcntl64.c: New file.
12469 * manual/llio.text: Add a note for which commands fcntl acts a
12470 cancellation point.
12471 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12472 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12473 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12474 New symbols.
12475 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12476 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12477 non-LFS case.
12478 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12479 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12480 to __fcntl64_nocancel.
12481 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12482 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12483 to __fcntl64_nocancel.
12484 * sysdeps/generic/not-cancel.h: Likewise.
12485 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12486 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12487 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12488 (fcntl64): New symbol.
12489 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12490 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12491 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12494 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12495 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12496 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12497 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12498 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12499 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12500 fcntl64): Likewise.
12501 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12502 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12503 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12504 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12505 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12506 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12507 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12508 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12509 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12511 Likewise.
12512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12513 Likewise.
12514 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12516 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12517
124e0258
FW
125182018-06-26 Florian Weimer <fweimer@redhat.com>
12519
12520 Run thread shutdown functions in an explicit order.
12521 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12522 definition.
12523 (__libc_thread_freeres): Call thread shutdown functions
12524 explicitly.
12525 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12526 * include/string.h (__strerror_thread_freeres): Declare.
12527 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12528 arena_thread_freeres. No longer static. Remove thread shutdown
12529 hook registration.
12530 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12531 Declare.
12532 * resolv/res-close.c (__res_thread_freeres): Renamed from
12533 res_thread_freeres. No longer static. Remove thread shutdown
12534 hook registration.
12535 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12536 * resolv/resolv_conf.c (freeres): Remove incorrect section
12537 attribute and use libc_freeres_fn.
12538 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12539 strerror_thread_freeres. No longer static. Remove thread
12540 shutdown hook registration.
12541 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12542 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12543 shutdown hook registration.
12544 * Makerules (shlib.lds): Do not provide section boundary symbols
12545 for __libc_thread_subfreeres.
12546 * manual/memory.texi (Basic Allocation): Update comment.
12547
935d920e
FW
125482018-06-26 Florian Weimer <fweimer@redhat.com>
12549
12550 Remove always-defined _RPC_THREAD_SAFE_ macro.
12551 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12552 Do not define _RPC_THREAD_SAFE_.
12553 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12554 conditional.
12555 * sunrpc/clnt_perr.c: Likewise.
12556 * sunrpc/clnt_raw.c: Likewise.
12557 * sunrpc/clnt_simp.c: Likewise.
12558 * sunrpc/key_call.c: Likewise.
12559 * sunrpc/rpc_common.c: Likewise.
12560 * sunrpc/rpc_main.c: Likewise.
12561 * sunrpc/rpc_thread.c: Likewise.
12562 * sunrpc/svc.c: Likewise.
12563 * sunrpc/svc_raw.c: Likewise.
12564 * sunrpc/svc_simple.c: Likewise.
12565 * sumrpc/svcauth_des.c: Likewise.
12566
29055464
FW
125672018-06-26 Florian Weimer <fweimer@redhat.com>
12568
12569 * libio/Makefile (tests-internal): Add tst-vtables,
12570 tst-vtables-interposed.
12571 * libio/tst-vtables.c: New file.
12572 * libio/tst-vtables-common.c: Likewise.
12573 * libio/tst-vtables-interposed.c: Likewise.
12574
5c0202af
FW
125752018-06-26 Florian Weimer <fweimer@redhat.com>
12576
12577 * support/support_test_main.c (support_test_main): Only call
12578 setvbuf if not disables.
12579 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12580 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12581
c402355d
FW
125822018-06-26 Florian Weimer <fweimer@redhat.com>
12583
12584 [BZ #23313]
12585 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12586
43b1048a
FW
125872018-06-25 Florian Weimer <fweimer@redhat.com>
12588
12589 [BZ #18023]
12590 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12591 Use struct scratch_buffer instead of extend_alloca.
12592
1599ed4e
FW
125932018-06-25 Florian Weimer <fweimer@redhat.com>
12594
12595 [BZ #18023]
12596 * nss/getent.c (initgroups_keys): Use dynarray instead of
12597 extend_alloca.
12598
a26fe163
FW
125992018-06-25 Florian Weimer <fweimer@redhat.com>
12600
12601 [BZ #18023]
12602 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12603 Use struct scratch_buffer instead of extend_alloca.
12604
90d9d9ce
FW
126052018-06-25 Florian Weimer <fweimer@redhat.com>
12606
12607 [BZ #18023]
12608 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12609 back to malloc directly, without stack allocations.
12610
6b7b2aba
FW
126112018-06-25 Florian Weimer <fweimer@redhat.com>
12612
12613 [BZ #18023]
12614 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12615 of extend_alloca.
12616
2f9f0d18
FW
126172018-06-25 Florian Weimer <fweimer@redhat.com>
12618
12619 [BZ #18023]
12620 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12621 of extend_alloca.
12622 * nscd/hstcache.c (addhstbyX): Likewise.
12623 * nscd/pwdcache.c (addpwbyX): Likewise.
12624 * nscd/servicescache.c (addservbyX): Likewise.
12625
318bad78
FW
126262018-06-25 Florian Weimer <fweimer@redhat.com>
12627
12628 [BZ #18023]
12629 * nscd/connections.c (read_cmdline): New function.
12630 (restart): Use it. Update comment.
12631
189699ab
RL
126322018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12633
12634 [BZ #23140]
12635 * localedata/locales/csb_PL (mon): Rename to...
12636 (alt_mon): This.
12637 (abmon): Rename to...
12638 (ab_alt_mon): This.
12639 (mon): Add with proper genitive forms, copy from Wikipedia.
12640 (abmon): Likewise.
12641
0ea3f13c
RL
126422018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12643
12644 [BZ #19485]
12645 * localedata/locales/csb_PL (mon): Fix typos:
12646 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12647 (yesstr): Add, value is "jo".
12648 (nostr): Add, value is "nié".
12649
d93f4ff1
TMQMF
126502018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12651
12652 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12653 all log1p and significand functions on m680x0.
12654 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12655 of s_significand.c..
12656 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12657 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12658 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12659 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12660 s_log1p.c and include it..
12661
f6299d2a
VC
126622018-06-21 Vincent Chen <vincentc@andestech.com>
12663
12664 * elf/elf.h (R_NDS32_NONE): New define.
12665 (R_NDS32_32_RELA): Likewise.
12666 (R_NDS32_COPY): Likewise.
12667 (R_NDS32_GLOB_DAT): Likewise.
12668 (R_NDS32_JUMP_SLOT): Likewise.
12669 (R_NDS32_RELATIVE): Likewise.
12670 (R_NDS32_TLS_TPOFF): Likewise.
12671 (R_NDS32_TLS_DESC): Likewise.
12672
61ab61c2
MW
126732018-06-21 Mark Wielaard <mark@klomp.org>
12674
12675 * elf/elf.h (R_BPF_MAP_FD): Removed.
12676 (R_BPF_64_64, R_BPF_64_32): New.
12677
f496b28e
FW
126782018-06-21 Florian Weimer <fweimer@redhat.com>
12679
12680 [BZ #23253]
12681 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12682 Renamed from libc_feholdsetround_ctx.
12683 (default_libc_feresetround_ctx): Renamed from
12684 libc_feresetround_ctx.
12685 (default_libc_feholdsetround_noex_ctx): Renamed from
12686 libc_feholdsetround_noex_ctx.
12687 (default_libc_feresetround_noex_ctx): Renamed from
12688 libc_feresetround_noex_ctx.
12689 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12690 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12691 forwardning to the old implementations under the new names.
12692 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12693 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12694 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12695 (libc_feresetround_ctx): Forward to default implements for i386
12696 and MATH_SET_BOTH_ROUNDING_MODES.
12697 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12698 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12699
1760daad
JM
127002018-06-20 Joseph Myers <joseph@codesourcery.com>
12701
99c7adf9
JM
12702 * string/tst-cmp.c: Include <libc-diag.h>.
12703 (strncmp_max): Disable -Wstringop-overflow= around call to
12704 strncmp.
12705 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12706 strncasecmp.
12707
1760daad
JM
12708 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12709 (main): Disable -Wunused-value around call to strpbrk.
12710 * string/bug-strspn1.c: Include <libc-diag.h>.
12711 (main): Disable -Wunused-value around call to strspn.
12712
209ae17c
TMQMF
127132018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12714 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12715
12716 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12717 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12718
badba23c
TMQMF
127192018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12720
5e79e029
TMQMF
12721 * math/Makefile (libm-calls): Move s_significandF to...
12722 (gen-libm-calls): ... here.
12723 * math/s_significand_template.c: New file.
12724 * math/s_significand.c: Removed.
12725 * math/s_significandf.c: Removed.
12726 * math/s_significandl.c: Removed.
12727 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12728 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12729
badba23c
TMQMF
12730 * math/e_exp2_template.c (declare_mgen_finite_alias,
12731 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12732 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12733 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12734
2d1c89a5
FW
127352018-06-20 Florian Weimer <fweimer@redhat.com>
12736
12737 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12738
646c2833
JM
127392018-06-19 Joseph Myers <joseph@codesourcery.com>
12740
12741 [BZ #23280]
12742 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12743 floating-point number to strtod functions rather than possibly
12744 negating result of those functions.
12745 * stdio-common/tst-scanf-round.c: New file.
12746 * stdio-common/Makefile (tests): Add tst-scanf-round.
12747 ($(objpfx)tst-scanf-round): Depend on $(libm).
12748
c77e4dc0
ST
127492018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12750
12751 * sysdeps/mach/hurd/localplt.data: Move to...
12752 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12753 R_386_GLOB_DAT like on Linux i386.
12754
91b2f3e5
JM
127552018-06-18 Joseph Myers <joseph@codesourcery.com>
12756
f2857da7
JM
12757 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12758 (SHM_STAT_ANY): New macro.
12759 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12760 (SHM_STAT_ANY): Likewise.
12761 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12762 (SHM_STAT_ANY): Likewise.
12763 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12764 (SHM_STAT_ANY): Likewise.
12765 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12766 (SHM_STAT_ANY): Likewise.
12767 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12768 (SHM_STAT_ANY): Likewise.
12769 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12770 (SHM_STAT_ANY): Likewise.
12771 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12772 (SHM_STAT_ANY): Likewise.
12773 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12774 (SHM_STAT_ANY): Likewise.
12775 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12776 (SHM_STAT_ANY): Likewise.
12777 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12778 (SHM_STAT_ANY): Likewise.
12779 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12780 (SHM_STAT_ANY): Likewise.
12781
176c7fee
JM
12782 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12783 (SEM_STAT_ANY): New macro.
12784 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12785 (SEM_STAT_ANY): Likewise.
12786 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12787 (SEM_STAT_ANY): Likewise.
12788 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12789 (SEM_STAT_ANY): Likewise.
12790 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12791 (SEM_STAT_ANY): Likewise.
12792 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12793 (SEM_STAT_ANY): Likewise.
12794 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12795 (SEM_STAT_ANY): Likewise.
12796 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12797 (SEM_STAT_ANY): Likewise.
12798 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12799 (SEM_STAT_ANY): Likewise.
12800 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12801 (SEM_STAT_ANY): Likewise.
12802
86bf0019
JM
12803 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12804 (MSG_STAT_ANY): New macro.
12805 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12806 (MSG_STAT_ANY): Likewise.
12807 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12808 (MSG_STAT_ANY): Likewise.
12809 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12810 (MSG_STAT_ANY): Likewise.
12811 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12812 (MSG_STAT_ANY): Likewise.
12813 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12814 (MSG_STAT_ANY): Likewise.
12815 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12816 (MSG_STAT_ANY): Likewise.
12817 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12818 (MSG_STAT_ANY): Likewise.
12819 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12820 (MSG_STAT_ANY): Likewise.
12821 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12822 (MSG_STAT_ANY): Likewise.
12823
91b2f3e5
JM
12824 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12825 (MAP_TYPE): Change value to 0x2b.
12826
3fe8fc79
FW
128272018-06-18 Florian Weimer <fweimer@redhat.com>
12828
12829 [BZ #15722]
12830 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12831 socket with SOCK_CLOEXEC.
12832
809dc95d
JM
128332018-06-18 Joseph Myers <joseph@codesourcery.com>
12834
12835 [BZ #23303]
12836 * sysdeps/powerpc/powerpc64/le/Makefile
12837 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12838 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12839 (gnulib-tests): Also add $(f128-loader-link) for
12840 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12841
298a8b59
ST
128422018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12843
12844 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12845 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12846 of sendfile.
12847 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12848 (sendfile64): New strong alias.
faf7bbc2
ST
12849 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12850 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12851 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
f96a85e0
ST
12852 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12853 attribute.
12854 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12855 ___pthread_get_cleanup_stack.
932d05f0 12856 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
c1b7586c
ST
12857 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12858 * mach/shortcut.awk: Make syscall stubs include
12859 <mach-shortcuts-hidden.h> and add hidden definition.
12860 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
7a646a93
ST
12861 (__mach_msg): Add hidden prototype.
12862 * mach/msg.c: Include <mach.h>.
12863 (__mach_msg): Add hidden definition.
b0344cf5
ST
12864 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12865 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12866 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12867 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
8c9d5342
ST
12868 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12869 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
4d0ac037
ST
12870 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12871 prototype and definition.
12872 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12873 hidden target for _hurd_self_sigstate.
298a8b59 12874
b12c1e79
JM
128752018-06-15 Joseph Myers <joseph@codesourcery.com>
12876
12877 [BZ #23007]
12878 * stdlib/tst-strtod-nan-sign-main.c: New file.
12879 * stdlib/tst-strtod-nan-sign.c: Likewise.
12880 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12881 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12882 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12883 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12884 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12885
b0debe14
HB
128862018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12887
12888 [BZ #23007]
12889 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12890 appropriate sign.
12891
14beef75
FW
128922018-06-14 Florian Weimer <fweimer@redhat.com>
12893
12894 [BZ #23290]
12895 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12896 that the result stays within the ISO-8859-1 range.
12897 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12898 characters are defined in IBM273.
12899
c596630b
ST
129002018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12901
12902 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12903 __mach_task_self): Remove attribute_hidden.
12904
35ebb6b0
JM
129052018-06-14 Joseph Myers <joseph@codesourcery.com>
12906
12907 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12908 ignore -Wrestrict for one test.
12909
3c7b9f1f
SE
129102018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12911 Szabolcs Nagy <szabolcs.nagy@arm.com>
12912
12913 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12914
c59ee916
FW
129152018-06-14 Florian Weimer <fweimer@redhat.com>
12916
12917 * scripts/update-abilist.sh: Accept empty list of files to patch.
12918
43b5ff50
ST
129192018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12920
12921 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12922 test-xfail-check-abi-libmachuser): Add.
c8c910ed
ST
12923 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12924 __libc_read and __libc_write to __read and __write.
c8c6e6d6 12925 * sysdeps/hurd/include/hurd/port.h: New file.
126b3ec3
ST
12926 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12927 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12928 __thread_switch, __evc_wait): Move declarations to...
12929 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12930 attribute_hidden.
06d1a826
ST
12931 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12932 use PLT to call _hurd_self_sigstate.
43b5ff50 12933
fcd6b5ac
JM
129342018-06-13 Joseph Myers <joseph@codesourcery.com>
12935
12936 [BZ #23279]
12937 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12938 MAX_EXP as overflowing.
12939 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12940 overflow flag.
12941 (round_str): Output also whether result overflows in each rounding
12942 mode.
12943 * stdlib/tst-strtod-round-data: Add more tests.
12944 * stdlib/tst-strtod-round-data.h: Regenerated.
12945 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
12946 (TEST): Handle extra arguments for overflow flags.
12947 (struct test_overflow): New type.
12948 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
12949 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
12950 (test_in_one_mode): Take argument with overflow information.
12951 (do_test): Update calls to test_in_one_mode.
12952
35df5a77
CD
129532018-06-12 Carlos O'Donell <carlos@redhat.com>
12954
a745c837
CD
12955 * elf/dl-load (_dl_dst_substitute): Correct comment.
12956 (_dl_dst_count): Likewise.
12957
35df5a77
CD
12958 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
12959 lll_futex_timed_wait.
12960
48b12ed5
JM
129612018-06-12 Joseph Myers <joseph@codesourcery.com>
12962
12963 [BZ #23277]
12964 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
12965 attribute.
12966 * math/test-nan-const.c: New file.
12967 * math/Makefile (tests): Add test-nan-const.
12968 (CFLAGS-test-nan-const.c): New variable.
12969
cb8f6aff
L
129702018-06-12 H.J. Lu <hongjiu.lu@intel.com>
12971
12972 * benchtests/scripts/compare_strings.py (process_results): Add
12973 funcs argument. Compare only functions which are selected.
12974 (main): Check if base function is among selected functions.
12975 Pass selected functions to process_results.
12976 (__main__): Add -f/--functions argument.
12977
fc2ba803
HZ
129782018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
12979 Hongbo Zhang <hongbo.zhang@linaro.org>
12980
12981 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
12982 __memcpy_falkor for phecda core.
12983 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
12984 __memmove_falkor for phecda core.
12985 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
12986 __memset_falkor for phecda core.
12987 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
12988 for phecda core.
12989 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
12990 macro to identify phecda core.
12991
5aad5f61
CD
129922018-06-12 Carlos O'Donell <carlos@redhat.com>
12993 Andreas Schwab <schwab@suse.de>
12994 Dmitry V. Levin <ldv@altlinux.org>
6b5c8607 12995 Florian Weimer <fweimer@redhat.com>
5aad5f61
CD
12996
12997 [BZ #23102]
12998 [BZ #21942]
12999 [BZ #18018]
13000 [BZ #23259]
13001 CVE-2011-0536
13002 * elf/dl-dst.h: Remove DL_DST_COUNT.
13003 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13004 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13005 (is_dst): Comment. Support ELF gABI.
13006 (_dl_dst_count): Comment. Simplify and count DSTs.
13007 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13008 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13009 locals.
13010
329ea513
ZW
130112018-06-12 Zack Weinberg <zackw@panix.com>
13012
13013 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13014 * sysdeps/unix/sysv/linux/dl-sysdep.c
13015 Include not-cancel.h. Use __close_nocancel instead of __close,
13016 __open64_nocancel instead of __open, __read_nocancel instead of
13017 __libc_read, and __write_nocancel instead of __libc_write.
13018
13019 * csu/check_fds.c (check_one_fd)
13020 * sysdeps/posix/fdopendir.c (__fdopendir)
13021 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
b39d961c 13022 instead of __fcntl and/or __libc_fcntl.
329ea513
ZW
13023
13024 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13025 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
b39d961c 13026 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
329ea513
ZW
13027 Use __open64_nocancel instead of __open_nocancel.
13028
13029 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13030 hidden_proto declarations to the end and issue them if either
13031 IS_IN(libc) or IS_IN(rtld).
13032 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13033 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13034 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13035 read_nocancel, waitpid_nocancel, write_nocancel.
13036
b39d961c
TS
13037 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13038 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13039 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
329ea513 13040
b39d961c
TS
13041 * nptl/pt-fcntl.c: New file.
13042 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13043 (libpthread-routines): Add pt-fcntl.
13044 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13045 (__libc_fcntl): Remove attribute_hidden.
329ea513
ZW
13046 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13047 __fcntl_nocancel_adjusted, not fcntl_common.
b39d961c 13048 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
329ea513
ZW
13049 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13050 to fcntl_nocancel.c.
13051 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13054 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13055
13056 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13057 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13058 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13059 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13060 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13061 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13062 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13063 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13064 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13065 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13066 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13067 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13068 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13069 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13070 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13071 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13072 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13073 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13074 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13075 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13076
b39d961c
TS
13077 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13078 libpthread-routines.
13079 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13080 defines nothing.
329ea513 13081
b39d961c
TS
13082 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13083 __libc_read, and __write instead of __libc_write. Define
13084 __open64 in addition to __open.
329ea513 13085
0221ce2a
L
130862018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13087
13088 [BZ #23250]
13089 [BZ #10686]
13090 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13091 to _private_tm[3] and add __glibc_reserved2.
13092 Add _Static_assert of offset of __private_ss == 0x30.
13093 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13094 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13095
e826574c
FW
130962018-06-12 Florian Weimer <fweimer@redhat.com>
13097
13098 x86: Make strncmp usable from rtld.
13099 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13100 __strncmp_ia32 if in libc (and not in rtld).
13101 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13102 strncmp if not in libc (and not to __strncmp_sse2).
13103
c4ad5782
RL
131042018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13105
13106 [BZ #23140]
13107 * localedata/locales/gd_GB (mon): Rename to...
13108 (alt_mon): This.
13109 (mon): Import from CLDR (genitive case).
13110 * localedata/locales/hsb_DE (mon): Rename to...
13111 (alt_mon): This.
13112 (mon): Import from CLDR (genitive case).
13113 * localedata/locales/wa_BE (mon): Rename to...
13114 (alt_mon): This.
13115 (mon): Add, fill with the proper genitive forms, but CLDR data
13116 is incomplete; completed according to the comments in this file.
13117 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13118
13119 * localedata/locales/wa_BE (country_name): Reword
13120 "Beljike" -> "Beldjike".
13121
ca121b11
JM
131222018-06-11 Joseph Myers <joseph@codesourcery.com>
13123
13124 [BZ #23272]
13125 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13126 cases of non-finite arguments.
13127 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13128
2b69fecb
JDA
131292018-06-10 John David Anglin <danglin@gcc.gnu.org>
13130
13131 [BZ #23174]
13132 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13133
283d9851
AZ
131342018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13135
13136 [BZ #23264]
13137 * include/unistd.h (__execvpex): New prototype.
13138 * posix/Makefile (tests): Add tst-spawn4.
13139 (tests-internal): Add tst-spawn4-compat.
13140 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13141 * posix/tst-spawn4-compat.c: New file.
13142 * posix/tst-spawn4.c: Likewise.
13143 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13144 binaries as shell scripts.
13145 * sysdeps/posix/spawni.c (__spawni): Likewise.
13146
67c05796
L
131472018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13148
13149 [BZ #23145]
13150 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13151 ($(all-built-dso:=.dynsym): New target.
13152 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13153 ($(objpfx)check-initfini.out): New target.
13154 (generated): Add check-initfini.out.
13155 * scripts/check-initfini.awk: New file.
13156 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13157 (_fini): Likewise.
13158 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13159 (_fini): Likewise.
13160 * sysdeps/arm/crti.S (_init): Mark as hidden.
13161 (_fini): Likewise.
13162 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13163 (_fini): Likewise.
13164 * sysdeps/i386/crti.S (_init): Mark as hidden.
13165 (_fini): Likewise.
13166 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13167 (_fini): Likewise.
13168 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13169 (_fini): Likewise.
13170 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13171 (_fini): Likewise.
13172 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13173 (_fini): Likewise.
13174 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13175 (_fini): Likewise.
13176 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13177 (_fini): Likewise.
13178 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13179 (_fini): Likewise.
13180 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13181 (_fini): Likewise.
13182 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13183 (_fini): Likewise.
13184 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13185 (_fini): Likewise.
13186 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13187 (_fini): Likewise.
13188 * sysdeps/sh/crti.S (_init): Mark as hidden.
13189 (_fini): Likewise.
13190 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13191 (_fini): Likewise.
13192 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13193 (_fini): Likewise.
13194
1c09524e
TMQMF
131952018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13196
13197 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13198 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13199 and TF redirection to KFtype and KF only when the default
13200 long double type is not the IEEE 128-bit floating point type.
13201
0e0577c9
JM
132022018-06-05 Joseph Myers <joseph@codesourcery.com>
13203
0c1c33b2
JM
13204 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13205 macro.
13206 (HWCAP_USCAT): Likewise.
13207 (HWCAP_ILRCPC): Likewise.
13208 (HWCAP_FLAGM): Likewise.
13209 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13210 Increase to 28.
13211 (_dl_aarch64_cap_flags): Add new flag names.
13212
bef1cbf4
JM
13213 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13214 (MAP_FIXED_NOREPLACE): New macro.
13215 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13216 (MAP_FIXED_NOREPLACE): Likewise.
13217 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13218 (MAP_FIXED_NOREPLACE): Likewise.
13219 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13220 (MAP_FIXED_NOREPLACE): Likewise.
13221 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13222 (MAP_FIXED_NOREPLACE): Likewise.
13223 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13224 (MAP_FIXED_NOREPLACE): Likewise.
13225 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13226 (MAP_FIXED_NOREPLACE): Likewise.
13227 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13228 (MAP_FIXED_NOREPLACE): Likewise.
13229 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13230 (MAP_FIXED_NOREPLACE): Likewise.
13231 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13232 (MAP_FIXED_NOREPLACE): Likewise.
13233 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13234 (MAP_FIXED_NOREPLACE): Likewise.
13235 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13236 (MAP_FIXED_NOREPLACE): Likewise.
13237 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13238 (MAP_FIXED_NOREPLACE): Likewise.
13239 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13240 (MAP_FIXED_NOREPLACE): Likewise.
13241 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13242 (MAP_FIXED_NOREPLACE): Likewise.
13243
0e0577c9
JM
13244 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13245 version to 4.17.
13246
ab3a0da0
JM
132472018-06-04 Joseph Myers <joseph@codesourcery.com>
13248
13249 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13250 version to 4.17
13251
d2d9dfb6
ST
132522018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13253
13254 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13255 int.
13256 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13257
a650b05e
LS
132582018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13259
13260 * benchtests/scripts/compare_string.py: (process_results) Catch
13261 exception in non-existent base_func and catch exception in
13262 non-existent attribute.
13263 (parse_file) Catch exception if input file does not exist.
13264
195abbf4
LS
132652018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13266
13267 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13268 options to avoid diff calculation and omit header, respectively.
13269 (main): process --no-diff and --no-header
13270
14570163
LS
132712018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13272 H.J. Lu <hongjiu.lu@intel.com>
13273
13274 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13275 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13276 wcsncmp-sse2.
13277 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13278 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13279 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13280 and __wcsncmp_sse2.
13281 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13282 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13283 AVX unaligned load is fast and vzeroupper is preferred.
13284 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13285 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13286 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13287 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13288 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13289 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13290 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13291 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13292 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13293 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13294 is undefined.
13295
e02c026f
FW
132962018-06-01 Florian Weimer <fweimer@redhat.com>
13297
13298 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13299 configuring with --disable-multi-arch, building with
13300 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13301 Haswell-era CPU.
13302
d8c19275
FW
133032018-06-01 Florian Weimer <fweimer@redhat.com>
13304
13305 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13306 results from building with “-march=x86-64 -mtune=generic
13307 -mfpmath=sse” and running on a Haswell-era CPU.
13308
0d2163eb
JM
133092018-06-01 Joseph Myers <joseph@codesourcery.com>
13310
13311 [BZ #18473]
13312 * soft-fp/sqrttf2.c: Remove file.
13313 * soft-fp/sqrtdf2.c: Move to ....
13314 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13315 <shlib-compat.h>.
13316 (__sqrtdf2): Make conditional on
13317 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13318 symbol.
13319 * soft-fp/sqrtsf2.c: Move to ....
13320 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13321 <shlib-compat.h>.
13322 (__sqrtsf2): Make conditional on
13323 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13324 symbol.
13325 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13326 (gcc-double-routines): Remove sqrtdf2.
13327 (gcc-quad-routines): Remove sqrttf2.
13328 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13329 Do not filter out sqrtsf2 and sqrtdf2.
13330 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13331 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13332
10450210
FW
133332018-06-01 Florian Weimer <fweimer@redhat.com>
13334
13335 * sysdeps/generic/libcidn.abilist: Remove file.
13336
4e8a6346
FW
133372018-06-01 Florian Weimer <fweimer@redhat.com>
13338
13339 [BZ #23236]
13340 * libio/strfile.h (struct _IO_str_fields): Rename members to
13341 discourage their use and add comment.
13342 (_IO_STR_DYNAMIC): Remove unused macro.
13343 * libio/strops.c (_IO_str_init_static_internal): Do not use
13344 callback pointers. Call malloc and free.
13345 (_IO_str_overflow): Do not use callback pointers. Call malloc
13346 and free.
13347 (enlarge_userbuf): Likewise.
13348 (_IO_str_finish): Call free.
13349 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13350 _allocate_buffer_unused.
13351 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13352 and free.
13353 (enlarge_userbuf): Likewise.
13354 (_IO_wstr_finish): Call free.
13355 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13356 _allocate_buffer_unused, _free_buffer_unused.
13357 * libio/memstream.c (__open_memstream): Likewise.
13358 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13359 * libio/wmemstream.c (open_wmemstream): Likewise.
13360
50d004c9
PP
133612018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13362
13363 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13364 AMD Ryzen 7 1800X.
13365
2c93fce7
RS
133662018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13367
13368 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13369 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13370 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13371 New file.
13372 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13373 Likewise.
13374 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13375
0ce2fa69
FW
133762018-05-29 Florian Weimer <fweimer@redhat.com>
13377
13378 * support/Makefile (libsupport-routines): Add
13379 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13380 xpthread_barrierattr_setpshared.
13381 * support/xpthread_barrierattr_destroy.c: New file.
13382 * support/xpthread_barrierattr_init.c: Likewise.
13383 * support/xpthread_barrierattr_setpshared.c: Likewise.
13384
7f7b5d8d
L
133852018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 [BZ #23206]
13388 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13389 _r_debug and update DT_DEBUG for debugger.
13390
e4890300
FW
133912018-05-29 Florian Weimer <fweimer@redhat.com>
13392
13393 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13394 (tst-strtod5i.out): Likewise.
13395
2c753f3e
JM
133962018-05-25 Joseph Myers <joseph@codesourcery.com>
13397
b5453d9f
JM
13398 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13399 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13400 (sparc64-quad-routines): New variable. Moved from ....
13401 [$(subdir) = soft-fp] (sysdep_routines): Add
13402 $(sparc64-quad-routines). Moved from ....
13403 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13404 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13405 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13406 moved from ....
13407 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13408 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13409 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13410 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13411 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13412 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13413 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13414 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13415 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13416 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13417 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13418 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13419 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13420 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13421 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13422 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13423 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13424 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13425 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13426 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13427 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13428 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13429 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13430 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13431 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13432 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13433 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13434 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13435 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13436 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13437 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13438 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13439 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13440 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13441 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13442 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13443 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13444 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13445 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13446 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13447 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13448 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13449 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13450 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13451 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13452 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13453 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13454 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13455 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13456 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13457 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13458 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13459 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13460 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13461 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13462 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13463 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13464 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13465
2c753f3e
JM
13466 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13467 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13468 (sparc32-quad-routines): New variable. Moved from ....
13469 [$(subdir) = soft-fp] (sysdep_routines): Add
13470 $(sparc32-quad-routines). Moved from ....
13471 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13472 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13473 moved from ....
13474 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13475 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13476 * sysdeps/sparc/sparc32/q_add.c: ... here.
13477 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13478 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13479 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13480 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13481 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13482 * sysdeps/sparc/sparc32/q_div.c: ... here.
13483 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13484 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13485 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13486 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13487 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13488 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13489 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13490 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13491 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13492 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13493 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13494 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13495 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13496 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13497 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13498 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13499 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13500 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13501 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13502 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13503 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13504 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13505 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13506 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13507 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13508 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13509 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13510 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13511 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13512 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13513 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13514 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13515 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13516 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13517 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13518 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13519 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13520 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13521 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13522 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13523 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13524 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13525 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13526 * sysdeps/sparc/sparc32/q_util.c: ... here.
13527 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13528 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13529 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13530 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13531
c1dc1e1b
TMQMF
135322018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13533 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13534
13535 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13536 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13537 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13538 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13539
14186e8d
JM
135402018-05-24 Joseph Myers <joseph@codesourcery.com>
13541
13542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13543 powerpc/soft-fp.
13544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13545 Likewise.
13546 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13547 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13548
fb0e10b8
GG
135492018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13550
13551 [BZ #23171]
13552 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13553 double version.
13554
1dfeb17e
JM
135552018-05-23 Joseph Myers <joseph@codesourcery.com>
13556
13557 * sysdeps/sh/Implies: Remove sh/soft-fp.
13558 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13559 * sysdeps/sh/sfp-machine.h: ... here.
13560
727b38df
L
135612018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13562
13563 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13564 (__mempcpy_erms): Skip zero length.
13565 (__memmove_erms): Likewise.
13566 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13567 (__memset_erms): Likewise.
13568
2834fb46
JM
135692018-05-23 Joseph Myers <joseph@codesourcery.com>
13570
13571 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13572 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13573 Add functions moved from ....
13574 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13575 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13576 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13577 from ....
13578 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13579 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13580 * sysdeps/alpha/e_sqrtl.c: ... here.
13581 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13582 * sysdeps/alpha/local-soft-fp.h: ... here.
13583 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13584 * sysdeps/alpha/ots_add.c: ... here.
13585 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13586 * sysdeps/alpha/ots_cmp.c: ... here.
13587 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13588 * sysdeps/alpha/ots_cmpe.c: ... here.
13589 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13590 * sysdeps/alpha/ots_cvtqux.c: ... here.
13591 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13592 * sysdeps/alpha/ots_cvtqx.c: ... here.
13593 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13594 * sysdeps/alpha/ots_cvttx.c: ... here.
13595 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13596 * sysdeps/alpha/ots_cvtxq.c: ... here.
13597 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13598 * sysdeps/alpha/ots_cvtxt.c: ... here.
13599 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13600 * sysdeps/alpha/ots_div.c: ... here.
13601 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13602 * sysdeps/alpha/ots_mul.c: ... here.
13603 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13604 * sysdeps/alpha/ots_nintxq.c: ... here.
13605 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13606 * sysdeps/alpha/ots_sub.c: ... here.
13607 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13608 * sysdeps/alpha/sfp-machine.h: ... here.
13609
7f9f1ecb
FW
136102018-05-23 Florian Weimer <fweimer@redhat.com>
13611
13612 [BZ #19728]
13613 [BZ #19729]
13614 [BZ #22247]
13615 CVE-2016-6261
13616 CVE-2016-6263
13617 CVE-2017-14062
13618 Switch to extern IDNA implementation (libidn2).
13619 * libidn: Remove subdirectory.
13620 * LICENSES: Do not mention licensing conditions for the removed
13621 libidn code.
13622 * config.h.in (HAVE_LIBIDN): Remove.
13623 * include/dlfcn.h (__libc_dlopen): Update comment.
13624 * include/idna.h: Remove file.
13625 * inet/Makefile (routines): Add idna.
13626 (tests-static, tests-internal): Add tst-idna_name_classify.
13627 (LOCALES): Generate locales for tests.
13628 (tst-idna_name_classify.out): Depend on generated locales.
13629 * inet/idna_name_classify.c: New file.
13630 * inet/tst-idna_name_classify.c: Likewise.
13631 * inet/net-internal.h (__idna_to_dns_encoding)
13632 (__idna_from_dns_encoding): Declare.
13633 * inet/net-internal.h (enum idna_name_classification): Define.
13634 (__idna_name_classify): Declare.
13635 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13636 __idna_from_dns_encoding.
13637 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13638 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13639 name as a fallback in case of encoding errors.
13640 (getnameinfo): Use DEPRECATED_NI_IDN.
13641 * inet/idna.c: New file.
13642 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13643 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13644 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13645 (modules-names): Add tst-no-libidn2.
13646 (extra-test-objs): Add tst-no-libidn2.os.
13647 (LDFLAGS-tst-no-libidn2.so): Set soname.
13648 (LOCALES): Set, and generate locales.
13649 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13650 (tst-resolv-ai_idn-latin1): Likewise.
13651 (tst-resolv-ai_idn-nolibidn2): Likewise.
13652 (tst-resolv-ai_idn.out): Depend on locales.
13653 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13654 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13655 tst-no-libidn2.so.
13656 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13657 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13658 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13659 * resolv/tst-resolv-ai_idn.c: New file.
13660 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13661 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13662 * resolv/tst-no-libidn2.c: Likewise.
13663 * support/support_format_addrinfo.c (format_ai_flags): Do not
13664 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13665 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13666 (gaih_inet): Call __idna_to_dns_encoding and
13667 __idna_from_dns_encoding, and use the original (punycode) name if
13668 __idna_from_dns_encoding fails due to an encoding error.
13669 (getaddrinfo): Use DEPRECATED_AI_IDN.
13670 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13671 * sysdeps/unix/inet/configure: Remove file.
13672 * sysdeps/unix/inet/configure.ac: Likewise.
13673
5f7b841d
FW
136742018-05-23 Florian Weimer <fweimer@redhat.com>
13675
13676 Implement allocate_once.
13677 * include/allocate_once.h: New file.
13678 * misc/allocate_once.c: Likewise.
13679 * misc/tst-allocate_once.c: Likewise.
13680 * misc/Makefile (routines): Add allocate_once.
13681 (tests-internal): Add tst-allocate_once.
13682 (generated): Add tst-allocate_once.mtrace,
13683 tst-allocate_once-mem.out.
13684 (tests-special): Add tst-allocate_once-mem.out.
13685 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13686 (tst-allocate_once-mem.out): Call mtrace.
13687 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13688
ed983107
L
136892018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13690
13691 [BZ #23196]
13692 * string/test-memcpy.c (do_test1): New function.
13693 (test_main): Call it.
13694
9aaaab7c
AS
136952018-05-23 Andreas Schwab <schwab@suse.de>
13696
13697 [BZ #23196]
13698 CVE-2018-11237
13699 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13700 (L(preloop_large)): Save initial destination pointer in %r11 and
13701 use it instead of %rax after the loop.
13702 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13703
5c5c0dd7
JM
137042018-05-22 Joseph Myers <joseph@codesourcery.com>
13705
8f145c77
JM
13706 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13707 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13708 -I../soft-fp. Moved from ....
13709 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13710 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13711 * sysdeps/aarch64/e_sqrtl.c: ... here.
13712 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13713 * sysdeps/aarch64/sfp-machine.h: ... here.
13714
3d6302a5
JM
13715 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13716 -Wmaybe-uninitialized around access to fq[0].
13717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13718 Likewise.
13719
5c5c0dd7
JM
13720 [BZ #18471]
13721 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13722 aliases for non-libc case of versioned symbols.
13723 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13724 (llseek): Define as compat symbol if
13725 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13726 with link warning.
13727 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13728 Make into a compat symbol, disabled for minimum symbol version
13729 GLIBC_2.28 and later.
13730 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13731
ed0d6988
FW
137322018-05-22 Florian Weimer <fweimer@redhat.com>
13733
13734 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13735 not add -mpreferred-stack-boundary=4.
13736 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13737 (stack-align-test-flags): Likewise.
13738 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13739 Likewise.
13740 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13741 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13742 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13743 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13744 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13745 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13746 (CFLAGS-tst-align2.c): Likewise.
13747
e28e9b1e
L
137482018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13749
13750 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13751 (index_arch_Prefer_FSRM): Likewise.
13752 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13753 Also check Prefer_FSRM.
13754 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13755 Also return OPTIMIZE (erms) for Prefer_FSRM.
13756
1af30adc
L
137572018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13758
13759 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13760 (index_cpu_FSRM): Likewise.
13761 (reg_FSRM): Likewise.
13762
78274dc8
JM
137632018-05-18 Joseph Myers <joseph@codesourcery.com>
13764
7c67e6e8
JM
13765 * math/gen-tgmath-tests.py: Import sys.
13766 (Tests.__init__): Initialize macros_seen.
13767 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13768 if requested to do so for this macro.
13769 (Tests.add_all_tests): Take argument for macro for which to
13770 generate tests.
13771 (Tests.check_macro_list): New function.
13772 (main): Handle check-list argument and argument specifying macro
13773 for which to generate tests.
13774 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13775 [PYTHON] (tgmath3-macro-tests): Likewise.
13776 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13777 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13778 not test-tgmath3.c.
13779 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13780 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13781 to CFLAGS.
13782 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13783 [PYTHON] ($(foreach
13784 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13785 rule.
13786 [PYTHON] (tests-special): Add
13787 $(objpfx)test-tgmath3-macro-list.out.
13788 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13789
ebc129fd
JM
13790 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13791 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13792 later.
13793
78274dc8
JM
13794 [BZ #22639]
13795 * time/tzset.c (SECSPERDAY): Cast to time_t.
13796 * time/tst-y2039.c: New file.
13797 * time/Makefile (tests): Add tst-y2039.
13798
6f7fdeeb
LS
137992018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13800
13801 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13802 (PREFETCH_ONE_SET): Remove duplicate line.
13803
e363a91c
FW
138042018-05-17 Florian Weimer <fweimer@redhat.com>
13805
13806 * sysdeps/generic/math-type-macros-double.h: Include
13807 <math-nan-payload-double.h> after <libm-alias-double.h>.
13808 * sysdeps/generic/math-type-macros-float.h: Include
13809 <math-nan-payload-float.h> after <libm-alias-float.h>.
13810 * sysdeps/generic/math-type-macros-float128.h: Include
13811 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13812 * sysdeps/generic/math-type-macros-ldouble.h: Include
13813 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13814
dae6c43c
AS
138152018-05-17 Andreas Schwab <schwab@suse.de>
13816
13817 * resolv/res_send.c (__res_context_send): Don't set errno when
13818 returing error after malloc failure.
13819
0068c085
L
138202018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13821
13822 * nptl/allocatestack.c (allocate_stack): Remove the
13823 !__ASSUME_PRIVATE_FUTEX paths.
13824 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13825 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13826 Likewise.
13827 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13828 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13829 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13830 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13831 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13832 !__ASSUME_PRIVATE_FUTEX path.
13833 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13834 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13835 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13836 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13837 !__ASSUME_PRIVATE_FUTEX macros.
13838 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13839 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13840 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13841 * sysdeps/unix/sysv/linux/kernel-features.h
13842 (__ASSUME_PRIVATE_FUTEX): Removed.
13843
632a6cbe
JM
138442018-05-17 Joseph Myers <joseph@codesourcery.com>
13845
13846 * math/Makefile (libm-narrow-fns): Add div.
13847 (libm-test-funcs-narrow): Likewise.
13848 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13849 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13850 * math/gen-auto-libm-tests.c (test_functions): Add div.
13851 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13852 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13853 (NARROW_DIV_TRIVIAL): Likewise.
13854 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13855 macro.
13856 (__ddivl): Likewise.
13857 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13858 ddiv.
13859 (CFLAGS-nldbl-ddiv.c): New variable.
13860 (CFLAGS-nldbl-fdiv.c): Likewise.
13861 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13862 __nldbl_ddivl.
13863 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13864 prototype.
13865 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13866 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13867 * math/auto-libm-test-in: Add tests of div.
13868 * math/auto-libm-test-out-narrow-div: New generated file.
13869 * math/libm-test-narrow-div.inc: New file.
13870 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13871 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13872 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13873 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13874 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13875 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13876 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13877 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13878 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13879 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13880 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13881 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13882 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13883 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13884 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13885 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13886 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13887 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13889 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13890 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13891 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13892 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13893 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13894 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13895 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13896 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13897 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13898 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13899 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13900 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13901 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13906 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13907 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13908 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13909 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13910 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13911 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13912 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13913 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13914
8c78faa9
AZ
139152018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13916
13917 [BZ #23178]
13918 * nscd/nscd-client.h (sendfileall): Remove prototype.
13919 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13920 (handle_request): Use writeall instead of sendfileall.
13921 * nscd/aicache.c (addhstaiX): Likewise.
13922 * nscd/grpcache.c (cache_addgr): Likewise.
13923 * nscd/hstcache.c (cache_addhst): Likewise.
13924 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13925 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13926 * nscd/pwdcache.c (cache_addpw): Likewise.
13927 * nscd/servicescache.c (cache_addserv): Likewise.
13928 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13929 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13930 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13931 Remove define.
13932
04958880
L
139332018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13934
13935 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13936 Include <string/strncat.c>.
13937 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13938 alias.
13939 (__GI___strncat): New hidden alias.
13940
c9992d13
JM
139412018-05-16 Joseph Myers <joseph@codesourcery.com>
13942
13943 * sysdeps/mips/mips32/libm-test-ulps: Update.
13944 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
13945
2afece36
FW
139462018-05-16 Florian Weimer <fweimer@redhat.com>
13947
13948 * support/Makefile (libsupport-routines): Add support_quote_blob,
13949 support_test_compare_blob.
13950 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
13951 * support/check.h (TEST_COMPARE_BLOB): Define.
13952 (support_test_compare_blob): Declare.
13953 * support/support.h (support_quote_blob): Declare.
13954 * support/support_quote_blob.c: New file.
13955 * support/support_test_compare_blob.c: Likewise.
13956 * support/tst-support_quote_blob.c: Likewise.
13957 * support/tst-test_compare_blob.c: Likewise.
13958
9761bf4d
FW
139592018-05-16 Florian Weimer <fweimer@redhat.com>
13960
13961 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
13962 of <strtod_nan_double.h>.
13963 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
13964 instead of SET_MANTISSA.
13965 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
13966 of include <strtod_nan_float.h>.
13967 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
13968 instead of <strtod_nan_ldouble.h>.
13969 * stdlib/strtod_nan_double.h: Move to ...
13970 * sysdeps/generic/math-nan-payload-double.h: ... here.
13971 (FLOAT): Remove definition.
13972 (SET_MANTISSA): Rename to ...
13973 (SET_NAN_PAYLOAD): ... this.
13974 * stdlib/strtod_nan_float.h: Move to ...
13975 * sysdeps/generic/math-nan-payload-float.h: ... here.
13976 (FLOAT): Remove definition.
13977 (SET_MANTISSA): Rename to ...
13978 (SET_NAN_PAYLOAD): ... this.
13979 * sysdeps/generic/math-type-macros-double.h: Include
13980 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
13981 instead of <math-svid-compat.h>.
13982 * sysdeps/generic/math-type-macros-float.h: Include
13983 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
13984 instead of <math-svid-compat.h>.
13985 * sysdeps/generic/math-type-macros-float128.h: Include
13986 <math-nan-payload-float128.h>.
13987 * sysdeps/generic/math-type-macros-ldouble.h: Include
13988 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
13989 instead of <math-svid-compat.h>.
13990 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
13991 check for definition.
13992 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
13993 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
13994 Include <ieee754_float128.h>.
13995 (FLOAT): Remove definition.
13996 (SET_MANTISSA): Rename to ...
13997 (SET_NAN_PAYLOAD): ... this.
13998 * sysdeps/ieee754/float128/strtof128_nan.c: Include
13999 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14000 Do not include <float128_private.h>.
14001 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14002 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14003 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14004 (FLOAT): Remove definition.
14005 (SET_MANTISSA): Rename to ...
14006 (SET_NAN_PAYLOAD): ... this.
14007 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14008 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14009 (FLOAT): Remove definition.
14010 (SET_MANTISSA): Rename to ...
14011 (SET_NAN_PAYLOAD): ... this.
14012 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14013 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14014 (FLOAT): Remove definition.
14015 (SET_MANTISSA): Rename to ...
14016 (SET_NAN_PAYLOAD): ... this.
14017 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14018 of "../stdlib/strtod_nan_double.h".
14019 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14020 of "../stdlib/strtod_nan_float.h".
14021 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14022 instead of "../stdlib/strtod_nan_ldouble.h".
14023 * manual/arith.texi (Parsing of Floats): Adjust comment.
14024
69a01461
JM
140252018-05-16 Joseph Myers <joseph@codesourcery.com>
14026
14027 * math/Makefile (libm-narrow-fns): Add mul.
14028 (libm-test-funcs-narrow): Likewise.
14029 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14030 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14031 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14032 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14033 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14034 (NARROW_MUL_TRIVIAL): Likewise.
14035 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14036 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14037 macro.
14038 (__dmull): Likewise.
14039 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14040 dmul.
14041 (CFLAGS-nldbl-dmul.c): New variable.
14042 (CFLAGS-nldbl-fmul.c): Likewise.
14043 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14044 __nldbl_dmull.
14045 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14046 prototype.
14047 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14048 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14049 * math/auto-libm-test-in: Add tests of mul.
14050 * math/auto-libm-test-out-narrow-mul: New generated file.
14051 * math/libm-test-narrow-mul.inc: New file.
14052 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14053 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14054 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14055 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14056 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14057 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14058 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14059 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14060 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14061 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14062 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14063 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14064 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14065 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14066 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14067 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14068 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14069 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14070 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14071 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14072 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14073 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14074 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14075 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14076 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14077 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14078 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14079 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14080 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14081 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14082 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14083 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14088 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14089 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14090 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14091 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14092 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14093 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14094 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14095 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14096
a15529fd
L
140972018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14098
14099 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14100 with *%eax in call.
14101
98ee36c7
L
141022018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14103
14104 * sysdeps/i386/ldsodefs.h: Removed.
14105 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14106 * sysdeps/x86/ldsodefs.h: This.
14107 (La_i86_regs): New.
14108 (La_i86_retval): Likewise.
14109 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14110 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14111
e322ec32
L
141122018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14113
14114 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14115 unnecessary testl.
14116
0937e209
AM
141172018-05-13 Alan Modra <amodra@gmail.com>
14118
14119 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14120 R_PARISC_TLS_DTPOFF32 reloc addend.
14121
5db7d705
TMQMF
141222018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14123
14124 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14125 * math/math.h: Restrict the prototype definition for the functions
14126 issignaling(_Float128) and iszero(_Float128); and template
14127 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14128 __HAVE_FLOAT128_UNLIKE_LDBL.
14129 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14130 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14131 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14132 __f128() constants; define the type _Float128 as long double;
14133 and reuse long double in __CFLOAT128.
14134
b4d5b8b0
JM
141352018-05-11 Joseph Myers <joseph@codesourcery.com>
14136
14137 * sysdeps/generic/math_private.h: Do not include
14138 <math-barriers.h>.
14139 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14140 <math_private.h>.
14141 * math/fromfp.h: Include <math-barriers.h>.
14142 * math/math-narrow.h: Likewise.
14143 * math/s_nextafter.c: Likewise.
14144 * math/s_nexttowardf.c: Likewise.
14145 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14146 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14147 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14148 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14149 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14150 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14151 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14152 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14153 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14154 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14155 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14156 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14157 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14158 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14159 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14160 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14161 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14162 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14163 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14164 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14165 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14166 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14167 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14168 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14169 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14170 * sysdeps/ieee754/k_standardl.c: Likewise.
14171 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14172 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14173 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14174 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14175 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14176 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14177 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14178 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14179 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14180 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14181 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14182 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14183 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14184 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14186 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14187 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14188 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14189 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14190 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14191 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14192 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14193
fc79706a
FW
141942018-05-11 Florian Weimer <fweimer@redhat.com>
14195
14196 Use 64-bit epoch values in the time zone file parser.
14197 * include/time.h (internal_time_t): Define.
14198 (__tzfile_compute): Use it.
14199 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14200 member.
14201 (transitions): Switch to internal_time_t.
14202 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14203 types.
14204 (__tzfile_compute): Use internal_time_t for timer argument. Check
14205 for truncation before calling __offtime.
14206
89aacb51
FW
142072018-05-11 Florian Weimer <fweimer@redhat.com>
14208
14209 [BZ #23166]
14210 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14211 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14212 Likewise.
14213 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14214 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14215 export without --enable-obsolete-rpc.
14216 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14217 symbol. This should not have been exported, ever.
14218
bb066cb8
RL
142192018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14220
14221 [BZ #23152]
14222 * localedata/locales/gd_GB (abmon): Fix typo in May:
14223 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14224
70c97f84
SP
142252018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14226
db725a45
SP
14227 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14228 Use multiple registers to copy data in loop tail.
14229
70c97f84
SP
14230 * sysdeps/aarch64/multiarch/memmove_falkor.S
14231 (__memmove_falkor): Use multiple registers to move data in
14232 loop tail.
14233
8f5b00d3
JM
142342018-05-10 Joseph Myers <joseph@codesourcery.com>
14235
14236 * math/math-underflow.h: New file.
14237 * sysdeps/generic/math_private.h: Do not include <float.h>.
14238 (fabs_tg): Remove macro. Moved to math-underflow.h.
14239 (min_of_type_f): Likewise.
14240 (min_of_type_): Likewise.
14241 (min_of_type_l): Likewise.
14242 (min_of_type_f128): Likewise.
14243 (min_of_type): Likewise.
14244 (math_check_force_underflow): Likewise.
14245 (math_check_force_underflow_nonneg): Likewise.
14246 (math_check_force_underflow_complex): Likewise.
14247 * math/e_exp2_template.c: Include <math-underflow.h>.
14248 * math/k_casinh_template.c: Likewise.
14249 * math/s_catan_template.c: Likewise.
14250 * math/s_catanh_template.c: Likewise.
14251 * math/s_ccosh_template.c: Likewise.
14252 * math/s_cexp_template.c: Likewise.
14253 * math/s_clog10_template.c: Likewise.
14254 * math/s_clog_template.c: Likewise.
14255 * math/s_csin_template.c: Likewise.
14256 * math/s_csinh_template.c: Likewise.
14257 * math/s_csqrt_template.c: Likewise.
14258 * math/s_ctan_template.c: Likewise.
14259 * math/s_ctanh_template.c: Likewise.
14260 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14261 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14262 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14263 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14264 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14265 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14266 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14267 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14268 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14269 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14270 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14271 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14273 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14274 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14275 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14276 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14277 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14278 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14280 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14281 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14282 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14283 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14284 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14285 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14286 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14287 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14288 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14289 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14290 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14291 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14292 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14293 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14294 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14295 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14296 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14297 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14298 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14299 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14300 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14301 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14302 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14303 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14304 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14305 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14306 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14307 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14308 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14309 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14310 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14311 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14312 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14313 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14314 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14315 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14316 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14317 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14318 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14319 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14320 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14321 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14323 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14324 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14325 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14326 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14327 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14328 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14329 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14330 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14331 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14332 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14333 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14334 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14335 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14336 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14337 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14338 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14339 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14340 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14341 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14342 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14343 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14344
9ed2e15f
JM
143452018-05-09 Joseph Myers <joseph@codesourcery.com>
14346
14347 * sysdeps/generic/math-barriers.h: New file.
14348 * sysdeps/generic/math_private.h [!math_opt_barrier]
14349 (math_opt_barrier): Move to math-barriers.h.
14350 [!math_opt_barrier] (math_force_eval): Likewise.
14351 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14352 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14353 math-barriers.h.
14354 (math_force_eval): Likewise.
14355 * sysdeps/alpha/fpu/math-barriers.h: New file.
14356 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14357 math-barriers.h.
14358 (math_force_eval): Likewise.
14359 * sysdeps/x86/fpu/math-barriers.h: New file.
14360 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14361 math-barriers.h.
14362 (math_force_eval): Likewise.
14363 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14364 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14365 multiple-include guard for rename.
14366 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14367 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14368 math-barriers.h.
14369 (math_force_eval): Likewise.
14370
5460617d
PP
143712018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14372
14373 [BZ #22786]
43d4f3d5 14374 CVE-2018-11236
5460617d
PP
14375 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14376 computation.
14377 * stdlib/Makefile (test-bz22786): New test.
14378 * stdlib/test-bz22786.c: New test.
14379
aaee3cd8
JM
143802018-05-09 Joseph Myers <joseph@codesourcery.com>
14381
14382 * include/math-narrow-eval.h: New file. Contents moved from ....
14383 * sysdeps/generic/math_private.h: ... here.
14384 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14385 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14386 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14387 * stdlib/strtod_l.c: Likewise.
14388 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14389 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14390 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14391 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14392 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14393 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14395 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14396 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14397 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14398 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14399 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14400 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14401 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14402 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14403 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14404 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14405 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14406 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14410 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14411 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14412 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14413 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14414 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14415 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14416 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14417
0555c477
AS
144182018-05-08 Andreas Schwab <schwab@suse.de>
14419
14420 * sysdeps/nptl/internaltypes.h: Fix comment.
14421
50d7d351
L
144222018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14423
14424 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14425 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14426 hidden.
14427
543477f7
SP
144282018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14429
14430 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14431 of I into loop header.
14432 * benchtests/bench-memmove-walk.c
14433 (test_main): Likewise.
14434
144352018-05-07 Alexandre Oliva <oliva@gnu.org>
ffa81c22
AO
14436
14437 Revert:
14438 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14439 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14440
0065aaaa
PP
144412018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14442
14443 [BZ #20419]
14444 * elf/dl-load.c (open_verify): Fix stack overflow.
14445 * elf/Makefile (tst-big-note): New test.
14446 * elf/tst-big-note-lib.S: New.
14447 * elf/tst-big-note.c: New.
14448
b289cd9d
JM
144492018-05-04 Joseph Myers <joseph@codesourcery.com>
14450
14451 * scripts/abilist.awk: Ignore absolute symbols.
14452 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14453 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14454 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14455 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14456 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14457 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14458 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14459 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14460 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14461 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14462 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14463 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14464 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14465 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14466 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14467 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14468 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14469 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14470 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14471 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14472 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14473 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14474 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14475 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14476 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14477 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14478 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14479 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14480 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14481 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14482 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14483 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14484 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14485 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14486 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14487 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14488 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14489 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14490 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14491 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14492 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14493 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14494 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14495 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14496 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14497 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14498 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14499 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14500 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14501 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14502 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14503 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14504 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14505 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14506 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14507 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14508 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14509 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14510 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14511 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14512 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14513 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14514 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14515 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14516 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14517 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14518 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14525 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14526 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14532 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14544 Likewise.
14545 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14558 Likewise.
14559 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14586 Likewise.
14587 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14599 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14600 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14607 Likewise.
14608 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14613 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14614 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14640 Likewise.
14641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14642 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14646 Likewise.
14647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14648 Likewise.
14649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14651 Likewise.
14652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14654 Likewise.
14655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14656 Likewise.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14660 Likewise.
14661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14662 Likewise.
14663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14664 Likewise.
14665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14669 Likewise.
14670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14676 Likewise.
14677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14679 Likewise.
14680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14681 Likewise.
14682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14683 Likewise.
14684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14685 Likewise.
14686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14689 Likewise.
14690 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14691 Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14693 Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14695 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14696 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14697 Likewise.
14698 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14701 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14702 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14703 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14704 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14706 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14707 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14709 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14710 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14711 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14712 Likewise.
14713 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14714 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14715 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14716 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14717 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14718 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14719 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14720 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14721 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14724 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14725 Likewise.
14726 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14731 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14732 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14734 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14735 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14736 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14737 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14738 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14739 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14740 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14741 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14744 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14745 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14746 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14747 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14748 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14749 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14751 Likewise.
14752 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14753 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14765 Likewise.
14766 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14767 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14768 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14780 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14781 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14804
16609018
SL
148052018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14806
14807 [BZ #23137]
14808 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14809 Use atomic_load_acquire to load __tid.
14810
556f5c46
L
148112018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14812
14813 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14814 Restore the pointer into %rdx, after syscall and use %rdx,
14815 instead of %rsi, to restore context.
14816
8b8f32b2
L
148172018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14818
14819 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14820 Pop the pointer into %rdx after syscall and use %rdx, instead
14821 of %rsi, to restore context.
14822
d6cc1829
L
148232018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14824
14825 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14826 handlers after setjmp.
14827 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14828 defined.
14829 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14830 <libc-pointer-arith.h>.
14831 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14832 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14833 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14834 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14835 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14836 * sysdeps/x86/__longjmp_cancel.S: New file.
14837 * sysdeps/x86/longjmp.c: Likewise.
14838 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14839
cf2478d5
AZ
148402018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14841
14842 * NEWS: Add ustat.h deprecation entry.
14843 * bits/ustat.h: Remove file.
14844 * misc/sys/ustat.h: Likewise.
14845 * misc/ustat.h: Likewise.
14846 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14847 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14848 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14849 compatibility mode.
14850 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14851 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14852 generic Linux implementation.
14853
dc115e1c
TMQMF
148542018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14855
14856 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14857 * math/w_expl_compat.c: Likewise.
14858 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14859
6b5c8607 148602018-04-30 Raymond Nicholson <rain1@airmail.cc>
340d9652
RN
14861
14862 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14863
c57bf7c1
AZ
148642018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14865
14866 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14867 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14868 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14869 Remove.
14870 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14872 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14873 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14874 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14875 and SYSCALL_LL64.
14876
06135c33
TMQMF
148772018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14878
33927914
TMQMF
14879 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14880
06135c33
TMQMF
14881 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14882 * math/w_asin_template.c: Likewise.
14883 * math/w_atanh_template.c: Likewise.
14884
3a33b069
GG
148852018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14886
14887 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14888 to powerpc/powerpc64/be for big-endian.
14889 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14890 little-endian.
14891
14892 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14893 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14894 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14895 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14896 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14897 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14898 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14899 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14900 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14901 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14902 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14903 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14904 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14905 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14906 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14907 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14908 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14909 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14910 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14911 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14912 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14913 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14914 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14915 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14916 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14917 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14918 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14919 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14920 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14921 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14922 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14923 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14924
14925 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14926 adjusted to imply powerpc64 and older processors on powerpc64/be.
14927 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14928 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14929 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14930 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14931 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14932 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14933 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14934 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14935 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14936 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14937 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14938 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14939 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14940 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14941 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14942 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14943 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14944 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
14945 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
14946 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
14947 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
14948 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
14949 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
14950 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
14951 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
14952 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
14953 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
14954 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
14955 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
14956 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
14957 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
14958
14959 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
14960 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
14961 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
14962 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
14963
14964 * sysdeps/powerpc/powerpc64/be/Implies: New file.
14965 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
14966 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
14967 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
14968
14969 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
14970 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
14971 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
14972 * sysdeps/powerpc/powerpc64le/configure: Likewise.
14973 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
14974 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
14975 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
14976 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
14977 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
14978 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
14979 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
14980
14981 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
14982 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
14983 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
14984 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
14985 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
14986 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
14987 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
14988 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
14989 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
14990 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
14991 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
14992
14993 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
14994 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
14995 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
14996 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
14997 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
14998 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
14999 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15000 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15001 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15002 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15003 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15004 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15005
15006 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15007 and adjusted to imply olders processors.
15008 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15009 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15010 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15011 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15012 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15013 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15014 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15015 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15016 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15017 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15018 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15019
15020 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15021 powerpc64/le.
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15023 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15024
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15026 powerpc64le.
15027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15029
15030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15031 powerpc64/be.
15032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15035
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15037 powerpc64 and adjusted.
15038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15041 Likewise.
15042
a3fb6b6b
JM
150432018-04-27 Joseph Myers <joseph@codesourcery.com>
15044
15045 * sysdeps/tile: Remove.
15046 * sysdeps/unix/sysv/linux/tile: Likewise.
15047 * README (tilegx-*-linux-gnu): Remove from list of supported
15048 configurations.
15049 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15050 contribution of support for generic Linux kernel syscall
15051 interface.
15052 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15053 tilegx configurations.
15054 (Config.install_linux_headers): Do not handle tile.
15055 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15056 in comment.
15057 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15058 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15059 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15060 conditional undefine and redefine.
15061 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15062 in comment.
15063 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15064 conditional undefine and redefine.
15065
7a6f7478
AJ
150662018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15067
15068 * signal/tst-sigaction.c: New file to test BZ #23069.
15069 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15070
81b49e96
TMQMF
150712018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15072
15073 [BZ #22766]
15074 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15075 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15076 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15077 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15078
7d80f48e
AZ
150792018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15080
15081 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15082 _DIRENT_MATCHES_DIRENT64 is not defined.
15083 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15084 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15085 is defined.
15086 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15087 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15088
42a2bf58
JM
150892018-04-25 Joseph Myers <joseph@codesourcery.com>
15090
15091 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15092 version to GCC 8 branch.
15093
9320ca88
JM
150942018-04-24 Joseph Myers <joseph@codesourcery.com>
15095
5e14bb97
JM
15096 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15097 (check_no_hidden): Use type of original function when declaring
15098 alias.
15099
9320ca88
JM
15100 * sysdeps/unix/sysv/linux/sys/ptrace.h
15101 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15102 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15103 (struct __ptrace_seccomp_metadata): New type.
15104 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15105 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15106 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15107 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15108 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15109 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15110 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15111 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15112 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15113 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15114 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15115 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15116 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15117 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15118 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15119 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15120
af7e376b
AZ
151212018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15122
15123 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15124 defined.
15125 * dirent/versionsort.c (versionsort): Likewise.
15126 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15127 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15128 * dirent/versionsort64.c (versionsort64): Likewise.
15129 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15130 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15131 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15132 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15133 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15134 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15135 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15136 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15137 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15138 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15141 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15142 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15143
da5e0361
JM
151442018-04-23 Joseph Myers <joseph@codesourcery.com>
15145
15146 * elf/elf.h (NT_PPC_PKEY): New macro.
15147
6b5c8607 151482018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
ea76691a
DSN
15149
15150 [BZ #23094]
15151 * localedata/locales/hr_HR: fix thousands_sep and
15152 mon_thousands_sep
15153
573963e3
JM
151542018-04-20 Joseph Myers <joseph@codesourcery.com>
15155
15156 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15157 (XTABS): Define to TAB3.
15158
c0123b3b
AZ
151592018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15160
0900a849
AZ
15161 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15162
c0123b3b
AZ
15163 * dirent/scandir-tail-common.c: New file.
15164 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15165 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15166 * dirent/scandir.c: Use scandir-tail-common.c.
15167 * dirent/scandirat.c: Likewise.
15168 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15169 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15170 if _DIRENT_MATCHES_DIRENT64 is defined.
15171 * dirent/scandirat64.c (scandirat64): Likewise.
15172 * include/dirent.h (__scandir_tail): Only define iff
15173 _DIRENT_MATCHES_DIRENT64 is not defined.
15174 (__scandir64_tail): Define regardless.
15175 (__scandirat, scandirat64): Remove libc_hidden_proto.
15176 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15177 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15179 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15180 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15181 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15182 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15183
458b94f6
JM
151842018-04-20 Joseph Myers <joseph@codesourcery.com>
15185
15186 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15187 New macro.
15188 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15189 Increase to 24.
15190 (_dl_aarch64_cap_flags): Add asimdfhm.
15191
9f0437e8
CLT
151922018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15193
15194 * sysdeps/nios2/libm-test-ulps: Update.
15195
298d0e31
AZ
151962018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15197
50511ca4
AZ
15198 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15199 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15200
298d0e31
AZ
15201 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15202 requirements.
6b5c8607 15203 (_DIRENT_MATCHES_DIRENT64): Undef
298d0e31
AZ
15204 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15205 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15206 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15207 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15208 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15209 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15210 use getdents64 syscalls as base.
15211 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15212 symbol if required.
15213 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15214 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15215 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15216 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15217 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15218 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15219 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15220 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15221 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15222 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15223 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15224
0085be14
SL
152252018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15226
15227 * scripts/test_printers_common.py (init_test): Disable lock elision.
15228
da796524
SL
152292018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15230
15231 * math/test-tgmath.c (count_double, count_float,
15232 count_ldouble, count_cdouble, count_cfloat,
15233 count_cldouble): Use volatile int.
15234
0dd25301
ST
152352018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15236
15237 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15238 (conformtest-xfail-conds): Add i386-gnu.
cbc256b1 15239 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
0dd25301
ST
15240 i386-gnu.
15241 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15242 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15243 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15244 msqid_ds.msg_lrpid): Likewise.
15245 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15246 Likewise.
15247 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15248 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
9d9f8f03
ST
15249 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15250 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15251 unsigned int.
15252 (struct statvfs64): Likewise.
f55a4fde
ST
15253 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15254 Likewise.
77b93390
ST
15255 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15256 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15257 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15258 instead of wait_queue.
15259 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15260 instead of vm_area_struct.
5cd2931a
ST
15261 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15262 struct sched_param definition to it.
e60c3f2b
ST
15263 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15264 * bits/types/struct_sched_param.h: New file.
15265 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15266 <bits/types/struct_sched_param.h> instead of <sched.h>.
15267 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
5cd2931a
ST
15268 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15269 generic version but include <bits/pthreadtypes.h> to make struct
15270 sigevent's sigev_notify_attributes field a pthread_attr_t*.
ed370924
ST
15271 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15272 non-compliant.
a564872d
ST
15273 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15274 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15275 [__USE_XOPEN] (OFDEL): New macro.
15276 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
a279b8ed 15277 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
5dbfe13b
ST
15278 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15279 prototypes.
15280 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15281 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
81b032c8
ST
15282 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15283 non-compliant.
15284 * sysdeps/i386/sys/ucontext.h: Likewise.
15285 * sysdeps/m68k/sys/ucontext.h: Likewise.
15286 * sysdeps/mips/sys/ucontext.h: Likewise.
15287 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
f00b62ec
ST
15288 * sysdeps/mach/hurd/i386/Makefile
15289 (test-xfail-POSIX/fcntl.h/conform): Add.
15290 (test-xfail-POSIX/signal.h/conform): Add.
15291 (test-xfail-POSIX/semaphore.h/conform): Add.
15292 (test-xfail-POSIX/regex.h/conform): Add.
15293 (test-xfail-POSIX/aio.h/conform): Add.
15294 (test-xfail-POSIX/mqueue.h/conform): Add.
15295 (test-xfail-POSIX/sys/types.h/conform): Add.
15296 (test-xfail-UNIX98/fcntl.h/conform): Add.
15297 (test-xfail-UNIX98/netdb.h/conform): Add.
15298 (test-xfail-UNIX98/signal.h/conform): Add.
15299 (test-xfail-UNIX98/semaphore.h/conform): Add.
15300 (test-xfail-UNIX98/regex.h/conform): Add.
15301 (test-xfail-UNIX98/aio.h/conform): Add.
15302 (test-xfail-UNIX98/ftw.h/conform): Add.
15303 (test-xfail-UNIX98/mqueue.h/conform): Add.
15304 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15305 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15306 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15307 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15308 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15309 (test-xfail-UNIX98/sys/types.h/conform): Add.
15310 (test-xfail-UNIX98/stdlib.h/conform): Add.
15311 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15312 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15313 (test-xfail-POSIX2008/netdb.h/conform): Add.
15314 (test-xfail-POSIX2008/signal.h/conform): Add.
15315 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15316 (test-xfail-POSIX2008/regex.h/conform): Add.
15317 (test-xfail-POSIX2008/aio.h/conform): Add.
15318 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15319 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15320 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15321 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15322 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15323 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15324 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15325 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15326 (test-xfail-XOPEN2K/signal.h/conform): Add.
15327 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15328 (test-xfail-XOPEN2K/regex.h/conform): Add.
15329 (test-xfail-XOPEN2K/aio.h/conform): Add.
15330 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15331 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15332 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15333 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15334 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15335 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15336 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15337 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15338 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15339 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15340 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15341 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15342 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15343 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15344 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15345 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15346 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15347 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15348 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15349 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15350 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15351 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15352 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15353 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15354 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15355 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
cbc256b1
ST
15356 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15357 i386-gnu.
15358 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15359 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
0dd25301 15360
d6397de3
JM
153612018-04-18 Joseph Myers <joseph@codesourcery.com>
15362
15363 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15364 --enable-obsolete for powerpc-linux-gnuspe.
15365
8323a902
ST
153662018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15367
3dc0814c 15368 * conform/data/sys/un.h-data: Allow sun_ prefix.
c5896a45 15369 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
d4379e02 15370 prototypes.
c5896a45
ST
15371 * sysdeps/mach/include/mach.h: Likewise.
15372 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15373 * sysdeps/mach/include/mach_error.h: Likewise.
8323a902 15374
743b9c2a
AZ
153752018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15376
15377 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15378 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15379 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15380 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15381
326e74e7
AS
153822018-04-16 Andreas Schwab <schwab@suse.de>
15383
15384 [BZ #19527]
15385 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15386
6b5c8607 153872018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
a14d8acd
PM
15388
15389 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15390 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15391
a700e7cb
DD
153922018-04-12 DJ Delorie <dj@redhat.com>
15393
15394 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15395 version to 4.16.
15396
d8abfab7
SL
153972018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15398
15399 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15400 (struct kernel_sigaction): Use the same definition on 31bit as is used
15401 on 64bit.
15402
583a27d5
FW
154032018-04-09 Florian Weimer <fweimer@redhat.com>
15404
15405 [BZ #23037]
15406 * resolv/res_send.c (send_dg): Use designated initializers instead
15407 of assignment to zero-initialize other fields of struct mmsghdr.
15408
243f59e5
AZ
154092018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15410
942de61a
AZ
15411 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15412 __READDIR_ALIAS): Undefine after usage.
15413 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15414 __READDIR_R_ALIAS): Likewise.
15415 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15416 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15417 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15418 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15419 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15420 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15421 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15422 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15423 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15424 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15425 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15426 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15427 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15428 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15429 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15430 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15431 * sysdeps/unix/sysv/linux/readdir.c: New file.
15432 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15433 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15434 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15435
243f59e5
AZ
15436 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15437
690c3475
AS
154382018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15439
15440 * manual/charset.texi (Converting a Character): Fix typo.
15441
6b5c8607 154422018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
b4a5d26d 15443
bbc2062a
AZ
15444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15445
fa7c6199
AZ
15446 * sysdeps/arm/libm-test-ulps: Update.
15447
b4a5d26d
AZ
15448 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15449 as base implementation.
15450 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15451 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15452 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15453 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15454 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15455 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15456 remove unrequired definitions and update comments.
15457 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15458 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15459 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15460 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15461 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15462 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15463 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15464 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15465 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15466 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15467 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15468 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15469 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15470 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15471 and RESET_SA_RESTORER hooks.
15472
db9e55ff
SL
154732018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15474
15475 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15476
cf138b0c
FW
154772018-04-05 Florian Weimer <fweimer@redhat.com>
15478
15479 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15480 integer overflow, memory leak on error, and indeterminate errno
15481 value. Add a null wide character to terminate the result string.
15482 * manual/charset.texi (Converting a Character): Mention embedded
15483 null bytes in the mbrtowc input string. Explain what happens in
15484 the -2 result case. Do not claim that mbrtowc is simple or
15485 obvious to use. Adjust the description of the code example. Use
15486 @code, not @var, for concrete variables.
15487
0f339252
FW
154882018-04-05 Florian Weimer <fweimer@redhat.com>
15489
15490 * manual/examples/mbstouwcs.c: New file.
15491 * manual/charset.texi (Converting a Character): Include it.
15492
e5f9508a
ST
154932018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15494
c120981d
ST
15495 * include/dirent.h (dirfd): Add hidden proto.
15496 * dirent/dirfd.c (dirfd): Add hidden def.
15497 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15498 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
e5f9508a 15499
b2fd61ca
TMQMF
155002018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15501
15502 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15503 sin, cos and sincos to 1 ULP.
15504
10a446dd
MR
155052018-04-04 Maciej W. Rozycki <macro@mips.com>
15506
e7feec37
MR
15507 [BZ #19818]
15508 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15509 symbols.
15510 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15511 * elf/tst-absolute-sym.c: New file.
15512 * elf/tst-absolute-sym-lib.c: New file.
15513 * elf/tst-absolute-sym-lib.lds: New file.
15514 * elf/Makefile (tests): Add `tst-absolute-sym'.
15515 (modules-names): Add `tst-absolute-sym-lib'.
15516 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15517 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15518 ($(objpfx)tst-absolute-sym): New dependency.
15519
10a446dd
MR
15520 [BZ #19818]
15521 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15522 parameter.
15523 (SYMBOL_ADDRESS): New macro.
15524 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15525 SYMBOL_ADDRESS for symbol address calculation.
15526 * elf/dl-runtime.c (_dl_fixup): Likewise.
15527 (_dl_profile_fixup): Likewise.
15528 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15529 * elf/rtld.c (dl_main): Likewise.
15530 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15531 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15532 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15533 (elf_machine_rela): Likewise.
15534 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15535 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15536 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15537 (elf_machine_rela): Likewise.
15538 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15539 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15540 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15541 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15542 Likewise.
15543 (elf_machine_reloc): Likewise.
15544 (elf_machine_got_rel): Likewise.
15545 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15546 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15547 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15548 Likewise.
15549 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15550 Likewise.
15551 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15552 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15553 Likewise.
15554 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15555 Likewise.
15556 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15557 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15558 Likewise.
15559 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15560 Likewise.
15561 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15562 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15563
9185f86d
ZW
155642018-04-04 Zack Weinberg <zackw@panix.com>
15565
15566 * sysdeps/generic/internal-signals.h: Include signal.h,
15567 sigsetops.h, and stdbool.h.
15568 (__libc_signal_block_all): Actually block all signals.
15569 (__libc_signal_block_app): Likewise.
15570 (__libc_signal_restore_set): Actually restore the signal mask.
15571
b07367bc
FW
155722018-04-04 Florian Weimer <fweimer@redhat.com>
15573
15574 inet: Actually build and run tst-deadline.
15575 * inet/Makefile (tests-internal): Add tst-deadline and do not
15576 overwrite the variable.
15577 (tests-static-internal): Remove variable.
15578
f2652643
L
155792018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15580
15581 [BZ #22947]
15582 * bits/uio-ext.h (RWF_APPEND): New.
15583 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15584 * manual/llio.texi: Document RWF_APPEND.
15585 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15586 (RWF_SUPPORTED): Add RWF_APPEND.
15587
6b5c8607 155882018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
d2dc5467
AZ
15589
15590 [BZ #22391]
15591 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15592 check for internal nptl signals.
15593 * nptl/sigaction.c (__sigaction): Likewise.
15594 * signal/sigaddset.c (sigaddset): Likewise.
15595 * signal/sigdelset.c (sigdelset): Likewise.
15596 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15597 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15598 value.
15599 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15600 to filter out internal nptl signals.
15601 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15602 also check realtime signals using standard macros.
15603 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15604 __is_internal_signal, __libc_signal_block_all,
15605 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15606 * sysdeps/nptl/sigfillset.c: Remove file.
15607 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15608 Change return to bool.
15609 (__clear_internal_signals): Remove SIGTIMER clean since it is
15610 equal to SIGCANEL on Linux.
15611 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15612 signal set was constructed using standard functions.
15613
511ed56f
ST
156142018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15615
92846492
ST
15616 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15617 ifname is too long.
e8ef51b1
ST
15618 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15619 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
ff297b70
ST
15620 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15621 hidden def.
15622 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
d8440a21
ST
15623 * signal/sigaddset.c: Include <sigsetopts.h>.
15624 * signal/sigdelset.c: Likewise.
511ed56f 15625
e88ecbbf
WD
156262018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15627
15628 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15629 (__cos): Likewise.
15630 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15631 logic as sin and cos.
15632
aef3e255
WD
156332018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15634
15635 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15636 inputs. Return correct sign.
15637 (do_sincos): Remove small input check before do_sin, let do_sin set
15638 the sign.
15639 (__sin): Likewise.
15640 (__cos): Likewise.
15641
72f6e9a3
WD
156422018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15643
15644 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15645 (do_cos_slow): Likewise.
15646 (do_sin_slow): Likewise.
15647 (reduce_and_compute): Likewise.
15648 (slow): Likewise.
15649 (slow1): Likewise.
15650 (slow2): Likewise.
15651 (sloww): Likewise.
15652 (sloww1): Likewise.
15653 (sloww2): Likewise.
15654 (bslow): Likewise.
15655 (bslow1): Likewise.
15656 (bslow2): Likewise.
15657 (cslow2): Likewise.
15658
64909583
WD
156592018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15660
15661 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15662 (do_cos): Remove corp parameter and calculations.
15663 (do_sin): Likewise.
15664 (do_sincos): Remove cor variable.
15665 (__sin): Use do_sincos for huge inputs.
15666 (__cos): Likewise.
15667 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15668 (reduce_and_compute_sincos): Remove unused function.
15669
d9469deb
WD
156702018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15671
15672 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15673 reduce_sincos, improve accuracy to 136 bits.
15674 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15675 (__sin): Use improved reduction and simplified do_sincos calculation.
15676 (__cos): Likewise.
15677 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15678
7a5640f2
WD
156792018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15680
15681 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15682 (do_sincos_2): Likewise.
15683 (__sin): Remove middle range reduction case.
15684 (__cos): Likewise.
15685 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15686 reduction case.
15687
19a8b9a3
WD
156882018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15689
15690 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15691 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15692 inputs.
15693 (__cos): Likewise.
15694 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15695
f72aa11d
JM
156962018-04-03 Joseph Myers <joseph@codesourcery.com>
15697
15698 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19a8b9a3 15699 version to 4.16
f72aa11d 15700
8e4754ed
AZ
157012018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15702
15703 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15704 Remove definitions.
15705 (opendir_oflags): Use O_DIRECTORY regardless.
15706 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15707 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15708
8e2666ea
ST
157092018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15710
15711 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15712 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15713 macros.
15714 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15715 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15716 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15717 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
deed72f6
ST
15718 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15719 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
8e2666ea 15720
ad2b41bf
ST
15721 * htl/Makefile: Bump licence to LGPL 2.1+.
15722 * htl/alloca_cutoff.c: Likewise.
15723 * htl/cthreads-compat.c: Likewise.
15724 * htl/lockfile.c: Likewise.
15725 * htl/pt-alloc.c: Likewise.
15726 * htl/pt-cancel.c: Likewise.
15727 * htl/pt-cleanup.c: Likewise.
15728 * htl/pt-create.c: Likewise.
15729 * htl/pt-dealloc.c: Likewise.
15730 * htl/pt-detach.c: Likewise.
15731 * htl/pt-exit.c: Likewise.
15732 * htl/pt-getattr.c: Likewise.
15733 * htl/pt-initialize.c: Likewise.
15734 * htl/pt-internal.h: Likewise.
15735 * htl/pt-join.c: Likewise.
15736 * htl/pt-self.c: Likewise.
15737 * htl/pt-setcancelstate.c: Likewise.
15738 * htl/pt-setcanceltype.c: Likewise.
15739 * htl/pt-sigmask.c: Likewise.
15740 * htl/pt-spin-inlines.c: Likewise.
15741 * htl/pt-testcancel.c: Likewise.
15742 * htl/pt-yield.c: Likewise.
15743 * htl/tests/test-1.c: Likewise.
15744 * htl/tests/test-10.c: Likewise.
15745 * htl/tests/test-11.c: Likewise.
15746 * htl/tests/test-12.c: Likewise.
15747 * htl/tests/test-13.c: Likewise.
15748 * htl/tests/test-14.c: Likewise.
15749 * htl/tests/test-15.c: Likewise.
15750 * htl/tests/test-16.c: Likewise.
15751 * htl/tests/test-17.c: Likewise.
15752 * htl/tests/test-2.c: Likewise.
15753 * htl/tests/test-3.c: Likewise.
15754 * htl/tests/test-4.c: Likewise.
15755 * htl/tests/test-5.c: Likewise.
15756 * htl/tests/test-6.c: Likewise.
15757 * htl/tests/test-7.c: Likewise.
15758 * htl/tests/test-8.c: Likewise.
15759 * htl/tests/test-9.c: Likewise.
15760 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15761 * sysdeps/htl/bits/cancelation.h: Likewise.
15762 * sysdeps/htl/bits/pthread-np.h: Likewise.
15763 * sysdeps/htl/bits/pthread.h: Likewise.
15764 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15765 * sysdeps/htl/bits/semaphore.h: Likewise.
15766 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15767 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15768 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15769 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15770 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15771 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15772 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15773 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15774 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15775 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15776 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15777 * sysdeps/htl/old_pt-atfork.c: Likewise.
15778 * sysdeps/htl/pt-atfork.c: Likewise.
15779 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15780 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15781 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15782 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15783 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15784 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15785 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15786 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15787 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15788 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15789 * sysdeps/htl/pt-attr-init.c: Likewise.
15790 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15791 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15792 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15793 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15794 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15795 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15796 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15797 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15798 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15799 * sysdeps/htl/pt-attr.c: Likewise.
15800 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15801 * sysdeps/htl/pt-barrier-init.c: Likewise.
15802 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15803 * sysdeps/htl/pt-barrier.c: Likewise.
15804 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15805 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15806 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15807 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15808 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15809 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15810 * sysdeps/htl/pt-cond-init.c: Likewise.
15811 * sysdeps/htl/pt-cond-signal.c: Likewise.
15812 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15813 * sysdeps/htl/pt-cond-wait.c: Likewise.
15814 * sysdeps/htl/pt-cond.c: Likewise.
15815 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15816 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15817 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15818 * sysdeps/htl/pt-condattr-init.c: Likewise.
15819 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15820 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15821 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15822 * sysdeps/htl/pt-equal.c: Likewise.
15823 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15824 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15825 * sysdeps/htl/pt-getschedparam.c: Likewise.
15826 * sysdeps/htl/pt-getspecific.c: Likewise.
15827 * sysdeps/htl/pt-init-specific.c: Likewise.
15828 * sysdeps/htl/pt-key-create.c: Likewise.
15829 * sysdeps/htl/pt-key-delete.c: Likewise.
15830 * sysdeps/htl/pt-key.h: Likewise.
15831 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15832 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15833 * sysdeps/htl/pt-mutex-init.c: Likewise.
15834 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15835 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15836 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15837 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15838 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15839 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15840 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15841 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15842 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15843 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15844 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15845 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15846 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15847 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15848 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15849 * sysdeps/htl/pt-mutexattr.c: Likewise.
15850 * sysdeps/htl/pt-once.c: Likewise.
15851 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15852 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15853 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15854 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15855 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15856 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15857 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15858 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15859 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15860 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15861 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15862 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15863 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15864 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15865 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15866 * sysdeps/htl/pt-setschedparam.c: Likewise.
15867 * sysdeps/htl/pt-setschedprio.c: Likewise.
15868 * sysdeps/htl/pt-setspecific.c: Likewise.
15869 * sysdeps/htl/pt-spin.c: Likewise.
15870 * sysdeps/htl/pt-startup.c: Likewise.
15871 * sysdeps/htl/pthread.h: Likewise.
15872 * sysdeps/htl/sem-close.c: Likewise.
15873 * sysdeps/htl/sem-destroy.c: Likewise.
15874 * sysdeps/htl/sem-getvalue.c: Likewise.
15875 * sysdeps/htl/sem-init.c: Likewise.
15876 * sysdeps/htl/sem-open.c: Likewise.
15877 * sysdeps/htl/sem-post.c: Likewise.
15878 * sysdeps/htl/sem-timedwait.c: Likewise.
15879 * sysdeps/htl/sem-trywait.c: Likewise.
15880 * sysdeps/htl/sem-unlink.c: Likewise.
15881 * sysdeps/htl/sem-wait.c: Likewise.
15882 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15883 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15884 * sysdeps/mach/htl/pt-block.c: Likewise.
15885 * sysdeps/mach/htl/pt-spin.c: Likewise.
15886 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15887 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15888 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15889 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15890 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15891 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15892 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15893 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15894 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15895 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15896 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15897 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15898 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15899 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15900 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15901 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15902 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15903 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15904 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15905 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15906 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15907 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15908 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15909 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15910 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15911 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15912 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15913 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15914 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15915 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15916 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15917 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15918 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15919 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15920 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15921 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15922 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15923 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15924 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15925 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15926 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15927 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15928 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15929
fb03b04b
ST
15930 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15931 * README: Remove the mention of out-of-tree patches needed for
15932 GNU/Hurd.
15933
fa9e1555
ST
15934 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15935 (UTIME_NOW, UTIME_OMIT): Define macros.
15936
f6fb29d2
ST
15937 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15938 instead of pthread_detach.
15939 (__cthread_fork): Call __pthread_create instead of pthread_create.
15940 (__cthread_keycreate): Call __pthread_key_create instead of
15941 pthread_key_create.
15942 (__cthread_getspecific): Call __pthread_getspecific instead of
15943 pthread_getspecific.
15944 (__cthread_setspecific): Call __pthread_setspecific instead of
15945 pthread_setspecific.
15946 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
15947 __pthread_mutex_unlock instead of pthread_mutex_lock and
15948 pthread_mutex_unlock.
15949 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
15950 ___pthread_get_cleanup_stack.
15951 (__pthread_get_cleanup_stack): New strong alias.
15952 * htl/pt-create.c: Include <pthreadP.h>.
15953 (entry_point): Call __pthread_exit instead of pthread_exit.
15954 (pthread_create): Rename to __pthread_create.
15955 (pthread_create): New strong alias.
15956 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
15957 (pthread_detach): New strong alias.
15958 (__pthread_detach): Call __pthread_cond_broadcast instead of
15959 pthread_cond_broadcast.
fe9748cc
ST
15960 * htl/pt-exit.c: Include <pthreadP.h>.
15961 (__pthread_exit): Call __pthread_setcancelstate and
15962 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
15963 __pthread_get_cleanup_stack.
f6fb29d2
ST
15964 * htl/pt-testcancel.c: Include <pthreadP.h>.
15965 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
15966 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
15967 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
15968 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
15969 pthread_attr_getstacksize.
15970 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
15971 Rename to __pthread_attr_getstackaddr.
15972 (pthread_attr_getstackaddr): New strong alias.
15973 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
15974 Rename to __pthread_attr_getstacksize.
15975 (pthread_attr_getstacksize): New strong alias.
15976 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
15977 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
15978 (pthread_attr_setstack): New strong alias.
15979 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
15980 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
15981 pthread_attr_getstacksize, pthread_attr_setstacksize and
15982 pthread_attr_setstackaddr.
15983 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
15984 Rename to __pthread_attr_setstackaddr.
15985 (pthread_attr_setstackaddr): New strong alias.
15986 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
15987 Rename to __pthread_attr_setstacksize.
15988 (pthread_attr_setstacksize): New strong alias.
15989 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
15990 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
15991 pthread_exit.
15992 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
15993 (__pthread_key_create): New hidden def.
15994 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
15995 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
15996 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
15997 __pthread_exit, __pthread_key_create, __pthread_getspecific,
15998 __pthread_setspecific, __pthread_setcancelstate,
15999 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16000 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16001 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16002 declarations.
16003 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16004 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16005 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16006 (pthread_attr_setstackaddr): New strong alias.
16007 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16008 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16009 (pthread_attr_setstacksize): New strong alias.
16010 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16011 (call_exit): Call __pthread_exit instead of pthread_exit.
16012 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16013 (_pthread_mutex_init): New hidden definition.
16014 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16015 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16016 instead of pthread_attr_init and pthread_attr_setstack.
16017
dba2bdbe
ST
16018 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16019 __vm_deallocate instead of vm_allocate and vm_deallocate.
16020 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16021 setenv.
16022 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16023 of geteuid.
16024 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16025 strdup.
16026 * hurd/siginfo.c: Include <libioP.h>.
16027 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16028 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16029 munmap.
dba2bdbe
ST
16030 * mach/devstream.c: Include <libioP.h>.
16031 (dealloc_ref): Call __mach_port_deallocate instead of
16032 mach_port_deallocate.
16033 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16034 Call __mach_port_deallocate instead of mach_port_deallocate.
16035 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16036 pathconf.
16037 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16038 munmap.
16039 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16040 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16041 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16042 of munmap.
16043 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16044 of close.
16045 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16046 instead of sysconf.
16047 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16048 __clock_gettime instead of clock_gettime.
16049 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16050 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16051 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16052 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16053 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16054 tcgetattr.
16055 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16056 __clock_gettime and __nanosleep instead of clock_gettime and
16057 nanosleep.
7a8f45e3
ST
16058 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16059 __hurd_catch_signal.
16060 (hurd_catch_signal): New strong alias.
16061 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16062 __hurd_catch_signal instead of hurd_catch_signal.
16063 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16064 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16065 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16066 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16067 (_hurd_thread_sigstate): Add hidden def.
16068 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16069 mutex_unlock.
16070 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16071 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16072 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16073 __hurd_file_name_path_lookup.
16074 (hurd_file_name_path_lookup): New strong alias.
16075 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16076 hurd_file_name_path_lookup.
16077 * mach/errstring.c (mach_error_type): Add hidden def.
16078 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16079 * mach/mutex-init.c (__mutex_init): Add hidden def.
16080 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16081 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16082 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16083 * sysdeps/mach/hurd/getcwd.c
16084 (_hurd_canonicalize_directory_name_internal): Rename to
16085 __hurd_canonicalize_directory_name_internal.
16086 (_hurd_canonicalize_directory_name_internal): New strong alias.
16087 (__canonicalize_directory_name_internal, __getcwd): Call
16088 __hurd_canonicalize_directory_name_internal instead of
16089 _hurd_canonicalize_directory_name_internal.
16090 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16091 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16092 hidden defs.
16093 * sysdeps/hurd/include/hurd.h: New file.
16094 * sysdeps/hurd/include/hurd/fd.h: New file.
16095 * sysdeps/hurd/include/hurd/signal.h: New file.
16096 * sysdeps/mach/include/lock-intern.h: New file.
16097 * sysdeps/mach/include/mach.h: New file.
16098 * sysdeps/mach/include/mach/mig_support.h: New file.
16099 * sysdeps/mach/include/mach_error.h: New file.
a758c293
ST
16100 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16101 prototype.
16102 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16103 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16104 _HEADER_H_HIDDEN_DEF macro.
16105 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16106 _hurd_fd_error_signal): Add hidden prototype.
16107 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16108 hidden def.
82dbf555
ST
16109 * libio/iolibio.h (_IO_puts): New hidden prototype.
16110 * libio/ioputs.c (_IO_puts): New hidden def.
171488a2
ST
16111 * sysdeps/mach/hurd/localplt.data: New file.
16112
33574c17 161132018-04-02 Agustina Arzille <avarzille@riseup.net>
b39d961c
TS
16114 Amos Jeffries <squid3@treenet.co.nz>
16115 David Michael <fedora.dm0@gmail.com>
16116 Marco Gerards <marco@gnu.org>
16117 Marcus Brinkmann <marcus@gnu.org>
16118 Neal H. Walfield <neal@gnu.org>
16119 Pino Toscano <toscano.pino@tiscali.it>
16120 Richard Braun <rbraun@sceen.net>
16121 Roland McGrath <roland@gnu.org>
16122 Samuel Thibault <samuel.thibault@ens-lyon.org>
16123 Thomas DiModica <ricinwich@yahoo.com>
16124 Thomas Schwinge <tschwinge@gnu.org>
33574c17
ST
16125
16126 * htl: New directory.
16127 * sysdeps/htl: New directory.
16128 * sysdeps/hurd/htl: New directory.
16129 * sysdeps/i386/htl: New directory.
16130 * sysdeps/mach/htl: New directory.
16131 * sysdeps/mach/hurd/htl: New directory.
16132 * sysdeps/mach/hurd/i386/htl: New directory.
16133 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16134 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16135 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16136
03e2aa50
ST
161372018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16138
16139 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16140 signals in thread created for runing timers.
16141
1aa52ced
FW
161422018-04-01 Florian Weimer <fweimer@redhat.com>
16143
16144 * support/support_format_addrinfo.c (support_format_addrinfo):
16145 Include unknown error number in formatted result.
16146
4d76d3e5
FW
161472018-03-29 Florian Weimer <fweimer@redhat.com>
16148
16149 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16150 capture SIGBUS.
16151
d39c0a45
AZ
161522018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16153
16154 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16155 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16156 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16157 (__ASSUME_CLONE_BACKWARDS): Define.
16158
cc8a1620
JH
161592018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16160
57408435 16161 [BZ #23024]
cc8a1620
JH
16162 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16163 early when linux sentinel value is set.
16164
8bfd94d0
ST
161652018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16166
16167 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16168
f178e59f
AS
161692018-03-27 Andreas Schwab <schwab@suse.de>
16170
16171 [BZ #23005]
16172 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16173 allocation of private copy of nsaddr_list fails.
16174
5f45f96a
JM
161752018-03-26 Joseph Myers <joseph@codesourcery.com>
16176
16177 [BZ #16552]
16178 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16179 * sysdeps/unix/sysv/linux/umount.c: ... here.
16180 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16181 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16182 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16183 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16185 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16186 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16187
3dfd23eb
AS
161882018-03-26 Andreas Schwab <schwab@suse.de>
16189
16190 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16191 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16192 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16193 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16194 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16195 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16196 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16197 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16198 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16199 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16200 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16201 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16202 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16203 (R_RISCV_NUM): Define.
16204
fa97d2ab
ST
162052018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16206
16207 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16208 TLS declaration of errno.
37be82a0
ST
16209 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16210 __libc_setup_tls.
16211 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16212 (ARCH_SETUP_TLS): Likewise.
16213 * sysdeps/mach/hurd/libc-start.h: New file copied from
16214 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
978a6803
ST
16215 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16216 instead of __libc_setup_tls.
37be82a0 16217 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
978a6803
ST
16218 __libc_setup_tls before initializing libpthread and running _hurd_init
16219 which starts the signal thread.
16220 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16221 Declare function.
2d813d7b 16222 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
fa97d2ab 16223
b8114edd
L
162242018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16225
16226 [BZ #22998]
16227 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16228 after it is defined.
16229
cd66c0e5
AS
162302018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16231 Max Horn <max@quendi.de>
16232
16233 [BZ #22644]
43d4f3d5 16234 CVE-2017-18269
cd66c0e5
AS
16235 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16236 branch conditions.
16237 * string/test-memmove.c (do_test2): New testcase.
16238
a4406139
JM
162392018-03-22 Joseph Myers <joseph@codesourcery.com>
16240
16241 * sysdeps/generic/frame.h: Remove file.
16242 * sysdeps/arm/frame.h: Likewise.
16243 * sysdeps/hppa/frame.h: Likewise.
16244 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16245 macro.
16246 (GET_FRAME): Likewise.
16247 (GET_STACK): Likewise.
16248 (CALL_SIGHANDLER): Likewise.
16249 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16250 Likewise.
16251 (GET_FRAME): Likewise.
16252 (GET_STACK): Likewise.
16253 (CALL_SIGHANDLER): Likewise.
16254 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16255 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16256 (GET_FRAME): Likewise.
16257 (GET_STACK): Likewise.
16258 (CALL_SIGHANDLER): Likewise.
16259 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16260 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16261 (GET_FRAME): Likewise.
16262 (GET_STACK): Likewise.
16263 (ADVANCE_STACK_FRAME): Likewise.
16264 (CALL_SIGHANDLER): Likewise.
16265 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16266 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16267 (GET_FRAME): Likewise.
16268 (GET_STACK): Likewise.
16269 (CALL_SIGHANDLER): Likewise.
16270 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16271 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16272 (GET_FRAME): Likewise.
16273 (GET_STACK): Likewise.
16274 (CALL_SIGHANDLER): Likewise.
16275 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16276 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16277 (GET_FRAME): Likewise.
16278 (GET_STACK): Likewise.
16279 (CALL_SIGHANDLER): Likewise.
16280 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16281 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16282 (GET_FRAME): Likewise.
16283 (GET_STACK): Likewise.
16284 (CALL_SIGHANDLER): Likewise.
16285 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16286 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16287 (GET_FRAME): Likewise.
16288 (GET_STACK): Likewise.
16289 (CALL_SIGHANDLER): Likewise.
16290 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16291 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16292 (GET_FRAME): Likewise.
16293 (GET_STACK): Likewise.
16294 (CALL_SIGHANDLER): Likewise.
16295 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16296 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16297 (GET_FRAME): Likewise.
16298 (GET_STACK): Likewise.
16299 (CALL_SIGHANDLER): Likewise.
16300 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16301 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16302 (GET_FRAME): Likewise.
16303 (GET_STACK): Likewise.
16304 (CALL_SIGHANDLER): Likewise.
16305 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16306 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16307 (GET_FRAME): Likewise.
16308 (GET_STACK): Likewise.
16309 (CALL_SIGHANDLER): Likewise.
16310 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16311 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16312 (FIRST_FRAME_POINTER): Likewise.
16313 (ADVANCE_STACK_FRAME): Likewise.
16314 (GET_STACK): Likewise.
16315 (GET_FRAME): Likewise.
16316 (CALL_SIGHANDLER): Likewise.
16317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16318 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16319 (ADVANCE_STACK_FRAME): Likewise.
16320 (GET_STACK): Likewise.
16321 (GET_FRAME): Likewise.
16322 (CALL_SIGHANDLER): Likewise.
16323 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16324 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16325 (GET_FRAME): Likewise.
16326 (GET_STACK): Likewise.
16327 (CALL_SIGHANDLER): Likewise.
16328 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16329 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16330 (GET_FRAME): Likewise.
16331 (GET_STACK): Likewise.
16332 (CALL_SIGHANDLER): Likewise.
16333
ffec7b27
JM
163342018-03-21 Joseph Myers <joseph@codesourcery.com>
16335
16336 * sysdeps/x86_64/backtrace.c: Move to ....
16337 * debug/backtrace.c: ... here.
16338 * sysdeps/aarch64/backtrace.c: Remove file.
16339 * sysdeps/alpha/backtrace.c: Likewise.
16340 * sysdeps/hppa/backtrace.c: Likewise.
16341 * sysdeps/ia64/backtrace.c: Likewise.
16342 * sysdeps/mips/backtrace.c: Likewise.
16343 * sysdeps/nios2/backtrace.c: Likewise.
16344 * sysdeps/riscv/backtrace.c: Likewise.
16345 * sysdeps/sh/backtrace.c: Likewise.
16346 * sysdeps/tile/backtrace.c: Likewise.
16347
8a07b0c4
JM
163482018-03-20 Joseph Myers <joseph@codesourcery.com>
16349
d0c5d731
JM
16350 [BZ #22987]
16351 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16352 function.
16353 (fdimf): Likewise.
16354 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16355
8a07b0c4
JM
16356 [BZ #17343]
16357 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16358 possibly overflowing computations.
16359
ceb54b9b
ST
163602018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16361
16362 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16363 values from Linux-specific section now that it is in the GNU section.
16364 * sysdeps/gnu/errlist.c: Regenerate.
16365
8d3f9e85
JM
163662018-03-20 Joseph Myers <joseph@codesourcery.com>
16367
16368 * math/Makefile (libm-narrow-fns): Add sub.
16369 (libm-test-funcs-narrow): Likewise.
16370 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16371 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16372 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16373 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16374 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16375 (NARROW_SUB_TRIVIAL): Likewise.
16376 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16377 macro.
16378 (__dsubl): Likewise.
16379 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16380 dsub.
16381 (CFLAGS-nldbl-dsub.c): New variable.
16382 (CFLAGS-nldbl-fsub.c): Likewise.
16383 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16384 __nldbl_dsubl.
16385 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16386 prototype.
16387 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16388 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16389 * math/auto-libm-test-in: Add tests of sub.
16390 * math/auto-libm-test-out-narrow-sub: New generated file.
16391 * math/libm-test-narrow-sub.inc: New file.
16392 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16393 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16394 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16395 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16396 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16397 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16398 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16399 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16400 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16401 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16402 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16403 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16404 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16405 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16406 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16407 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16408 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16409 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16411 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16412 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16413 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16414 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16415 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16416 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16417 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16418 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16419 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16420 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16421 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16422 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16423 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16428 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16429 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16430 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16431 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16432 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16433 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16434 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16435 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16436 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16438
d473f015
JM
164392018-03-19 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #20079]
16442 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16443
fbce6f72
WD
164442018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16445
16446 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16447
72e7ffc3
RB
164482018-03-18 Richard Braun <rbraun@sceen.net>
16449
16450 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16451 thread reference.
16452
542c20a1
AA
164532018-03-18 Agustina Arzille <avarzille@riseup.net>
16454
16455 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16456 (__libc_cleanup_fct): Define function.
16457 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16458 __libc_cleanup_end): Rewrite implementation using
16459 __attribute__ ((__cleanup__)).
16460 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
fb4cc8a0
AA
16461 * hurd/Makefile (routines): Add hurdlock.
16462 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16463 interface.
16464 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16465 * hurd/hurdpid.c: Include <lowlevellock.h>
16466 (_S_msg_proc_newids): Use lll_wait to synchronize.
16467 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16468 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16469 * mach/Makefile (lock-headers): Remove machine-lock.h.
16470 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16471 <machine-lock.h>.
16472 (__spin_lock_t): New type.
16473 (__SPIN_LOCK_INITIALIZER): New macro.
16474 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16475 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16476 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16477 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16478 (__mutex_init): Initialize with lll.
16479 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16480 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16481 needing lll.
16482 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16483 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16484 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16485 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16486 (__setpgid): Use lll for synchronization.
16487 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16488 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16489 instead of <cthreads.h>.
16490 (_IO_lock_inexpensive): New macro
16491 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16492 (__libc_lock_self0): New declaration.
16493 (__libc_lock_owner_self): New macro.
16494 (__libc_key_t): Remove type.
16495 (_LIBC_LOCK_INITIALIZER): New macro.
16496 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16497 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16498 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16499 __libc_lock_define_initialized_recursive,
16500 __rtld_lock_define_initialized_recursive,
16501 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16502 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16503 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16504 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16505 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16506 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16507 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16508 New macros.
16509 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16510 * hurd/hurdlock.c: New file.
16511 * hurd/hurdlock.h: New file.
16512 * mach/lowlevellock.h: New file
542c20a1 16513
9a37922e
ST
165142018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16515
16516 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
489999cc
ST
16517 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16518 when opening a symlink with O_NOFOLLOW.
72103e73
ST
16519 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16520 path when flags contains O_NOFOLLOW.
16521 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16522 if flags contains O_DIRECTORY and the result is a directory.
aa218929
ST
16523 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16524 oneself when the pointer given in D is nul (as set by ext2fs).
20bc801b
ST
16525 * sysdeps/mach/hurd/mlockall.c: New file.
16526 * sysdeps/mach/hurd/munlockall.c: New file.
9a37922e 16527
34e6a869
ST
165282018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16529
16530 * hurd/hurdsig.c: Include <pthread.h>.
16531 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16532 get the signal thread stack layout.
dc33bef3
ST
16533 * hurd/Makefile (headers): Remove threadvar.h.
16534 (inline-headers): Remove threadvar.h.
16535 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16536 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16537 __hurd_threadvar_max, __hurd_errno_location.
16538 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16539 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16540 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16541 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16542 unless TLS is not initialized yet, in which case we do not need a
16543 critical section yet anyway.
16544 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16545 <machine-sp.h>.
16546 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16547 declarations.
16548 (__hurd_threadvar_index): Remove enum.
16549 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16550 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16551 inlines.
16552 (__hurd_reply_port0): New variable declaration.
16553 (__hurd_local_reply_port): New macro.
16554 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16555 (interrupted_reply_port_location): Add thread_t parameter. Use it
16556 with THREAD_TCB to access thread-local variables.
16557 (_hurdsig_abort_rpcs): Pass ss->thread to
16558 interrupted_reply_port_location.
16559 (_hurd_internal_post_signal): Likewise.
16560 (_hurdsig_init): Use presence of cthread_fork instead of
16561 __hurd_threadvar_stack_mask to start signal thread by hand.
16562 Remove signal thread threadvar initialization.
16563 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16564 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16565 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16566 of threadvar.
16567 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16568 __libc_lock_self0.
16569 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16570 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16571 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16572 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16573 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16574 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16575 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16576 define variables.
16577 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16578 <hurd/threadvar.h>.
16579 [IS_IN(rtld)] (rtld_errno): New variable.
16580 [IS_IN(rtld)] (__errno_location): New weak function.
16581 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16582 * sysdeps/mach/hurd/errno.c: Remove file.
16583 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16584 (__fork): Remove THREADVAR_SPACE macro and its use.
16585 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16586 variable.
16587 (init): Do not initialize threadvar.
16588 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16589 symbol.
16590 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16591 __hurd_local_reply_port instead of threadvar.
16592 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16593 _hurd_sigstate fields.
16594 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16595 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16596 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16597 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16598 instead of threadvar.
16599 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16600 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16601 (use_threadvar, global_reply_port): Remove variables.
16602 (__hurd_reply_port0): New variable.
16603 (__mig_get_reply_port): Use __hurd_local_reply_port and
16604 __hurd_reply_port0 instead of threadvar.
16605 (__mig_dealloc_reply_port): Likewise.
16606 (__mig_init): Do not initialize threadvar.
16607 * sysdeps/mach/hurd/profil.c: Fix comment.
c2fb08c7
ST
16608 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16609 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16610 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16611 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16612 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16613 __cthread_setspecific.
16614 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16615 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16616 __cthread_t instead of cthread_fork, cthread_detach,
16617 pthread_getattr_np, pthread_attr_getstack.
16618 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16619 __cthread_keycreate.
16620 (cthread_getspecific): Rename to __cthread_getspecific.
16621 (cthread_setspecific): Rename to __cthread_setspecific.
16622 (__libc_getspecific): Use __cthread_getspecific instead of
16623 cthread_getspecific.
16624 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16625 __cthread_keycreate instead of cthread_keycreate.
16626 (__libc_setspecific): Use __cthread_setspecific instead of
16627 cthread_setspecific.
16628 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16629 Likewise.
dd28d4ba
ST
16630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16631 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16632 testing whether it is defined.
34e6a869 16633
f8baf2a2
ST
166342018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16635
16636 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16637 Define macro.
16638 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16639 * sysdeps/mach/i386/thread_state.h
16640 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16641 i386_THREAD_STATE.
16642 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16643 i386_THREAD_STATE.
16644 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16645
16646 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16647 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16648
16649 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16650 macros.
16651 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16652 descriptor instead of creating a new one.
16653 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16654
16655 * mach/setup-thread.c: Include <ldsodefs.h>.
16656 (__mach_setup_thread): Call _dl_allocate_tls, pass
16657 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16658 MACHINE_THREAD_STATE_FLAVOR, before getting
16659 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16660 MACHINE_THREAD_STATE_FLAVOR with the result.
16661 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16662 MACHINE_THREAD_STATE_FIX_NEW.
16663 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16664 too. Add original thread parameter.
16665
34ba96b8
JM
166662018-03-16 Joseph Myers <joseph@codesourcery.com>
16667
5d75b75f
JM
16668 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16669 Remove inline function.
16670
34ba96b8
JM
16671 * sysdeps/i386/fpu/libm-test-ulps: Update.
16672 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16673
22679b2c
WD
166742018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16675
16676 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16677 commit.
16678
c429a8d8
JM
166792018-03-15 Joseph Myers <joseph@codesourcery.com>
16680
16681 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16682 (__sincos_code): Remove define and undefine.
16683 [__FAST_MATH__] (__sincos): Remove inline function.
16684 [__FAST_MATH__] (__sincosf): Remove inline function.
16685 [__FAST_MATH__] (__sincosl): Remove inline function.
16686 (__atan2l): Remove inline functions.
16687 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16688 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16689 function.
16690 (floor): Remove inline function.
16691 (ceil): Likewise.
16692 [__FAST_MATH__] (__ldexp_code): Remove macro.
16693 [__FAST_MATH__] (ldexp): Remove inline function.
16694 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16695 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16696 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16697 [__USE_ISOC99] (__lrint_code): Remove macro.
16698 [__USE_ISOC99] (__llrint_code): Likewise.
16699 [__USE_ISOC99] (lrintf): Remove inline function.
16700 [__USE_ISOC99] (lrint): Likewise.
16701 [__USE_ISOC99] (lrintl): Likewise.
16702 [__USE_ISOC99] (llrint): Likewise.
16703 [__USE_ISOC99] (llrintf): Likewise.
16704 [__USE_ISOC99] (llrintl): Likewise.
16705
700593fd
WD
167062018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16707
16708 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16709 (__ieee754_sqrtf): Remove.
16710 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16711 (__ieee754_sqrtf): Remove.
16712 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16713 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16714 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16715 (__ieee754_sqrtf): Remove.
16716 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16717 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16718 (sqrtf): Remove.
16719 (sqrtl): Remove.
16720 (__ieee754_sqrt): Remove.
16721 (__ieee754_sqrtf): Remove.
16722 (__ieee754_sqrtl): Remove.
16723 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16724 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16725 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16726 (__ieee754_sqrtf): Remove.
16727 (__ieee754_sqrtl): Remove.
16728
f67a8147
WD
167292018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16730
16731 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16732 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16733 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16734 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16735 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16736 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16737 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16738 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16739 Likewise.
16740 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16741 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16742 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16743 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16744 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16745 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16746 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16747 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16748 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16749 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16750 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16751 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16752 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16753 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16754 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16755 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16756 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16757 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16758 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16759 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16760 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16761 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16762 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16763 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16764 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16765 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16766 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16767 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16768 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16769 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16770 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16772 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16773 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16774 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16775 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16776 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16777 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16778 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16779 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16780
1294b189
WD
167812018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16782
16783 * include/math.h (sqrt): Declare with asm redirect.
16784 (sqrtf): Likewise.
16785 (sqrtl): Likewise.
16786 (sqrtf128): Likewise.
16787 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16788 nonlib and libnldbl with -fmath-errno.
16789 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16790 * math/w_sqrt_template.c: Likewise.
16791 * math/w_sqrtf_compat.c: Likewise.
16792 * math/w_sqrtl_compat.c: Likewise.
16793 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16794 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16795 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16796 complex.h.
16797
f1c8185d
WD
167982018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16799
16800 * benchtests/Makefile: Define _ISOMAC.
16801 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16802 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16803 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16804 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16805 * benchtests/bench-timing.h: Define attribute_hidden.
16806
b47c3e76
SP
168072018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16808
16809 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16810 mov + lsr.
16811
807fee29
RL
168122018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16813
16814 [BZ #22963]
16815 * localedata/locales/cs_CZ (mon): Rename to...
16816 (alt_mon): This.
16817 (mon): Import from CLDR (genitive case).
16818
e7155a28
RL
168192018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16820
16821 [BZ #22937]
16822 * localedata/locales/el_CY (abmon): Rename to...
16823 (ab_alt_mon): This.
16824 (abmon): Import from CLDR (abbreviated genitive case).
16825 * localedata/locales/el_GR (abmon): Rename to...
16826 (ab_alt_mon): This.
16827 (abmon): Import from CLDR (abbreviated genitive case).
16828
71d7b121
RL
168292018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16830
16831 [BZ #22932]
16832 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16833
a00bffe8
RB
168342018-03-15 Robert Buj <robert.buj@gmail.com>
16835
16836 [BZ #22848]
16837 * localedata/locales/ca_ES (abmon): Rename to...
16838 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16839 (mon): Rename to...
16840 (alt_mon): This.
16841 (abmon): Import from CLDR (genitive case, month names preceded by
16842 "de" or "d’").
16843 (mon): Likewise.
16844 (abday): Synchronize with CLDR.
16845 (d_t_fmt): Likewise.
16846 (d_fmt): Likewise.
16847 (am_pm): Likewise.
16848
16849 (LC_TIME): Improve indentation.
16850 (LC_TELEPHONE): Likewise.
16851 (LC_NAME): Likewise.
16852 (LC_ADDRESS): Likewise.
16853
f9555d73
JM
168542018-03-14 Joseph Myers <joseph@codesourcery.com>
16855
16856 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16857 (lrintf): Remove definitions used only with old GCC.
16858 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16859 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16860 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16861 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16862 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16863 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16864 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16865 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16866 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16867 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16868 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16869 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16870 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16871 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16872 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16873 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16874 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16875 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16876 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16877 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16878 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16879 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16880 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16881 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16882 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16883 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16884 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16885 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16886
d46f84de
SP
168872018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16888
16889 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16890 instruction to unbreak builds with binutils 2.26 and older.
16891
7108f1f9
SP
168922018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16893
16894 * sysdeps/aarch64/strncmp.S (count): New macro.
16895 (strncmp): Store misaligned length in SRC1 in COUNT.
16896 (mutual_align): Adjust.
16897 (misaligned8): Load dword at a time when it is safe.
16898
2cc7bad0
ZW
168992018-03-12 Zack Weinberg <zackw@panix.com>
16900
16901 [BZ #1190]
16902 [BZ #19476]
16903 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16904 if the _IO_EOF_SEEN bit is already set; update commentary.
16905 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16906 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16907
16908 * support/support_openpty.c, support/tty.h: New files.
16909 * support/Makefile (libsupport-routines): Add support_openpty.
16910
16911 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16912 New test cases.
16913 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16914 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16915
778f1974
DL
169162018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16917
16918 * po/pt_BR.po: Update translations.
16919
6b5c8607 169202018-03-12 David Michael <fedora.dm0@gmail.com>
da6d4404
DM
16921
16922 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16923 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16924 get a port to the startup server.
16925
d3da750d
ZW
169262018-03-11 Zack Weinberg <zackw@panix.com>
16927
16928 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16929 before nldbl-compat.h.
16930
054b72cc
ZW
169312018-03-10 Zack Weinberg <zackw@panix.com>
16932
0d13dfa1
ZW
16933 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16934 math.h or math_private.h.
16935
16936 * sysdeps/alpha/fpu/s_isnan.c
16937 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16938 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16939 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16940 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16941 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16942 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16943 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16944 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
16945 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
16946 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
16947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
16948 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
16949 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
16950 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
16951 Include math_private.h.
16952
16953 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
16954 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
16955 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
16956 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
16957 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
16958 * sysdeps/powerpc/power7/fpu/s_logb.c:
16959 Include math.h and math_private.h.
16960
054b72cc
ZW
16961 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
16962 uses of $at in .set noat / .set at.
16963
6253bacd
L
169642018-03-10 H.J. Lu <hongjiu.lu@intel.com>
16965
16966 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
16967 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
16968 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
16969 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
16970 Likewise.
16971
229855e5
FW
169722018-03-09 Florian Weimer <fweimer@redhat.com>
16973
16974 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
16975 in comment.
16976
9aa5c222
AJ
169772018-03-09 Aurelien Jarno <aurelien@aurel32.net>
16978
16979 [BZ #22919]
16980 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
16981 Add nop before __startcontext, add explaining comments.
16982
3dc21497
AZ
169832018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16984
e921c89e
AZ
16985 [BZ #22926]
16986 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
16987 empty for __SPE__.
16988 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
16989 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
16990 Do not build hardware transactional code for __SPE__.
16991 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16992 (__lll_trylock_elision): Likewise.
16993 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
16994 (__lll_unlock_elision): Likewise.
16995
d9f26dab 16996 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
3dc21497
AZ
16997 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
16998 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
16999 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17000 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17001 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17002 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17003 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17004 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17005 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17006 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17007 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17008 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17009 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17010 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17011 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17012 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17013 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17014 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17015 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17016 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17017 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17018 (__ASSUME_CLONE_BACKWARDS): Define.
17019 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17020 __clone2 if __NR_clone2 is defined.
17021 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17022 (__ASSUME_CLONE_BACKWARDS): Likewise.
17023 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17024 (__ASSUME_CLONE_BACKWARDS): Likewise.
17025 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17026 (__ASSUME_CLONE2): Likewise.
17027 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17028 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17029 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17030 variants and the define architecture can use.
17031 (__ASSUME_CLONE_DEFAULT): Define as default.
17032 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17033 (__ASSUME_CLONE_BACKWARDS): Likewise.
17034 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17035 (__ASSUME_CLONE_BACKWARDS): Likewise.
17036 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17037 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17038
adc95fb0
SP
170392018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17040
4e54d918
SP
17041 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17042
30a81dae
SP
17043 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17044 time.
17045
adc95fb0
SP
17046 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17047 (do_test_limit): Likewise.
17048
17049 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17050 for every implementation.
17051 (do_test): Likewise.
17052
17053 * benchtests/bench-strncmp.c: Convert output to json.
17054
4e9066bc
ST
170552018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17056
17057 * io/futimens.c: Add missing start-of-file descriptive comment.
17058 * io/utime.c: Likewise.
17059 * misc/futimesat.c: Likewise.
17060 * misc/utimes.c: Likewise.
17061 * sysdeps/mach/hurd/futimesat.c: Likewise.
17062 * sysdeps/mach/hurd/utimes.c: Likewise.
17063 * sysdeps/posix/utime.c: Likewise.
17064 * sysdeps/posix/utimes.c: Likewise.
17065 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17066 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17067 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17068 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17069
ec1300cf
ST
170702018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17071
17072 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17073 hurd_futimes.
17074 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17075 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17076 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17077 (__futimens): Move implementation to...
17078 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17079 utime_tvalue_from_tspec): ... new helper functions.
17080 (hurd_futimens): New function.
17081 * sysdeps/mach/hurd/futimesat.c: New file.
17082 * sysdeps/mach/hurd/utimensat.c: New file.
17083
bbe762d1
FC
170842018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17085
17086 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17087 UTIME_OMIT): New macros.
17088 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17089 before reverting to converting time spec to time value and calling
17090 __file_utimes.
17091 * sysdeps/mach/hurd/utime-helper.c: New file.
17092 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17093 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17094 reverting to utime_tvalue_from_tval and __file_utimes.
17095 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17096 (__lutimes): Just call hurd_futimens after lookup.
17097 * sysdeps/mach/hurd/utimes.c: Likewise.
17098
a1ede3a4
ST
170992018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17100
17101 * bits/sigaction.h: Add include guard.
17102 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17103 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17104 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17105 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17106 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17107 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17108 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17109 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17110 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17111
6900d2ca
JM
171122018-03-05 Joseph Myers <joseph@codesourcery.com>
17113
17114 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17115 -Wmaybe-uninitialized for -Os.
17116 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17117 this disabling.
17118
68448be2
AZ
171192018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17120
5226a81f
AZ
17121 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17122 __INO_T_MATCHES_INO64_T is defined.
17123 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17124 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17125 of definition.
17126 * dirent/alphasort64.c: Likewise.
17127 * dirent/scandir.c: Likewise.
17128 * dirent/scandir64-tail.c: Likewise.
17129 * dirent/scandir64.c: Likewise.
17130 * dirent/scandirat.c: Likewise.
17131 * dirent/scandirat64.c: Likewise.
17132 * dirent/versionsort.c: Likewise.
17133 * dirent/versionsort64.c: Likewise.
17134 * include/dirent.h: Likewise.
17135
fbd01e6c
AZ
17136 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17137 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17138 for socketpair endpoint.
17139 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17140 WRITE_BUFFER_SIZE as buffer size for sending socket.
17141 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17142 issue on system where send is implemented with sendto syscall.
17143 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17144 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17145 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17146 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17147
68448be2
AZ
17148 [BZ #21269]
17149 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17150 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17151 sa_restorer for vDSO case.
17152 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17153
eb1ca47e
ST
171542018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17155
17156 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
e30c291a
ST
17157 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17158 * hurd/hurd/ioctl.h: Include <mach/port.h>
17159 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
f4bff843
ST
17160 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17161 <mach/mach_types.h> and <mach/message.h>.
430fd945
ST
17162 (headers): Move mach/param.h to bits/mach/param.h.
17163 * sysdeps/mach/i386/mach/param.h: Move file to ...
17164 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17165 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17166 of <mach/param.h>.
3403cb7d
ST
17167 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17168 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17169 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
48d34cbc
ST
17170 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17171 trivial, for C++ conformity.
44c6376c 17172 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
95dfdbd2
ST
17173 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17174 Process mig output through $(migheadersed).
17175 * hurd/Makefile (migheadersed): Define variable.
a726c87a
ST
17176 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17177 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17178 headers.
ba89615d
ST
17179 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17180 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17181 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17182 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17183 <bits/types/sigset_t.h>.
17184 [!defined __USE_GNU]: Do not #error out.
17185 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17186 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17187 Include <stddef.h> and <bits/types/sigset_t.h>
17188 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17189 instead of sighandler_t.
974393ea
ST
17190 * stdlib/errno.h (error_t): Move definition to...
17191 * bits/types/error_t.h: ... new header.
17192 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17193 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17194 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17195 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17196 * hurd/hurd.h: Include <bits/types/error_t.h>
17197 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17198 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17199 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17200 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17201 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17202 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
8d965cde 17203 * sysdeps/mach/hurd/futimens.c: New file.
eb1ca47e 17204
eaf6753f
AS
172052018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17206
17207 [BZ #22918]
17208 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17209 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17210 * nscd/gai.c (__nss_hosts_database): Readd definition.
17211 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17212 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17213 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17214
4dc23804
JM
172152018-03-02 Joseph Myers <joseph@codesourcery.com>
17216
17217 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17218 (ifunc_one): Likewise.
17219
1c81d55f
DD
172202018-03-01 DJ Delorie <dj@delorie.com>
17221
17222 [BZ #22342]
17223 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17224 key value.
17225
b717c14f
MR
172262018-03-01 Maciej W. Rozycki <macro@mips.com>
17227
17228 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17229 `match_pid' parameter.
17230 (td_ta_thr_iter): Update accordingly.
17231
1efe1358
FW
172322018-03-01 Florian Weimer <fweimer@redhat.com>
17233
17234 * nptl/Makefile (install-lib-ldscripts): Remove.
17235 (install): Remove rule.
17236 ($(inst_libdir)/libpthread.so): Likewise.
17237
a527f09c
MF
172382018-03-01 Mike FABIAN <mfabian@redhat.com>
17239
17240 [BZ #22896]
17241 * localedata/locales/an_ES: update month and day names,
17242 improve d_fmt, improve postal_fmt, add country_post,
17243 add country_isbn
17244
35d660b0
MF
172452018-03-01 Mike FABIAN <mfabian@redhat.com>
17246
17247 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17248 Ukrainian instead of Bulgarian.
17249
1a2f44a8
FW
172502018-03-01 Florian Weimer <fweimer@redhat.com>
17251
17252 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17253 reference.
17254
bd60ce86
FW
172552018-03-01 Florian Weimer <fweimer@redhat.com>
17256
17257 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17258 * nptl/Makefile (routines): Add pthread_atfork.
17259 (static-only-routines): Set to pthread_atfork.
17260 (libpthread-routines): Remove pthread_atfork.
17261 (libpthread-static-only-routines): Remove.
17262 (install): Update comment.
17263 (libpthread.so): Do not install libpthread_nonshared.a.
17264 (tests): Do not link with libpthread_nonshared.a.
17265 (generated): Remove libpthread_nonshared.a.
17266 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17267 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17268 with libpthread_nonshared.a.
17269
000f290f
JM
172702018-02-28 Joseph Myers <joseph@codesourcery.com>
17271
e2bcf6a8
JM
17272 [BZ #22902]
17273 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17274 (libc_feholdexcept_setroundf128): New macro.
17275 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17276
000f290f
JM
17277 [BZ #15105]
17278 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17279 libc_hidden_def.
17280 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17281 * include/inttypes.h: New file.
17282
02f2fead
JM
172832018-02-27 Joseph Myers <joseph@codesourcery.com>
17284
17285 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17286 -Os in two more places.
17287
874c56d7
MF
172882018-02-27 Mike FABIAN <mfabian@redhat.com>
17289
17290 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17291 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17292 be sorted correctly at the moment because of a bug.
17293
15973854
MF
172942018-02-27 Mike FABIAN <mfabian@redhat.com>
17295
17296 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17297 treat ñ as a primary different character, sync the collation
17298 for Spanish with CLDR.
17299 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17300 * localedata/Makefile: Add new test files.
17301 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17302 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17303 collation order.
17304 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17305 * localedata/am_ET.UTF-8.in: New test file.
17306 * localedata/az_AZ.UTF-8.in: Likewise.
17307 * localedata/be_BY.UTF-8.in: Likewise.
17308 * localedata/ber_DZ.UTF-8.in: Likewise.
17309 * localedata/ber_MA.UTF-8.in: Likewise.
17310 * localedata/bg_BG.UTF-8.in: Likewise.
17311 * localedata/br_FR.UTF-8.in: Likewise.
17312 * localedata/cmn_TW.UTF-8.in: Likewise.
17313 * localedata/crh_UA.UTF-8.in: Likewise.
17314 * localedata/csb_PL.UTF-8.in: Likewise.
17315 * localedata/cv_RU.UTF-8.in: Likewise.
17316 * localedata/cy_GB.UTF-8.in: Likewise.
17317 * localedata/dz_BT.UTF-8.in: Likewise.
17318 * localedata/eo.UTF-8.in: Likewise.
17319 * localedata/es_ES.UTF-8.in: Likewise.
17320 * localedata/fa_IR.UTF-8.in: Likewise.
17321 * localedata/fi_FI.UTF-8.in: Likewise.
17322 * localedata/fil_PH.UTF-8.in: Likewise.
17323 * localedata/fur_IT.UTF-8.in: Likewise.
17324 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17325 * localedata/ha_NG.UTF-8.in: Likewise.
17326 * localedata/ig_NG.UTF-8.in: Likewise.
17327 * localedata/ik_CA.UTF-8.in: Likewise.
17328 * localedata/kk_KZ.UTF-8.in: Likewise.
17329 * localedata/ku_TR.UTF-8.in: Likewise.
17330 * localedata/ky_KG.UTF-8.in: Likewise.
17331 * localedata/ln_CD.UTF-8.in: Likewise.
17332 * localedata/mi_NZ.UTF-8.in: Likewise.
17333 * localedata/ml_IN.UTF-8.in: Likewise.
17334 * localedata/mn_MN.UTF-8.in: Likewise.
17335 * localedata/mr_IN.UTF-8.in: Likewise.
17336 * localedata/mt_MT.UTF-8.in: Likewise.
17337 * localedata/nb_NO.UTF-8.in: Likewise.
17338 * localedata/om_KE.UTF-8.in: Likewise.
17339 * localedata/os_RU.UTF-8.in: Likewise.
17340 * localedata/ps_AF.UTF-8.in: Likewise.
17341 * localedata/ro_RO.UTF-8.in: Likewise.
17342 * localedata/ru_RU.UTF-8.in: Likewise.
17343 * localedata/sc_IT.UTF-8.in: Likewise.
17344 * localedata/se_NO.UTF-8.in: Likewise.
17345 * localedata/sq_AL.UTF-8.in: Likewise.
17346 * localedata/sv_SE.UTF-8.in: Likewise.
17347 * localedata/szl_PL.UTF-8.in: Likewise.
17348 * localedata/tg_TJ.UTF-8.in: Likewise.
17349 * localedata/tk_TM.UTF-8.in: Likewise.
17350 * localedata/tt_RU.UTF-8.in: Likewise.
17351 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17352 * localedata/ug_CN.UTF-8.in: Likewise.
17353 * localedata/uz_UZ.UTF-8.in: Likewise.
17354 * localedata/vi_VN.UTF-8.in: Likewise.
17355 * localedata/yi_US.UTF-8.in: Likewise.
17356 * localedata/yo_NG.UTF-8.in: Likewise.
17357 * localedata/zh_CN.UTF-8.in: Likewise.
17358 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17359 file and fix bugs in the collation.
17360 * localedata/locales/az_AZ: Likewise.
17361 * localedata/locales/be_BY: Likewise.
17362 * localedata/locales/ber_DZ: Likewise.
17363 * localedata/locales/ber_MA: Likewise.
17364 * localedata/locales/bg_BG: Likewise.
17365 * localedata/locales/br_FR: Likewise.
17366 * localedata/locales/br_FR@euro: Likewise.
17367 * localedata/locales/ca_ES: Likewise.
17368 * localedata/locales/cns11643_stroke: Likewise.
17369 * localedata/locales/crh_UA: Likewise.
17370 * localedata/locales/cs_CZ: Likewise.
17371 * localedata/locales/csb_PL: Likewise.
17372 * localedata/locales/cv_RU: Likewise.
17373 * localedata/locales/cy_GB: Likewise.
17374 * localedata/locales/da_DK: Likewise.
17375 * localedata/locales/dz_BT: Likewise.
17376 * localedata/locales/en_CA: Likewise.
17377 * localedata/locales/eo: Likewise.
17378 * localedata/locales/es_CU: Likewise.
17379 * localedata/locales/es_EC: Likewise.
17380 * localedata/locales/es_ES: Likewise.
17381 * localedata/locales/es_US: Likewise.
17382 * localedata/locales/et_EE: Likewise.
17383 * localedata/locales/fa_IR: Likewise.
17384 * localedata/locales/fi_FI: Likewise.
17385 * localedata/locales/fil_PH: Likewise.
17386 * localedata/locales/fur_IT: Likewise.
17387 * localedata/locales/gez_ER@abegede: Likewise.
17388 * localedata/locales/ha_NG: Likewise.
17389 * localedata/locales/hr_HR: Likewise.
17390 * localedata/locales/hsb_DE: Likewise.
17391 * localedata/locales/hu_HU: Likewise.
17392 * localedata/locales/ig_NG: Likewise.
17393 * localedata/locales/ik_CA: Likewise.
17394 * localedata/locales/is_IS: Likewise.
17395 * localedata/locales/iso14651_t1_pinyin: Likewise.
17396 * localedata/locales/kk_KZ: Likewise.
17397 * localedata/locales/ku_TR: Likewise.
17398 * localedata/locales/ky_KG: Likewise.
17399 * localedata/locales/ln_CD: Likewise.
17400 * localedata/locales/lt_LT: Likewise.
17401 * localedata/locales/lv_LV: Likewise.
17402 * localedata/locales/mi_NZ: Likewise.
17403 * localedata/locales/ml_IN: Likewise.
17404 * localedata/locales/mn_MN: Likewise.
17405 * localedata/locales/mr_IN: Likewise.
17406 * localedata/locales/mt_MT: Likewise.
17407 * localedata/locales/nb_NO: Likewise.
17408 * localedata/locales/om_KE: Likewise.
17409 * localedata/locales/os_RU: Likewise.
17410 * localedata/locales/pl_PL: Likewise.
17411 * localedata/locales/ps_AF: Likewise.
17412 * localedata/locales/ro_RO: Likewise.
17413 * localedata/locales/ru_RU: Likewise.
17414 * localedata/locales/ru_UA: Likewise.
17415 * localedata/locales/sc_IT: Likewise.
17416 * localedata/locales/se_NO: Likewise.
17417 * localedata/locales/si_LK: Likewise.
17418 * localedata/locales/sq_AL: Likewise.
17419 * localedata/locales/sv_FI: Likewise.
17420 * localedata/locales/sv_FI@euro: Likewise.
17421 * localedata/locales/sv_SE: Likewise.
17422 * localedata/locales/szl_PL: Likewise.
17423 * localedata/locales/tg_TJ: Likewise.
17424 * localedata/locales/ti_ER: Likewise.
17425 * localedata/locales/tk_TM: Likewise.
17426 * localedata/locales/tl_PH: Likewise.
17427 * localedata/locales/tr_TR: Likewise.
17428 * localedata/locales/tt_RU: Likewise.
17429 * localedata/locales/tt_RU@iqtelif: Likewise.
17430 * localedata/locales/ug_CN: Likewise.
17431 * localedata/locales/uk_UA: Likewise.
17432 * localedata/locales/uz_UZ: Likewise.
17433 * localedata/locales/uz_UZ@cyrillic: Likewise.
17434 * localedata/locales/vi_VN: Likewise.
17435 * localedata/locales/yi_US: Likewise.
17436 * localedata/locales/yo_NG: Likewise.
17437
ce6636b0
MF
174382018-02-27 Mike FABIAN <mfabian@redhat.com>
17439
17440 * gen-locales.mk: Make test files which contain @ modifiers in their
17441 name work.
17442 * localedata/gen-locale.sh: Likewise.
17443
ac3a3b4b
MF
174442018-02-27 Mike FABIAN <mfabian@redhat.com>
17445
17446 * posix/tst-fnmatch.input: Fix results for range expressions
17447 for non C locales.
17448 * posix/tst-regexloc.c: Do not use a range expression for
17449 de_DE.ISO-8859-1 locale.
17450
770cbe14
MF
174512018-02-27 Mike FABIAN <mfabian@redhat.com>
17452
17453 * posix/bug-regex5.c: Fix test case because with the new
17454 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17455 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17456 file.
17457
0fc355d9
MF
174582018-02-27 Mike FABIAN <mfabian@redhat.com>
17459
17460 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17461 downloaded from ISO, the collation order of @-. and space has changed.
17462 Therefore, this test file needed to be adapted.
17463 * localedata/fr_CA.UTF-8.in: Likewise.
17464 * localedata/fr_FR.UTF-8.in: Likewise.
17465 * localedata/uk_UA.UTF-8.in: Likewise.
17466
43f3893f
MF
174672018-02-27 Mike FABIAN <mfabian@redhat.com>
17468
17469 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17470 order of ȥ in the new iso14651_t1_common file.
17471 * localedata/pl_PL.UTF-8.in: Likewise.
17472
df74ef78
MF
174732018-02-27 Mike FABIAN <mfabian@redhat.com>
17474
17475 * localedata/locales/iso14651_t1_common: Add sections for various
17476 scripts to the iso14651_t1_common file.
17477
d5adfbad
MF
174782018-02-27 Mike FABIAN <mfabian@redhat.com>
17479
17480 * localedata/locales/iso14651_t1_common: Use the code point of a
17481 character in the fourth collation level instead of IGNORE for all
17482 entries which have IGNORE on all 4 levels.
17483
5f5a9610
MF
174842018-02-27 Mike FABIAN <mfabian@redhat.com>
17485
17486 * localedata/locales/iso14651_t1_common: Add some convenient collation
17487 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17488 rules similar to those in CLDR.
17489
8a97e900
MF
174902018-02-27 Mike FABIAN <mfabian@redhat.com>
17491
17492 * localedata/locales/iso14651_t1_common: The new version of this
17493 file downloaded from ISO contained several syntax errors which
17494 are fixed by this patch.
17495
bbdd2fba
MF
174962018-02-27 Mike FABIAN <mfabian@redhat.com>
17497
17498 * localedata/locales/iso14651_t1_common: replace all <U.....>
17499 with <U000.....> because glibc understands only 4 digit or 8 digit
17500
1569e551
MF
175012018-02-27 Mike FABIAN <mfabian@redhat.com>
17502
17503 * localedata/locales/iso14651_t1_common: Necessary changes
17504 to make the file downloaded from ISO usable by glibc.
17505
9479b6d5
MF
175062018-02-27 Mike FABIAN <mfabian@redhat.com>
17507
17508 [BZ #14095]
17509 * localedata/locales/iso14651_t1_common: Update file to
17510 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17511
03b540b3
ST
175122018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17513
17514 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17515 of <nptl/pthreadP.h>
17516 (thread_attr_compare): Move function to...
eb937a52 17517 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
03b540b3 17518 * sysdeps/nptl/timer_routines.h: ... new header.
7211eba6 17519 * sysdeps/mach/hurd/gai_misc.h: New file.
03b540b3 17520
20602c72
JM
175212018-02-26 Joseph Myers <joseph@codesourcery.com>
17522
f54d8f73
JM
17523 * string/strcoll_l.c: Include <libc-diag.h>.
17524 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17525 declarations of seq1 and seq2.
17526
20602c72
JM
17527 [BZ #15105]
17528 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17529 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17530
f5f473a9
DL
175312018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17532
17533 [BZ #22433]
17534 [BZ #22807]
17535 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17536 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17537 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17538 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17539 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17540 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17541
398c6fdd
TMQMF
175422018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17543
17544 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17545 macros used in __ptrace_request.
17546
f5d1f629
L
175472018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17548
17549 [BZ #22792]
17550 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17551 to $(CC).
17552 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17553 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17554 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17555 <tcb-offsets.h>.
17556
54412d20
JM
175572018-02-23 Joseph Myers <joseph@codesourcery.com>
17558
17559 [BZ #15105]
17560 * ctype/ctype.c (tolower): Use libc_hidden_def.
17561 (toupper): Likewise.
17562 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17563 [!_ISOMAC] (toupper): Likewise.
17564
81be4b5e
MF
175652018-02-23 Mike FABIAN <mfabian@redhat.com>
17566
17567 * localedata/Makefile: Remove --quiet argument when
17568 installing locales
17569
9d5cfd8e
MF
175702018-02-23 Mike FABIAN <mfabian@redhat.com>
17571
17572 [BZ #17438]
17573 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17574 in d_fmt.
17575 * localedata/locales/pt_PT (LC_TIME): likewise
17576
6c7269f3
MF
175772018-02-23 Mike FABIAN <mfabian@redhat.com>
17578
17579 [BZ #22646]
17580 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17581 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17582 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17583
92aabad9
AZ
175842018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17585
4cdc25a4
AZ
17586 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17587
27761a10
AZ
17588 * nptl/Makefile (routines): Remove unregister-atfork.
17589 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17590 (fork_handler_alloc): Remove function.
17591 (fork_handlers, fork_handler_init): New variables.
17592 (__fork_lock): Rename to atfork_lock.
17593 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17594 to use a dynamic array to add/remove atfork handlers.
17595 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17596 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17597 Remove declaration.
17598 (fork_handler): Remove next, refcntr, and need_signal member.
17599 (__run_fork_handler_type): New enum.
17600 (__run_fork_handlers): New prototype.
17601 * nptl/register-atfork.c: Remove file.
17602 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17603
92aabad9
AZ
17604 * sysdeps/nptl/nptl-signals.h: Move to ...
17605 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17606 comments.
17607 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17608 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17609 unnecessary check for SIGTIMER.
17610 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17611 remove unnecessary removal of SIGTIMER.
17612 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17613 include-signals.h rename.
17614 * nptl/pthreadP.h: Likewise.
17615 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17616 __is_internal_signal instead of __nptl_is_internal_signal.
17617
6b5c8607 176182018-02-22 Andrew Waterman <andrew@sifive.com>
fdcc6253 17619
7e04eb29 17620 [BZ # 22884]
fdcc6253
AW
17621 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17622 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17623 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17624 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17625
8090720a
DD
176262018-02-22 DJ Delorie <dj@delorie.com>
17627
17628 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17629
6ca24c43
SP
176302018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17631
17632 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17633 do_misaligned, not misaligned8.
17634
e9537ddd
SE
176352018-02-22 Steve Ellcey <sellcey@cavium.com>
17636
17637 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17638 Add memcpy_thunderx2.
17639 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17640 Increment to 4.
17641 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17642 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17643 and IS_THUNDERX2PA checks.
17644 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17645 Use macro to set name appropriately.
17646 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17647 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17648 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17649 New macro.
17650 (IS_THUNDERX2): New macro.
17651
6e336476
SL
176522018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17653
17654 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17655
34957904
ZW
176562018-02-21 Zack Weinberg <zackw@panix.com>
17657
30bfee26
ZW
17658 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17659 Define here, unconditionally.
17660 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17661 * libio/libioP.h: Remove #if 0 blocks.
17662 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17663 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17664 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17665
17666 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17667 Assume weak_alias is always defined.
17668
17669 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17670 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17671 Remove #if 0 and #ifdef TODO blocks.
17672 Assume text_set_element is always defined.
17673
17674 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17675 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17676 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17677
df6c012b
ZW
17678 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17679 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17680 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17681 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17682 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17683 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17684 Reformat bit flags for _flags field to make occupancy clearer.
17685 Update commentary.
17686 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17687 Keep definitions consistent with those in libio/libio.h.
17688
17689 * libio/libio.h (_IO_file_flags): Remove macro.
17690 All uses changed to _flags.
17691
177aad3f
ZW
17692 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17693 (__HAVE_COLUMN, _IO_BE): Don't define.
17694 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17695 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17696 * libio/libioP.h (EOF): Don't define.
17697 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17698 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17699 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17700 testing _IO_UNIFIED_JUMPTABLES.
17701
9964a145
ZW
17702 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17703 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17704 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17705 (_IO_size_t): Delete; all uses changed to size_t.
17706 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17707 (_IO_off_t): Delete; all uses changed to off_t.
17708 (_IO_off64_t): Delete; all uses changed to off64_t.
17709 (_IO_pid_t): Delete; all uses changed to pid_t.
17710 (_IO_uid_t): Delete; all uses changed to uid_t.
17711 (_IO_wint_t): Delete; all uses changed to wint_t.
17712 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17713 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17714 (_IO_cookie_io_functions_t): Delete; all uses changed to
17715 cookie_io_functions_t.
17716 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17717 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17718 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17719 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17720
17721 * libio/iofopncook.c: Remove unnecessary forward declarations.
17722 * libio/iolibio.h: Correct outdated commentary.
17723 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17724 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17725 Remove unnecessary casts.
17726 * stdio-common/getline.c: Use _IO_getdelim directly.
17727 Don't redefine ssize_t.
17728 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17729 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17730 Remove outdated comments.
17731 * stdio-common/vfscanf.c: Don't redefine va_list.
17732
34957904
ZW
17733 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17734 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17735 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17736 which are always true, and __cplusplus, which is always false.
17737
30ac923d
JM
177382018-02-21 Joseph Myers <joseph@codesourcery.com>
17739
039c721a
JM
17740 [BZ #15105]
17741 [BZ #19463]
17742 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17743 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17744 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17745 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17746 libc_hidden_proto.
17747 [!_ISOMAC] (putc_unlocked): Likewise.
17748 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17749 define inline if [__USE_EXTERN_INLINES].
17750 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17751 putc_unlocked.
17752
30ac923d
JM
17753 [BZ #15105]
17754 [BZ #19463]
17755 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17756 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17757 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17758 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17759 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17760 getc_unlocked.
17761 * time/tzfile.c (__tzfile_read): Likewise.
17762
7ec5f946
MF
177632018-02-21 Mike FABIAN <mfabian@redhat.com>
17764
17765 [BZ #22517]
17766 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17767
0d217f40
RJ
177682018-02-21 Rical Jasan <ricaljasan@pacific.net>
17769
17770 * io/fcntl.h: Fix a typo in a comment.
17771
862b4502
RJ
177722018-02-21 Rical Jasan <ricaljasan@pacific.net>
17773
17774 [BZ #22862]
17775 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17776 define _DEFAULT_SOURCE.
17777 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17778
999a6dab
FW
177792018-02-21 Florian Weimer <fweimer@redhat.com>
17780
17781 [BZ #20890]
17782 * elf/cache.c (save_cache): Call fsync on temporary file before
17783 renaming it.
17784 (save_aux_cache): Call fdatasync on temporary file before renaming
17785 it.
17786
52a01100
FW
177872018-02-21 Florian Weimer <fweimer@redhat.com>
17788
17789 [BZ #22787]
17790 * include/caller.h: Remove file.
17791 * elf/dl-caller.c: Likewise.
17792 * elf/Makefile (dl-routines): Remove dl-caller.
17793 (shared-only-routines): Do not add dl-caller.
17794 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17795 __check_caller.
17796 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17797 member.
17798 (dl_open_worker): Do not call __check_caller.
17799 (_dl_open): Do not set caller_dl_open member.
17800 * elf/rtld.c (_rtld_global_ro): Do not initialize
17801 _dl_check_caller member.
17802 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17803 _dl_check_caller member.
17804 (_dl_check_caller): Remove declaration.
17805 * sysdeps/unix/sysv/linux/dl-execstack.c
17806 (_dl_make_stack_executable): Do not call __check_caller.
17807
b5bf62e4
ST
178082018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17809
17810 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
315304d2 17811 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
b5bf62e4 17812
e8d190b9
RJ
178132018-02-20 Rical Jasan <ricaljasan@pacific.net>
17814
17815 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17816 description.
17817
6a3962c4
RJ
178182018-02-20 Rical Jasan <ricaljasan@pacific.net>
17819
da81ae64 17820 [BZ #16335]
6a3962c4
RJ
17821 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17822 of 199606L, 200112L, and 200809L.
17823 (_XOPEN_SOURCE): Document special values of 600 and 700.
17824 (_ISOC11_SOURCE): Document macro.
17825 (_ATFILE_SOURCE): Likewise.
17826 (_FORTIFY_SOURCE): Likewise.
17827
ec481ad8
JM
178282018-02-19 Joseph Myers <joseph@codesourcery.com>
17829
17830 [BZ #15105]
17831 [BZ #19463]
17832 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17833 and define as weak alias of __ferror_unlocked. Use
17834 libc_hidden_weak.
17835 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17836 libc_hidden_proto.
17837 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17838 function if [__USE_EXTERN_INLINES].
17839 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17840 ferror_unlocked.
17841
7d15ef84
RJ
178422018-02-19 Rical Jasan <ricaljasan@pacific.net>
17843
17844 [BZ #6889]
17845 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17846
f8d79582
AJ
178472018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17848
17849 [BZ #22818]
17850 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17851 the GLIBC_2.1 version.
17852
56456a2a
AJ
178532018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17854
17855 [BZ #21508]
17856 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17857 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17858 intl/tst-gettext-de.po from po/de.po by removing the
17859 POT-Creation-Date line.
17860 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17861 ../po/de.po.
17862 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17863 ../po/de.po.
17864
13768813
ST
178652018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17866
17867 * mach/Makefile (headers): Add mach/param.h.
17868 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17869 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
dd1efd8c
ST
17870 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17871 (__ptsname_r): Move implementation to...
17872 (__ptsname_internal): ... new function. Add filling the STP
17873 structure.
13768813 17874
6aca1b61
JDA
178752018-02-17 John David Anglin <danglin@gcc.gnu.org>
17876
17877 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17878 idouble to 1 ULP.
17879
16efad51
RJ
178802018-02-16 Rical Jasan <ricaljasan@pacific.net>
17881
17882 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17883 syntax.
17884
87245073
SL
178852018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17886
17887 * nptl/Makefile (tst-mutex8-ENV): Delete.
17888 * nptl/tst-mutex8.c (check_type):
17889 Add runtime check if mutex will be elided.
17890
7fc03cf3
JM
178912018-02-15 Joseph Myers <joseph@codesourcery.com>
17892
db9881ec
JM
17893 [BZ #20980]
17894 [BZ #21234]
17895 * manual/install.texi (Configuring and compiling): Describe
17896 passing CC and CFLAGS on configure command line, not as
17897 environment variables. Use @code markup on those variables.
17898 Specify what options go in CC and what go in CFLAGS. Note the
17899 requirement to compile with optimization.
17900 * INSTALL: Regenerated.
17901
3785b31c
JM
17902 [BZ #18124]
17903 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17904 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17905 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17906 __sigprocmask instead of sigprocmask.
17907 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17908 Likewise.
17909 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17910 __sigsetjmp and sigprocmask.
17911
055ac2a7
JM
17912 [BZ #15105]
17913 * include/argz.h (argz_next): Use libc_hidden_proto.
17914 (__argz_next): Likewise.
17915 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17916 (argz_next): Use libc_hidden_weak.
17917
e4452a2d
JM
17918 [BZ #15105]
17919 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17920 libc_hidden_proto.
17921 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17922 libc_hidden_def.
17923
499b3153
JM
17924 [BZ #15105]
17925 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17926 libc_hidden_proto.
17927 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17928
7fc03cf3
JM
17929 [BZ #15105]
17930 [BZ #19463]
17931 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17932 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17933 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17934 (__feof_unlocked): New declaration, and inline function if
17935 [__USE_EXTERN_INLINES].
17936 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17937 instead of feof_unlocked.
17938 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17939 * nss/nsswitch.c (nss_parse_file): Likewise.
17940 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17941 Likewise.
17942 * time/getdate.c (__getdate_r): Likewise.
17943 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17944 Define as macro to call __feof_unlocked.
17945
0c8a67a5
WD
179462018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17947
17948 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
17949
610ee1fc
WD
179502018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
17951
17952 * math/Makefile: Remove mpexp.c and mplog.c
17953 * sysdeps/i386/fpu/mpexp.c: Delete file.
17954 * sysdeps/i386/fpu/mplog.c: Likewise.
17955 * sysdeps/ia64/fpu/mpexp.c: Likewise.
17956 * sysdeps/ia64/fpu/mplog.c: Likewise.
17957 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
17958 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
17959 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
17960 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
17961 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
17962 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
17963 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
17964 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
17965 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
17966 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
17967 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
17968 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
17969 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
17970 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
17971 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
17972 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
17973
8e7196c8
SL
179742018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
17975
17976 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17977
4f55ad0b
AZ
179782018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17979
17980 * sysdeps/sh/libm-test-ulps: Update.
17981
261a851c
TMQMF
179822018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17983
17984 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
17985 idouble to 1 ULP.
17986
e16deca6
ZW
179872018-02-12 Zack Weinberg <zackw@panix.com>
17988
17989 [BZ #19239]
17990 * posix/sys/types.h: Don't include sys/sysmacros.h.
17991 * misc/sys/sysmacros.h: Remove the conditional deprecation
17992 warnings for the macros defined by this header.
17993
de800d83
SN
179942018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
17995
17996 * manual/probes.texi: Remove slowexp probes.
17997 * math/Makefile: Remove slowexp.
17998 * sysdeps/generic/math_private.h (__slowexp): Remove.
17999 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18000 document error bounds.
18001 * sysdeps/i386/fpu/slowexp.c: Remove.
18002 * sysdeps/ia64/fpu/slowexp.c: Remove.
18003 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18004 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18005 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18006 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18007 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18008 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18009 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18010 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18011 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18012 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18013 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18014
c3d466cb
WD
180152018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18016
18017 [BZ #13932]
18018 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18019 * benchtests/pow-inputs: Update comment for slow path cases.
18020 * manual/probes.texi (slowpow_p10): Delete removed probe.
18021 (slowpow_p10): Likewise.
18022 * math/Makefile: Remove halfulp.c and slowpow.c.
18023 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18024 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18025 (__halfulp): Remove.
18026 (__slowpow): Remove.
18027 * sysdeps/i386/fpu/halfulp.c: Delete file.
18028 * sysdeps/i386/fpu/slowpow.c: Likewise.
18029 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18030 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18031 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18032 improve comments and add error analysis.
18033 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18034 (power1): Remove function:
18035 (log1): Remove error argument, add error analysis.
18036 (my_log2): Remove function.
18037 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18038 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18039 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18040 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18041 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18042 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18043 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18044 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18045 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18046 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18047 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18048 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18049 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18050 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18051
7bb087bd
ST
180522018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18053
18054 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18055 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18056
2fd4bbaa
DL
180572018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18058
18059 [BZ #22433]
18060 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18061 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18062 and PTRACE_SETHBPREGS.
18063
402ecba4
ZW
180642018-02-10 Zack Weinberg <zackw@panix.com>
18065
18066 [BZ #22830]
18067 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18068 correctly.
18069 * malloc/tst-malloc-stats-cancellation.c: New test case.
18070 * malloc/Makefile: Add new test case.
18071
4f5b921e
WD
180722018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18073
18074 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18075
a85b70db
JM
180762018-02-10 Joseph Myers <joseph@codesourcery.com>
18077
d8742dd8
JM
18078 * math/Makefile (libm-narrow-fns): Add add.
18079 (libm-test-funcs-narrow): Likewise.
18080 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18081 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18082 * math/gen-auto-libm-tests.c (test_functions): Add add.
18083 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18084 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18085 (NARROW_ADD_TRIVIAL): Likewise.
18086 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18087 macro.
18088 (__daddl): Likewise.
18089 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18090 dadd.
18091 (CFLAGS-nldbl-dadd.c): New variable.
18092 (CFLAGS-nldbl-fadd.c): Likewise.
18093 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18094 __nldbl_daddl.
18095 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18096 prototype.
18097 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18098 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18099 * math/auto-libm-test-in: Add tests of add.
18100 * math/auto-libm-test-out-narrow-add: New generated file.
18101 * math/libm-test-narrow-add.inc: New file.
18102 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18103 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18104 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18105 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18106 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18107 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18108 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18109 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18110 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18111 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18112 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18113 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18114 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18115 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18116 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18117 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18118 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18119 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18120 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18121 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18122 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18123 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18124 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18125 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18126 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18127 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18128 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18129 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18130 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18131 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18132 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18133 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18138 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18139 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18140 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18141 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18142 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18143 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18144 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18145 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18146 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18147 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18148
a85b70db
JM
18149 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18150 (f128-pairs): New variable.
18151 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18152 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18153 to CFLAGS.
18154 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18155 Also make tests add $(f128-loader-link) to gnulib-tests.
18156
6a1ff640
DD
181572018-02-09 DJ Delorie <dj@redhat.com>
18158
18159 [BZ #22827]
18160 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18161 64-bit ELF type for 64-bit ELF objects.
18162
bfd47587
JM
181632018-02-09 Joseph Myers <joseph@codesourcery.com>
18164
31958338
JM
18165 * math/libm-test-driver.c (snan_tests_arg): New variable.
18166 * math/libm-test-support.h (snan_tests_arg): New declaration.
18167 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18168
8e554659
JM
18169 * math/Makefile (test-type-pairs): New variable.
18170 (test-type-pairs-f64xf128-yes): Likewise.
18171 (tests): Add test-narrow-macros.
18172 (libm-test-funcs-narrow): New variable.
18173 (libm-test-c-narrow): Likewise.
18174 (generated): Add $(libm-test-c-narrow).
18175 (libm-tests-base-narrow): New variable.
18176 (libm-tests-narrow): Likewise.
18177 (libm-tests): Add $(libm-tests-narrow).
18178 (libm-tests-for-type): Handle $(libm-tests-narrow).
18179 (libm-test-c-narrow-obj): New variable.
18180 ($(libm-test-c-narrow-obj)): New rule.
18181 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18182 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18183 $(o-iterator) to set dependencies and CFLAGS.
18184 * math/gen-auto-libm-tests.c: Document use for narrowing
18185 functions.
18186 (output_for_one_input_case): Take argument NARROW.
18187 (generate_output): Likewise. Update call to
18188 output_for_one_input_case.
18189 (main): Take --narrow option. Update call to generate_output.
18190 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18191 (apply_lit): Update call to _apply_lit.
18192 (apply_arglit): New function.
18193 (parse_args): Handle "a" arguments.
18194 (parse_auto_input): Handle format names using ":".
18195 * math/README.libm-test: Document "a" parameter type.
18196 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18197 (ARG_TYPE_TRUE_MIN): Likewise.
18198 (ARG_TYPE_MAX): Likwise.
18199 (ARG_MIN_EXP): Likewise.
18200 (ARG_MAX_EXP): Likewise.
18201 (ARG_MANT_DIG): Likewise.
18202 (TEST_COND_arg_ibm128): Likewise.
18203 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18204 (TEST_COND_arg_fmt): New macro.
18205 (init_max_error): Update prototype.
18206 * math/libm-test-support.c (test_ibm128): New variable.
18207 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18208 instead of using [TEST_COND_ibm128] conditional.
18209 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18210 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18211 [TEST_NARROW] (TEST_MSG): New definition.
18212 (arg_plus_zero): New macro.
18213 (arg_minus_zero): Likewise.
18214 (arg_plus_infty): Likewise.
18215 (arg_minus_infty): Likewise.
18216 (arg_qnan_value_pl): Likewise.
18217 (arg_qnan_value): Likewise.
18218 (arg_snan_value_pl): Likewise.
18219 (arg_snan_value): Likewise.
18220 (arg_max_value): Likewise.
18221 (arg_min_value): Likewise.
18222 (arg_min_subnorm_value): Likewise.
18223 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18224 (RUN_TEST_LOOP_aa_f): New macro.
18225 (TEST_SUFF): New macro.
18226 (TEST_SUFF_STR): Likewise.
18227 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18228 (TEST_COND_any_ibm128): New macro.
18229 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18230 this_func. Update call to init_max_error.
18231 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18232 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18233 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18234 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18235 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18236 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18237 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18238 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18239 * math/test-math-vector.h (TEST_NARROW): Likewise.
18240 * math/test-arg-double.h: New file.
18241 * math/test-arg-float128.h: Likewise.
18242 * math/test-arg-float32x.h: Likewise.
18243 * math/test-arg-float64.h: Likewise.
18244 * math/test-arg-float64x.h: Likewise.
18245 * math/test-arg-ldouble.h: Likewise.
18246 * math/test-math-narrow.h: Likewise.
18247 * math/test-narrow-macros.c: Likewise.
18248 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18249 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18250 test-narrow-macros-ldbl-64.
18251 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18252
63716ab2
JM
18253 * math/bits/mathcalls-narrow.h: New file.
18254 * include/bits/mathcalls-narrow.h: Likewise.
18255 * math/math-narrow.h: Likewise.
18256 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18257 (__MATHCALL_NARROW_ARGS_2): Likewise.
18258 (__MATHCALL_NARROW_ARGS_3): Likewise.
18259 (__MATHCALL_NARROW_NORMAL): Likewise.
18260 (__MATHCALL_NARROW_REDIR): Likewise.
18261 (__MATHCALL_NARROW): Likewise.
18262 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18263 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18264 defined.
18265 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18266 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18267 (libm-narrow-fns): New variable.
18268 (libm-narrow-types-basic): Likewise.
18269 (libm-narrow-types-ldouble-yes): Likewise.
18270 (libm-narrow-types-float128-yes): Likewise.
18271 (libm-narrow-types-float128-alias-yes): Likewise.
18272 (libm-narrow-types): Likewise.
18273 (libm-routines): Add narrowing functions.
18274 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18275 (libc_feholdexcept_setroundf128): New macro.
18276 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18277 * sysdeps/ieee754/float128/float128_private.h: Include
18278 <math/math-narrow.h>.
18279 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18280 Undefine and redefine.
18281 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18282 (libm_alias_float_ldouble): Undefine and redefine.
18283 (libm_alias_double_ldouble): Likewise.
18284
bfd47587
JM
18285 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18286
3f8d9d58
WD
182872018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18288
18289 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18290 FPCR/FPSR.
18291
1f6676d7
RJ
182922018-02-09 Rical Jasan <ricaljasan@pacific.net>
18293
18294 * manual/creature.texi: Convert references to gcc.info to gcc.
18295 * manual/stdio.texi: Likewise.
18296 * manual/string.texi: Likewise.
18297
d80441dd
JM
182982018-02-07 Joseph Myers <joseph@codesourcery.com>
18299
15081be9
JM
18300 [BZ #17979]
18301 * posix/bits/types.h (__int_least8_t): New typedef.
18302 (__uint_least8_t): Likewise.
18303 (__int_least16_t): Likewise.
18304 (__uint_least16_t): Likewise.
18305 (__int_least32_t): Likewise.
18306 (__uint_least32_t): Likewise.
18307 (__int_least64_t): Likewise.
18308 (__uint_least64_t): Likewise.
18309 * sysdeps/generic/stdint.h (int_least8_t): Define using
18310 __int_least8_t.
18311 (int_least16_t): Define using __int_least16_t.
18312 (int_least32_t): Define using __int_least32_t.
18313 (int_least64_t): Define using __int_least64_t.
18314 (uint_least8_t): Define using __uint_least8_t.
18315 (uint_least16_t): Define using __uint_least16_t.
18316 (uint_least32_t): Define using __uint_least32_t.
18317 (uint_least64_t): Define using __uint_least64_t.
18318 * wcsmbs/uchar.h: Include <bits/types.h>.
18319 (char16_t): Define using __uint_least16_t conditional only on
18320 [!__USE_ISOCXX11].
18321 (char32_t): Define using __uint_least32_t conditional only on
18322 [!__USE_ISOCXX11].
18323 * wcsmbs/test-char-types.c: New file.
18324 * wcsmbs/Makefile (tests): Add test-char-types.
18325
d80441dd
JM
18326 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18327 version to 4.0.1.
18328
6c6c962a
ZW
183292018-02-07 Zack Weinberg <zackw@panix.com>
18330
63fb8f9a
ZW
18331 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18332 Delete all contents except for definitions of _G_HAVE_MMAP and
18333 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18334 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18335 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18336 change as above.
18337
18338 * libio/libio.h: Don't include bits/_G_config.h here.
18339 Include stddef.h with __need_wchar_t defined. Include
18340 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18341 Define _IO_iconv_t here, directly.
18342 Don't define _IO_HAVE_ST_BLKSIZE.
18343 * libio/libioP.h: Include _G_config.h here. Move include of
18344 shlib-compat.h up with rest of includes. Simplify conditionals
18345 controlling definition of _IO_JUMPS_OFFSET.
18346
18347 * csu/init.c: Remove always-true #if around entire file.
18348 Don't include stdio.h. Set _IO_stdin_used to hardwired
18349 constant 0x20001, and update commentary.
18350 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18351 Replace all uses of _G_va_list with __gnuc_va_list.
18352 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18353 instead of #if _IO_HAVE_ST_BLKSIZE.
18354 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18355 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18356 not #ifdef.
18357
6c6c962a
ZW
18358 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18359 multiple-include guard to match.
18360 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18361 into this file.
18362 Remove preprocessor conditionals that are always true and/or
18363 redundant to other preprocessor conditionals in the same nest.
18364 Include shlib-compat.h unconditionally.
18365 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18366 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18367 defined after including stdio.h.
18368 Use __BEGIN_DECLS/__END_DECLS.
18369
18370 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18371 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18372 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18373
a4fea3f2
ZW
183742018-02-07 Zack Weinberg <zackw@panix.com>
18375
18376 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18377 New single-type headers split from _G_config.h.
18378 * libio/bits/types/cookie_io_functions_t.h
18379 * libio/bits/types/struct_FILE.h
18380 New single-type headers split from libio.h.
18381
18382 * libio/Makefile: Install the above new headers. Don't install
18383 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18384 bits/libio-ldbl.h.
18385 * libio/_G_config.h, libio/libio.h: Delete file.
18386
18387 * libio/bits/libio.h: Remove improper-inclusion guard.
18388 Include stdio.h and don't repeat anything that it does.
18389 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18390 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18391 __io_read_fn as cookie_read_function_t,
18392 __io_write_fn as cookie_write_function_t,
18393 __io_seek_fn as cookie_seek_function_t,
18394 __io_close_fn as cookie_close_function_t,
18395 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18396 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18397 here, in the "compatibility defines" section. Remove an #if 0
6c6c962a 18398 block. Use the "body" macros from bits/types/struct_FILE.h to
a4fea3f2
ZW
18399 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18400 and _IO_ferror_unlocked.
18401 Move prototypes of __uflow and __overflow...
18402
18403 * libio/stdio.h: ...here. Don't include bits/libio.h.
18404 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
6c6c962a 18405 directly from stdarg.h. Include bits/types/__fpos_t.h,
a4fea3f2
ZW
18406 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18407 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18408 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18409 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18410 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18411 __ssize_t, not _IO_ssize_t. Unconditionally define
18412 BUFSIZ as 8192 and EOF as (-1).
18413
18414 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18415 macros from bits/types/struct_FILE.h instead of _IO_* macros
18416 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18417 instead of _IO_ssize_t.
18418 * libio/bits/stdio2.h: Similarly.
18419
18420 * libio/iolibio.h: Add multiple-include guard.
18421 Include bits/libio.h after stdio.h.
18422 * libio/libioP.h: Add multiple-include guard.
18423 Include stdio.h and bits/libio.h before iolibio.h.
18424
6c6c962a 18425 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
a4fea3f2
ZW
18426 * include/bits/types/cookie_io_functions_t.h
18427 * include/bits/types/struct_FILE.h: New wrappers.
18428
18429 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
6c6c962a
ZW
18430 Get definitions of _G_fpos_t and _G_fpos64_t from
18431 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18432 respectively. Remove improper-inclusion guards.
a4fea3f2 18433
6c6c962a 18434 * conform/data/stdio.h-data: Update expectations of va_list.
a4fea3f2 18435 * scripts/check-installed-headers.sh: Remove special case for
6c6c962a 18436 libio.h and _G_config.h.
a4fea3f2 18437
ce999220
JM
184382018-02-07 Joseph Myers <joseph@codesourcery.com>
18439
8b4a1182
JM
18440 [BZ #15105]
18441 [BZ #19463]
18442 * include/sys/sysmacros.h [!_ISOMAC]
18443 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18444 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18445 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18446 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18447 libc_hidden_proto.
18448 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18449 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18450 Likewise.
18451 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18452 Undefine and redefine to add use __gnu_dev_ prefix.
18453 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18454 Likewise.
18455 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18456 and define as hidden inline function.
18457 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18458 Likewise.
18459 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18460 Likewise.
18461 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18462 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18463 (gnu_dev_minor): Likewise.
18464 (gnu_dev_makedev): Likewise.
18465 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18466 makedev.
18467 * posix/wordexp.c (exec_comm_child): Likewise.
18468 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18469 instead of minor and __gnu_dev_major instead of major.
18470 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18471 __gnu_dev_major instead of major.
18472 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18473 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18474 instead of gnu_dev_minor.
18475 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18476 (SLAVE_P): Likewise.
18477 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18478 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18479 instead of major.
18480
ce999220
JM
18481 [BZ #21313]
18482 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18483 in another place.
18484 * locale/weightwc.h (findidx): Likewise.
18485
b7c83ca3
WD
184862018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18487
18488 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18489 (slowlog_inexact): Likewise
18490 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18491 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18492
388ff7bd
IG
184932018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18494
18495 [BZ #22797]
18496 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18497 missing second underscore to parameter name.
18498
663e7d78
JM
184992018-02-06 Joseph Myers <joseph@codesourcery.com>
18500
0d40d0ec
JM
18501 [BZ #14508]
18502 [BZ #15512]
18503 [BZ #17082]
18504 [BZ #20530]
18505 * bits/byteswap.h: Update file comment. Do not include
18506 <bits/byteswap-16.h>.
18507 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18508 constant.
18509 (__bswap_16): Define as inline function.
18510 (__bswap_constant_32): Reformat definition.
18511 (__bswap_32): Always define as inline function, not macro, using
18512 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18513 otherwise __bswap_constant_32.
18514 (__bswap_constant_64): Reformat definition. Do not use
18515 __extension__ here.
18516 (__bswap_64): Always define as inline function, not macro. Use
18517 __extension__ on function definition. Use __builtin_bswap64 if
18518 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18519 * string/test-endian-file-scope.c: New file.
18520 * string/test-endian-sign-conversion.c: Likewise.
18521 * string/Makefile (headers): Remove bits/byteswap-16.h.
18522 (tests): Add test-endian-file-scope and
18523 test-endian-sign-conversion.
18524 (CFLAGS-test-endian-sign-conversion.c): New variable.
18525 * bits/byteswap-16.h: Remove file.
18526 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18527 * sysdeps/ia64/bits/byteswap.h: Likewise.
18528 * sysdeps/m68k/bits/byteswap.h: Likewise.
18529 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18530 * sysdeps/s390/bits/byteswap.h: Likewise.
18531 * sysdeps/tile/bits/byteswap.h: Likewise.
18532 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18533 * sysdeps/x86/bits/byteswap.h: Likewise.
18534
383e87c9
JM
18535 [BZ #17721]
18536 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18537 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18538 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18539 199901L] (__restrict): Define to restrict.
18540
d92c2759
JM
18541 [BZ #19667]
18542 * string/testcopy.c: Include <support/support.h>. Do not include
18543 <malloc.h>. Use <support/test-driver.c>.
18544 (main): Rename to do_test. Make static. Use xmalloc instead of
18545 malloc.
18546
625fb764
JM
18547 [BZ #13575]
18548 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18549 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18550 (SSIZE_MAX): Define to INT_MAX.
18551 * posix/test-ssize-max.c: New file.
18552 * posix/Makefile (tests): Add test-ssize-max.
18553
02325d6c
JM
18554 [BZ #19668]
18555 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18556 <support/support.h>. Do not include <malloc.h>.
18557 (query_auxv): Use xmalloc instead of malloc.
18558
663e7d78
JM
18559 [BZ #14553]
18560 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18561 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18562 instead of loff_t.
18563
6b5c8607 185642018-02-06 Florian Weimer <fweimer@redhat.com>
6d7aa2b5
FW
18565
18566 [BZ #18023]
18567 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18568 Use scratch_buffer instead of extend_alloca.
18569
de6da571
ZW
185702018-02-06 Zack Weinberg <zackw@panix.com>
18571
26c07172
ZW
18572 * libio/stdio.h: Don't define getc or putc as macros.
18573 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18574 not _IO_getc and _IO_putc.
18575
de6da571
ZW
18576 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18577 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18578
92669d6e
JM
185792018-02-06 Joseph Myers <joseph@codesourcery.com>
18580
c2b84df9
JM
18581 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18582 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18583
41376f8c
JM
18584 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18585
d28bf648
JM
18586 [BZ #14890]
18587 * elf/elf.h (NT_PRFPREG): New macro.
18588 (NT_S390_VXRS_LOW): Likewise.
18589 (NT_S390_VXRS_HIGH): Likewise.
18590 (NT_S390_GS_CB): Likewise.
18591 (NT_S390_GS_BC): Likewise.
18592 (NT_S390_RI_CB): Likewise.
18593
e76def72
JM
18594 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18595 (MAP_SYNC): New macro.
18596 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18597 Likewise.
18598 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18599 (MAP_SYNC): Likewise.
18600 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18601 (MAP_SYNC): Likewise.
18602 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18603 (MAP_SYNC): Likewise.
18604 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18605 (MAP_SYNC): Likewise.
18606 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18607 (MAP_SYNC): Likewise.
18608 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18609 (MAP_SYNC): Likewise.
18610 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18611 Likewise.
18612 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18613 Likewise.
18614
92669d6e
JM
18615 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18616 (MAP_SHARED_VALIDATE): New macro.
18617 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18618 (MAP_SHARED_VALIDATE): Likewise.
18619
6a5cac49
L
186202018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18621
18622 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18623 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18624 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18625
b44e0dfb
L
186262018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18627
18628 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18629 (DT_NUM): Updated to 35.
18630
f886c16c
L
186312018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18632
18633 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18634 __builtin_expect with __glibc_likely and __glibc_unlikely.
18635 (elf_machine_rela): Likewise.
18636 (elf_machine_lazy_rel): Likewise.
18637
06fbebff
L
186382018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18639
18640 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
8f4bf93f 18641 __builtin_expect with __glibc_likely and __glibc_unlikely.
06fbebff
L
18642 (elf_machine_lazy_rel): Likewise.
18643
371b220f
L
186442018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18645
18646 [BZ #22638]
18647 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18648 SHARED.
65805016 18649 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
371b220f 18650
f649a1b8
AS
186512018-02-05 Andreas Schwab <schwab@suse.de>
18652
18653 [BZ #22761]
18654 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18655 string.
18656
9fdb340e
ST
186572018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18658
18659 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18660 not check against PTHREAD_STACK_MIN.
18661
09e56b9e
SM
186622018-02-02 Sean McKean <smckean83@gmail.com>
18663
18664 [BZ #22735]
18665 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18666
d4b4a00a
FW
186672018-02-02 Florian Weimer <fweimer@redhat.com>
18668
18669 [BZ #22753]
18670 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18671 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18672 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18673 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18674 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18675 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18676 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18677 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18678 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18679 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18680 * misc/tst-preadvwritev2.c (do_test): Call it.
18681 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18682
3dfcbfa1
SP
186832018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18684
84c94d2f
SP
18685 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18686
96e6a716
SP
18687 * benchtests/bench-memcmp.c: Print json instead of plain text.
18688
3dfcbfa1
SP
18689 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18690 every test run.
18691
049375e2
JM
186922018-02-01 Joseph Myers <joseph@codesourcery.com>
18693
39f898c6
JM
18694 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18695 version to 4.15.
18696 (s390_sthyi): New syscall.
18697
6f9a3dd8
JM
18698 * sysdeps/generic/ldbl-classify-compat.h: New file.
18699 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18700 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18701 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18702 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18703 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18704 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18705 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18706 <ldbl-classify-compat.h>.
18707 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18708 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18709 <ldbl-classify-compat.h>.
18710 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18711 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18712 <ldbl-classify-compat.h>.
18713 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18714 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18715 <ldbl-classify-compat.h>.
18716 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18717 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18718 <ldbl-classify-compat.h>.
18719 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18721 <ldbl-classify-compat.h>.
18722 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18723 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18724 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18725 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18726 * sysdeps/microblaze/math_private.h: Likewise.
18727 * sysdeps/nios2/math_private.h: Likewise.
18728 * sysdeps/sh/math_private.h: Likewise.
18729
eb65a3d5
JM
18730 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18731 * sysdeps/m68k/coldfire/math_private.h: ... here.
18732 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18733 * sysdeps/tile/math_private.h: Likewise.
18734 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18735 Remove macro.
18736 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18737 Likewise.
18738
8a6bb1d0
JM
18739 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18740 Remove macro.
18741 (libc_fetestexcept): Likewise.
18742 (libc_feupdateenv_test): Likewise.
18743 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18744 (libc_fetestexcept): Likewise.
18745 (libc_feupdateenv_test): Likewise.
18746 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18747 (libc_fetestexcept): Likewise.
18748 (libc_feupdateenv_test): Likewise.
18749 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18750 (libc_fetestexcept): Likewise.
18751 (libc_feupdateenv_test): Likewise.
18752
ae1fcb7b
JM
18753 * sysdeps/generic/math_private.h
18754 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18755 New inline function.
18756 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18757 Likewise.
18758
b1c347e2
JM
18759 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18760 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18761 * sysdeps/generic/math_private.h
18762 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18763 inline function.
18764 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18765 Likewise.
18766 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18767 Likewise.
18768 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18769 Likewise.
18770 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18771 Likewise.
18772 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18773 Likewise.
18774 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18775 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18776 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18777 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18778 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18779 (__fegetenv): Likewise.
18780 (fesetenv): Likewise.
18781 (__fesetenv): Likewise.
18782 (feupdateenv): Likewise.
18783 (__feupdateenv): Likewise.
18784 (fegetround): Likewise.
18785 (__fegetround): Likewise.
18786 (fesetround): Likewise.
18787 (__fesetround): Likewise.
18788
d23a4962
JM
18789 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18790 (feraiseexcept): New macro.
18791 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18792 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18793 Remove macro.
18794 (__feraiseexcept): Likewise.
18795 (feclearexcept): Likewise.
18796 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18797 (__feraiseexcept): Likewise.
18798 (feclearexcept): Likewise.
18799 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18800 (__feraiseexcept): Likewise.
18801 (feclearexcept): Likewise.
18802 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18803 (__feraiseexcept): Likewise.
18804 (feclearexcept): Likewise.
18805 (fetestexcept): Likewise.
18806
5f167950
JM
18807 * sysdeps/m68k/coldfire/math-tests.h: New file.
18808
ccc9035a
JM
18809 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18810 * sysdeps/m68k/bits/fenv.h: ... here.
18811 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18812 not define.
18813 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18814 Likewise.
18815 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18816 Likewise.
18817 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18818 Likewise.
18819 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18820 Likewise.
18821 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18822 Define to 0.
18823 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18824 (__FE_UNDEFINED): New enum constant.
18825 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18826 Do not define.
18827 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18828 Likewise.
18829 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18830 Likewise.
18831 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18832 to match generic bits/fenv.h.
18833 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18834 Do not define.
18835
049375e2
JM
18836 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18837 packed on bits.
18838 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18839 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18840 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18841 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18842
f1d73681
CD
188432018-02-01 Carlos O'Donell <carlos@redhat.com>
18844 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18845 Joseph Myers <joseph@codesourcery.com>
18846
18847 [BZ #21314]
18848 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18849 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18850 computation using c.
18851 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18852 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18853 computation using c.
18854
242cbc90
DL
188552018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18856
086ee48e
DL
18857 * version.h (RELEASE): Set to "development".
18858 (VERSION): Set to "2.27.9000".
18859 * NEWS (2.28): New section.
18860
23158b08
DL
18861 * version.h (RELEASE): Set to "stable".
18862 (VERSION): Set to "2.27".
18863 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18864
242cbc90
DL
18865 * NEWS: Add the list of bugs fixed in 2.27.
18866
673e2305
AZ
188672018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18868
18869 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18870 against PTHREAD_STACK_MIN.
18871
ced64e01
DL
188722018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18873
18874 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18875 New entries.
18876 (Rafal Luzynski, Andreas Schwab): Update.
18877
c10c9a5e
RL
188782018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18879
18880 [BZ #10871]
18881 * NEWS: List the languages which actually use the alternative
18882 months feature in this release. Also explain that "alt_mon" and
18883 "ab_alt_mon" are optional.
18884
650ba77a
IM
188852018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18886
18887 [BZ #22765]
18888 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18889
93493119
DL
188902018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18891
18892 * manual/install.texi (Tools for Compilation): Update the newest
18893 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18894 * INSTALL: Regenerated.
18895
363e4519 188962018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
407552cf
ST
18897
18898 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18899 instead of __builtin_expect.
18900
d7536874
FW
189012018-01-30 Florian Weimer <fweimer@redhat.com>
18902
18903 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18904 data.
18905 * nss/tst-nss-getpwent.c (do_test): Likewise.
18906
9a1b267d
RL
189072018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18908
18909 [BZ #10871]
18910 * localedata/locales/hr_HR (mon): Rename to...
18911 (alt_mon): This.
18912 (mon): Import from CLDR (genitive case).
18913 (d_t_fmt): Update the comment.
18914
9a179328
AS
189152018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18916
18917 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18918 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18919 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18920
e01e0ddc
ST
189212018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18922
18923 * mach/Versions: Fix version when __mach_host_self_ was added.
18924 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18925 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18926 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18927 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18928 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18929 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18930 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18931 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18932 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18933 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18934 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18935 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
ba729de6
ST
18936 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18937 || to respect codestyle.
2aadb705
ST
18938 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18939 (do_test_bz20181): Rename accordingly.
406e7a0a
ST
18940 * malloc/malloc.c: Include <assert.h>.
18941 (assert): Do not define.
18942 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
99dfbef4
ST
18943 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18944 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
ac56adbb 18945 * sysdeps/mach/hurd/hp-timing.h: New file.
ef4cf463 18946 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
e01e0ddc 18947
521877e1
PD
189482018-01-29 Darius Rad <darius@bluespec.com>
18949
18950 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
18951
532cf290
PD
189522018-01-29 Palmer Dabbelt <palmer@sifive.com>
18953
18954 * sysdeps/init_array/crti.S (.section .init_array): Add
18955 PREINIT_FUNCTION when defined.
40ca951b 18956 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
4215e276 18957 * config.h.in: Regenerate.
ba9e25a6
PD
18958 * manual/platform.texi: Add RISC-V documenation for
18959 __riscv_flush_icache.
c776fa11
PD
18960 * sysdeps/riscv/__longjmp.S: New file.
18961 * sysdeps/riscv/backtrace.c: Likewise.
18962 * sysdeps/riscv/bits/endian.h: Likewise.
18963 * sysdeps/riscv/bits/setjmp.h: Likewise.
18964 * sysdeps/riscv/bits/wordsize.h: Likewise.
18965 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
18966 * sysdeps/riscv/bsd-setjmp.c: Likewise.
18967 * sysdeps/riscv/dl-trampoline.S: Likewise.
18968 * sysdeps/riscv/gccframe.h: Likewise.
18969 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
18970 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
18971 * sysdeps/riscv/machine-gmon.h: Likewise.
18972 * sysdeps/riscv/memusage.h: Likewise.
18973 * sysdeps/riscv/setjmp.S: Likewise.
18974 * sysdeps/riscv/sys/asm.h: Likewise.
18975 * sysdeps/riscv/tls-macros.h: Likewise.
33712660
PD
18976 * sysdeps/riscv/dl-tls.h: New file.
18977 * sysdeps/riscv/libc-tls.c: Likewise.
18978 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
18979 * sysdeps/riscv/nptl/tls.h: Likewise.
18980 * sysdeps/riscv/stackinfo.h: Likewise.
67236aeb
PD
18981 * sysdeps/riscv/bits/fenv.h: New file.
18982 * sysdeps/riscv/e_sqrtl.c: Likewise.
18983 * sysdeps/riscv/fpu_control.h: Likewise.
18984 * sysdeps/riscv/math-tests.h: Likewise.
18985 * sysdeps/riscv/nofpu/Implies: Likewise.
18986 * sysdeps/riscv/sfp-machine.h: Likewise.
18987 * sysdeps/riscv/tininess.h: Likewise.
b2cb5e02
PD
18988 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
18989 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
18990 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
18991 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
18992 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
18993 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
18994 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
18995 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
18996 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
18997 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
18998 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
18999 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19000 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19001 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19002 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19003 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19004 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19005 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19006 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19007 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19008 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19009 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19010 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19011 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19012 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19013 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19014 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19015 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19016 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19017 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19018 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19019 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19020 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19021 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19022 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19023 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19024 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19025 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19026 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19027 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19028 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19029 * sysdeps/riscv/rvf/math_private.h: Likewise.
19030 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19031 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19032 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19033 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19034 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19035 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19036 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19037 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19038 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19039 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19040 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19041 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19042 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19043 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19044 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19045 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
d1c09b24
PD
19046 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19047 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19048 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19049 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
36960f0c
PD
19050 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19051 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19052 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19053 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19054 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19055 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19056 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19057 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19058 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
7f33b09c
PD
19059 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19060 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19061 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19062 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19063 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19064 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19065 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19066 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19067 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19068 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19069 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19070 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19071 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19072 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19073 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19074 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19075 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19076 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19077 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19078 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19079 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19080 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
ee53fed9
PD
19081 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19082 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19083 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
2268c433
PD
19084 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19085 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19086 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19087 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19088 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19089 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19090 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19091 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19092 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19093 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19094 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19095 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19096 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19097 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
c5061557
PD
19098 * sysdeps/riscv/Implies: New file.
19099 * sysdeps/riscv/Makefile: Likewise.
19100 * sysdeps/riscv/configure: Likewise.
19101 * sysdeps/riscv/configure.ac: Likewise.
19102 * sysdeps/riscv/nptl/Makefile: Likewise.
19103 * sysdeps/riscv/preconfigure: Likewise.
19104 * sysdeps/riscv/rv64/Implies-after: Likewise.
19105 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19106 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19107 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19108 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19109 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19110 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19111 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19112 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19113 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19114 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19115 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
0fd5d876
PD
19116 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19117 (Config): Likewise.
532cf290 19118
cdd14619
FW
191192018-01-29 Florian Weimer <fweimer@redhat.com>
19120
19121 [BZ #22701]
19122 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19123 libnsl_hidden_proto.
19124 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19125 libnsl_hidden_proto.
19126 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19127 * nis/Makefile (libnsl-routines): Add nss-default only for
19128 build-obsolete-nsl.
19129 * nis/nis_defaults.c (__nis_default_ttl): Add
19130 libnsl_hidden_nolink_def.
19131 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19132 declaration.
19133 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19134 * nis/ypclnt.c (yp_maplist): Likewise.
19135
b7ccb5de
RN
191362018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19137
19138 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19139 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19140
522623e4
JM
191412018-01-29 Joseph Myers <joseph@codesourcery.com>
19142
e3aa6999
JM
19143 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19144 clean -dxfq for git updates when replacing sources.
19145
088de7d0
JM
19146 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19147 --disable-libcilkrts unconditionally, not just for the final GCC
19148 build for Hurd.
19149
522623e4
JM
19150 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19151 version to 4.15.
19152
8b406f87
RL
191532018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19154
19155 [BZ #10871]
19156 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19157 case).
19158
105e90bd
RL
191592018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19160
19161 [BZ #10871]
19162 * localedata/locales/be_BY (mon): Rename to...
19163 (alt_mon): This, then synchronize with CLDR (nominative case).
19164 (abmon): Rename to...
19165 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19166 (mon): Import from CLDR (genitive case).
19167 (abmon): Likewise.
19168 * localedata/locales/be_BY@latin (mon): Rename to...
19169 (alt_mon): This.
19170 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19171
19172 * localedata/locales/be_BY@latin (lang_name): Reworded to
19173 "biełaruskaja mova".
19174
561cb414
RL
191752018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19176
19177 [BZ #10871]
19178 * localedata/locales/el_CY (mon): Renamed to...
19179 (alt_mon): This.
19180 (mon): Import from CLDR (genitive case).
19181 * localedata/locales/el_GR: Likewise.
19182
f7bdf30d
RL
191832018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19184
19185 [BZ #10871]
19186 * localedata/locales/ru_RU (mon): Rename to...
19187 (alt_mon): This.
19188 (abmon): Rename to...
19189 (ab_alt_mon): This.
19190 (mon): Import from CLDR (genitive case).
19191 (abmon): Copy from the old content except the 5th month which is
19192 now in the genitive case, even when abbreviated.
19193 * localedata/locales/ru_UA: Likewise.
19194 * time/tst-strptime.c (day_tests): Add an actual example of
19195 a difference between %b and %Ob in Russian.
19196
85285a0c
ST
191972018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19198
19199 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
da8168df
ST
19200 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19201 a `c' variable.
3538a4b6 19202 * resolv/res-close.c: Include <stdlib.h>.
b29848b9
ST
19203 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19204 <sys/wait.h>, <time.h>, <sys/uio.h>.
19205 (NOT_CANCEL_H): Add inclusion guard.
4f66dc23 19206 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
147d1dbb
ST
19207 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19208 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19209 return 0.
05ebfe87
ST
19210 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19211 vm_address_t * to ElfW(Addr) * for dl_main parameter.
61a3a8c6
ST
19212 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19213 instead of void *.
19214 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19215 timer_ptr2id to cast struct timer_node * to void *.
d4d5b2dd
ST
19216 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19217 --disable-libcilkrts to gcc configure.
19fd8d0d
ST
19218 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19219 and make them the default for now.
903d3633
ST
19220 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19221 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
7dab2d00
ST
19222 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19223 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19224 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19225 MACH_IPC_COMPAT.
06fac9f5
ST
19226 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19227 __task_terminate would ever return successfully.
f8177753
ST
19228 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19229 to global scope.
41cdb1eb
ST
19230 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19231 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
660b7bff
ST
19232 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19233 critical section to make code simpler and avoid warning.
19234 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19235 critical section to make code simpler and avoid warning.
844bf921
ST
19236 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19237 const char * instead of char *.
f8bee46c
ST
19238 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19239 __hurd_file_name_split, hurd_file_name_split,
19240 __hurd_directory_name_split, hurd_directory_name_split,
19241 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19242 hurd_file_name_path_lookup): Make lookup function parameter take a
19243 const char *name instead of char *name.
19244 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19245 __hurd_directory_name_split): Likewise.
19246 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19247 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
40066975
ST
19248 * sysdeps/mach/hurd/check_native.c: New file.
19249 * sysdeps/mach/hurd/check_pf.c: New file.
7c5b106d
ST
19250 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19251 (__freeifaddrs): Define macro to freeifaddrs.
5f982b0b
ST
19252 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19253 * sysdeps/mach/libmachuser.abilist: New file.
cef7166a
ST
19254 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19255 (do_test_bz20181): Rename accordingly.
19256 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
3fc1ecf9
ST
19257 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19258 <sys/mount.h>.
28f6186f
ST
19259 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19260 version only if __USE_EXTERN_INLINES is defined.
19261 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19262 __hurd_sockfail): Likewise.
19263 (_hurd_fd_get): Always declare functions, and provide inline versions
19264 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19265 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19266 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19267 _hurd_port_set): Always declare functions, and provide inline versions
19268 only if __USE_EXTERN_INLINES and _LIBC are defined and
19269 IS_IN(libc).
19270 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19271 _hurd_critical_section_unlock): Likewise.
19272 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19273 * __hurd_threadvar_location): Likewise.
19274 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19275 _hurd_userlink_clear): Likewise.
19276 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19277 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19278 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19279 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19280 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19281 __spin_lock_locked): Likewise.
19282 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19283 __spin_lock_locked): Likewise.
19284 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19285 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19286 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19287 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19288 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
b1025304
ST
19289 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19290 _POSIX_NO_TRUNC): Define to 0.
a902a086
ST
19291 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19292 check size against PTHREAD_STACK_MIN.
625ba81e
ST
19293 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19294 IS_IN(libpthread)]: Include <sigsetops.h>.
2e52dff4
ST
19295 * mach/Makefile (user-interfaces): Add mach/gnumach.
19296 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19297 * sysdeps/mach/configure (mach_interface_list): Regenerate.
80463dc6
ST
19298 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19299 instead of invalid -1.
1f89ac71
ST
19300 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19301 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19302 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19303 <net/ppp_defs.h>.
85285a0c 19304
1fd1e27c 193052018-01-27 Thomas Schwinge <tschwinge@gnu.org>
84814e2a
TS
19306
19307 * hurd/fcntl-internal.h: New file.
19308
3854c5a8
JC
193092018-01-27 James Clarke <jrtc27@jrtc27.com>
19310
7e23a7dd
JC
19311 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19312
3854c5a8
JC
19313 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19314
5503f413
AS
193152018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19316
19317 [BZ #22701]
19318 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19319 Build only shared objects.
19320
caaf7804
CD
193212018-01-26 Carlos O'Donell <carlos@redhat.com>
19322
19323 * README: Update for hppa.
19324
1cbf818d
PM
193252018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19326
caaf7804
CD
19327 * sysdeps/sparc/fpu/libm-test-ulps: Update
19328 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
1cbf818d 19329
caaf7804 193302018-01-26 Carlos O'Donell <carlos@redhat.com>
2ec0e7ea
CD
19331
19332 Revert:
19333
19334 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 [BZ #22563]
19337 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19338 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19339 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19340 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19341 to feature_1.
19342
19343 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19344
19345 [BZ #22563]
19346 * bits/types/__cancel_jmp_buf_tag.h: New file.
19347 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19348 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19349 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19350 * nptl/Makefile (headers): Add
19351 bits/types/__cancel_jmp_buf_tag.h.
19352 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19353 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19354 * sysdeps/nptl/pthread.h: Include
19355 <bits/types/__cancel_jmp_buf_tag.h>.
19356 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19357 __cancel_jmp_buf.
19358 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19359
65f6c94e
RL
193602018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19361
19362 [BZ #10871]
19363 * localedata/locales/uk_UA (mon): Renamed to...
19364 (alt_mon): This.
19365 (alt_digits): "0" removed and then renamed to...
19366 (mon): This.
19367 (date_fmt): Definition changed not to use the alternative
19368 digits hack.
19369
fb58aac5
PD
193702018-01-25 Palmer Dabbelt <palmer@sifive.com>
19371
19372 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19373 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19374 * elf/elf.h (EF_RISCV_RVC): New define.
19375 (EF_RISCV_FLOAT_ABI): Likewise.
19376 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19377 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19378 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19379 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19380 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19381 define.
19382 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19383
128c43a2
AS
193842018-01-25 Andreas Schwab <schwab@suse.de>
19385
19386 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19387 single quotes.
19388 * sysdeps/gnu/configure: Regenerate.
19389 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19390 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19391 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19392 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19393 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19394 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19395 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19396 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19397
f9015003
ST
193982018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19399
48130690 19400 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
47c4b4b0 19401 URL, and run autoconf, make it the default for now.
f9015003 19402
91b2cffa
JM
194032018-01-24 Joseph Myers <joseph@codesourcery.com>
19404
3005b705
JM
19405 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19406 soft-float ColdFire configuration.
19407
69231fab
JM
19408 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19409 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19410 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19411
d4c7e1d0
JM
19412 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19413 MicroBlaze file.
19414
0cfe5be5
JM
19415 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19416 ....
19417 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19418 ... here.
19419 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19420 New file.
19421
91b2cffa
JM
19422 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19423 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19424 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19425 file.
19426
c739e191
SN
194272018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19428
19429 [BZ #22742]
19430 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19431 Rename to __reserved and add comment.
19432 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19433 Rename to __reserved.
19434
394b5bac
JM
194352018-01-24 Joseph Myers <joseph@codesourcery.com>
19436
19437 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19438 i686-gnu configurations.
19439 (Context.run_builds): Include mig, gnumach and hurd in components
19440 considered.
19441 (Context.checkout): Add mig, gnumach and hurd to components.
19442 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19443 hurd.
19444 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19445 (Config.build): Install gnumach headers, build mig and install
19446 hurd headers for 'gnu' OS.
19447 (Config.install_gnumach_headers): New function.
19448 (Config.install_hurd_headers): Likewise.
19449 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19450 when building for 'gnu' OS.
19451
28c3f14f
TK
194522018-01-23 Tobias Klauser <tklauser@distanz.ch>
19453
19454 * manual/tunables.texi (Hardware Capability Tunables): Fix
19455 spelling.
19456
0f5e2da1
RJ
194572018-01-22 Rical Jasan <ricaljasan@pacific.net>
19458
19459 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19460 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19461 (ALTMON_11, ALTMON_12): Improve documentation.
19462 * manual/time.texi (strftime): Likewise.
19463
7817b14a
RL
194642018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19465
19466 [BZ #10871]
19467 * localedata/locales/pl_PL: Alternative month names added,
19468 primary month names are genitive now.
19469 * time/tst-strptime.c (day_tests): Actually use a genitive case
19470 of a month name in Polish language.
19471
22390764
RL
194722018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19473
19474 [BZ #10871]
19475 * manual/locale.texi: Document ALTMON_1..12 constants for
19476 nl_langinfo. Specify when to use ALTMON instead of MON.
19477 * manual/time.texi (strftime, strptime): Document GNU extension
19478 permitting O modifier with %B and %b. Specify when to use
19479 %OB instead of %B.
19480
761a585c
RL
194812018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19482
19483 [BZ #10871]
19484 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19485 names, define them as the same as abbreviated month names explicitly.
19486 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19487 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19488 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19489 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19490 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19491 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19492 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19493 _NL_WABALTMON_12): New enum constants.
19494 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19495 wab_alt_mon, and ab_alt_mon_defined members.
19496 (time_output): Output ab_alt_mon and wab_alt_mon members.
19497 (time_read): Read them, initialize them as copies of abmon and wabmon
19498 respectively if they are missing, initialize ab_alt_mon_defined.
19499 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19500 * locale/programs/locfile-kw.h: Regenerate.
19501 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19502 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19503 and ru_RU.UTF-8.
19504 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19505 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19506 (__strftime_internal): Handle %Ob and %Oh formats.
19507 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19508 (__strptime_internal): Handle %Ob and %Oh formats.
19509 * time/tst-strptime.c (day_tests): Add more tests to parse different
19510 forms of month names including the new %Ob format specifier.
19511
95cb863a
RL
195122018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19513
19514 [BZ #10871]
19515 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19516 define them as the same as primary full month names explicitly.
19517 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19518 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19519 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19520 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19521 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19522 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19523 _NL_WALTMON_12): New enum constants.
19524 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19525 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19526 macros.
19527 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19528 walt_mon, and alt_mon_defined members.
19529 (time_output): Output alt_mon and walt_mon members.
19530 (time_read): Read them, initialize them as copies of mon and wmon
19531 respectively if they are missing, initialize alt_mon_defined.
19532 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19533 * locale/programs/locfile-kw.h: Regenerate.
19534 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19535 * localedata/tst-langinfo.c (map): Add tests for the new constants
19536 ALTMON_1 .. ALTMON_12.
19537 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19538 and pl_PL.UTF-8.
19539 * time/strftime_l.c (f_altmonth): New macro.
19540 (__strftime_internal): Handle %OB format.
19541 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19542 (__strptime_internal): Handle %OB format.
19543 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19544 of month names including the new %OB format specifier.
19545
4612268a
TMQMF
195462018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19547
19548 [BZ #22685]
19549 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19550 from ABORT_TRANSACTION.
19551 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19552 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19553 ABORT_TRANSACTION_IMPL): Likewise.
19554 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19555 Linux code, but remove the code that aborts transactions.
19556
64f63cb4
ST
195572018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19558
19559 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19560
32ac6e92
RL
195612018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19562
19563 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19564 in date: "2004-14-09" should be "2004-09-14".
19565 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19566 "2003-15-09" should be "2003-09-15".
19567
8e448310
AS
195682018-01-18 Arjun Shankar <arjun@redhat.com>
19569
19570 [BZ #22343]
71aa429b 19571 [BZ #22774]
4590634f 19572 CVE-2018-6485
71aa429b 19573 CVE-2018-6551
8e448310
AS
19574 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19575 after padding.
19576 (_int_memalign): check for integer overflow before calling
19577 _int_malloc.
19578 * malloc/tst-malloc-too-large.c: New test.
19579 * malloc/Makefile: Add tst-malloc-too-large.
19580
e234d7cb
RL
195812018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19582
19583 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19584 in date: "2017-24-07" should be "2017-07-24".
19585 * localedata/locales/mai_IN: Likewise.
19586 * localedata/locales/mai_NP: Likewise.
19587
48b66019
DL
195882018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19589
19590 * po/ru.po: Update translations.
19591
1eeddc58
JM
195922018-01-17 Joseph Myers <joseph@codesourcery.com>
19593
19594 [BZ #22719]
19595 * sysdeps/hppa/backtrace.c: New file.
19596
207a72e2
L
195972018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19598
19599 [BZ #22715]
19600 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19601 align La_x86_64_retval to VEC_SIZE.
19602
4942c4ea
JM
196032018-01-16 Joseph Myers <joseph@codesourcery.com>
19604
19605 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19606 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19607
10d200db
FW
196082018-01-16 Florian Weimer <fweimer@redhat.com>
19609
19610 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19611 Move tst-thread-exit-clobber ...
19612 [$(CXX)] (tests-unsupported): ... to here.
19613
953c49cc
SN
196142018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19615
19616 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19617 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19618 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19619 (_dl_aarch64_cap_flags): Update.
19620 (_DL_HWCAP_COUNT): Update.
19621
afce1991
SN
196222018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19623
19624 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19625 (_DL_HWCAP_LAST): Remove.
19626 (_DL_HWCAP_COUNT): Move to ...
19627 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19628 (_DL_HWCAP_COUNT): ... here.
19629
b725132d
FW
196302018-01-16 Florian Weimer <fweimer@redhat.com>
19631
19632 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19633 mode with GNU extensions.
19634
c9e613a7
AH
196352018-01-15 Alan Hayward <alan.hayward@arm.com>
19636
19637 * elf/elf.h (NT_ARM_SVE): Define.
19638
860b0240
FW
196392018-01-15 Florian Weimer <fweimer@redhat.com>
19640
19641 [BZ #22636]
19642 * nptl/tst-minstack-throw.cc: New file.
19643 * nptl/Makefile (tests): Add tst-minstack-throw.
19644 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19645 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19646
16d0f6ac
JM
196472018-01-15 Joseph Myers <joseph@codesourcery.com>
19648
19649 * scripts/build-many-glibcs.py (Context.checkout): Default
19650 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19651 version to 1.1.0.
19652
505d3910
CD
196532018-01-13 Carlos O'Donell <carlos@redhat.com>
19654
19655 [BZ #22707]
19656 * elf/elf.h (DF_1_STUB): Define.
19657 (DF_1_PIE): Define.
19658
af1e6be4
TMQMF
196592018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19660
19661 [BZ #22697]
19662 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19663 Do not add 0.5 to integer or out-of-range arguments.
19664
98d13ce0
DL
196652018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19666
19667 * po/bg.po: Update translations.
19668 * po/cs.po: Likewise.
19669 * po/de.po: Likewise.
19670 * po/ko.po: Likewise.
19671 * po/pl.po: Likewise.
19672 * po/sv.po: Likewise.
19673 * po/uk.po: Likewise.
19674 * po/vi.po: Likewise.
19675
3d1d7928
SN
196762018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19677
19678 * aarch64/start.S (_start): Use __wrap_main.
19679 (__wrap_main): New local symbol.
19680
52a713fd
DL
196812018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19682
19683 [BZ #22679]
19684 CVE-2018-1000001
19685 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19686 generic_getcwd if the path returned by getcwd syscall is not absolute.
19687 * io/tst-getcwd-abspath.c: New test.
19688 * io/Makefile (tests): Add tst-getcwd-abspath.
19689
249a5895
IK
196902018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19691
19692 * malloc/malloc.c (malloc_consolidate): Add size check.
19693
1a51e46e
FW
196942018-01-12 Florian Weimer <fweimer@redhat.com>
19695
19696 * support/write_message.c (write_message): Preserve errno.
19697 * support/check.c (print_failure): Likewise.
19698 * support/support_test_verify_impl.c (support_test_verify_impl):
19699 Likewise.
19700 * support/support_test_compare_failure.c
19701 (support_test_compare_failure): Likewise.
19702
9a08a366
FW
197032018-01-12 Florian Weimer <fweimer@redhat.com>
19704
19705 [BZ #22701]
19706 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19707 Prevent installation of libnsl.so.
19708 (libnsl-inhibit-o): Do not build (or install) static libraries.
19709
80647883 197102018-01-12 Egmont Koblinger <egmont@gmail.com>
f172187b
EK
19711
19712 [BZ #22657]
19713 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19714 before the day number which may produce a double space.
19715 (date_fmt): Likewise.
19716
c8924f1f
JM
197172018-01-12 Joseph Myers <joseph@codesourcery.com>
19718
19719 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19720 instead of fegetenv.
19721
da09e6fa
JM
197222018-01-11 Joseph Myers <joseph@codesourcery.com>
19723
19724 [BZ #22702]
19725 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19726 comment to say exceptions are discarded.
19727 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19728 __fegetenv.
19729 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19730 be enabled.
19731
08c6e952
FW
197322018-01-11 Florian Weimer <fweimer@redhat.com>
19733
19734 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19735 and error message.
19736
d8b77890
FW
197372018-01-11 Florian Weimer <fweimer@redhat.com>
19738
19739 [BZ #22636]
19740 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19741 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19742
b303185d
JM
197432018-01-10 Joseph Myers <joseph@codesourcery.com>
19744
19745 [BZ #22693]
19746 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19747 negative arguments in test for NaN or infinity argument.
19748
ee61d028
DL
197492018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19750
19751 * po/libc.pot: Regenerate.
19752
f993b875
FW
197532018-01-10 Florian Weimer <fweimer@redhat.com>
19754
19755 [BZ #22636]
19756 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19757 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19758
09085ede
ST
197592018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19760
19761 * hurd/hurd/fd.h: Include <fcntl.h>
19762 (__hurd_at_flags): New function.
19763 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19764 with call to __hurd_at_flags.
19765 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19766 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19767 __faccessat
19768 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19769 (__access_noerrno): Use __faccessat_common instead of access_common.
19770 (__access): Likewise.
19771 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19772 with a call to __faccessat.
19773 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19774 (__faccessat_common): ... this. Move implementation of __access into it when
19775 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19776 reauthenticate_cwdir_at helper to implement AT mechanism.
19777 (__faccessat_noerrno): New function, just calls __faccessat_common.
19778 (__faccessat): New function, just calls __faccessat_common.
19779 (faccessat): Define weak alias.
19780
12727488
JM
197812018-01-10 Joseph Myers <joseph@codesourcery.com>
19782
87faac55
JM
19783 [BZ #22691]
19784 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19785 (CFLAGS-s_fmaxmagl.c): New variable.
19786 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19787
12727488
JM
19788 [BZ #22690]
19789 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19790 long int for arguments of possibly overflowing addition or
19791 subtraction.
19792 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19793
e134ca17
JM
197942018-01-09 Joseph Myers <joseph@codesourcery.com>
19795
b2584ac2
JM
19796 [BZ #22688]
19797 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19798 (CFLAGS-e_remainderl.c): New variable.
19799
e134ca17
JM
19800 [BZ #22687]
19801 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19802 variable.
19803 (CFLAGS-s_cacoshl.c): Likewise.
19804 (CFLAGS-s_casinhl.c): Likewise.
19805 (CFLAGS-s_catanl.c): Likewise.
19806 (CFLAGS-s_catanhl.c): Likewise.
19807 (CFLAGS-s_cexpl.c): Likewise.
19808 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19809 (CFLAGS-s_csinhl.c): Likewise.
19810 (CFLAGS-s_clogl.c): Likewise.
19811 (CFLAGS-s_clog10l.c): Likewise.
19812 (CFLAGS-s_csinl.c): Likewise.
19813 (CFLAGS-s_csqrtl.c): Likewise.
19814
d31a4a48
ST
198152017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
198162017-01-09 Svante Signell <svante.signell@gmail.com>
311ba8dc
ST
19817
19818 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19819 (_hurd_exec_paths): New function.
19820 * hurd/hurd.h (_hurd_exec): Deprecate function.
19821 (_hurd_exec_paths): Declare function.
19822 * hurd/Versions: Export _hurd_exec_paths.
19823 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19824 (__execve): Use __getcwd to build absolute path, and use
19825 _hurd_exec_paths instead of _hurd_exec.
19826 * sysdeps/mach/hurd/spawni.c: Likewise.
19827 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19828 _hurd_exec.
19829
d7ff3f11
DL
198302018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19831
19832 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19833 test instead of failing in case of ENOENT returned by posix_openpt.
19834
401311cf
FW
198352018-01-08 Florian Weimer <fweimer@redhat.com>
19836
19837 resolv: Support binary labels in test framework.
19838 * support/resolv_test.c (struct to_be_freed): Remove.
19839 (struct compressed_name): New.
19840 (allocate_compressed_name, ascii_tolower)
19841 (compare_compressed_name): New functions.
19842 (struct resolv_response_builder): Update type of
19843 compression_offsets for use with tsearch. Rempve to_be_freed.
19844 (response_push_pointer_to_free): Remove function.
19845 (resolv_response_add_name): Rewrite using struct compressed_name
19846 and tsearch instead of hsearch_r.
19847 (response_builder_allocate): Remove initialization of
19848 compression_offsets.
19849 (response_builder_free): Update for removal of to_be_freed. Use
19850 tdestroy instead of hdestroy_r.
19851 * resolv/Makefile (tests): Add tst-resolv-binary.
19852 (tst-resolv-binary): Link with -lresolv -lpthread.
19853
2b3aa446
FW
198542018-01-08 Florian Weimer <fweimer@redhat.com>
19855
19856 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19857 time. Pass positive flag instead of negative flag to
19858 support_test_compare_failure.
19859 (support_test_compare_failure): Change negative parameter to
19860 positive.
19861 * support/support_test_compare_failure.c (report)
19862 (support_test_compare_failure): Likewise.
19863 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19864 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19865
630f4cc3
SN
198662018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19867
19868 [BZ #22637]
19869 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19870 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19871 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19872 stacksize.
19873 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19874
c70e4e9c
L
198752018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19876
19877 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19878 Add s_sincosf-sse2 and s_sincosf-fma.
19879 (CFLAGS-s_sincosf-fma.c): New.
19880 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19881 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19882 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19883 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19884 __sincosf is defined.
19885
579396ee
FW
198862018-01-08 Florian Weimer <fweimer@redhat.com>
19887
19888 * nptl/tst-thread-exit-clobber.cc: New file.
19889 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19890 C++11 mode.
19891 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19892 (tests): Add tst-thread-exit-clobber.
19893 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19894
dabd75b6
FW
198952018-01-08 Florian Weimer <fweimer@redhat.com>
19896
19897 * support/check.h (support_static_assert): Define.
19898 (TEST_COMPARE): Use it.
19899
c2e014cc
AJ
199002018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19901
19902 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19903 [!__RLIM_T_MATCHES_RLIM64_T]
19904 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19905 __getrlimit64. Add libc_hidden_weak.
19906
31a98837
PD
199072018-01-06 Palmer Dabbelt <palmer@sifive.com>
19908
19909 * elf/elf.h (R_RISCV_NONE): New define.
19910 (R_RISCV_32): Likewise.
19911 (R_RISCV_64): Likewise.
19912 (R_RISCV_RELATIVE): Likewise.
19913 (R_RISCV_COPY): Likewise.
19914 (R_RISCV_JUMP_SLOT): Likewise.
19915 (R_RISCV_TLS_DTPMOD32): Likewise.
19916 (R_RISCV_TLS_DTPMOD64): Likewise.
19917 (R_RISCV_TLS_DTPREL32): Likewise.
19918 (R_RISCV_TLS_DTPREL64): Likewise.
19919 (R_RISCV_TLS_TPREL32): Likewise.
19920 (R_RISCV_TLS_TPREL64): Likewise.
00505532
PD
19921 * Makerules (make-link-multidir): Make directories before linking into
19922 them.
150bbac1
PD
19923 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19924 define.
19925 (VDSO_HASH_LINUX_4_15): Likewise.
1598f3ad
PD
19926 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19927 in subdirectories of lib.
8e13c51b
PD
19928 * nptl/Makefile (/librt.so): Always depend on
19929 "$(shared-thread-library)".
31a98837 19930
fad7d57e
ST
199312018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19932
19933 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
4a5ce6e9
ST
19934 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19935 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19936 (___tls_get_addr).
19937 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
107a35a5
ST
19938 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19939 "-O2 -march=i686".
01c7e549 19940 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
f417d92c
ST
19941 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19942 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19943 * sysdeps/gnu/glob-lstat-compat.c: New file.
19944 * sysdeps/gnu/glob64-lstat-compat.c: New file.
200fc24b 19945 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
fad7d57e 19946
3a32b716
TMQMF
199472018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19948
19949 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
19950 Reserve 16 chars to reloc_addr before calling _itoa_word.
19951
24731685
AJ
199522018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19953
19954 [BZ #22678]
19955 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
19956 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
19957
19be56d8
AJ
19958 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
19959 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
19960
a6d0afb5
AJ
19961 * resource/tst-getrlimit.c: Add copyright header.
19962
8e900969
AJ
199632018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19964 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19965
19966 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19967 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
19968 Define __GI_getrlimit64 as weak alias of __getrlimit64.
19969 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
19970 instead.
19971 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
19972 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
19973 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
19974 RLIM64_INFINITY): Fix values to match the kernel ones.
19975 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
19976 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
19977 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
19978 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
19979 getrlimit64@@GLIBC_2_27.
19980 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
19981 and setrlimit64.
19982 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
19983 getrlimit, setrlimit, getrlimit64 and setrlimit64.
19984 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
19985 setrlimit, getrlimit64 and setrlimit64.
19986
0d0bc784
AJ
199872018-01-05 Aurelien Jarno <aurelien@aurel32.net>
19988
19989 [BZ #22648]
19990 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
19991 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
19992
ba374b6d
JM
199932018-01-04 Joseph Myers <joseph@codesourcery.com>
19994
19995 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
19996 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
19997 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
19998
4854ddd8
AZ
199992018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20000
b0a4eca2
AZ
20001 [BZ #15479]
20002 [BZ #22666]
20003 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20004 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20005
4854ddd8
AZ
20006 [BZ #15479]
20007 [BZ #22665]
20008 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20009 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20010 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20011 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20012
8a5df95f
FW
200132018-01-04 Florian Weimer <fweimer@redhat.com>
20014
20015 [BZ #22667]
20016 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20017 Align the stack before calling exit.
20018 * stdlib/tst-makecontext-align.c: New file.
20019 * stdlib/Makefile (tests): Add tst-makecontext-align.
20020
82eef55f
FW
200212018-01-04 Florian Weimer <fweimer@redhat.com>
20022
20023 Add support for calling dlvsym from libc.so.
20024 * include/dlfcn.h (__libc_dlvsym): Declare.
20025 * elf/Makefile (tests-static-internal): Add
20026 tst-libc_dlvsym-static.
20027 (tests-internal): Add tst-libc_dlvsym.
20028 (modules-names): Add tst-libc_dlvsym-dso.
20029 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20030 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20031 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20032 object tst-libc_dlvsym-dso.so needs to be built before running
20033 these tests.
20034 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20035 * elf/Versions: Export __libc_dlvsym.
20036 * elf/dl-libc.c (struct do_dlvsym_args): New.
20037 (do_dlvsym, __libc_dlvsym): New functions.
20038 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20039 (_dl_open_hook2): New variable.
20040 (__libc_register_dl_open_hook): Set it.
20041 * elf/tst-libc_dlvsym-dso.c: New file.
20042 * elf/tst-libc_dlvsym-static.c: Likewise.
20043 * elf/tst-libc_dlvsym.c: Likewise.
20044 * elf/tst-libc_dlvsym.h: Likewise.
20045
1714fc06
ST
200462018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20047
20048 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20049 include <sys/mount.h>.
20050
3c7d0312
WD
200512018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20052
20053 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20054 Add __NO_MATH_ERRNO__ check.
20055
7eff0954
JM
200562018-01-02 Joseph Myers <joseph@codesourcery.com>
20057
20058 * sysdeps/mips/mips32/libm-test-ulps: Update.
20059 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20060
77f49956
FW
200612018-01-02 Florian Weimer <fweimer@redhat.com>
20062
20063 * misc/tst-pselect.c: Add copyright header.
20064
363e4519 200652018-01-02 Aurelien Jarno <aurelien@aurel32.net>
d35989be
AJ
20066
20067 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20068 comment.
20069 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20070 comment.
20071 (settrlimit): Rename into setrlimit.
20072 (__sttrlimit): Rename into __setrlimit.
20073
3e4226ff
AJ
20074 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20075 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20076 never defined in that case.
20077
b9256ab6
JM
200782018-01-02 Joseph Myers <joseph@codesourcery.com>
20079
28fd6a44
JM
20080 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20081
a4933a15
JM
20082 * sysdeps/arm/libm-test-ulps: Update.
20083
b9256ab6
JM
20084 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20085 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20086
4cf82d23
RS
200872018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20088
20089 * NEWS: Add cosf and sincosf to list of optimized functions.
20090
6a9dd7a7
AJ
200912018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20092
20093 [BZ #22660]
20094 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20095 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20096 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20097 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20098
dbba87d5
DL
200992018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20100
b05cb613
DL
20101 [BZ #22433]
20102 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20103
dbba87d5
DL
20104 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20105 making a copy of it.
20106
688903eb
JM
201072018-01-01 Joseph Myers <joseph@codesourcery.com>
20108
66ac23de
JM
20109 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20110 trailing whitespace removed.
20111 * scripts/config.guess: Update to version 2018-01-01.
20112 * scripts/config.sub: Update to version 2018-01-01.
20113 * scripts/move-if-change: Update from gnulib.
20114
09533208
JM
20115 * NEWS: Update copyright dates.
20116 * catgets/gencat.c (print_version): Likewise.
20117 * csu/version.c (banner): Likewise.
20118 * debug/catchsegv.sh: Likewise.
20119 * debug/pcprofiledump.c (print_version): Likewise.
20120 * debug/xtrace.sh (do_version): Likewise.
20121 * elf/ldconfig.c (print_version): Likewise.
20122 * elf/ldd.bash.in: Likewise.
20123 * elf/pldd.c (print_version): Likewise.
20124 * elf/sotruss.sh: Likewise.
20125 * elf/sprof.c (print_version): Likewise.
20126 * iconv/iconv_prog.c (print_version): Likewise.
20127 * iconv/iconvconfig.c (print_version): Likewise.
20128 * locale/programs/locale.c (print_version): Likewise.
20129 * locale/programs/localedef.c (print_version): Likewise.
20130 * login/programs/pt_chown.c (print_version): Likewise.
20131 * malloc/memusage.sh (do_version): Likewise.
20132 * malloc/memusagestat.c (print_version): Likewise.
20133 * malloc/mtrace.pl: Likewise.
20134 * manual/libc.texinfo: Likewise.
20135 * nptl/version.c (banner): Likewise.
20136 * nscd/nscd.c (print_version): Likewise.
20137 * nss/getent.c (print_version): Likewise.
20138 * nss/makedb.c (print_version): Likewise.
20139 * posix/getconf.c (main): Likewise.
20140 * scripts/test-installation.pl: Likewise.
20141 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20142
688903eb
JM
20143 * All files with FSF copyright notices: Update copyright dates
20144 using scripts/update-copyrights.
20145 * locale/programs/charmap-kw.h: Regenerated.
20146 * locale/programs/locfile-kw.h: Likewise.
20147
4f820792
ZW
201482017-12-31 Zack Weinberg <zackw@panix.com>
20149
20150 * libio/bits/libio-ldbl.h: Correct check for improper
20151 inclusion. Add own multiple include guard.
20152
3e3c904d
AJ
201532017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20154 Dmitry V. Levin <ldv@altlinux.org>
20155
20156 [BZ #22625]
31f96325 20157 CVE-2017-16997
3e3c904d
AJ
20158 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20159 string token expansion. Check for NULL pointer or empty string possibly
20160 returned by expand_dynamic_string_token.
20161 (decompose_rpath): Check for empty path after dynamic string
20162 token expansion.
20163
7e21972b
DL
201642017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20165
c48831d0
DL
20166 [BZ #22433]
20167 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20168
ac583f50
DL
20169 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20170 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20171 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20172 and PTRACE_SYSCALL.
20173 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20174 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20175 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20176 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20177 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20178 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20179
7e21972b
DL
20180 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20181 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20182 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20183 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20184 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20185 bits/ptrace-shared.h.
20186 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20187 <bits/ptrace-shared.h>.
20188 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20189 __ptrace_peeksiginfo_flags, ptrace): Remove.
20190 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20191 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20192 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20193 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20194 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20195
72f29e3a
AJ
201962017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20197
20198 [BZ #17804]
20199 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20200 end of the loop. Improve comments.
20201
54e4efc2
AJ
202022017-12-29 Zack Weinberg <zackw@panix.com>
20203
20204 [BZ #22615]
20205 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20206 might be set on success.
20207
f8aa69be
AJ
202082017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20209
20210 [BZ #22611]
20211 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20212 is unchanged on success.
20213
97f13188
DL
202142017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20215
2bd86632
DL
20216 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20217 updated.
20218 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20219 expand_dynamic_string_token): Likewise.
20220 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20221 is_path argument.
20222
1c36e1e6
DL
20223 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20224 contains ':'.
20225
97f13188
DL
20226 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20227 is set and name contains ':', and all code depending on these checks.
20228
48a8f832
ZW
202292017-12-24 Zack Weinberg <zackw@panix.com>
20230
20231 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20232 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20233 respectively.
20234 * libio/libio.h: Rename the original version of this file to
20235 libio/bits/libio.h. Error out if not included by stdio.h or the
20236 stub libio.h.
20237 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20238 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20239 if not included by bits/libio.h or the stub _G_config.h.
20240 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20241 sysdeps/unix/sysv/linux/bits. Error out if not included by
20242 bits/libio.h or the stub _G_config.h.
20243 * libio/stdio.h: Include bits/libio.h, not libio.h.
20244 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20245 well as libio.h and _G_config.h.
20246
20247 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20248 * libio/strfile.h, stdio-common/vfscanf.c
20249 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20250 Include stdio.h, not _G_config.h nor libio.h.
20251 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20252 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20253
20254 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20255
a47ad79a
DL
202562017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20257
20258 [BZ #22347]
20259 * stdlib/getrandom.c (getrandom): Fix comment.
20260 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20261
363e4519 202622017-12-23 Aurelien Jarno <aurelien@aurel32.net>
e65a5644 20263
f5c558f3
AJ
20264 [BZ #21161]
20265 * manual/arith.texi (strtoul): Fix a typo.
20266
e65a5644
AJ
20267 [BZ #22596]
20268 * manual/arith.texi (finite): Fix the description of the return
20269 value.
20270
ed8ae46b
EB
202712017-12-22 Eric Blake <ebb9@byu.net>
20272
20273 Avoid gcc warnings on cygwin
20274 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20275 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20276 Avoid unused variable.
20277
bad7a0c8
FW
202782017-12-22 Florian Weimer <fweimer@redhat.com>
20279
20280 * io/Makefile (routines): Add copy_file_range.
20281 (tests): Add tst-copy_file_range.
20282 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20283 * io/Versions (GLIBC_2.27): Export copy_file_range.
20284 * io/copy_file_range-compat.c: New file.
20285 * io/copy_file_range.c: Likewise.
20286 * io/tst-copy_file_range-compat.c: Likewise.
20287 * io/tst-copy_file_range.c: Likewise.
20288 * manual/llio.texi (Copying File Data): New section.
20289 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20290 * support/Makefile (libsupport-routines): Add support-xfstat,
20291 xftruncate, xlseek.
20292 * support/support-xfstat.c: New file.
20293 * support/xftruncate.c: Likewise.
20294 * support/xlseek.c: Likewise.
20295 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20296 * sysdeps/unix/sysv/linux/**.abilist: Update.
20297 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20298
6cb86fd2
SN
202992017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20300
20301 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20302 disable-multi-arch variant to aarch64-linux-gnu.
20303
41d11b15
JM
203042017-12-20 Joseph Myers <joseph@codesourcery.com>
20305
20306 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20307 trailing whitespace removed.
20308 * scripts/config.guess: Update to version 2017-12-17.
20309 * scripts/config.sub: Update to version 2017-11-23.
20310 * scripts/install-sh: Update to version 2017-09-23.17.
20311 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20312
4735850f
AZ
203132017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20314
8d2d239c
AZ
20315 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20316 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20317 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20318 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20319 * sysdeps/tile/crtn.S: Likewise.
20320 * sysdeps/tile/dl-start.S (_start): Likewise.
20321 * sysdeps/tile/dl-trampoline.S: Likewise.
20322 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20323 * sysdeps/tile/start.S (_start): Likewise.
20324 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20325 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20326 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20327 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20328 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20329 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20330 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20331
24d1d8ec
AZ
20332 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20333 comment.
20334 * sysdeps/tile/preconfigure: Remove tilegx folder.
20335 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20336 * sysdeps/tile/Implies: ... here.
20337 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20338 * sysdeps/tile/Makefile: ... here.
20339 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20340 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20341 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20342 * sysdeps/tile/bits/wordsize.h: ... here.
20343 * sysdeps/tile/tilegx/*: Move to ...
20344 * sysdeps/tile/*: ... here.
20345 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20346 * sysdeps/tile/tilegx32/Implies: ... here.
20347 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20348 * sysdeps/tile/tilegx64/Implies: ... here.
20349 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20350 to ...
20351 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20352 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20353 * sysdeps/unix/sysv/linux/tile/*: ... here.
20354 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20355 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20356 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20357 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20358
ed95f611
AZ
20359 * README: Remove tilepro-*-linux-gnu from supported architecture.
20360 * scripts/build-many-glibcs.py: Likewise.
20361 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20362 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20363 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20364 elf_machine_matches_host, elf_machine_dynamic,
20365 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20366 howto, elf_machine_rela): Likewise.
20367 * sysdeps/tile/dl-start.S (_start): Likewise.
20368 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20369 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20370 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20371 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20372 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20373 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20374 Likewise.
20375 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20376 * sysdeps/tile/preconfigure: Likewise.
20377 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20378 POINTER_CHK_GUARD): Likewise.
20379 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20380 * sysdeps/tile/start.S (_start): Likewise.
20381 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20382 Likewise.
20383 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20384 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20385 CMOVNEZ): Remove.
20386 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20387 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20388 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20389 Likewise.
20390 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20391 * sysdeps/tile/tilepro/Implies: Remove file.
20392 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20393 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20394 * sysdeps/tile/tilepro/memchr.c: Likewise.
20395 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20396 * sysdeps/tile/tilepro/memset.c: Likewise.
20397 * sysdeps/tile/tilepro/memusage.h: Likewise.
20398 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20399 * sysdeps/tile/tilepro/strchr.c: Likewise.
20400 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20401 * sysdeps/tile/tilepro/strlen.c: Likewise.
20402 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20403 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20404 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20405 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20406 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20407 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20408 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20409 Likewise.
20410 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20411 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20412 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20413 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20414 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20415 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20416 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20417 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20418 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20419 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20420 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20421 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20422 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20423 tilepro mention in comment.
20424
4735850f
AZ
20425 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20426 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20427 * nptl/pthread_join_common.c: New file: common function used on
20428 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20429 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20430 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20431 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20432 (cleanup): Move definition to pthread_join_common.c.
20433 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20434 Remove superflous checks.
20435 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20436 Likewise.
20437
8bfb461e
SN
204382017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20439
20440 * sysdeps/aarch64/libm-test-ulps: Update.
20441
4e001969
AZ
204422017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20443
20444 * sysdeps/aarch64/memset.S (MEMSET): Define.
20445
8a26ad2a
FW
204462017-12-20 Florian Weimer <fweimer@redhat.com>
20447
20448 [BZ #22635]
20449 nptl: Provide full implementation of pthread_self in libc.so.
20450 * nptl/Makefile (routines): Add pthread_self.
20451 (libpthread-routines): Replace pthread_self with
20452 compat-pthread_self.
20453 * nptl/forward.c (pthread_self): Remove.
20454 * nptl/nptl-init.c (pthread_functions): Do not initialize
20455 ptr_pthread_self.
20456 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20457 * nptl/compat-pthread_self.c: New file.
20458 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20459 Remove ptr_pthread_self.
20460
5069ff32
AR
204612017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20462
20463 * posix/regcomp.c: Fix spelling in comments.
20464 * posix/regex.h: Likewise.
20465 * posix/regex_internal.c: Likewise.
20466 * posix/regexec.c: Likewise.
20467
c85e54ac
GG
204682017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20469
20470 [BZ #22377]
20471 * math/Makefile [C++] (tests): Add test for iseqsig.
20472 * math/math.h [C++] (iseqsig): New implementation, which does
20473 not rely on __MATH_TG/__builtin_types_compatible_p.
20474 * math/test-math-iseqsig.cc: New file.
20475 * sysdeps/powerpc/powerpc64le/Makefile
20476 (CFLAGS-test-math-iseqsig.cc): New variable.
20477
10e93d96
DL
204782017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20479
20480 * elf/dl-load.c (is_trusted_path): Remove.
20481 (fillin_rpath): Remove check_trusted argument and its use,
20482 all callers changed.
20483
ce16eb52
L
204842017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20485
20486 [BZ #22630]
20487 * Makeconfig (link-pie-before-libc): Replace -pie with
20488 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20489 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20490 (tst-dlopen-aout-no-pie): New.
20491 (LDFLAGS-tst-prelink): Removed.
20492 (tst-prelink-no-pie): New.
20493 (LDFLAGS-tst-main1): Removed.
20494 (tst-main1-no-pie): New.
20495 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20496 (tst-gmon-no-pie): New.
20497
126adc89
L
204982017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20499
20500 * manual/install.texi: Document that --enable-static-pie
20501 implies PIE.
20502 * INSTALL: Regenerated.
20503
648615e1
BE
205042017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20505
20506 [BZ #21309]
20507 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20508 unsigned.
20509
f1e00502
JM
205102017-12-19 Joseph Myers <joseph@codesourcery.com>
20511
20512 Revert:
20513
20514 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20515
20516 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20517
20518 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20519
20520 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20521 <errno.h>. Include "eexp.tbl".
20522 (half): New constant.
20523 (one): Likewise.
20524 (__ieee754_exp): Rewrite.
20525 (__slowexp): Remove prototype.
20526 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20527 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20528 * sysdeps/i386/fpu/slowexp.c: Likewise.
20529 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20530 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20531 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20532 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20533 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20534 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20535 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20536 comment.
20537 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20538 (CPPFLAGS-slowexp.c): Remove variable.
20539 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20540 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20541 (CFLAGS-slowexp-fma.c): Remove variable.
20542 (CFLAGS-slowexp-fma4.c): Likewise.
20543 (CFLAGS-slowexp-avx.c): Likewise.
20544 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20545 define as macro.
20546 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20547 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20548 * math/Makefile (type-double-routines): Remove slowexp.
20549 * manual/probes.texi (slowexp_p6): Remove.
20550 (slowexp_p32): Likewise.
20551
d711a00f
AZ
205522017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20553
e184ac3a
AZ
20554 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20555 arithmetic.
20556
d711a00f
AZ
20557 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20558
6f58c10d
JM
205592017-12-19 Joseph Myers <joseph@codesourcery.com>
20560
20561 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20562
6fd0a3c6
PM
205632017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20564
20565 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20566 <errno.h>. Include "eexp.tbl".
20567 (half): New constant.
20568 (one): Likewise.
20569 (__ieee754_exp): Rewrite.
20570 (__slowexp): Remove prototype.
20571 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20572 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20573 * sysdeps/i386/fpu/slowexp.c: Likewise.
20574 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20575 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20576 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20577 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20578 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20579 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20580 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20581 comment.
20582 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20583 (CPPFLAGS-slowexp.c): Remove variable.
20584 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20585 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20586 (CFLAGS-slowexp-fma.c): Remove variable.
20587 (CFLAGS-slowexp-fma4.c): Likewise.
20588 (CFLAGS-slowexp-avx.c): Likewise.
20589 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20590 define as macro.
20591 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20592 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20593 * math/Makefile (type-double-routines): Remove slowexp.
20594 * manual/probes.texi (slowexp_p6): Remove.
20595 (slowexp_p32): Likewise.
20596
3bb1ef58 205972017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6b5c8607 20598 James Clarke <jrtc27@jrtc27.com>
3bb1ef58
AZ
20599
20600 [BZ #22603]
20601 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20602 addition.
20603
554e3d51
AZ
206042017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20605
20606 [BZ #22605]
20607 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20608 code.
20609
cba595c3
L
206102017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20611
20612 [BZ #22563]
20613 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20614 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20615 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20616 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20617 to feature_1.
20618
f81ddabf
L
206192017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20620
20621 [BZ #22563]
20622 * bits/types/__cancel_jmp_buf_tag.h: New file.
20623 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20624 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20625 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20626 * nptl/Makefile (headers): Add
20627 bits/types/__cancel_jmp_buf_tag.h.
20628 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20629 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20630 * sysdeps/nptl/pthread.h: Include
20631 <bits/types/__cancel_jmp_buf_tag.h>.
20632 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20633 __cancel_jmp_buf.
20634 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20635
1a49fc59
L
206362017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20637
20638 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20639 --enable-static-pie variants to x86_64, x32 and i686.
20640
8e52f573
JM
206412017-12-19 Joseph Myers <joseph@codesourcery.com>
20642
66425185
JM
20643 [BZ #22631]
20644 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20645 argument for attrubutes. All callers changed.
20646 (__inline_mathop1): Likewise. All callers changed.
20647 (__inline_mathop): Likewise. All callers changed.
20648 [__USE_MISC] (scalbn): Use __inline_forward instead of
20649 __inline_forward_c.
20650 [__USE_ISOC99] (scalbln): Likewise.
20651 [__USE_ISOC99] (nearbyint): Likewise.
20652 [__USE_ISOC99] (lrint): Likewise.
20653 [__USE_MISC] (scalbnf): Likewise.
20654 [__USE_ISOC99] (scalblnf): Likewise.
20655 [__USE_ISOC99] (nearbyintf): Likewise.
20656 [__USE_ISOC99] (lrintf): Likewise.
20657 [__USE_MISC] (scalbnl): Likewise.
20658 [__USE_ISOC99] (scalblnl): Likewise.
20659 [__USE_ISOC99] (nearbyintl): Likewise.
20660 [__USE_ISOC99] (lrintl): Likewise.
20661 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20662 __inline_mathop and __m81_defun changed.
20663
8e52f573
JM
20664 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20665 CPU or FPU for ARM hard-float configurations.
20666
1421f39b
JM
206672017-12-18 Joseph Myers <joseph@codesourcery.com>
20668
40c4162d
JM
20669 * nptl/tst-attr3.c: Include <libc-diag.h>.
20670 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20671
5983df32
JM
20672 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20673
1421f39b
JM
20674 * string/tester.c (test_strncat): Also disable -Warray-bounds
20675 warnings for two tests.
20676
00c714df
L
206772017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20678
20679 [BZ #22614]
20680 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20681 $(cc-pie-default) == yes.
20682 * config.make.in (cc-pie-default): New.
20683 * configure.ac (libc_cv_pie_default): Renamed to ...
20684 (libc_cv_cc_pie_default): This.
20685 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20686 * configure: Regenerated.
20687
8e1472d2
FW
206882017-12-18 Florian Weimer <fweimer@redhat.com>
20689
20690 [BZ #20204]
20691 ld.so: Harden dl-libc/libdl hooks.
20692 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20693 (rtld_active): New function.
20694 * dlfcn/dladdr.c (__dladdr): Call it.
20695 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20696 * dlfcn/dlclose.c (__dlcose): Likewise.
20697 * dlfcn/dlerror.c (__dlerror): Likewise.
20698 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20699 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20700 * dlfcn/dlopen.c (__dlopen): Likewise.
20701 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20702 * dlfcn/dlsym.c (__dlsym): Likewise.
20703 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20704 * libio/vtables.c (_IO_vtable_check): Likewise.
20705 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20706 (__libc_dlclose): Likewise.
20707 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20708 assignment.
20709
49b036bc
JM
207102017-12-18 Joseph Myers <joseph@codesourcery.com>
20711
20712 [BZ #22446]
20713 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20714 buffers for readlink input and output.
20715
368b6c8d
ST
207162017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20717
c85c564d
ST
20718 [BZ #22624]
20719 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20720 inhibit_stack_protector.
20721
368b6c8d
ST
20722 [BZ #22624]
20723 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20724 inhibit_stack_protector.
20725
bb195224
DL
207262017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20727
20728 [BZ #22627]
20729 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20730 code and invocation.
20731
14d886ed
SN
207322017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20733
20734 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20735
7d38eb38
AJ
207362017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20737
20738 [BZ #22505]
20739 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20740
2e77deef
RS
207412017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20742
20743 * sysdeps/s390/fpu/libm-test-ulps: Update.
20744
0b9bef6d
RS
207452017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20746
20747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20748
984ae996
RS
207492017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20750
20751 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20752 constants to s_sincosf.h file.
20753 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20754 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20755 implementation.
20756 * sysdeps/ieee754/flt-32/s_sincosf.h:
20757 New file.
20758
363e4519 207592017-12-12 Carlos O'Donell <carlos@redhat.com>
93930ea9
CD
20760
20761 [BZ #14681]
20762 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20763 before mtrace.
20764
9d7a3741
L
207652017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20766
20767 [BZ #19574]
20768 * INSTALL: Regenerated.
20769 * Makeconfig (real-static-start-installed-name): New.
20770 (pic-default): Updated for --enable-static-pie.
20771 (pie-default): New for --enable-static-pie.
20772 (default-pie-ldflag): Likewise.
20773 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20774 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20775 Replace $(static-start-installed-name) with
20776 $(real-static-start-installed-name).
20777 (+prectorT): Updated for --enable-static-pie.
20778 (+postctorT): Likewise.
20779 (CFLAGS-.o): Add $(pie-default).
20780 (CFLAGS-.op): Likewise.
20781 * NEWS: Mention --enable-static-pie.
20782 * config.h.in (ENABLE_STATIC_PIE): New.
20783 * configure.ac (--enable-static-pie): New configure option.
20784 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20785 (have-static-pie): Likewise.
20786 Enable static PIE if linker supports --no-dynamic-linker.
20787 (ENABLE_STATIC_PIE): New AC_DEFINE.
20788 (enable-static-pie): New LIBC_CONFIG_VAR.
20789 * configure: Regenerated.
20790 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20791 gr$(start-installed-name) for --enable-static-pie.
20792 (extra-objs): Likewise.
20793 (install-lib): Likewise.
20794 (extra-objs): Add static-reloc.o and static-reloc.os
20795 ($(objpfx)$(start-installed-name)): Also depend on
20796 $(objpfx)static-reloc.o.
20797 ($(objpfx)r$(start-installed-name)): New.
20798 ($(objpfx)g$(start-installed-name)): Also depend on
20799 $(objpfx)static-reloc.os.
20800 ($(objpfx)gr$(start-installed-name)): New.
20801 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20802 in libc.a.
20803 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20804 initimage.
20805 * csu/static-reloc.c: New file.
20806 * elf/Makefile (routines): Add dl-reloc-static-pie.
20807 (elide-routines.os): Likewise.
20808 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20809 (tst-tls1-static-non-pie-no-pie): New.
20810 * elf/dl-reloc-static-pie.c: New file.
20811 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20812 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20813 STATIC_PIE_BOOTSTRAP.
20814 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20815 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20816 (tests-static): Likewise.
20817 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20818 (tst-gmon-static-no-pie): New.
20819 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20820 (CRT-tst-gmon-static-pie): Likewise.
20821 (tst-gmon-static-pie-ENV): Likewise.
20822 (tests-special): Likewise.
20823 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20824 (clean-tst-gmon-static-pie-data): Likewise.
20825 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20826 * gmon/tst-gmon-static-pie.c: New file.
20827 * manual/install.texi: Document --enable-static-pie.
20828 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20829 (_dl_get_dl_main_map): Likewise.
20830 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20831 * sysdeps/x86_64/configure.ac: Likewise.
20832 * sysdeps/i386/configure: Regenerated.
20833 * sysdeps/x86_64/configure: Likewise.
20834 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20835 (ASFLAGS-.op): Likewise.
20836
95511aab
JM
208372017-12-15 Joseph Myers <joseph@codesourcery.com>
20838
20839 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20840 * posix/tst-mmap-offset.c (fname): Use /tmp.
20841 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20842
a7e3edf4
SE
208432017-12-15 Steve Ellcey <sellcey@cavium.com>
20844
20845 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20846
d232f2e1
TS
208472017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20848
20849 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20850 errno.
20851
174edbde
JM
208522017-12-15 Joseph Myers <joseph@codesourcery.com>
20853
5170fa49
JM
20854 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20855 --with-float=hard for arm-linux-gnueabihf configurations.
20856
f2da2fd8
JM
20857 [BZ #14121]
20858 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20859 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20860 ($(mo-installed)): Use $(objpfx)%.mo.
20861 (realclean): Remove rule.
20862
0c4fe28d
JM
20863 * po/Makefile (linguas): Remove rule and dependencies.
20864 (linguas.mo): Likewise.
20865 (.PHONY): Do not depend on linguas and linguas.mo.
20866 (podir): Remove variable.
20867 (pofiles): Likewise.
20868 [$(pofiles)] (%.po): Remove rule.
20869
174edbde
JM
20870 * sysdeps/sparc/sparc32/Makefile
20871 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20872 start-of-line whitespace in argument of echo.
20873 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20874 with whitespace. Generate __wrap_.udiv alias.
20875 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20876 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20877 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20878 * sysdeps/sparc/sparc32/urem.S: Likewise.
20879
1e36806f
RS
208802017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20881
20882 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20883 for aligned inputs.
20884
aa6932aa
SP
208852017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20886
5f1603c3
SP
20887 * benchtests/bench-strcmp.c: Print output in JSON format.
20888
aa6932aa
SP
20889 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20890
3ff3dfa5
FW
208912017-12-14 Florian Weimer <fweimer@redhat.com>
20892
20893 [BZ #22607]
20894 CVE-2017-1000409
20895 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20896 the expanded path string.
20897
8a0b17e4
FW
208982017-12-14 Florian Weimer <fweimer@redhat.com>
20899
20900 [BZ #22606]
20901 CVE-2017-1000408
20902 * elf/dl-load.c (system_dirs): Update comment.
20903 (nsystem_dirs_len): Use array_length.
20904 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20905
f58bd7f0
FW
209062017-12-14 Florian Weimer <fweimer@redhat.com>
20907
20908 Simplify compiling most of support/ outside of glibc.
20909 * support/check_addrinfo.c: Include <string.h>.
20910 * support/check_dns_packet.c: Likewise.
20911 * support/check_hostent.c: Likewise.
20912 * support/support_can_chroot.c: Include <support/xunistd.h>.
20913 * support/support_format_addrinfo.c: Include <stdlib.h>
20914 * support/support_format_dns_packet.c: Include <stdbool.h>.
20915 * support/support_format_hostent.c: Include <stdlib.h>.
20916 * support/support_format_netent.c: Likewise.
20917 * support/support_write_string.c: Include <support/xunistd.h>.
20918 * support/xdlfcn.c: Include <stddef.h>.
20919
4ca945e9
L
209202017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20921
20922 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20923
1b6e07f8
PM
209242017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20925 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20926
e6a1c5dc
PM
20927 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20928 (sysdeps_routines): Add memset-niagara7.
20929 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20930 Likewise.
20931 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20932 file.
20933 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20934 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20935 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20936 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20937 Add niagara7 option.
20938 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20939 memset.
20940
1b6e07f8
PM
20941 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20942 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20943 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
20944 Likewise.
20945 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
20946 New file.
20947 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
20948 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
20949 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20950 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
20951 and __memmove_niagara7.
20952 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
20953 Add niagara7 option.
20954 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
20955 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
20956 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
20957 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
20958 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
20959
bfb7bf22
JM
209602017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
20961
767a26d6
JM
20962 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
20963 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
20964 * sysdeps/sparc/sparc64/memmove.S: Likewise.
20965 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
20966
bfb7bf22
JM
20967 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
20968 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
20969 _dl_sparc_cap_flags array.
20970 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
20971
2bce01eb
SP
209722017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
20973
20974 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
20975 time whenever possible.
20976
363e4519 209772017-12-12 Carlos O'Donell <carlos@redhat.com>
243b6333
CD
20978
20979 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
20980 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
20981
6f7c0092
JM
209822017-12-12 Joseph Myers <joseph@codesourcery.com>
20983
20984 * soft-fp/fmadf4.c: Move to ....
20985 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
20986 * soft-fp/fmasf4.c: Move to ....
20987 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
20988 * soft-fp/fmatf4.c: Move to ....
20989 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
20990 * sysdeps/ieee754/soft-fp/Makefile: New file.
20991 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
20992 * sysdeps/arm/preconfigure: Regenerated.
20993 * sysdeps/arm/nofpu/Implies: New file.
20994 * sysdeps/arm/s_fma.c: Remove file.
20995 * sysdeps/arm/s_fmaf.c: Likewise.
20996 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
20997 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
20998 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20999 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21000 * sysdeps/microblaze/s_fma.c: Remove file.
21001 * sysdeps/microblaze/s_fmaf.c: Likewise.
21002 * sysdeps/mips/mips32/nofpu/Implies: New file.
21003 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21004 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21005 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21006 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21007 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21008 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21009 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21010 implementation.
21011 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21012 * sysdeps/nios2/s_fma.c: Remove file.
21013 * sysdeps/nios2/s_fmaf.c: Likewise.
21014 * sysdeps/sh/nofpu/Implies: New file.
21015 * sysdeps/sh/s_fma.c: Remove file.
21016 * sysdeps/sh/s_fmaf.c: Likewise.
21017 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21018 * sysdeps/tile/s_fma.c: Remove file.
21019 * sysdeps/tile/s_fmaf.c: Likewise.
21020
ac817e08
L
210212017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21022
21023 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21024 Add s_cosf-sse2 and s_cosf-fma.
21025 (CFLAGS-s_cosf-fma.c): New.
21026 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21027 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21028 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21029
eb428576
SE
210302017-12-12 Steve Ellcey <sellcey@cavium.com>
21031
21032 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21033
c80acdc3
AZ
210342017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21035
cc683f7e
AZ
21036 * libio/Makefile (tests): Add tst-bz22415.
21037 (tst-bz22415-ENV): New rule.
21038 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21039 (tests-special): Add tst-bz22415-mem.out.
21040 ($(objpfx)tst-bz22415-mem.out): New rule.
21041 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21042 in case of a successful seek operation.
21043 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21044 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21045 buffer is required.
21046 * libio/tst-bz22415.c: New test.
21047
c80acdc3
AZ
21048 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21049
363e4519 210502017-12-12 James Clarke <jrtc27@jrtc27.com>
89bd8016
JC
21051
21052 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21053 __IPC_64 to 0 to avoid IPC_64 being set.
21054
4e0dca54
SN
210552017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21056
21057 [BZ #22593]
21058 * math/bits/mathcalls.h (nextafter): Remove const.
21059 (nexttoward): Likewise.
21060
8df5d347
JM
210612017-12-12 Joseph Myers <joseph@codesourcery.com>
21062
21063 * configure.ac (--with-fp): Remove configure option.
21064 (with_fp_cond): New variable.
21065 (libc_cv_with_fp): New configure test. Use this variable instead
21066 of with_fp.
21067 * configure: Regenerated.
21068 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21069 * manual/install.texi (Configuring and compiling): Remove
21070 --without-fp.
21071 * INSTALL: Regenerated.
21072 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21073 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21074 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21075 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21076 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21077 use --without-fp to configure glibc.
21078
0cee1257
RJ
210792017-12-12 Rical Jasan <ricaljasan@pacific.net>
21080
21081 * manual/locale.texi (nl_langinfo): Fix a typo.
21082
363e4519 210832017-12-12 Aurelien Jarno <aurelien@aurel32.net>
f54ad2f9
AJ
21084
21085 [BZ #22588]
21086 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21087
36975e8e
L
210882017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21089
21090 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21091 (CFLAGS-argp-parse.c): Likewise.
21092 (CFLAGS-argp-fmtstream.c): Likewise.
21093 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21094 (CPPFLAGS-sha512-crypt.c): Likewise.
21095 (CPPFLAGS-md5-crypt.c): Likewise.
21096 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21097 (CFLAGS-stack_chk_fail_local.c): Likewise.
21098 (CFLAGS-backtrace.c): Likewise.
21099 (CFLAGS-sprintf_chk.c): Likewise.
21100 (CFLAGS-snprintf_chk.c): Likewise.
21101 (CFLAGS-vsprintf_chk.c): Likewise.
21102 (CFLAGS-vsnprintf_chk.c): Likewise.
21103 (CFLAGS-asprintf_chk.c): Likewise.
21104 (CFLAGS-vasprintf_chk.c): Likewise.
21105 (CFLAGS-obprintf_chk.c): Likewise.
21106 (CFLAGS-dprintf_chk.c): Likewise.
21107 (CFLAGS-vdprintf_chk.c): Likewise.
21108 (CFLAGS-printf_chk.c): Likewise.
21109 (CFLAGS-fprintf_chk.c): Likewise.
21110 (CFLAGS-vprintf_chk.c): Likewise.
21111 (CFLAGS-vfprintf_chk.c): Likewise.
21112 (CFLAGS-gets_chk.c): Likewise.
21113 (CFLAGS-fgets_chk.c): Likewise.
21114 (CFLAGS-fgets_u_chk.c): Likewise.
21115 (CFLAGS-fread_chk.c): Likewise.
21116 (CFLAGS-fread_u_chk.c): Likewise.
21117 (CFLAGS-swprintf_chk.c): Likewise.
21118 (CFLAGS-vswprintf_chk.c): Likewise.
21119 (CFLAGS-wprintf_chk.c): Likewise.
21120 (CFLAGS-fwprintf_chk.c): Likewise.
21121 (CFLAGS-vwprintf_chk.c): Likewise.
21122 (CFLAGS-vfwprintf_chk.c): Likewise.
21123 (CFLAGS-fgetws_chk.c): Likewise.
21124 (CFLAGS-fgetws_u_chk.c): Likewise.
21125 (CFLAGS-read_chk.c): Likewise.
21126 (CFLAGS-pread_chk.c): Likewise.
21127 (CFLAGS-pread64_chk.c): Likewise.
21128 (CFLAGS-recv_chk.c): Likewise.
21129 (CFLAGS-recvfrom_chk.c): Likewise.
21130 (CFLAGS-tst-longjmp_chk.c): Likewise.
21131 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21132 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21133 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21134 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21135 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21136 (CFLAGS-tst-chk1.c): Likewise.
21137 (CFLAGS-tst-chk2.c): Likewise.
21138 (CFLAGS-tst-chk3.c): Likewise.
21139 (CFLAGS-tst-chk4.cc): Likewise.
21140 (CFLAGS-tst-chk5.cc): Likewise.
21141 (CFLAGS-tst-chk6.cc): Likewise.
21142 (CFLAGS-tst-lfschk1.c): Likewise.
21143 (CFLAGS-tst-lfschk2.c): Likewise.
21144 (CFLAGS-tst-lfschk3.c): Likewise.
21145 (CFLAGS-tst-lfschk4.cc): Likewise.
21146 (CFLAGS-tst-lfschk5.cc): Likewise.
21147 (CFLAGS-tst-lfschk6.cc): Likewise.
21148 (CFLAGS-tst-ssp-1.c): Likewise.
21149 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21150 (CFLAGS-scandir64.c): Likewise.
21151 (CFLAGS-scandir-tail.c): Likewise.
21152 (CFLAGS-scandir64-tail.c): Likewise.
21153 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21154 (CFLAGS-dl-tunables.c): Likewise.
21155 (CFLAGS-dl-runtime.c): Likewise.
21156 (CFLAGS-dl-lookup.c): Likewise.
21157 (CFLAGS-dl-iterate-phdr.c): Likewise.
21158 (CFLAGS-vismain.c): Likewise.
21159 (CFLAGS-tst-linkall-static.c): Likewise.
21160 (CFLAGS-tst-linkall-static.c): Likewise.
21161 (CPPFLAGS-dl-load.c): Likewise.
21162 (CFLAGS-ldconfig.c): Likewise.
21163 (CFLAGS-dl-cache.c): Likewise.
21164 (CFLAGS-cache.c): Likewise.
21165 (CFLAGS-rtld.c): Likewise.
21166 (CFLAGS-multiload.c): Likewise.
21167 (CFLAGS-filtmod1.c): Likewise.
21168 (CFLAGS-tst-align.c): Likewise.
21169 (CFLAGS-tst-align2.c): Likewise.
21170 (CFLAGS-tst-alignmod.c): Likewise.
21171 (CFLAGS-tst-alignmod2.c): Likewise.
21172 (CPPFLAGS-tst-execstack.c): Likewise.
21173 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21174 (CFLAGS-tst-latepthreadmod.c): Likewise.
21175 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21176 (CFLAGS-getgrnam_r.c): Likewise.
21177 (CFLAGS-getgrent_r.c): Likewise.
21178 (CFLAGS-getgrent.c): Likewise.
21179 (CFLAGS-fgetgrent.c): Likewise.
21180 (CFLAGS-fgetgrent_r.c): Likewise.
21181 (CFLAGS-putgrent.c): Likewise.
21182 (CFLAGS-initgroups.c): Likewise.
21183 (CFLAGS-getgrgid.c): Likewise.
21184 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21185 (CFLAGS-getsgent.c): Likewise.
21186 (CFLAGS-fgetsgent.c): Likewise.
21187 (CFLAGS-fgetsgent_r.c): Likewise.
21188 (CFLAGS-putsgent.c): Likewise.
21189 (CFLAGS-getsgnam.c): Likewise.
21190 (CFLAGS-getsgnam_r.c): Likewise.
21191 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21192 (CFLAGS-iconv_charmap.c): Likewise.
21193 (CFLAGS-dummy-repertoire.c): Likewise.
21194 (CFLAGS-charmap.c): Likewise.
21195 (CFLAGS-linereader.c): Likewise.
21196 (CFLAGS-simple-hash.c): Likewise.
21197 (CFLAGS-gconv_conf.c): Likewise.
21198 (CFLAGS-iconvconfig.c): Likewise.
21199 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21200 (CFLAGS-gethstbyad.c): Likewise.
21201 (CFLAGS-gethstbynm_r.c): Likewise.
21202 (CFLAGS-gethstbynm.c): Likewise.
21203 (CFLAGS-gethstbynm2_r.c): Likewise.
21204 (CFLAGS-gethstbynm2.c): Likewise.
21205 (CFLAGS-gethstent_r.c): Likewise.
21206 (CFLAGS-gethstent.c): Likewise.
21207 (CFLAGS-rcmd.c): Likewise.
21208 (CFLAGS-getnetbynm_r.c): Likewise.
21209 (CFLAGS-getnetbynm.c): Likewise.
21210 (CFLAGS-getnetbyad_r.c): Likewise.
21211 (CFLAGS-getnetbyad.c): Likewise.
21212 (CFLAGS-getnetent_r.c): Likewise.
21213 (CFLAGS-getnetent.c): Likewise.
21214 (CFLAGS-getaliasent_r.c): Likewise.
21215 (CFLAGS-getaliasent.c): Likewise.
21216 (CFLAGS-getrpcent_r.c): Likewise.
21217 (CFLAGS-getrpcent.c): Likewise.
21218 (CFLAGS-getservent_r.c): Likewise.
21219 (CFLAGS-getservent.c): Likewise.
21220 (CFLAGS-getprtent_r.c): Likewise.
21221 (CFLAGS-getprtent.c): Likewise.
21222 (CFLAGS-either_ntoh.c): Likewise.
21223 (CFLAGS-either_hton.c): Likewise.
21224 (CFLAGS-getnetgrent.c): Likewise.
21225 (CFLAGS-getnetgrent_r.c): Likewise.
21226 (CFLAGS-tst-checks-posix.c): Likewise.
21227 (CFLAGS-tst-sockaddr.c): Likewise.
21228 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21229 (CFLAGS-tst-translit.c): Likewise.
21230 (CFLAGS-tst-gettext2.c): Likewise.
21231 (CFLAGS-tst-codeset.c): Likewise.
21232 (CFLAGS-tst-gettext3.c): Likewise.
21233 (CFLAGS-tst-gettext4.c): Likewise.
21234 (CFLAGS-tst-gettext5.c): Likewise.
21235 (CFLAGS-tst-gettext6.c): Likewise.
21236 * io/Makefile (CFLAGS-open.c): Likewise.
21237 (CFLAGS-open64.c): Likewise.
21238 (CFLAGS-creat.c): Likewise.
21239 (CFLAGS-creat64.c): Likewise.
21240 (CFLAGS-fcntl.c): Likewise.
21241 (CFLAGS-poll.c): Likewise.
21242 (CFLAGS-ppoll.c): Likewise.
21243 (CFLAGS-lockf.c): Likewise.
21244 (CFLAGS-statfs.c): Likewise.
21245 (CFLAGS-fstatfs.c): Likewise.
21246 (CFLAGS-statvfs.c): Likewise.
21247 (CFLAGS-fstatvfs.c): Likewise.
21248 (CFLAGS-fts.c): Likewise.
21249 (CFLAGS-fts64.c): Likewise.
21250 (CFLAGS-ftw.c): Likewise.
21251 (CFLAGS-ftw64.c): Likewise.
21252 (CFLAGS-lockf.c): Likewise.
21253 (CFLAGS-posix_fallocate.c): Likewise.
21254 (CFLAGS-posix_fallocate64.c): Likewise.
21255 (CFLAGS-fallocate.c): Likewise.
21256 (CFLAGS-fallocate64.c): Likewise.
21257 (CFLAGS-read.c): Likewise.
21258 (CFLAGS-write.c): Likewise.
21259 (CFLAGS-test-stat.c): Likewise.
21260 (CFLAGS-test-lfs.c): Likewise.
21261 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21262 (CFLAGS-fputc.c): Likewise.
21263 (CFLAGS-fputwc.c): Likewise.
21264 (CFLAGS-freopen64.c): Likewise.
21265 (CFLAGS-freopen.c): Likewise.
21266 (CFLAGS-fseek.c): Likewise.
21267 (CFLAGS-fseeko64.c): Likewise.
21268 (CFLAGS-fseeko.c): Likewise.
21269 (CFLAGS-ftello64.c): Likewise.
21270 (CFLAGS-ftello.c): Likewise.
21271 (CFLAGS-fwide.c): Likewise.
21272 (CFLAGS-genops.c): Likewise.
21273 (CFLAGS-getc.c): Likewise.
21274 (CFLAGS-getchar.c): Likewise.
21275 (CFLAGS-getwc.c): Likewise.
21276 (CFLAGS-getwchar.c): Likewise.
21277 (CFLAGS-iofclose.c): Likewise.
21278 (CFLAGS-iofflush.c): Likewise.
21279 (CFLAGS-iofgetpos64.c): Likewise.
21280 (CFLAGS-iofgetpos.c): Likewise.
21281 (CFLAGS-iofgets.c): Likewise.
21282 (CFLAGS-iofgetws.c): Likewise.
21283 (CFLAGS-iofputs.c): Likewise.
21284 (CFLAGS-iofputws.c): Likewise.
21285 (CFLAGS-iofread.c): Likewise.
21286 (CFLAGS-iofsetpos64.c): Likewise.
21287 (CFLAGS-iofsetpos.c): Likewise.
21288 (CFLAGS-ioftell.c): Likewise.
21289 (CFLAGS-iofwrite.c): Likewise.
21290 (CFLAGS-iogetdelim.c): Likewise.
21291 (CFLAGS-iogetline.c): Likewise.
21292 (CFLAGS-iogets.c): Likewise.
21293 (CFLAGS-iogetwline.c): Likewise.
21294 (CFLAGS-ioputs.c): Likewise.
21295 (CFLAGS-ioseekoff.c): Likewise.
21296 (CFLAGS-ioseekpos.c): Likewise.
21297 (CFLAGS-iosetbuffer.c): Likewise.
21298 (CFLAGS-iosetvbuf.c): Likewise.
21299 (CFLAGS-ioungetc.c): Likewise.
21300 (CFLAGS-ioungetwc.c): Likewise.
21301 (CFLAGS-oldfileops.c): Likewise.
21302 (CFLAGS-oldiofclose.c): Likewise.
21303 (CFLAGS-oldiofgetpos64.c): Likewise.
21304 (CFLAGS-oldiofgetpos.c): Likewise.
21305 (CFLAGS-oldiofsetpos64.c): Likewise.
21306 (CFLAGS-oldiofsetpos.c): Likewise.
21307 (CFLAGS-peekc.c): Likewise.
21308 (CFLAGS-putc.c): Likewise.
21309 (CFLAGS-putchar.c): Likewise.
21310 (CFLAGS-putwc.c): Likewise.
21311 (CFLAGS-putwchar.c): Likewise.
21312 (CFLAGS-rewind.c): Likewise.
21313 (CFLAGS-wfileops.c): Likewise.
21314 (CFLAGS-wgenops.c): Likewise.
21315 (CFLAGS-oldiofopen.c): Likewise.
21316 (CFLAGS-iofopen.c): Likewise.
21317 (CFLAGS-iofopen64.c): Likewise.
21318 (CFLAGS-oldtmpfile.c): Likewise.
21319 (CFLAGS-tst_putwc.c): Likewise.
21320 * locale/Makefile (CFLAGS-md5.c): Likewise.
21321 (CFLAGS-charmap.c): Likewise.
21322 (CFLAGS-locfile.c): Likewise.
21323 (CFLAGS-charmap-dir.c): Likewise.
21324 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21325 (CFLAGS-getpt.c): Likewise.
21326 (CFLAGS-pt_chown.c): Likewise.
21327 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21328 (CFLAGS-obstack.c): Likewise.
21329 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21330 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21331 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21332 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21333 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21334 (CFLAGS-test-tgmath.c): Likewise.
21335 (CFLAGS-test-tgmath2.c): Likewise.
21336 (CFLAGS-test-tgmath-ret.c): Likewise.
21337 (CFLAGS-test-powl.c): Likewise.
21338 (CFLAGS-test-snan.c): Likewise.
21339 (CFLAGS-test-signgam-finite.c): Likewise.
21340 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21341 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21342 (CFLAGS-test-signgam-uchar.c): Likewise.
21343 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21344 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21345 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21346 (CFLAGS-test-signgam-uint.c): Likewise.
21347 (CFLAGS-test-signgam-uint-init.c): Likewise.
21348 (CFLAGS-test-signgam-uint-static.c): Likewise.
21349 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21350 (CFLAGS-test-signgam-ullong.c): Likewise.
21351 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21352 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21353 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21354 (CFLAGS-test-math-cxx11.cc): Likewise.
21355 (CFLAGS-test-math-isinff.cc): Likewise.
21356 (CFLAGS-test-math-iszero.cc): Likewise.
21357 (CFLAGS-test-math-issignaling.cc): Likewise.
21358 (CFLAGS-test-math-iscanonical.cc): Likewise.
21359 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21360 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21361 (CFLAGS-test-flt-eval-method.c): Likewise.
21362 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21363 (CFLAGS-test-finite-macros.c): Likewise.
21364 * misc/Makefile (CFLAGS-select.c): Likewise.
21365 (CFLAGS-tsearch.c): Likewise.
21366 (CFLAGS-lsearch.c): Likewise.
21367 (CFLAGS-pselect.c): Likewise.
21368 (CFLAGS-readv.c): Likewise.
21369 (CFLAGS-writev.c): Likewise.
21370 (CFLAGS-preadv.c): Likewise.
21371 (CFLAGS-preadv64.c): Likewise.
21372 (CFLAGS-pwritev.c): Likewise.
21373 (CFLAGS-pwritev64.c): Likewise.
21374 (CFLAGS-preadv2.c): Likewise.
21375 (CFLAGS-preadv64v2.c): Likewise.
21376 (CFLAGS-pwritev2.c): Likewise.
21377 (CFLAGS-pwritev64v2.c): Likewise.
21378 (CFLAGS-usleep.c): Likewise.
21379 (CFLAGS-syslog.c): Likewise.
21380 (CFLAGS-error.c): Likewise.
21381 (CFLAGS-getpass.c): Likewise.
21382 (CFLAGS-mkstemp.c): Likewise.
21383 (CFLAGS-mkstemp64.c): Likewise.
21384 (CFLAGS-getsysstats.c): Likewise.
21385 (CFLAGS-getusershell.c): Likewise.
21386 (CFLAGS-err.c): Likewise.
21387 (CFLAGS-tst-tsearch.c): Likewise.
21388 (CFLAGS-msync.c): Likewise.
21389 (CFLAGS-fdatasync.c): Likewise.
21390 (CFLAGS-fsync.c): Likewise.
21391 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21392 (CFLAGS-unwind.c): Likewise.
21393 (CFLAGS-unwind-forcedunwind.c): Likewise.
21394 (CFLAGS-pthread_cancel.c): Likewise.
21395 (CFLAGS-pthread_setcancelstate.c): Likewise.
21396 (CFLAGS-pthread_setcanceltype.c): Likewise.
21397 (CFLAGS-cancellation.c): Likewise.
21398 (CFLAGS-libc-cancellation.c): Likewise.
21399 (CFLAGS-pthread_exit.c): Likewise.
21400 (CFLAGS-forward.c): Likewise.
21401 (CFLAGS-pthread_testcancel.c): Likewise.
21402 (CFLAGS-pthread_join.c): Likewise.
21403 (CFLAGS-pthread_timedjoin.c): Likewise.
21404 (CFLAGS-pthread_once.c): Likewise.
21405 (CFLAGS-pthread_cond_wait.c): Likewise.
21406 (CFLAGS-sem_wait.c): Likewise.
21407 (CFLAGS-sem_timedwait.c): Likewise.
21408 (CFLAGS-fcntl.c): Likewise.
21409 (CFLAGS-lockf.c): Likewise.
21410 (CFLAGS-pread.c): Likewise.
21411 (CFLAGS-pread64.c): Likewise.
21412 (CFLAGS-pwrite.c): Likewise.
21413 (CFLAGS-pwrite64.c): Likewise.
21414 (CFLAGS-wait.c): Likewise.
21415 (CFLAGS-waitpid.c): Likewise.
21416 (CFLAGS-sigwait.c): Likewise.
21417 (CFLAGS-msgrcv.c): Likewise.
21418 (CFLAGS-msgsnd.c): Likewise.
21419 (CFLAGS-tcdrain.c): Likewise.
21420 (CFLAGS-open.c): Likewise.
21421 (CFLAGS-open64.c): Likewise.
21422 (CFLAGS-pause.c): Likewise.
21423 (CFLAGS-recv.c): Likewise.
21424 (CFLAGS-send.c): Likewise.
21425 (CFLAGS-accept.c): Likewise.
21426 (CFLAGS-sendto.c): Likewise.
21427 (CFLAGS-connect.c): Likewise.
21428 (CFLAGS-recvfrom.c): Likewise.
21429 (CFLAGS-recvmsg.c): Likewise.
21430 (CFLAGS-sendmsg.c): Likewise.
21431 (CFLAGS-close.c): Likewise.
21432 (CFLAGS-read.c): Likewise.
21433 (CFLAGS-write.c): Likewise.
21434 (CFLAGS-nanosleep.c): Likewise.
21435 (CFLAGS-sigsuspend.c): Likewise.
21436 (CFLAGS-msync.c): Likewise.
21437 (CFLAGS-fdatasync.c): Likewise.
21438 (CFLAGS-fsync.c): Likewise.
21439 (CFLAGS-pt-system.c): Likewise.
21440 (CFLAGS-tst-cleanup2.c): Likewise.
21441 (CFLAGS-tst-cleanupx2.c): Likewise.
21442 (CFLAGS-flockfile.c): Likewise.
21443 (CFLAGS-ftrylockfile.c): Likewise.
21444 (CFLAGS-funlockfile.c): Likewise.
21445 (CFLAGS-tst-initializers1.c): Likewise.
21446 (CFLAGS-tst-initializers1-c89.c): Likewise.
21447 (CFLAGS-tst-initializers1-c99.c): Likewise.
21448 (CFLAGS-tst-initializers1-c11.c): Likewise.
21449 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21450 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21451 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21452 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21453 (CFLAGS-nscd_getgr_r.c): Likewise.
21454 (CFLAGS-nscd_gethst_r.c): Likewise.
21455 (CFLAGS-nscd_getai.c): Likewise.
21456 (CFLAGS-nscd_initgroups.c): Likewise.
21457 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21458 (CFLAGS-pause.c): Likewise.
21459 (CFLAGS-pread.c): Likewise.
21460 (CFLAGS-pread64.c): Likewise.
21461 (CFLAGS-pwrite.c): Likewise.
21462 (CFLAGS-pwrite64.c): Likewise.
21463 (CFLAGS-sleep.c): Likewise.
21464 (CFLAGS-wait.c): Likewise.
21465 (CFLAGS-waitid.c): Likewise.
21466 (CFLAGS-waitpid.c): Likewise.
21467 (CFLAGS-getopt.c): Likewise.
21468 (CFLAGS-wordexp.c): Likewise.
21469 (CFLAGS-sysconf.c): Likewise.
21470 (CFLAGS-pathconf.c): Likewise.
21471 (CFLAGS-fpathconf.c): Likewise.
21472 (CFLAGS-spawn.c): Likewise.
21473 (CFLAGS-spawnp.c): Likewise.
21474 (CFLAGS-spawni.c): Likewise.
21475 (CFLAGS-glob.c): Likewise.
21476 (CFLAGS-glob64.c): Likewise.
21477 (CFLAGS-getconf.c): Likewise.
21478 (CFLAGS-nanosleep.c): Likewise.
21479 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21480 (CFLAGS-getpwent.c): Likewise.
21481 (CFLAGS-getpw.c): Likewise.
21482 (CFLAGS-fgetpwent_r.c): Likewise.
21483 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21484 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21485 (CFLAGS-mq_timedreceive.c): Likewise.
21486 (CFLAGS-mq_timedsend.c): Likewise.
21487 (CFLAGS-clock_nanosleep.c): Likewise.
21488 (CFLAGS-librt-cancellation.c): Likewise.
21489 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21490 (CFLAGS-getspent.c): Likewise.
21491 (CFLAGS-fgetspent.c): Likewise.
21492 (CFLAGS-fgetspent_r.c): Likewise.
21493 (CFLAGS-putspent.c): Likewise.
21494 (CFLAGS-getspnam.c): Likewise.
21495 (CFLAGS-getspnam_r.c): Likewise.
21496 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21497 (CFLAGS-sigsuspend.c): Likewise.
21498 (CFLAGS-sigtimedwait.c): Likewise.
21499 (CFLAGS-sigwait.c): Likewise.
21500 (CFLAGS-sigwaitinfo.c): Likewise.
21501 (CFLAGS-sigreturn.c): Likewise.
21502 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21503 (CFLAGS-vfwprintf.c): Likewise.
21504 (CFLAGS-tmpfile.c): Likewise.
21505 (CFLAGS-tmpfile64.c): Likewise.
21506 (CFLAGS-tempname.c): Likewise.
21507 (CFLAGS-psignal.c): Likewise.
21508 (CFLAGS-vprintf.c): Likewise.
21509 (CFLAGS-cuserid.c): Likewise.
21510 (CFLAGS-errlist.c): Likewise.
21511 (CFLAGS-siglist.c): Likewise.
21512 (CFLAGS-scanf15.c): Likewise.
21513 (CFLAGS-scanf17.c): Likewise.
21514 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21515 (CFLAGS-msort.c): Likewise.
21516 (CFLAGS-qsort.c): Likewise.
21517 (CFLAGS-system.c): Likewise.
21518 (CFLAGS-fmtmsg.c): Likewise.
21519 (CFLAGS-strfmon.c): Likewise.
21520 (CFLAGS-strfmon_l.c): Likewise.
21521 (CFLAGS-strfromd.c): Likewise.
21522 (CFLAGS-strfromf.c): Likewise.
21523 (CFLAGS-strfroml.c): Likewise.
21524 (CFLAGS-tst-bsearch.c): Likewise.
21525 (CFLAGS-tst-qsort.c): Likewise.
21526 (CFLAGS-tst-makecontext2.c): Likewise.
21527 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21528 (CFLAGS-xnlm_prot.c): Likewise.
21529 (CFLAGS-xrstat.c): Likewise.
21530 (CFLAGS-xyppasswd.c): Likewise.
21531 (CFLAGS-xklm_prot.c): Likewise.
21532 (CFLAGS-xrex.c): Likewise.
21533 (CFLAGS-xsm_inter.c): Likewise.
21534 (CFLAGS-xmount.c): Likewise.
21535 (CFLAGS-xrusers.c): Likewise.
21536 (CFLAGS-xspray.c): Likewise.
21537 (CFLAGS-xnfs_prot.c): Likewise.
21538 (CFLAGS-xrquota.c): Likewise.
21539 (CFLAGS-xkey_prot.c): Likewise.
21540 (CFLAGS-auth_unix.c): Likewise.
21541 (CFLAGS-key_call.c): Likewise.
21542 (CFLAGS-pmap_rmt.c): Likewise.
21543 (CFLAGS-clnt_perr.c): Likewise.
21544 (CFLAGS-openchild.c): Likewise.
21545 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21546 (CFLAGS-msgsnd.c): Likewise.
21547 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21548 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21549 (CFLAGS-tzset.c): Likewise.
21550 (CFLAGS-getdate.c): Likewise.
21551 (CFLAGS-test_time.c): Likewise.
21552 (CPPFLAGS-tst-tzname.c): Likewise.
21553 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21554 (CFLAGS-zic.c): Likewise.
21555 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21556 (CFLAGS-wcswidth.c): Likewise.
21557 (CFLAGS-wcstol.c): Likewise.
21558 (CFLAGS-wcstoul.c): Likewise.
21559 (CFLAGS-wcstoll.c): Likewise.
21560 (CFLAGS-wcstoull.c): Likewise.
21561 (CFLAGS-wcstod.c): Likewise.
21562 (CFLAGS-wcstold.c): Likewise.
21563 (CFLAGS-wcstof128.c): Likewise.
21564 (CFLAGS-wcstof.c): Likewise.
21565 (CFLAGS-wcstol_l.c): Likewise.
21566 (CFLAGS-wcstoul_l.c): Likewise.
21567 (CFLAGS-wcstoll_l.c): Likewise.
21568 (CFLAGS-wcstoull_l.c): Likewise.
21569 (CFLAGS-wcstod_l.c): Likewise.
21570 (CFLAGS-wcstold_l.c): Likewise.
21571 (CFLAGS-wcstof128_l.c): Likewise.
21572 (CFLAGS-wcstof_l.c): Likewise.
21573 (CPPFLAGS-tst-wchar-h.c): Likewise.
21574 (CPPFLAGS-wcstold_l.c): Likewise.
583dd860 21575
f4b2aea6
PC
215762017-12-11 Paul A. Clarke <pc@us.ibm.com>
21577
21578 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21579
c9cd7b0c
AZ
215802017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21581 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21582
21583 * manual/tunables.texi (Hardware Capability Tunables): Document
21584 glibc.tune.cached_memopt.
21585 * sysdeps/powerpc/cpu-features.c: New file.
21586 * sysdeps/powerpc/cpu-features.h: New file.
21587 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21588 _dl_powerpc_cpu_features.
21589 * sysdeps/powerpc/dl-tunables.list: New file.
21590 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21591 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21592 (INIT_ARCH): Initialize use_aligned_memopt.
21593 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21594 IS_IN(rtld))]: Restrict dl_platform_init availability and
21595 initialize CPU features used by tunables.
21596 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21597 Add memcpy-power8-cached.
21598 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21599 __memcpy_power8_cached.
21600 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21601 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21602 New file.
21603
e70c6fee
L
216042017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21605
21606 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21607 (CFLAGS-noinl-tester.c): Likewise.
21608 (CFLAGS-tst-strlen.c): Likewise.
21609 (CFLAGS-stratcliff.c): Likewise.
21610 (CFLAGS-test-ffs.c): Likewise.
21611 (CFLAGS-tst-inlcall.c): Likewise.
21612 (CFLAGS-tst-xbzero-opt.c): Likewise.
21613 (CFLAGS-memcpy.c): Likewise.
21614 (CFLAGS-wordcopy.c): Likewise.
21615
dee94366
SL
216162017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21617
21618 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21619 Store r15 on stack and add cfi rule.
21620 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21621 Likewise.
21622
363e4519 216232017-12-10 Aurelien Jarno <aurelien@aurel32.net>
f648728c
AJ
21624
21625 [BZ #22577]
21626 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21627 call.
21628
9d0ffa60
L
216292017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21630
21631 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21632 Add s_sinf-sse2 and s_sinf-fma.
21633 (CFLAGS-s_sinf-fma.c): New.
21634 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21635 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21636 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21637
9574c7b6
L
216382017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21639
21640 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21641
d15e83c5
JM
216422017-12-07 Joseph Myers <joseph@codesourcery.com>
21643
21644 [BZ #22568]
21645 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21646 part of result to imaginary part of argument if it is zero and the
21647 real part of the argument is not finite.
21648 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21649 of result to real part of argument if it is zero and the imaginary
21650 part of the argument is not finite.
21651
d89756eb
MF
216522017-12-07 Mike FABIAN <mfabian@redhat.com>
21653
21654 [BZ #22524]
21655 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21656 and to the list of locales to be built for testing.
21657 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21658 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21659 and build the collation rules upon that.
21660
1f9055ce
JM
216612017-12-07 Joseph Myers <joseph@codesourcery.com>
21662
21663 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21664 * manual/math.texi (Mathematics): Document support for _Float32.
21665 * math/Makefile (test-types): Add float32.
21666 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21667 * stdlib/Versions (GLIBC_2.27): Likewise.
21668 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21669 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21670 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21671 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21672 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21673 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21674 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21675 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21676 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21677 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21678 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21679 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21680 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21681 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21682 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21683 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21684 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21685 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21686 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21687 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21688 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21689 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21690 Likewise.
21691 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21692 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21693 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21694 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21695 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21697 Likewise.
21698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21699 Likewise.
21700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21701 Likewise.
21702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21703 Likewise.
21704
21705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21706 Likewise.
21707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21708 Likewise.
21709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21710 Likewise.
21711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21712 Likewise.
21713 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21714 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21715 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21716 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21717 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21718 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21719 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21720 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21721 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21722 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21723 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21724 Likewise.
21725 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21726 Likewise.
21727 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21728 Likewise.
21729 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21730 Likewise.
21731 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21732 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21737 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21738 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21739
5244527d
JM
217402017-12-06 Joseph Myers <joseph@codesourcery.com>
21741
fb1ca2aa
JM
21742 * stdlib/strtof.c: Include <bits/floatn.h>
21743 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21744 and later undefine as macro. Define as weak alias if
21745 [!USE_WIDE_CHAR].
21746 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21747 and later undefine as macro. Define as weak alias if
21748 [USE_WIDE_CHAR].
21749 * stdlib/strtof_l.c: Include <bits/floatn.h>
21750 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21751 and later undefine as macro. Define as weak alias if
21752 [!USE_WIDE_CHAR].
21753 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21754 and later undefine as macro. Define as weak alias if
21755 [USE_WIDE_CHAR].
21756
fc10cc3f
JM
21757 * stdlib/strfromf.c: Include <bits/floatn.h>.
21758 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21759 and later undefine as macro and define as weak alias.
21760
e420d228
JM
21761 * math/test-float32.h: New file.
21762
26007a2f
JM
21763 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21764 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21765 (libm_alias_float_other_r): Create f32 alias.
21766 (libm_alias_float_r): Use semicolon before call to
21767 libm_alias_float_other_r.
21768
c191f64c
JM
21769 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21770 second argument to libm_alias_float_other.
21771 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21772 second argument to libm_alias_float_other.
21773 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21774 argument to libm_alias_float_other.
21775
5244527d
JM
21776 [BZ #22561]
21777 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21778 real part of result for argument 0 + i * NaN.
21779 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21780 results for tests of 0 + i * NaN.
21781
d73fac82
AZ
217822017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21783
21784 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21785
7ec094e8
DM
217862017-12-06 David S. Miller <davem@davemloft.net>
21787
21788 * sysdeps/sparc/fpu/libm-test-ulps: Update
21789 exp_{downward,towardzero,upward} ulps.
21790
53994f12
JM
217912017-12-06 Joseph Myers <joseph@codesourcery.com>
21792
1dbe6f64
JM
21793 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21794 variables static.
21795
53994f12
JM
21796 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21797 (Y0_2D): Likewise.
21798 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21799 (Y0_2D): Likewise.
21800 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21801 (Y0_2D): Likewise.
21802 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21803 (Y0_2D): Likewise.
21804
62ea2193
MF
218052017-12-06 Mike FABIAN <mfabian@redhat.com>
21806
21807 [BZ #22515]
21808 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21809 and to the list of locales to be built for testing.
21810 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21811 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21812 and build the collation rules upon that.
21813
87235d70
RS
218142017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21815
21816 * NEWS: Add sinf to list of optimized functions.
21817
0d93b7fd
JM
218182017-12-06 Joseph Myers <joseph@codesourcery.com>
21819
21820 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21821 (__HAVE_FLOAT32X): Likewise.
21822 * manual/math.texi (Mathematics): Document support for _Float64
21823 and _Float32x.
21824 * math/Makefile (test-types): Add float64 and float32x.
21825 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21826 functions.
21827 * stdlib/Versions (GLIBC_2.27): Likewise.
21828 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21829 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21830 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21831 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21832 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21833 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21834 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21835 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21836 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21837 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21838 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21839 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21840 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21841 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21842 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21843 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21844 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21845 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21846 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21847 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21848 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21849 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21850 Likewise.
21851 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21852 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21853 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21854 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21855 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21857 Likewise.
21858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21859 Likewise.
21860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21861 Likewise.
21862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21863 Likewise.
21864 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21865 Likewise.
21866 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21867 Likewise.
21868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21869 Likewise.
21870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21871 Likewise.
21872 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21873 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21874 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21875 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21876 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21877 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21878 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21879 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21880 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21881 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21883 Likewise.
21884 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21885 Likewise.
21886 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21887 Likewise.
21888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21889 Likewise.
21890 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21891 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21892 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21893 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21894 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21895 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21896 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21897 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21898
f7787234
JM
218992017-12-05 Joseph Myers <joseph@codesourcery.com>
21900
21901 * bits/floatn-common.h: Include <bits/long-double.h>.
21902 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21903 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21904 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21905 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21906 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21907 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21908 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21909 (__builtin_huge_valf64): Use __builtin_huge_vall.
21910 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21911 (__builtin_inff64): Use __builtin_infl.
21912 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21913 (__builtin_nanf64): Use __builtin_nanl.
21914 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21915 (__builtin_nansf64): Use __builtin_nansl.
21916
363e4519
DL
219172017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21918 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6b5c8607 21919 Carlos O'Donnell <carlos@redhat.com>
07ed18d2
RA
21920
21921 * elf/dl-tunables.list: Add elision parameters.
21922 * manual/tunables.texi: Add entries about elision tunable.
21923 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21924 Add callback functions to dynamically enable/disable elision.
21925 Add multiple callbacks functions to set elision parameters.
21926 Deleted __libc_enable_secure check.
21927 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21928 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21929 * configure: Regenerated.
21930 * configure.ac: Option enable_lock_elision was deleted.
21931 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21932 * config.make.in: Remove references to enable_lock_elision.
21933 * manual/install.texi: Elision configure option was removed.
21934 * INSTALL: Regenerated to remove enable_lock_elision.
21935 * nptl/Makefile:
21936 Disable elision so it can verify error case for destroying a mutex.
21937 * sysdeps/powerpc/nptl/elide.h:
21938 Cleanup ENABLE_LOCK_ELISION check.
21939 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21940 * sysdeps/s390/configure: Regenerated.
21941 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21942 * nptl/tst-mutex8.c:
21943 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21944 * sysdeps/powerpc/powerpc32/sysdep.h:
21945 Deleted all ENABLE_LOCK_ELISION checks.
21946 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
21947 * sysdeps/powerpc/sysdep.h: Likewise.
21948 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
21949 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
21950 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
21951 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
21952 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
21953 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
21954 enable-lock-elision.
21955
a5a2a76b
JM
219562017-12-05 Joseph Myers <joseph@codesourcery.com>
21957
21958 * stdlib/strtod.c: Include <bits/floatn.h>.
21959 (BUILD_DOUBLE): New macro.
21960 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21961 (strtof64): Define and later undefine as macro. Define as weak
21962 alias if [!USE_WIDE_CHAR].
21963 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21964 (wcstof64): Define and later undefine as macro. Define as weak
21965 alias if [USE_WIDE_CHAR].
21966 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21967 (strtof32x): Define and later undefine as macro. Define as weak
21968 alias if [!USE_WIDE_CHAR].
21969 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21970 (wcstof32x): Define and later undefine as macro. Define as weak
21971 alias if [USE_WIDE_CHAR].
21972 * stdlib/strtod_l.c: Include <bits/floatn.h>.
21973 (BUILD_DOUBLE): New macro.
21974 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21975 (strtof64_l): Define and later undefine as macro. Define as weak
21976 alias if [!USE_WIDE_CHAR].
21977 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
21978 (wcstof64_l): Define and later undefine as macro. Define as weak
21979 alias if [USE_WIDE_CHAR].
21980 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21981 (strtof32x_l): Define and later undefine as macro. Define as weak
21982 alias if [!USE_WIDE_CHAR].
21983 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
21984 (wcstof32x_l): Define and later undefine as macro. Define as weak
21985 alias if [USE_WIDE_CHAR].
21986
94d80dfc
AZ
219872017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21988
21989 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
21990 (reduced): Use ones as double instead of integer.
21991
00d54af7
SN
219922017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
21993
21994 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
21995
f2d64d62
JM
219962017-12-05 Joseph Myers <joseph@codesourcery.com>
21997
1f70eae4
JM
21998 * stdlib/strfromd.c: Include <bits/floatn.h>.
21999 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22000 and later undefine as macro and define as weak alias.
22001 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22002 Likewise.
22003
e2c4dce5
JM
22004 * math/test-float32x.h: New file.
22005 * math/test-float64.h: Likewise.
22006
f2d64d62
JM
22007 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22008 (libm_alias_double_other_r_f64): New macro.
22009 (libm_alias_double_other_r_f32x): Likewise.
22010 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22011 libm_alias_double_other_r_f32x.
22012 (libm_alias_double_r): Use semicolon before call to
22013 libm_alias_double_other_r.
22014 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22015 <bits/floatn.h>.
22016 (libm_alias_double_other_r_f64): New macro.
22017 (libm_alias_double_other_r_f32x): Likewise.
22018 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22019 libm_alias_double_other_r_f32x.
22020
91c318e7
L
220212017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22022
22023 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22024 int.
22025 (SINF_FUNC): Likewise. Replace floor with simple casts.
22026
de9661d6
MF
220272017-12-05 Mike FABIAN <mfabian@redhat.com>
22028
22029 [BZ #22517]
22030 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22031 and to the list of locales to be built for testing.
22032 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22033 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22034 and build the collation rules upon that.
22035
f18b8dc7
CM
220362017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22037
22038 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22039 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22040 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22041 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22042 instead of __insn__xxx.
22043 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22044 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22045 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22046 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22047 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22048 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22049
446d22e9
FW
220502017-12-05 Florian Weimer <fweimer@redhat.com>
22051
22052 Linux: Implement interfaces for memory protection keys
22053 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22054 xsignal, xsysconf.
22055 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22056 * support/xunistd.h (xsysconf): Declare.
22057 * support/xraise.c: New file.
22058 * support/xsigaction.c: Likewise.
22059 * support/xsignal.c: Likewise.
22060 * support/xsysconf.c: Likewise.
22061 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22062 pkey_set, pkey_get, pkey_mprotect.
22063 [misc] (tests): Add tst-pkey.
22064 (tst-pkey): Link with -lpthread.
22065 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22066 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22067 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22068 (PKEY_DISABLE_WRITE): Define.
22069 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22070 Declare.
22071 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22072 (SEGV_PKUERR): Add.
22073 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22074 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22075 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22076 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22077 Add.
22078 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22079 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22080 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22081 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22082 * sysdeps/unix/sysv/linux/**.abilist: Update.
22083
da616c14
FW
220842017-12-05 Florian Weimer <fweimer@redhat.com>
22085
22086 * support/tst-test_compare.c (subprocess): Use long long instead
22087 of long argument for consistent type width across 32-bit and
22088 64-bit architectures.
22089 (do_test): Adjust expected output.
22090
216933b2
JM
220912017-12-05 Joseph Myers <joseph@codesourcery.com>
22092
22093 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22094 (cosf): Define using libm_alias_float.
22095 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22096 (fabsf): Define using libm_alias_float.
22097 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22098 (fmaf): Define using libm_alias_float.
22099 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22100 (rintf): Define using libm_alias_float.
22101 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22102 (sinf): Define using libm_alias_float.
22103 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22104 <libm-alias-float.h>.
22105 (modff): Define using libm_alias_float.
22106 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22107 <libm-alias-float.h>.
22108 (logbf): Define using libm_alias_float.
22109 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22110 <libm-alias-float.h>.
22111 (ceilf): Define using libm_alias_float.
22112 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22113 <libm-alias-float.h>.
22114 (copysignf): Define using libm_alias_float.
22115 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22116 <libm-alias-float.h>.
22117 (floorf): Define using libm_alias_float.
22118 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22119 <libm-alias-float.h>.
22120 (llrintf): Define using libm_alias_float.
22121 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22122 <libm-alias-float.h>.
22123 (llroundf): Define using libm_alias_float.
22124 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22125 <libm-alias-float.h>.
22126 (lrintf): Define using libm_alias_float.
22127 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22128 <libm-alias-float.h>.
22129 (lroundf): Define using libm_alias_float.
22130 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22131 <libm-alias-float.h>.
22132 (nearbyintf): Define using libm_alias_float.
22133 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22134 <libm-alias-float.h>.
22135 (rintf): Define using libm_alias_float.
22136 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22137 <libm-alias-float.h>.
22138 (roundf): Define using libm_alias_float.
22139 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22140 <libm-alias-float.h>.
22141 (truncf): Define using libm_alias_float.
22142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22143 Include <libm-alias-float.h>.
22144 (ceilf): Define using libm_alias_float.
22145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22146 Include <libm-alias-float.h>.
22147 (copysignf): Define using libm_alias_float.
22148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22149 Include <libm-alias-float.h>.
22150 (floorf): Define using libm_alias_float.
22151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22152 Include <libm-alias-float.h>.
22153 (llrintf): Define using libm_alias_float.
22154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22155 Include <libm-alias-float.h>.
22156 (llroundf): Define using libm_alias_float.
22157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22158 Include <libm-alias-float.h>.
22159 (logbf): Define using libm_alias_float.
22160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22161 Include <libm-alias-float.h>.
22162 (lrintf): Define using libm_alias_float.
22163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22164 Include <libm-alias-float.h>.
22165 (lroundf): Define using libm_alias_float.
22166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22167 Include <libm-alias-float.h>.
22168 (modff): Define using libm_alias_float.
22169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22170 Include <libm-alias-float.h>.
22171 (roundf): Define using libm_alias_float.
22172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22173 Include <libm-alias-float.h>.
22174 (truncf): Define using libm_alias_float.
22175 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22176 <libm-alias-float.h>.
22177 (llrintf): Define using libm_alias_float.
22178 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22179 <libm-alias-float.h>.
22180 (llroundf): Define using libm_alias_float.
22181 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22182 <libm-alias-float.h>.
22183 (ceilf): Define using libm_alias_float.
22184 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22185 <libm-alias-float.h>.
22186 (floorf): Define using libm_alias_float.
22187 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22188 <libm-alias-float.h>.
22189 (llroundf): Define using libm_alias_float.
22190 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22191 <libm-alias-float.h>.
22192 (lroundf): Define using libm_alias_float.
22193 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22194 <libm-alias-float.h>.
22195 (roundf): Define using libm_alias_float.
22196 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22197 <libm-alias-float.h>.
22198 (truncf): Define using libm_alias_float.
22199 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22200 <libm-alias-float.h>.
22201 (copysignf): Define using libm_alias_float.
22202 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22203 <libm-alias-float.h>.
22204 (llrintf): Define using libm_alias_float.
22205 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22206 <libm-alias-float.h>.
22207 (llroundf): Define using libm_alias_float.
22208 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22209 <libm-alias-float.h>.
22210 (lrintf): Define using libm_alias_float.
22211 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22212 <libm-alias-float.h>.
22213 (lroundf): Define using libm_alias_float.
22214 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22215 <libm-alias-float.h>.
22216 (ceilf): Define using libm_alias_float.
22217 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22218 <libm-alias-float.h>.
22219 (copysignf): Define using libm_alias_float.
22220 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22221 <libm-alias-float.h>.
22222 (cosf): Define using libm_alias_float.
22223 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22224 <libm-alias-float.h>.
22225 (floorf): Define using libm_alias_float.
22226 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22227 <libm-alias-float.h>.
22228 (llrintf): Define using libm_alias_float.
22229 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22230 <libm-alias-float.h>.
22231 (llroundf): Define using libm_alias_float.
22232 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22233 <libm-alias-float.h>.
22234 (logbf): Define using libm_alias_float.
22235 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22236 <libm-alias-float.h>.
22237 (modff): Define using libm_alias_float.
22238 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22239 <libm-alias-float.h>.
22240 (roundf): Define using libm_alias_float.
22241 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22242 <libm-alias-float.h>.
22243 (sinf): Define using libm_alias_float.
22244 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22245 <libm-alias-float.h>.
22246 (truncf): Define using libm_alias_float.
22247 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22248 <libm-alias-float.h>.
22249 (ceilf): Define using libm_alias_float.
22250 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22251 <libm-alias-float.h>.
22252 (copysignf): Define using libm_alias_float.
22253 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22254 <libm-alias-float.h>.
22255 (floorf): Define using libm_alias_float.
22256 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22257 <libm-alias-float.h>.
22258 (llrintf): Define using libm_alias_float.
22259 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22260 <libm-alias-float.h>.
22261 (llroundf): Define using libm_alias_float.
22262 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22263 <libm-alias-float.h>.
22264 (nearbyintf): Define using libm_alias_float.
22265 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22266 <libm-alias-float.h>.
22267 (rintf): Define using libm_alias_float.
22268 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22269 <libm-alias-float.h>.
22270 (roundf): Define using libm_alias_float.
22271 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22272 <libm-alias-float.h>.
22273 (truncf): Define using libm_alias_float.
22274 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22275 <libm-alias-float.h>.
22276 (ceilf): Define using libm_alias_float.
22277 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22278 <libm-alias-float.h>.
22279 (floorf): Define using libm_alias_float.
22280 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22281 <libm-alias-float.h>.
22282 (llroundf): Define using libm_alias_float.
22283 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22284 <libm-alias-float.h>.
22285 (roundf): Define using libm_alias_float.
22286 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22287 <libm-alias-float.h>.
22288 (truncf): Define using libm_alias_float.
22289 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22290 <libm-alias-float.h>.
22291 (copysignf): Define using libm_alias_float.
22292 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22293 <libm-alias-float.h>.
22294 (llrintf): Define using libm_alias_float.
22295 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22296 <libm-alias-float.h>.
22297 (llroundf): Define using libm_alias_float.
22298 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22299 <libm-alias-float.h>.
22300 (cosf): Define using libm_alias_float.
22301 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22302 <libm-alias-float.h>.
22303 (llrintf): Define using libm_alias_float.
22304 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22305 <libm-alias-float.h>.
22306 (llroundf): Define using libm_alias_float.
22307 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22308 <libm-alias-float.h>.
22309 (sinf): Define using libm_alias_float.
22310
93485524
FW
223112017-12-04 Florian Weimer <fweimer@redhat.com>
22312
22313 * support/check.h (TEST_COMPARE): Define.
22314 (support_test_compare_failure): Declare.
22315 * support/Makefile (libsupport-routines): Add
22316 support_test_compare_failure.
22317 (tests): Add tst-test_compare.
22318 * support /support_test_compare_failure.c: New file.
22319 * support/tst-test_compare.c: Likewise.
22320
96b06a19
MF
223212017-12-04 Mike FABIAN <mfabian@redhat.com>
22322
22323 [BZ #22527]
22324 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22325 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22326 available, this rewrite of the collation rules does reproduce
22327 the test file in the same order.
22328
1f6d91f3
MF
223292017-12-04 Mike FABIAN <mfabian@redhat.com>
22330
22331 [BZ #10580]
22332 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22333 digraphs in the month and day names. Using single code points for
22334 digraphs is deprecated. While there are dedicated Unicode
22335 codepoints, for the digraphs, these are included for backwards
22336 compatibility and modern texts use a sequence of Basic Latin
22337 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22338 This makes the month and day names agree exactly with CLDR now,
22339 CLDR does not use the single code points for the digraphs either.
22340
2e49fed8
CM
223412017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22342
22343 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22344
73895b49
JM
223452017-12-04 Joseph Myers <joseph@codesourcery.com>
22346
22347 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22348 of floor.
22349
4c1d801a
SP
223502017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22351
22352 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22353 Define only for libc.so.
22354
478593e6
SL
223552017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22356
22357 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22358 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
6b5c8607 22359 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
478593e6
SL
22360 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22361 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22362
7863a711
RS
223632017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22364
22365 [BZ #5997]
22366 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22367
800a496a
JDA
223682017-12-02 John David Anglin <danglin@gcc.gnu.org>
22369
b3f7fb12
JDA
22370 [BZ libc/19170]
22371 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22372 PREINIT_FUNCTION_WEAK is nonzero.
22373 (gmon_initializer): New function. Put procedure label for it in
22374 .init_array section.
22375 (_init): Don't call PREINIT_FUNCTION.
22376 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22377 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22378 value when map argument is null.
22379
800a496a
JDA
22380 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22381 depi instruction from PIC pc-relative sequence.
22382 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22383 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22384 (elf_machine_load_address): Likewise.
22385 (elf_machine_runtime_setup): Likewise.
22386
d17542d2
JM
223872017-12-02 Joseph Myers <joseph@codesourcery.com>
22388
22389 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22390 <libm-alias-double.h>.
22391 (logb): Define using libm_alias_double.
22392 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22393 <libm-alias-double.h>.
22394 (copysign): Define using libm_alias_double.
22395 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22396 <libm-alias-double.h>.
22397 (llrint): Define using libm_alias_double.
22398 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22399 <libm-alias-double.h>.
22400 (llround): Define using libm_alias_double.
22401 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22402 <libm-alias-double.h>.
22403 (lrint): Define using libm_alias_double.
22404 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22405 <libm-alias-double.h>.
22406 (lround): Define using libm_alias_double.
22407 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22408 Include <libm-alias-double.h>.
22409 (copysign): Define using libm_alias_double.
22410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22411 Include <libm-alias-double.h>.
22412 (llrint): Define using libm_alias_double.
22413 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22414 Include <libm-alias-double.h>.
22415 (llround): Define using libm_alias_double.
22416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22417 <libm-alias-double.h>.
22418 (logb): Define using libm_alias_double.
22419 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22420 Include <libm-alias-double.h>.
22421 (lrint): Define using libm_alias_double.
22422 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22423 Include <libm-alias-double.h>.
22424 (lround): Define using libm_alias_double.
22425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22426 <libm-alias-double.h>.
22427 (llrint): Define using libm_alias_double.
22428 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22429 <libm-alias-double.h>.
22430 (llround): Define using libm_alias_double.
22431 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22432 <libm-alias-double.h>.
22433 (llround): Define using libm_alias_double.
22434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22435 <libm-alias-double.h>.
22436 (lround): Define using libm_alias_double.
22437 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22438 <libm-alias-double.h>.
22439 (copysign): Define using libm_alias_double.
22440 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22441 <libm-alias-double.h>.
22442 (llrint): Define using libm_alias_double.
22443 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22444 <libm-alias-double.h>.
22445 (llround): Define using libm_alias_double.
22446 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22447 <libm-alias-double.h>.
22448 (lrint): Define using libm_alias_double.
22449 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22450 <libm-alias-double.h>.
22451 (lround): Define using libm_alias_double.
22452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22453 <libm-alias-double.h>.
22454 (copysign): Define using libm_alias_double.
22455 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22456 <libm-alias-double.h>.
22457 (llrint): Define using libm_alias_double.
22458 (lrint): Likewise.
22459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22460 <libm-alias-double.h>.
22461 (llround): Define using libm_alias_double.
22462 (lround): Likewise.
22463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22464 <libm-alias-double.h>.
22465 (logb): Define using libm_alias_double.
22466 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22467 <libm-alias-double.h>.
22468 (copysign): Define using libm_alias_double.
22469 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22470 <libm-alias-double.h>.
22471 (llrint): Define using libm_alias_double.
22472 (lrint): Likewise.
22473 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22474 <libm-alias-double.h>.
22475 (llround): Define using libm_alias_double.
22476 (lround): Likewise.
22477 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22478 <libm-alias-double.h>.
22479 (llround): Define using libm_alias_double.
22480 (lround): Likewise.
22481 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22482 <libm-alias-double.h>.
22483 (copysign): Define using libm_alias_double.
22484 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22485 <libm-alias-double.h>.
22486 (llrint): Define using libm_alias_double.
22487 (lrint): Likewise.
22488 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22489 <libm-alias-double.h>.
22490 (llround): Define using libm_alias_double.
22491 (lround): Likewise.
22492 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22493 <libm-alias-double.h>.
22494 (llrint): Define using libm_alias_double.
22495 (lrint): Likewise.
22496 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22497 <libm-alias-double.h>.
22498 (llround): Define using libm_alias_double.
22499 (lround): Likewise.
22500
ec2cf3f4
JM
225012017-12-01 Joseph Myers <joseph@codesourcery.com>
22502
0ddde474
JM
22503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22504 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22505 compat symbol based on llround.
22506
0d5ba561
JM
22507 * sysdeps/powerpc/power7/fpu/s_logb.c
22508 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22509 symbol based on __logb, not on logb.
22510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22511 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22513 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22514
51ea3b20
JM
22515 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22516 (rint): Define using libm_alias_double.
22517 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22518 <libm-alias-double.h>.
22519 (modf): Define using libm_alias_double.
22520 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22521 <libm-alias-double.h>.
22522 (ceil): Define using libm_alias_double.
22523 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22524 <libm-alias-double.h>.
22525 (floor): Define using libm_alias_double.
22526 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22527 <libm-alias-double.h>.
22528 (nearbyint): Define using libm_alias_double.
22529 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22530 <libm-alias-double.h>.
22531 (rint): Define using libm_alias_double.
22532 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22533 <libm-alias-double.h>.
22534 (round): Define using libm_alias_double.
22535 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22536 <libm-alias-double.h>.
22537 (trunc): Define using libm_alias_double.
22538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22539 <libm-alias-double.h>.
22540 (ceil): Define using libm_alias_double.
22541 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22542 Include <libm-alias-double.h>.
22543 (floor): Define using libm_alias_double.
22544 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22545 <libm-alias-double.h>.
22546 (modf): Define using libm_alias_double.
22547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22548 Include <libm-alias-double.h>.
22549 (round): Define using libm_alias_double.
22550 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22551 Include <libm-alias-double.h>.
22552 (trunc): Define using libm_alias_double.
22553 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22554 <libm-alias-double.h>.
22555 (ceil): Define using libm_alias_double.
22556 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22557 <libm-alias-double.h>.
22558 (floor): Define using libm_alias_double.
22559 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22560 <libm-alias-double.h>.
22561 (round): Define using libm_alias_double.
22562 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22563 <libm-alias-double.h>.
22564 (trunc): Define using libm_alias_double.
22565 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22566 <libm-alias-double.h>.
22567 (ceil): Define using libm_alias_double.
22568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22569 <libm-alias-double.h>.
22570 (floor): Define using libm_alias_double.
22571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22572 <libm-alias-double.h>.
22573 (modf): Define using libm_alias_double.
22574 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22575 <libm-alias-double.h>.
22576 (round): Define using libm_alias_double.
22577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22578 <libm-alias-double.h>.
22579 (trunc): Define using libm_alias_double.
22580 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22581 <libm-alias-double.h>.
22582 (ceil): Define using libm_alias_double.
22583 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22584 <libm-alias-double.h>.
22585 (floor): Define using libm_alias_double.
22586 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22587 <libm-alias-double.h>.
22588 (nearbyint): Define using libm_alias_double.
22589 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22590 <libm-alias-double.h>.
22591 (rint): Define using libm_alias_double.
22592 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22593 <libm-alias-double.h>.
22594 (round): Define using libm_alias_double.
22595 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22596 <libm-alias-double.h>.
22597 (trunc): Define using libm_alias_double.
22598 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22599 <libm-alias-double.h>.
22600 (ceil): Define using libm_alias_double.
22601 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22602 <libm-alias-double.h>.
22603 (floor): Define using libm_alias_double.
22604 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22605 <libm-alias-double.h>.
22606 (round): Define using libm_alias_double.
22607 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22608 <libm-alias-double.h>.
22609 (trunc): Define using libm_alias_double.
22610
ec2cf3f4
JM
22611 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22612 (fabs): Define using libm_alias_double.
22613 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22614 (fma): Define using libm_alias_double.
22615 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22616 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22617 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22618 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22619
5b7bd975
AZ
226202017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22621
0594b13f
AZ
22622 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22623
dbdfcf3b
AZ
22624 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22625 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22626 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22627
5b7bd975
AZ
22628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22629 due redirect macro.
22630
ef9ecfa6
AS
226312017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22632
22633 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22634
5b4e5e78
AZ
226352017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22636
2a14526b
AZ
22637 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22638 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22639 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22640 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22641
dbeb74ef 22642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1c051a9b
AZ
22643 (libm-sysdep_routines): Add s_nearbyintf-generic and
22644 s_nearbyint-generic.
22645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22646 New file.
22647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22649 Likewise.
22650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22651 Likewise.
22652 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22653 file.
22654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22655 Likewise.
22656
22657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
dbeb74ef
AZ
22658 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22660 file.
22661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22663 Likewise.
22664 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22667
fa7ded96
AZ
22668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22669 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22670 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22671 file.
22672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22674 Likewise.
22675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22678
e240cf0e
AZ
22679 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22680 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22682 file.
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22685 Likewise.
22686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22688 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22689
5b4e5e78
AZ
22690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22691 (sysdep_calls): New rule.
22692 (sysdep_routines): Use sysdep_calls as base.
22693 (libm-sysdep_routines): Add generic rule for symbols shared with
22694 libc. Add s_copysign-generic and s_copysign-generic objects.
22695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22696 New file.
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22699 Likewise.
22700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22703
d985adae
MF
227042017-12-01 Mike FABIAN <mfabian@redhat.com>
22705
22706 [BZ #22519]
22707 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22708 the list of locales to be built for testing.
22709 * localedata/is_IS.UTF-8.in: New file.
22710 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22711 on iso14651_t1.
22712
ff84a0e0
JM
227132017-12-01 Joseph Myers <joseph@codesourcery.com>
22714
22715 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22716 <libm-alias-float.h>.
22717 (fabsf): Define using libm_alias_float.
22718
ef5d8b43
L
227192017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22720
22721 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22722
c0535adf
JM
227232017-11-30 Joseph Myers <joseph@codesourcery.com>
22724
f938b397
JM
22725 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22726 <libm-alias-float.h>.
22727 (fabsf): Define using libm_alias_float.
22728 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22729 <libm-alias-float.h>.
22730 (lrintf): Define using libm_alias_float.
22731 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22732 <libm-alias-float.h>.
22733 (rintf): Define using libm_alias_float.
22734
2251fad0
JM
22735 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22736 <libm-alias-double.h>.
22737 (fabs): Define using libm_alias_double.
22738 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22739 <libm-alias-double.h>.
22740 (lrint): Define using libm_alias_double.
22741 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22742 <libm-alias-double.h>.
22743 (rint): Define using libm_alias_double.
22744
e53df1de
JM
22745 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22746 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22747 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22748 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22749 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22750 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22751 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22752 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22753 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22754 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22755 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22756 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22757 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22758 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22759 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22760 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22761 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22762 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22763 s_atan_template.c.
22764 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22765 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22766 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22767 s_ceil_template.c.
22768 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22769 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22770 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22771 s_cos_template.c.
22772 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22773 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22774 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22775 s_expm1_template.c.
22776 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22777 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22778 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22779 s_fabs_template.c.
22780 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22781 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22782 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22783 s_floor_template.c.
22784 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22785 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22786 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22787 s_frexp_template.c.
22788 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22789 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22790 s_lrint_template.c.
22791 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22792 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22793 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22794 s_modf_template.c.
22795 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22796 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22797 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22798 s_nearbyint_template.c.
22799 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22800 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22801 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22802 s_remquo_template.c.
22803 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22804 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22805 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22806 s_rint_template.c.
22807 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22808 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22809 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22810 s_sin_template.c.
22811 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22812 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22813 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22814 s_sincos_template.c.
22815 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22816 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22817 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22818 s_tan_template.c.
22819 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22820 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22821 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22822 s_tanh_template.c.
22823 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22824 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22825 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22826 s_trunc_template.c.
22827 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22828 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22829 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22830 s_atan.c instead of including s_atan.c.
22831 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22832 s_atanf.c instead of including s_atanf.c.
22833 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22834 s_atanl.c instead of including s_atanl.c.
22835 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22836 instead of s_atan.c.
22837 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22838 instead of s_atanf.c.
22839 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22840 instead of s_atanl.c.
22841
c0535adf
JM
22842 * scripts/update-copyrights: Do not handle intl/plural.c
22843 specially.
22844
1faaf703
JB
228452017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22846
22847 [BZ #22432]
22848 * configure.ac (BISON): Require to be present.
22849 * configure: Regenerated.
22850 * intl/Makefile (generated): Add plural.c.
22851 [$(BISON) != no]: Make code unconditional.
22852 (plural.c): Change rule to $(objpfx)plural.c.
22853 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22854 * intl/plural.c: Remove.
22855 * manual/install.texi (Tools for Compilation): Document bison as
22856 required.
22857 * INSTALL: Regenerated.
22858
faec6323
JM
228592017-11-30 Joseph Myers <joseph@codesourcery.com>
22860
bd6ea9ed
JM
22861 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22862 <libm-alias-double.h>.
22863 (llrint): Define using libm_alias_double.
22864 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22865 <libm-alias-float.h>.
22866 (llrintf): Define using libm_alias_float.
22867 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22868 <libm-alias-ldouble.h>.
22869 (llrintl): Define using libm_alias_ldouble.
22870
faec6323
JM
22871 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22872 declare_mgen_alias instead of weak_alias.
22873 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22874 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22875 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22876
023cade3
AZ
228772017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22878
9e2279a0
AZ
22879 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22880 Add add_n-generic.
22881 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22882 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22883 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22884
75f37c71
AZ
22885 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22886 Add submul_1-generic.
22887 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22888 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22889 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22890
b70cbbfc 22891 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
dda1d2e8
AZ
22892 Add addmul_1-generic.
22893 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22894 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22895 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22896
22897 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
b70cbbfc
AZ
22898 Add sub_n-generic.
22899 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22900 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22901 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22902
023cade3
AZ
22903 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22904 Add mul_1-generic.
22905 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22906 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22907 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22908
fbb5fd03
MF
229092017-11-30 Mike FABIAN <mfabian@redhat.com>
22910
22911 According to CLDR, collation rules for Serbian and Bosnian
22912 should be the same as for Croatian.
22913
22914 [BZ #22534]
22915 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22916 and to the list of locales to be built for testing.
22917 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22918 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22919 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22920 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22921
5e56e937
MF
229222017-11-30 Mike FABIAN <mfabian@redhat.com>
22923
22924 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22925 to make test case pass.
22926 * localedata/hr_HR.UTF-8.in: Add more test strings.
22927
cf4341ca
MF
229282017-11-30 Mike FABIAN <mfabian@redhat.com>
22929
22930 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22931
363e4519 229322017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
9ca6b343
DSN
22933
22934 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22935 the list of locales to built for testing.
22936 * localedata/hr_HR.UTF-8.in: New file.
22937
363e4519 229382017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
37075ae1
DSN
22939
22940 [BZ #10580]
22941 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22942 iso14651_t1.
22943 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22944 CLDR (except use ligatures for the digraphs, CLDR does not use
22945 the ligatures), add first_workday, some fixes in the date and time
22946 formats.
22947 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
22948 for Đ and đ.
22949 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
22950 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
22951 Add int_p_cs_precedes and int_n_cs_precedes.
22952 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
22953 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
22954 LC_MONETARY now).
22955 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
22956 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
22957 name_miss.
22958 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
22959 and lang_lib. Change postal_fmt.
22960
f33632cc
L
229612017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
22964 <setjmp.h>.
22965 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22966 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
22967 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
22968 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
22969 * sysdeps/generic/setjmpP.h: New file.
22970 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
22971 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
22972 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
22973 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
22974 Add jmp_buf-ssp.sym.
22975 (tests): Add tst-saved_mask-1.
22976
34697694
AS
229772017-11-30 Arjun Shankar <arjun@redhat.com>
22978
22979 [BZ #22375]
37ac8e63 22980 CVE-2017-17426
34697694
AS
22981 * malloc/malloc.c (__libc_malloc): Use checked_request2size
22982 instead of request2size.
22983
3e5efdbd
JM
229842017-11-30 Joseph Myers <joseph@codesourcery.com>
22985
18305fba
JM
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
22987 (__lllrint): Remove alias.
22988 (lllrint): Likewise.
22989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
22990 (__lllrintf): Likewise.
22991 (lllrintf): Likewise.
22992
3e5efdbd
JM
22993 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
22994 <libm-alias-float.h>.
22995 (copysignf): Define using libm_alias_float.
22996 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
22997 <libm-alias-float.h>.
22998 (fabsf): Define using libm_alias_float.
22999 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23000 Include <libm-alias-float.h>.
23001 (copysignf): Define using libm_alias_float.
23002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23003 <libm-alias-float.h>.
23004 (fabsf): Define using libm_alias_float.
23005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23006 <libm-alias-float.h>.
23007 (fdimf): Define using libm_alias_float.
23008 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23009 <libm-alias-float.h>.
23010 (fmaf): Define using libm_alias_float.
23011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23012 <libm-alias-float.h>.
23013 (llrintf): Define using libm_alias_float.
23014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23015 Include <libm-alias-float.h>.
23016 (nearbyintf): Define using libm_alias_float.
23017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23018 <libm-alias-float.h>.
23019 (rintf): Define using libm_alias_float.
23020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23021 <libm-alias-float.h>.
23022 (llrintf): Define using libm_alias_float.
23023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23024 <libm-alias-float.h>.
23025 (lrintf): Define using libm_alias_float.
23026 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23027 <libm-alias-float.h>.
23028 (nearbyintf): Define using libm_alias_float.
23029 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23030 <libm-alias-float.h>.
23031 (rintf): Define using libm_alias_float.
23032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23033 <libm-alias-float.h>.
23034 (ceilf): Define using libm_alias_float.
23035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23036 <libm-alias-float.h>.
23037 (floorf): Define using libm_alias_float.
23038 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23039 <libm-alias-float.h>.
23040 (fmaf): Define using libm_alias_float.
23041 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23042 <libm-alias-float.h>.
23043 (lrintf): Define using libm_alias_float.
23044 (llrintf): Likewise.
23045 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23046 <libm-alias-float.h>.
23047 (nearbyintf): Define using libm_alias_float.
23048 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23049 <libm-alias-float.h>.
23050 (rintf): Define using libm_alias_float.
23051 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23052 <libm-alias-float.h>.
23053 (truncf): Define using libm_alias_float.
23054 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23055 <libm-alias-float.h>.
23056 (copysignf): Define using libm_alias_float.
23057 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23058 <libm-alias-float.h>.
23059 (fabsf): Define using libm_alias_float.
23060 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23061 <libm-alias-float.h>.
23062 (lrintf): Define using libm_alias_float.
23063 (llrintf): Likewise.
23064 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23065 <libm-alias-float.h>.
23066 (nearbyintf): Define using libm_alias_float.
23067 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23068 <libm-alias-float.h>.
23069 (rintf): Define using libm_alias_float.
23070
011fba7e
JM
230712017-11-29 Joseph Myers <joseph@codesourcery.com>
23072
875cd548
JM
23073 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23074 <libm-alias-double.h>.
23075 (copysign): Define using libm_alias_double.
23076 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23077 <libm-alias-double.h>.
23078 (fabs): Define using libm_alias_double.
23079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23080 Include <libm-alias-double.h>.
23081 (copysign): Define using libm_alias_double.
23082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23083 <libm-alias-double.h>.
23084 (fabs): Define using libm_alias_double.
23085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23086 <libm-alias-double.h>.
23087 (fdim): Define using libm_alias_double.
23088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23089 <libm-alias-double.h>.
23090 (fma): Define using libm_alias_double.
23091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23092 <libm-alias-double.h>.
23093 (llrint): Define using libm_alias_double.
23094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23095 Include <libm-alias-double.h>.
23096 (nearbyint): Define using libm_alias_double.
23097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23098 <libm-alias-double.h>.
23099 (rint): Define using libm_alias_double.
23100 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23101 <libm-alias-double.h>.
23102 (fabs): Define using libm_alias_double.
23103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23104 <libm-alias-double.h>.
23105 (llrint): Define using libm_alias_double.
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23107 <libm-alias-double.h>.
23108 (nearbyint): Define using libm_alias_double.
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23110 <libm-alias-double.h>.
23111 (rint): Define using libm_alias_double.
23112 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23113 <libm-alias-double.h>.
23114 (ceil): Define using libm_alias_double.
23115 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23116 <libm-alias-double.h>.
23117 (floor): Define using libm_alias_double.
23118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23119 <libm-alias-double.h>.
23120 (fma): Define using libm_alias_double.
23121 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23122 <libm-alias-double.h>.
23123 (lrint): Define using libm_alias_double.
23124 (llrint): Likewise.
23125 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23126 <libm-alias-double.h>.
23127 (nearbyint): Define using libm_alias_double.
23128 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23129 <libm-alias-double.h>.
23130 (rint): Define using libm_alias_double.
23131 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23132 <libm-alias-double.h>.
23133 (trunc): Define using libm_alias_double.
23134 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23135 <libm-alias-double.h>.
23136 (copysign): Define using libm_alias_double.
23137 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23138 <libm-alias-double.h>.
23139 (fabs): Define using libm_alias_double.
23140 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23141 <libm-alias-double.h>.
23142 (lrint): Define using libm_alias_double.
23143 (llrint): Likewise.
23144 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23145 <libm-alias-double.h>.
23146 (nearbyint): Define using libm_alias_double.
23147 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23148 <libm-alias-double.h>.
23149 (rint): Define using libm_alias_double.
23150
cf4ebc27
JM
23151 [BZ #22229]
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23153 <math_ldbl_opt.h>.
23154 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23155
0c097378
JM
23156 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23157 SPARC --disable-multi-arch glibc variants.
23158
34bb10aa
JM
23159 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23160 <libm-alias-float.h>.
23161 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23162 if [SHARED].
23163 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23164 <libm-alias-float.h>.
23165 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23166 if [SHARED].
23167 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23168 <libm-alias-float.h>.
23169 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23170 if [SHARED].
23171 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23172 <libm-alias-float.h>.
23173 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23174 if [SHARED].
23175 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23176 <libm-alias-float.h>.
23177 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23178 if [SHARED].
23179 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23180 <libm-alias-float.h>.
23181 (ceilf): Define using libm_alias_float.
23182 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23183 <libm-alias-float.h>.
23184 (floorf): Define using libm_alias_float.
23185 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23186 <libm-alias-float.h>.
23187 (fmaf): Define using libm_alias_float.
23188 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23189 <libm-alias-float.h>.
23190 (nearbyintf): Define using libm_alias_float.
23191 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23192 <libm-alias-float.h>.
23193 (rintf): Define using libm_alias_float.
23194 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23195 <libm-alias-float.h>.
23196 (truncf): Define using libm_alias_float.
23197 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23198 (copysignf): Define using libm_alias_float.
23199 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23200 (cosf): Define using libm_alias_float.
23201 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23202 (fabsf): Define using libm_alias_float.
23203 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23204 (fmaxf): Define using libm_alias_float.
23205 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23206 (fminf): Define using libm_alias_float.
23207 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23208 (llrintf): Define using libm_alias_float.
23209 [!__ILP32__] (lrintf): Likewise.
23210 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23211 (sincosf): Define using libm_alias_float.
23212 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23213 (sinf): Define using libm_alias_float.
23214 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23215 (lrintf): Define using libm_alias_float.
23216
011fba7e
JM
23217 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23218 <libm-alias-double.h>.
23219 (atan): Define using libm_alias_double.
23220 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23221 <libm-alias-double.h>.
23222 (ceil): Define using libm_alias_double.
23223 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23224 <libm-alias-double.h>.
23225 (floor): Define using libm_alias_double.
23226 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23227 <libm-alias-double.h>.
23228 (fma): Define using libm_alias_double.
23229 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23230 <libm-alias-double.h>.
23231 (nearbyint): Define using libm_alias_double.
23232 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23233 <libm-alias-double.h>.
23234 (rint): Define using libm_alias_double.
23235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23236 <libm-alias-double.h>.
23237 (sin): Define using libm_alias_double.
23238 (cos): Likewise.
23239 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23240 <libm-alias-double.h>.
23241 (tan): Define using libm_alias_double.
23242 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23243 <libm-alias-double.h>.
23244 (trunc): Define using libm_alias_double.
23245 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23246 (copysign): Define using libm_alias_double.
23247 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23248 (fabs): Define using libm_alias_double.
23249 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23250 (fmax): Define using libm_alias_double.
23251 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23252 (fmin): Define using libm_alias_double.
23253 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23254 (llrint): Define using libm_alias_double.
23255 [!__ILP32__] (lrint): Likewise.
23256 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23257 (lrint): Define using libm_alias_double.
23258
1cbd7bfe
AZ
232592017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23260
21bfcc3d
AZ
23261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23262 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23263 objects.
23264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23268 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23270
522228dd
AZ
23271 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23272 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23273 objects.
23274 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23275 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23276 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23277 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23278 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23279 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23280
2a6f4fab
AZ
23281 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23282 (libm-sysdep_routines): Add s_nearbyint-generic and
23283 s_nearbyintf-generic objects.
23284 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23285 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23286 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23287 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23288 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23289 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23290
712b5b83
AZ
23291 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23292 Add s_finitef-generic and s_finite-generic objects.
23293 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23294 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23295 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23296 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23297 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23298 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23299
c96d3335
AZ
23300 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23301 Add s_isinff-generic and s_isinf-generic objects.
23302 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23303 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23304 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23305 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23306 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23307 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23308
c6862a23
AZ
23309 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23310 Add s_isnanf-generic and s_isnan-generic objects.
23311 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23312 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23313 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23314 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23315 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23316 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23317
1cbd7bfe
AZ
23318 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23319 macro.
23320 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23321 rule.
23322 (sysdep_routines): Use sysdep_calls as base.
23323 (libm-sysdep_routines): Add generic rule for symbols shared with
23324 libc. Add s_signbit-generic and s_signbitf-generic objects.
23325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23328 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23331
aa1142c5
JM
233322017-11-29 Joseph Myers <joseph@codesourcery.com>
23333
23334 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23335 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23336 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23337 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23338 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23339 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23340 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23341 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23342 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23343 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23344 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23345 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23346 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23347 libm_alias_float_r.
23348 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23349 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23350 (logf): Likewise.
23351 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23352 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23353 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23354 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23355 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23356 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23357 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23358 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23359 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23360 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23361 libm_alias_float.
23362 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23363 (cosf): Likewise.
23364 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23365 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23366 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23367 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23368 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23369 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23370 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23371 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23372 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23373 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23374 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23375 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23376 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23377 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23378 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23379 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23380 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23381 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23382 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23383 libm_alias_float.
23384 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23385 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23386 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23387 * sysdeps/ia64/fpu/w_lgammaf_main.c
23388 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23389 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23390
363e4519
DL
233912017-11-28 Mike FABIAN <mfabian@redhat.com>
23392 Alexandre Oliva <aoliva@redhat.com>
8da25eec
AO
23393
23394 [BZ #17750]
23395 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23396 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23397 accents sorting.
23398 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23399 sorting.
23400 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23401 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23402 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23403 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23404 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23405 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23406 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23407 instead of “ifdef DIACRIT_BACKWARD”.
23408
a55430cb
AZ
234092017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23410
23411 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23412 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23413 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23414 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23415 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23416 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23417 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23418 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23419 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23420 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23421 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23422 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23423 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23424 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23425 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23426 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23427 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23428 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23430 ($(have-as-vis3) == yes): Remove conditional.
23431 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23432 Likewise.
23433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23434 file.
23435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23436 file.
23437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23438 file.
23439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23440 file.
23441 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23442 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23443 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23444 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23445 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23446 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23447 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23448 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23449
0609ec0a
JM
234502017-11-29 Joseph Myers <joseph@codesourcery.com>
23451
23452 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23453 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23454 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23455 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23456 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23457 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23458 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23459 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23460 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23461 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23462 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23463 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23464 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23465 libm_alias_double_r.
23466 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23467 (log): Likewise.
23468 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23469 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23470 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23471 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23472 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23473 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23474 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23475 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23476 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23477 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23478 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23479 libm_alias_double.
23480 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23481 (cos): Likewise.
23482 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23483 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23484 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23485 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23486 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23487 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23488 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23489 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23490 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23491 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23492 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23493 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23494 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23495 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23496 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23497 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23498 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23499 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23500 libm_alias_double.
23501 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23502 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23503 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23504 * sysdeps/ia64/fpu/w_lgamma_main.c
23505 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23506 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23507
d5bfa34a
JDA
235082017-11-28 John David Anglin <danglin@gcc.gnu.org>
23509
23510 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23511 address of $global$ into %dp register earlier. Use pc-relative
23512 instruction sequence for PIC case.
23513
bc4e8f9b
JM
235142017-11-28 Joseph Myers <joseph@codesourcery.com>
23515
e4602cba
JM
23516 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23517 (asinhf): Define using libm_alias_float.
23518 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23519 (atanf): Define using libm_alias_float.
23520 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23521 (cbrtf): Define using libm_alias_float.
23522 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23523 (ceilf): Define using libm_alias_float.
23524 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23525 (copysignf): Define using libm_alias_float.
23526 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23527 (expm1f): Define using libm_alias_float.
23528 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23529 (fabsf): Define using libm_alias_float.
23530 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23531 (floorf): Define using libm_alias_float.
23532 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23533 (fmaxf): Define using libm_alias_float.
23534 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23535 (fminf): Define using libm_alias_float.
23536 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23537 (frexpf): Define using libm_alias_float.
23538 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23539 (llrintf): Define using libm_alias_float.
23540 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23541 (logbf): Define using libm_alias_float.
23542 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23543 (lrintf): Define using libm_alias_float.
23544 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23545 (nearbyintf): Define using libm_alias_float.
23546 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23547 (remquof): Define using libm_alias_float.
23548 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23549 (rintf): Define using libm_alias_float.
23550 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23551 (truncf): Define using libm_alias_float.
23552 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23553 <libm-alias-float.h>.
23554 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23555 if [SHARED].
23556 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23557 <libm-alias-float.h>.
23558 (expf): Define using libm_alias_float, or libm_alias_float_other
23559 if [SHARED].
23560 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23561 <libm-alias-float.h>.
23562 (log2f): Define using libm_alias_float, or libm_alias_float_other
23563 if [SHARED].
23564 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23565 <libm-alias-float.h>.
23566 (logf): Define using libm_alias_float, or libm_alias_float_other
23567 if [SHARED].
23568 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23569 <libm-alias-float.h>.
23570 (powf): Define using libm_alias_float, or libm_alias_float_other
23571 if [SHARED].
23572 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23573 <libm-alias-float.h>.
23574 (cosf): Define using libm_alias_float.
23575 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23576 <libm-alias-float.h>.
23577 (sincosf): Define using libm_alias_float.
23578 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23579 <libm-alias-float.h>.
23580 (sinf): Define using libm_alias_float.
23581 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23582 (fmaxf): Define using libm_alias_float.
23583 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23584 (fminf): Define using libm_alias_float.
23585 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23586 <libm-alias-float.h>.
23587 (fmaf): Define using libm_alias_float.
23588
bc4e8f9b
JM
23589 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23590 (asinh): Define using libm_alias_double.
23591 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23592 (atan): Define using libm_alias_double.
23593 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23594 (cbrt): Define using libm_alias_double.
23595 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23596 (ceil): Define using libm_alias_double.
23597 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23598 (copysign): Define using libm_alias_double.
23599 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23600 (expm1): Define using libm_alias_double.
23601 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23602 (fabs): Define using libm_alias_double.
23603 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23604 (fdim): Define using libm_alias_double.
23605 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23606 (floor): Define using libm_alias_double.
23607 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23608 (fmax): Define using libm_alias_double.
23609 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23610 (fmin): Define using libm_alias_double.
23611 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23612 (frexp): Define using libm_alias_double.
23613 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23614 (llrint): Define using libm_alias_double.
23615 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23616 (logb): Define using libm_alias_double.
23617 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23618 (lrint): Define using libm_alias_double.
23619 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23620 (nearbyint): Define using libm_alias_double.
23621 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23622 (remquo): Define using libm_alias_double.
23623 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23624 (rint): Define using libm_alias_double.
23625 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23626 (trunc): Define using libm_alias_double.
23627 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23628 (fmax): Define using libm_alias_double.
23629 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23630 (fmin): Define using libm_alias_double.
23631 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23632 (fma): Define using libm_alias_double.
23633
8d81ce0c
L
236342017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23635
23636 [BZ #22370]
23637 * elf/dl-hwcaps.c (ROUND): Removed.
23638 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23639 and ELF_NOTE_NEXT_OFFSET.
23640 * elf/dl-load.c (ROUND): Removed.
23641 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23642 * elf/readelflib.c (ROUND): Removed.
23643 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23644 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23645 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23646 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23647
6940bd96
JM
236482017-11-28 Joseph Myers <joseph@codesourcery.com>
23649
313ba463
JM
23650 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23651 [!__fmaf] (fmaf): Define using libm_alias_float.
23652
6940bd96
JM
23653 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23654 [!__fma] (fma): Define using libm_alias_double.
23655 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23656
22c69b6a
MF
236572017-11-28 Mike FABIAN <mfabian@redhat.com>
23658
23659 [BZ #22336]
23660 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23661 and implement the collation rules for cs from CLDR on top of that.
23662 * Makefile: Add cs_CZ.UTF-8 to test-input.
23663 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23664
8d7d3ba8
SP
236652017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23666
23667 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23668
0422ed1e
VR
236692017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23670 Icarus Sparry <icarus.w.sparry@intel.com>
23671
23672 * benchtests/Makefile:Add BENCHSET to allow subsets of
23673 benchmarks to be run.
23674 * benchtests/README: Add documentation for: Running subsets of
23675 benchmarks.
23676
0595e360
VR
236772017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23678
d5090db3
VR
23679 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23680 range of tests names.
23681
0595e360
VR
23682 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23683 result from property and remove "max", min" and "mean" from
23684 required properties based on benchtests/bench-skeleton.c.
23685
b4c645c2
FW
236862017-11-28 Florian Weimer <fweimer@redhat.com>
23687
23688 [BZ #20826]
23689 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23690 due to Internet requirement.
23691 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23692 tst-getaddrinfo5.
23693 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23694
88684de7
AZ
236952017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23696
69056564
AZ
23697 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23698 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23699 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23700 (sysdep_routines): Add memset-ultra1.
23701 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23702 file.
23703 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23704 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23705 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23706 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23707 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23708 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23709 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23711
88684de7
AZ
23712 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23713 file.
23714 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23715 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23716 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23717 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23718 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23719 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23720 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23721 macro.
23722 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23723 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23724 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23725 (sysdep_routines): Add memcpy-ultra1.
23726 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23727 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23728
d8124864
JM
237292017-11-28 Joseph Myers <joseph@codesourcery.com>
23730
f433d0b3
JM
23731 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23732 (cfloat_versions): Take function argument without trailing 'f'.
23733 Call libm_alias_float_other.
23734 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23735 * sysdeps/alpha/fpu/cargf.c: Likewise.
23736 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23737 * sysdeps/alpha/fpu/conjf.c: Likewise.
23738 * sysdeps/alpha/fpu/crealf.c: Likewise.
23739 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23740 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23741 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23742 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23743 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23744 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23745 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23746 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23747 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23748 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23749 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23750 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23751 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23752 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23753 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23754 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23755 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23756 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23757 (clog10f): Use libm_alias_float_other.
23758 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23759 (ceilf): Define using libm_alias_float.
23760 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23761 (copysignf): Define using libm_alias_float.
23762 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23763 (fabsf): Define using libm_alias_float.
23764 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23765 (floorf): Define using libm_alias_float.
23766 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23767 (fmaxf): Define using libm_alias_float.
23768 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23769 (fminf): Define using libm_alias_float.
23770 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23771 (lrintf): Define using libm_alias_float.
23772 (llrintf): Likewise.
23773 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23774 (lroundf): Define using libm_alias_float.
23775 (llroundf): Likewise.
23776 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23777 (rintf): Define using libm_alias_float.
23778 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23779 (truncf): Define using libm_alias_float.
23780
15ff4900
JM
23781 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23782 (ceilf): Define using libm_alias_float.
23783 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23784 (floorf): Define using libm_alias_float.
23785 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23786 (fmaf): Define using libm_alias_float.
23787 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23788 (fmaxf): Define using libm_alias_float.
23789 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23790 (fminf): Define using libm_alias_float.
23791 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23792 (llrintf): Define using libm_alias_float.
23793 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23794 (llroundf): Define using libm_alias_float.
23795 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23796 (lrintf): Define using libm_alias_float.
23797 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23798 (lroundf): Define using libm_alias_float.
23799 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23800 <libm-alias-float.h>.
23801 (nearbyintf): Define using libm_alias_float.
23802 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23803 (rintf): Define using libm_alias_float.
23804 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23805 (roundf): Define using libm_alias_float.
23806 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23807 (truncf): Define using libm_alias_float.
23808
5de60638
JM
23809 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23810 (ceil): Define using libm_alias_double.
23811 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23812 (copysign): Define using libm_alias_double.
23813 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23814 (fabs): Define using libm_alias_double.
23815 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23816 (floor): Define using libm_alias_double.
23817 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23818 (fmax): Define using libm_alias_double.
23819 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23820 (fmin): Define using libm_alias_double.
23821 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23822 (lrint): Define using libm_alias_double.
23823 (llrint): Likewise.
23824 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23825 (lround): Define using libm_alias_double.
23826 (llround): Likewise.
23827 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23828 (rint): Define using libm_alias_double.
23829 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23830 (trunc): Define using libm_alias_double.
23831
d8124864
JM
23832 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23833 (libm_alias_double_r): Add semicolon after weak_alias call.
23834
f07d2ec8
JM
238352017-11-27 Joseph Myers <joseph@codesourcery.com>
23836
23837 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23838 (ceil): Define using libm_alias_double.
23839 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23840 (floor): Define using libm_alias_double.
23841 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23842 (fma): Define using libm_alias_double.
23843 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23844 (fmax): Define using libm_alias_double.
23845 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23846 (fmin): Define using libm_alias_double.
23847 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23848 (llrint): Define using libm_alias_double.
23849 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23850 (llround): Define using libm_alias_double.
23851 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23852 (lrint): Define using libm_alias_double.
23853 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23854 (lround): Define using libm_alias_double.
23855 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23856 (nearbyint): Define using libm_alias_double.
23857 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23858 (rint): Define using libm_alias_double.
23859 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23860 (round): Define using libm_alias_double.
23861 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23862 (trunc): Define using libm_alias_double.
23863
4bab0224
FW
238642017-11-27 Florian Weimer <fweimer@redhat.com>
23865
23866 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23867 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23868 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23869 (tests): Add tst-mlock2.
23870 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23871 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23872 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23873 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23874 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23875 for mlock. Document mlock2.
23876
a23aa5b7
JM
238772017-11-27 Joseph Myers <joseph@codesourcery.com>
23878
23879 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23880 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23881 Likewise.
23882 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23883 Likewise.
23884 * sysdeps/x86/Makeconfig: New file.
23885 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23886 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23887 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23888 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23889 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23890 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23891 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23892 Likewise.
23893 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23894 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23895 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23896 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23897 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23898 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23899 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23900 * manual/math.texi (Mathematics): Document support for _Float64x.
23901 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23902 * stdlib/Versions (GLIBC_2.27): Likewise.
23903 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23904 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23905 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23906 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23907 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23908 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23909 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23910 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23911 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23912 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23913 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23914 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23916 Likewise.
23917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23918 Likewise.
23919 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23920 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23921 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23922 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23923 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23924 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23925 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23926 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23927 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23928 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23929 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23930 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23931 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23932 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23933
c2c299fd
AS
239342017-11-27 Andreas Schwab <schwab@suse.de>
23935
23936 * elf/Makefile (dl-routines): Add dl-sort-maps.
23937 * elf/dl-sort-maps.c: New file.
23938 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23939 (_dl_sort_maps): Declare.
23940 * elf/dl-fini.c (_dl_sort_fini): Remove.
23941 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23942 * elf/dl-close.c (_dl_close_worker): Likewise.
23943 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
23944 open-coding it.
23945 * elf/dl-open.c (dl_open_worker): Likewise.
23946
9d4b0117
JM
239472017-11-24 Joseph Myers <joseph@codesourcery.com>
23948
de61465c
JM
23949 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
23950 using libm_alias_float128.
23951 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
23952 Likewise.
23953 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
23954 Likewise.
23955 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
23956 (setpayloadsigf128): Likewise.
23957 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
23958 Likewise.
23959 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
23960 Likewise.
23961
9ae6d171
JM
23962 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
23963 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
23964 -mfloat128 to CFLAGS.
23965 ($(foreach
23966 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
23967 Likewise.
23968 (CFLAGS-libm-test-support-float64x.c): New variable.
23969 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
23970 $(f128-loader-link) to gnulib-tests.
23971
6e70d156
JM
23972 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
23973 (libm_alias_float128_other_r): If
23974 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
23975 alias.
23976 (libm_alias_float128_r): Add semicolon after weak_alias call.
23977 * sysdeps/generic/libm-alias-ldouble.h
23978 (libm_alias_ldouble_other_r_f128): New macro.
23979 (libm_alias_ldouble_other_r_f64x): Likewise.
23980 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23981 and libm_alias_ldouble_other_r_f64x.
23982 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
23983 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
23984 (libm_alias_ldouble_other_r_f128): New macro.
23985 (libm_alias_ldouble_other_r_f64x): Likewise.
23986 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
23987 and libm_alias_ldouble_other_r_f64x.
23988
df2806cd
JM
23989 * stdlib/strfroml.c: Always include <stdlib.h>.
23990 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
23991 undefine as macro and define as weak alias.
23992 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
23993 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
23994 <stdlib.h>.
23995 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
23996 Define and later undefine as macro and define as weak alias.
23997
0df4fe35
JM
23998 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
23999 Define and later undefine as macro. Define as weak alias if
24000 [!USE_WIDE_CHAR].
24001 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24002 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24003 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24004 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24005 Define and later undefine as macro. Define as weak alias if
24006 [!USE_WIDE_CHAR].
24007 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24008 Define and later undefine as macro. Define as weak alias if
24009 [USE_WIDE_CHAR].
24010 * sysdeps/ieee754/float128/strtof128_l.c
24011 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24012 Define and later undefine as macro. Define as weak alias if
24013 [!USE_WIDE_CHAR].
24014 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24015 Define and later undefine as macro. Define as weak alias if
24016 [USE_WIDE_CHAR].
24017 * sysdeps/ieee754/ldbl-128/strtold_l.c
24018 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24019 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24020 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24021 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24022 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24023 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24024 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24025 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24026 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24027 * sysdeps/ieee754/ldbl-96/strtold_l.c
24028 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24029 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24030 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24031 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24032
ae7207d0
JM
24033 * math/test-float64x.h: New file.
24034 * math/Makefile (type-float64x-yes): New variable.
24035 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24036
9596fc69
JM
24037 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24038 function-like macro.
24039 (min_of_type_): Likewise.
24040 (min_of_type_l): Likewise.
24041 (min_of_type_f128): Likewise.
24042 (min_of_type): Pass () as last argument of __MATH_TG.
24043
46453c3c
JM
24044 * stdlib/tst-strtod-round-skeleton.c
24045 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24046 headers.
24047
01e659e7
JM
24048 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24049 for combinations of long double with _Float64 and _Float64x.
24050
5c60afdd
JM
24051 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24052 (__DECL_SIMD_cosf32): Likewise.
24053 (__DECL_SIMD_cosf64): Likewise.
24054 (__DECL_SIMD_cosf32x): Likewise.
24055 (__DECL_SIMD_cosf64x): Likewise.
24056 (__DECL_SIMD_cosf128x): Likewise.
24057 (__DECL_SIMD_sinf16): Likewise.
24058 (__DECL_SIMD_sinf32): Likewise.
24059 (__DECL_SIMD_sinf64): Likewise.
24060 (__DECL_SIMD_sinf32x): Likewise.
24061 (__DECL_SIMD_sinf64x): Likewise.
24062 (__DECL_SIMD_sinf128x): Likewise.
24063 (__DECL_SIMD_sincosf16): Likewise.
24064 (__DECL_SIMD_sincosf32): Likewise.
24065 (__DECL_SIMD_sincosf64): Likewise.
24066 (__DECL_SIMD_sincosf32x): Likewise.
24067 (__DECL_SIMD_sincosf64x): Likewise.
24068 (__DECL_SIMD_sincosf128x): Likewise.
24069 (__DECL_SIMD_logf16): Likewise.
24070 (__DECL_SIMD_logf32): Likewise.
24071 (__DECL_SIMD_logf64): Likewise.
24072 (__DECL_SIMD_logf32x): Likewise.
24073 (__DECL_SIMD_logf64x): Likewise.
24074 (__DECL_SIMD_logf128x): Likewise.
24075 (__DECL_SIMD_expf16): Likewise.
24076 (__DECL_SIMD_expf32): Likewise.
24077 (__DECL_SIMD_expf64): Likewise.
24078 (__DECL_SIMD_expf32x): Likewise.
24079 (__DECL_SIMD_expf64x): Likewise.
24080 (__DECL_SIMD_expf128x): Likewise.
24081 (__DECL_SIMD_powf16): Likewise.
24082 (__DECL_SIMD_powf32): Likewise.
24083 (__DECL_SIMD_powf64): Likewise.
24084 (__DECL_SIMD_powf32x): Likewise.
24085 (__DECL_SIMD_powf64x): Likewise.
24086 (__DECL_SIMD_powf128x): Likewise.
24087
9d4b0117
JM
24088 * stdlib/Versions (libc): Move entries for wcstof128 and
24089 wcstof128_l to ....
24090 * wcsmbs/Versions (libc): ... here.
24091 Include <float128-abi.h>.
24092
7911dd47
FW
240932017-11-24 Florian Weimer <fweimer@redhat.com>
24094
24095 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24096 bits/mman-shared.h.
24097 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24098 <bits/mman-shared.h>.
24099 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24100 to ...
24101 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24102 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24103 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24104 <bits/mman-shared.h>.
24105
c45d78aa
AZ
241062017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24107
24108 [BZ #22457]
24109 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24110 posix_memalign/free.
24111 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24112
3ffc4cc1
MF
241132017-11-22 Mike FABIAN <mfabian@redhat.com>
24114
24115 [BZ #22469]
24116 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24117 and implement the collation rules for pl from CLDR on top of that.
24118 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24119 of locales to be built for testing.
24120 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24121
3a327316
JM
241222017-11-23 Joseph Myers <joseph@codesourcery.com>
24123
24124 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24125 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24126 libm_alias_ldouble_other.
24127 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24128 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24129 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24130 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24131 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24132 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24133 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24134 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24135 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24136 libm_alias_ldouble_r.
24137 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24138 libm_alias_ldouble_other.
24139 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24140 (log10l): Likewise.
24141 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24142 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24143 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24144 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24145 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24146 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24147 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24148 (atan2l): Likewise.
24149 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24150 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24151 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24152 libm_alias_ldouble.
24153 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24154 (cosl): Likewise.
24155 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24156 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24157 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24158 (expl): Likewise.
24159 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24160 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24161 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24162 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24163 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24164 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24165 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24166 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24167 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24168 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24169 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24170 libm_alias_ldouble.
24171 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24172 libm_alias_ldouble_other.
24173 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24174 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24175 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24176 libm_alias_ldouble.
24177 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24178 libm_alias_ldouble_other.
24179 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24180 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24181 * sysdeps/ia64/fpu/w_lgammal_main.c
24182 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24183 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24184
0a947e06
FW
241852017-11-23 Florian Weimer <fweimer@redhat.com>
24186
24187 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24188 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24189 alike. Remove freeres marker.
24190 * malloc/arena.c (arena_thread_freeres): Call
24191 tcache_thread_shutdown.
24192
67f36c79
FW
241932017-11-23 Florian Weimer <fweimer@redhat.com>
24194
24195 [BZ #22459]
24196 Export nscd hash function as __nss_hash.
24197 * include/nss.h (__nss_hash): Declare.
24198 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24199 symbol.
24200 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24201 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24202 of __nscd_hash.
24203 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24204 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24205 * nss/Makefiles (routines): Add nss_hash.
24206 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24207 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24208 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24209 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24210
cccb6d4e
FW
242112017-11-23 Florian Weimer <fweimer@redhat.com>
24212
24213 [BZ #22478]
24214 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24215 Return error code, not -1.
24216 * signal/tst-sigwait-eintr.c: New file.
24217 * signal/Makefile (tests): Add tst-sigwait-eintr.
24218
59d2cbb1
FW
242192017-11-23 Florian Weimer <fweimer@redhat.com>
24220
24221 Linux: Add memfd_create system call wrapper
24222 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24223 tst-memfd_create.
24224 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24225 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24226 [__USE_GNU] (memfd_create): Declare.
24227 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24228 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24229 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24230 * sysdeps/unix/sysv/linux/**.abilist: Update.
24231 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24232
a90d1ac2
JM
242332017-11-22 Joseph Myers <joseph@codesourcery.com>
24234
0a9d1d62
JM
24235 * localedata/gen-locale.sh: Fix typo in variable name.
24236
754034c4
JM
24237 * resolv/res_debug.c (p_secstodate): Condition definition on
24238 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24239 directly as __p_secstodate, and as a compat symbol. Do not use
24240 libresolv_hidden_def.
24241 * resolv/resolv.h (p_secstodate): Remove macro and function
24242 declaration.
24243 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24244 using p_secstodate.
24245 * include/resolv.h (__p_secstodate): Do not use
24246 libresolv_hidden_proto.
24247 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24248 (tests-internal): ... here.
24249 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24250 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24251 and declare and use __p_secstodate and use compat_symbol_reference
24252 in that case.
24253 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24254 implementation returning 77.
24255
f120cda6
JM
24256 [BZ #22463]
24257 * resolv/res_debug.c: Include <libc-diag.h>.
24258 (p_secstodate): Assert time_t at least as wide as u_long. On
24259 overflow, use integer seconds since the epoch as output, or use
24260 "<overflow>" as output and set errno to EOVERFLOW if integer
24261 seconds since the epoch would be 14 or more characters.
24262 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24263 for sprintf call.
24264 * resolv/tst-p_secstodate.c: New file.
24265 * resolv/Makefile (tests): Add tst-p_secstodate.
24266 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24267
a90d1ac2
JM
24268 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24269 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24270 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24271
0285e6bd
PE
242722017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24273
24274 * posix/regcomp.c (init_word_char): Add comments.
24275
4bae6150
JM
242762017-11-22 Joseph Myers <joseph@codesourcery.com>
24277
24278 [BZ #22447]
24279 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24280 strlen to compute length of ut_user and set trailing NUL byte of
24281 result explicitly.
24282
4b7af5fc
MF
242832017-11-21 Mike FABIAN <mfabian@redhat.com>
24284
24285 [BZ #15537]
24286 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24287 using “copy "iso14651_t1"” and then implementing the
24288 collation rules for lv from CLDR on top of that.
24289 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24290 of locales to be built for testing.
24291 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24292 sorting.
24293
922bb78c
JM
242942017-11-21 Joseph Myers <joseph@codesourcery.com>
24295
24296 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24297 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24298 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24299 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24300 [__USE_MISC] (MADV_HWPOISON): New macro.
24301 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24302
a3aaa598
AZ
243032017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24304
24305 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24306 -Wmissing-braces on GCC 4.9.
24307
8beba15d
SL
243082017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24309
24310 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24311 * sysdeps/s390/s390-32/start.S (_start): Likewise
24312 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24313 (thread_start): Likewise.
24314 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24315 (thread_start): Likewise.
24316 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24317 (__makecontext_ret): Likewise.
24318 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24319 (__makecontext_ret): Likewise.
24320
80eb52e3
SL
243212017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24322
24323 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24324 __wcschrnul): Remove attribute_hidden.
24325
567d8c1f
PE
243262017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24327
24328 regex: don't assume uint64_t or uint32_t
24329 This avoids -Werror=overflow errors for 32-bit systems in
24330 the 64-bit case. Problem reported by Joseph Myers in:
24331 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24332 Also, when this code is used in Gnulib it ports to platforms
24333 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24334 them, and on some 32-bit compilers there is no uint64_t.
24335 Problem reported by Gianluigi Tiesi in:
24336 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24337 * posix/regcomp.c (init_word_char): Don't assume that the types
24338 uint64_t and uint32_t exist. Adapted from Gnulib patch
24339 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24340 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24341
4d7632ff
SP
243422017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24343
5a67c4fa
SP
24344 * sysdeps/aarch64/memset-reg.h: New file.
24345 * sysdeps/aarch64/memset.S: Use it.
24346 (__memset): Rename to MEMSET macro.
24347 [ZVA_MACRO]: Use zva_macro.
24348 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24349 Add memset_generic and memset_falkor.
24350 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24351 (__libc_ifunc_impl_list): Add memset ifuncs.
24352 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24353 local variable zva_size.
24354 * sysdeps/aarch64/multiarch/memset.c: New file.
24355 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24356 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24357 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24358 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24359 (DCZID_DZP_MASK): New macro.
24360 (DCZID_BS_MASK): Likewise.
24361 (init_cpu_features): Read and set zva_size.
24362 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24363 (struct cpu_features): New member zva_size.
24364
eb332f9f
SP
24365 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24366 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24367 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24368
4d7632ff
SP
24369 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24370 backwards. Fix timing computation.
24371 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24372 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24373 on memset by N at a time. Fix timing computation.
24374
a465b89e
FW
243752017-11-20 Florian Weimer <fweimer@redhat.com>
24376
24377 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24378 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24379
0f74bbf5
FW
243802017-11-19 Florian Weimer <fweimer@redhat.com>
24381
24382 manual: Document mprotect
24383 * manual/memory.texi (Memory Protection): New section.
24384 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24385 documentation of PROT_* flags and reference the Memory Protection
24386 section instead.
24387
f6e965ee
FW
243882017-11-19 Florian Weimer <fweimer@redhat.com>
24389
24390 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24391 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24392 (Scatter-Gather): ... to here. Remove misleading comment.
24393
363e4519 243942017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
ea69a5c8 24395
5f9d1949
CB
24396 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24397 style.
24398
ea69a5c8
CB
24399 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24400 when /proc/<pid>/setgroups does not exist.
24401
8db7f48c
FW
244022017-11-18 Florian Weimer <fweimer@redhat.com>
24403
24404 * sysdeps/unix/sysv/linux/tst-ttyname.c
24405 (become_root_in_mount_ns): Remove.
24406 (do_in_chroot_1): Call support_enter_mount_namespace.
24407 (do_in_chroot_2): Likewise.
24408 (do_test): Call support_become_root early.
24409
273a0c49
FW
244102017-11-18 Florian Weimer <fweimer@redhat.com>
24411
24412 * support/namespace.h (support_enter_mount_namespace): Declare.
24413 * support/support_enter_mount_namespace.c: New file.
24414 * support/Makefile (libsupport-routines): Add
24415 support_enter_mount_namespace.
24416
8adfb0ee
FW
244172017-11-18 Florian Weimer <fweimer@redhat.com>
24418
24419 * support/temp_file.c (support_create_temp_directory): Use
24420 test_dir and do not rely on the presence of the XXXXXX suffix.
24421 * support/temp_file.h (support_create_temp_directory): Update
24422 comment.
24423 * support/tst-xreadlink.c (do_test): Adjust.
24424 * support/support_chroot.c (support_chroot_create): Likewise.
24425
df0c40ee
TMQMF
244262017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24427
24428 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24429 macro.
24430 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24431 htm-no-suspend.
24432
015c6dc2
JM
244332017-11-17 Joseph Myers <joseph@codesourcery.com>
24434
f58e5f48
JM
24435 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24436 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24437 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24438 (ceill): Define using libm_alias_ldouble.
24439 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24440 <libm-alias-ldouble.h>.
24441 (copysignl): Define using libm_alias_ldouble.
24442 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24443 (fabsl): Define using libm_alias_ldouble.
24444 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24445 (floorl): Define using libm_alias_ldouble.
24446 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24447 (fmaxl): Define using libm_alias_ldouble.
24448 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24449 (fminl): Define using libm_alias_ldouble.
24450 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24451 (llrintl): Define using libm_alias_ldouble.
24452 (lrintl): Likewise.
24453 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24454 <libm-alias-ldouble.h>.
24455 (nearbyintl): Define using libm_alias_ldouble.
24456 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24457 (truncl): Define using libm_alias_ldouble.
24458 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24459 <libm-alias-ldouble.h>.
24460 (lrintl): Define using libm_alias_ldouble.
24461
2ce30701
JM
24462 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24463 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24464 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24465 (asinhl): Define using libm_alias_ldouble.
24466 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24467 (atanl): Define using libm_alias_ldouble.
24468 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24469 (cbrtl): Define using libm_alias_ldouble.
24470 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24471 (ceill): Define using libm_alias_ldouble.
24472 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24473 (copysignl): Define using libm_alias_ldouble.
24474 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24475 (fabsl): Define using libm_alias_ldouble.
24476 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24477 (floorl): Define using libm_alias_ldouble.
24478 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24479 (fmaxl): Define using libm_alias_ldouble.
24480 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24481 (fminl): Define using libm_alias_ldouble.
24482 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24483 (frexpl): Define using libm_alias_ldouble.
24484 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24485 (llrintl): Define using libm_alias_ldouble.
24486 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24487 (logbl): Define using libm_alias_ldouble.
24488 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24489 (lrintl): Define using libm_alias_ldouble.
24490 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24491 (nearbyintl): Define using libm_alias_ldouble.
24492 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24493 (nextafterl): Define using libm_alias_ldouble.
24494 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24495 (remquol): Define using libm_alias_ldouble.
24496 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24497 (rintl): Define using libm_alias_ldouble.
24498 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24499 (truncl): Define using libm_alias_ldouble.
24500 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24501 (fmaxl): Define using libm_alias_ldouble.
24502 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24503 (fminl): Define using libm_alias_ldouble.
24504
015c6dc2
JM
24505 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24506 to C syntax instead of availability and properties of types.
24507 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24508 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24509 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24510 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24511 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24512 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24513
ce003e5d
FW
245142017-11-17 Florian Weimer <fweimer@redhat.com>
24515
24516 support_become_root: Enable file creation in namespaces.
24517 * support/support_become_root.c (setup_mapping): New function.
24518 (support_become_root): Call it.
24519
e7df6c5c
JM
245202017-11-17 Joseph Myers <joseph@codesourcery.com>
24521
24522 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24523 macro.
24524
58a813bf
AZ
245252017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24526
24527 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24528 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24529
f97773d1
JM
245302017-11-16 Joseph Myers <joseph@codesourcery.com>
24531
6a6aa1f3
JM
24532 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24533
f97773d1
JM
24534 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24535 version to 4.14.
24536
a306c790
SP
245372017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24538
7b0fb870
SP
24539 * INSTALL: Fix botched up regeneration.
24540
24541 * NEWS: Update sourceare link to https.
a306c790
SP
24542 * configure.ac: Likewise.
24543 * crypt/md5test-giant.c: Likewise.
24544 * dlfcn/bug-atexit1.c: Likewise.
24545 * dlfcn/bug-atexit2.c: Likewise.
24546 * localedata/README: Likewise.
24547 * malloc/tst-mallocfork.c: Likewise.
24548 * manual/install.texi: Likewise.
24549 * nptl/tst-pthread-getattr.c: Likewise.
24550 * stdio-common/tst-fgets.c: Likewise.
24551 * stdio-common/tst-fwrite.c: Likewise.
24552 * sunrpc/Makefile: Likewise.
24553 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24554 * wcsmbs/tst-mbrtowc2.c: Likewise.
7b0fb870
SP
24555 * configure: Regenerate.
24556 * INSTALL: Regenerate.
a306c790 24557
7532837d
MS
245582017-11-15 Martin Sebor <msebor@redhat.com>
24559
24560 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24561 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24562 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24563
495a56fd
LS
245642017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24565
d9611e30
LS
24566 [BZ #22145]
24567 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24568 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24569
a09dfc19
LS
24570 [BZ #22145]
24571 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24572 Defer is_pty check until end of the function.
24573 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24574
2fbce9c2
LS
24575 [BZ #22145]
24576 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24577 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24578 (ttyname): Likewise.
24579 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24580 (__ttyname_r): Likewise.
24581
d10d6cab
LS
24582 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24583 int to bool.
24584
9b5a8750
LS
24585 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24586
495a56fd
LS
24587 * manual/terminal.texi (Is It a Terminal):
24588 Mention ENODEV for ttyname and ttyname_r.
24589
fa680dc6
JM
245902017-11-15 Joseph Myers <joseph@codesourcery.com>
24591
78cde19f
JM
24592 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24593 constant and macro.
24594
fa680dc6
JM
24595 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24596 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24597 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24598 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24599 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24600 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24601
ad4f43a2
AZ
246022017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24603
1ba1d8a4
AZ
24604 * signal/sigrelse.c (sigrelse): Optimize implementation.
24605
ad4f43a2
AZ
24606 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24607 (__sigpause): Rely on __sigsuspend to implement single thread
24608 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24609
d0212d42
JM
246102017-11-15 Joseph Myers <joseph@codesourcery.com>
24611
24612 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24613 kernel version to 4.14.
24614
2180fee1
SE
246152017-11-15 Steve Ellcey <sellcey@cavium.com>
24616
24617 [BZ #22442]
24618 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24619 Check if ifname is too long.
24620
cad7ca39
LS
246212017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24622
24623 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24624
58c9f659
MF
246252017-11-15 Mike FABIAN <mfabian@redhat.com>
24626
24627 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24628 was accidentally lost.
24629
0fa87c01
MF
246302017-11-15 Mike FABIAN <mfabian@redhat.com>
24631
24632 * localedata/locales/az_IR: Add standard copyright header.
24633
34eb4157
FW
246342017-11-15 Florian Weimer <fweimer@redhat.com>
24635
24636 [BZ #22439]
24637 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24638 not just the top one. Output a new "subheaps" statistic.
24639
7a9368a1
FW
246402017-11-15 Florian Weimer <fweimer@redhat.com>
24641
24642 [BZ #22408]
24643 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24644 under the per-arena lock.
24645 * malloc/Makefile (tests): Add tst-malloc_info.
24646 (tst-malloc_info): Link with libpthread.
24647 * malloc/tst-malloc_info.c: New file.
24648
be3a79a3
JM
246492017-11-15 Joseph Myers <joseph@codesourcery.com>
24650
24651 [BZ #21660]
24652 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24653 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24654 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24655 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24656 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24657 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24658 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24659 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24660 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24661 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24662 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24663 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24664 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24665 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24666 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24667 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24668 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24669 (__floating_type): Likewise.
24670 (__real_integer_type): Likewise.
24671 (__complex_integer_type): Likewise.
24672 (__expr_is_real): Likewise.
24673 (__tgmath_real_type_sub): Likewise.
24674 (__tgmath_real_type): Likewise.
24675 (__tgmath_complex_type_sub): Likewise.
24676 (__tgmath_complex_type): Likewise.
24677 (__TGMATH_F128): Likewise.
24678 (__TGMATH_CF128): Likewise.
24679 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24680 new macros.
24681 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24682 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24683 Likewise.
24684 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24685 Likewise.
24686 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24687 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24688 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24689 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24690 Likewise.
24691 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24692 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24693 Likewise.
24694 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24695 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24696 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24697 Likewise.
24698 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24699 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24700 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24701 (cimag): Likewise.
24702 (creal): Likewise.
24703
ec72135e
JM
247042017-11-14 Joseph Myers <joseph@codesourcery.com>
24705
2e64ec9c
JM
24706 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24707 for stpncpy calls for GCC 8.
24708 (test_strncat): Disable -Wstringop-truncation warning for strncat
24709 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24710 strncat call for GCC 7.
24711 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24712 calls for GCC 8.
24713 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24714 trailing NUL.
24715
ec72135e
JM
24716 * string/bug-strncat1.c: Include <libc-diag.h>.
24717 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24718
363e4519 247192017-11-13 Claude Paroz <claude@2xlibre.net>
a259f5d3
CP
24720
24721 [BZ #22387]
24722 * localedata/locales/aa_DJ: Improved readibility by replacing
24723 <Uxxxx> sequences in the ASCII printable range by their ASCII
24724 character equivalents.
24725 * localedata/locales/aa_ER: Likewise.
24726 * localedata/locales/aa_ER@saaho: Likewise.
24727 * localedata/locales/aa_ET: Likewise.
24728 * localedata/locales/af_ZA: Likewise.
24729 * localedata/locales/agr_PE: Likewise.
24730 * localedata/locales/ak_GH: Likewise.
24731 * localedata/locales/am_ET: Likewise.
24732 * localedata/locales/anp_IN: Likewise.
24733 * localedata/locales/ar_AE: Likewise.
24734 * localedata/locales/ar_BH: Likewise.
24735 * localedata/locales/ar_DZ: Likewise.
24736 * localedata/locales/ar_EG: Likewise.
24737 * localedata/locales/ar_IN: Likewise.
24738 * localedata/locales/ar_IQ: Likewise.
24739 * localedata/locales/ar_JO: Likewise.
24740 * localedata/locales/ar_KW: Likewise.
24741 * localedata/locales/ar_LB: Likewise.
24742 * localedata/locales/ar_LY: Likewise.
24743 * localedata/locales/ar_MA: Likewise.
24744 * localedata/locales/ar_OM: Likewise.
24745 * localedata/locales/ar_QA: Likewise.
24746 * localedata/locales/ar_SA: Likewise.
24747 * localedata/locales/ar_SD: Likewise.
24748 * localedata/locales/ar_SS: Likewise.
24749 * localedata/locales/ar_SY: Likewise.
24750 * localedata/locales/ar_TN: Likewise.
24751 * localedata/locales/ar_YE: Likewise.
24752 * localedata/locales/as_IN: Likewise.
24753 * localedata/locales/ast_ES: Likewise.
24754 * localedata/locales/ayc_PE: Likewise.
24755 * localedata/locales/az_AZ: Likewise.
24756 * localedata/locales/az_IR: Likewise.
24757 * localedata/locales/be_BY: Likewise.
24758 * localedata/locales/be_BY@latin: Likewise.
24759 * localedata/locales/bem_ZM: Likewise.
24760 * localedata/locales/ber_DZ: Likewise.
24761 * localedata/locales/ber_MA: Likewise.
24762 * localedata/locales/bg_BG: Likewise.
24763 * localedata/locales/bhb_IN: Likewise.
24764 * localedata/locales/bho_IN: Likewise.
24765 * localedata/locales/bi_VU: Likewise.
24766 * localedata/locales/bn_BD: Likewise.
24767 * localedata/locales/bn_IN: Likewise.
24768 * localedata/locales/bo_CN: Likewise.
24769 * localedata/locales/bo_IN: Likewise.
24770 * localedata/locales/br_FR: Likewise.
24771 * localedata/locales/brx_IN: Likewise.
24772 * localedata/locales/bs_BA: Likewise.
24773 * localedata/locales/byn_ER: Likewise.
24774 * localedata/locales/ca_AD: Likewise.
24775 * localedata/locales/ca_ES: Likewise.
24776 * localedata/locales/ca_FR: Likewise.
24777 * localedata/locales/ca_IT: Likewise.
24778 * localedata/locales/ce_RU: Likewise.
24779 * localedata/locales/chr_US: Likewise.
24780 * localedata/locales/cmn_TW: Likewise.
24781 * localedata/locales/crh_UA: Likewise.
24782 * localedata/locales/cs_CZ: Likewise.
24783 * localedata/locales/csb_PL: Likewise.
24784 * localedata/locales/cv_RU: Likewise.
24785 * localedata/locales/cy_GB: Likewise.
24786 * localedata/locales/da_DK: Likewise.
24787 * localedata/locales/de_AT: Likewise.
24788 * localedata/locales/de_BE: Likewise.
24789 * localedata/locales/de_CH: Likewise.
24790 * localedata/locales/de_DE: Likewise.
24791 * localedata/locales/de_IT: Likewise.
24792 * localedata/locales/de_LI: Likewise.
24793 * localedata/locales/de_LU: Likewise.
24794 * localedata/locales/doi_IN: Likewise.
24795 * localedata/locales/dv_MV: Likewise.
24796 * localedata/locales/dz_BT: Likewise.
24797 * localedata/locales/el_CY: Likewise.
24798 * localedata/locales/el_GR: Likewise.
24799 * localedata/locales/en_AG: Likewise.
24800 * localedata/locales/en_AU: Likewise.
24801 * localedata/locales/en_BW: Likewise.
24802 * localedata/locales/en_CA: Likewise.
24803 * localedata/locales/en_DK: Likewise.
24804 * localedata/locales/en_GB: Likewise.
24805 * localedata/locales/en_HK: Likewise.
24806 * localedata/locales/en_IE: Likewise.
24807 * localedata/locales/en_IL: Likewise.
24808 * localedata/locales/en_IN: Likewise.
24809 * localedata/locales/en_NG: Likewise.
24810 * localedata/locales/en_NZ: Likewise.
24811 * localedata/locales/en_PH: Likewise.
24812 * localedata/locales/en_SG: Likewise.
24813 * localedata/locales/en_US: Likewise.
24814 * localedata/locales/en_ZA: Likewise.
24815 * localedata/locales/en_ZM: Likewise.
24816 * localedata/locales/en_ZW: Likewise.
24817 * localedata/locales/eo: Likewise.
24818 * localedata/locales/es_AR: Likewise.
24819 * localedata/locales/es_BO: Likewise.
24820 * localedata/locales/es_CL: Likewise.
24821 * localedata/locales/es_CO: Likewise.
24822 * localedata/locales/es_CR: Likewise.
24823 * localedata/locales/es_CU: Likewise.
24824 * localedata/locales/es_DO: Likewise.
24825 * localedata/locales/es_EC: Likewise.
24826 * localedata/locales/es_ES: Likewise.
24827 * localedata/locales/es_GT: Likewise.
24828 * localedata/locales/es_HN: Likewise.
24829 * localedata/locales/es_MX: Likewise.
24830 * localedata/locales/es_NI: Likewise.
24831 * localedata/locales/es_PA: Likewise.
24832 * localedata/locales/es_PE: Likewise.
24833 * localedata/locales/es_PR: Likewise.
24834 * localedata/locales/es_PY: Likewise.
24835 * localedata/locales/es_SV: Likewise.
24836 * localedata/locales/es_US: Likewise.
24837 * localedata/locales/es_UY: Likewise.
24838 * localedata/locales/es_VE: Likewise.
24839 * localedata/locales/et_EE: Likewise.
24840 * localedata/locales/eu_ES: Likewise.
24841 * localedata/locales/eu_ES@euro: Likewise.
24842 * localedata/locales/fa_IR: Likewise.
24843 * localedata/locales/ff_SN: Likewise.
24844 * localedata/locales/fi_FI: Likewise.
24845 * localedata/locales/fil_PH: Likewise.
24846 * localedata/locales/fo_FO: Likewise.
24847 * localedata/locales/fr_BE: Likewise.
24848 * localedata/locales/fr_CA: Likewise.
24849 * localedata/locales/fr_CH: Likewise.
24850 * localedata/locales/fr_FR: Likewise.
24851 * localedata/locales/fr_LU: Likewise.
24852 * localedata/locales/fur_IT: Likewise.
24853 * localedata/locales/fy_DE: Likewise.
24854 * localedata/locales/fy_NL: Likewise.
24855 * localedata/locales/ga_IE: Likewise.
24856 * localedata/locales/gd_GB: Likewise.
24857 * localedata/locales/gez_ER: Likewise.
24858 * localedata/locales/gez_ET: Likewise.
24859 * localedata/locales/gl_ES: Likewise.
24860 * localedata/locales/gu_IN: Likewise.
24861 * localedata/locales/gv_GB: Likewise.
24862 * localedata/locales/ha_NG: Likewise.
24863 * localedata/locales/hak_TW: Likewise.
24864 * localedata/locales/he_IL: Likewise.
24865 * localedata/locales/hi_IN: Likewise.
24866 * localedata/locales/hif_FJ: Likewise.
24867 * localedata/locales/hne_IN: Likewise.
24868 * localedata/locales/hr_HR: Likewise.
24869 * localedata/locales/hsb_DE: Likewise.
24870 * localedata/locales/ht_HT: Likewise.
24871 * localedata/locales/hu_HU: Likewise.
24872 * localedata/locales/hy_AM: Likewise.
24873 * localedata/locales/i18n: Likewise.
24874 * localedata/locales/ia_FR: Likewise.
24875 * localedata/locales/id_ID: Likewise.
24876 * localedata/locales/ig_NG: Likewise.
24877 * localedata/locales/ik_CA: Likewise.
24878 * localedata/locales/is_IS: Likewise.
24879 * localedata/locales/it_CH: Likewise.
24880 * localedata/locales/it_IT: Likewise.
24881 * localedata/locales/iu_CA: Likewise.
24882 * localedata/locales/ja_JP: Likewise.
24883 * localedata/locales/ka_GE: Likewise.
24884 * localedata/locales/kk_KZ: Likewise.
24885 * localedata/locales/kl_GL: Likewise.
24886 * localedata/locales/kn_IN: Likewise.
24887 * localedata/locales/ko_KR: Likewise.
24888 * localedata/locales/kok_IN: Likewise.
24889 * localedata/locales/ks_IN: Likewise.
24890 * localedata/locales/ks_IN@devanagari: Likewise.
24891 * localedata/locales/ku_TR: Likewise.
24892 * localedata/locales/kw_GB: Likewise.
24893 * localedata/locales/ky_KG: Likewise.
24894 * localedata/locales/lb_LU: Likewise.
24895 * localedata/locales/lg_UG: Likewise.
24896 * localedata/locales/li_BE: Likewise.
24897 * localedata/locales/li_NL: Likewise.
24898 * localedata/locales/lij_IT: Likewise.
24899 * localedata/locales/ln_CD: Likewise.
24900 * localedata/locales/lo_LA: Likewise.
24901 * localedata/locales/lt_LT: Likewise.
24902 * localedata/locales/lv_LV: Likewise.
24903 * localedata/locales/lzh_TW: Likewise.
24904 * localedata/locales/mag_IN: Likewise.
24905 * localedata/locales/mai_IN: Likewise.
24906 * localedata/locales/mg_MG: Likewise.
24907 * localedata/locales/mhr_RU: Likewise.
24908 * localedata/locales/mi_NZ: Likewise.
24909 * localedata/locales/mk_MK: Likewise.
24910 * localedata/locales/ml_IN: Likewise.
24911 * localedata/locales/mn_MN: Likewise.
24912 * localedata/locales/mni_IN: Likewise.
24913 * localedata/locales/mr_IN: Likewise.
24914 * localedata/locales/ms_MY: Likewise.
24915 * localedata/locales/mt_MT: Likewise.
24916 * localedata/locales/my_MM: Likewise.
24917 * localedata/locales/nan_TW: Likewise.
24918 * localedata/locales/nan_TW@latin: Likewise.
24919 * localedata/locales/nb_NO: Likewise.
24920 * localedata/locales/nds_DE: Likewise.
24921 * localedata/locales/nds_NL: Likewise.
24922 * localedata/locales/ne_NP: Likewise.
24923 * localedata/locales/nhn_MX: Likewise.
24924 * localedata/locales/niu_NU: Likewise.
24925 * localedata/locales/niu_NZ: Likewise.
24926 * localedata/locales/nl_AW: Likewise.
24927 * localedata/locales/nl_BE: Likewise.
24928 * localedata/locales/nl_NL: Likewise.
24929 * localedata/locales/nn_NO: Likewise.
24930 * localedata/locales/nr_ZA: Likewise.
24931 * localedata/locales/nso_ZA: Likewise.
24932 * localedata/locales/oc_FR: Likewise.
24933 * localedata/locales/om_ET: Likewise.
24934 * localedata/locales/om_KE: Likewise.
24935 * localedata/locales/or_IN: Likewise.
24936 * localedata/locales/os_RU: Likewise.
24937 * localedata/locales/pa_IN: Likewise.
24938 * localedata/locales/pa_PK: Likewise.
24939 * localedata/locales/pap_AW: Likewise.
24940 * localedata/locales/pap_CW: Likewise.
24941 * localedata/locales/pl_PL: Likewise.
24942 * localedata/locales/ps_AF: Likewise.
24943 * localedata/locales/pt_BR: Likewise.
24944 * localedata/locales/pt_PT: Likewise.
24945 * localedata/locales/quz_PE: Likewise.
24946 * localedata/locales/raj_IN: Likewise.
24947 * localedata/locales/ro_RO: Likewise.
24948 * localedata/locales/ru_RU: Likewise.
24949 * localedata/locales/ru_UA: Likewise.
24950 * localedata/locales/rw_RW: Likewise.
24951 * localedata/locales/sa_IN: Likewise.
24952 * localedata/locales/sat_IN: Likewise.
24953 * localedata/locales/sc_IT: Likewise.
24954 * localedata/locales/sd_IN: Likewise.
24955 * localedata/locales/sd_IN@devanagari: Likewise.
24956 * localedata/locales/se_NO: Likewise.
24957 * localedata/locales/sgs_LT: Likewise.
24958 * localedata/locales/shs_CA: Likewise.
24959 * localedata/locales/si_LK: Likewise.
24960 * localedata/locales/sid_ET: Likewise.
24961 * localedata/locales/sk_SK: Likewise.
24962 * localedata/locales/sl_SI: Likewise.
24963 * localedata/locales/sm_WS: Likewise.
24964 * localedata/locales/so_DJ: Likewise.
24965 * localedata/locales/so_ET: Likewise.
24966 * localedata/locales/so_KE: Likewise.
24967 * localedata/locales/so_SO: Likewise.
24968 * localedata/locales/sq_AL: Likewise.
24969 * localedata/locales/sq_MK: Likewise.
24970 * localedata/locales/sr_ME: Likewise.
24971 * localedata/locales/sr_RS: Likewise.
24972 * localedata/locales/sr_RS@latin: Likewise.
24973 * localedata/locales/ss_ZA: Likewise.
24974 * localedata/locales/st_ZA: Likewise.
24975 * localedata/locales/sv_FI: Likewise.
24976 * localedata/locales/sv_SE: Likewise.
24977 * localedata/locales/sw_KE: Likewise.
24978 * localedata/locales/sw_TZ: Likewise.
24979 * localedata/locales/szl_PL: Likewise.
24980 * localedata/locales/ta_IN: Likewise.
24981 * localedata/locales/ta_LK: Likewise.
24982 * localedata/locales/tcy_IN: Likewise.
24983 * localedata/locales/te_IN: Likewise.
24984 * localedata/locales/tg_TJ: Likewise.
24985 * localedata/locales/th_TH: Likewise.
24986 * localedata/locales/the_NP: Likewise.
24987 * localedata/locales/ti_ER: Likewise.
24988 * localedata/locales/ti_ET: Likewise.
24989 * localedata/locales/tig_ER: Likewise.
24990 * localedata/locales/tk_TM: Likewise.
24991 * localedata/locales/tl_PH: Likewise.
24992 * localedata/locales/tn_ZA: Likewise.
24993 * localedata/locales/to_TO: Likewise.
24994 * localedata/locales/tpi_PG: Likewise.
24995 * localedata/locales/tr_CY: Likewise.
24996 * localedata/locales/tr_TR: Likewise.
24997 * localedata/locales/ts_ZA: Likewise.
24998 * localedata/locales/tt_RU: Likewise.
24999 * localedata/locales/tt_RU@iqtelif: Likewise.
25000 * localedata/locales/ug_CN: Likewise.
25001 * localedata/locales/uk_UA: Likewise.
25002 * localedata/locales/unm_US: Likewise.
25003 * localedata/locales/ur_IN: Likewise.
25004 * localedata/locales/ur_PK: Likewise.
25005 * localedata/locales/uz_UZ: Likewise.
25006 * localedata/locales/uz_UZ@cyrillic: Likewise.
25007 * localedata/locales/ve_ZA: Likewise.
25008 * localedata/locales/vi_VN: Likewise.
25009 * localedata/locales/wa_BE: Likewise.
25010 * localedata/locales/wae_CH: Likewise.
25011 * localedata/locales/wal_ET: Likewise.
25012 * localedata/locales/wo_SN: Likewise.
25013 * localedata/locales/xh_ZA: Likewise.
25014 * localedata/locales/yi_US: Likewise.
25015 * localedata/locales/yo_NG: Likewise.
25016 * localedata/locales/yue_HK: Likewise.
25017 * localedata/locales/yuw_PG: Likewise.
25018 * localedata/locales/zh_CN: Likewise.
25019 * localedata/locales/zh_HK: Likewise.
25020 * localedata/locales/zh_SG: Likewise.
25021 * localedata/locales/zh_TW: Likewise.
25022 * localedata/locales/zu_ZA: Likewise.
25023
cae87e64
FW
250242017-11-13 Florian Weimer <fweimer@redhat.com>
25025
25026 * support/next_to_fault.h, support/next_to_fault.c: New files.
25027 * support/Makefile (libsupport-routines): Add next_to_fault.
25028 * resolv/tst-inet_pton.c (struct next_to_fault)
25029 (next_to_fault_allocate, next_to_fault_free): Remove.
25030 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25031
4a306ef1
L
250322017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25033
25034 * elf/dl-support.c: Include <dl-procruntime.c>.
25035 * include/link.h: Include <link_map.h>.
25036 * sysdeps/generic/dl-procruntime.c: New file.
25037 * sysdeps/generic/link_map.h: Likewise.
25038 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25039 the writable ld.so namespace.
25040
e69897bf
PE
250412017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25042
25043 timezone: pacify GCC -Wstringop-truncation
25044 Problem reported by Martin Sebor in:
25045 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25046 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25047
1ffe1ccb
FW
250482017-11-12 Florian Weimer <fweimer@redhat.com>
25049
eceed671
FW
25050 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25051 tst-xreadlink.
25052 (tests): Add tst-xreadlink.
1ffe1ccb
FW
25053 * support/support.h (xstrndup): Declare.
25054 * support/xunistd.h (xunlink, xreadlink): Declare.
25055 * support/temp_file.h (support_create_temp_directory): Declare.
25056 * support/temp_file.c (support_create_temp_directory): New function.
25057 * support/support_chroot.c (support_chroot_create): Use it.
25058 * support/xreadlink.c: New file.
25059 * support/xstrndup.c: Likewise.
25060 * support/xunlink.c: Likewise.
25061 * support/tst-xreadlink.c: Likewise.
25062
456b40a9
JDA
250632017-11-11 John David Anglin <danglin@gcc.gnu.org>
25064
25065 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25066
c0a25aa9
FW
250672017-11-11 Florian Weimer <fweimer@redhat.com>
25068
25069 [BZ #22409]
25070 [BZ #22412]
25071 * resolv/res_comp.c (printable_string, binary_hnok)
25072 (binary_leading_dash): New functions.
25073 (res_hnok): Reimplement using these functions and ns_name_pton.
25074 (res_ownok): Likewise.
25075 (res_mailok): Reimplement using printable_string, ns_name_pton and
25076 binary_hnok.
25077 (res_dnok): Reimplement using printable_string and ns_name_pton.
25078 * resolv/tst-res_hnok.c (tests): Add additional tests.
25079 (LETTERDIGITS, PRINTABLE): Define.
25080 (do_test): Adjust one_char results.
25081
9e0ad304
FW
250822017-11-11 Florian Weimer <fweimer@redhat.com>
25083
25084 [BZ #22413]
25085 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25086 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25087
e2a9fca8
FW
250882017-11-11 Florian Weimer <fweimer@redhat.com>
25089
25090 * resolv/tst-ns_name_pton.c: New file.
25091 * resolv/Makefile (tests): Add tst-ns_name_pton.
25092 (tst-ns_name_pton): Link against libresolv.
25093
5c1a6923
FW
250942017-11-11 Florian Weimer <fweimer@redhat.com>
25095
25096 * resolv/tst-res_hnok.c: New file.
25097 * resolv/Makefile (tests): Add tst-res_hnok.
25098 (tst-res_hnok): Link against libresolv.
25099
a19c0a1d
FW
251002017-11-11 Florian Weimer <fweimer@redhat.com>
25101
25102 * resolv/tst-resolv-network.c: Use test framework instead explicit
25103 main function.
25104
8cb5295d
L
251052017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25106
25107 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25108 <jmp_buf-macros.h>.
25109 [!_ISOMAC] (STR_HELPER): New.
25110 [!_ISOMAC] (STR): Likewise.
25111 [!_ISOMAC] (TEST_SIZE): Likewise.
25112 [!_ISOMAC] (TEST_ALIGN): Likewise.
25113 [!_ISOMAC] (TEST_OFFSET): Likewise.
25114 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25115 field offsets of jmp_buf as well as sigjmp_buf.
25116 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25117 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25118 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25119 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25120 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25121 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25122 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25123 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25124 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25125 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25126 Likewise.
25127 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25128 Likewise.
25129 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25131 Likewise.
25132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25133 Likewise.
25134 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25135 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25136 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25137 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25138 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25140 Likewise.
25141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25142 Likewise.
25143 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25144 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25145 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25146
58c4a161
JM
251472017-11-07 Joseph Myers <joseph@codesourcery.com>
25148
3683b423
JM
25149 * include/float.h
25150 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25151 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25152 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25153 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25154 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25155 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25156 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25157 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25158 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25159 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25160 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25161 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25162 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25163 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25164 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25165 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25166 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25167 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25168 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25169 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25170 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25171 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25172 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25173 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25174 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25175 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25176 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25177 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25178 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25179 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25180 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25181 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25182 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25183 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25184 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25185 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25186 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25187 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25188 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25189 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25190 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25191 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25192 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25193 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25194 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25195 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25196 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25197 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25198 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25199 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25200 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25201 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25202 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25203 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25204 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25205 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25206 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25207 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25208 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25209 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25210 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25211 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25212 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25213 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25214 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25215 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25216 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25217 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25218 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25219 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25220 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25221 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25222 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25223 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25224 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25225 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25226 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25227 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25228 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25229 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25230 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25231 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25232 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25233 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25234 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25235 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25236 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25237 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25238
58c4a161
JM
25239 * stdlib/tst-strtod.h (F16): New macro.
25240 (F32): Likewise.
25241 (F64): Likewise.
25242 (F32X): Likewise.
25243 (F64X): Likewise.
25244 (F128X): Likewise.
25245 (IF_FLOAT16): Likewise.
25246 (IF_FLOAT32): Likewise.
25247 (IF_FLOAT64): Likewise.
25248 (IF_FLOAT32X): Likewise.
25249 (IF_FLOAT64X): Likewise.
25250 (IF_FLOAT128X): Likewise.
25251 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25252 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25253 (STRTOD_TEST_FOREACH): Likewise.
25254 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25255 (CHOOSE_f64): Likewise.
25256 (CHOOSE_f32x): Likewise.
25257 (CHOOSE_f64x): Likewise.
25258
feda96a1
AS
252592017-11-07 Andreas Schwab <schwab@suse.de>
25260
25261 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25262
1bd0cbb8
MF
252632017-11-07 Mike FABIAN <mfabian@redhat.com>
25264
25265 [BZ #22403]
25266 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25267 to be escaped.
25268 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25269 to be escaped.
25270
363e4519 252712017-11-07 Claude Paroz <claude@2xlibre.net>
d8301314
CP
25272
25273 [BZ #22403]
25274 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25275 to be escaped.
25276 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25277 to be escaped.
25278 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25279 to be escaped.
25280
dff91cd4
AZ
252812017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25282
06be6368
AZ
25283 [BZ #22298]
25284 * nptl/allocatestack.c (allocate_stack): Check if
25285 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25286 __PTHREAD_MUTEX_HAVE_PREV is defined.
25287 * nptl/descr.h (pthread): Likewise.
25288 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25289 Likewise.
25290 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25291 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25292 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25293 * sysdeps/nptl/bits/thread-shared-types.h
25294 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25295 defines.
25296 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25297 of __WORDSIZE for internal layout.
25298 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25299 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25300 instead of __WORDSIZE whether to use an union for __spins and __list
25301 fields.
25302 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25303 case.
25304 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25305 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25306 defines.
25307 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25308 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25309 Likewise.
25310 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25311 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25312 Likewise.
25313 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25314 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25315 Likewise.
25316 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25317 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25318 Likewise.
25319 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25320 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25321 Likewise.
25322 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25323 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25324 Likewise.
25325 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25326 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25327 Likewise.
25328 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25329 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25330 Likewise.
25331 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25332 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25333 Likewise.
25334 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25335 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25336 Likewise.
25337 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25338 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25339 Likewise.
25340 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25341 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25342 Likewise.
25343 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25344 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25345 Likewise.
25346 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25347 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25348 Likewise.
25349
72b3c6ee
AZ
25350 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25351 New macros.
25352 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25353 checks for expected input type size.
25354 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25355 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25356 Likewise.
25357 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25358 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25359 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25360 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25361 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25362 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25363 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25364 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25365 superflous runtime assert check.
25366 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25367 Likewise.
25368 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25369 Likewise.
25370 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25371 Likewise.
25372 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25373 Likewise.
25374 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25375 Likewise.
25376 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25377 Likewise.
25378 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25379 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25380 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25381 Likewise.
25382 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25383 Likewise.
25384 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25385 Likewise.
25386 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25387 Likewise.
25388 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25389 Likewise.
25390 * nptl/pthread_attr_setinheritsched.c
25391 (__pthread_attr_setinheritsched): Likewise.
25392 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25393 Likewise.
25394 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25395 Likewise.
25396 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25397 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25398 __old_pthread_attr_setstack): Likewise.
25399 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25400 Likewise.
25401 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25402 Likewise.
25403 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25404 Likewise.
25405 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25406 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25407 Likewise.
25408 * nptl/tst-typesizes.c: Remove file.
25409
dff91cd4
AZ
25410 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25411 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25412 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25413 checks for internal pthread_mutex_t offsets.
25414 * sysdeps/aarch64/nptl/pthread-offsets.h
25415 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25416 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25417 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25418 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25419 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25420 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25421 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25422 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25423 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25424 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25425 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25426 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25427 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25428 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25429 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25430 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25431 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25432 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25433
b7fc95f8
FW
254342017-11-07 Florian Weimer <fweimer@redhat.com>
25435
25436 * bits/mman-linux.h: Move ...
25437 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25438 comment.
25439 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25440 outdated comment.
25441
6b860364
RS
254422017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25443
25444 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25445 Redefine STRNLEN as __strnlen_power8.
25446
802c1f16
AZ
254472017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25448
d83da3a4
AZ
25449 * signal/sighold.c (sighold): Optimize implementation.
25450
6a4235f1
AZ
25451 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25452 __NR_rt_sigqueueinfo.
25453
8b0e795a
AZ
25454 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25455 __sigtimedwait.
25456 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25457 assume __NR_rt_sigtimedwait.
25458 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25459 and add LIBC_CANCEL_HANDLED for cancellation marking.
25460 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25461
a1a638dd
AZ
25462 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25463 (sysdeps_routines): Add memchr_noneon.
25464 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25465 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25466 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25467 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25468 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25469 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25470 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25471
802c1f16
AZ
25472 * sysdeps/arm/arm-ifunc.h: New file.
25473 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25474 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25475 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25476 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25477 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25478 (__memcpy_neon): Avoid create hidden alias.
25479 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25480 (__memcpy_vfp): Likewise.
25481 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25482 (sysdep_routines): Add memcpy_arm.
25483 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25484
abcb584d
L
254852017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25486
25487 [BZ #22362]
25488 * Makerules (make-link-multidir): New.
25489 * config.make.in (multidir): New.
25490 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25491 * configure: Regenerated.
25492 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25493 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25494 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25495 New target.
25496
4e2dff67
JM
254972017-11-06 Joseph Myers <joseph@codesourcery.com>
25498
25499 [BZ #22402]
25500 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25501 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25502
a1c7cd3c
MF
255032017-11-04 Mike FABIAN <mfabian@redhat.com>
25504
25505 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25506 to be escaped.
25507
b9af29c0
FW
255082017-11-04 Florian Weimer <fweimer@redhat.com>
25509
25510 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25511
4ca70e1a
JM
255122017-11-03 Joseph Myers <joseph@codesourcery.com>
25513
25514 * math/math.h [__HAVE_DISTINCT_FLOAT16
25515 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25516 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25517 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25518 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25519 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25520 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25521 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25522 (__MATH_TG_F32): New macro.
25523 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25524 (__MATH_TG_F64X): Likewise.
25525 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25526 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25527
ba0e6668
DL
255282017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25529
25530 * po/de.po: Update translations.
25531 * po/ru.po: Likewise.
25532
bc18a6d3
FW
255332017-11-03 Florian Weimer <fweimer@redhat.com>
25534
25535 * manual/filesys.texi (Hard Links): Document linkat.
25536
97255170
JM
255372017-11-03 Joseph Myers <joseph@codesourcery.com>
25538
86ec4865
JM
25539 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25540 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25541 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25542 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25543 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25544 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25545 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25546 the same as _Float128.
25547 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25548 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25549 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25550
97255170
JM
25551 * stdlib/stdlib.h
25552 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25553 Declare.
25554 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25555 Likewise.
25556 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25557 Likewise.
25558 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25559 (strtof32x): Likewise.
25560 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25561 (strtof64x): Likewise.
25562 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25563 (strtof128x): Likewise.
25564 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25565 (strfromf16): Likewise.
25566 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25567 (strfromf32): Likewise.
25568 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25569 (strfromf64): Likewise.
25570 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25571 (strfromf32x): Likewise.
25572 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25573 (strfromf64x): Likewise.
25574 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25575 (strfromf128x): Likewise.
25576 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25577 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25578 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25579 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25580 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25581 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25582
6d58ce5e
RH
255832017-11-03 Richard Henderson <rth@twiddle.net>
25584
25585 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25586
659ca267
SN
255872017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25588
25589 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25590
94d2f0af
SN
255912017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25592
25593 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25594 DT_TLSDESC_GOT initialization.
25595 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25596 (_dl_tlsdesc_resolve_hold): Likewise.
25597 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25598 (_dl_tlsdesc_resolve_hold): Likewise.
25599 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25600 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25601
28e1ddf3
SN
256022017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25603
25604 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25605
0ca3d1d6
SN
256062017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25607
25608 [BZ #18572]
25609 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25610 non-lazily for R_ARM_TLS_DESC.
25611
2c1d4e5f
SN
256122017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25613
25614 [BZ #17078]
25615 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25616 R_ARM_TLS_DESC case.
25617 (elf_machine_lazy_rel): Remove the prelink check.
25618
91c5a366
SN
256192017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25620
25621 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25622 DT_TLSDESC_GOT initialization.
25623 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25624 (_dl_tlsdesc_resolve_rela): Likewise.
25625 (_dl_tlsdesc_resolve_hold): Likewise.
25626 (_dl_tlsdesc_undefweak): Remove ldar.
25627 (_dl_tlsdesc_dynamic): Likewise.
25628 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25629 (_dl_tlsdesc_resolve_rela): Likewise.
25630 (_dl_tlsdesc_resolve_hold): Likewise.
25631 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25632 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25633 (_dl_tlsdesc_resolve_rela): Likewise.
25634 (_dl_tlsdesc_resolve_hold): Likewise.
25635
b7cf203b
SN
256362017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25637
25638 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25639 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25640
0cc5b022
SN
256412017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25642
25643 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25644 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25645
43ddff2e
JM
256462017-11-02 Joseph Myers <joseph@codesourcery.com>
25647
25648 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25649 Declare.
25650 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25651 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25652 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25653 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25654 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25655 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25656 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25657 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25658 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25659 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25660 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25661
5baac970
MF
256622017-11-02 Mike FABIAN <mfabian@redhat.com>
25663
25664 [BZ #22382]
25665 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25666 * localedata/locales/tpi_PG: Add standard header.
25667
ef11081f
FW
256682017-11-02 Florian Weimer <fweimer@redhat.com>
25669
25670 test-errno-linux: quotactl can fail with EPERM in containers.
25671 * sysdeps/unix/sysv/linux/test-errno-linux.c
25672 (LIST, LIST_FORWARD): New macros.
25673 (check_error_in_list): New function.
25674 (test_wrp_rv): Accept list of permitted error codes.
25675 (test_wrp_rv2): Remove.
25676 (test_wrp): Call test_wrp_rv with list of error codes.
25677 (test_wrp2): Accept list of error codes.
25678 (do_test): Adjust. Allow EPERM for quotactl.
25679
d10b132b
FW
256802017-11-02 Florian Weimer <fweimer@redhat.com>
25681
25682 * stdio-common/bug16.c (do_test): Use array_length.
25683 * stdio-common/errlist.c (_sys_nerr): Likewise.
25684 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25685 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25686 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25687 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25688 (do_test): Use array_length.
25689 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25690 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25691 * stdio-common/tst-printf-round.c (do_test): Likewise.
25692 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25693 (CHECK): Use array_length.
25694 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25695 * stdio-common/tstscanf.c (main): Likewise.
25696 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25697
c94a5688
FW
256982017-11-02 Florian Weimer <fweimer@redhat.com>
25699
25700 Add array_length and array_end macros.
25701 * include/array_length.h: New file.
25702
2fac6a6c
FW
257032017-11-02 Florian Weimer <fweimer@redhat.com>
25704
25705 [BZ #22332]
25706 * posix/tst-glob-tilde.c (do_noescape): New variable.
25707 (one_test): Process it.
25708 (do_test): Set do_noescape. Add unescaping test case.
25709
2f1b212e
JM
257102017-11-01 Joseph Myers <joseph@codesourcery.com>
25711
260fbd0a
JM
25712 * math/complex.h
25713 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25714 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25715 with appropriate macros defined and undefined.
25716 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25717 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25718 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25719 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25720 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25721 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25722 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25723 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25724 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25725 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25726
2f1b212e
JM
25727 * math/complex.h
25728 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25729 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25730 that for long double. Do not condition define and undefine of
25731 _Mdouble_complex_ on [__CFLOAT128].
25732
95b93c6e
L
257332017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25734
25735 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25736 of <sysdeps/generic/sysdep.h>.
25737 (ALIGNARG): Removed.
25738 (ASM_SIZE_DIRECTIVE): Likewise.
25739 (ENTRY): Likewise.
25740 (END): Likewise.
25741 (ENTRY_CHK): Likewise.
25742 (END_CHK): Likewise.
25743 (syscall_error): Likewise.
25744 (mcount): Likewise.
25745 (PSEUDO_END): Likewise.
25746 (L): Likewise.
25747 (atom_text_section): Likewise.
25748 * sysdeps/x86/sysdep.h: New file.
25749 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25750 of <sysdeps/generic/sysdep.h>.
25751 (ALIGNARG): Removed.
25752 (ASM_SIZE_DIRECTIVE): Likewise.
25753 (ENTRY): Likewise.
25754 (END): Likewise.
25755 (ENTRY_CHK): Likewise.
25756 (END_CHK): Likewise.
25757 (syscall_error): Likewise.
25758 (mcount): Likewise.
25759 (PSEUDO_END): Likewise.
25760 (L): Likewise.
25761 (atom_text_section): Likewise.
25762
1bb36539
RL
257632017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25764
25765 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25766 category of LC_CTYPE set to "i18n:2012".
25767 * localedata/locales/i18n_ctype: Regenerate.
25768
067f5d97 257692017-10-31 Yury Norov <ynorov@caviumnetworks.com>
e8681faa 25770
87bbc4cf
YN
25771 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25772 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25773 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25774 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25775
e8681faa
YN
25776 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25777 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25778 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25779 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25780
540af6e2
JM
257812017-10-31 Joseph Myers <joseph@codesourcery.com>
25782
43e66283
JM
25783 * math/complex.h
25784 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25785 New macro.
25786 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25787 Likewise.
25788 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25789 Likewise.
25790 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25791 (CMPLXF32X): Likewise.
25792 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25793 (CMPLXF64X): Likewise.
25794 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25795 (CMPLXF128X): Likewise.
25796
540af6e2
JM
25797 * math/math.h
25798 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25799 (__MATH_EVAL_FMT2): Define to add 0.0f.
25800
58af72b4
AM
258012017-10-31 Alan Modra <amodra@gmail.com>
25802
25803 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25804 include sysdep.h.
25805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25808 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25810 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25812 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25819 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25820 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25821 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25822 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25823 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25824 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25825 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25827 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25828 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25829 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25830 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25831 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25832 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25833 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25834 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25835 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25836 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25837 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25838 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25839 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25840 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25841 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25842 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25843 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25844 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25845 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25846 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25847 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25848 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25849 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25850 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25851 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25852 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25853 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25854 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25855 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25856 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25857 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25858 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25859 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25860 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25861 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25862 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25863 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25865 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25869 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25872 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25874
25875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25876 include sysdep.h and math_ldbl_opt.h.
25877
25878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25879 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25882 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25885 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25888 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25898 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25903 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25904
112f30b3
AM
259052017-10-31 Alan Modra <amodra@gmail.com>
25906
25907 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25908 string/strncase_l.c, not string/strncase.c.
25909 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25910 (libc_hidden_def): Redefine.
25911
e9e7eced
AM
259122017-10-31 Alan Modra <amodra@gmail.com>
25913
25914 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25915 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25916 (__strcasecmp): Don't define.
25917
f7b465cf
AM
259182017-10-31 Alan Modra <amodra@gmail.com>
25919
25920 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25921 IS_IN (libc).
25922 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25925
d46b09f9
AM
259262017-10-31 Alan Modra <amodra@gmail.com>
25927
25928 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25929 USE_AS_STPNCPY.
25930
e9b8e194
AM
259312017-10-31 Alan Modra <amodra@gmail.com>
25932
25933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25934 Redefine only when SHARED.
25935
eda162dd
JM
259362017-10-30 Joseph Myers <joseph@codesourcery.com>
25937
b61afe8c
JM
25938 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25939 Include <bits/math-finite.h> with appropriate macros defined and
25940 undefined.
25941 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25942 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25943 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25944 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
25945 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
25946
eda162dd
JM
25947 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
25948 [!_Mlong_double_] (_Mlong_double_): Likewise.
25949 [!_Mfloat16_] (_Mfloat16_): Likewise.
25950 [!_Mfloat32_] (_Mfloat32_): Likewise.
25951 [!_Mfloat64_] (_Mfloat64_): Likewise.
25952 [!_Mfloat128_] (_Mfloat128_): Likewise.
25953 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
25954 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
25955 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
25956 (_Mdouble_): Define without indirection through those macros.
25957 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
25958 [!_Mfloat128_] (_Mfloat128_): Likewise.
25959 [_Mlong_double_] (_Mlong_double_): Likewise.
25960 (_Mdouble_): Define without indirection through those macros.
25961 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
25962 not add -D_Mlong_double_=double.
25963 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
25964 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
25965
4ad5106e
L
259662017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25967
25968 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
25969
fe326df7
L
259702017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25971
25972 * sysdeps/x86/libc-start.c: Reformat.
25973
c5cc4514
L
259742017-10-30 H.J. Lu <hongjiu.lu@intel.com>
25975
25976 [BZ #22353]
25977 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
25978 (1): Renamed to ...
25979 (L(Src0)): This.
25980 (L(Src1)): New.
25981 (L(Src2)): Likewise.
25982 (L(1)): Renamed to ...
25983 (L(Src3)): This.
25984
ce12269f
JM
259852017-10-30 Joseph Myers <joseph@codesourcery.com>
25986
25987 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
25988 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
25989 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
25990 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
25991 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
25992 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
25993 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
25994 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
25995 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
25996 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
25997 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
25998 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
25999 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26000 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26001 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26002 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26003 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26004 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26005 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26006 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26007 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26008 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26009 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26010 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26011 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26012 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26013 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26014 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26015 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26016 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26017 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26018 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26019 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26020 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26021 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26022 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26023 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26024 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26025 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26026 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26027 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26028 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26029 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26030 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26031 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26032 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26033 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26034 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26035 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26036 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26037 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26038 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26039 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26040 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26041 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26042 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26043 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26044 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26045 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26046 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26047 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26048 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26049 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26050 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26051 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26052 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26053
4484b9e2
FW
260542017-10-30 Florian Weimer <fweimer@redhat.com>
26055
26056 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26057 always defined.
26058 * io/tst-mkdirat.c (do_test): Likewise.
26059 * io/tst-mkfifoat.c (do_test): Likewise.
26060 * io/tst-mknodat.c (do_test): Likewise.
26061 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26062 * locale/programs/locale.c (select_dirs): Likewise.
26063 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26064 * posix/bug-glob2.c (my_readdir): Likewise.
26065 * posix/tst-dir.c (main): Likewise.
26066 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26067 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26068
68fe16dd
FW
260692017-10-30 Florian Weimer <fweimer@redhat.com>
26070
26071 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26072 just __USE_GNU.
26073
dadf23f0
FW
260742017-10-30 Florian Weimer <fweimer@redhat.com>
26075
26076 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26077 Convert to support/test-driver.c.
26078 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26079 New macro parameters.
26080 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26081 * posix/tst-gnuglob.c: New file.
26082 * posix/tst-gnuglob64.c: Likewise.
26083 * posix/Makefile (tests): Add tst-gnuglob64.
26084
363e4519 260852017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
fbcecc08
MF
26086
26087 [BZ #19485]
26088 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26089 and use a better translation for March in “mon”.
26090 * localedata/locales/csb_PL: Use more ASCII to improve the
26091 readability of the source.
26092
b110af82
MF
260932017-10-30 Mike FABIAN <mfabian@redhat.com>
26094
26095 [BZ #13953]
26096 * localedata/locales/km_KH: Use ASCII as much
26097 as possible for better readability of the source and
26098 remove useless comments.
26099 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26100 was commented out and apparently wrong anyway because it was
26101 using Lao characters. If Buddhist era should be used
26102 for km_KH, a native speaker should write the correct formaat
26103 for Khmer.
26104 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26105 (According to CLDR, the first weekday for Cambodia is Sunday).
26106 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26107 (These were using Lao characters which must be wrong. If we get
26108 the correct data from a native speaker, we could add it back, until
26109 then it is better not to have name_mr and name_mrs at all than
26110 having it wrong).
26111
f301e533
RL
261122017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26113
26114 * locale/loadlocale.c: Correct size of
26115 _nl_value_type_LC_<category> arrays.
26116
7e9d7073
JM
261172017-10-27 Joseph Myers <joseph@codesourcery.com>
26118
26119 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26120 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26121 with appropriate macros defined and undefined.
26122 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26123 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26124 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26125 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26126 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26127
63d3b468
L
261282017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26129
26130 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26131 "-O2 -march=i586".
26132
a4cc02c7
MF
261332017-10-27 Mike FABIAN <mfabian@redhat.com>
26134
26135 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26136 with lowercase letters to make it agree with CLDR.
26137
1e5971ec
MF
261382017-10-27 Mike FABIAN <mfabian@redhat.com>
26139
26140 [BZ #15260]
26141 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26142 first letters of yesstr and nostr in yesexpr and noexpr,
26143 not for the full words.
26144 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26145 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26146 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26147 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26148 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26149 first letters of yesstr and nostr in yesexpr and noexpr,
26150 until now only English was matched in yesexpr and noexpr.
26151 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26152 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26153 fil but not for tl. As tl and fil are very similar, using fil
26154 is probably better than using English.
26155
363e4519 261562017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
bc5fc7de
MF
26157
26158 [BZ #21706]
26159 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26160 in yesstr and nostr.
26161
5d220788
JM
261622017-10-26 Joseph Myers <joseph@codesourcery.com>
26163
ecc7da5b
JM
26164 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26165 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26166 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26167 Likewise.
26168 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26169 Likewise.
26170 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26171 Likewise.
26172 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26173 Likewise.
26174 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26175 (SNANF128X): Likewise.
26176
5d220788
JM
26177 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26178 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26179 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26180 (HUGE_VAL_F32): Likewise.
26181 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26182 (HUGE_VAL_F64): Likewise.
26183 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26184 (HUGE_VAL_F32X): Likewise.
26185 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26186 (HUGE_VAL_F64X): Likewise.
26187 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26188 (HUGE_VAL_F128X): Likewise.
26189
363e4519 261902017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
67ad7163
TV
26191
26192 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26193 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26194 for the br_FR locale.
26195
363e4519 261962017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
408dff7e
TV
26197
26198 [BZ #21706]
26199 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26200
337ff3c5
CD
262012017-10-25 Carlos O'Donell <carlos@redhat.com>
26202
02eec681
CD
26203 * locale/programs/record-status.h: Define globals, and function
26204 prototypes. Move function bodies...
26205 * locale/programs/record-status.c: ... to here. New file.
26206 * iconv/Makefile (iconv_prog-modules): Add record-status.
26207 * locale/Makefile (lib-modules): Likewise.
26208 * iconv/iconv_prog.c: Remove verbose.
26209 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26210 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26211 record a warning about ASCII compatibility.
26212 * locale/programs/ld-monetary.c (monetary_finish): If
26213 warn_int_curr_symbol is true then record a warning about the symbol
26214 not being in our ISO 4217 list.
26215 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26216 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26217 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26218 (OPT_NO_WARN): Define.
26219 (OPT_WARN): Define.
26220 (options): Add entry for --no-warnings, and --warnings.
26221 (set_warnings): New function to enable/disable warnings.
26222 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26223 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26224 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26225 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26226 Pass flags to generate_locale.
26227 (generate_locale): Accept new flag argument and pass it to localedef
26228 invocation.
26229 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26230 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26231
56fa555a
CD
26232 * localedata/Makefile (test-input-data): Use full file name.
26233 * localedata/da_DK.in: Rename to...
26234 * localedata/da_DK.ISO-8859-1.in: ...this.
26235 * localedata/de_DE.in: Rename to...
26236 * localedata/de_DE.ISO-8859-1.in: ...this.
26237 * localedata/en_US.in: Rename to...
26238 * localedata/en_US.ISO-8859-1.in: ...this.
26239 * localedata/fr_FR.in: Rename to...
26240 * localedata/fr_FR.UTF-8.in: ... this.
26241 * localedata/hr_HR.in: Rename to...
26242 * localedata/hr_HR.ISO-8859-2.in: ...this.
26243 * localedata/hu_HU.in: Rename to...
26244 * localedata/hu_HU.UTF-8.in: ...this.
26245 * localedata/si_LK.in: Rename to...
26246 * localedata/si_LK.UTF-8.in: ...this.
26247 * localedata/sv_SE.in: Rename to...
26248 * localedata/sv_SE.ISO-8859-1.in: ...this.
26249 * localedata/tr_TR.in: Rename to...
26250 * localedata/tr_TR.UTF-8.in: ...this.
26251 * localedata/uk_UA.in: Rename to...
26252 * localedata/uk_UA.UTF-8.in: ...this.
26253 * localedata/sort-test.sh: Test file is locale name with the
26254 suffix.
26255
337ff3c5
CD
26256 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26257 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26258 file.
26259 * localedata/locales/i18n_ctype: Regenerate.
26260 * localedata/locales/tr_TR: Likewise.
26261 * localedata/locales/translit_circle: Likewise.
26262 * localedata/locales/translit_cjk_compat: Likewise.
26263 * localedata/locales/translit_combining: Likewise.
26264 * localedata/locales/translit_compat: Likewise.
26265 * localedata/locales/translit_font: Likewise.
26266 * localedata/locales/translit_fraction: Likewise.
26267
63da5cd4
RS
262682017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26269
26270 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26271 lxvd2x/stxvd2x with lvx/stvx.
26272 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26273
a122dbfb
L
262742017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26275
26276 * include/alloc_buffer.h: Replace "if if " with "if " in
26277 comments.
26278 * sysdeps/mips/memcpy.S: Likkewise.
26279 * sysdeps/mips/memset.S: Likewise.
26280 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26281 Likewise.
26282 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26283 Likewise.
26284 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26285 Likewise.
26286
9be7530c
MF
262872017-10-25 Mike FABIAN <mfabian@redhat.com>
26288
26289 [BZ #15261]
26290 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26291 yesexpr and noexpr.
26292 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26293 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26294 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26295 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26296 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26297 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26298 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26299
6ccbf6ff
MF
263002017-10-25 Mike FABIAN <mfabian@redhat.com>
26301
26302 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26303 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26304 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26305 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26306 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26307 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26308 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26309 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26310 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26311 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26312 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26313 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26314
58b1a7ea
MF
263152017-10-25 Mike FABIAN <mfabian@redhat.com>
26316
26317 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26318 as possible for better readability of the source.
26319 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26320 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26321 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26322 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26323 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26324 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26325 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26326 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26327 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26328 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26329 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26330 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26331 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26332 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26333 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26334 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26335 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26336 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26337 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26338 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26339 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26340 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26341 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26342 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26343 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26344 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26345 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26346 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26347 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26348 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26349 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26350 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26351 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26352 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26353 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26354 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26355 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26356 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26357 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26358 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26359 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26360 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26361 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26362 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26363 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26364 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26365 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26366 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26367 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26368 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26369 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26370 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26371 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26372 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26373 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26374 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26375 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26376 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26377 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26378 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26379 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26380 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26381 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26382 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26383 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26384 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26385 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26386 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26387 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26388 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26389 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26390 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26391 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26392 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26393 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26394 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26395 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26396 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26397 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26398 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26399 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26400 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26401 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26402 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26403 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26404 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26405 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26406 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26407 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26408 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26409 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26410 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26411 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26412 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26413 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26414 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26415 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26416 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26417 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26418 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26419 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26420 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26421 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26422 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26423 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26424 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26425 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26426 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26427 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26428 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26429 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26430 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26431 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26432 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26433 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26434 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26435 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26436 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26437 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26438 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26439 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26440 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26441 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26442 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26443 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26444 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26445 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26446 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26447 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26448 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26449 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26450 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26451 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26452 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26453 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26454 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26455 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26456 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26457 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26458 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26459 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26460 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26461 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26462 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26463 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26464 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26465 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26466 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26467 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26468 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26469 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26470 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26471 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26472 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26473 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26474 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26475 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26476 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26477 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26478 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26479 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26480 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26481 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26482 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26483 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26484 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26485 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26486 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26487 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26488 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26489 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26490 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26491 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26492 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26493
17e78edb
MF
264942017-10-25 Mike FABIAN <mfabian@redhat.com>
26495
26496 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26497 (Use first letters of yesstr and nostr correctly instead of using
26498 full words).
26499
74e7284f
MF
265002017-10-25 Mike FABIAN <mfabian@redhat.com>
26501
26502 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26503 (Use first letters of yesstr and nostr correctly).
26504
b41a0ff1
MF
265052017-10-25 Mike FABIAN <mfabian@redhat.com>
26506
26507 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26508 also check for the first characters of yesstr and nostr.
26509 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26510 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26511
d971f380
MF
265122017-10-25 Mike FABIAN <mfabian@redhat.com>
26513
26514 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26515 also check for Chinese characters.
26516
effc9e1d
MF
265172017-10-25 Mike FABIAN <mfabian@redhat.com>
26518
26519 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26520 match also for the contents of yesstr and nostr. As the first letter
26521 of yesstr and nostr is equal, checking only for the first letter
26522 is not enough.
26523
10320881
MF
265242017-10-25 Mike FABIAN <mfabian@redhat.com>
26525
26526 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26527 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26528
d8682a15
MF
265292017-10-25 Mike FABIAN <mfabian@redhat.com>
26530
26531 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26532 of main contributor.
26533
1bfb86ae
MF
265342017-10-25 Mike FABIAN <mfabian@redhat.com>
26535
26536 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26537 instead of using English.
26538
da33d60b
MF
265392017-10-25 Mike FABIAN <mfabian@redhat.com>
26540
26541 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26542 by including the first letters of nostr and yesexpr in the regexp.
26543 Also make it more readable by using ASCII where possible.
26544
725bbb3e
MF
265452017-10-25 Mike FABIAN <mfabian@redhat.com>
26546
26547 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26548 the first letter of nostr in the regexp. It agrees with CLDR now.
26549 Also make it more readable by using ASCII where possible.
26550
fe043d8a
MF
265512017-10-24 Mike FABIAN <mfabian@redhat.com>
26552
26553 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26554 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26555 these strings contain a U+17D6 (which somewhat looks like a colon)
26556 instead of a real colon to separate the full words for “yes”
26557 and “no” from the single letter responses.
26558
360a8df3
MF
265592017-10-24 Mike FABIAN <mfabian@redhat.com>
26560
26561 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26562 it agree with CLDR (include the first letter of yesstr).
26563 Also make it more readable by using ASCII where possible.
26564
bab7b6b0
MF
265652017-10-24 Mike FABIAN <mfabian@redhat.com>
26566
26567 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26568 and improve yesexpr and noexpr. The yesstr and nostr apparently
26569 came from CLDR. And CLDR has a bug there: these strings contain
26570 a U+0903 (which looks like a colon) instead of a real colon
26571 to separate the full words for “yes” and “no” from the single
26572 letter responses.
26573
3e79f758
MF
265742017-10-24 Mike FABIAN <mfabian@redhat.com>
26575
26576 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26577 letters of the full yesstr and nostr in yesexpr and noexpr.
26578
4960c879
MF
265792017-10-24 Mike FABIAN <mfabian@redhat.com>
26580
26581 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26582 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26583 * localedata/locales/an_ES: Make source more readable by using ASCII
26584 where possible.
26585
b06a054f
MF
265862017-10-24 Mike FABIAN <mfabian@redhat.com>
26587
26588 [BZ #20952]
26589 * localedata/locales/yuw_PG: New file.
26590 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26591 * locale/iso-639.def: Add Yau (Uruwa).
26592
905a7725
WD
265932017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26594
26595 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26596
3f6bb8a3
WD
265972017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26598
26599 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26600 (__libc_realloc): Likewise.
26601 (_mid_memalign): Likewise.
26602 (__libc_calloc): Likewise.
26603
1d479c8c
MF
266042017-10-23 Mike FABIAN <mfabian@redhat.com>
26605
26606 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26607 by adding the generic +1 and -0 as in all other locales.
26608 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26609 day names and make it more readable by using ASCII where possible.
26610
91c3985c
JM
266112017-10-24 Joseph Myers <joseph@codesourcery.com>
26612
26613 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26614 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26615
aa95a241
AZ
266162017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26617
26618 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26619 WNOHANG in waitpid call.
26620
db9bab09
SP
266212017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26622
a2e0a7f1
SP
26623 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26624 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26625
db9bab09
SP
26626 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26627 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26628 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26629 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26630 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26631 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26632 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26633 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26634 variables.
26635
5062680c
MC
266362017-10-23 Michael Collison <michael.collison@arm.com>
26637
26638 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26639 with __builtin_sqrt.
26640 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26641 with __builtin_sqrtf.
26642 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26643 with __builtin_ceil.
26644 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26645 with __builtin_ceilf.
26646 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26647 with __builtin_floor.
26648 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26649 with __builtin_floorf.
26650 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26651 with __builtin_fma.
26652 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26653 with __builtin_fmaf.
26654 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26655 with __builtin_fmax.
26656 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26657 with __builtin_fmaxf.
26658 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26659 with __builtin_fmin.
26660 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26661 with __builtin_fminf.
26662 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26663 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26664 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26665 with builtin_rint and conversion to int.
26666 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26667 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26668 with builtin_llround.
26669 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26670 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26671 with builtin_rint and conversion to long int.
26672 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26673 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26674 with builtin_lround.
26675 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26676 with builtin_lroundf.
26677 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26678 statements with __builtin_nearbyint.
26679 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26680 statements with __builtin_nearbyintf.
26681 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26682 with __builtin_rint.
26683 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26684 with __builtin_rintf.
26685 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26686 with __builtin_round.
26687 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26688 with __builtin_roundf.
26689 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26690 with __builtin_trunc.
26691 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26692 with __builtin_truncf.
be080b6c
SN
26693 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26694 and s_l[l]round[f].c too.
5062680c 26695
174935af
AM
266962017-10-23 Alan Modra <amodra@gmail.com>
26697
26698 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26699 Adjust stack after restoring regs. Add missing LR cfi_restore.
26700
750a0e49
AM
267012017-10-23 Alan Modra <amodra@gmail.com>
26702
26703 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26704 Move LR save and frame setup/teardown and LR restore to
26705 immediately around memset call. Provide cfi.
26706
5313581c
L
267072017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26708
26709 * sysdeps/i386/fpu/e_powf.S: Removed.
26710 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26711 * sysdeps/i386/fpu/w_powf.c: Likewise.
26712 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26713 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26714 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26715 Add e_powf-sse2.
26716 (CFLAGS-e_powf-sse2.c): New.
26717 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26718 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26719
6089a3ee
L
267202017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26721
26722 * sysdeps/i386/fpu/e_log2f.S: Removed.
26723 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26724 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26725 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26726 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26727 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26728 Add e_log2f-sse2.
26729 (CFLAGS-e_log2f-sse2.c): New.
26730 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26731 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26732
80bb5935
L
267332017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26734
26735 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26736 Add e_powf-fma.
26737 (CFLAGS-e_powf-fma.c): New.
26738 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26739 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26740
5c7adbd8
L
267412017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26742
26743 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26744 Add e_log2f-fma.
26745 (CFLAGS-e_log2f-fma.c): New.
26746 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26747 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26748
0ccc7153
L
267492017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26750
26751 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26752 Add e_logf-fma.
26753 (CFLAGS-e_logf-fma.c): New.
26754 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26755 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26756
fe596486
L
267572017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26758
26759 * sysdeps/i386/fpu/e_logf.S: Removed.
26760 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26761 * sysdeps/i386/fpu/w_logf.c: Likewise.
26762 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26763 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26764 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26765 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26766 Add e_logf-sse2.
26767 (CFLAGS-e_logf-sse2.c): New.
26768 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26769 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26770
7eda65f6
L
267712017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26772
26773 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26774 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26775 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26776 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26777 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26778 Add e_exp2f-sse2.
26779 (CFLAGS-e_exp2f-sse2.c): New.
26780 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26781 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26782
5d15c969
L
267832017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26784
26785 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26786 Add e_exp2f-fma.
26787 (CFLAGS-e_exp2f-fma.c): New.
26788 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26789 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26790
b2f6137e
L
267912017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26792
26793 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26794 * sysdeps/i386/fpu/e_expf.S: Likewise.
26795 * sysdeps/i386/fpu/math_errf.c: Likewise.
26796 * sysdeps/i386/fpu/w_expf.c: Likewise.
26797 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26798 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26799 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26800 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26801 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26802 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26803 Remove e_expf-ia32.
26804 (CFLAGS-e_expf-sse2.c): New.
26805 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26806 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26807
e1f59beb
L
268082017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26809
26810 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26811 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26812 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26813 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26814 e_expf.c.
26815 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26816 New.
26817 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26818 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26819 Renamed to ...
26820 (__redirect_expf): This.
26821 (SYMBOL_NAME): Changed to expf.
26822 (__ieee754_expf): Renamed to ...
26823 (__expf): This.
26824 (__GI___expf): This.
26825 (__ieee754_expf): Add strong_alias.
26826 (__expf_finite): Likewise.
26827 (__expf): New.
26828 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26829
363e4519 268302017-10-22 Paul Eggert <eggert@cs.ucla.edu>
a159b53f
PE
26831
26832 [BZ #22332]
26833 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26834 unescaping.
26835
e80fc1fc
FW
268362017-10-21 Florian Weimer <fweimer@redhat.com>
26837
26838 * posix/Makefile (tests): Add tst-glob-tilde.
26839 (tests-special): Add tst-glob-tilde-mem.out
26840 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26841 (tst-glob-tilde-mem.out): Add mtrace check.
26842 * posix/tst-glob-tilde.c: New file.
26843
797ba44b
JM
268442017-10-20 Joseph Myers <joseph@codesourcery.com>
26845
26846 * bits/floatn-common.h: New file.
26847 * math/Makefile (headers): Add bits/floatn-common.h.
26848 * bits/floatn.h: Include <bits/floatn-common.h>.
26849 * sysdeps/ia64/bits/floatn.h: Likewise.
26850 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26851 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26852 * sysdeps/powerpc/bits/floatn.h: Likewise.
26853 * sysdeps/x86/bits/floatn.h: Likewise.
26854
fe05e1cb
AZ
268552017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26856
8f6f5362
AZ
26857 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26858 indicates whether compiler emits an warning for alias for
26859 functions with incompatible types.
26860
fe05e1cb
AZ
26861 [BZ #22273]
26862 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26863 the auxiliary process is terminated by a signal before calling _exit
26864 or execve.
26865
b52b0d79
L
268662017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26867
26868 [BZ #21265]
26869 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26870 New.
26871 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26872 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26873 and bit_arch_XSAVEC_Usable if needed.
26874 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26875 and bit_arch_Use_dl_runtime_resolve_opt.
26876 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26877 Removed.
26878 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26879 (bit_arch_Prefer_No_AVX512): Updated.
26880 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26881 (bit_arch_XSAVEC_Usable): New.
26882 (STATE_SAVE_OFFSET): Likewise.
26883 (STATE_SAVE_MASK): Likewise.
26884 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26885 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26886 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26887 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26888 (index_arch_XSAVEC_Usable): New.
26889 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26890 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26891 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26892 is enabled.
26893 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26894 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26895 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26896 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26897 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26898 _dl_runtime_resolve_xsavec.
26899 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26900 Removed.
26901 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26902 instead of VEC_SIZE.
26903 (REGISTER_SAVE_BND0): Removed.
26904 (REGISTER_SAVE_BND1): Likewise.
26905 (REGISTER_SAVE_BND3): Likewise.
26906 (REGISTER_SAVE_RAX): Always defined to 0.
26907 (VMOV): Removed.
26908 (_dl_runtime_resolve_avx): Likewise.
26909 (_dl_runtime_resolve_avx_slow): Likewise.
26910 (_dl_runtime_resolve_avx_opt): Likewise.
26911 (_dl_runtime_resolve_avx512): Likewise.
26912 (_dl_runtime_resolve_avx512_opt): Likewise.
26913 (_dl_runtime_resolve_sse): Likewise.
26914 (_dl_runtime_resolve_sse_vex): Likewise.
26915 (USE_FXSAVE): New.
26916 (_dl_runtime_resolve_fxsave): Likewise.
26917 (USE_XSAVE): Likewise.
26918 (_dl_runtime_resolve_xsave): Likewise.
26919 (USE_XSAVEC): Likewise.
26920 (_dl_runtime_resolve_xsavec): Likewise.
26921 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26922 Removed.
26923 (_dl_runtime_resolve_avx512_opt): Likewise.
26924 (_dl_runtime_resolve_avx): Likewise.
26925 (_dl_runtime_resolve_avx_opt): Likewise.
26926 (_dl_runtime_resolve_sse): Likewise.
26927 (_dl_runtime_resolve_sse_vex): Likewise.
26928 (_dl_runtime_resolve_fxsave): New.
26929 (_dl_runtime_resolve_xsave): Likewise.
26930 (_dl_runtime_resolve_xsavec): Likewise.
26931
363e4519 269322017-10-20 Paul Eggert <eggert@cs.ucla.edu>
c369d66e
PE
26933
26934 [BZ #22320]
26935 CVE-2017-15670
26936 * posix/glob.c (__glob): Fix one-byte overflow.
26937
6d43de4b
WD
269382017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26939
26940 * malloc/malloc.c (sysdep-cancel.h): Add include.
26941
a15d53e2
WD
269422017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26943
26944 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
26945
b9a558e7
WH
269462017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
26947
26948 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
26949 (tests): Remove $(objpfx)ga_test depdendency.
26950 * resolv/ga_test.c: Remove file.
26951
b6b08b8e
MF
269522017-10-20 Mike FABIAN <mfabian@redhat.com>
26953
26954 [BZ #18812]
26955 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
26956 * localedata/locales/kab_DZ: New file.
26957
9ba7e810
L
269582017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26959
26960 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
26961 _dl_relocate_static_pie instead of _dl_start to compute load
26962 address in static PIE.
26963
4027a4fd
L
269642017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26965
26966 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
26967
2f9314b4
MF
269682017-10-20 Mike FABIAN <mfabian@redhat.com>
26969
26970 [BZ #13605]
26971 * localedata/SUPPORTED: Add shn_MM/UTF-8.
26972 * localedata/locales/shn_MM: New file.
26973
63b4baa4
FW
269742017-10-20 Florian Weimer <fweimer@redhat.com>
26975
26976 [BZ #22321]
26977 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
26978 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
26979 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
26980 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
26981 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
26982 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
26983
95ccb619
L
269842017-10-19 H.J. Lu <hongjiu.lu@intel.com>
26985
26986 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
26987
37bb78cb
JM
269882017-10-19 Joseph Myers <joseph@codesourcery.com>
26989
76f2ed92
JM
26990 * sysdeps/mips/ieee754/bits/floatn.h: New file.
26991
37bb78cb
JM
26992 [BZ #22322]
26993 * sysdeps/mips/bits/long-double.h: Move to ....
26994 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
26995
d74e6f6c
WD
269962017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
26997
26998 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
26999
363e4519 270002017-10-19 Valery Reznic <valery_reznic@yahoo.com>
4d916f0f
L
27001 H.J. Lu <hongjiu.lu@intel.com>
27002
27003 [BZ #22299]
27004 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27005 GLRO(dl_platform) to NULL.
27006 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27007 (modules-names): Add tst-platformmod-1 and
27008 x86_64/tst-platformmod-2.
27009 (CFLAGS-tst-platform-1.c): New.
27010 (CFLAGS-tst-platformmod-1.c): Likewise.
27011 (CFLAGS-tst-platformmod-2.c): Likewise.
27012 (LDFLAGS-tst-platformmod-2.so): Likewise.
27013 ($(objpfx)tst-platform-1): Likewise.
27014 ($(objpfx)tst-platform-1.out): Likewise.
27015 (tst-platform-1-ENV): Likewise.
27016 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27017 * sysdeps/x86_64/tst-platform-1.c: New file.
27018 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27019 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27020
4b0fa403
MF
270212017-10-19 Mike FABIAN <mfabian@redhat.com>
27022
27023 [BZ #13994]
27024 * locale/iso-639.def: Add Karbi.
27025 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27026 * localedata/locales/mjw_IN: New file.
27027
81325b12
JM
270282017-10-18 Joseph Myers <joseph@codesourcery.com>
27029
27030 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27031 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27032 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27033 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27034 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27035 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27036 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27037 <bits/floatn.h>.
27038 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27039 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27040 * manual/math.texi (Mathematics): Document additional architecture
27041 support for _Float128.
27042 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27043 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27044 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27045 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27046 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27047 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27048 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27049 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27050 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27051 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27052 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27054 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27055 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27056 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27057
a68ba2f3
SN
270582017-10-18 Renlin Li <renlin.li@arm.com>
27059
27060 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27061 _DYNAMIC symbol to calculate load address.
27062
346729f6
PC
270632017-10-18 Paul A. Clarke <pc@us.ibm.com>
27064
27065 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27066 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27067 summary bits.
27068 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27069 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27070
508b1e71
MF
270712017-10-18 Mike FABIAN <mfabian@redhat.com>
27072
27073 [BZ #16777]
27074 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27075 and improve readability by using more ASCII.
27076 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27077 and improve readability by using more ASCII.
27078
2c2245b9
WD
270792017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27080
27081 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27082 not all targets support atomics on bool.
27083
13c92696
JM
270842017-10-17 Joseph Myers <joseph@codesourcery.com>
27085
27086 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27087 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27088 __f128.
27089 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27090 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27091 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27092 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27093 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27094 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27095
71d85045
AZ
270962017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27097
27098 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27099 defines.
27100
3381be5c
WD
271012017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27102
27103 [BZ #22159]
27104 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27105 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27106 (do_check_remalloced_chunk): Fix build bug.
27107 (do_check_malloc_state): Add assert that checks arena->top.
27108 (malloc_consolidate): Remove initialization.
27109 (int_mallinfo): Remove call to malloc_consolidate.
6b5c8607 27110 (__libc_mallopt): Clarify why malloc_consolidate is needed.
3381be5c 27111
e956075a
WD
271122017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27113
27114 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27115 (have_fastchunks): Remove.
27116 (clear_fastchunks): Remove.
27117 (set_fastchunks): Remove.
27118 (malloc_state): Add have_fastchunks.
27119 (malloc_init_state): Use have_fastchunks.
27120 (do_check_malloc_state): Remove incorrect invariant checks.
27121 (_int_malloc): Use have_fastchunks.
27122 (_int_free): Likewise.
27123 (malloc_consolidate): Likewise.
27124
e4dd4ace
WD
271252017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27126
27127 * malloc/malloc.c (tcache_put): Inline.
27128 (tcache_get): Inline.
27129
5bf58bc7
AJ
271302017-10-17 Jordi Mallach <jordi@gnu.org>
27131
27132 Aurelien Jarno <aurelien@aurel32.net>
27133 [BZ #2522]
27134 * localedata/locales/ca_ES@valencia: New file.
27135 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27136
386e1c26
RN
271372017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27138
27139 [BZ #22296]
27140 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27141 < 6.x
27142
4e17c78e
AZ
271432017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27144
3d265601
AZ
27145 * scripts/build-many-glibcs.py (Context.add_all_configs):
27146 Add arm-linux-gnueabihf multiarch extra_glibcs.
27147
4e17c78e
AZ
27148 * sysdeps/generic/ifunc-init.h: New file.
27149 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27150
56a752ab
MF
271512017-10-17 Mike FABIAN <mfabian@redhat.com>
27152
27153 [BZ #22019]
27154 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27155 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27156 * stdlib/tst-strfmon_l.c: adapt test case.
27157
c38a4bfd
JM
271582017-10-16 Joseph Myers <joseph@codesourcery.com>
27159
27160 * sysdeps/generic/float128-abi.h: New file.
27161 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27162 non-__prefixed symbols to ....
27163 * math/Versions: ... here. Include <float128-abi.h>.
27164 * stdlib/Versions ... and here. Include <float128-abi.h>
27165
76009b26
FW
271662017-10-16 Florian Weimer <fweimer@redhat.com>
27167
27168 * version.h (VERSION): Switch to ".9000" as the development
27169 version suffix.
27170
7ece6cd5
FW
271712017-10-16 Florian Weimer <fweimer@redhat.com>
27172
27173 [BZ #22050]
27174 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27175 compat_symbol_reference to access non-default version.
27176
d8287b36
FW
271772017-10-16 Florian Weimer <fweimer@redhat.com>
27178
27179 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27180
3480ddc4
CD
271812017-10-16 Carlos O'Donell <carlos@redhat.com>
27182
27183 * include/shlib-compat.h (compat_symbol_reference): Update
27184 comment.
27185
02010e79
JM
271862017-10-16 Joseph Myers <joseph@codesourcery.com>
27187
596f7013
JM
27188 * math/Makefile (test-types): Add
27189 $(type-float128-$(float128-alias-fcts)).
27190 * math/test-float128.h (TYPE_STR): Define conditional on
27191 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27192 (ULP_IDX): Likewise.
27193 (ULP_I_IDX): Likewise.
27194
02010e79
JM
27195 * stdlib/strtold.c: Include <bits/floatn.h>
27196 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27197 and later undefine as macro. Define as weak alias if
27198 [!USE_WIDE_CHAR].
27199 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27200 and later undefine as macro. Define as weak alias if
27201 [USE_WIDE_CHAR].
27202 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27203 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27204 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27205 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27206 Define and later undefine as macro. Define as weak alias if
27207 [USE_WIDE_CHAR].
27208 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27209 <bits/floatn.h>.
27210 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27211 Define and later undefine as macro. Define as weak alias if
27212 [!USE_WIDE_CHAR].
27213 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27214 Define and later undefine as macro. Define as weak alias if
27215 [USE_WIDE_CHAR].
27216
ea91c315
CD
272172017-10-15 Carlos O'Donell <carlos@redhat.com>
27218
27219 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27220 record_verbose messages.
27221
8e57c943
L
272222017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27223
27224 [BZ #22052]
27225 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27226 to silence -O3 -Wall warning with GCC 7.
27227
a4777c46
L
272282017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27229
27230 * Makeconfig (+link-static-before-libc): Use the first of
27231 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27232 * gmon/Makefile (tests): Add tst-gmon-static.
27233 (tests-static): Likewise.
27234 (CFLAGS-tst-gmon-static.c): New.
27235 (CRT-tst-gmon-static): Likewise.
27236 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27237 (tst-gmon-static-ENV): Likewise.
27238 (tests-special): Likewise.
27239 ($(objpfx)tst-gmon-static.out): Likewise.
27240 (clean-tst-gmon-static-data): Likewise.
27241 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27242 * gmon/tst-gmon-static-gprof.sh: New file.
27243 * gmon/tst-gmon-static.c: Likewise.
27244
bc3821bb
CD
272452017-10-13 Carlos O'Donell <carlos@redhat.com>
27246
27247 [BZ #22295]
27248 * locale/programs/linereader.c (get_string): Don't warn on
27249 non-symbolic character.
27250
a3e23a2c
CD
27251 [BZ #22294]
27252 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27253 int_curr_symbol.
27254
f16491eb
CD
27255 [BZ #22292]
27256 * locale/programs/record-status.h: New file
27257 * locale/programs/locale.c: Add comment.
27258 * locale/programs/charmap-dir.c: Don't include error.h.
27259 (charmap_opendir): Use record_error.
27260 * locale/programs/charmap.c: Don't include error.h.
27261 (charmap_read): Use record_error, and record_warning.
27262 (parse_charmap): Likewise.
27263 * locale/programs/ld-address.c: Don't include error.h.
27264 (address_finish): Use record_error, and record_warning.
27265 * locale/programs/ld-collate.c: Don't include error.h.
27266 (collate_finish): Use record_error, and record_error_at_line.
27267 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27268 (ctype_class_new): Likewise.
27269 (ctype_map_new): Likewise.
27270 (set_one_default): Likewise.
27271 (set_class_defaults): Likewise.
27272 (translit_flatten): Likewise.
27273 (allocate_arrays): Use record_error, and record_verbose.
27274 * locale/programs/ld-identification.c: Don't include error.h.
27275 (indentation_finish): Use record_error and record_warning.
27276 * locale/programs/ld-measurement.c: Don't include error.h.
27277 (measurement_finish): Use record_error.
27278 * locale/programs/ld-messages.c
27279 (message_finish): Likewise.
27280 * locale/programs/ld-monetary.c
27281 (monetary_finish): Likewise.
27282 * locale/programs/ld-name.c (name_finish): Use record_error
27283 and record_warning.
27284 * locale/programs/ld-numeric.c
27285 (numeric_finish): Use record_error.
27286 * locale/programs/ld-paper.c: Don't include error.h.
27287 (paper_finish): Use record_error.
27288 * locale/programs/ld-telephone.c: Don't include error.h.
27289 (telephone_finish): Use record_error.
27290 * locale/programs/ld-time.c (time_finish): Likewise.
27291 * locale/programs/linereader.h (lr_error): Make inline func.
27292 * locale/programs/localedef.c: Define recorded_warning_count,
27293 and recorded_error_count.
27294 (main): Use record_error. Use recorded_error_count and
27295 recorded_warning_count to issue correct error returns.
27296 (add_to_readlist): Use record_error.
27297 (find_locale): Likewise.
27298 (load_locale): Likewise.
27299 * locale/programs/localedef.h: Remove be_quiet
27300 and WITH_CUR_LOCALE.
27301 * locale/programs/locarchive.c (compare_from_file): Use
27302 record_error.
27303 * locale/programs/locfile.c (write_locale_data): Use
27304 record_error.
27305 * locale/programs/repertoire.c: Dont include error.h.
27306 (repertoire_complain): Use record_error.
27307 * localedata/tst-fmon.sh: Expect failures from localedef.
27308 * localedata/tst-locale.sh: Likewise.
27309 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27310
8dc8be75
CD
27311 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27312 (REPORTS): Likewise.
27313 (check): Likewise.
27314 (i18n): Rename to...
27315 (i18n_ctype): ...this.
27316 (i18n-report): Rename to...
27317 (i18n_ctype-report): ...this.
27318 * localedata/locales/i18n_ctype: Regenerate.
27319 * localedata/locales/i18n: copy i18n_ctype.
27320
f8718a9e
JM
273212017-10-13 Joseph Myers <joseph@codesourcery.com>
27322
18c08b96
JM
27323 * stdlib/strfroml.c: Include <bits/floatn.h>.
27324 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27325 Define before include of <stdlib.h> and undefine afterwards, then
27326 define as weak alias.
27327
f8718a9e
JM
27328 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27329 Undefine and restore default definition. Use
27330 libm_alias_ldouble_other.
27331
e4f530da
PZ
273322017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27333
27334 [BZ #22153]
27335 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27336 in coredumps.
27337
86445888
JC
273382017-10-13 James Clarke <jrtc27@jrtc27.com>
27339
27340 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27341 Assign sym_map to be map for local symbols, as TLS relocations
27342 use sym_map to determine whether the symbol is defined and to
27343 extract the TLS information.
27344 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27345 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27346
179dcdb7
TMQMF
273472017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27348
e8dbd6a3
TMQMF
27349 [BZ #22189]
27350 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27351 (math_force_eval): Add powerpc version.
27352
179dcdb7
TMQMF
27353 [BZ #22142]
27354 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27355 -DBL_MAX.
27356 (do_test): Likewise.
27357 * stdio-common/tst-printf.sh: Likewise.
27358 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27359 ifdef clause in order to set the carry bit right. Replace r0 by
27360 0 without changing the behavior.
27361
7d25d410
JM
273622017-10-13 Joseph Myers <joseph@codesourcery.com>
27363
006e7664
JM
27364 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27365 <libm-alias-ldouble.h>.
27366 (fabsl): Define using libm_alias_ldouble.
27367 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27368 <libm-alias-ldouble.h>.
27369 (fabsl): Define using libm_alias_ldouble.
27370
1def91b3
JM
27371 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27372 Remove conditional code.
27373
7d25d410
JM
27374 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27375 Rename to __clog10_internal_l.
27376 (__clog10_internal_l): Define aliases using
27377 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27378 with __clog10.
27379
077ee129
RS
273802017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27381
27382 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27383 * benchtests/sincosf-inputs: New file.
27384 * benchtests/cosf-inputs: New file.
27385 * benchtests/sinf-inputs: New file.
27386
5ba41de9
SN
273872017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27388
27389 * posix/tst-spawn.c (do_test): Wait for both children.
27390
d165ca64
L
273912017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27392
27393 [BZ #22284]
27394 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27395 tests-pie): Add tst-gmon-pie.
27396 (CFLAGS-tst-gmon-pie.c): New.
27397 (CRT-tst-gmon-pie): Likewise.
27398 (tst-gmon-pie-ENV): Likewise.
27399 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27400 ($(objpfx)tst-gmon-pie.out): Likewise.
27401 (clean-tst-gmon-pie-data): Likewise.
27402 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27403 * gmon/gmon.c [PIC]: Include <link.h>.
27404 [PIC] (callback): New function.
27405 (write_hist): Add an argument for load address. Subtract load
27406 address from PCs.
27407 (write_call_graph): Likewise.
27408 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27409 it to write_hist and write_call_graph.
7bacdcfc 27410 * gmon/tst-gmon-pie.c: New file.
d165ca64 27411
bc9620d0
JM
274122017-10-11 Joseph Myers <joseph@codesourcery.com>
27413
27414 * math/Makefile (test-types-basic): New variable.
27415 (test-types): Likewise.
27416 (libm-test-support): Use $(test-types) instead of $(types).
27417 (libm-tests-base-normal): Likewise.
27418 (libm-tests-base-finite): Likewise.
27419 (libm-tests-base-inline): Likewise.
27420 (generated): Likewise.
27421 ($(objpfx)libm-test-support-$(t).c): Likewise.
27422 (libm-tests-for-type iterator): Likewise.
27423 (libm-test-support iterator): Likewise.
27424 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27425 (ulp_idx): Use ULP_IDX.
27426 * math/test-ldouble.h: Include <float.h>.
27427 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27428 (ULP_IDX): New macro.
27429 (ULP_I_IDX): Likewise.
27430 * math/test-double.h (ULP_IDX): Likewise.
27431 (ULP_I_IDX): Likewise.
27432 * math/test-float.h (ULP_IDX): Likewise.
27433 (ULP_I_IDX): Likewise.
27434 * math/test-float128.h (ULP_IDX): Likewise.
27435 (ULP_I_IDX): Likewise.
27436
09c76a74
AZ
274372017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27438
27439 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27440 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27441 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27442 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27443 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27444 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27445 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27446 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27447 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27448 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27449 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27450 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27451 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27452 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27453 (SINGLE_THREAD_BY_GLOBAL): Define.
27454 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27455 Likewise.
27456 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27457 Likewise.
27458 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27459 Likewise.
27460 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27461 Likewise.
27462 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27463 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27464 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27465 Likewise.
27466
2faa42da
AS
274672017-10-11 Andreas Schwab <schwab@suse.de>
27468
27469 * nis/Makefile (aux): Remove.
27470 * nscd/Makefile (aux): Add nscd_hash.
27471 (nscd-modules): Likewise.
27472 ($(objpfx)nscd): Don't depend on libnsl.
27473 * nscd/nscd_hash.c: New file.
27474 * nscd/nscd_hash.h: Likewise.
27475 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27476 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27477 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27478 instead of <nis/rpcsvc/nis.h>.
27479 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27480
d8425e11
FW
274812017-10-11 Florian Weimer <fweimer@redhat.com>
27482
27483 [BZ #22078]
27484 Avoid large NSS buffers with many addresses, aliases.
27485 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27486 using dynarrays and struct alloc_buffer.
27487 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27488 (tst-nss-files-hosts-multi): Link with -ldl.
27489 * nss/tst-nss-files-hosts-multi.c: New file.
27490
78e806fd
FW
274912017-10-11 Florian Weimer <fweimer@redhat.com>
27492
27493 [BZ #18023]
27494 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27495 scratch_buffer. Eliminate gotos.
27496
541f19ba
JM
274972017-10-11 Joseph Myers <joseph@codesourcery.com>
27498
0ff64d3a
JM
27499 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27500 libm_alias_ldouble_other.
27501 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27502 undefine and redefine.
27503 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27504 (exp10l): Do not define here.
27505 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27506 (weak_alias): Undefine and redefine.
27507 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27508 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27509 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27510 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27511
541f19ba
JM
27512 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27513 [!__fma] (fma): Define using libm_alias_double.
27514 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27515 [!__fmaf] (fmaf): Define using libm_alias_float.
27516 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27517 (fmal): Define using libm_alias_ldouble.
27518
24b6515d
JM
275192017-10-10 Joseph Myers <joseph@codesourcery.com>
27520
27521 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27522 New macro.
27523 (libm_alias_double_other): Likewise.
27524 (libm_alias_double_r): Use libm_alias_double_other_r.
27525 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27526 New macro.
27527 (libm_alias_float_other): Likewise.
27528 (libm_alias_float_r): Use libm_alias_float_other_r.
27529 * sysdeps/generic/libm-alias-float128.h
27530 (libm_alias_float128_other_r): New macro.
27531 (libm_alias_float128_other): Likewise.
27532 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27533 * sysdeps/generic/libm-alias-ldouble.h
27534 (libm_alias_ldouble_other_r): New macro.
27535 (libm_alias_ldouble_other): Likewise.
27536 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27537 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27538 (libm_alias_double_other_r): New macro.
27539 (libm_alias_double_other): Likewise.
27540 (libm_alias_double_r): Use libm_alias_double_other_r.
27541 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27542 (libm_alias_ldouble_other_r): New macro.
27543 (libm_alias_ldouble_other): Likewise.
27544 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27545 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27546 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27547 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27548 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27549 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27550 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27551 * math/w_exp2f.c: Use libm_alias_float_other.
27552 * math/w_expf.c: Likewise.
27553 * math/w_log2f.c: Likewise.
27554 * math/w_logf.c: Likewise.
27555 * math/w_powf.c: Likewise.
27556 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27557 [!__exp2f]: Use libm_alias_float_other.
27558 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27559 [!__expf]: Use libm_alias_float_other.
27560 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27561 [!__log2f]: Use libm_alias_float_other.
27562 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27563 [!__logf]: Use libm_alias_float_other.
27564 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27565 [!__powf]: Use libm_alias_float_other.
27566
8ed70de2
FW
275672017-10-10 Florian Weimer <fweimer@redhat.com>
27568
27569 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27570 function.
27571 (_nss_files_gethostbyname3_r): Call it.
27572
a8dce619
JM
275732017-10-09 Joseph Myers <joseph@codesourcery.com>
27574
27575 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27576 error. Remove default definition of declare_mgen_alias.
27577 [!declare_mgen_alias_r]: Likewise.
27578 * sysdeps/generic/math-type-macros-double.h
27579 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27580 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27581 (declare_mgen_alias_r): Likewise.
27582 * sysdeps/generic/math-type-macros-float128.h
27583 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27584 * sysdeps/generic/math-type-macros-ldouble.h
27585 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27586 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27587 macro.
27588 (declare_mgen_alias_r_s): Likewise.
27589 (declare_mgen_alias_r): Likewise.
27590 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27591 (lgamma_r): Define using libm_alias_double_r.
27592 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27593 (lgammaf_r): Define using libm_alias_float_r.
27594 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27595 (lgammal_r): Define using libm_alias_ldouble_r.
27596 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27597 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27598
bedac136
AZ
275992017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27600
27601 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27602 extern declaration.
27603
c7509db2
JM
276042017-10-09 Joseph Myers <joseph@codesourcery.com>
27605
27606 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27607
d6c064e9
JW
276082017-10-09 Jonathan Wakely <jwakely@redhat.com>
27609
27610 [BZ #21326]
27611 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27612 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27613 * math/Makefile (test-math-cxx11): New test.
27614 * math/test-math-cxx11.cc: New file.
27615
98e07420
CB
276162017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27617
27618 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27619
645ac9aa
CB
27620 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27621 call to allocate the slave pty file descriptor.
27622
fd3b4e7c
JM
276232017-10-06 Joseph Myers <joseph@codesourcery.com>
27624
f85a176f
JM
27625 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27626 [!__fma] (fma): Define using libm_alias_double.
27627 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27628 [!__fma] (fma): Define using libm_alias_double.
27629
fd3b4e7c
JM
27630 * sysdeps/ieee754/float128/float128_private.h: Include
27631 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27632 (libm_alias_ldouble_r): Undefine and redefine.
27633 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27634 <libm-alias-ldouble.h>.
27635 (asinhl): Define using libm_alias_ldouble.
27636 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27637 <libm-alias-ldouble.h>.
27638 (atanl): Define using libm_alias_ldouble.
27639 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27640 <libm-alias-ldouble.h>.
27641 (cbrtl): Define using libm_alias_ldouble.
27642 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27643 <libm-alias-ldouble.h>.
27644 (ceill): Define using libm_alias_ldouble.
27645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27646 <libm-alias-ldouble.h>.
27647 (copysignl): Define using libm_alias_ldouble.
27648 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27649 <libm-alias-ldouble.h>.
27650 (cosl): Define using libm_alias_ldouble.
27651 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27652 <libm-alias-ldouble.h>.
27653 (erfl): Define using libm_alias_ldouble.
27654 (erfcl): Likewise.
27655 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27656 <libm-alias-ldouble.h>.
27657 (expm1l): Define using libm_alias_ldouble.
27658 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27659 <libm-alias-ldouble.h>.
27660 (fabsl): Define using libm_alias_ldouble.
27661 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27662 <libm-alias-ldouble.h>.
27663 (floorl): Define using libm_alias_ldouble.
27664 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27665 <libm-alias-ldouble.h>.
27666 (fmal): Define using libm_alias_ldouble.
27667 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27668 <libm-alias-ldouble.h>.
27669 (frexpl): Define using libm_alias_ldouble.
27670 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27671 libm_alias_ldouble.
27672 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27673 <libm-alias-ldouble.h>.
27674 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27675 libm_alias_ldouble.
27676 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27677 <libm-alias-ldouble.h>.
27678 (getpayloadl): Define using libm_alias_ldouble.
27679 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27680 <libm-alias-ldouble.h>.
27681 (llrintl): Define using libm_alias_ldouble.
27682 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27683 <libm-alias-ldouble.h>.
27684 (llroundl): Define using libm_alias_ldouble.
27685 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27686 <libm-alias-ldouble.h>.
27687 (logbl): Define using libm_alias_ldouble.
27688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27689 <libm-alias-ldouble.h>.
27690 (lrintl): Define using libm_alias_ldouble.
27691 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27692 <libm-alias-ldouble.h>.
27693 (lroundl): Define using libm_alias_ldouble.
27694 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27695 <libm-alias-ldouble.h>.
27696 (modfl): Define using libm_alias_ldouble.
27697 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27698 <libm-alias-ldouble.h>.
27699 (nearbyintl): Define using libm_alias_ldouble.
27700 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27701 <libm-alias-ldouble.h>.
27702 (nextafterl): Define using libm_alias_ldouble.
27703 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27704 <libm-alias-ldouble.h>.
27705 (nextupl): Define using libm_alias_ldouble.
27706 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27707 <libm-alias-ldouble.h>.
27708 (remquol): Define using libm_alias_ldouble.
27709 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27710 <libm-alias-ldouble.h>.
27711 (rintl): Define using libm_alias_ldouble.
27712 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27713 <libm-alias-ldouble.h>.
27714 (roundevenl): Define using libm_alias_ldouble.
27715 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27716 <libm-alias-ldouble.h>.
27717 (roundl): Define using libm_alias_ldouble.
27718 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27719 using libm_alias_ldouble.
27720 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27721 <libm-alias-ldouble.h>.
27722 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27723 Define using libm_alias_ldouble.
27724 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27725 <libm-alias-ldouble.h>.
27726 (sincosl): Define using libm_alias_ldouble.
27727 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27728 <libm-alias-ldouble.h>.
27729 (sinl): Define using libm_alias_ldouble.
27730 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27731 <libm-alias-ldouble.h>.
27732 (tanhl): Define using libm_alias_ldouble.
27733 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27734 <libm-alias-ldouble.h>.
27735 (tanl): Define using libm_alias_ldouble.
27736 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27737 <libm-alias-ldouble.h>.
27738 (totalorderl): Define using libm_alias_ldouble.
27739 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27740 <libm-alias-ldouble.h>.
27741 (totalordermagl): Define using libm_alias_ldouble.
27742 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27743 <libm-alias-ldouble.h>.
27744 (truncl): Define using libm_alias_ldouble.
27745 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27746 libm_alias_ldouble.
27747 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27748 libm_alias_ldouble.
27749 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27750 <libm-alias-ldouble.h>.
27751 (weak_alias): Do not undefine and redefine.
27752 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27753 (copysignl): Define with long_double_symbol only if [IS_IN
27754 (libc)].
27755 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27756 <libm-alias-ldouble.h>.
27757 (weak_alias): Do not undefine and redefine.
27758 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27759 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27760 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27761 <libm-alias-ldouble.h>.
27762 (weak_alias): Do not undefine and redefine.
27763 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27764 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27765 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27766 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27767 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27768 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27769 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27770 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27771 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27772 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27773 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27774 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27775 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27776 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27777 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27778 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27779 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27780 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27781 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27782 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27783 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27784 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27785 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27786 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27787 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27788 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27789
1e26d351
CD
277902017-10-06 Carlos O'Donell <carlos@redhat.com>
27791
27792 [BZ #22111]
27793 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27794 (tcache_thread_freeres): Set tcache_shutting_down before
27795 freeing the tcache.
27796 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27797 * malloc/tst-malloc-tcache-leak.c: New file.
27798
d1386762
RS
277992017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27800
27801 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27802 back to powerpc32 file.
27803 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27804 (memrchr): Add __memrchr_power8 to ifunc list.
27805 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27806 extra bytes for unaligned inputs.
27807
6dff1983
JM
278082017-10-06 Joseph Myers <joseph@codesourcery.com>
27809
27810 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27811 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27812 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27813 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27814 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27815
86f9568a
JM
278162017-10-05 Joseph Myers <joseph@codesourcery.com>
27817
0db0b931
JM
27818 * sysdeps/arm/libm-test-ulps: Update.
27819
86f9568a
JM
27820 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27821 <libm-alias-ldouble.h>.
27822 (asinhl): Define using libm_alias_ldouble.
27823 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27824 <libm-alias-ldouble.h>.
27825 (cbrtl): Define using libm_alias_ldouble.
27826 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27827 <libm-alias-ldouble.h>.
27828 (copysignl): Define using libm_alias_ldouble.
27829 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27830 <libm-alias-ldouble.h>.
27831 (cosl): Define using libm_alias_ldouble.
27832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27833 <libm-alias-ldouble.h>.
27834 (erfl): Define using libm_alias_ldouble.
27835 (erfcl): Likewise.
27836 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27837 <libm-alias-ldouble.h>.
27838 (fmal): Define using libm_alias_ldouble.
27839 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27840 <libm-alias-ldouble.h>.
27841 (frexpl): Define using libm_alias_ldouble.
27842 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27843 libm_alias_ldouble.
27844 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27845 <libm-alias-ldouble.h>.
27846 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27847 libm_alias_ldouble.
27848 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27849 <libm-alias-ldouble.h>.
27850 (getpayloadl): Define using libm_alias_ldouble.
27851 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27852 <libm-alias-ldouble.h>.
27853 (llrintl): Define using libm_alias_ldouble.
27854 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27855 <libm-alias-ldouble.h>.
27856 (llroundl): Define using libm_alias_ldouble.
27857 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27858 <libm-alias-ldouble.h>.
27859 (lrintl): Define using libm_alias_ldouble.
27860 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27861 <libm-alias-ldouble.h>.
27862 (lroundl): Define using libm_alias_ldouble.
27863 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27864 <libm-alias-ldouble.h>.
27865 (modfl): Define using libm_alias_ldouble.
27866 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27867 <libm-alias-ldouble.h>.
27868 (nextupl): Define using libm_alias_ldouble.
27869 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27870 <libm-alias-ldouble.h>.
27871 (remquol): Define using libm_alias_ldouble.
27872 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27873 <libm-alias-ldouble.h>.
27874 (roundevenl): Define using libm_alias_ldouble.
27875 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27876 <libm-alias-ldouble.h>.
27877 (roundl): Define using libm_alias_ldouble.
27878 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27879 using libm_alias_ldouble.
27880 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27881 <libm-alias-ldouble.h>.
27882 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27883 <libm-alias-ldouble.h>.
27884 (setpayloadsigl): Define using libm_alias_ldouble.
27885 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27886 <libm-alias-ldouble.h>.
27887 (sincosl): Define using libm_alias_ldouble.
27888 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27889 <libm-alias-ldouble.h>.
27890 (sinl): Define using libm_alias_ldouble.
27891 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27892 <libm-alias-ldouble.h>.
27893 (tanhl): Define using libm_alias_ldouble.
27894 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27895 <libm-alias-ldouble.h>.
27896 (tanl): Define using libm_alias_ldouble.
27897 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27898 <libm-alias-ldouble.h>.
27899 (totalorderl): Define using libm_alias_ldouble.
27900 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27901 <libm-alias-ldouble.h>.
27902 (totalordermagl): Define using libm_alias_ldouble.
27903 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27904 libm_alias_ldouble.
27905 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27906 libm_alias_ldouble.
27907
9ec87fd2
SP
279082017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27909
dd5bc7f1
SP
27910 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27911 memmove_falkor.
27912 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27913 (__libc_ifunc_impl_list): Likewise.
27914 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27915 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27916
5bfb0404
SP
27917 * benchtests/bench-memmove-walk.c: New file.
27918 * benchtests/Makefile (string-benchset): Add it.
27919
36bb8edf
SP
27920 * benchtests/bench-memset-walk.c: New file.
27921 * benchtests/Makefile (string-benchset): Add it.
27922
9ec87fd2
SP
27923 * benchtests/bench-memcpy-walk.c: New file.
27924 * benchtests/Makefile (string-benchset): Add it.
27925
1e9522c6
FW
279262017-10-05 Florian Weimer <fweimer@redhat.com>
27927
27928 nscd: Eliminate compilation time dependency in the build output.
27929 * nscd/nscd_stat.c (STATDATA_VERSION)
27930 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27931 (STATDATA_VERSION_FULL): New macro definitions.
27932 (compilation): Remove.
27933 (struct statdata): Adjust version member.
27934 (send_stats): Set version from STATDATA_VERSION_FULL.
27935 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27936
644d3857
JM
279372017-10-05 Joseph Myers <joseph@codesourcery.com>
27938
27939 * configure.ac (--enable-add-ons): Remove option.
27940 (machine): Do not mention add-ons in comment.
27941 (LIBC_PRECONFIGURE): Likewise.
27942 (add_ons): Remove variable and sanity checks and logic to locate
27943 add-ons.
27944 (add_ons_automatic): Remove variable.
27945 (configured_add_ons): Likewise.
27946 (add_ons_sfx): Likewise.
27947 (add_ons_pfx): Likewise.
27948 (add_on_subdirs): Likewise.
27949 (sysnames_add_ons): Likewise. Remove loop over add-ons and
27950 consideration of add-ons in Implies handling.
27951 (sysdeps_add_ons): Likewise.
27952 * configure: Regenerated.
27953 * libidn/configure.ac: Remove.
27954 * libidn/configure: Likewise.
27955 * sysdeps/unix/inet/configure.ac: New file.
27956 * sysdeps/unix/inet/configure: New generated file.
27957 * sysdeps/unix/inet/Subdirs: Add libidn.
27958 * Makeconfig (sysdeps-srcdirs): Remove variable.
27959 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
27960 ($(common-objpfx)config.status): Do not depend on add-on files.
27961 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
27962 comment.
27963 (all-subdirs): Do not include $(add-on-subdirs).
27964 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
27965 * config.make.in (add-ons): Remove variable.
27966 (add-on-subdirs): Likewise.
27967 (sysdeps-add-ons): Likewise.
27968 * manual/Makefile (add-chapters): Remove.
27969 ($(objpfx)texis): Do not depend on $(add-chapters).
27970 (nonexamples): Do not handle $(add-chapters).
27971 (examples): Do not handle $(add-ons).
27972 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
27973 libc-texinfo.sh.
27974 * manual/install.texi (Installation): Do not mention add-ons.
27975 (--enable-add-ons): Do not document configure option.
27976 * INSTALL: Regenerated.
27977 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
27978 * manual/maint.texi (Hierarchy Conventions): Do not mention
27979 add-ons.
27980 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
27981 --enable-add-ons.
27982 * scripts/gen-sorted.awk: Do not handle Subdirs files from
27983 add-ons.
27984 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
27985 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
27986
19f82f35
AS
279872017-10-05 Andreas Schwab <schwab@suse.de>
27988
27989 [BZ #15142]
27990 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
27991 (_IO_flush_all_lockp): Always lock list_all_lock.
27992 (_IO_flush_all_linebuffered): Likewise.
27993 (_IO_unbuffer_all): Likewise.
27994
91e7cf98
FW
279952017-10-05 Florian Weimer <fweimer@redhat.com>
27996
27997 [BZ #15436]
27998 Do not flush stdio streams on abort.
27999 * stdlib/abort.c (fflush): Remove macro definition.
28000 (abort): Remove stages related to stdio flushing.
28001
0c251257
FW
280022017-10-05 Florian Weimer <fweimer@redhat.com>
28003
28004 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28005
7ea59e3e
SL
280062017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28007
28008 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28009
84d0e6f0
FW
280102017-10-05 Florian Weimer <fweimer@redhat.com>
28011
28012 * support/support_format_hostent.c (support_format_hostent): Add
28013 more error information for NETDB_INTERNAL.
28014
ee417882
L
280152017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28018 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28019 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28020 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28021 AC_DEFINE if multi-arch is enabled.
28022 * sysdeps/i386/configure: Regenerated.
28023
a67029ff
L
280242017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28025
28026 * Makeconfig (+link-static-before-libc): Use
28027 $(DEFAULT-LDFLAGS-$(@F)).
28028 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28029 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28030 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28031
5dba84b3
L
280322017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28033
28034 * elf/Makefile (tests): Add tst-main1.
28035 (modules-names): Add tst-main1mod.
28036 ($(objpfx)tst-main1): New.
28037 (CRT-tst-main1): Likewise.
28038 (LDFLAGS-tst-main1): Likewise.
28039 (LDLIBS-tst-main1): Likewise.
28040 (tst-main1mod.so-no-z-defs): Likewise.
28041 * elf/tst-main1.c: New file.
28042 * elf/tst-main1mod.c: Likewise.
28043
758f1bfa
L
280442017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28045
28046 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28047
7e16a5d1
JM
280482017-10-04 Joseph Myers <joseph@codesourcery.com>
28049
28050 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28051 (fma): Define using libm_alias_double.
28052 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28053 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28054 <math_ldbl_opt.h>.
28055 (fmal): Do not define as compat symbol here.
28056 * sysdeps/alpha/fpu/s_fma.c: New file.
28057
db4f87ba
SN
280582017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28059
28060 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28061
72d13ed1
JM
280622017-10-04 Joseph Myers <joseph@codesourcery.com>
28063
32d372d5
JM
28064 [BZ #22229]
28065 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28066 <math_ldbl_opt.h>
28067 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28068 and libc.
28069 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28070 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28071 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28072 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28074 Include <math_ldbl_opt.h>
28075 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28076 and libc.
28077 (compat_symbol): Undefine and redefine.
28078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28079 <math_ldbl_opt.h>
28080 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28081 (compat_symbol): Undefine and redefine.
28082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28083 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28084 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28085 GLIBC_2_1 for libm.
28086 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28087 GLIBC_2.0 copysignl symbol.
28088 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28089 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28090
72d13ed1
JM
28091 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28092
11c4f501
FW
280932017-10-04 Florian Weimer <fweimer@redhat.com>
28094
28095 * scripts/check-local-headers.sh: Ignore nspr4 header file
28096 directory in addition to nspr.
28097
57b4af19
GT
280982017-10-04 Guido Trentalancia <guido@trentalancia.net>
28099
28100 [BZ #17956]
28101 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28102 * configure: Regenerate.
28103 * crypt/Makefile (nss-cpp-flags): New variable.
28104 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28105 (CPPFLAGS-md5-crypt.c): Use it.
28106 * scripts/check-local-headers.sh: Ignore nspr header file
28107 directory.
28108
64d1e08e
AS
281092017-10-04 Andreas Schwab <schwab@suse.de>
28110
28111 * nis/Makefile (services): Remove compat.
28112 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28113 ($(objpfx)libnss_compat.so): Remove rule.
28114 * nis/Versions (libnss_compat): Remove.
28115 * nss/Makefile (services): Add compat.
28116 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28117 * nss/Versions (libnss_compat): Define.
28118 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28119 Don't include <rpc/types.h>. Replace bool_t by bool.
28120 * nss/nss_compat/compat-initgroups.c: Likewise.
28121 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28122 instead of <rpcsrv/ypclnt.h>.
28123 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28124 yp_get_default_domain.
28125 * nss/nss_compat/compat-pwd.c: Likewise.
28126 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28127 yp_get_default_domain.
28128 * nss/nss_compat/nisdomain.c: New file.
28129 * nss/nss_compat/nisdomain.h: Likewise.
28130
86c27ade
SN
281312017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28132
28133 [BZ #22244]
28134 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28135 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28136
8f8f8ef7
SN
281372017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28138
28139 [BZ #22243]
28140 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28141 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28142
95577475
L
281432017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28144
28145 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28146 "movl main@GOTOFF(%ebx), %eax".
28147
02d2d892
L
281482017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28149
28150 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28151 allow undefined _DYNAMIC in PIE libc.a.
28152 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28153 Likewse.
28154
0c609d19
L
281552017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28156
28157 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28158 check _DYNAMIC.
28159
c34a19ed
L
281602017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28161
28162 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28163 check _DYNAMIC.
28164
cdd4155d
L
281652017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28166
28167 * math/test-math-iscanonical.cc (error): Replace bool with int.
28168
4699cb8b
JM
281692017-10-03 Joseph Myers <joseph@codesourcery.com>
28170
d8f619b3
JM
28171 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28172 (modf): Define using libm_alias_double, only if [!__modf].
28173 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28174 <libm-alias-double.h>.
28175 (modf): Define using libm_alias_double, only if [!__modf].
28176 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28177 compat symbol here.
28178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28179 (weak_alias): Do not undefine and redefine.
28180 (strong_alias): Likewise.
28181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28182 (weak_alias): Likewise.
28183 (strong_alias): Likewise.
28184
4699cb8b
JM
28185 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28186 (logb): Define using libm_alias_double, only if [!__logb].
28187 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28188 <libm-alias-double.h>.
28189 (logb): Define using libm_alias_double, only if [!__logb].
28190 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28192 (weak_alias): Do not undefine and redefine.
28193 (strong_alias): Likewise.
28194 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28195 (weak_alias): Likewise.
28196 (strong_alias): Likewise.
28197
bcc4e4bb
L
281982017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28199
28200 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28201 Check SHARED instead PIC.
28202
39793865
JM
282032017-10-03 Joseph Myers <joseph@codesourcery.com>
28204
7f1cbdf8
JM
28205 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28206 [!__fmaf] (fmaf): Define using libm_alias_float.
28207
39793865
JM
28208 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28209 (frexp): Define using libm_alias_double.
28210 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28211 <libm-alias-double.h>.
28212 (frexp): Define using libm_alias_double.
28213 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28214 compat symbol here.
28215
aa0235df
GG
282162017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28217
28218 [BZ #22235]
28219 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28220 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28221 (CFLAGS-test-math-iscanonical.cc): New variable.
28222 * math/test-math-iscanonical.cc: New file.
28223 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28224 Provide a C++ implementation based on function overloading,
28225 rather than using __MATH_TG, which uses C-only builtins.
28226 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28227 Likewise.
28228 * sysdeps/powerpc/powerpc64le/Makefile
28229 (CFLAGS-test-math-iscanonical.cc): New variable.
28230
a1132b5e
JM
282312017-10-03 Joseph Myers <joseph@codesourcery.com>
28232
28233 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28234 (ceil): Define using libm_alias_double.
28235 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28236 (floor): Define using libm_alias_double.
28237 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28238 <libm-alias-double.h>.
28239 (llround): Define using libm_alias_double.
28240 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28241 <libm-alias-double.h>.
28242 (lround): Define using libm_alias_double.
28243 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28244 <libm-alias-double.h>.
28245 (nearbyint): Define using libm_alias_double.
28246 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28247 <libm-alias-double.h>.
28248 (remquo): Define using libm_alias_double.
28249 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28250 (rint): Define using libm_alias_double.
28251 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28252 (round): Define using libm_alias_double.
28253 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28254 (trunc): Define using libm_alias_double.
28255 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28256 <libm-alias-double.h>.
28257 (ceil): Define using libm_alias_double.
28258 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28259 <libm-alias-double.h>.
28260 (floor): Define using libm_alias_double.
28261 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28262 <libm-alias-double.h>.
28263 (llround): Define using libm_alias_double.
28264 [_LP64] (lround): Likewise.
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28266 <libm-alias-double.h>.
28267 [!_LP64] (lround): Define using libm_alias_double.
28268 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28269 <libm-alias-double.h>.
28270 (nearbyint): Define using libm_alias_double.
28271 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28272 <libm-alias-double.h>.
28273 (remquo): Define using libm_alias_double.
28274 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28275 <libm-alias-double.h>.
28276 (rint): Define using libm_alias_double.
28277 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28278 <libm-alias-double.h>.
28279 (round): Define using libm_alias_double.
28280 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28281 <libm-alias-double.h>.
28282 (trunc): Define using libm_alias_double.
28283 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28284 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28285 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28286 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28287 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28288 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28289 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28290 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28291 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28292
f275f64e
SN
282932017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28294
28295 * math/w_remainder.c: New file.
28296 * math/w_remainderf.c: New file.
28297 * math/w_remainderl.c: New file.
28298
b8818ab5
L
282992017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28300
28301 * elf/rtld.c (BOOTSTRAP_MAP): New.
28302 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28303 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28304 Likewise.
28305 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28306 Likewise.
28307 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28308 Likewise.
28309
3d1870fa
ST
283102017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28311
28312 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28313 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28314 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28315 rtld_hidden_data_ver): Define to empty.
28316 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28317 __assert_perror_fail): Likewise.
28318 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28319 (__rewinddir): Likewise.
28320 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28321 (__profile_frequency): Likewise.
28322 * include/setjmp.h (__sigsetjmp): Likewise.
28323 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28324 __libc_sigaction): Likewise.
28325 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28326 not set hidden attribute.
28327 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28328 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28329 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28330 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28331 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28332 __fxstatat64): Likewise.
28333 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28334 (__uname): Likewise.
28335 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28336 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28337 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28338 (NO_RTLD_HIDDEN): Set.
28339 * sysdeps/mach/hurd/configure: Refresh.
28340 * config.h.in: Refresh.
28341
527cd19c
JM
283422017-10-02 Joseph Myers <joseph@codesourcery.com>
28343
38722448
JM
28344 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28345 (atan): Define using libm_alias_double.
28346 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28347 (tan): Define using libm_alias_double.
28348 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28349 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28350
527cd19c
JM
28351 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28352 define as weak alias of __atan. Do not define any aliases if
28353 [__atan].
28354 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28355 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28356 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28357 as weak alias of __tan. Do not define any aliases if [__tan].
28358 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28359 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28360 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28361 __atan.
28362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28363 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28364 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28365 and define as weak alias of __atan.
28366 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28367 __atan.
28368 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28370 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28371 define as weak alias of __tan.
28372
bdc5c592
SN
283732017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28374
28375 * math/w_lgamma.c: New file.
28376 * math/w_lgammaf.c: New file.
28377 * math/w_lgammal.c: New file.
28378
bd4430c2
SN
283792017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28380
28381 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28382 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28383 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28384 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28385 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28386 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28387 * sysdeps/i386/fpu/w_log2f.c: New file.
28388 * sysdeps/i386/fpu/w_logf.c: New file.
28389 * sysdeps/i386/fpu/w_powf.c: New file.
28390 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28391 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28392 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28393
f7a0b063
SN
283942017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28395 H.J. Lu <hongjiu.lu@intel.com>
28396
28397 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28398 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28399 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28400 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28401 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28402 the new expf code.
28403 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28404 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28405 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28406 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28407 * sysdeps/i386/fpu/w_exp2f.c: New file.
28408 * sysdeps/i386/fpu/w_expf.c: New file.
28409 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28410 * sysdeps/x86_64/fpu/w_expf.c: New file.
28411
72d3d281
SN
284122017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28413
28414 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28415 (log2f): Likewise.
28416 (powf): Likewise.
28417 * math/w_log2f.c: New file.
28418 * math/w_logf.c: New file.
28419 * math/w_powf.c: New file.
28420 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28421 * math/w_logf_compat.c (__logf_compat): Likewise.
28422 * math/w_powf_compat.c (__powf_compat): Likewise.
28423 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28424 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28425 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28426 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28427 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28428 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28429 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28430 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28431 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28432 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28433 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28434 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28435 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28436 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28437 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28439 Likewise.
28440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28441 Likewise.
28442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28443 Likewise.
28444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28445 Likewise.
28446 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28447 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28448 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28449 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28450 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28451 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28452 Likewise.
28453 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28454 Likewise.
28455 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28456 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28457 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28458
59ba2d2b
RS
284592017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28460
28461 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28462 (sysdep_routines): Add memrchr_power8.
28463 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28464 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28465 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28466 New file.
28467 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28468 (memrchr): Add __memrchr_power8 to ifunc list.
28469 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28470
397286ea
L
284712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28472
28473 [BZ #18822]
28474 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28475 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28476 libc_hidden_def.
28477 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28478 (__posix_fallocate64_l64): Likewise.
28479
d0a4512b
L
284802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28481
28482 [BZ #18822]
28483 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28484 (__sched_setaffinity_new): Add libc_hidden_proto and
28485 libc_hidden_def.
28486
c0769f70
L
284872017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28488
28489 [BZ #18822]
28490 * include/glob.h (__glob64): Add libc_hidden_proto.
28491 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28492 libc_hidden_def.
28493
0e7d5b6e
L
284942017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28495
28496 [BZ #18822]
28497 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28498 attribute_hidden.
28499
bde06c87
L
285002017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28501
28502 [BZ #18822]
28503 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28504
fa426590
L
285052017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28506
28507 [BZ #18822]
28508 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28509 libc_hidden_def.
28510
2f8a05d8
L
285112017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28512
28513 [BZ #18822]
28514 * csu/version.c (__libc_print_version): Add attribute_hidden.
28515
7bfd08ac
L
285162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28517
28518 [BZ #18822]
28519 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28520
0e1fd06c
L
285212017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28522
28523 [BZ #18822]
28524 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28525
36e7ae1e
L
285262017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28527
28528 [BZ #18822]
28529 * nscd/nscd_helper.c (__nis_hash): New prototype.
28530
87078544
L
285312017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28532
28533 [BZ #18822]
28534 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28535 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28536 libc_hidden_def.
28537 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28538 * termios/tcgetattr.c (__tcgetattr): Likewise.
28539
dd3121df
L
285402017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28541
28542 [BZ #18822]
28543 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28544 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28545 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28546 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28547 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28548
047d1a81
L
285492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28550
28551 [BZ #18822]
28552 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28553
fd331b11
L
285542017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28555
28556 [BZ #18822]
28557 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28558 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28559
57f859bd
L
285602017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28561
28562 [BZ #18822]
28563 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28564
d1903329
L
285652017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28566
28567 [BZ #18822]
28568 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28569 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28570
b4744101
L
285712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28572
28573 [BZ #18822]
28574 * include/ifreq.h: New file.
28575 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28576 (__ifreq): Likewise.
28577 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28578 (__ifreq): Likewise.
28579
43b7dfd1
L
285802017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28581
28582 [BZ #18822]
28583 * include/idna.h: New file.
28584 * inet/getnameinfo.c: Include <idna.h> instead of
28585 <libidn/idna.h>.
28586 (__idna_to_unicode_lzlz): Removed.
28587 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28588 <libidn/idna.h>.
28589 (__idna_to_ascii_lz): Removed.
28590 (__idna_to_unicode_lzlz): Likewise.
28591
2c0cd8f8
L
285922017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28593
28594 [BZ #18822]
28595 * include/plural-exp.h: New file.
28596 * intl/plural-exp.c: Include <plural-exp.h> instead of
28597 "plural-exp.h".
28598
8369d216
L
285992017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28600
28601 [BZ #18822]
28602 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28603 "getsourcefilter.h".
28604 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28605 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28606 "getsourcefilter.h".
28607 (__get_sol): Removed.
28608
a0aef783
L
286092017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28610
28611 [BZ #18822]
28612 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28613 to ...
28614 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28615
3ee8209b
L
286162017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28617
28618 [BZ #18822]
28619 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28620 attribute_hidden.
28621
6036fc38
L
286222017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28623
28624 [BZ #18822]
28625 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28626
fe84fed0
L
286272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28628
28629 [BZ #18822]
28630 * include/search.h (__tdestroy): Add libc_hidden_proto.
28631 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28632
048dd681
L
286332017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 [BZ #18822]
28636 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28637
6e342af6
L
286382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28639
28640 [BZ #18822]
28641 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28642 attribute_hidden.
28643
6a088436
L
286442017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28645
28646 [BZ #18822]
28647 * include/signal.h (__kill): Add libc_hidden_proto.
28648 (__sigblock): Likewise.
28649 (__sigprocmask): Likewise.
28650 (__sigaltstack): Likewise.
28651 * signal/kill.c (__kill): Add libc_hidden_def.
28652 * signal/sigblock.c (__sigblock): Likewise.
28653 * signal/sigprocmask.c (__sigprocmask): Likewise.
28654 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28655 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28656 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28657 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28658 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28659 Likewise.
28660 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28661 Likewise.
28662 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28663 (__sigprocmask): Likewise.
28664 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28665 Likewise.
28666 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28667 (__sigprocmask): Likewise.
28668 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28669 Likewise.
28670
78cf1d74
L
286712017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28672
28673 [BZ #18822]
28674 * include/string.h (__strsep): Add libc_hidden_proto.
28675 * string/strsep.c (__strsep): Add libc_hidden_def.
28676
85b35894
L
286772017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28678
28679 [BZ #18822]
28680 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28681 attribute_hidden.
28682 (__spawni): Likewise.
28683
225f7eec
L
286842017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28685
28686 [BZ #18822]
28687 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28688 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28689 libc_hidden_def.
28690
372fe247
L
286912017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28692
28693 [BZ #18822]
28694 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28695
9e5ee8b8
L
286962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28697
28698 [BZ #18822]
28699 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28700 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28701 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28702 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28703 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28704 Likewise.
28705 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28706 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28707
2ff16592
L
287082017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28709
28710 [BZ #18822]
28711 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28712 (__dcigettext): Likewise.
28713
b5648377
L
287142017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28715
28716 [BZ #18822]
28717 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28718 libc_hidden_proto.
28719 (__get_nprocs): Likewise.
28720 (__get_phys_pages): Likewise.
28721 (__get_avphys_pages): Likewise.
28722 (__get_child_max): Add attribute_hidden.
28723 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28724 (__get_nprocs): Likewise.
28725 (__get_phys_pages): Likewise.
28726 (__get_avphys_pages): Likewise.
28727 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28728 libc_hidden_def.
28729 (__get_nprocs): Likewise.
28730 (__get_phys_pages): Likewise.
28731 (__get_avphys_pages): Likewise.
28732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28733 libc_hidden_def.
28734 (__get_nprocs_conf): Likewise.
28735 (__get_phys_pages): Likewise.
28736 (__get_avphys_pages): Likewise.
28737
0389a6aa
L
287382017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28739
28740 [BZ #18822]
28741 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28742 attribute_hidden.
28743 (__netlink_close): Likewise.
28744 (__netlink_free_handle): Likewise.
28745 (__netlink_request): Likewise.
28746
d48354d8
L
287472017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28748
28749 [BZ #18822]
28750 * include/rpc/rpc.h (__rpc_thread_variables): Add
28751 attribute_hidden.
28752 (__rpc_thread_svc_cleanup): Likewise.
28753 (__rpc_thread_clnt_cleanup): Likewise.
28754 (__rpc_thread_key_cleanup): Likewise.
28755
d6daff12
L
287562017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28757
28758 [BZ #18822]
28759 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28760 (__writev): Likewise.
28761 * misc/readv.c (__readv): Add libc_hidden_def.
28762 * misc/writev.c (__writev): Likewise.
28763 * sysdeps/posix/readv.c (__readv): Likewise.
28764 * sysdeps/posix/writev.c (__writev): Likewise.
28765 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28766 (__readv): Likewise.
28767 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28768 (__writev): Likewise.
28769
b68f8620
L
287702017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28771
28772 [BZ #18822]
28773 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28774 (__regcomp): Add libc_hidden_proto.
28775 (__regexec): Likewise.
28776 (__regfree): Likewise.
28777 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28778 (__regfree): Likewise.
28779 * posix/regexec.c (__regexec): Likewise.
28780
59c04e67
L
287812017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28782
28783 [BZ #18822]
28784 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28785 (__getutent): Likewise.
28786 (__getutid): Likewise.
28787 (__getutline): Likewise.
28788 (__pututline): Likewise.
28789 (__getutent_r): Likewise.
28790 (__getutid_r): Likewise.
28791 (__getutline_r): Likewise.
28792 (__utmpname): Add attribute_hidden.
28793 (__setutent): Likewise.
28794 (__endutent): Likewise.
28795 * login/getutent.c (__getutent): Add libc_hidden_def.
28796 * login/getutent_r.c (__getutent_r): Likewise.
28797 (__pututline): Likewise.
28798 * login/getutid.c (__getutid): Likewise.
28799 * login/getutid_r.c (__getutid_r): Likewise.
28800 * login/getutline.c (__getutline): Likewise.
28801 * login/getutline_r.c (__getutline_r): Likewise.
28802 * login/updwtmp.c (__updwtmp): Likewise.
28803
4587a421
L
288042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 [BZ #18822]
28807 * include/dirent.h (__opendir): Always add attribute_hidden.
28808 (__fdopendir): Likewise.
28809 (__closedir): Likewise.
28810 (__readdir): Likewise.
28811 (__readdir64): Add libc_hidden_proto.
28812 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28813 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28814 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28815 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28816 New alias.
28817
9635ce69
L
288182017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28819
28820 [BZ #18822]
28821 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28822 * include/netdb.h (__gethostbyaddr_r): Likewise.
28823 (__gethostbyname_r): Likewise.
28824 (__gethostbyname2_r): Likewise.
28825 (__getnetbyaddr_r): Likewise.
28826 (__getnetbyname_r): Likewise.
28827 (__getservbyname_r): Likewise.
28828 (__getservbyport_r): Likewise.
28829 (__getprotobyname_r): Likewise.
28830 (__getprotobynumber_r): Likewise.
28831 (__getnetgrent_r): Likewise.
28832 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28833 (__getrpcbynumber_r): Likewise.
28834 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28835
2e0a6909
L
288362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28837
28838 [BZ #18822]
28839 * include/stdio.h (__fcloseall): Add attribute_hidden.
28840 (__getline): Likewise.
28841 (__path_search): Likewise.
28842 (__gen_tempname): Likewise.
28843 (__libc_message): Likewise.
28844 (__flockfile): Likewise.
28845 (__funlockfile): Likewise.
28846 (__fxprintf): Likewise.
28847 (__fxprintf_nocancel): Likewise.
28848
94fd682c
L
288492017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28850
28851 [BZ #18822]
28852 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28853 (__sgetsgent_r): Likewise.
28854
e1b33bba
L
288552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28856
28857 [BZ #18822]
28858 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28859 (__statfs64): Likewise.
28860 (__fstatfs64): Likewise.
28861 * include/sys/statvfs.h (__statvfs64): Likewise.
28862 (__fstatvfs64): Likewise.
28863 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28864 (__statfs_filesize_max): Likewise.
28865 (__statfs_symlinks): Likewise.
28866 (__statfs_chown_restricted): Likewise.
28867
b0f56784
L
288682017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28869
28870 [BZ #18822]
28871 * include/time.h (__tzstring): Add attribute_hidden.
28872 (__tzfile_read): Likewise.
28873 (__tzfile_compute): Likewise.
28874 (__tzfile_default): Likewise.
28875 (__tzset_parse_tz): Likewise.
28876 (__offtime): Likewise.
28877 (__asctime_r): Likewise.
28878 (__tzset): Likewise.
28879 (__tz_convert): Likewise.
28880 (__getdate_r): Likewise.
28881 (__getclktck): Likewise.
28882
a4338d99
L
288832017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28884
28885 [BZ #18822]
28886 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28887 (__nscd_unmap): Likewise.
28888 (__nscd_cache_search): Likewise.
28889 (__nscd_get_nl_timestamp): Likewise.
28890 (__nscd_getpwnam_r): Likewise.
28891 (__nscd_getpwuid_r): Likewise.
28892 (__nscd_getgrnam_r): Likewise.
28893 (__nscd_getgrgid_r): Likewise.
28894 (__nscd_gethostbyname_r): Likewise.
28895 (__nscd_gethostbyname2_r): Likewise.
28896 (__nscd_gethostbyaddr_r): Likewise.
28897 (__nscd_getai): Likewise.
28898 (__nscd_getgrouplist): Likewise.
28899 (__nscd_getservbyname_r): Likewise.
28900 (__nscd_getservbyport_r): Likewise.
28901 (__nscd_innetgr): Likewise.
28902 (__nscd_setnetgrent): Likewise.
28903
a2ca1652
L
289042017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 [BZ #18822]
28907 * include/gmp.h: Declare internal functions only if _ISOMAC is
28908 undefined.
28909 (__mpn_extract_double): Add attribute_hidden.
28910 (__mpn_extract_long_double): Likewise.
28911 (__mpn_extract_float128): Likewise.
28912 (__mpn_construct_float): Likewise.
28913 (__mpn_construct_double): Likewise.
28914 (__mpn_construct_long_double): Likewise.
28915 (__mpn_construct_float128): Likewise.
28916 (mpn_add_1): Likewise.
28917 (mpn_addmul_1): Likewise.
28918 (mpn_add_n): Likewise.
28919 (mpn_cmp): Likewise.
28920 (mpn_divrem): Likewise.
28921 (mpn_lshift): Likewise.
28922 (mpn_mul): Likewise.
28923 (mpn_mul_1): Likewise.
28924 (mpn_rshift): Likewise.
28925 (mpn_sub_1): Likewise.
28926 (mpn_submul_1): Likewise.
28927 (mpn_sub_n): Likewise.
28928
44af8a32
L
289292017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28930
28931 [BZ #18822]
28932 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28933 (__wcscat): Likewise.
28934 (__btowc): Likewise.
28935 (__wcrtomb): Likewise.
28936 (__mbsrtowcs): Likewise.
28937 (__wcsrtombs): Likewise.
28938 (__mbsnrtowcs): Likewise.
28939 (__wcsnrtombs): Likewise.
28940 (__wcsncpy): Likewise.
28941 (__wcpncpy): Likewise.
28942 (__wmemcpy): Likewise.
28943 (__wmempcpy): Likewise.
28944 (__wmemmove): Likewise.
28945 (__wcschrnul): Likewise.
28946 (__vfwscanf): Likewise.
28947 (__vswprintf): Likewise.
28948 (__fwprintf): Likewise.
28949 (__vfwprintf): Likewise.
28950
783cd767
L
289512017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28952
28953 [BZ #18822]
28954 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
28955 (__getgrgid_r): Likewise.
28956 (__getgrnam_r): Likewise.
28957 * include/pwd.h (__getpwuid_r): Likewise.
28958 (__getpwnam_r): Likewise.
28959 (__fgetpwent_r): Likewise.
28960 * include/shadow.h (__getspnam_r): Likewise.
28961 (__sgetspent_r): Likewise.
28962 (__fgetspent_r): Likewise.
28963
7ec4b39a
L
289642017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 [BZ #18822]
28967 * include/unistd.h (__access): Add attribute_hidden.
28968 (__lseek64): Likewise.
28969 (__libc_pread64): Likewise.
28970 (__pipe2): Likewise.
28971 (__sleep): Likewise.
28972 (__chdir): Likewise.
28973 (__fchdir): Likewise.
28974 (__getcwd): Likewise.
28975 (__rmdir): Likewise.
28976 (__execvpe): Likewise.
28977 (__execve): Likewise.
28978 (__setsid): Likewise.
28979 (__getuid): Likewise.
28980 (__geteuid): Likewise.
28981 (__getgid): Likewise.
28982 (__getegid): Likewise.
28983 (__getgroups): Likewise.
28984 (__group_member): Likewise.
28985 (__ttyname_r): Likewise.
28986 (__isatty): Likewise.
28987 (__readlink): Likewise.
28988 (__unlink): Likewise.
28989 (__gethostname): Likewise.
28990 (__profil): Likewise.
28991 (__getdtablesize): Likewise.
28992 (__brk): Likewise.
28993 (__ftruncate): Likewise.
28994 (__ftruncate64): Likewise.
28995
8345a760
L
289962017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 [BZ #18822]
28999 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29000 * argp/argp-fs-xinl.c: Likewise.
29001 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29002 * argp/argp-parse.c: Include <argp.h>.
29003 * argp/argp-xinl.c: Likewise.
29004 * include/argp-fmtstream.h: New file.
29005 * include/argp.h (__argp_error): Add attribute_hidden.
29006 (__argp_failure): Likewise.
29007 (__argp_input): Likewise.
29008 (__argp_state_help): Likewise.
29009
c26dd7c6
L
290102017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29011
29012 [BZ #18822]
29013 * include/wchar.h (____wcstof_l_internal): New prototype.
29014 (____wcstod_l_internal): Likewise.
29015 (____wcstold_l_internal): Likewise.
29016 (____wcstol_l_internal): Likewise.
29017 (____wcstoul_l_internal): Likewise.
29018 (____wcstoll_l_internal): Likewise.
29019 (____wcstoull_l_internal): Likewise.
29020 (____wcstof128_l_internal): Likewise.
29021 * sysdeps/ieee754/float128/wcstof128.c
29022 (____wcstof128_l_internal): Removed.
29023 * sysdeps/ieee754/float128/wcstof128_l.c
29024 (____wcstof128_l_internal): Likewise.
29025 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29026 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29027 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29028 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29029 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29030 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29031 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29032 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29033 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29034 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29035
3aff5644
L
290362017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29037
29038 [BZ #18822]
29039 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29040 instead of <sys/statvfs.h>.
29041 (__internal_statvfs): Removed.
29042 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29043 instead of <sys/statvfs.h>.
29044 (__internal_statvfs64): Removed.
29045 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29046 "internal_statvfs.h" instead of <sys/statvfs.h>.
29047 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29048 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29049 instead of <sys/statvfs.h>.
29050 (__internal_statvfs): Removed.
29051 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29052 instead of <sys/statvfs.h>.
29053 (__internal_statvfs64): Removed.
29054
8bcdb7e0
L
290552017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29056
29057 [BZ #18822]
29058 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29059 (__gconv_close): Likewise.
29060 (__gconv): Likewise.
29061 (__gconv_find_transform): Likewise.
29062 (__gconv_lookup_cache): Likewise.
29063 (__gconv_compare_alias_cache): Likewise.
29064 (__gconv_load_cache): Likewise.
29065 (__gconv_get_path): Likewise.
29066 (__gconv_close_transform): Likewise.
29067 (__gconv_release_cache): Likewise.
29068 (__gconv_find_shlib): Likewise.
29069 (__gconv_release_shlib): Likewise.
29070 (__gconv_get_builtin_trans): Likewise.
29071 (__gconv_compare_alias): Likewise.
29072 * include/dlfcn.h (_dlerror_run): Likewise.
29073 * include/stdio.h (__fortify_fail_abort): Likewise.
29074 * include/time.h (__tz_compute): Likewise.
29075 (__strptime_internal): Likewise.
29076 * intl/gettextP.h (_nl_find_domain): Likewise.
29077 (_nl_load_domain): Likewise.
29078 (_nl_find_msg): Likewise.
29079 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29080 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29081 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29082 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29083 (__gai_find_request): Likewise.
29084 (__gai_remove_request): Likewise.
29085 (__gai_notify): Likewise.
29086 (__gai_notify_only): Likewise.
29087 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29088 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29089 (_dl_non_dynamic_init): Likewise.
29090 (_dl_aux_init): Likewise.
29091 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29092 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29093 Likewise.
29094 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29095 (__wcsmbs_clone_conv): Likewise.
29096 (__wcsmbs_named_conv): Likewise.
29097
8ed3b643
L
290982017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29099
29100 [BZ #18822]
29101 * include/stdlib.h (__random): Add attribute_hidden.
29102 (__random_r): Likewise.
29103 (__srandom_r): Likewise.
29104 (__initstate_r): Likewise.
29105 (__setstate_r): Likewise.
29106 (__erand48_r): Likewise.
29107 (__nrand48_r): Likewise.
29108 (__jrand48_r): Likewise.
29109 (__srand48_r): Likewise.
29110 (__seed48_r): Likewise.
29111 (__lcong48_r): Likewise.
29112 (__drand48_iterate): Likewise.
29113 (__setenv): Likewise.
29114 (__unsetenv): Likewise.
29115 (__clearenv): Likewise.
29116 (__ptsname_r): Likewise.
29117 (__posix_openpt): Likewise.
29118 (__add_to_environ): Likewise.
29119 (__realpath): Add libc_hidden_proto.
29120 (__ecvt_r): Likewise.
29121 (__fcvt_r): Likewise.
29122 (__qecvt_r): Likewise.
29123 (__qfcvt_r): Likewise.
29124 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29125 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29126
ef9b6f73
L
291272017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29128
29129 [BZ #18822]
29130 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29131 * include/time.h (__mktime_internal): Likewise.
29132 * libio/iolibio.h (__fopen_internal): Likewise.
29133
8da92e72
JDA
291342017-10-01 John David Anglin <danglin@gcc.gnu.org>
29135
29136 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29137 pointer in frame.
29138 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29139 Correct offset used to restore PIC register.
29140
388784cf
JDA
291412017-09-30 John David Anglin <danglin@gcc.gnu.org>
29142
29143 [BZ libc/22165]
29144 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29145 code to load address of __getcontext_ret when generating PIC code.
29146
2000067a
L
291472017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29148
29149 * elf/Makefile (tests-static-internal): Add
29150 tst-tls1-static-non-pie.
29151 (LDFLAGS-tst-tls1-static-non-pie): New.
29152 * elf/tst-tls1-static-non-pie.c: New file.
29153
1e2bffd0
JM
291542017-09-29 Joseph Myers <joseph@codesourcery.com>
29155
29156 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29157 (asinh): Define using libm_alias_double.
29158 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29159 (cbrt): Define using libm_alias_double.
29160 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29161 <libm-alias-double.h>.
29162 (copysign): Define using libm_alias_double.
29163 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29164 (erf): Define using libm_alias_double.
29165 (erfc): Likewise.
29166 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29167 (expm1): Define using libm_alias_double.
29168 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29169 (fabs): Define using libm_alias_double.
29170 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29171 libm_alias_double.
29172 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29173 <libm-alias-double.h>.
29174 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29175 libm_alias_double.
29176 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29177 <libm-alias-double.h>.
29178 (getpayload): Define using libm_alias_double.
29179 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29180 <libm-alias-double.h>.
29181 (llrint): Define using libm_alias_double.
29182 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29183 (lrint): Define using libm_alias_double.
29184 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29185 <libm-alias-double.h>.
29186 (nextup): Define using libm_alias_double.
29187 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29188 <libm-alias-double.h>.
29189 (roundeven): Define using libm_alias_double.
29190 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29191 libm_alias_double.
29192 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29193 <libm-alias-double.h>.
29194 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29195 using libm_alias_double.
29196 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29197 (cos): Define using libm_alias_double.
29198 (sin): Likewise.
29199 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29200 <libm-alias-double.h>.
29201 (sincos): Define using libm_alias_double.
29202 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29203 (tanh): Define using libm_alias_double.
29204 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29205 <libm-alias-double.h>.
29206 (totalorder): Define using libm_alias_double.
29207 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29208 <libm-alias-double.h>.
29209 (totalordermag): Define using libm_alias_double.
29210 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29211 libm_alias_double.
29212 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29213 libm_alias_double.
29214 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29215 <libm-alias-double.h>.
29216 (getpayload): Define using libm_alias_double.
29217 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29218 <libm-alias-double.h>.
29219 (roundeven): Define using libm_alias_double.
29220 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29221 <libm-alias-double.h>.
29222 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29223 <libm-alias-double.h>.
29224 (totalorder): Define using libm_alias_double.
29225 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29226 <libm-alias-double.h>.
29227 (totalordermag): Define using libm_alias_double.
29228 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29229 libc compat symbol here.
29230 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29231 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29232 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29233 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29234 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29235 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29236 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29237 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29238 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29239 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29240
8172aad9
L
292412017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29242
29243 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29244 _dl_relocate_static_pie instead of _dl_start to compute load
29245 address in static PIE. Return 0 if _DYNAMIC is undefined for
29246 static executable.
29247
54464e74
L
292482017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29249
29250 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29251 _DYNAMIC is undefined for static executable.
29252
f6c5e5bc
L
292532017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29254
29255 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29256
2f92505d
JM
292572017-09-29 Joseph Myers <joseph@codesourcery.com>
29258
29259 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29260
bd8d53bb
WD
292612017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29262
29263 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29264 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29265 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29266 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29267 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29268 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29269 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29270 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29271 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29272 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29273 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29274 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29275 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29276 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29277 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29278 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29279 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29280
fffb1507
WD
292812017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29282
29283 * math/bits/cmathcalls.h (cimag): Remove inline.
29284 (creal): Remove inline.
29285 (conj): Remove inline.
29286
4ea49f4c
SN
292872017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29288
29289 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29290 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29291 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29292 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29293 (issignalingf_inline): Likewise.
29294 (POWF_LOG2_TABLE_BITS): Likewise.
29295 (POWF_LOG2_POLY_ORDER): Likewise.
29296 (POWF_SCALE_BITS): Likewise.
29297 (POWF_SCALE): Likewise.
29298 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29299 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29300 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29301
875c76c7
SN
293022017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29303
29304 * math/Makefile (type-float-routines): Add e_log2f_data.
29305 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29306 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29307 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29308 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29309 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29310 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29311 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29312
90c42e40
SN
293132017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29314
29315 * math/Makefile (type-float-routines): Add e_logf_data.
29316 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29317 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29318 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29319 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29320 * sysdeps/i386/fpu/e_logf_data.c: New file.
29321 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29322 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29323
4088d8dd
L
293242017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29325
29326 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29327 undefined _DYNAMIC in PIE libc.a.
29328 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29329 Likewse.
29330
4d3693ec
WD
293312017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29332
29333 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29334 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29335 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29336 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29337 (__signbit): Remove.
29338 (__signbitl): Remove.
29339 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29340 (__signbit): Remove.
29341 (__signbitl): Remove.
29342 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29343 (__signbit): Remove.
29344 (__signbitl): Remove.
29345 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29346 (__signbit): Remove.
29347 (__signbitl): Remove.
29348 * sysdeps/tile/bits/mathinline.h: Delete file.
29349 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29350 (__signbit): Remove.
29351 (__signbitl): Remove.
29352
1e6d0723
WD
293532017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29354
29355 * math/math.h: Improve handling of C99 isgreater macros.
29356 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29357 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29358 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29359 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29360 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29361
b2f03cf3
SN
293622017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29363
29364 * sysdeps/aarch64/libm-test-ulps: Update.
29365
f124cb38
JM
293662017-09-28 Joseph Myers <joseph@codesourcery.com>
29367
29368 [BZ #22225]
29369 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29370 math_opt_barrier on argument when doing arithmetic on it.
29371 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29372 Likewise. Use math_force_eval not math_opt_barrier after
29373 arithmetic.
29374 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29375 math_opt_barrier on argument when doing arithmetic on it.
29376 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29377 Likewise.
29378
7edd0691
L
293792017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29380
29381 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29382 libc_hidden_def.
29383 (__freeifaddrs): Likewise.
29384
2c7bbfaf
ST
293852017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29386
29387 * include/dirent.h (__dirfd): New declaration.
29388 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29389 alias.
29390 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29391 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29392 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
52a1f181
ST
29393 * include/unistd.h (__revoke): New declaration.
29394 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29395 alias.
29396 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29397 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29398 revoke.
64a4af28
ST
29399 * include/dirent.h (__seekdir): New declaration.
29400 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29401 redefine as weak alias.
29402 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29403 of seekdir.
4009ddc6
ST
29404 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29405 and use libc_hidden_def on them.
29406 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29407 them.
29408 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29409 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29410 instead of getifaddrs and freeifaddrs.
2c7bbfaf 29411
825adeee
L
294122017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29413
29414 [BZ #18822]
29415 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29416 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29417 (__dso_handle): Remove declaration.
29418 * dlfcn/tstatexit.c (__dso_handle): Removed.
29419 (main): Don't check __dso_handle.
29420 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29421 (main): Don't check __dso_handle.
29422 * include/dso_handle.h: New file.
29423 * malloc/mtrace.c: Include <dso_handle.h>.
29424 (mtrace): Pass __dso_handle directly.
29425 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29426 (__dso_handle): Remove declaration.
29427 (__pthread_atfork): Pass __dso_handle directly.
29428 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29429 (__dso_handle): Removed.
29430 * posix/wordexp-test.c: Include <dso_handle.h>.
29431 (__dso_handle): Remove declaration.
29432 (__app_register_atfork): Pass __dso_handle directly.
29433 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29434 (__dso_handle): Remove declaration.
29435 (at_quick_exit): Pass __dso_handle directly.
29436 * stdlib/atexit.c: Include <dso_handle.h>.
29437 (__dso_handle): Remove declaration.
29438 (atexit): Pass __dso_handle directly.
29439 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29440 (__dso_handle): Removed.
29441
bfb0deb3
JM
294422017-09-26 Joseph Myers <joseph@codesourcery.com>
29443
29444 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29445 using VDSO.
29446
cebcb9f8
AM
294472017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29448
29449 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29450 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29451 values to correct default value for given type.
29452
592d5c75
L
294532017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29454
29455 [BZ #22101]
29456 * elf/Makefile (tests): Add tst-debug1.
29457 ($(objpfx)tst-debug1): New.
29458 ($(objpfx)tst-debug1.out): Likewise.
29459 ($(objpfx)tst-debug1mod1.so): Likewise.
29460 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29461 with p_filesz == 0.
29462 * elf/tst-debug1.c: New file.
29463
2d9193f2
JM
294642017-09-26 Joseph Myers <joseph@codesourcery.com>
29465
29466 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29467 Define using __ifunc.
29468
4c5a7a02
TMQMF
294692017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29470
29471 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29472 exp2f() values.
29473
12ef66c4
JM
294742017-09-26 Joseph Myers <joseph@codesourcery.com>
29475
29476 [BZ #22156]
29477 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29478
44dade71
FW
294792017-09-26 Florian Weimer <fweimer@redhat.com>
29480
29481 * resolv/Makefile (tests-internal): Fix typo in comment.
29482
eaca16f1
FW
294832017-09-26 Florian Weimer <fweimer@redhat.com>
29484
29485 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29486
ccf970c7
AZ
294872017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29488
5f9f31ad
AZ
29489 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29490 Use an union instead of a max_align_t array for __space,
29491 so that __space is the same size on all platforms.
29492 * malloc/scratch_buffer_grow_preserve.c
29493 (__libc_scratch_buffer_grow_preserve): Likewise.
29494
ccf970c7
AZ
29495 [BZ #22183]
29496 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29497 version to 2.
29498 * posix/Makefile (routines): Add glob-lstat-compat and
29499 glob64-lstat-compat.
29500 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29501 * posix/glob-lstat-compat.c: New file.
29502 * posix/glob64-lstat-compat.c: Likewise.
29503 * posix/tst-glob_lstat_compat.c: Likewise.
29504 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29505 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29506 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29507 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29508 Likewise.
29509 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29510 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29511 * posix/glob.c (glob_lstat): New function.
29512 (glob): Rename to __glob and add versioned symbol to 2.27.
29513 (glob_in_dir): Use glob_lstat.
29514 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29515 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29516 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29517 2.27.
29518 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29519 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29520 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29521 gl_lstat on glob call.
29522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29523 and glob64 symbols.
29524 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29525 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29526 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29527 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29528 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29529 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29530 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29531 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29532 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29533 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29534 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29535 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29537 Likewise.
29538 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29540 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29541 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29542 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29543 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29544 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29545 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29547 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29548 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29549 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29550
b4396163
L
295512017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29552
29553 * configure.ac (AS): Require binutils 2.25 or later.
29554 * configure: Regenerated.
29555
8f834987
PP
295562017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29557
29558 [BZ #22207]
29559 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29560 VM size.
29561
3de93d19
DD
295622017-09-25 DJ Delorie <dj@redhat.com>
29563
29564 [BZ #22161]
29565 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29566 resetting timeout.
29567
9947638d
SL
295682017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29569
29570 * sysdeps/ieee754/dbl-64/sincos32.h
29571 [SINCCOS32_H]: Remove define.
29572 [SINCOS32_H]: Define.
29573
f5f0f526
SN
295742017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29575
29576 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29577 (exp2f): Likewise.
29578 * math/w_exp2f.c: New file.
29579 * math/w_expf.c: New file.
29580 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29581 * math/w_expf_compat.c (__expf_compat): Likewise.
29582 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29583 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29584 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29585 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29586 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29587 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29588 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29589 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29590 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29591 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29592 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29593 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29594 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29595 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29597 Likewise.
29598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29599 Likewise.
29600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29601 Likewise.
29602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29603 Likewise.
29604 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29605 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29606 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29607 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29608 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29610 Likewise.
29611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29612 Likewise.
29613 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29614 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29615 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29616
72aa6233
SN
296172017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29618
29619 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29620 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29621 (roundtoint, converttoint): Likewise.
29622 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29623 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29624 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29625 * sysdeps/ieee754/flt-32/math_config.h: New file.
29626 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29627 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29628 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29629 * sysdeps/i386/fpu/math_errf.c: New file.
29630 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29631 * sysdeps/ia64/fpu/math_errf.c: New file.
29632 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29633 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29634
5e6f3253
ST
296352017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29636
29637 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29638 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29639 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29640 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29641 to make sure that these symbols are defined.
b38a42a0
ST
29642 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29643 of <limits.h>
29644 (__need_NULL): Do not define.
29645 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29646 alignment.
29647 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29648 CMGROUP_MAX, cmsgcred): Do not define.
29649 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29650 NULL.
29651 * bits/socket.h: Likewise.
fcafcd16
ST
29652 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29653 __gettimeofday instead of gettimeofday.
29654 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29655 instead of settimeofday.
5e6f3253 29656
2f49ce7d
JM
296572017-09-22 Joseph Myers <joseph@codesourcery.com>
29658
29659 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29660 (asinhf): Define using libm_alias_float.
29661 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29662 (atanf): Define using libm_alias_float.
29663 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29664 (cbrtf): Define using libm_alias_float.
29665 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29666 (ceilf): Define using libm_alias_float.
29667 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29668 <libm-alias-float.h>.
29669 (copysignf): Define using libm_alias_float.
29670 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29671 (cosf): Define using libm_alias_float.
29672 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29673 (erff): Define using libm_alias_float.
29674 (erfcf): Likewise.
29675 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29676 (expm1f): Define using libm_alias_float.
29677 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29678 (fabsf): Define using libm_alias_float.
29679 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29680 (floorf): Define using libm_alias_float.
29681 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29682 (frexpf): Define using libm_alias_float.
29683 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29684 libm_alias_float.
29685 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29686 <libm-alias-float.h>.
29687 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29688 libm_alias_float.
29689 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29690 <libm-alias-float.h>.
29691 (getpayloadf): Define using libm_alias_float.
29692 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29693 <libm-alias-float.h>.
29694 (llrintf): Define using libm_alias_float.
29695 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29696 <libm-alias-float.h>.
29697 (llroundf): Define using libm_alias_float.
29698 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29699 (logbf): Define using libm_alias_float.
29700 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29701 (lrintf): Define using libm_alias_float.
29702 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29703 (lroundf): Define using libm_alias_float.
29704 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29705 (modff): Define using libm_alias_float.
29706 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29707 <libm-alias-float.h>.
29708 (nearbyintf): Define using libm_alias_float.
29709 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29710 <libm-alias-float.h>.
29711 (nextafterf): Define using libm_alias_float.
29712 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29713 <libm-alias-float.h>.
29714 (nextupf): Define using libm_alias_float.
29715 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29716 <libm-alias-float.h>.
29717 (remquof): Define using libm_alias_float.
29718 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29719 (rintf): Define using libm_alias_float.
29720 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29721 <libm-alias-float.h>.
29722 (roundevenf): Define using libm_alias_float.
29723 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29724 (roundf): Define using libm_alias_float.
29725 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29726 using libm_alias_float.
29727 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29728 <libm-alias-float.h>.
29729 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29730 Define using libm_alias_float.
29731 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29732 <libm-alias-float.h>.
29733 (sincosf): Define using libm_alias_float.
29734 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29735 (sinf): Define using libm_alias_float.
29736 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29737 (tanf): Define using libm_alias_float.
29738 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29739 (tanhf): Define using libm_alias_float.
29740 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29741 <libm-alias-float.h>.
29742 (totalorderf): Define using libm_alias_float.
29743 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29744 <libm-alias-float.h>.
29745 (totalordermagf): Define using libm_alias_float.
29746 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29747 (truncf): Define using libm_alias_float.
29748 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29749 libm_alias_float.
29750 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29751 libm_alias_float.
29752
c5c4a626
GG
297532017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29754
29755 [BZ #22146]
29756 math/math.h: Let fpclassify use the builtin in C++ mode, even
29757 when optimazing for size.
29758
23947846
JM
297592017-09-22 Joseph Myers <joseph@codesourcery.com>
29760
29761 * csu/Makefile (generated): Do not add version-info.h.
29762 (before-compile): Likewise.
29763 (all-Banner-files): Remove variable.
29764 ($(objpfx)version-info.h): Remove rule.
29765 * csu/version.c (banner): Do not include "version-info.h".
29766 * libidn/Banner: Remove.
29767 * manual/contrib.texi (Simon Josefsson): New entry.
29768
9ac3c682
GG
297692017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29770
29771 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29772 Remove conditionals on LDBL_MANT_DIG.
29773 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29774 (__ieee754_lgammal_r): Likewise.
29775
d2f0ed09
GG
297762017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29777
29778 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29779 _Float128 and L().
29780 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29781 _Float128 and L(). Replace _Float128 with long double and L(x)
29782 with xL, throughout the file.
29783 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29784 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29785 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29786 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29787
c5c2e667
GG
297882017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29789
29790 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29791 sysdeps/ieee754/ldbl-128ibm.
29792 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29793 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29794 of including it. Keep _Float128 and L() intact. These will be
29795 reviewed by a separate patch.
29796 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29797 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29798 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29799 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29800
e010deb2
GG
298012017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29802
29803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29804 (__finitef128): Define to __redirect___finitef128.
29805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29806 (__isinff128): Define to __redirect___isinff128.
29807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29808 (__isnanf128): Define to __redirect___isnanf128.
29809
ffa44804
GG
298102017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29811
29812 * sysdeps/powerpc/powerpc64le/Makefile
29813 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29814 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29815
e5e4d7cc
PP
298162017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29817 Carlos O'Donell <carlos@redhat.com>
29818
29819 [BZ #22180]
29820 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29821 * stdlib/test-dlclose-exit-race.c: New file.
29822 * stdlib/test-dlclose-exit-race-helper.c: New file.
29823 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29824
c10c5267
JM
298252017-09-21 Joseph Myers <joseph@codesourcery.com>
29826
29827 * crypt/Banner: Remove file.
29828 * nptl/Banner: Likewise.
29829 * resolv/Banner: Likewise.
29830 * soft-fp/Banner: Likewise.
29831 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29832 ($(objpfx)version.d): Remove dependency on banner.h.
29833 ($(objpfx)version.os): Likewise.
29834 * nptl/version.c (banner): Do not include banner.h.
29835 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29836 Jelinek and BIND code.
29837
1cc9e59a
PP
298382017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29839 Carlos O'Donell <carlos@redhat.com>
29840
29841 * support/xdlfcn.h: New file.
29842 * support/xdlfcn.c: New file.
29843 * support/Makefile (libsupport-routines): Add xdlfcn.
29844 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29845
ae8372d7
JM
298462017-09-20 Joseph Myers <joseph@codesourcery.com>
29847
29848 [BZ #20142]
29849 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29850 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29851 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29852 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29853 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29854 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29855 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29856 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29857
26e70aec 298582017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
b39d961c
TS
29859 Ricky Zhou <rickyz@google.com>
29860 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
26e70aec
PP
29861
29862 [BZ #14333]
29863 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29864 Remove atomics.
29865 (__new_exitfn): Fail registration when we finished at_exit processing.
29866 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29867 * stdlib/on_exit.c (__on_exit): Likewise.
29868 * stdlib/exit.c (__exit_funcs_done): New variable.
29869 (__run_exit_handlers): Use __exit_funcs_lock.
29870 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29871 declarations.
29872 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29873 (test-cxa_atexit-race, test-on_exit-race): New tests.
29874 * stdlib/test-atexit-race-common.c: New file.
29875 * stdlib/test-atexit-race.c: New file.
29876 * stdlib/test-at_quick_exit-race.c: New file.
29877 * stdlib/test-cxa_atexit-race.c: New file.
29878 * stdlib/test-on_exit-race.c: New file.
29879
0525ce48
SN
298802017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29881
29882 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29883 * benchtests/exp2f-inputs: Copy of expf-inputs.
29884 * benchtests/log2f-inputs: Copy of logf-inputs.
29885
d82468d1
JM
298862017-09-19 Joseph Myers <joseph@codesourcery.com>
29887
29888 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29889 Explicitly take address of first element of array arguments in
29890 call to INLINE_SYSCALL.
29891
43ffc53a
AS
298922017-09-19 Andreas Schwab <schwab@suse.de>
29893
29894 [BZ #22134]
29895 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29896 execveat first.
29897 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29898 unimplemented.
29899 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29900 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29901 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29902 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29903 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29904 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29905 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29906 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29907 * posix/Makefile (tests): Add tst-fexecve.
29908 * posix/tst-fexecve.c: New file.
29909
a5dcc87e
WD
299102017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29911
29912 * benchtests/Makefile: Add logf benchmark.
29913 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29914
7024d544
WD
299152017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29916
29917 * benchtests/Makefile: Add expf benchmark.
29918 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29919
ca3a382e
WD
299202017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29921
29922 * csu/Makefile: Add -funwind-tables to libc-start.c.
29923 * debug/Makefile: Add -funwind-tables to backtrace.c.
29924 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29925 * sysdeps/arm/Makefile: Likewise.
29926 * sysdeps/i386/Makefile: Likewise.
29927 * sysdeps/m68k/Makefile: Likewise.
29928 * sysdeps/mips/Makefile: Likewise.
29929 * sysdeps/nios2/Makefile: Likewise.
29930 * sysdeps/sh/Makefile: Likewise.
29931 * sysdeps/sparc/Makefile: Likewise.
29932
eb375def
JM
299332017-09-19 Joseph Myers <joseph@codesourcery.com>
29934
29935 * benchtests/Makefile (bench-math): Add trunc and truncf.
29936 (CFLAGS-bench-trunc.c): New variable.
29937 (CFLAGS-bench-truncf.c): Likewise.
29938 * benchtests/trunc-inputs: New file.
29939 * benchtests/truncf-inputs: Likewise.
29940
bd17ba29
RS
299412017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29942
29943 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
29944
92892fdb
JM
299452017-09-18 Joseph Myers <joseph@codesourcery.com>
29946
6d9b0b5a
JM
29947 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
29948 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
29949 redefine.
29950 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
29951 (exp10l): Define as weak alias.
29952 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
29953 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
29954 and redefine.
29955 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
29956 (remainderl): Define as weak alias.
29957
92892fdb
JM
29958 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
29959 (fmal): Define using libm_alias_ldouble.
29960 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
29961 (acoshl): Define using libm_alias_ldouble.
29962 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
29963 (acosl): Define using libm_alias_ldouble.
29964 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
29965 (asinl): Define using libm_alias_ldouble.
29966 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
29967 (atan2l): Define using libm_alias_ldouble.
29968 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
29969 (atanhl): Define using libm_alias_ldouble.
29970 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
29971 (coshl): Define using libm_alias_ldouble.
29972 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
29973 (exp10l): Define using libm_alias_ldouble.
29974 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
29975 (exp2l): Define using libm_alias_ldouble.
29976 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
29977 (expl): Define using libm_alias_ldouble.
29978 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
29979 (fmodl): Define using libm_alias_ldouble.
29980 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
29981 (hypotl): Define using libm_alias_ldouble.
29982 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
29983 (j0l): Define using libm_alias_ldouble.
29984 (y0l): Likewise.
29985 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
29986 (j1l): Define using libm_alias_ldouble.
29987 (y1l): Likewise.
29988 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
29989 (jnl): Define using libm_alias_ldouble.
29990 (ynl): Likewise.
29991 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
29992 (log10l): Define using libm_alias_ldouble.
29993 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
29994 (log2l): Define using libm_alias_ldouble.
29995 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
29996 (logl): Define using libm_alias_ldouble.
29997 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
29998 (powl): Define using libm_alias_ldouble.
29999 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30000 (remainderl): Define using libm_alias_ldouble.
30001 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30002 (sinhl): Define using libm_alias_ldouble.
30003 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30004 (sqrtl): Define using libm_alias_ldouble.
30005 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30006 (tgammal): Define using libm_alias_ldouble.
30007 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30008 (exp10l): Do not use long_double_symbol here.
30009 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30010 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30011 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30012 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30013 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30014 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30015 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30016 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30017 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30018 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30019 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30020 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30021 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30022 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30023 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30024 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30025 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30026 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30027 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30028 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30029 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30030 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30031
6cd380dd
WB
300322017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30033
30034 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30035 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30036
1c6d89e9
ST
300372017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30038
30039 * io/read.c (read): Add libc_hidden_weak.
30040 * sysdeps/mach/hurd/read.c (read): Likewise.
30041 * io/write.c (write): Likewise.
30042 * sysdeps/mach/hurd/write.c (write): Likewise.
30043 * io/pread64.c (__pread64): Likewise.
30044 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30045 * posix/pread64.c (__pread64): Add libc_hidden_def.
30046
06b1de23
SP
300472017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30048
140647ea
SP
30049 * benchtests/scripts/compare_strings.py: New option -g.
30050 (draw_graph): Print a message that a graph is being generated.
30051 (process_results): Generate graph only if -g is passed.
30052 (main): Process option -g.
30053
5a6547b7
SP
30054 * benchtests/scripts/compare_strings.py (process_results):
30055 Better spacing for output.
30056
06b1de23
SP
30057 * benchtests/scripts/compare_strings.py: Use argparse.
30058 * benchtests/README: Document existence of compare_strings.py.
30059
c67a2328
JM
300602017-09-15 Joseph Myers <joseph@codesourcery.com>
30061
9ac44708
JM
30062 * math/s_fma.c: Include <libm-alias-double.h>.
30063 (fma): Define using libm_alias_double.
30064 * math/s_nextafter.c: Include <libm-alias-double.h>.
30065 (nextafter): Define using libm_alias_double.
30066 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30067 (acos): Define using libm_alias_double.
30068 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30069 (aocsh): Define using libm_alias_double.
30070 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30071 (asin): Define using libm_alias_double.
30072 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30073 (atan2): Define using libm_alias_double.
30074 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30075 (atanh): Define using libm_alias_double.
30076 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30077 (cosh): Define using libm_alias_double.
30078 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30079 (exp10): Define using libm_alias_double.
30080 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30081 (exp2): Define using libm_alias_double.
30082 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30083 (exp): Define using libm_alias_double.
30084 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30085 (fmod): Define using libm_alias_double.
30086 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30087 (hypot): Define using libm_alias_double.
30088 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30089 (j0): Define using libm_alias_double.
30090 (y0): Likewise.
30091 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30092 (j1): Define using libm_alias_double.
30093 (y1): Likewise.
30094 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30095 (jn): Define using libm_alias_double.
30096 (yn): Likewise.
30097 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30098 (log10): Define using libm_alias_double.
30099 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30100 (log2): Define using libm_alias_double.
30101 * math/w_log_compat.c: Include <libm-alias-double.h>.
30102 (log): Define using libm_alias_double.
30103 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30104 (pow): Define using libm_alias_double.
30105 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30106 (remainder): Define using libm_alias_double.
30107 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30108 (sinh): Define using libm_alias_double.
30109 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30110 (sqrt): Define using libm_alias_double.
30111 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30112 (tgamma): Define using libm_alias_double.
30113 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30114 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30115 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30116 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30117 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30118 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30119 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30120 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30121 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30122 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30123 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30124 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30125 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30126 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30127 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30128 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30129 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30130 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30131 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30132 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30133 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30134 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30135 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30136 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30137 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30138
c67a2328
JM
30139 * math/e_acoshl.c: Remove.
30140 * math/e_acosl.c: Likewise.
30141 * math/e_asinl.c: Likewise.
30142 * math/e_atan2l.c: Likewise.
30143 * math/e_atanhl.c: Likewise.
30144 * math/e_coshl.c: Likewise.
30145 * math/e_expl.c: Likewise.
30146 * math/e_fmodl.c: Likewise.
30147 * math/e_gammal_r.c: Likewise.
30148 * math/e_hypotl.c: Likewise.
30149 * math/e_j0l.c: Likewise.
30150 * math/e_j1l.c: Likewise.
30151 * math/e_jnl.c: Likewise.
30152 * math/e_lgammal_r.c: Likewise.
30153 * math/e_log10l.c: Likewise.
30154 * math/e_log2l.c: Likewise.
30155 * math/e_logl.c: Likewise.
30156 * math/e_powl.c: Likewise.
30157 * math/e_rem_pio2l.c: Likewise.
30158 * math/e_sinhl.c: Likewise.
30159 * math/e_sqrtf128.c: Likewise.
30160 * math/e_sqrtl.c: Likewise.
30161 * math/k_cosl.c: Likewise.
30162 * math/k_sinl.c: Likewise.
30163 * math/k_tanl.c: Likewise.
30164 * math/s_asinhl.c: Likewise.
30165 * math/s_atanl.c: Likewise.
30166 * math/s_cbrtl.c: Likewise.
30167 * math/s_erfl.c: Likewise.
30168 * math/s_expm1l.c: Likewise.
30169 * math/s_log1pl.c: Likewise.
30170 * math/s_tanhl.c: Likewise.
30171
61c45f25
TMQMF
301722017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30173
30174 [BZ #21745]
30175 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30176 [$(subdir) = math] (sysdep_calls): New variable. Has the
30177 previous contents of sysdep_routines, but re-sorted..
30178 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30179 sysdep_calls.
30180 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30181 defined in sysdep_calls and replace by the respective m_* names.
30182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30183 (compat_symbol): Undefine to avoid duplicated compat symbols in
30184 libc.
30185
5bcdb315
JM
301862017-09-15 Joseph Myers <joseph@codesourcery.com>
30187
30188 * math/s_fmaf.c: Include <libm-alias-float.h>.
30189 (fmaf): Define using libm_alias_float.
30190 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30191 (acosf): Define using libm_alias_float.
30192 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30193 (acoshf): Define using libm_alias_float.
30194 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30195 (asinf): Define using libm_alias_float.
30196 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30197 (atan2f): Define using libm_alias_float.
30198 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30199 (atanhf): Define using libm_alias_float.
30200 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30201 (coshf): Define using libm_alias_float.
30202 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30203 (exp10f): Define using libm_alias_float.
30204 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30205 (fmodf): Define using libm_alias_float.
30206 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30207 (hypotf): Define using libm_alias_float.
30208 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30209 (j0f): Define using libm_alias_float.
30210 (y0f): Likewise.
30211 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30212 (j1f): Define using libm_alias_float.
30213 (y1f): Likewise.
30214 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30215 (jnf): Define using libm_alias_float.
30216 (ynf): Likewise.
30217 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30218 (log10f): Define using libm_alias_float.
30219 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30220 (log2f): Define using libm_alias_float.
30221 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30222 (logf): Define using libm_alias_float.
30223 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30224 (powf): Define using libm_alias_float.
30225 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30226 (remainderf): Define using libm_alias_float.
30227 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30228 (sinhf): Define using libm_alias_float.
30229 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30230 (sqrtf): Define using libm_alias_float.
30231 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30232 (tgammaf): Define using libm_alias_float.
30233
01f28812
JM
302342017-09-14 Joseph Myers <joseph@codesourcery.com>
30235
30236 * include/math.h (roundeven): Change hidden_proto call to
30237 __roundeven.
30238 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30239 alias.
30240 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30241 (y0): Rename to __y0 and define as weak alias.
30242 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30243 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30244 alias.
30245 (y0f): Rename to __y0f and define as weak alias.
30246 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30247 alias.
30248 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30249 (y1): Rename to __y1 and define as weak alias.
30250 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30251 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30252 alias.
30253 (y1f): Rename to __y1f and define as weak alias.
30254 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30255 alias.
30256 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30257 (yn): Rename to __yn and define as weak alias.
30258 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30259 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30260 alias.
30261 (ynf): Rename to __ynf and define as weak alias.
30262 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30263 (fromfp): Define as weak alias.
30264 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30265 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30266 (fromfpx): Define as weak alias.
30267 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30268 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30269 __getpayload and define as weak alias.
30270 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30271 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30272 __roundeven and define as weak alias.
30273 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30274 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30275 __setpayload.
30276 (setpayload): Define as weak alias.
30277 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30278 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30279 __setpayloadsig.
30280 (setpayloadsig): Define as weak alias.
30281 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30282 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30283 __totalorder and define as weak alias.
30284 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30285 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30286 to __totalordermag and define as weak alias.
30287 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30288 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30289 (ufromfp): Define as weak alias.
30290 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30291 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30292 __ufromfpx.
30293 (ufromfpx): Define as weak alias.
30294 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30295 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30296 Rename to __getpayload and define as weak alias.
30297 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30298 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30299 Rename to __roundeven and define as weak alias.
30300 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30301 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30302 Rename to __totalorder and define as weak alias.
30303 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30304 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30305 (totalordermag): Rename to __totalordermag and define as weak
30306 alias.
30307 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30308 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30309 macro.
30310 (__roundevenl): Likewise.
30311 (__totalorderl): Likewise.
30312 (__totalordermagl): Likewise
30313 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30314 __fromfpf128.
30315 (fromfpf128): Define as weak alias.
30316 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30317 __fromfpxf128.
30318 (fromfpxf128): Define as weak alias.
30319 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30320 __setpayloadf128.
30321 (setpayloadf128): Define as weak alias.
30322 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30323 __setpayloadsigf128.
30324 (setpayloadsigf128): Define as weak alias.
30325 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30326 __ufromfpf128.
30327 (ufromfpf128): Define as weak alias.
30328 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30329 __ufromfpxf128.
30330 (ufromfpxf128): Define as weak alias.
30331 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30332 (fromfpf): Define as weak alias.
30333 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30334 __fromfpxf.
30335 (fromfpxf): Define as weak alias.
30336 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30337 __getpayloadf and define as weak alias.
30338 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30339 __roundevenf and define as weak alias.
30340 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30341 __setpayloadf.
30342 (setpayloadf): Define as weak alias.
30343 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30344 __setpayloadsigf.
30345 (setpayloadsigf): Define as weak alias.
30346 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30347 __totalorderf and define as weak alias.
30348 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30349 Rename to __totalordermagf and define as weak alias.
30350 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30351 __ufromfpf.
30352 (ufromfpf): Define as weak alias.
30353 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30354 __ufromfpxf.
30355 (ufromfpxf): Define as weak alias.
30356 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30357 __fromfpl.
30358 (fromfpl): Define as weak alias.
30359 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30360 __fromfpxl.
30361 (fromfpxl): Define as weak alias.
30362 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30363 to __getpayloadl and define as weak alias.
30364 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30365 __roundevenl and define as weak alias.
30366 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30367 __setpayloadl.
30368 (setpayloadl): Define as weak alias.
30369 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30370 __setpayloadsigl.
30371 (setpayloadsigl): Define as weak alias.
30372 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30373 to __totalorderl and define as weak alias.
30374 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30375 Rename to __totalordermagl and define as weak alias.
30376 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30377 __ufromfpl.
30378 (ufromfpl): Define as weak alias.
30379 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30380 __ufromfpxl.
30381 (ufromfpxl): Define as weak alias.
30382 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30383 __fromfpl.
30384 (fromfpl): Define as weak alias.
30385 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30386 __fromfpxl.
30387 (fromfpxl): Define as weak alias.
30388 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30389 Rename to __getpayloadl and define as weak alias.
30390 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30391 to __roundevenl and define as weak alias. Call __roundeven
30392 instead of roundeven.
30393 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30394 __setpayloadl.
30395 (setpayloadl): Define as weak alias.
30396 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30397 __setpayloadsigl.
30398 (setpayloadsigl): Define as weak alias.
30399 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30400 Rename to __totalorderl and define as weak alias.
30401 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30402 Rename to __totalordermagl and define as weak alias.
30403 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30404 __ufromfpl.
30405 (ufromfpl): Define as weak alias.
30406 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30407 __ufromfpxl.
30408 (ufromfpxl): Define as weak alias.
30409 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30410 __fromfpl.
30411 (fromfpl): Define as weak alias.
30412 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30413 __fromfpxl.
30414 (fromfpxl): Define as weak alias.
30415 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30416 __getpayloadl and define as weak alias.
30417 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30418 __roundevenl and define as weak alias.
30419 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30420 __setpayloadl.
30421 (setpayloadl): Define as weak alias.
30422 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30423 __setpayloadsigl.
30424 (setpayloadsigl): Define as weak alias.
30425 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30426 __totalorderl and define as weak alias.
30427 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30428 Rename to __totalordermagl and define as weak alias.
30429 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30430 __ufromfpl.
30431 (ufromfpl): Define as weak alias.
30432 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30433 __ufromfpxl.
30434 (ufromfpxl): Define as weak alias.
30435
29c933fb
SP
304362017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30437
503c92c3
SP
30438 * benchtests/bench-string.h (realloc_bufs): New function.
30439 (test_init): Call it.
30440 * benchtests/bench-memset-large.c (do_test): Likewise.
30441 * benchtests/bench-memset.c (do_test): Likewise.
30442
29c933fb
SP
30443 * benchtests/bench-memset-large.c: Print output in JSON
30444 format.
30445 * benchtests/bench-memset.c: Likewise.
30446
799c8d69
MF
304472017-09-14 Mike FABIAN <mfabian@redhat.com>
30448
30449 [BZ #21084]
30450 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30451 * iconvdata/Makefile: Add IBM858.
30452 * iconvdata/gconv-modules: Likewise.
30453 * iconvdata/tst-tables.sh: Likewise.
30454 * iconvdata/ibm858.c: New file.
30455 * localedata/charmaps/IBM858: Likewise.
30456
c207f7ce 304572017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
fcc82c06
AK
30458
30459 [BZ #22023]
30460 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30461 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30462
f28a0926
AK
304632017-09-14 Mike FABIAN <mfabian@redhat.com>
30464
30465 [BZ #22112]
30466 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30467 and add tel_int_fmt.
30468
02093e62
JM
304692017-09-14 Joseph Myers <joseph@codesourcery.com>
30470
30471 * sysdeps/generic/libm-alias-float128.h: New file.
30472 * sysdeps/generic/math-type-macros-float128.h: Include
30473 <libm-alias-float128.h>.
30474 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30475
1aae75ef
JM
304762017-09-13 Joseph Myers <joseph@codesourcery.com>
30477
30478 * sysdeps/generic/libm-alias-ldouble.h: New file.
30479 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30480 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30481 * sysdeps/generic/math-type-macros-ldouble.h: Include
30482 <libm-alias-ldouble.h>.
30483 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30484 libm_alias_ldouble.
30485
bcea7ad6
SN
304862017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30487
30488 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30489 * math/w_exp_compat.c: ... here.
30490 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30491 * math/w_expf_compat.c: ... here.
30492 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30493 * math/w_expl_compat.c: ... here.
30494 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30495 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30496 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30497 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30498
0fc56478
JM
304992017-09-13 Joseph Myers <joseph@codesourcery.com>
30500
30501 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30502 redefine.
30503 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30504 macro.
30505 (ldexpl): Only define as compat symbol for libc, not libm.
30506 (scalbnl): Define as compat symbol for libc here.
30507 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30508 define for [IS_IN (libc)].
30509 (__ldexpl_2): Remove alias.
30510 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30511 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30512 name in long_double_symbol call.
30513 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30514 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30515 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30516 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30517 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30518 Remove macro.
30519 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30520 Define as compat symbol.
30521
3ca622e4
AZ
305222017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30523
30524 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30525 * sysdeps/unix/sysv/linux/alpha/Makefile
30526 [$(subdir) = csu] (sysdep_routines): Remove rule.
30527
620ff9ee
JM
305282017-09-13 Joseph Myers <joseph@codesourcery.com>
30529
30530 * sysdeps/generic/libm-alias-double.h: New file.
30531 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30532 * sysdeps/generic/math-type-macros-double.h: Include
30533 <libm-alias-double.h>.
30534 [declare_mgen_alias] (declare_mgen_alias): Define to use
30535 libm_alias_double.
30536 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30537 (M_LIBM_NEED_COMPAT): Remove macro.
30538 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30539 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30540 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30541 code.
30542 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30543 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30544 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30545 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30546 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30547 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30548 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30549 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30550 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30551 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30552 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30553 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30554 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30555 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30556 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30557 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30558 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30559 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30560 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30561 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30562 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30563 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30564 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30565 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30566 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30567 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30568 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30569 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30570 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30571 macro.
30572 (declare_mgen_alias): New macro.
30573 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30574 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30576 (M_LIBM_NEED_COMPAT): Remove macro.
30577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30578 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30579 <first-versions.h>.
30580 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30581 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30582
a891caff
JM
305832017-09-12 Joseph Myers <joseph@codesourcery.com>
30584
30585 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30586 (declare_mgen_alias_2): Remove.
30587 * sysdeps/generic/math-type-macros-double.h
30588 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30589 Likewise.
30590 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30591 alias.
30592 (ldexp): Define with declare_mgen_alias.
30593 (scalbn): Likewise.
30594
a1a78204
SE
305952017-09-12 Steve Ellcey <sellcey@cavium.com>
30596
30597 * grp/initgroups.c: Include config.h.
30598 (DEFAULT_CONFIG): New macro.
30599 (internal_getgrouplist): Use DEFAULT_CONFIG.
30600 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30601 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30602 (DEFAULT_DEFCONFIG): New macro.
30603 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30604 * nss/grp-lookup.c: Include config.h
30605 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30606 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30607 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30608 * manual/nss.texi: Update default values section.
30609
ef8adeb0
L
306102017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30611
30612 [BZ #21967]
30613 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30614 New.
30615 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30616 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30617 Handle MathVec_Prefer_No_AVX512.
30618 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30619 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30620 is set.
30621
a166531f
ST
306222017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30623
30624 * posix/sched_primax.c (__sched_get_priority_max): Add
30625 libc_hidden_def.
30626 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30627 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30628 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30629 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30630 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30631 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30632 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30633 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30634 Add aliases.
30635
4b7d1efb
JM
306362017-09-11 Joseph Myers <joseph@codesourcery.com>
30637
30638 * sysdeps/generic/libm-alias-float.h: New file.
30639 * sysdeps/generic/math-type-macros-float.h: Include
30640 <libm-alias-float.h>.
30641 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30642
45ff3463
L
306432017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30644
30645 [BZ #22093]
30646 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30647 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30648 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30649 (HWCAP_IMPORTANT): Likewise.
30650 (HWCAP_X86_64): New enum.
30651 (HWCAP_X86_AVX512_1): Updated.
30652 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30653 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30654 (modules-names): Add x86_64/tst-x86_64mod-1.
30655 (LDFLAGS-tst-x86_64mod-1.so): New.
30656 ($(objpfx)tst-x86_64-1): Likewise.
30657 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30658 (tst-x86_64-1-clean): Likewise.
30659 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30660 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30661
891abfd3
SP
306622017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30663
30664 * po/sv.po: Update translations.
30665 * po/fr.po: Likewise.
30666
00c3da43
ST
306672017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30668
30669 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30670 seconds.
3bdfd9fb
ST
30671 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30672 seconds.
65b22ebc 30673 * elf/rtld-Rules: Fix $(error) use.
00c3da43 30674
96480903
MF
306752017-09-09 Mike FABIAN <mfabian@redhat.com>
30676
30677 [BZ #14925]
30678 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30679 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30680 * localedata/locales/bn_BD: “Bengali” was still used in some
30681 comments. Change it to “Bangla”.
30682
4c03a696
MT
306832017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30684
30685 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30686
9c9ec581
SE
306872017-09-08 Steve Ellcey <sellcey@cavium.com>
30688
30689 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30690 thunderx2t99p1 to list of cpu names.
30691 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30692 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30693
f00bce74
SE
306942017-09-08 Steve Ellcey <sellcey@cavium.com>
30695
30696 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30697 Use strcmp instead of tunable_is_name.
30698
27342d17
JM
306992017-09-08 Joseph Myers <joseph@codesourcery.com>
30700
af1b7c8c
JM
30701 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30702 (F_GET_RW_HINT): New macro.
30703 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30704 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30705 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30706 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30707 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30708 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30709 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30710 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30711 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30712
27342d17
JM
30713 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30714 (F_ADD_SEALS): New macro.
30715 [__USE_GNU] (F_GET_SEALS): Likewise.
30716 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30717 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30718 [__USE_GNU] (F_SEAL_GROW): Likewise.
30719 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30720
c66c9082
AZ
307212017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30722
07b4f49d
AZ
30723 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30724 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30725 * posix/glob_internal.h (__glob_pattern_type):
30726 * posix/glob.c (glob):
30727 * posix/glob_pattern_p.c (__glob_pattern_p):
30728 Use them.
30729
116f1c64
AZ
30730 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30731 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30732 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30733 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30734 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30736 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30737 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30738 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30739 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30740 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30741 * sysdeps/wordsize-64/glob.c: Likewise.
30742 * sysdeps/wordsize-64/glob64.c: Likewise.
30743 * sysdeps/wordsize-64/globfree.c: Likewise.
30744 * sysdeps/wordsize-64/globfree64.c: Likewise.
30745 * sysdeps/unix/sysv/linux/glob.c: New file.
30746 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30747 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30748 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30749 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30750 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30751 adds !GLOB_NO_OLD_VERSION as an extra condition.
30752 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30753 using relative path instead of absolute one.
30754 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30755 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30756 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30757 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30758 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30759 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30760
ffca8901
AZ
30761 [BZ #1062]
30762 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30763 (glob): Use the same scratch buffer for both getlogin_r and
30764 getpwnam_r. Don’t require preallocation of the login name. This
30765 simplifies storage allocation, and corrects the handling of
30766 long login names.
30767
5a79f975
AZ
30768 [BZ #1062]
30769 * posix/glob.c (glob): Port recent patches to platforms
30770 lacking getpwnam_r.
30771 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30772 returns an error number rather than setting errno.
30773
e00f2425
AZ
30774 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30775 instead of GCC extension.
30776 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30777 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30778 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30779
5554304f
AZ
30780 [BZ #866]
30781 [BZ #1062]
30782 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30783 * posix/bug-glob1.c: Remove file.
30784 * posix/tst-glob_symlinks.c: New file.
30785 * posix/glob.c (__lstat64): New macro.
30786 (is_dir): New function.
30787 (glob, glob_in_dir): Match symlinks even if they are dangling.
30788 (link_stat, link_exists_p): Remove. All uses removed.
30789
686f2ea1
AZ
30790 [BZ #1062]
30791 [BZ #19971]
30792 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30793 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30794 All uses removed.
30795
c66c9082 30796 [BZ #1062]
914c9994 30797 CVE-2017-15671
c66c9082
AZ
30798 * posix/Makefile (routines): Add globfree, globfree64, and
30799 glob_pattern_p.
30800 * posix/flexmember.h: New file.
30801 * posix/glob_internal.h: Likewise.
30802 * posix/glob_pattern_p.c: Likewise.
30803 * posix/globfree.c: Likewise.
30804 * posix/globfree64.c: Likewise.
30805 * sysdeps/gnu/globfree64.c: Likewise.
30806 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30807 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30808 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30809 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30810 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30811 * sysdeps/wordsize-64/globfree.c: Likewise.
30812 * sysdeps/wordsize-64/globfree64.c: Likewise.
30813 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30814 [NDEBUG): Remove comments.
30815 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30816 (dirent_type): New type. Use uint_fast8_t not
30817 uint8_t, as C99 does not require uint8_t.
30818 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30819 (struct readdir_result): Use dirent_type. Do not define skip_entry
30820 unless it is needed; this saves a byte on platforms lacking d_ino.
30821 (readdir_result_type, readdir_result_skip_entry):
30822 New functions, replacing ...
30823 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
6b5c8607 30824 these functions, which were removed. This makes the callers
c66c9082
AZ
30825 easier to read. All callers changed.
30826 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30827 (size_add_wrapv, glob_use_alloca): New static functions.
30828 (glob, glob_in_dir): Check for size_t overflow in several places,
30829 and fix some size_t checks that were not quite right.
30830 Remove old code using SHELL since Bash no longer
30831 uses this.
30832 (glob, prefix_array): Separate MS code better.
30833 (glob_in_dir): Remove old Amiga and VMS code.
30834 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30835 separate files.
30836 (glob_in_dir): Do not rely on undefined behavior in accessing
30837 struct members beyond their bounds. Use a flexible array member
30838 instead
30839 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30840 0/1. Caller changed.
30841 (glob): Fix memory leaks.
30842 * posix/glob64 (globfree64): Move to separate file.
30843 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30844 (globfree64): Remove hidden alias.
30845 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30846 oldglob.
30847 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30848 separate file.
30849 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30850 define.
30851 Move compat code to separate file.
30852 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30853 separate file.
30854
78bfa877
L
308552017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30856
30857 * resolv/tst-resolv-qtypes.c (domain): Changed to
30858 "const char domain[] =".
30859
05f0011f
JM
308602017-09-07 Joseph Myers <joseph@codesourcery.com>
30861
85bec0f2
JM
30862 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30863 version to 3.1.6.
30864
5c23ee6e
JM
30865 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30866 (TCP_MD5SIG_EXT): Likewise.
30867 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30868 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30869 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30870
05f0011f
JM
30871 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30872
7c9c5be9
MF
308732017-09-07 Mike FABIAN <mfabian@redhat.com>
30874
30875 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30876
c207f7ce 308772017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
ae214523
AK
30878
30879 [BZ #22100]
30880 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30881
507fe027
ST
308822017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30883
30884 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30885 before assuming that the file is empty. Avoid testing buffer content
30886 when nread == 0.
30887
65687ac7
AZ
308882017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30889
7bbbb4b9 30890 [BZ #18858]
65687ac7
AZ
30891 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30892 Remove define.
30893 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30894 Likewise.
30895 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30896 Likewise.
30897 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30898 Likewise.
30899 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30900 Likewise.
30901 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30902 Likewise.
30903 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30904 Likewise.
30905
ab5ac271
FW
309062017-09-06 Florian Weimer <fweimer@redhat.com>
30907
30908 * malloc/dynarray_emplace_enlarge.c
30909 (__libc_dynarray_emplace_enlarge): Add missing else.
30910
a8304730
FW
309112017-09-06 Florian Weimer <fweimer@redhat.com>
30912
30913 [BZ #22096]
30914 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30915 case of failure to obtain the global conf object.
30916
5670c4ab
FW
309172017-09-06 Florian Weimer <fweimer@redhat.com>
30918
30919 [BZ #22095]
30920 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30921 dynarray allocation failure.
30922
c77eb969
FW
309232017-09-06 Florian Weimer <fweimer@redhat.com>
30924
30925 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30926 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30927 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30928 New functions.
30929 (response): Call them. Add 'p', '6' flag processing.
30930 (test_reverse): New function.
30931 (test_get2_any): Call it.
30932 (test_no_inet6): Add 'p' test.
30933 (test_inet6): Likewise.
30934
5e9c4d17
FW
309352017-09-06 Florian Weimer <fweimer@redhat.com>
30936
30937 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30938 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30939 the QNAME.
30940 (test_gai): Adjust query names. Add additional tests.
30941 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30942 test_get2. Adjust query names. Add additional tests.
30943 (test_no_inet6): New function, extracted from threadfunc.
30944 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
30945 Add additional tests.
30946
2ae5be04
MF
309472017-09-06 Mike FABIAN <mfabian@redhat.com>
30948
30949 [BZ #22070]
30950 * localedata/unicode-gen/utf8_gen.py: Set the width for
30951 characters with Prepended_Concatenation_Mark property to 1
30952 * localedata/charmaps/UTF-8: Updated using the improved script.
30953
af83ed5c
MF
309542017-09-06 Mike FABIAN <mfabian@redhat.com>
30955
30956 [BZ #21750]
30957 * localedata/unicode-gen/utf8_gen.py: Improve the script to
30958 use the range notation for all ranges of neighbouring characters
30959 with the same width.
30960
4f3647e4
JM
309612017-09-05 Joseph Myers <joseph@codesourcery.com>
30962
30963 * sysdeps/generic/math-type-macros-double.h: Include
30964 <math-svid-compat.h>.
30965 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30966 * sysdeps/generic/math-type-macros-float.h: Include
30967 <math-svid-compat.h>.
30968 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30969 * sysdeps/generic/math-type-macros-ldouble.h: Include
30970 <math-svid-compat.h>.
30971 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
30972 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
30973 condition.
30974 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
30975 * math/w_acosf_compat.c: Likewise.
30976 * math/w_acosh_compat.c: Likewise.
30977 * math/w_acoshf_compat.c: Likewise.
30978 * math/w_acoshl_compat.c: Likewise.
30979 * math/w_acosl_compat.c: Likewise.
30980 * math/w_asin_compat.c: Likewise.
30981 * math/w_asinf_compat.c: Likewise.
30982 * math/w_asinl_compat.c: Likewise.
30983 * math/w_atan2_compat.c: Likewise.
30984 * math/w_atan2f_compat.c: Likewise.
30985 * math/w_atan2l_compat.c: Likewise.
30986 * math/w_atanh_compat.c: Likewise.
30987 * math/w_atanhf_compat.c: Likewise.
30988 * math/w_atanhl_compat.c: Likewise.
30989 * math/w_cosh_compat.c: Likewise.
30990 * math/w_coshf_compat.c: Likewise.
30991 * math/w_coshl_compat.c: Likewise.
30992 * math/w_exp10_compat.c: Likewise.
30993 * math/w_exp10f_compat.c: Likewise.
30994 * math/w_exp10l_compat.c: Likewise.
30995 * math/w_exp2_compat.c: Likewise.
30996 * math/w_exp2f_compat.c: Likewise.
30997 * math/w_exp2l_compat.c: Likewise.
30998 * math/w_fmod_compat.c: Likewise.
30999 * math/w_fmodf_compat.c: Likewise.
31000 * math/w_fmodl_compat.c: Likewise.
31001 * math/w_hypot_compat.c: Likewise.
31002 * math/w_hypotf_compat.c: Likewise.
31003 * math/w_hypotl_compat.c: Likewise.
31004 * math/w_j0_compat.c: Likewise.
31005 * math/w_j0f_compat.c: Likewise.
31006 * math/w_j0l_compat.c: Likewise.
31007 * math/w_j1_compat.c: Likewise.
31008 * math/w_j1f_compat.c: Likewise.
31009 * math/w_j1l_compat.c: Likewise.
31010 * math/w_jn_compat.c: Likewise.
31011 * math/w_jnf_compat.c: Likewise.
31012 * math/w_jnl_compat.c: Likewise.
31013 * math/w_lgamma_r_compat.c: Likewise.
31014 * math/w_lgammaf_r_compat.c: Likewise.
31015 * math/w_lgammal_r_compat.c: Likewise.
31016 * math/w_log10_compat.c: Likewise.
31017 * math/w_log10f_compat.c: Likewise.
31018 * math/w_log10l_compat.c: Likewise.
31019 * math/w_log2_compat.c: Likewise.
31020 * math/w_log2f_compat.c: Likewise.
31021 * math/w_log2l_compat.c: Likewise.
31022 * math/w_log_compat.c: Likewise.
31023 * math/w_logf_compat.c: Likewise.
31024 * math/w_logl_compat.c: Likewise.
31025 * math/w_pow_compat.c: Likewise.
31026 * math/w_powf_compat.c: Likewise.
31027 * math/w_powl_compat.c: Likewise.
31028 * math/w_remainder_compat.c: Likewise.
31029 * math/w_remainderf_compat.c: Likewise.
31030 * math/w_remainderl_compat.c: Likewise.
31031 * math/w_sinh_compat.c: Likewise.
31032 * math/w_sinhf_compat.c: Likewise.
31033 * math/w_sinhl_compat.c: Likewise.
31034 * math/w_sqrt_compat.c: Likewise.
31035 * math/w_sqrtf_compat.c: Likewise.
31036 * math/w_sqrtl_compat.c: Likewise.
31037 * math/w_tgamma_compat.c: Likewise.
31038 * math/w_tgammaf_compat.c: Likewise.
31039 * math/w_tgammal_compat.c: Likewise.
31040 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31041 [LIBM_SVID_COMPAT].
31042 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31043 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31044 [LIBM_SVID_COMPAT].
31045 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31046 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31047 [LIBM_SVID_COMPAT].
31048 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31049 * sysdeps/i386/fpu/w_sqrt.c: New file.
31050 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31051 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31052 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31053 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31054 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31055 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31056 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31057 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31058 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31059 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31060 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31061 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31062 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31063 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31064 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31065 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31066 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31067 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31068 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31069 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31070 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31071 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31072 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31073 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31074 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31075 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31076 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31077 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31078 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31079 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31080 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31081 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31082 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31083 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31084 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31085 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31086 * sysdeps/ia64/fpu/w_log.c: Likewise.
31087 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31088 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31089 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31090 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31091 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31092 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31093 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31094 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31095 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31096 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31097 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31098 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31099 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31100 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31101 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31102 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31103 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31104 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31105 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31106 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31107 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31108 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31109 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31110 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31111 [LIBM_SVID_COMPAT].
31112 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31113 * sysdeps/ieee754/k_standard.c: Likewise.
31114 * sysdeps/ieee754/k_standardf.c: Likewise.
31115 * sysdeps/ieee754/k_standardl.c: Likewise.
31116 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31117 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31118 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31119 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31120 long_double_symbol call on [LIBM_SVID_COMPAT].
31121 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31122 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31123 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31124 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31125 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31126 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31127 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31128 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31129 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31130 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31131 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31132 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31133 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31134 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31135 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31136 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31137 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31138 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31139 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31140 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31141 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31142 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31143
05b38d64
SE
311442017-09-05 Steve Ellcey <sellcey@cavium.com>
31145
31146 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31147 * malloc/tst-mallocstate.c: Convert from test-skeleton
31148 to test-driver. Ifdef code using TEST_COMPAT macro.
31149 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31150 * math/test-matherr.c: Likewise.
31151
99d67918
JM
311522017-09-05 Joseph Myers <joseph@codesourcery.com>
31153
31154 [BZ #22086]
31155 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31156 comparing word with byte-swapped constant.
31157
c207f7ce 311582017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
3f802aeb
MF
31159
31160 [BZ #20498]
31161 * locale/iso-639.def: add Miskito.
31162 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31163 * localedata/locales/miq_NI: New file.
31164
0a587a8a
L
311652017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31166
31167 [BZ #18822]
31168 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31169 (__mkdir): Likewise.
31170 * io/chmod.c (__chmod): Add libc_hidden_def.
31171 * io/mkdir.c (__mkdir): Likewise.
31172 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31173 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31174 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31175 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31176
f3a129b8
JM
311772017-09-04 Joseph Myers <joseph@codesourcery.com>
31178
1650e192
JM
31179 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31180 version to 4.13.
31181
f3a129b8
JM
31182 [BZ #22082]
31183 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31184 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31185
b38042f5
FW
311862017-09-04 Florian Weimer <fweimer@redhat.com>
31187
31188 * math/math.h: Issue warning if log is defined.
31189
059b6404
JM
311902017-09-04 Joseph Myers <joseph@codesourcery.com>
31191
31192 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31193 kernel version to 4.13.
31194
b794e16b
ST
311952017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31196
31197 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
06cf9d31
ST
31198 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31199 parameter.
01969395
ST
31200 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31201 just <bits/types.h>.
dd2b31de 31202 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
ed95bf56 31203 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
dd2b31de 31204 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
ed95bf56 31205 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
2263ca7c
ST
31206 * misc/preadv2.c: Include <errno.h>.
31207 * misc/preadv64v2.c: Include <errno.h>.
31208 * misc/pwritev2.c: Include <errno.h>.
31209 * misc/pwritev64v2.c: Include <errno.h>.
31210 * sysdeps/posix/preadv2.c: Include <errno.h>.
31211 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31212 Fix <unistd.h> inclusion.
31213 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31214 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
cae3d712
ST
31215 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31216 __strtoul_internal): New functions.
127e7773
ST
31217 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31218 * sysdeps/posix/system.c: Include <sigsetops.h>.
f85958a7
ST
31219 * sysdeps/mach/hurd/i386/Makefile
31220 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31221 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31222 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
1946d950
ST
31223 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31224 __feraiseexcept_renamed to feraiseexcept instead of
31225 __GI_feraiseexcept.
56bf5497 31226 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
2ce1f9ef 31227 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
492cbbed
ST
31228 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31229 RWF_NOWAIT): Define to 0 if undefined already.
31230 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31231 boils down to 0.
6547ec0a
ST
31232 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31233 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
b794e16b 31234
5a80d39d
JM
312352017-09-01 Joseph Myers <joseph@codesourcery.com>
31236
31237 * manual/math.texi (pow10): Do not document.
31238 (pow10f): Likewise.
31239 (pow10l): Likewise.
31240 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31241 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31242 * math/libm-test-exp10.inc (pow10_test): Remove.
31243 (do_test): Do not call pow10.
31244 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31245 [NO_LONG_DOUBLE] (pow10l): Likewise.
31246 * math/w_exp10f_compat.c (pow10f): Likewise.
31247 * math/w_exp10l_compat.c (pow10l): Likewise.
31248 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31249 (pow10): Make into compat symbol.
31250 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31251 (pow10f): Make into compat symbol.
31252 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31253 (pow10l): Make into compat symbol.
31254 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31255 pow10.
31256 (CFLAGS-nldbl-pow10.c): Remove variable..
31257 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31258 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31259 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31260 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31261 Undefine and redefine.
31262 (pow10l): Make into compat symbol.
31263 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31264 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31265 * sysdeps/arm/libm-test-ulps: Likewise.
31266 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31267 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31268 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31269 * sysdeps/microblaze/libm-test-ulps: Likewise.
31270 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31271 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31272 * sysdeps/nios2/libm-test-ulps: Likewise.
31273 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31274 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31275 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31276 * sysdeps/sh/libm-test-ulps: Likewise.
31277 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31278 * sysdeps/tile/libm-test-ulps: Likewise.
31279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31280
3824fc38
PP
312812017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31282
31283 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31284
b3008279
L
312852017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31286
31287 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31288 "../ChangeLog.old/ChangeLog.8".
31289 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31290 "../ChangeLog.old/ChangeLog.14".
31291
136fa185
L
312922017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31293
31294 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31295 Threads Library.
31296
c18d50a2
JM
312972017-09-01 Joseph Myers <joseph@codesourcery.com>
31298
31299 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31300
bedbd859
L
313012017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31302
31303 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31304 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31305
50c66c7a
PP
313062017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31307
31308 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31309 32 atexit handlers.
31310
a617bd11
ZW
313112017-09-01 Zack Weinberg <zackw@panix.com>
31312
31313 * math/math.h (HUGE_VAL): Improve commentary.
31314
e0d2eb5a
AZ
313152017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31316 Andreas Schwab <schwab@suse.de>
31317
31318 [BZ #21530]
31319 * include/stdio.h (__gen_tempfd): New function.
31320 * stdio-common/Makefile (routines): Add gentempfd.
31321 * stdio-common/gentempfd.c: New file.
31322 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31323 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31324 unnamed file first.
31325
f4a6be25
FW
313262017-09-01 Florian Weimer <fweimer@redhat.com>
31327
31328 [BZ #21915]
31329 [BZ #21922]
31330 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31331 result to determine success or failure, not the errno value.
31332 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31333 (tst-nss-files-hosts-erange): Link with -ldl.
31334 * nss/tst-nss-files-hosts-erange.c: New file.
31335 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31336 (do_test): Add NO_DATA tests.
31337 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31338 (do_test): Call it.
31339
5f8340f5
FW
313402017-09-01 Florian Weimer <fweimer@redhat.com>
31341
31342 [BZ #21922]
31343 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31344 coming from gethostbyname2_r.
31345
65329bd2
FW
313462017-09-01 Florian Weimer <fweimer@redhat.com>
31347
31348 * support/namespace.h (struct support_chroot_configuration): Add
31349 hosts, host_conf.
31350 (struct support_chroot): Add path_hosts, path_host_conf.
31351 * support/support_chroot.c (write_file): New function.
31352 (support_chroot_create): Call it to process /etc/resolv.conf,
31353 /etc/hosts, /etc/host.conf.
31354 (support_chroot_free): Update.
31355
a2881ef0
FW
313562017-09-01 Florian Weimer <fweimer@redhat.com>
31357
31358 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31359 status indicates it is set.
31360
ad816a5e
FW
313612017-09-01 Florian Weimer <fweimer@redhat.com>
31362
63b52889 31363 [BZ #20532]
ad816a5e
FW
31364 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31365 function lookup failures more reliable.
31366
53250a21
FW
313672017-09-01 Florian Weimer <fweimer@redhat.com>
31368
31369 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31370 (getcanonname): Likewise.
31371 (gaih_inet): Likewise.
31372
924b121c
FW
313732017-09-01 Florian Weimer <fweimer@redhat.com>
31374
31375 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31376 (getcanonname): Likewise.
31377 (gaih_inet): Likewise.
31378
d9ff799a 313792017-08-31 Steve Ellcey <sellcey@cavium.com>
6b5c8607 31380 Richard Henderson <rth@twiddle.net>
d9ff799a
SE
31381
31382 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31383 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31384 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31385 (IREG_SIZE, OREG_SIZE): New macros.
31386 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31387 (IREG_SIZE, OREG_SIZE): New macros.
31388 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31389 (IREG_SIZE): New macro.
31390 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31391 (IREG_SIZE): New macro.
31392 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31393 New includes.
31394 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31395 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31396 (__CONCATX): Handle exceptions correctly on large values that may
31397 set FE_INVALID.
31398 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31399 Initialize if not already set.
b39d961c 31400 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
d9ff799a 31401
102dde84
AZ
314022017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31403
31404 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31405 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31406 Likewise.
31407 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31408 Likewise.
31409 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31410 Likewise.
31411 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31412 Likewise.
31413 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31414 Likewise.
31415 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31416 Likewise.
31417 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31418 Likewise.
31419 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31420 (NO_CANCELLATION): Likewise.
31421 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31422 Likewise.
31423 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31424 Likewise.
31425 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31426 Likewise.
31427 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31428 (NO_CANCELLATION): Likewise.
31429 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31430 (NO_CANCELLATION): Likewise.
31431 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31432 Likewise
31433 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31434 Likewise.
31435 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31436 Likewise.
31437 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31438 Likewise.
31439 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31440 hidden prototype.
31441 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31442 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31443
9eee633b
SE
314442017-08-31 Steve Ellcey <sellcey@cavium.com>
31445
31446 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31447 in resolver call.
31448
65284eb7
FW
314492017-08-31 Florian Weimer <fweimer@redhat.com>
31450
31451 * include/libc-symbols.h (internal_function): Remove.
31452
41ad5ca6
FW
314532017-08-31 Florian Weimer <fweimer@redhat.com>
31454
31455 * stdlib/fmtmsg.c (internal_addseverity): Remove
31456 internal_function.
31457
2fa6d086
FW
314582017-08-31 Florian Weimer <fweimer@redhat.com>
31459
31460 * stdio-common/printf_fp.c (group_number): Remove
31461 internal_function.
31462 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31463
b41bd5bc
FW
314642017-08-31 Florian Weimer <fweimer@redhat.com>
31465
31466 * posix/fnmatch.c (internal_function): Remove definition.
31467 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31468 * posix/regcomp.c (peek_token, init_word_char)
31469 (duplicate_node_closure, fetch_token, peek_token)
31470 (peek_token_bracket, build_range_exp, build_collating_symbol):
31471 Likewise.
31472 * posix/regex_internal.c (re_string_construct_common)
31473 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31474 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31475 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31476 (re_string_translate_buffer, re_string_reconstruct)
31477 (re_string_peek_byte_case, re_string_fetch_byte_case)
31478 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31479 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31480 (re_node_set_add_intersect, re_node_set_init_union)
31481 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31482 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31483 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31484 (re_acquire_state_context): Likewise.
31485 * posix/regex_internal.h (internal_function): Remove definition.
31486 (re_string_realloc_buffers, build_wcs_buffer)
31487 (build_wcs_upper_buffer, build_upper_buffer)
31488 (re_string_translate_buffer, re_string_context_at)
31489 (re_string_char_size_at, re_string_wchar_at)
31490 (re_string_elem_size_at): Likewise.
31491 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31492 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31493 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31494 (re_search_internal, re_search_2_stub, re_search_stub)
31495 (re_copy_regs, prune_impossible_nodes, check_matching)
31496 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31497 (free_fail_stack_return, sift_states_iter_mb)
31498 (sift_states_backward, build_sifted_states)
31499 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31500 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31501 (check_subexp_limits, sift_states_bkref, merge_state_array)
31502 (find_recover_state, transit_state, merge_state_with_log)
31503 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31504 (transit_state_mb, transit_state_bkref, get_subexp)
31505 (get_subexp_sub, find_subexp_node, check_arrival)
31506 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31507 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31508 (check_node_accept_bytes, find_collation_sequence_value)
31509 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31510 (acquire_init_state_context, check_halt_node_context)
31511 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31512 (sub_epsilon_src_nodes): Likewise.
31513 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31514 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31515 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31516 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31517 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31518 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31519 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31520 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31521 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31522 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31523 (PREADV): Likewise.
31524 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31525 (PREADV): Likewise.
31526 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31527 (PWRITEV): Likewise.
31528 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31529 (PWRITEV): Likewise.
31530 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31531 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31532
83b09837
FW
315332017-08-31 Florian Weimer <fweimer@redhat.com>
31534
31535 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31536 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31537 Remove internal_function.
31538 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31539 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31540 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31541 (__deallocate_stack, __libc_pthread_init)
31542 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31543 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31544 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31545 Likewise.
31546 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31547 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31548 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31549 Likewise.
31550 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31551 (__pthread_mutex_unlock_usercnt): Likewise.
31552
116ac301
FW
315532017-08-31 Florian Weimer <fweimer@redhat.com>
31554
31555 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31556 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31557 (fts_safe_changedir): Remove internal_function.
31558 * io/ftw.c (internal_function): Remove definition.
31559 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31560
9da93bd7
FW
315612017-08-31 Florian Weimer <fweimer@redhat.com>
31562
31563 * inet/deadline.c (__deadline_current_time)
31564 (__deadline_from_timeval, __deadline_to_ms): Remove
31565 internal_function.
31566 * inet/getnameinfo.c (nrl_domainname): Likewise.
31567 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31568 * inet/inet6_option.c (add_pad): Likewise.
31569 * inet/net-internal.h (__deadline_current_time)
31570 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31571 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31572 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31573 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31574
a60eca2e
JM
315752017-08-31 Joseph Myers <joseph@codesourcery.com>
31576
c0c49d60
JM
31577 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31578 include <bits/nan.h>.
31579 * math/Makefile (headers): Remove bits/nan.h.
31580 * bits/nan.h: Remove.
31581 * sysdeps/ieee754/bits/nan.h: Likewise.
31582 * sysdeps/mips/bits/nan.h: Likewise.
31583
5ef1b213
JM
31584 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31585 not include <bits/inf.h>.
31586 * math/Makefile (headers): Remove bits/inf.h.
31587 * bits/inf.h: Remove.
31588 * sysdeps/ieee754/bits/inf.h: Likewise.
31589
a60eca2e
JM
31590 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31591 bits/huge_vall.h or bits/huge_val_flt128.h.
31592 (HUGE_VAL): Define directly here.
31593 [__USE_ISOC99] (HUGE_VALF): Likewise.
31594 [__USE_ISOC99] (HUGE_VALL): Likewise.
31595 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31596 (HUGE_VAL_F128): Likewise.
31597 * math/Makefile (headers): Remove bits/huge_val.h,
31598 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31599 * bits/huge_val.h: Remove.
31600 * bits/huge_val_flt128.h: Likewise.
31601 * bits/huge_valf.h: Likewise.
31602 * bits/huge_vall.h: Likewise.
31603 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31604 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31605 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31606 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31607 * sysdeps/sh/bits/huge_val.h: Likewise.
31608 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31609 * sysdeps/x86/bits/huge_vall.h: Likewise.
31610
17e00cc6
FW
316112017-08-31 Florian Weimer <fweimer@redhat.com>
31612
31613 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31614 internal_function.
31615 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31616 Likewise.
31617 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31618 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31619 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31620 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31621 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31622 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31623 * elf/dl-libc.c (dlerror_run): Likewise.
31624 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31625 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31626 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31627 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31628 Likewise.
31629 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31630 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31631 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31632 * elf/dl-profile.c (_dl_start_profile): Likewise.
31633 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31634 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31635 Likewise.
31636 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31637 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31638 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31639 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31640 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31641 (_dl_allocate_tls_storage): Likewise.
31642 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31643 (_dl_check_all_versions): Likewise.
31644 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31645 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31646 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31647 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31648 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31649 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31650 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31651 internal_function from __dl_start.
31652 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31653 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31654 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31655 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31656 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31657 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31658 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31659 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31660 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31661 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31662 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31663 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31664 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31665 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31666 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31667 Likewise.
31668 (struct rtld_global_ro): Remove internal_function from the
31669 _dl_lookup_symbol_x member.
31670 (_dl_symbol_value): Remove. No longer defined anywhere.
31671 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31672 internal_function.
31673 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31674 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31675 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31676 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31677 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31678 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31679 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31680 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31681 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31682 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31683 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31684 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31685
8d2f9410
FW
316862017-08-31 Florian Weimer <fweimer@redhat.com>
31687
31688 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31689 Remove internal_function.
31690 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31691 Likewise.
31692 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31693 Likewise.
31694
86e4919f
FW
316952017-08-31 Florian Weimer <fweimer@redhat.com>
31696
31697 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31698 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31699 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31700
59bd52b0
FW
317012017-08-31 Florian Weimer <fweimer@redhat.com>
31702
31703 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31704 (__gai_enqueue_request): Remove internal_function.
31705 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31706 (__gai_remove_request, __gai_notify, __gai_notify_only)
31707 (__gai_sigqueue): Likewise.
31708 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31709 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31710 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31711 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31712 Likewise.
31713
fc3d9497
FW
317142017-08-31 Florian Weimer <fweimer@redhat.com>
31715
31716 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31717 * include/dirent.h (__opendirat, __getdents, __getdents64)
31718 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31719 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31720 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31721 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31722 Likewise.
31723 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31724
18c54fac
FW
317252017-08-31 Florian Weimer <fweimer@redhat.com>
31726
31727 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31728 internal_function.
31729 (GETCWD_RETURN_TYPE): Likewise.
31730
7e01f080
FW
317312017-08-31 Florian Weimer <fweimer@redhat.com>
31732
31733 * include/time.h (__tz_compute, __strptime_internal): Remove
31734 internal_function.
31735 * time/strptime_l.c (__strptime_internal): Likewise.
31736 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31737
d7ccc6c9
FW
317382017-08-31 Florian Weimer <fweimer@redhat.com>
31739
31740 * iconv/gconv.c (__gconv): Remove internal_function.
31741 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31742 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31743 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31744 (__gconv_release_cache): Likewise.
31745 * iconv/gconv_close.c (__gconv_close): Likewise.
31746 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31747 (read_conf_file, __gconv_get_path): Likewise.
31748 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31749 (__gconv_release_step, gen_steps, increment_counter)
31750 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31751 (__gconv_close_transform, free_modules_db): Likewise.
31752 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31753 Likewise.
31754 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31755 (__gconv_find_transform, __gconv_lookup_cache)
31756 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31757 (__gconv_close_transform, __gconv_release_cache)
31758 (__gconv_loaded_object, __gconv_release_shlib)
31759 (__gconv_compare_alias): Likewise.
31760 * iconv/gconv_open.c (__gconv_open): Likewise.
31761 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31762 * iconv/iconvconfig.c (add_module): Likewise.
31763 * intl/dcigettext.c (plural_lookup, guess_category_value)
31764 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31765 * intl/eval-plural.h (plural_eval): Likewise.
31766 * intl/finddomain.c (_nl_find_domain): Likewise.
31767 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31768 (_nl_load_domain, _nl_find_msg): Likewise.
31769 (internal_function): Remove definition.
31770 * intl/loadinfo.h (internal_function): Likewise.
31771 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31772 internal_function.
31773 * intl/localealias.c (internal_function): Remove definition.
31774 (read_alias_file): Remove internal_function.
31775 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31776 * intl/plural-exp.h (internal_function): Remove definition.
31777 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31778 internal_function.
31779 * intl/plural.c: Regenerate.
31780 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31781 * locale/coll-lookup.c (__collidx_table_lookup)
31782 (__collseq_table_lookup): Likewise.
31783 * locale/coll-lookup.h (__collidx_table_lookup)
31784 (__collseq_table_lookup): Likewise.
31785 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31786 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31787 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31788 (_nl_unload_locale): Likewise.
31789 * locale/localeinfo.h (struct __locale_data): Remove
31790 internal_function from cleanup member.
31791 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31792 (_nl_remove_locale, _nl_load_locale_from_archive)
31793 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31794 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31795 (_nl_cleanup_time): Remove internal_function.
31796 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31797 (_nl_parse_alt_digit): Likewise.
31798 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31799 (_nl_select_era_entry): Likewise.
31800 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31801 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31802 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
7e01f080
FW
31803 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31804 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
d7ccc6c9 31805
dab0eece
FW
318062017-08-31 Florian Weimer <fweimer@redhat.com>
31807
31808 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31809 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31810 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31811 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31812 Likewise.
31813 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31814 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31815 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31816 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31817 Likewise.
31818 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31819
ab5bf7cf
FW
318202017-08-31 Florian Weimer <fweimer@redhat.com>
31821
31822 * misc/getttyent.c (skip, value): Remove internal_function.
31823 * misc/syslog.c (openlog_internal): Likewise.
31824 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31825
75b3047e
FW
318262017-08-31 Florian Weimer <fweimer@redhat.com>
31827
31828 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31829 (__nss_rewrite_field): Remove internal_function.
31830 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31831 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31832 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31833 * nss/nsswitch.c (nss_parse_file, nss_getline)
31834 (nss_parse_service_list, nss_new_service): Likewise.
31835 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31836 * nss/valid_field.c (__nss_valid_field): Likewise.
31837 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31838
0c71122c
FW
318392017-08-31 Florian Weimer <fweimer@redhat.com>
31840
31841 * malloc/arena.c (__malloc_fork_lock_parent)
31842 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31843 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31844 internal_function from defintions.
31845 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31846 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31847 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31848 internal_function from declarations.
31849 * malloc/malloc.c (internal_function): Do not define.
31850 (mem2mem_check): Remove internal_function from declaration.
31851 (munmap_chunk, mremap_chunk): Remove internal_function.
31852 * malloc/mtrace.c (tr_where): Likewise.
31853
ca4ec803
FW
318542017-08-31 Florian Weimer <fweimer@redhat.com>
31855
31856 * include/rpc/pmap_clnt.h (__get_socket): Remove
31857 internal_function.
31858 * sunrpc/auth_des.c (synchronize): Likewise.
31859 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31860 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31861 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31862 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31863 (key_call): Likewise.
31864 * sunrpc/pm_getport.c (__get_socket): Likewise.
31865 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31866 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31867 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31868 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31869 (invalidate): Likewise.
31870 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31871 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31872 (set_input_fragment, get_input_bytes): Likewise.
31873
24cffce7
FW
318742017-08-31 Florian Weimer <fweimer@redhat.com>
31875
31876 * malloc/malloc.c (_int_free): Remove locked variable and related
31877 asserts.
31878
ecd0747d
L
318792017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31880
31881 [BZ #22051]
31882 * Makerules (build-module-helper-objlist): Filter out
31883 $(elf-objpfx)sofini.os.
31884 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31885 needed.
31886
5f0704b6
FW
318872017-08-31 Florian Weimer <fweimer@redhat.com>
31888
31889 * libio/fcloseall.c: Assume weak_alias is defined.
31890 * libio/feof.c: Likewise.
31891 * libio/fileno.c: Likewise.
31892 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31893 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31894 definitions.
31895 (_IO_file_open): Call __open directly.
31896 (_IO_new_file_sync): Assume ESPIPE is defined.
31897 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31898 (_IO_new_file_write): Call __write directly.
31899 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31900 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31901 * libio/genops.c: Assume _LIBC is defined.
31902 (save_for_backup): Remove internal_function.
31903 * libio/getc.c: Assume weak_alias is defined.
31904 * libio/getwc.c: Likewise.
31905 * libio/iofclose.c: Assume _LIBC is defined.
31906 * libio/iofdopen.c: Likewise.
31907 (_IO_fcntl): Remove macro definition.
31908 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31909 Call __fcntl directly.
31910 * libio/iofflush.c: Assume weak_alias is defined.
31911 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31912 defined.
31913 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31914 * libio/iofgets.c: Likewise.
31915 * libio/iofopen.c: Assume _LIBC is defined.
31916 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31917 * libio/iofputs.c: Assume weak_alias is defined.
31918 * libio/iofread.c: Likewise.
31919 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31920 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31921 * libio/ioftell.c: Assume weak_alias is defined.
31922 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31923 * libio/iofwide.c: Assume _LIBC is defined.
31924 (_IO_fwide): Drop SHARED conditional because it is implied by
31925 SHLIB_COMPAT.
31926 * libio/iofwrite.c: Assume weak_alias is defined.
31927 * libio/iogetdelim.c: Likewise.
31928 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31929 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31930 (_IO_getwline): Call __wmemcpy directly.
31931 * libio/iopopen.c: Assume _LIBC is defined.
31932 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31933 (_IO_close): Remove macro definitions.
31934 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31935 _exit directly.
31936 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31937 directly.
31938 * libio/ioputs.c: Assume weak_alias is defined.
31939 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31940 * libio/iosetbuffer.c: Assume weak_alias is defined.
31941 * libio/iosetvbuf.c: Likewise.
31942 * libio/ioungetc.c: Likewise.
31943 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31944 libc_hidden_def, libc_hidden_weak, NULL are defined.
31945 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
31946 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
31947 defined.
31948 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31949 definitions.
31950 (_IO_old_file_init_internal): Drop SHARED conditional because it
31951 is implied by SHLIB_COMPAT.
31952 (_IO_old_file_fopen): Call __open directly.
31953 (_IO_old_file_sync): Assume ESPIPE is defined.
31954 (_IO_old_file_write): Call __write directly.
31955 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
31956 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
31957 Call __fcntl directly.
31958 * libio/oldiofgetpos.c: Assume weak_alias is defined.
31959 (_IO_old_fgetpos): Assume EIO is defined.
31960 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
31961 (_IO_old_fgetpos64): Assume EIO is defined.
31962 * libio/oldiofsetpos.c: Assume weak_alias is defined.
31963 (_IO_old_fsetpos): Assume EIO is defined.
31964 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
31965 (_IO_old_fsetpos64): Assume EIO is defined.
31966 * libio/oldiopopen.c: Assume _LIBC is defined.
31967 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31968 (_IO_close): Remove macro definitions.
31969 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
31970 directly.
31971 (_IO_old_proc_close): Call __close, __waitpid directly.
31972 * libio/put.c: Assume weak_alias is defined.
31973 * libio/stdfiles.c: Assume _LIBC is defined.
31974 * libio/stdio.c: Likewise.
31975 * libio/wfileops.c: Likewise.
31976 (_IO_wfile_sync): Assume ESPIPE is defined.
31977 * libio/wgenops.c: Assume _LIBC is defined.
31978 (save_for_wbackup): Remove internal_function.
31979
5129873a
FW
319802017-08-31 Florian Weimer <fweimer@redhat.com>
31981
31982 * malloc/malloc.c (top_check): Change return type to void. Remove
31983 internal_function.
31984 * malloc/hooks.c (top_check): Likewise.
31985 (malloc_check, realloc_check, memalign_check): Adjust.
31986
4fa9b3bf
JM
319872017-08-30 Joseph Myers <joseph@codesourcery.com>
31988
31989 [BZ #21457]
31990 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31991 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
31992 sigcontext and namespace requirements.
31993 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
31994 * sysdeps/m68k/sys/ucontext.h: Likewise.
31995 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
31996 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
31997 <bits/sigcontext.h>.
31998 (__ctx): Define earlier.
31999 (mcontext_t): Define structure contents rather than using struct
32000 sigcontext.
32001 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32002 __glibc_reserved1 instead of __reserved.
32003 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32004 <bits/sigcontext.h>.
32005 (__ctx): Define earlier.
32006 (mcontext_t): Define structure contents rather than using struct
32007 sigcontext.
32008 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32009 mcontext_t instead of struct sigcontext.
32010 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32011 <bits/sigcontext.h>.
32012 (__ctx): Define earlier.
32013 (mcontext_t): Define structure contents rather than using struct
32014 sigcontext.
32015 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32016 <bits/sigcontext.h>.
32017 (__ctx): Define earlier.
32018 (mcontext_t): Define structure contents rather than using struct
32019 sigcontext.
32020 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32021 mcontext_t instead of struct sigcontext.
32022 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32023 mcontext_t instead of struct sigcontext.
32024 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32025 <bits/sigcontext.h>.
32026 (__ctx): New macro.
32027 (struct __ia64_fpreg_mcontext): New type.
32028 (mcontext_t): Define structure contents rather than using struct
32029 sigcontext.
32030 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32031 (uc_sigmask): Define using __ctx.
32032 (uc_stack): Likewise.
32033 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32034 <bits/sigcontext.h>.
32035 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32036 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32037 <bits/sigcontext.h>.
32038 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32039 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32040 <bits/sigcontext.h>.
32041 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32042 <bits/sigcontext.h>.
32043 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32044 <bits/sigcontext.h>.
32045 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32046 <bits/sigcontext.h>.
32047 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32048 <bits/sigcontext.h>.
32049 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32050 <bits/sigcontext.h>.
32051 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32052 <bits/sigcontext.h>.
32053 (__ctx): Define earlier.
32054 (mcontext_t): Define structure contents rather than using struct
32055 sigcontext.
32056 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32057 <bits/sigcontext.h>. Include <bits/types.h>.
32058 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32059 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32060 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32061 (test-xfail-UNIX98/signal.h/conform): Likewise.
32062 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32063 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32064 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32065 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32066 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32067 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32068 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32069 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32070 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32071
5898f454
FW
320722017-08-30 Florian Weimer <fweimer@redhat.com>
32073
32074 * malloc/dynarray_emplace_enlarge.c
32075 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32076 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32077 * malloc/tst-dynarray.c (test_long_overflow): New function.
32078 (do_test): Call it.
32079
a9da0bb2
FW
320802017-08-30 Florian Weimer <fweimer@redhat.com>
32081
32082 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32083 (set_arena_corrupt): Remove definitions.
32084 (mtrim): Do not check for corrupt arena.
32085 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32086 Likewise.
32087
ac3ed168
FW
320882017-08-30 Florian Weimer <fweimer@redhat.com>
32089
32090 [BZ #21754]
32091 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32092 check_action.
32093 (ptmalloc_init): Do not set or use check_action.
32094 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32095 call to malloc_printerr. Remove return statement.
32096 (free_check): Likewise. Remove arena unlock.
32097 (top_check): Update comment. Adjust call to malloc_printerr.
32098 Remove heap repair code.
32099 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32100 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32101 (sysmalloc): Adjust call to malloc_printerr.
32102 (munmap_chunk, __libc_realloc): Likewise. Remove return
32103 statement.
32104 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32105 Remove errout label and corresponding gotos.
32106 (_int_free): Likewise. Remove arena unlock.
32107 (do_set_mallopt_check): Do not set check_action.
32108 (malloc_printerr): Adjust parameter list. Do not mark arena as
32109 corrupt.
32110 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32111 comment.
32112 * manual/probes.texi (Memory Allocation Probes): Remove
32113 memory_mallopt_check_action.
32114
44bcba80
SE
321152017-08-30 Steve Ellcey <sellcey@cavium.com>
32116
32117 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32118 Use pointer to uint64_t instead of long int for sp.
32119
ec2c1fce
FW
321202017-08-30 Florian Weimer <fweimer@redhat.com>
32121
32122 [BZ #21754]
32123 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32124 without printing a backtrace. Do not leak any information in the
32125 error message.
32126 * manual/memory.texi (Heap Consistency Checking): Update.
32127 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32128
9ce673b6
FW
321292017-08-30 Florian Weimer <fweimer@redhat.com>
32130
32131 Do not scale NPTL tests with available number of CPUs.
32132 * nptl/tst-cond16.c (count): Set to constant value of 8.
32133 * nptl/tst-cond18.c (count): Likewise.
32134
2f1aef19
JM
321352017-08-29 Joseph Myers <joseph@codesourcery.com>
32136
32137 [BZ #22035]
32138 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32139 Define to take a second argument that is a macro that
32140 concatentates a suffix, not the suffix itself.
32141 (__CONCAT_d): New macro.
32142 (__CONCAT_f): Likewise.
32143 (__CONCAT_l): Likewise.
32144
8325b477
PP
321452017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32146
32147 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32148 by child.
32149
319cbbf6
AZ
321502017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32151 Aurelien Jarno <aurelien@aurel32.net>
32152 Maciej W. Rozycki <macro@imgtec.com>
32153
32154 [BZ #21956]
32155 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32156 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32157 `mips16-syscall6' and `mips16-syscall7'.
32158 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32159 (CFLAGS-mips16-syscall7.c): Remove.
32160 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32161 Remove `__mips16_syscall5', `__mips16_syscall6' and
32162 `__mips16_syscall7'.
32163 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32164 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32165 `__mips_syscall_return'.
32166 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32167 (__mips16_syscall1): Likewise.
32168 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32169 (__mips16_syscall2): Likewise.
32170 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32171 (__mips16_syscall3): Likewise.
32172 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32173 (__mips16_syscall4): Likewise.
32174 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32175 Remove.
32176 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32177 Remove.
32178 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32179 Remove.
32180 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32181 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32182 `__mips16_syscall5'. Remove prototype.
32183 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32184 `__mips16_syscall6'. Remove prototype.
32185 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32186 `__mips16_syscall7'. Remove prototype.
32187 (__nomips16, __mips16_syscall_return): Move to...
32188 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32189 (__nomips16, __mips_syscall_return): ... here.
32190 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32191 `__mips16_syscall_return' to `__mips_syscall_return'.
32192 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32193 `internal_syscall##nr'.
32194 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32195 `internal_syscall##nr'.
32196 (FORCE_FRAME_POINTER): Remove.
32197 (__mips_syscall5): New prototype.
32198 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32199 (__mips_syscall6): New prototype.
32200 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32201 (__mips_syscall7): New prototype.
32202 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32203 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32204 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32205 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32206 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32207 (sysdep_routines): Add libc-do-syscall.
32208 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32209 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32210
01b87c65
AZ
322112017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32212
32213 [BZ #21672]
32214 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32215 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32216 (advise_stack_range): New function.
32217 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32218 stack non required to advise_stack_range at allocatestack.c
32219
16f138a4
SN
322202017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32221
32222 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32223
251bccfa
FW
322242017-08-29 Florian Weimer <fweimer@redhat.com>
32225
32226 [BZ #22026]
32227 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32228 __end_fct. Mangle __end_fct after setting it to NULL.
32229 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32230 (modules-names, modules-names-tests): Add
32231 tst-gconv-init-failure-mod.
32232 (gconv-modules): New target.
32233 (tst-gconv-init-failure-mod.so): Link against libsupport.
32234 (tst-gconv-init-failure): Depend on gconv-modules,
32235 tst-gconv-init-failure-mod.so.
32236 * iconv/tst-gconv-init-failure-mod.c: New file.
32237 * iconv/tst-gconv-init-failure.c: Likewise.
32238 * iconv/test-gconv-modules: Likewise.
32239
e7c18b9d
FW
322402017-08-29 Florian Weimer <fweimer@redhat.com>
32241
32242 [BZ #22025]
32243 * iconv/gconv_db.c (free_derivation): Remove redundant
32244 parentheses.
32245 (gen_steps): Unconditionally mangle __btowc_fct after
32246 initialization.
32247 (increment_counter): Likewise. Do not call init_fct for internal
32248 modules.
32249
7daada03
JM
322502017-08-29 Joseph Myers <joseph@codesourcery.com>
32251
32252 [BZ #22028]
32253 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32254 (_MSUF_): Remove macro.
32255 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32256 Likewise.
32257 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32258 (__REDIRFROM_X): New macro.
32259 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32260 Likewise.
32261 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32262 (__REDIRTO_X): Likewise.
32263 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32264 arguments.
32265 (__MATH_REDIRCALL_2): Likewise.
32266 (__MATH_REDIRCALL_INTERNAL): Likewise.
32267 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32268 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32269 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32270 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32271 * math/test-finite-macros.c: New file.
32272 * math/Makefile (tests): Add test-finite-macros.
32273 (CFLAGS-test-finite-macros.c): New variable.
32274
1cf1232c
PF
322752017-08-29 Patsy Franklin <pfrankli@redhat.com>
32276 Jeff Law <law@redhat.com>
32277
32278 [BZ #22025]
32279 Mangle NULL pointers in iconv/gconv.
32280 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32281 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32282 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32283 is non-NULL before demangling the end_fct. Check for NULL
32284 end_fct after demangling.
32285 (__gconv_release_step): Demangle the end_fct before checking
32286 it for NULL. Remove assert on __shlibc_handle != NULL.
32287 (gen_steps): Don't check btowc_fct for NULL before mangling.
32288 Demangle init_fct before checking for NULL.
32289 (increment_counter): Likewise.
32290 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32291 end_fct for NULL before mangling.
32292 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32293 for NULL.
32294
c207f7ce 322952017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
f8de9568
AK
32296
32297 [BZ #21971]
32298 * locale/iso-639.def: add Morisyen.
32299
42496114
GG
323002017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32301
32302 [BZ #21930]
32303 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32304 (iszero): New C++ implementation that does not use
32305 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32306 signaling nans are enabled, since __builtin_types_compatible_p
32307 is a C-only feature.
32308 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32309 defined, include ieee754_float128.h for access to the union and
32310 member ieee854_float128.ieee.
32311 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32312 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32313 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32314 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32315 options of test-math-zero on powerpc64le.
32316
5e2bc4ff
L
323172017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32318
32319 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32320 Change double to float.
32321
a48c0fb4
JM
323222017-08-28 Joseph Myers <joseph@codesourcery.com>
32323
32324 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32325 unconditional.
32326 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32327 conditional code; define contents only for [LIBM_SVID_COMPAT].
32328
ee17d4e9
FW
323292017-08-28 Florian Weimer <fweimer@redhat.com>
32330
32331 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32332 (abi-lp64_be-options): Remove.
32333 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32334 (abi-hard-options): Likewise.
32335 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32336 (abi-o32_hard-options, abi-o32_soft_2008-options)
32337 (abi-o32_hard_2008-options, abi-n32_soft-options)
32338 (abi-n32_hard-options, abi-n32_soft_2008-options)
32339 (abi-n32_hard_2008-options, abi-n64_soft-options)
32340 (abi-n64_hard-options, abi-n64_soft_2008-options)
32341 (abi-n64_hard_2008-options): Likewise.
32342 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32343 (abi-64-v1-options, abi-64-v2-options): Likewise.
32344 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32345 (abi-64-options): Likewise.
32346 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32347 (abi-64-options): Likewise.
32348 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32349 (abi-64-options): Likewise.
32350 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32351 (abi-64-options, abi-x32-options): Likewise.
32352
2dba5ce7
FW
323532017-08-28 Florian Weimer <fweimer@redhat.com>
32354
32355 Store supported list of SYS_* system calls in the source tree.
32356 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32357 (bits/syscall.h): Generate from list file.
32358 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32359 [$(subdir) = misc] (tests): Add tst-syscall-list.
32360 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32361 [$(subdir) = misc] (tst-syscall-list-macros.list)
32362 [$(subdir) = misc] (tst-syscall-list-nr.list)
32363 (tst-syscall-list-sys.list): Helper targets for new
32364 tst-syscall-list test.
32365 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32366 tst-syscall-list.sh.
32367 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32368 target. Do not include bits/syscall.d.
32369 [$(subdir) = misc] (generated): Do not update.
32370 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32371 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32372 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32373 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32374
5f3b183d
PP
323752017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32376
32377 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32378 (tst-cxa_atexit, tst-on_exit): Likewise.
32379 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32380 tst-cxa_atexit, and tst-on_exit.
32381 * stdlib/tst-atexit-common.c: New file.
32382 * stdlib/tst-atexit.c: New file.
32383 * stdlib/tst-at_quick_exit.c: New file.
32384 * stdlib/tst-cxa_atexit.c: New file.
32385 * stdlib/tst-on_exit.c: New file.
32386
2ef8d469
ST
323872017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32388
32389 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
97e02ad2
ST
32390 * mach/stack_chk_fail_local.c: New file.
32391 * hurd/stack_chk_fail_local.c: New file.
32392 * mach/Machrules ($(interface-library)-routines): Add
32393 stack_chk_fail_local.
99ee4d26
ST
32394 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32395 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32396 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32397 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32398 * hurd/Makefile (CFLAGS-hurdstartup.o,
32399 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
2ef8d469 32400
7ab70c98
L
324012017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32402
32403 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32404 (index_cpu_*, index_arch_*): Removed.
32405
39e7a5a6
SN
324062017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32407
32408 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32409 Use uint64_t instead of unsigned long.
32410
bba5c930
JM
324112017-08-25 Joseph Myers <joseph@codesourcery.com>
32412
a6ccdb08
JM
32413 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32414 [__HAVE_DISTINCT_FLOAT128].
32415
23761119
JM
32416 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32417 of <bits/math-finite.h>.
32418 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32419 inclusion of <bits/math-finite.h>.
32420 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32421 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32422 __NO_LONG_DOUBLE_MATH].
32423 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32424 (__MATH_REDIRCALL_2): Likewise.
32425 (__MATH_REDIRCALL_INTERNAL): Likewise.
32426 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32427 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32428 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32429
bba5c930
JM
32430 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32431 Remove file.
32432 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32433 Likewise.
32434 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32435 Likewise.
32436 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32437 Likewise.
32438 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32439 Likewise.
32440 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32441 Likewise.
32442 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32443 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32444 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32445 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32447 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32448 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32449 w_sqrtf_compat-ppc32.
32450
3d7b66f6
GG
324512017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32452
32453 * math/math.h [defined __cplusplus] (issignaling): In the long
32454 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32455 is not defined. Call __issignaling, otherwise.
32456
ebd6f007
AZ
324572017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32458
32459 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32460 syscall definitions and replace __builtin_expect with __glibc_likely.
32461 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32462 syscall.
6b5c8607 32463 (SYSCALL_CANCELLABLE): Removedefinition
ebd6f007
AZ
32464 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32465 definition.
32466 (PSEUDO_END): Likewise.
32467 [IS_IN (libpthread)] (CENABLE): Likewise.
32468 [IS_IN (libpthread)] (CDISABLE): Likewise.
32469 [IS_IN (libc)] (CENABLE): Likewise.
32470 [IS_IN (libc)] (CENABLE): Likewise.
32471 [IS_IN (librt)] (CDISABLE): Likewise.
32472 [IS_IN (librt)] (CDISABLE): Likewise.
32473 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32474 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32475 definition.
32476 (PSEUDO_END): Likewise.
32477 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32478 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32479 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32480 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32481 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32482 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32483 (CENABLE): Likewise.
32484 (CDISABLE): Likewise.
32485 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32486 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32487 defintion.
32488 (PSEUDO_END): Likewise.
32489 [IS_IN (libpthread)] (CENABLE): Likewise.
32490 [IS_IN (libpthread)] (CDISABLE): Likewise.
32491 [IS_IN (libc)] (CENABLE): Likewise.
32492 [IS_IN (libc)] (CENABLE): Likewise.
32493 [IS_IN (librt)] (CDISABLE): Likewise.
32494 [IS_IN (librt)] (CDISABLE): Likewise.
32495 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32496 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32497 definition.
32498 (PSEUDO_END): Likewise.
32499 [IS_IN (libpthread)] (CENABLE): Likewise.
32500 [IS_IN (libpthread)] (CDISABLE): Likewise.
32501 [IS_IN (libc)] (CENABLE): Likewise.
32502 [IS_IN (libc)] (CENABLE): Likewise.
32503 [IS_IN (librt)] (CDISABLE): Likewise.
32504 [IS_IN (librt)] (CDISABLE): Likewise.
32505 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32506 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32507 definition.
32508 (PSEUDO_END): Likewise.
32509 [IS_IN (libpthread)] (CENABLE): Likewise.
32510 [IS_IN (libpthread)] (CDISABLE): Likewise.
32511 [IS_IN (libc)] (CENABLE): Likewise.
32512 [IS_IN (libc)] (CENABLE): Likewise.
32513 [IS_IN (librt)] (CDISABLE): Likewise.
32514 [IS_IN (librt)] (CDISABLE): Likewise.
32515 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32516 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32517 definition.
32518 (PSEUDO_END): Likewise.
32519 [IS_IN (libpthread)] (CENABLE): Likewise.
32520 [IS_IN (libpthread)] (CDISABLE): Likewise.
32521 [IS_IN (libc)] (CENABLE): Likewise.
32522 [IS_IN (libc)] (CENABLE): Likewise.
32523 [IS_IN (librt)] (CDISABLE): Likewise.
32524 [IS_IN (librt)] (CDISABLE): Likewise.
32525 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32526 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32527 definition.
32528 (PSEUDO_END): Likewise.
32529 [IS_IN (libpthread)] (CENABLE): Likewise.
32530 [IS_IN (libpthread)] (CDISABLE): Likewise.
32531 [IS_IN (libc)] (CENABLE): Likewise.
32532 [IS_IN (libc)] (CENABLE): Likewise.
32533 [IS_IN (librt)] (CDISABLE): Likewise.
32534 [IS_IN (librt)] (CDISABLE): Likewise.
32535 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32536 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32537 definition.
32538 (PSEUDO_END): Likewise.
32539 [IS_IN (libpthread)] (CENABLE): Likewise.
32540 [IS_IN (libpthread)] (CDISABLE): Likewise.
32541 [IS_IN (libc)] (CENABLE): Likewise.
32542 [IS_IN (libc)] (CENABLE): Likewise.
32543 [IS_IN (librt)] (CDISABLE): Likewise.
32544 [IS_IN (librt)] (CDISABLE): Likewise.
32545 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32546 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32547 Remove definition.
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 (SINGLE_THREAD_P): Likewise.
32556 * sysdeps/unix/sysv/linux/mips/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/nios2/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/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32577 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32578 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32579 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32580 definition.
32581 (PSEUDO_END): Likewise.
32582 [IS_IN (libpthread)] (CENABLE): Likewise.
32583 [IS_IN (libpthread)] (CDISABLE): Likewise.
32584 [IS_IN (libc)] (CENABLE): Likewise.
32585 [IS_IN (libc)] (CENABLE): Likewise.
32586 [IS_IN (librt)] (CDISABLE): Likewise.
32587 [IS_IN (librt)] (CDISABLE): Likewise.
32588 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32590 definition.
32591 (PSEUDO_END): Likewise.
32592 [IS_IN (libpthread)] (CENABLE): Likewise.
32593 [IS_IN (libpthread)] (CDISABLE): Likewise.
32594 [IS_IN (libc)] (CENABLE): Likewise.
32595 [IS_IN (libc)] (CENABLE): Likewise.
32596 [IS_IN (librt)] (CDISABLE): Likewise.
32597 [IS_IN (librt)] (CDISABLE): Likewise.
32598 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32599 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32600 definition.
32601 (PSEUDO_END): Likewise.
32602 [IS_IN (libpthread)] (CENABLE): Likewise.
32603 [IS_IN (libpthread)] (CDISABLE): Likewise.
32604 [IS_IN (libc)] (CENABLE): Likewise.
32605 [IS_IN (libc)] (CENABLE): Likewise.
32606 [IS_IN (librt)] (CDISABLE): Likewise.
32607 [IS_IN (librt)] (CDISABLE): Likewise.
32608 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32609 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32610 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32611 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32612 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32613 definition.
32614 (PSEUDO_END): Likewise.
32615 [IS_IN (libpthread)] (CENABLE): Likewise.
32616 [IS_IN (libpthread)] (CDISABLE): Likewise.
32617 [IS_IN (libc)] (CENABLE): Likewise.
32618 [IS_IN (libc)] (CENABLE): Likewise.
32619 [IS_IN (librt)] (CDISABLE): Likewise.
32620 [IS_IN (librt)] (CDISABLE): Likewise.
32621 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32622 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32623 definition.
32624 (PSEUDO_END): Likewise.
32625 [IS_IN (libpthread)] (CENABLE): Likewise.
32626 [IS_IN (libpthread)] (CDISABLE): Likewise.
32627 [IS_IN (libc)] (CENABLE): Likewise.
32628 [IS_IN (libc)] (CENABLE): Likewise.
32629 [IS_IN (librt)] (CDISABLE): Likewise.
32630 [IS_IN (librt)] (CDISABLE): Likewise.
32631 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32632
8aa48656
SN
326332017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32634
32635 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32636
fcaaca41
L
326372017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32638
32639 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32640
376b40a2
L
326412017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32642
32643 [BZ #21982]
32644 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32645 middle and outer with size_t instead of int. Repleace %d and
32646 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32647 "MAX (outer, nchars - 64)" to support unsigned outer and
32648 nchars. Also exit loop when outer == 0.
32649
2b0b9a1c
AZ
326502017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32651
32652 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32653 * include/signal.h (__sigsuspend_nocancel): Likewise.
32654 * include/time.h (__nanosleep_nocancel): Likewise.
32655 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32656 * login/utmp_file.c: Include non cancellable syscall header.
32657 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32658 prototype.
32659
b9eaca8f
L
326602017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32661
32662 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32663 .byte sequences with AVX512F instructions.
32664 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32665 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32666 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32667 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32668 Likewise.
32669 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32670 Likewise.
32671
5a706f64
SE
326722017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32673 Steve Ellcey <sellcey@cavium.com>
32674
32675 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32676 Use PTR_REG macro in cmp instruction.
32677
b513da7e
GG
326782017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32679
32680 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32681 Change the return type of the ifunc resolver to match the return
32682 type of the target function.
32683
78ca091c
AZ
326842017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32685
b70b6026
AZ
32686 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32687 (preadv64): Likewise.
32688 (pwrite64(: Likewise.
32689 (pwritev64): Likewise.
32690
78ca091c
AZ
32691 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32692 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32693 (LOAD_ARGS_0): Likewise.
32694 (LOAD_ARGS_1): Likewise.
32695 (LOAD_ARGS_2): Likewise.
32696 (LOAD_ARGS_3): Likewise.
32697 (LOAD_ARGS_4): Likewise.
32698 (LOAD_ARGS_5): Likewise.
32699 (LOAD_ARGS_6): Likewise.
32700 (LOAD_REGS_0): Likewise.
32701 (LOAD_REGS_1): Likewise.
32702 (LOAD_REGS_2): Likewise.
32703 (LOAD_REGS_3): Likewise.
32704 (LOAD_REGS_4): Likewise.
32705 (LOAD_REGS_5): Likewise.
32706 (LOAD_REGS_6): Likewise.
32707 (ASM_ARGS_0): Likewise.
32708 (ASM_ARGS_1): Likewise.
32709 (ASM_ARGS_2): Likewise.
32710 (ASM_ARGS_3): Likewise.
32711 (ASM_ARGS_4): Likewise.
32712 (ASM_ARGS_5): Likewise.
32713 (ASM_ARGS_6): Likewise.
32714 (LOAD_ARGS_TYPES_1): Likewise.
32715 (LOAD_ARGS_TYPES_2): Likewise.
32716 (LOAD_ARGS_TYPES_3): Likewise.
32717 (LOAD_ARGS_TYPES_4): Likewise.
32718 (LOAD_ARGS_TYPES_5): Likewise.
32719 (LOAD_ARGS_TYPES_6): Likewise.
32720 (LOAD_REGS_TYPES_1): Likewise.
32721 (LOAD_REGS_TYPES_2): Likewise.
32722 (LOAD_REGS_TYPES_3): Likewise.
32723 (LOAD_REGS_TYPES_4): Likewise.
32724 (LOAD_REGS_TYPES_5): Likewise.
32725 (LOAD_REGS_TYPES_6): Likewise.
32726 (TYPEFY): New define.
32727 (ARGIFY): Likewise.
32728 (internal_syscall0): Likewise.
32729 (internal_syscall1): Likewise.
32730 (internal_syscall2): Likewise.
32731 (internal_syscall3): Likewise.
32732 (internal_syscall4): Likewise.
32733 (internal_syscall5): Likewise.
32734 (internal_syscall6): Likewise.
32735 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32736 (INTERNAL_SYSCALL_NCS): Remove define.
32737 (internal_syscall1): Add define.
32738
453a493d
GG
327392017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32740
32741 * math/w_remainder_compat.c: Remove duplicate inclusion of
32742 math-svid-compat.h.
32743 * math/w_remainderf_compat.c: Likewise.
32744 * math/w_remainderl_compat.c: Likewise.
32745
f2f048a5
GG
327462017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32747
32748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32749
d9bef9c0
JM
327502017-08-22 Joseph Myers <joseph@codesourcery.com>
32751
32752 [BZ #21684]
32753 * math/tgmath.h (__floating_type): Simplify definitions.
32754 (__real_integer_type): New macro.
32755 (__complex_integer_type): Likewise.
32756 (__expr_is_real): Likewise.
32757 (__tgmath_real_type_sub): Update comment to describe handling of
32758 complex types.
32759 (__tgmath_complex_type_sub): New macro.
32760 (__tgmath_complex_type): Likewise.
32761 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32762 (__TGMATH_CF128): Use __expr_is_real.
32763 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32764 __expr_is_real.
32765 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32766 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32767 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32768 integer types.
32769
08d6eb46
AZ
327702017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32771
988f991b
AZ
32772 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32773 macro.
32774 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32775 alias.
32776 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32777 Likewise.
32778
6f33fd04
AZ
32779 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32780 nanosleep_not_cancel with __nanosleep_nocancel.
32781 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32782 (__nanosleep_nocancel): New macro.
32783 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32784 function.
32785 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32786 macro.
32787 (__nanosleep_nocancel): New prototype.
32788
08d6eb46
AZ
32789 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32790 pause_not_cancel with __pause_nocancel.
32791 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32792 (__pause_nocancel): New macro.
32793 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32794 macro.
32795 (__pause_nocancel): New prototype.
32796 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32797
ee4e992e
MS
327982017-08-22 Martin Sebor <msebor@redhat.com>
32799
32800 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32801 to return a pointer to the same type as the target function.
32802
20962acb
L
328032017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32804
32805 [BZ #18822]
32806 [BZ #21986]
32807 * include/printf.h (__printf_fphex): Add attribute_hidden.
32808 (__guess_grouping): New prototype.
32809 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32810 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32811 libc_hidden_proto and libc_hidden_def.
32812 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32813 (__vstrfmon_l): Remove the third argument passed to
32814 __guess_grouping.
32815
a16e8bc0
GG
328162017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32817
32818 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32819 definition for issignaling that does not rely on __MATH_TG,
32820 since __MATH_TG uses __builtin_types_compatible_p, which is only
32821 available in C mode.
32822 (CFLAGS-test-math-issignaling.cc): New variable.
32823 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32824 * math/test-math-issignaling.cc: New test for C++ implementation
32825 of type-generic issignaling.
32826 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32827 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32828 options of test-math-issignaling on powerpc64le.
32829
8d2ec553
L
328302017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32831
32832 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32833 building libc.a.
32834 (hidden_proto): Likewise.
32835 (hidden_tls_proto): Likewise.
32836 (__hidden_proto): Likewise.
32837
a4d57b79
FW
328382017-08-22 Florian Weimer <fweimer@redhat.com>
32839
32840 math: Statically link tests of internal functionality.
32841 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32842 atest-exp2.
32843 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32844 (gmp-objs): Remove assignment.
32845 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32846
75dfe623
JM
328472017-08-22 Joseph Myers <joseph@codesourcery.com>
32848
80f91666
JM
32849 [BZ #21987]
32850 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32851 and copy to ...
32852 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32853 ... here.
32854 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32855 ... and here.
32856
75dfe623
JM
32857 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32858 variable definitions above inclusion of ../Rules.
32859
ea99fcd0
JM
328602017-08-21 Joseph Myers <joseph@codesourcery.com>
32861
32862 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32863 case calling __builtin_unreachable.
32864
19926de9
AZ
328652017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32866
a8410a5f
AZ
32867 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32868 __waitpid_nocancel.
32869 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32870 (__waitpid_nocancel): New macro.
32871 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32872 macro.
32873 (__waitpid_nocancel): Replace macro with a function.
32874 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32875 function.
32876
7369800c
AZ
32877 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32878 __fcntl_nocancel.
32879 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32880 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32881
19926de9
AZ
32882 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32883 __writev_nocancel_nostatus.
32884 (write_call_graph): Likewise.
32885 (write_bb_counts): Likewise.
32886 * resolv/herror.c (herror): Likewise.
32887 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32888 macro.
32889 (__writev_nocancel_nostatus): New macro.
32890 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32891 Remove macro.
32892 (__writev_nocancel_nostatus): New function.
32893
813378e9
JM
328942017-08-21 Joseph Myers <joseph@codesourcery.com>
32895
df1deda6
JM
32896 Revert:
32897 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32898
32899 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32900 building libc.a.
32901 (hidden_proto): Likewise.
32902 (hidden_tls_proto): Likewise.
32903 (__hidden_proto): Likewise.
32904
831bbd55
JM
32905 [BZ #21973]
32906 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32907 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32909 Likewise.
32910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32911 Likewise.
32912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32913 Likewise.
32914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32915 Likewise.
32916 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32917 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32918 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32919 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32920 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32921 GLIBC_2.0 sqrtl symbol.
32922
813378e9
JM
32923 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32924 [__USE_MISC] (_LIB_VERSION): Likewise.
32925 [__USE_MISC] (struct exception): Likewise.
32926 [__USE_MISC] (matherr): Likewise.
32927 [__USE_MISC] (DOMAIN): Likewise.
32928 [__USE_MISC] (SING): Likewise.
32929 [__USE_MISC] (OVERFLOW): Likewise.
32930 [__USE_MISC] (UNDERFLOW): Likewise.
32931 [__USE_MISC] (TLOSS): Likewise.
32932 [__USE_MISC] (PLOSS): Likewise.
32933 [__USE_MISC] (HUGE): Likewise.
32934 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32935 * math/math-svid-compat.h: New file.
32936 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32937 and matherrl.
32938 * include/math.h [!_ISOMAC] (__matherr): Remove.
32939 * manual/arith.texi (FP Exceptions): Do not document matherr.
32940 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32941 (tests-internal): New variable.
32942 (install-lib): Do not add libieee.a.
32943 (non-lib.a): Likewise.
32944 (extra-objs): Do not add libieee.a and ieee-math.o.
32945 (CPPFLAGS-s_lib_version.c): Remove variable.
32946 ($(objpfx)libieee.a): Remove rule.
32947 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
32948 * math/ieee-math.c: Remove.
32949 * math/libm-test-support.c (matherr): Remove.
32950 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
32951 and license notices. Include <math-svid-compat.h> and
32952 <shlib-compat.h>.
32953 (matherr): Undefine as macro. Use compat_symbol_reference.
32954 (_LIB_VERSION): Likewise.
32955 * math/test-matherr-2.c: New file.
32956 * math/test-matherr-3.c: Likewise.
32957 * sysdeps/generic/math_private.h (__kernel_standard): Remove
32958 declaration.
32959 (__kernel_standard_f): Likewise.
32960 (__kernel_standard_l): Likewise.
32961 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
32962 <math_private.h>. Include <math-svid-compat.h>.
32963 (_LIB_VERSION): Undefine as macro.
32964 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
32965 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
32966 [LIBM_SVID_COMPAT], use compat_symbol.
32967 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
32968 <math_private.h>. Include <math-svid-compat.h>.
32969 (matherr): Undefine as macro.
32970 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
32971 compat_symbol.
32972 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
32973 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
32974 compat_symbol_reference.
32975 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
32976 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
32977 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
32978 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
32979 (MATHERR_D): Remove declaration.
32980 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
32981 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
32982 [LIBM_BUILD] (pmatherrf): Likewise.
32983 [LIBM_BUILD] (pmatherr): Likewise.
32984 [LIBM_BUILD] (pmatherrl): Likewise.
32985 (DOMAIN): Likewise.
32986 (SING): Likewise.
32987 (OVERFLOW): Likewise.
32988 (UNDERFLOW): Likewise.
32989 (TLOSS): Likewise.
32990 (PLOSS): Likewise.
32991 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
32992 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
32993 compat_symbol.
32994 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
32995 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
32996 compat_symbol.
32997 * math/lgamma-compat.h: Include <math-svid-compat.h>.
32998 * math/w_acos_compat.c: Likewise.
32999 * math/w_acosf_compat.c: Likewise.
33000 * math/w_acosh_compat.c: Likewise.
33001 * math/w_acoshf_compat.c: Likewise.
33002 * math/w_acoshl_compat.c: Likewise.
33003 * math/w_acosl_compat.c: Likewise.
33004 * math/w_asin_compat.c: Likewise.
33005 * math/w_asinf_compat.c: Likewise.
33006 * math/w_asinl_compat.c: Likewise.
33007 * math/w_atan2_compat.c: Likewise.
33008 * math/w_atan2f_compat.c: Likewise.
33009 * math/w_atan2l_compat.c: Likewise.
33010 * math/w_atanh_compat.c: Likewise.
33011 * math/w_atanhf_compat.c: Likewise.
33012 * math/w_atanhl_compat.c: Likewise.
33013 * math/w_cosh_compat.c: Likewise.
33014 * math/w_coshf_compat.c: Likewise.
33015 * math/w_coshl_compat.c: Likewise.
33016 * math/w_exp10_compat.c: Likewise.
33017 * math/w_exp10f_compat.c: Likewise.
33018 * math/w_exp10l_compat.c: Likewise.
33019 * math/w_exp2_compat.c: Likewise.
33020 * math/w_exp2f_compat.c: Likewise.
33021 * math/w_exp2l_compat.c: Likewise.
33022 * math/w_fmod_compat.c: Likewise.
33023 * math/w_fmodf_compat.c: Likewise.
33024 * math/w_fmodl_compat.c: Likewise.
33025 * math/w_hypot_compat.c: Likewise.
33026 * math/w_hypotf_compat.c: Likewise.
33027 * math/w_hypotl_compat.c: Likewise.
33028 * math/w_j0_compat.c: Likewise.
33029 * math/w_j0f_compat.c: Likewise.
33030 * math/w_j0l_compat.c: Likewise.
33031 * math/w_j1_compat.c: Likewise.
33032 * math/w_j1f_compat.c: Likewise.
33033 * math/w_j1l_compat.c: Likewise.
33034 * math/w_jn_compat.c: Likewise.
33035 * math/w_jnf_compat.c: Likewise.
33036 * math/w_jnl_compat.c: Likewise.
33037 * math/w_lgamma_main.c: Likewise.
33038 * math/w_lgamma_r_compat.c: Likewise.
33039 * math/w_lgammaf_main.c: Likewise.
33040 * math/w_lgammaf_r_compat.c: Likewise.
33041 * math/w_lgammal_main.c: Likewise.
33042 * math/w_lgammal_r_compat.c: Likewise.
33043 * math/w_log10_compat.c: Likewise.
33044 * math/w_log10f_compat.c: Likewise.
33045 * math/w_log10l_compat.c: Likewise.
33046 * math/w_log2_compat.c: Likewise.
33047 * math/w_log2f_compat.c: Likewise.
33048 * math/w_log2l_compat.c: Likewise.
33049 * math/w_log_compat.c: Likewise.
33050 * math/w_logf_compat.c: Likewise.
33051 * math/w_logl_compat.c: Likewise.
33052 * math/w_pow_compat.c: Likewise.
33053 * math/w_powf_compat.c: Likewise.
33054 * math/w_powl_compat.c: Likewise.
33055 * math/w_remainder_compat.c: Likewise.
33056 * math/w_remainderf_compat.c: Likewise.
33057 * math/w_remainderl_compat.c: Likewise.
33058 * math/w_scalb_compat.c: Likewise.
33059 * math/w_scalbf_compat.c: Likewise.
33060 * math/w_scalbl_compat.c: Likewise.
33061 * math/w_sinh_compat.c: Likewise.
33062 * math/w_sinhf_compat.c: Likewise.
33063 * math/w_sinhl_compat.c: Likewise.
33064 * math/w_sqrt_compat.c: Likewise.
33065 * math/w_sqrtf_compat.c: Likewise.
33066 * math/w_sqrtl_compat.c: Likewise.
33067 * math/w_tgamma_compat.c: Likewise.
33068 * math/w_tgammaf_compat.c: Likewise.
33069 * math/w_tgammal_compat.c: Likewise.
33070 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33071 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33072 * sysdeps/ieee754/k_standard.c: Likewise.
33073 * sysdeps/ieee754/k_standardf.c: Likewise.
33074 * sysdeps/ieee754/k_standardl.c: Likewise.
33075 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33076 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33077 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33078 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33079 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33080 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33081 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33082 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33083 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33085 Likewise.
33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33087 Likewise.
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33090 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33091 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33092
4504783c
FW
330932017-08-21 Florian Weimer <fweimer@redhat.com>
33094
33095 [BZ #21864]
33096 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33097 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33098 Move before inclusion of ../Rules.
33099
b5889d25
FW
331002017-08-21 Florian Weimer <fweimer@redhat.com>
33101
33102 [BZ #21972]
33103 * assert/assert.h (assert): Use static_cast (bool) for C++.
33104 Use the ternary operator in the warning branch for GNU C.
33105 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33106 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33107 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33108 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33109 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33110
41e673c1
L
331112017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33112
33113 [BZ #18822]
33114 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33115 (__syscall_clock_gettime): Add attribute_hidden.
33116 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33117 (__start_context): Likewise.
33118
568ff429
L
331192017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33120
33121 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33122 building libc.a.
33123 (hidden_proto): Likewise.
33124 (hidden_tls_proto): Likewise.
33125 (__hidden_proto): Likewise.
33126
7c41b4a1
L
331272017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33128
33129 * include/libc-symbols.h (attribute_hidden): Enable hidden
33130 visibility in libc.a compiled with PIE.
33131
483d7068
L
331322017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33133
33134 [BZ #18822]
33135 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33136 Add attribute_hidden.
33137
331382017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33139
33140 [BZ #21864]
33141 * Makerules (all-nonlib): Add $(others-extras).
33142 * catgets/Makefile (others-extras): New.
33143 * elf/Makefile (others-extras): Likewise.
33144 * nss/Makefile (others-extras): Likewise.
33145
54e4b8f2
L
331462017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33147
33148 [BZ #18822]
33149 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33150 * elf/dl-open.c: Include <libc-internal.h>.
33151 (__libc_multiple_libcs): Removed.
33152 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33153 <hp-timing.h>.
33154 * include/libc-internal.h (__libc_multiple_libcs): New.
33155 * misc/sbrk.c: Include <libc-internal.h>.
33156 (__libc_multiple_libcs): Removed.
33157
1dbbb1ec
L
331582017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33159
33160 [BZ #18822]
33161 * grp/initgroups.c (__nss_group_database): Removed.
33162 (__nss_initgroups_database): Likewise.
33163 * nscd/gai.c (__nss_hosts_database): Likewise.
33164 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33165 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33166 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33167 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33168 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33169 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33170 attribute_hidden.
33171 * nss/nsswitch.c (__nss_database_custom): Define only if
33172 USE_NSCD is defined.
33173 (__nss_configure_lookup): Use __nss_database_custom only if
33174 USE_NSCD is defined.
33175 * nss/nsswitch.h (__nss_database_custom): Declare only if
33176 USE_NSCD is defined. Add attribute_hidden.
33177 (__nss_setent): Add attribute_hidden.
33178 (__nss_endent): Likewise.
33179 (__nss_getent_r): Likewise.
33180 (__nss_getent): Likewise.
33181 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33182
2585d7b8
L
331832017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33184
33185 [BZ #18822]
33186 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33187 libc_hidden_proto and libc_hidden_def.
33188
c8dfa99c
L
331892017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33190
33191 [BZ #18822]
33192 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33193 Add libc_hidden_proto.
33194 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33195 Add libc_hidden_def.
33196
7ed87317
L
331972017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33198
33199 [BZ #21974]
33200 * gmon/Makefile (routines): Remove bb_init_func and
33201 bb_exit_func.
33202 (elide-routines.os): Removed.
9476b904
L
33203 * gmon/bb_exit_func.c: Likewise.
33204 * gmon/bb_init_func.c: Likewise.
7ed87317
L
33205 * include/sys/gmon.h (__bb): Likewise.
33206 (__bb_init_func): Likewise.
33207 (__bb_exit_func): Likewise.
91695eb1 33208 * sysdeps/alpha/bb_init_func.S: Likewise.
7ed87317 33209
94e6ba15
L
332102017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33211
33212 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33213 * include/setjmp.h (____longjmp_chk): Here. Add
33214 attribute_hidden.
33215
7550717e
L
332162017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33217
33218 [BZ #18822]
33219 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33220 attribute_hidden.
33221 (__strspn_sse2): Likewise.
33222
0bb2fabc
AZ
332232017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33224
c181840c
AZ
33225 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33226 (close_not_cancel_no_status): Likewise.
33227 (__close_nocancel): New macro.
33228 (__close_nocancel_nostatus): Likewise.
33229 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33230 macro.
33231 (close_not_cancel): Likewise.
33232 (close_not_cancel_no_status): Likewise.
33233 (__close_nocancel): New prototype.
33234 (__close_nocancel_nostatus): New function.
33235 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33236 * catgets/open_catalog.c (__open_catalog): Replace
33237 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33238 * gmon/gmon.c (write_gmon): Likewise.
33239 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33240 * intl/loadmsgcat.c (close): Likewise.
33241 * io/ftw.c (open_dir_stream): Likewise.
33242 (ftw_startup): Likewise.
33243 * libio/fileops.c (_IO_file_open): Likewise.
33244 (_IO_file_close_mmap): Likewise.
33245 (_IO_file_close): Likewise.
33246 * libio/iopopen.c (_IO_dup2): Likewise.
33247 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33248 * locale/loadlocale.c (_nl_load_locale): Likewise.
33249 * login/utmp_file.c (pututline_file): Likewise.
33250 (endutent_file): Likewise.
33251 * misc/daemon.c (daemon): Likewise.
33252 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33253 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33254 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33255 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33256 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33257 * nscd/nscd_helper.c (open_socket): Likewise.
33258 (__nscd_open_socket): Likewise.
33259 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33260 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33261 (__nscd_innetgr): Likewise.
33262 * nss/nss_db/db-open.c (internal_setent): Likewise.
33263 * resolv/res-close.c (__res_iclose): Likewise.
33264 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33265 * sysdeps/posix/closedir.c (__closedir): Likewise.
33266 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33267 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33268 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33269 (opendir_tail): Likewise.
33270 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33271 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33272 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33273 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33274 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33275 (gethostid): Likewise.
33276 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33277 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33278 Likewise.
33279 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33280 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33281 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33282 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33283 Likewise.
33284 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33285 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33286 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33287 Likewise.
33288 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33289 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33290 Likewise.
33291 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33292 Likewise.
33293 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33294 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33295 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33296 __close_nocancel.
33297
0bb2fabc
AZ
33298 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33299 (openat_not_cancel_3): Likewise.
33300 (openat64_not_cancel_3): Likewise).
33301 (openat_not_cancel_3): Likewise).
33302 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33303 macro.
33304 (openat_not_cancel_3): Likewise.
33305 (openat64_not_cancel): Likewise.
33306 (openat64_not_cancel_3): Likewise.
33307 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33308 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33309 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33310 __open{64}_nocancel.
33311 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33312 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33313 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33314
65a086db
L
333152017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33316
33317 [BZ #18822]
33318 * include/argz.h (__argz_create_sep): New function prototype.
33319 (__argz_append): Likewise.
33320 (__argz_add): Likewise.
33321 (__argz_add_sep): Likewise.
33322 (__argz_delete): Likewise.
33323 (__argz_insert): Likewise.
33324 (__argz_replace): Likewise.
33325 * string/argz.h (__argz_create_sep): Removed.
33326 (__argz_append): Likewise.
33327 (__argz_add): Likewise.
33328 (__argz_add_sep): Likewise.
33329 (__argz_delete): Likewise.
33330 (__argz_insert): Likewise.
33331 (__argz_replace): Likewise.
33332
62753d2c
L
333332017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33334
33335 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33336 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33337 (GNU_PROPERTY_STACK_SIZE): Likewie.
33338 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33339 (GNU_PROPERTY_LOPROC): Likewise.
33340 (GNU_PROPERTY_HIPROC): Likewise.
33341 (GNU_PROPERTY_LOUSER): Likewise.
33342 (GNU_PROPERTY_HIUSER): Likewise.
33343 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33344 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33345 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33346 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33347 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33348 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33349 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33350 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33351 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33352 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33353 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33354 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33355 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33356 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33357 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33358 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33359 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33360 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33361 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33362 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33363 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33364 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33365 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33366
6913ad65
GG
333672017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33368
33369 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33370 in C++ mode.
33371
47a67213
GG
333722017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33373
33374 [BZ #21930]
33375 * math/math.h (isinf): Check if in C or C++ mode before using
33376 __builtin_types_compatible_p, since this is a C mode feature.
33377
a748eb31
AZ
333782017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33379
c647fb88
AZ
33380 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33381 (__write_nocancel): New macro.
33382 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33383 Rewrite as a function prototype.
33384 (write_not_cancel): Remove macro.
33385 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33386 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33387 (write_gmon): Likewise.
33388 * libio/fileops.c (_IO_new_file_write): Likewise.
33389 * login/utmp_file.c (pututline_file): Likewise.
33390 (updwtmp_file): Likewise.
33391 * stdio-common/psiginfo.c (psiginfo): Likewise.
33392 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33393 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33394 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33395 Likewise.
33396 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33397 Likewise.
33398
a748eb31
AZ
33399 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33400 (__read_nocancel): New macro.
33401 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33402 __read_nocancel.
33403 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33404 macro.
33405 (__read_nocancel): New prototype.
33406 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33407 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33408 with __read_nocancel.
33409 * intl/loadmsgcat.c (read): Likewise.
33410 * libio/fileops.c (_IO_file_read): Likewise.
33411 * locale/loadlocale.c (_nl_load_locale): Likewise.
33412 * login/utmp_file.c (getutent_r_file): Likewise.
33413 (internal_getut_r): Likewise.
33414 (getutline_r_file): Likewise.
33415 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33416 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33417 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33418 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33419 Likewise.
33420 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33421 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33422 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33423 Likewise.
33424 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33425 Likewise.
33426 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33427 Likewise.
33428 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33429 Likewise.
33430 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33431
098b9dd4
L
334322017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33433
33434 [BZ #21966]
33435 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33436 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33437 usable.
33438
a3fe6a20
DD
334392017-08-17 DJ Delorie <dj@redhat.com>
33440
33441 * bug17079.c: Update to new test harness.
33442 * test-digits-dots.c: Likewise.
33443 * test-netdb.c: Likewise.
33444 * tst-field.c: Likewise.
33445 * tst-nss-getpwent.c: Likewise.
33446 * tst-nss-static.c: Likewise.
33447 * tst-nss-test1.c: Likewise.
33448 * tst-nss-test2.c: Likewise.
33449 * tst-nss-test3.c: Likewise.
33450 * tst-nss-test4.c: Likewise.
33451 * tst-nss-test5.c: Likewise.
33452
c2284574
AZ
334532017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33454
33455 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33456 (open_not_cancel_2): Likewise.
33457 (open_nocancel): New macro.
33458 (open64_nocancel): Likewise.
33459 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33460 (open_not_cancel_2): Likewise.
33461 (__open_nocancel): New prototype.
33462 (__open64_nocancel): Likewise.
33463 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33464 __open_nocancel.
33465 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33466 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33467 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33468 with __open_nocancel.
33469 * csu/check_fds.c (check_one_fd): Likewise.
33470 * gmon/gmon.c (write_gmon): Likewise.
33471 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33472 * intl/loadmsgcat.c (open): Likewise.
33473 * libio/fileops.c (_IO_file_open): Likewise.
33474 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33475 * locale/loadlocale.c (_nl_load_locale): Likewise.
33476 * login/utmp_file.c (setutent_file): Likewise.
33477 * misc/daemon.c (daemon): Likewise.
33478 * nss/nss_db/db-open.c (internal_setent): Likewise.
33479 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33480 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33481 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33482 (__opendir): Likewise.
33483 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33484 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33485 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33486 (gethostid): Likewise.
33487 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33488 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33489 Likewise.
33490 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33491 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33492 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33493 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33494 Likewise.
33495 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33496 Likewise.
33497 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33498 Likewise.
33499 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33500 Likewise.
33501 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33502 Likewise.
33503 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33504 Likewise.
33505 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33506 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33507
d4505b89
WD
335082017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33509
33510 * benchtests/bench-skeleton.c (main): Add support for
33511 latency benchmarking.
33512 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33513
34d6a3cb
L
335142017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33515
33516 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33517 the startup object.
33518
038d1caf
FW
335192017-08-17 Florian Weimer <fweimer@redhat.com>
33520
33521 * include/sys/socket.h (__opensock): Remove internal_function.
33522 * socket/opensock.c (__opensock): Likewise.
33523 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33524
67f0aff0
JM
335252017-08-16 Joseph Myers <joseph@codesourcery.com>
33526
33527 [BZ #21944]
33528 * signal/bits/types/__sigval_t.h: New file.
33529 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33530 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33531 and define sigval_t using __sigval_t.
33532 * include/bits/types/__sigval_t.h: New file.
33533 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33534 instead of <bits/types/__sigval_t.h>.
33535 (struct sigevent): Use __sigval_t instead of sigval_t.
33536 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33537 instead of <bits/types/__sigval_t.h>.
33538 (siginfo_t): Use __sigval_t instead of sigval_t.
33539 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33540 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33541 (struct sigevent): Use __sigval_t instead of sigval_t.
33542 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33543 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33544 (siginfo_t): Use __sigval_t instead of sigval_t.
33545 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33546
87e7bf4d
L
335472017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33548
33549 * NEWS: Remove "[Add new features here]" for 2.27.
33550
5047057f
JM
335512017-08-16 Joseph Myers <joseph@codesourcery.com>
33552
33553 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33554 libc.so.
33555
20c7b195
L
335562017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33557
33558 * NEWS: Mention x86-64 FMA optimization.
33559
24a2e658
L
335602017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33561
33562 [BZ #21912]
33563 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33564 Add e_expf-fma.
33565 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33566 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33567 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33568
eedca977
AS
335692017-08-16 Andreas Schwab <schwab@suse.de>
33570
403143e1
FW
33571 [BZ #16750]
33572 CVE-2009-5064
eedca977
AS
33573 * elf/ldd.bash.in: Never run file directly.
33574
f59f7adb
L
335752017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33576
33577 [BZ #21955]
33578 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33579 (L(SP_INF_0)): Likewise.
33580
6b11a6ad
FW
335812017-08-15 Florian Weimer <fweimer@redhat.com>
33582
33583 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33584 run-built-tests.
33585
bbf5c438
FW
335862017-08-15 Florian Weimer <fweimer@redhat.com>
33587
33588 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33589 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33590 BROKEN_THREAD_SIGNALS code.
33591 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33592 request_list): Remove caller_pid member used for
33593 BROKEN_THREAD_SIGNALS.
33594 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33595 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33596 Remove BROKEN_THREAD_SIGNALS support.
33597 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33598 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33599
6014c65d
FW
336002017-08-15 Florian Weimer <fweimer@redhat.com>
33601
33602 * gmon/Makefile (tests): Add tst-gmon.
33603 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33604 Set.
33605 (tests-special): Add tst-gmon-prof.out.
33606 (tst-gmon.out): Depend on clean-tst-gmon-data.
33607 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33608 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33609 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33610 startup object.
33611 * aclocal.m4 (GPROF): Set and substitute.
33612 * config.amke.in (GPROF): Set.
33613 * configure: Regenerate.
33614
ee72219a
GR
336152017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33616
33617 * elf/elf.h A (NT_PPC_TAR): New macro.
33618 (NT_PPC_PPR): Likewise.
33619 (NT_PPC_DSCR): Likewise.
33620 (NT_PPC_EBB): Likewise.
33621 (NT_PPC_PMU): Likewise.
33622 (NT_PPC_TM_CGPR): Likewise.
33623 (NT_PPC_TM_CFPR): Likewise.
33624 (NT_PPC_TM_CVMX): Likewise.
33625 (NT_PPC_TM_CVSX): Likewise.
33626 (NT_PPC_TM_SPR): Likewise.
33627 (NT_PPC_TM_CTAR): Likewise.
33628 (NT_PPC_TM_CPPR): Likewise.
33629 (NT_PPC_TM_CDSCR): Likewise.
33630
4ebf934e
FW
336312017-08-15 Florian Weimer <fweimer@redhat.com>
33632
33633 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33634 regparm (2) instead of internal_function.
33635 (_MCOUNT_DECL): Adjust.
33636
e9f57484
SL
336372017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33638
33639 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33640 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33641
88ff4d55
JM
336422017-08-14 Joseph Myers <joseph@codesourcery.com>
33643
33644 * conform/data/sys/wait.h-data (si_value): Do not expect for
33645 XPG42.
33646
c88ffc23
FW
336472017-08-14 Florian Weimer <fweimer@redhat.com>
33648
33649 [BZ #21962]
33650 NSS: Create stubs for accidentally exported lookup functions.
33651 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33652 Remove declaration.
33653 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33654 (ether_hostton): Call __nss_ethers_lookup2 instead.
33655 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33656 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33657 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33658 (setup): Call __nss_netgroup_lookup2 instead.
33659 * nss/Makefile (routines): Add compat-lookup.
33660 * nss/Versions (GLIBC_2.27): Add symbol version.
33661 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33662 (DB_COMPAT_FCT): Remove.
33663 * nss/compat-lookup.c: New file.
33664 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33665 from databases.def.
33666 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33667 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33668 (netname2user): Call __nss_publickey_lookup2 instead.
33669 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33670 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33671 instead.
33672
35a29136 336732017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1f14d0c3
AZ
33674 Sergei Trofimovich <slyfox@inbox.ru>
33675
33676 [BZ #21908]
33677 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33678 Rename to MMAP2_PAGE_UNIT.
33679 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33680 __OFF_T_MATCHES_OFF64_T is not defined.
33681 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33682 uint64_t.
33683 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33684 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33685
fbdc1e3e
FW
336862017-08-14 Florian Weimer <fweimer@redhat.com>
33687
33688 i386: Do not set internal_function.
33689 * config.h.in (USE_REGPARMS, internal_function): Remove.
33690 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33691 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33692
b3f85fd2
FW
336932017-08-14 Florian Weimer <fweimer@redhat.com>
33694
33695 * elf/dl-init.c (_dl_init): Remove internal_function.
33696 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33697 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33698
630bf491
FW
336992017-08-14 Florian Weimer <fweimer@redhat.com>
33700
33701 * elf/rtld.c (_dl_start): Remove internal_function.
33702 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33703 _dl_start.
33704
9fa7449b
FW
337052017-08-14 Florian Weimer <fweimer@redhat.com>
33706
33707 * elf/dl-fini.c (_dl_fini): Remove internal_function
33708 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33709
73322d5f
L
337102017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33711
d863cd71 33712 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
73322d5f
L
33713 (bit_cpu_SHSTK): Likewise.
33714 (index_cpu_IBT): Likewise.
33715 (index_cpu_SHSTK): Likewise.
33716 (reg_IBT): Likewise.
33717 (reg_SHSTK): Likewise.
33718 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33719 Handle index_cpu_IBT and index_cpu_SHSTK.
33720
dbc303ef
MF
337212017-08-14 Mike FABIAN <mfabian@redhat.com>
33722
33723 [BZ #19982]
33724 * po/fr.po: Fix spelling mistake.
33725
3012cfb0
FW
337262017-08-13 Florian Weimer <fweimer@redhat.com>
33727
33728 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33729 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33730 (_dl_catch_error, _dl_receive_error): Likewise.
33731 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33732 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33733 (_dl_deallocate_tls): Likewise.
33734 * include/dlfcn.h (_dl_addr): Likewise.
33735 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33736 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33737 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33738 Likewise.
33739
52bcdf26
FW
337402017-08-13 Florian Weimer <fweimer@redhat.com>
33741
33742 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33743 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33744 internal_function.
33745 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33746
e1d2ae8d
FW
337472017-08-13 Florian Weimer <fweimer@redhat.com>
33748
33749 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33750 internal_function.
33751 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33752 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33753 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33754 internal_function from _dl_make_stack_executable_hook member.
33755 (_dl_make_stack_executable): Remove internal_function.
33756 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33757 Likewise.
33758 * sysdeps/unix/sysv/linux/dl-execstack.c
33759 (_dl_make_stack_executable): Likewise.
33760
c4ce0382
FW
337612017-08-13 Florian Weimer <fweimer@redhat.com>
33762
33763 * sysdeps/unix/sysv/linux/netlinkaccess.h
33764 (__netlink_assert_response): Remove internal_function.
33765 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33766 (__netlink_assert_response): Likewise.
33767
c4d767f7
FW
337682017-08-13 Florian Weimer <fweimer@redhat.com>
33769
33770 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33771 internal_function.
33772 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33773
b2297409
FW
337742017-08-13 Florian Weimer <fweimer@redhat.com>
33775
33776 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33777 internal_function.
33778 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33779 * inet/netgroup.h (__internal_setnetgrent)
33780 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33781 * inet/getnetgrent_r.c (__internal_setnetgrent)
33782 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33783 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33784 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33785 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33786 * nss/nsswitch.h (db_lookup_function): Likewise.
33787
1b0bfc69
FW
337882017-08-13 Florian Weimer <fweimer@redhat.com>
33789
33790 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33791 Remove internal_function.
33792 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33793 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33794 message argument on the stack.
33795 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33796 Likeweise.
33797
a6bd8722
MF
337982017-08-12 Mike FABIAN <mfabian@redhat.com>
33799
33800 Adapt test case data to the changes in the thousands
33801 separators.
33802
33803 [BZ #20756]
33804 * localedata/tst-langinfo.sh: Adapt test case data.
33805 * stdlib/tst-strfmon_l.c: Likewise.
33806 * stdlib/tst-strtod4.c: Likewise.
33807 * stdlib/tst-strtod5i.c: Likewise.
33808
8b2c63e4
FW
338092017-08-11 Florian Weimer <fweimer@redhat.com>
33810
33811 [BZ #21242]
33812 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33813 Suppress pedantic warning resulting from statement expression.
33814 (__ASSERT_FUNCTION): Add missing __extension__.
33815
61c98291
SP
338162017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33817
86c6519e
SP
33818 * benchtests/bench-memmove-large.c: Print output in JSON
33819 format.
33820 * benchtests/bench-memmove.c: Likewise.
33821
61c98291
SP
33822 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33823 * benchtests/bench-memchr.c (do_one_test): Likewise.
33824 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33825 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33826 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33827 * benchtests/bench-memmove.c (do_one_test): Likewise.
33828 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33829 * benchtests/bench-memset.c (do_one_test): Likewise.
33830 * benchtests/bench-string.h (test_init): Remove memsets.
33831
925733a9
RJ
338322017-08-10 Rical Jasan <ricaljasan@pacific.net>
33833
33834 * manual/lang.texi
33835 (Computing the Width of an Integer Data Type): Rename section to
33836 "Width of an Integer Type". Remove inaccurate statement regarding
33837 lack of C language facilities for determining width of integer
33838 types, and reorder content to improve flow and context of
33839 discussion.
33840
4fcdfbfc
RJ
338412017-08-10 Rical Jasan <ricaljasan@pacific.net>
33842
33843 * lang.texi (va_copy): Change standard from ISO to C99.
33844 (__va_copy): Add standard and header annotation.
33845 Update description for clarity of origins and current use.
33846
4d98ace9
GG
338472017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33848
33849 [BZ #21941]
33850 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33851 xssqrtqp requires operands to be in Vector Registers
33852 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33853 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33854 (__ieee754_sqrtf128): Likewise.
33855
92236903
WD
338562017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33857
33858 * sysdeps/aarch64/memcmp.S (memcmp):
33859 Rewrite of optimized memcmp.
33860
2449ae7b
FW
338612017-08-10 Florian Weimer <fweimer@redhat.com>
33862
33863 Introduce ld.so exceptions.
33864 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33865 (_dl_exception_create, _dl_exception_create_format)
33866 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33867 (_dl_catch_exception): Declare.
33868 (_dl_catch_error): Update comment.
33869 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33870 errstring, malloced members with exception member.
33871 (_dl_out_of_memory): Remove.
33872 (fatal_error): New function, extracted from _dl_signal_error.
33873 (_dl_signal_exception, _dl_signal_cexception): New functions.
33874 (_dl_signal_error): Call _dl_exception_create to allocate an
33875 exception object.
33876 (_dl_catch_exception): New function, based on _dl_catch_error.
33877 (_dl_catch_error): Implement using _dl_catch_exception.
33878 * elf/dl-exception.c: New file.
33879 * elf/Makefile (dl-routines): Add dl-exception.
33880 (elide-routines.os): Likewise.
33881 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33882 _dl_exception_create_format, _dl_exception_free.
33883 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33884 _dl_signal_exception.
33885 * elf/dl-lookup.c (make_string): Remove.
33886 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33887 _dl_signal_cexception, _dl_exception_free.
33888 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33889 _dl_signal_exception.
33890 * elf/dl-sym.c (do_sym): Likewise.
33891 * elf/dl-version.c (make_string): Remove.
33892 (match_symbol): Use _dl_exception_create_format,
33893 _dl_signal_cexception, _dl_exception_free.
33894 (_dl_check_map_versions): Likewise.
33895 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33896 _dl_catch_exception.
33897 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33898 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33899 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33900 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33901 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33902 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33903 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33904 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33905 Likewise.
33906 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33908 (ld.so): Likewise.
33909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33910 (ld.so): Likewise.
33911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33912 Likewise.
33913 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33914 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33915 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33916 Likewise.
33917 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33918 Likewise.
33919 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33920
f87cc2bf
FW
339212017-08-10 Florian Weimer <fweimer@redhat.com>
33922
33923 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33924 attribute_hidden, internal_function.
33925 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33926 internal_function.
33927
eac43cbb
FW
339282017-08-10 Florian Weimer <fweimer@redhat.com>
33929
33930 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33931 function which calls __builtin_unreachable.
33932
bd80111e
MF
339332017-08-10 Mike FABIAN <mfabian@redhat.com>
33934
33935 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33936 Indian monetary formatting
33937 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33938 test cases.
33939
60e2846e
DL
339402017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33941
68dc02d1
DL
33942 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33943 Fix typo in comment.
33944
60e2846e
DL
33945 [BZ #21928]
33946 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
33947 PTRACE_SEIZE_DEVEL): Remove.
33948 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
33949 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33950 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33951 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33952 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33953
3d452dab
JM
339542017-08-09 Joseph Myers <joseph@codesourcery.com>
33955
24d9f53a
JM
33956 * posix/bits/types.h (__qaddr_t): Remove.
33957
3d452dab
JM
33958 [BZ #21457]
33959 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
33960 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33961 __glibc_reserved1.
33962 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
33963 (ucontext_t): Use __ctx with uc_flags.
33964 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
33965 (__ctxt): Likewise.
33966 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33967 __glibc_reserved1.
33968 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
33969 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33970 __glibc_reserved1.
33971 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
33972 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33973 __glibc_reserved1.
33974 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
33975 macro.
33976 (ucontext_t): Use __ctx with uc_flags.
33977 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
33978 (ucontext_t): Use __ctx with uc_flags.
33979 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
33980 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
33981 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
33982 (ucontext_t): Use __ctx with uc_flags.
33983 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
33984 undefine further down.
33985 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
33986 __glibc_reserved1.
33987 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
33988 undefine further down.
33989 (ucontext_t): Use __ctx with uc_flags.
33990 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
33991 undefine further down.
33992 (ucontext_t): Use __ctx with uc_flags.
33993 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
33994 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
33995 Rename uc_pad to __glibc_reserved1.
33996 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
33997 undefine further down.
33998 (ucontext_t): Use __ctx with uc_flags.
33999 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34000 further down.
34001 (ucontext_t): Use __ctx with uc_flags.
34002 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34003 __ctx with uc_flags.
34004 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34005 (ucontext_t): Use __ctx with uc_flags.
34006 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34007 __ctx with uc_flags.
34008
30161498
FW
340092017-08-09 Florian Weimer <fweimer@redhat.com>
34010
34011 [BZ #21932]
34012 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34013 before early return.
34014
5797b410
AS
340152017-08-09 Andreas Schwab <schwab@suse.de>
34016
139237a4 34017 [BZ #21041]
5797b410
AS
34018 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34019 renamed alias.
34020
139237a4 34021 [BZ #21041]
40c06a3d
AS
34022 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34023 tst-compat-forwarder.
34024 (modules-names): Add tst-compat-forwarder-mod.
34025 ($(objpfx)tst-compat-forwarder): Depend on
34026 $(objpfx)tst-compat-forwarder-mod.so.
34027 * nptl/tst-compat-forwarder.c: New file.
34028 * nptl/tst-compat-forwarder-mod.c: New file.
34029
36ada5f6
SP
340302017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34031
0e02b510
SP
34032 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34033 comments.
34034
36ada5f6
SP
34035 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34036 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34037 memcpy_falkor.
34038 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34039 Bump.
34040 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34041 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34042 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34043 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34044 Add falkor.
34045 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34046 New macro.
34047
9995c839
AZ
340482017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34049
34050 [BZ #759]
34051 * manual/setjmp.texi (getcontex): Document uc_stack value
34052 compatibility differences.
34053
f17a4233
JM
340542017-08-08 Joseph Myers <joseph@codesourcery.com>
34055
34056 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34057 (old_malloc_hook): Likewise.
34058 (old_memalign_hook): Likewise.
34059 (old_realloc_hook): Likewise.
34060 (struct hdr): Likewise.
34061 (flood): Likewise.
34062 (freehook): Likewise.
34063 (mallochook): Likewise.
34064 (memalignhook): Likewise.
34065 (reallochook): Likewise.
34066 (mprobe): Likewise.
34067 * malloc/mtrace.c (mallwatch): Likewise.
34068 (tr_old_free_hook): Likewise.
34069 (tr_old_malloc_hook): Likewise.
34070 (tr_old_realloc_hook): Likewise.
34071 (tr_old_memalign_hook): Likewise.
34072 (tr_where): Likewise.
34073 (lock_and_info): Likewise.
34074 (tr_freehook): Likewise.
34075 (tr_mallochook): Likewise.
34076 (tr_reallochook): Likewise.
34077 (tr_memalignhook): Likewise.
34078 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34079 * misc/mmap.c (__mmap): Likewise.
34080 * misc/mmap64.c (__mmap64): Likewise.
34081 * misc/mprotect.c (__mprotect): Likewise.
34082 * misc/msync.c (msync): Likewise.
34083 * misc/munmap.c (__munmap): Likewise.
34084 * posix/posix_madvise.c (posix_madvise): Likewise.
34085 * socket/send.c (__send): Likewise.
34086 * socket/sendto.c (__sendto): Likewise.
34087 * socket/setsockopt.c (__setsockopt): Likewise.
34088 * string/memcmp.c (__ptr_t): Remove macro.
34089 (MEMCMP): Use void * instead of ptr_t.
34090 * string/memrchr.c (__ptr_t): Remove macro.
34091 (__memrchr): Use void * instead of ptr_t.
34092 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34093 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34094 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34095 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34096 * sysdeps/mach/msync.c (msync): Likewise.
34097 * sysdeps/mach/munmap.c (__munmap): Likewise.
34098 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34099 Likewise.
34100 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34101 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34102 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34103 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34104 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34105 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34106 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34107 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34108 Likewise.
34109 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34110 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34111 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34112 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34113 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34114 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34115 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34116 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34117 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34118 Likewise.
34119 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34120 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34121 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34122 (MEMCMP): Use void * instead of ptr_t.
34123 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34124 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34125
0df595b2
FW
341262017-08-08 Florian Weimer <fweimer@redhat.com>
34127
34128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34129 return statement.
34130
086df229
L
341312017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34132
34133 [BZ #21913]
34134 * csu/libc-tls.c: Include <startup.h> first.
34135 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34136 * elf/dl-tunables.c: Include <startup.h> first.
34137 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34138 * sysdeps/generic/startup.h: New file.
34139 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34140 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34141 (I386_USE_SYSENTER): New. Defined to 0.
34142
fc5ad702
AS
341432017-08-08 Andreas Schwab <schwab@suse.de>
34144
34145 [BZ #21041]
34146 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34147 * nptl/pt-system.c (system): Likewise.
34148
852d6312
AZ
341492017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34150
34151 [BZ #21780]
34152 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34153 EOPNOTSUPP.
34154 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34155 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34156 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34157 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34158 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34159 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34160 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34161
8b164787
JM
341622017-08-07 Joseph Myers <joseph@codesourcery.com>
34163
cd65836b
JM
34164 [BZ #21899]
34165 * bits/sigaction.h (struct sigaction): Define sa_handler and
34166 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34167 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34168 [__USE_XOPEN_EXTENDED].
34169 (SA_RESTART): Likewise.
34170 (SA_NODEFER): Likewise.
34171 (SA_RESETHAND): Likewise.
34172 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34173 (struct sigaction): Define sa_handler and sa_sigaction using union
34174 also for [__USE_XOPEN_EXTENDED].
34175 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34176 [__USE_XOPEN_EXTENDED].
34177 (SA_RESTART): Likewise.
34178 (SA_NODEFER): Likewise.
34179 (SA_RESETHAND): Likewise.
34180 * sysdeps/unix/sysv/linux/bits/sigaction.h
34181 (struct sigaction): Define sa_handler and sa_sigaction using union
34182 also for [__USE_XOPEN_EXTENDED].
34183 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34184 [__USE_XOPEN_EXTENDED].
34185 (SA_RESTART): Likewise.
34186 (SA_NODEFER): Likewise.
34187 (SA_RESETHAND): Likewise.
34188 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34189 (struct sigaction): Define sa_handler and sa_sigaction using union
34190 also for [__USE_XOPEN_EXTENDED].
34191 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34192 [__USE_XOPEN_EXTENDED].
34193 (SA_RESTART): Likewise.
34194 (SA_NODEFER): Likewise.
34195 (SA_RESETHAND): Likewise.
34196 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34197 (struct sigaction): Define sa_handler and sa_sigaction using union
34198 also for [__USE_XOPEN_EXTENDED].
34199 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34200 [__USE_XOPEN_EXTENDED].
34201 (SA_RESTART): Likewise.
34202 (SA_NODEFER): Likewise.
34203 (SA_RESETHAND): Likewise.
34204 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34205 (struct sigaction): Define sa_handler and sa_sigaction using union
34206 also for [__USE_XOPEN_EXTENDED].
34207 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34208 [__USE_XOPEN_EXTENDED].
34209 (SA_RESTART): Likewise.
34210 (SA_NODEFER): Likewise.
34211 (SA_RESETHAND): Likewise.
34212 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34213 (struct sigaction): Define sa_handler and sa_sigaction using union
34214 also for [__USE_XOPEN_EXTENDED].
34215 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34216 [__USE_XOPEN_EXTENDED].
34217 (SA_RESTART): Likewise.
34218 (SA_NODEFER): Likewise.
34219 (SA_RESETHAND): Likewise.
34220 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34221 (struct sigaction): Define sa_handler and sa_sigaction using union
34222 also for [__USE_XOPEN_EXTENDED].
34223 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34224 [__USE_XOPEN_EXTENDED].
34225 (SA_RESTART): Likewise.
34226 (SA_NODEFER): Likewise. Define directly rather than as alias.
34227 (SA_RESETHAND): Likewise.
34228 (SA_INTERRUPT): Define only for [__USE_MISC].
34229 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34230 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34231 [__USE_MISC].
34232 (SA_STACK): Define only for [__USE_MISC].
34233 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34234 (struct sigaction): Define sa_handler and sa_sigaction using union
34235 also for [__USE_XOPEN_EXTENDED].
34236 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34237 [__USE_XOPEN_EXTENDED].
34238 (SA_RESTART): Likewise.
34239 (SA_NODEFER): Likewise.
34240 (SA_RESETHAND): Likewise.
34241 (SA_NOPTRACE): Define only for [__USE_MISC].
34242
d9fee042
JM
34243 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34244 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34245 (struct catalog_info): Likewise.
34246 * inet/htontest.c (lo): Likewise.
34247 (foo): Likewise.
34248 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34249 * inet/inet_net.c (inet_network): Likewise.
34250 * inet/inet_netof.c (inet_netof): Likewise.
34251 * inet/rcmd.c (__ivaliduser): Likewise.
34252 (iruserok): Likewise.
34253 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34254 * locale/programs/locale-spec.c (locale_special): Likewise.
34255 * nis/nis_findserv.c (struct findserv_req): Likewise.
34256 (__nis_findfastest_with_timeout): Likewise.
34257 * nss/test-netdb.c (test_network): Likewise.
34258 * resolv/inet_neta.c (inet_neta): Likewise.
34259 * resolv/ns_date.c (ns_datetosecs): Likewise.
34260 (SECS_PER_DAY): Likewise.
34261 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34262 Likewise.
34263 * resolv/res_comp.c (__putlong): Likewise.
34264 (__putshort): Likewise.
34265 (_getlong): Likewise.
34266 (_getshort): Likewise.
34267 * resolv/res_debug.c (p_time): Likewise.
34268 (precsize_ntoa): Likewise.
34269 (precsize_aton): Likewise.
34270 (latlon2ul): Likewise.
34271 (loc_aton): Likewise.
34272 (loc_ntoa): Likewise.
34273 * resolv/res_hconf.c (struct netaddr): Likewise.
34274 (_res_hconf_reorder_addrs): Likewise.
34275 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34276 (clnttcp_control): Likewise.
34277 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34278 (clntudp_control): Likewise.
34279 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34280 (clntunix_control): Likewise.
34281 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34282 * sunrpc/rpc/auth.h (union des_block): Likewise.
34283 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34284 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34285 (xdrrec_create): Likewise.
34286 (xdrrec_endofrecord): Likewise.
34287 (flush_out): Likewise.
34288 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34289 (xdrstdio_putlong): Likewise.
34290 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34291 Likewise.
34292
8b164787
JM
34293 * misc/sys/cdefs.h (__long_double_t): Remove.
34294 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34295 instead of __long_double_t,
34296 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34297
7ee38e60
SP
342982017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34299
dd3e86ad
SP
34300 * benchtests/scripts/compare_strings.py: Avoid display error when
34301 running on a text terminal.
34302
b115e819
SP
34303 * benchtests/scripts/compare_strings.py (main): Add an
34304 optional -base option.
34305 (process_results): New argument base_func.
34306
7ee38e60
SP
34307 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34308 hardcoding memcpy.
34309 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34310 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34311
d5afb385
AS
343122017-08-07 Andreas Schwab <schwab@suse.de>
34313
34314 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34315 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34316 * intl/Makefile ($(objpfx)tst-gettext.out)
34317 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34318 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34319 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34320 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34321 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34322 * posix/Makefile ($(objpfx)globtest.out)
34323 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34324 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34325 ($(objpfx)tst-printf.out): Likewise.
34326 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34327 ($(objpfx)tst-setcontext3.out): Likewise.
34328
57a72fa3
L
343292017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34330
34331 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34332 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34333 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34334 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34335 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34336 and mptan-fma.
34337 (CFLAGS-doasin-fma.c): New.
34338 (CFLAGS-dosincos-fma.c): Likewise.
34339 (CFLAGS-e_asin-fma.c): Likewise.
34340 (CFLAGS-e_atan2-fma.c): Likewise.
34341 (CFLAGS-e_exp-fma.c): Likewise.
34342 (CFLAGS-e_log-fma.c): Likewise.
34343 (CFLAGS-e_pow-fma.c): Likewise.
34344 (CFLAGS-halfulp-fma.c): Likewise.
34345 (CFLAGS-mpa-fma.c): Likewise.
34346 (CFLAGS-mpatan-fma.c): Likewise.
34347 (CFLAGS-mpatan2-fma.c): Likewise.
34348 (CFLAGS-mpexp-fma.c): Likewise.
34349 (CFLAGS-mplog-fma.c): Likewise.
34350 (CFLAGS-mpsqrt-fma.c): Likewise.
34351 (CFLAGS-mptan-fma.c): Likewise.
34352 (CFLAGS-s_atan-fma.c): Likewise.
34353 (CFLAGS-sincos32-fma.c): Likewise.
34354 (CFLAGS-slowexp-fma.c): Likewise.
34355 (CFLAGS-slowpow-fma.c): Likewise.
34356 (CFLAGS-s_sin-fma.c): Likewise.
34357 (CFLAGS-s_tan-fma.c): Likewise.
34358 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34359 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34360 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34361 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34362 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34363 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34364 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34365 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34366 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34367 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34368 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34369 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34370 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34371 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34372 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34373 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34374 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34375 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34376 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34377 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34378 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34379 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34380 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34381 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34382 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34383 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34384 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34385 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34386 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34387 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34388 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34389
219dd320
JM
343902017-08-04 Joseph Myers <joseph@codesourcery.com>
34391
34392 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34393 (min_of_type_f): New macro.
34394 (min_of_type_): Likewise.
34395 (min_of_type_l): Likewise.
34396 (min_of_type_f128): Likewise.
34397 (min_of_type): Define using __MATH_TG and taking an expression
34398 argument.
34399 (math_check_force_underflow): Pass expression instead of type to
34400 min_of_type.
34401 (math_check_force_underflow_nonneg): Likewise.
34402
64d4dea6
L
344032017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34404
34405 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34406 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34407 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34408
973da22a
L
344092017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34410
34411 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34412 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34413 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34414 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34415 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34416 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34417 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34418 memmove_chk-nonshared and memset_chk-nonshared
34419 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34420 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34421 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34422 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34423 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34424 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34425 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34426 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34427 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34428 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34429 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34430 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34431 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34432 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34433 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34434 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34435 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34436 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34437 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34438 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34439 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34440 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34441 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34442 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34443 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34444 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34445 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34446 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34447 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34448 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34449 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34450 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34451 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34452 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34453 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34454 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34455 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34456 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34457 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34458 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34459 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34460 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34461 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34462 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34463 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34464 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34465 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34466 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34467 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34468 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34469 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34470 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34471 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34472 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34473 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34474 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34475 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34476 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34477 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34478 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34479 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34480 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34481 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34482 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34483 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34484 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34485 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34486 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34487 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34488 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34489 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34490 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34491 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34492 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34493 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34494 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34495 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34496 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34497 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34498 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34499 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34500 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34501 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34502 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34503 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34504 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34505 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34506 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34507 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34508 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34509 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34510 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34511 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34512 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34513 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34514 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34515 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34516 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34517 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34518 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34519 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34520 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34521 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34522 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34523 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34524 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34525 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34526 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34527
8537e0f6
L
345282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34529
34530 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34531 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34532 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34533 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34534 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34535 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34536 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34537 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34538 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34539 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34540 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34541 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34542 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34543 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34544 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34545 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34546 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34547 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34548 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34549 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34550 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34551 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34552 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34553 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34554 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34555 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34556 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34557 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34558 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34559 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34560 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34561 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34562 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34563 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34564 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34565 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34566 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34567 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34568 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34569 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34570 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34571 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34572 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34573 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34574 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34575 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34576 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34577 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34578 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34579 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34580 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34581 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34582 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34583 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34584 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34585 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34586 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34587 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34588 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34589 ...
34590 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34591 Don't include <sysdep.h> nor <init-arch.h>.
34592 (_ZGVbN2v_cos): Removed.
34593 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34594 ...
34595 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34596 Don't include <sysdep.h> nor <init-arch.h>.
34597 (_ZGVdN4v_cos): Removed.
34598 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34599 ...
34600 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34601 Don't include <sysdep.h> nor <init-arch.h>.
34602 (_ZGVeN8v_cos): Removed.
34603 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34604 ...
34605 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34606 Don't include <sysdep.h> nor <init-arch.h>.
34607 (_ZGVbN2v_exp): Removed.
34608 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34609 ...
34610 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34611 Don't include <sysdep.h> nor <init-arch.h>.
34612 (_ZGVdN4v_exp): Removed.
34613 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34614 ...
34615 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34616 Don't include <sysdep.h> nor <init-arch.h>.
34617 (_ZGVeN8v_exp): Removed.
34618 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34619 ...
34620 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34621 Don't include <sysdep.h> nor <init-arch.h>.
34622 (_ZGVbN2v_log): Removed.
34623 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34624 ...
34625 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34626 Don't include <sysdep.h> nor <init-arch.h>.
34627 (_ZGVdN4v_log): Removed.
34628 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34629 ...
34630 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34631 Don't include <sysdep.h> nor <init-arch.h>.
34632 (_ZGVeN8v_log): Removed.
34633 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34634 ...
34635 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34636 Don't include <sysdep.h> nor <init-arch.h>.
34637 (_ZGVbN2vv_pow): Removed.
34638 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34639 ...
34640 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34641 Don't include <sysdep.h> nor <init-arch.h>.
34642 (_ZGVdN4vv_pow): Removed.
34643 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34644 ...
34645 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34646 Don't include <sysdep.h> nor <init-arch.h>.
34647 (_ZGVeN8vv_pow): Removed.
34648 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34649 ...
34650 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34651 Don't include <sysdep.h> nor <init-arch.h>.
34652 (_ZGVbN2v_sin): Removed.
34653 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34654 ...
34655 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34656 Don't include <sysdep.h> nor <init-arch.h>.
34657 (_ZGVbN4v_sin): Removed.
34658 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34659 ...
34660 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34661 Don't include <sysdep.h> nor <init-arch.h>.
34662 (_ZGVbN8v_sin): Removed.
34663 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34664 ...
34665 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34666 Don't include <sysdep.h> nor <init-arch.h>.
34667 (_ZGVbN2vvv_sincos): Removed.
34668 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34669 ...
34670 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34671 Don't include <sysdep.h> nor <init-arch.h>.
34672 (_ZGVdN4vvv_sincos): Removed.
34673 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34674 ...
34675 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34676 Don't include <sysdep.h> nor <init-arch.h>.
34677 (_ZGVeN8vvv_sincos): Removed.
34678 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34679 ...
34680 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34681 Don't include <sysdep.h> nor <init-arch.h>.
34682 (_ZGVeN16v_cosf): Removed.
34683 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34684 ...
34685 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34686 Don't include <sysdep.h> nor <init-arch.h>.
34687 (_ZGVbN4v_cosf): Removed.
34688 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34689 ...
34690 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34691 Don't include <sysdep.h> nor <init-arch.h>.
34692 (_ZGVdN8v_cosf): Removed.
34693 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34694 ...
34695 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34696 Don't include <sysdep.h> nor <init-arch.h>.
34697 (_ZGVeN16v_expf): Removed.
34698 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34699 ...
34700 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34701 Don't include <sysdep.h> nor <init-arch.h>.
34702 (_ZGVbN4v_expf): Removed.
34703 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34704 ...
34705 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34706 Don't include <sysdep.h> nor <init-arch.h>.
34707 (_ZGVdN8v_expf): Removed.
34708 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34709 ...
34710 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34711 Don't include <sysdep.h> nor <init-arch.h>.
34712 (_ZGVeN16v_logf): Removed.
34713 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34714 ...
34715 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34716 Don't include <sysdep.h> nor <init-arch.h>.
34717 (_ZGVbN4v_logf): Removed.
34718 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34719 ...
34720 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34721 Don't include <sysdep.h> nor <init-arch.h>.
34722 (_ZGVdN8v_logf): Removed.
34723 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34724 ...
34725 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34726 Don't include <sysdep.h> nor <init-arch.h>.
34727 (_ZGVeN16vv_powf): Removed.
34728 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34729 ...
34730 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34731 Don't include <sysdep.h> nor <init-arch.h>.
34732 (_ZGVbN4vv_powf): Removed.
34733 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34734 ...
34735 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34736 Don't include <sysdep.h> nor <init-arch.h>.
34737 (_ZGVdN8vv_powf): Removed.
34738 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34739 ...
34740 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34741 Don't include <sysdep.h> nor <init-arch.h>.
34742 (_ZGVeN16vvv_sincosf): Removed.
34743 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34744 ...
34745 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34746 Don't include <sysdep.h> nor <init-arch.h>.
34747 (_ZGVbN4vvv_sincosf): Removed.
34748 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34749 ...
34750 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34751 Don't include <sysdep.h> nor <init-arch.h>.
34752 (_ZGVdN8vvv_sincosf): Removed.
34753 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34754 ...
34755 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34756 Don't include <sysdep.h> nor <init-arch.h>.
34757 (_ZGVeN16v_sinf): Removed.
34758 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34759 ...
34760 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34761 Don't include <sysdep.h> nor <init-arch.h>.
34762 (_ZGVbN4v_sinf): Removed.
34763 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34764 ...
34765 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34766 Don't include <sysdep.h> nor <init-arch.h>.
34767 (_ZGVdN8v_sinf): Removed.
34768
10a87ca4
L
347692017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34770
34771 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34772 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34773 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34774 s_rint-sse4_1 and s_rintf-sse4_1.
34775 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34776 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34777 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34778 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34779 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34780 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34782 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34783 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34784 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34785 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34786 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34787 (__ceil): Removed.
34788 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34789 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34790 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34791 (__ceilf): Removed.
34792 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34793 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34794 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34795 (__floor): Removed.
34796 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34797 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34798 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34799 (__floorf): Removed.
34800 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34801 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34802 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34803 (__nearbyint): Removed.
34804 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34805 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34806 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34807 (__nearbyintf): Removed.
34808 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34809 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34810 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34811 (__rint): Removed.
34812 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34813 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34814 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34815 (__rintf): Removed.
34816
1e8e527d
L
348172017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34818
34819 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34820 SHARED. Avoid dynamic relocation against main in static PIE.
34821
e13daad7
L
348222017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34823
34824 [BZ #21815]
34825 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34826 (LDFLAGS-tst-prelink): Likewise.
34827
627c69c8
L
348282017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34829
34830 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34831 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34832 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34833 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34834 (INTERNAL_SYSCALL_NCS): Likewise.
34835 (LOADARGS_1): Likewise.
34836 (LOADARGS_5): Likewise.
34837 (RESTOREARGS_1): Likewise.
34838 (RESTOREARGS_5): Likewise.
34839
fc11ff8d
L
348402017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34841
34842 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34843 (MEMPCPY_SYMBOL): Likewise.
34844 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34845 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34846 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34847 in libc.a.
34848 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34849 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34850 Likewise.
34851 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34852 (__hidden_ver1): Don't use in libc.a.
34853 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34854 (__mempcpy): Don't create a weak alias in libc.a.
34855 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34856 libc.a.
34857 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34858 (__hidden_ver1): Don't use in libc.a.
34859
19f1a11e
L
348602017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34861
34862 * config.make.in (have-insert): New.
34863 * configure.ac (libc_cv_insert): New. Set to yes if linker
34864 supports INSERT in linker script.
34865 (AC_SUBST(libc_cv_insert): New.
34866 * configure: Regenerated.
34867 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34868 if $(have-insert) == yes.
34869
3093fd5e
L
348702017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34871
34872 * elf/Makefile (tests): Add vismain only if
34873 $(have-protected-data) == yes.
34874 (tests-pie): Likewise.
34875
d2cf37c0
L
348762017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34877
34878 [BZ #21871]
34879 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34880 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34881
c8a0e6ec
L
348822017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34883
34884 [BZ #21790]
34885 * sysdeps/i386/i586/memset.S
34886 (__memset_zero_constant_len_parameter): Removed.
34887 * sysdeps/i386/i686/memset.S
34888 (__memset_zero_constant_len_parameter): Likewise.
34889 * sysdeps/i386/i686/multiarch/memset_chk.S
34890 (__memset_zero_constant_len_parameter): Likewise.
34891 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34892 Likewise.
34893
2b34e271
AJ
348942017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34895
34896 * stdlib/getentropy.c (getentropy): Change return type to int.
34897
144bdab0
AJ
348982017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34899
34900 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34901
24ab7723
JM
349022017-08-03 Joseph Myers <joseph@codesourcery.com>
34903
34904 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34905 u_intN_t.
34906 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34907 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34908 Likewise.
34909 (ieee_float_shape_type): Likewise.
34910 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34911 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34912 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34913 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34914 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34915 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34916 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34917 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34918 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34919 Likewise.
34920 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34921 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34922 (__ieee754_yn): Likewise.
34923 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34924 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34925 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34926 Likewise.
34927 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34928 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34929 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34930 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34931 (__erfc): Likewise.
34932 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34933 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34934 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34935 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34936 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34937 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34938 Likewise.
34939 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34940 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34941 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34942 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34943 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34944 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
34945 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
34946 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
34947 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
34948 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
34949 (__issignaling): Likewise.
34950 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
34951 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
34952 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
34953 Likewise.
34954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
34955 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
34956 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
34957 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
34958 Likewise.
34959 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
34960 Likewise.
34961 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
34962 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
34963 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
34964 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
34965 (__erfcf): Likewise.
34966 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
34967 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
34968 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
34969 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
34970 Likewise.
34971 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
34972 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
34973 Likewise.
34974 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
34975 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
34976 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
34977 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
34978 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
34979 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
34980 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
34981 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
34982 Likewise.
34983 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
34984 Likewise.
34985 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
34986 Likewise.
34987 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
34988 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
34989 Likewise.
34990 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
34991 Likewise.
34992 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34993 (__ieee754_ynl): Likewise.
34994 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
34995 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
34996 Likewise.
34997 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
34998 Likewise.
34999 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35000 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35001 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35002 Likewise.
35003 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35004 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35005 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35006 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35007 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35008 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35009 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35010 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35011 Likewise.
35012 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35013 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35014 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35015 Likewise.
35016 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35017 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35018 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35019 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35020 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35021 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35022 Likewise.
35023 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35024 Likewise.
35025 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35026 Likewise.
35027 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35028 Likewise.
35029 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35030 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35031 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35032 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35033 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35034 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35035 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35036 Likewise.
35037 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35038 Likewise.
35039 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35041 Likewise.
35042 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35043 (__ieee754_remainderl): Likewise.
35044 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35045 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35046 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35047 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35048 Likewise.
35049 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35050 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35051 Likewise.
35052 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35053 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35054 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35055 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35056 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35057 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35058 Likewise.
35059 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35060 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35061 (__ieee754_y0l): Likewise.
35062 (pzero): Likewise.
35063 (qzero): Likewise.
35064 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35065 (__ieee754_y1l): Likewise.
35066 (pone): Likewise.
35067 (qone): Likewise.
35068 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35069 (__ieee754_ynl): Likewise.
35070 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35071 (__ieee754_lgammal_r): Likewise.
35072 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35073 Likewise.
35074 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35075 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35076 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35077 (__erfcl): Likewise.
35078 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35079 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35080 Likewise.
35081 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35082 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35083 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35084 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35085 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35086 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35087 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35088 Likewise.
35089 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35090 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35091 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35092 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35093 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35094 Likewise.
35095 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35096 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35097 Likewise.
35098 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35099 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35100 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35101 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35102 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35103
964263bb
FW
351042017-08-03 Florian Weimer <fweimer@redhat.com>
35105
35106 [BZ #21885]
35107 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35108 on memory allocation failure.
35109
e98c925f
AM
351102017-08-03 Alan Modra <amodra@gmail.com>
35111
35112 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35113 tst-tlsopt-powerpc.c with function name change and no test harness.
35114 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35115 Call tls_get_addr_opt_test.
35116 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35117 (modules-names): Add mod-tlsopt-powerpc.
35118 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35119 (tst-tlsopt-powerpc): Depend on .so.
35120 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35121 define. Expand use in TLS_GD and TLS_LD.
35122
8ee1abdb
ST
351232017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35124
35125 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35126 function.
3da5756e 35127 * sysdeps/posix/shm_open.c: Include <pthread.h>.
8ee1abdb 35128
42df8d59
JM
351292017-08-02 Joseph Myers <joseph@codesourcery.com>
35130
35131 [BZ #21686]
35132 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35133 comparing size with that of double.
35134 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35135 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35136 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35137 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35138 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35139 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35140 unsigned __int128 types.
35141
b7f95f49
SE
351422017-08-02 Steve Ellcey <sellcey@cavium.com>
35143
35144 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35145 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35146 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35147 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35148 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35149
5b736bc9
L
351502017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35151
35152 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35153
dfc93c41
L
351542017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35155
35156 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35157 of SHARED.
35158 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35159 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35160 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35161 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35162 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35163 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35164 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35165
2fee621d
JM
351662017-08-02 Joseph Myers <joseph@codesourcery.com>
35167
35168 [BZ #21685]
35169 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35170 bit-field expressions passed to sizeof or typeof.
35171 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35172 (__TGMATH_F128): Likewise.
35173 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35174 (__TGMATH_CF128): Likewise.
35175 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35176 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35177 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35178 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35179 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35180 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35181 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35182 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35183 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35184 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35185 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35186 (__TGMATH_UNARY_IMAG): Likewise.
35187 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35188 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35189 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35190 type.
35191 (define_vars_for_type): Handle bit_field type specially.
35192 (Tests.__init__): Declare structure with bit-field element.
35193
b358255f
L
351942017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35195
35196 [BZ #21791]
35197 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35198 (MEMCPY_CHK): Define only if SHARED is defined.
35199 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35200 Likewise.
35201 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35202 Likewise.
edf66db1
SP
35203
35204See ChangeLog.18 for earlier changes.