1 2019-06-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4 (sysdeps_routines, libm-sysdep_routines): Remove s_finite*
6 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c:
10 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: Likewise.
11 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
13 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
14 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
15 * sysdeps/powerpc/powerpc32/power7/fpu/s_finitef.S: Likewise.
16 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
17 Remove s_finite* objects.
18 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Remove file.
19 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
20 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.c: Likewise.
21 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
22 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: Likewise.
23 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
24 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
25 * sysdeps/powerpc/powerpc64/power7/fpu/s_finitef.S: Likewise.
26 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
27 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: Likewise.
29 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Move to ...
30 * sysdeps/ieee754/dbl-64/s_finite.c: ... here and format code.
32 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
33 (sysdeps_routines, libm-sysdep_routines): Remove s_isinf* and s_isinf*
35 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S:
37 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c:
39 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
40 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
42 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
43 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
44 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinff.S: Likewise.
45 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_call):
46 Remove s_isinf* and s_isinf* objects.
47 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
48 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
49 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.c: Likewise.
50 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
51 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: Likewise.
52 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
53 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
54 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinff.S: Likewise.
55 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
56 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: Likewise.
58 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Move to ...
59 * sysdeps/ieee754/dbl-64/s_isinf.c: ... here and format code.
61 * sysdeps/powerpc/fpu/s_isnan.c: Remove file.
62 * sysdeps/powerpc/fpu/s_isnanf.S: Likewise.
63 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
64 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
65 (sysdeps_routines, libm-sysdep_routines): Remove s_isnan-* and
67 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S:
69 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S:
71 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S:
73 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S:
75 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
76 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power5.S:
78 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
80 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: Likewise.
81 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
82 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnanf.S: Likewise.
83 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
84 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S: Likewise.
85 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnanf.S: Likewise.
87 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdep_calls):
88 Remove s_isnan-* and s_isnanf-* objects.
89 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
90 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
91 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S:
93 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
94 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
95 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
96 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
97 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
98 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
99 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
100 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
101 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
102 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
103 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnanf.S: Likewise.
104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
105 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: Likewise.
107 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Move to ...
108 * sysdeps/ieee754/dbl-64/s_isnan.c: ... here and format code.
110 * benchtests/Makefile (bench-math): Add isnan, isinf, and isfinite.
111 (CFLAGS-bench-isnan.c, CFLAGS-bench-isinf.c,
112 CFLAGS-bench-isfinite.c): New rule.
113 * benchtests/isnan-input: New file.
114 * benchtests/isinf-input: New file.
115 * benchtests/isfinite-input: New file.
117 * sysdeps/powerpc/fpu/s_copysign.c: New file.
118 * sysdeps/powerpc/fpu/s_copysignf.c: Likewise.
119 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Remove file.
120 * sysdeps/powerpc/powerpc32/fpu/s_copysignf.S: Likewise.
121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
122 (sysdep_routines, libm-sysdep_routines): Remove s_copysign-power6 and
124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
132 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
133 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: Likewise.
134 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile (sysdeps_calls):
135 Remove s_copysign-power6 s_copysign-ppc64.
136 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S:
138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S:
140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
142 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
143 * sysdeps/powerpc/powerpc64/fpu/s_copysignf.S: Likewise.
144 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
145 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: Likewise.
147 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode,
148 round_to_integer_float, round_mode): Add RINT handling.
149 (reset_fenv_mode): New symbol.
150 * sysdeps/powerpc/fpu/s_rint.c (__rint): Use generic implementation.
151 * sysdeps/powerpc/fpu/s_rintf.c (__rintf): Likewise.
152 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove file.
153 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
154 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
155 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
157 2019-06-12 Florian Weimer <fweimer@redhat.com>
160 * libio/libioP.h (_IO_JUMPS_FUNC_UPDATE): New macro.
161 * libio/freopen.c (freopen): Use it.
163 2019-06-12 Florian Weimer <fweimer@redhat.com>
165 Linux: Deprecate sysctl.
166 * include/sysctl.h (__sysctl): Remove declaration.
167 * scripts/check-installed-headers.sh (sys/sysctl.h): Disable
169 * sysdeps/unix/sysv/linux/sys/sysctl.h: Add deprecation warning.
170 (sysctl): Add deprecation attribute.
171 * sysdeps/unix/sysv/linux/sysctl.c: Include <linux/sysctl.h>
172 directly, to avoid the deprecation warning. Do not include
174 (__sysctl): Remove hidden alias.
176 2019-06-12 Florian Weimer <fweimer@redhat.com>
178 Linux: Use kernel headers for statx definitions if available.
179 * include/bits/statx-generic.h: New file.
180 * include/bits/types/struct_statx.h: Likewise.
181 * include/bits/types/struct_statx_timestamp.h: Likewise.
182 * io/Makefile (headers): Add bits/statx-generic.h.
183 * io/bits/statx-generic.h: New file. Partly copied from
185 * io/statx_generic.c: Include <bits/types/struct_statx.h> to
186 define original_statx.
187 * io/bits/types/struct_statx.h: Likewise.
188 * io/bits/types/struct_statx_timestamp.h: Likewise.
189 (statx_generic): Use original_statx.
190 * io/bits/statx.h: Rewrite to include <bits/statx-generic.h>.
191 * sysdeps/unix/sysv/linux/bits/statx.h: New file.
193 2019-06-12 Florian Weimer <fweimer@redhat.com>
195 * misc/sys/cdefs.h (__glibc_has_include): Define.
197 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
199 * string/memmem.c (__memmem): Rewrite to improve performance.
201 2019-06-12 Wilco Dijkstra <wdijkstr@arm.com>
203 * string/str-two-way.h (two_way_short_needle): Add inline to avoid
205 (two_way_long_needle): Block inlining.
206 * string/strstr.c (strstr2): Add new function.
208 (STRSTR): Completely rewrite strstr to improve performance.
210 2019-06-11 Wilco Dijkstra <wdijkstr@arm.com>
212 * benchtests/bench-strstr.c (test_hard_needle): New function.
214 2019-06-10 Joseph Myers <joseph@codesourcery.com>
216 * malloc/tst-calloc.c: Include <libc-diag.h>.
217 (null_test): Ignore -Wunused-result around calls to calloc.
218 * malloc/tst-mallocfork.c: Include <libc-diag.h>.
219 (do_test): Ignore -Wunused-result around call to malloc.
221 2019-06-07 Florian Weimer <fweimer@redhat.com>
223 Linux: Add getdents64 system call.
224 * include/dirnent.h (getdents): Add comment and change buffer
225 argument type to void *.
226 (getdents64): Likewise. Add hidden prototype.
227 * sysdeps/unix/sysv/linux/bits/Versions (GLIBC_2.30): Export
229 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == dirent] (tests):
231 * sysdeps/unix/sysv/linux/bits/unistd_ext.h (getdents64): Declare.
232 * sysdeps/unix/sysv/linux/getdents.c (__getdents): Change buffer
233 argument type to void *.
234 * sysdeps/unix/sysv/linux/getdents64.c (__getdents64): Likewise.
235 Add hidden definition and getdents64 alias.
236 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
238 * sysdeps/unix/sysv/linux/tst-getdents64.c: New file.
239 * manual/filesys.texi (Accessing Directories): Add Low-level
240 Directory Access node reference.
241 (Opening a Directory): Cross-reference it.
242 (Low-level Directory Access): New node.
243 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
245 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
247 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
248 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
250 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
252 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
254 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
256 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
258 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
260 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
262 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
263 (GLIBC_2.30): Likewise.
264 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
265 (GLIBC_2.30): Likewise.
266 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
267 (GLIBC_2.30): Likewise.
268 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
269 (GLIBC_2.30): Likewise.
270 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
272 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
273 (GLIBC_2.30): Likewise.
274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
275 (GLIBC_2.30): Likewise.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
277 (GLIBC_2.30): Likewise.
278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
279 (GLIBC_2.30): Likewise.
280 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
282 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
284 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
286 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
287 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
289 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
291 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
293 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
296 2019-06-06 Paul A. Clarke <pc@us.ibm.com>
298 * sysdeps/powerpc/fpu_control.h (_FPU_MASK_RC): New.
302 (_FPU_GETCW): Use __FPU_MFFS().
303 * sysdeps/powerpc/fpu/get-rounding-mode.h: New file.
305 2019-06-06 Florian Weimer <fweimer@redhat.com>
307 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Do not use
308 internal GCC preprocessor identifier __has_include__.
310 2019-06-05 Paul A. Clarke <pc@us.ibm.com>
312 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Replace code
313 with call to equivalent function.
315 2019-06-04 Florian Weimer <fweimer@redhat.com>
317 * iconv/gconv_dl.c (release_handle): Remove file-level definition.
318 (do_release_shlib): Adjust for __twalk_r.
319 (__gconv_release_shlib): Call __twalk_r.
321 2019-06-04 Andreas Schwab <schwab@suse.de>
324 * iconv/skeleton.c (FUNCTION_NAME): Use RESET_INPUT_BUFFER only if
325 no irreversible characters occurred.
326 * iconv/gconv_simple.c (internal_ucs4_loop)
327 (internal_ucs4_loop_unaligned, internal_ucs4_loop_single)
328 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
329 (ucs4_internal_loop_single, internal_ucs4le_loop)
330 (internal_ucs4le_loop_unaligned, internal_ucs4le_loop_single)
331 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
332 (ucs4le_internal_loop_single): Add const to outend.
333 * sysdeps/s390/multiarch/gconv_simple.c (internal_ucs4le_loop)
334 (ucs4_internal_loop, ucs4le_internal_loop): Likewise.
335 * iconv/Makefile (tests): Add tst-iconv7.
336 * iconv/tst-iconv7.c: New file.
338 2019-06-03 Joseph Myers <joseph@codesourcery.com>
340 * inet/netinet/in.h (INADDR_ALLSNOOPERS_GROUP): New macro.
342 2019-06-01 Florian Weimer <fweimer@redhat.com>
344 arm: Remove ioperm/iopl/inb/inw/inl/outb/outw/outl support.
345 * sysdeps/unix/sysv/linux/arm/Makefile
346 [$(subdir) == misc] (sysdep_headers): Remove sys/io.h.
347 * sysdeps/unix/sysv/linux/arm/sys/io.h: Remove file.
348 * sysdeps/unix/sysv/linux/arm/ioperm.c: Rewrite file.
349 (ioperm, iopl, inb, inw, inl, outb, outw, outl): Turn into
350 compatibility symbols.
352 2019-05-31 Florian Weimer <fweimer@redhat.com>
354 * sysdeps/unix/sysv/linux/syscall-names.list: Add oddly named
355 system calls for the arm architecture: breakpoint, get_tls,
356 set_tls, usr26, usr32.
358 2019-05-30 Gabriel F. T. Gomes <gabrielftg@linux.ibm.com>
360 * sysdeps/powerpc/Makefile
361 [$(subdir) == misc] (CFLAGS-tst-set_ppr.c): New variable.
362 * sysdeps/powerpc/powerpc64/power4/memcmp.S [__LITTLE_ENDIAN__]:
363 Declare '.machine power7' to get support for ldbrx.
364 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Declare '.machine'
365 directive based on the directory of the file.
366 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
367 * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
368 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Update
369 '.machine' directive.
370 (VCLZD_V8_v7, MFVRD_R3_V1, VSUBUDM_V9_V8, VPOPCNTD_V8_V8)
371 (VADDUQM_V7_V8): Remove.
372 (__STRCASECMP): Replace macros with actual instructions.
373 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Update
374 '.machine' directive.
375 (VCLZD_V8_v7): Remove.
376 (STRCASESTR): Replace VCLZD_V8_v7 with actual instruction.
378 2019-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
380 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/get_clockfreq.c:
382 * sysdeps/unix/sysv/linux/x86_64/get_clockfreq.c: Likewise.
384 2019-05-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
386 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
388 * sysdeps/powerpc/fpu/s_nearbyint.c: New file.
389 * sysdeps/powerpc/fpu/s_nearbyintf.c: Likewise.
390 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Remove file.
391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Likewise.
392 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
395 2019-05-28 mansayk <6688000@gmail.com>
398 * localedata/locales/tt_RU (lang_name): Add from CLDR-35.1.
400 2019-05-28 mansayk <6688000@gmail.com>
403 * localedata/locales/tt_RU (mon): Update from CLDR-35.1, fix errors.
404 (abmon): Likewise, but remove the trailing dots.
406 2019-05-28 Joseph Myers <joseph@codesourcery.com>
408 * inet/netinet/igmp.h (IGMP_MRDISC_ADV): New macro.
410 2019-05-27 Florian Weimer <fweimer@redhat.com>
412 * nptl/nptl-init.c: Add comment.
414 2019-05-24 Florian Weimer <fweimer@redhat.com>
416 * resolv/nss_dns/dns-host.c (getanswer_r): Be more explicit about
417 struct in_addr/struct in6_addr alignment.
419 2019-05-23 Joseph Myers <joseph@codesourcery.com>
421 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
422 (F_SEAL_FUTURE_WRITE): New macro.
424 2019-05-23 Alexandra Hajkova <ahajkova@redhat.com>
426 * elf/Makefile (test-container): Add tst-ldconfig-bad-aux-cache.
427 * elf/tst-ldconfig-bad-aux-cache.c: New file.
428 * elf/tst-ldconfig_aux-cache.root: New directory.
429 * elf/tst-ldconfig-bad-aux-cache.root/postclean.req: New file.
430 * elf/tst-ldconfig-bad-aux-cache.root/etc: New directory.
431 * elf/tst-ldconfig-bad-aux-cache.root/etc/ld.so.conf: New file.
433 2019-05-22 Zack Weinberg <zackw@panix.com>
435 * sysdeps/powerpc/preconfigure: Error out on powerpc-*-*gnuspe*
437 * scripts/build-many-glibcs.py: Remove powerpc-*-linux-gnuspe
438 and powerpc-*-linux-gnuspe-e500v1 from list of build configurations.
440 * sysdeps/powerpc/powerpc32/e500: Recursively delete.
441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500: Recursively delete.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/context-e500.h:
445 * sysdeps/powerpc/fpu_control.h: Remove SPE variant.
446 Issue an #error if used with a compiler in SPE-float mode.
447 * sysdeps/powerpc/powerpc32/__longjmp_common.S
448 * sysdeps/powerpc/powerpc32/setjmp_common.S
449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/getcontext.S
451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/setcontext.S
452 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/swapcontext.S
453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
455 Remove code to preserve SPE register state.
457 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
458 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
459 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c:
460 Remove __SPE__ ifndefs.
462 2019-05-21 Wilco Dijkstra <wdijkstr@arm.com>
464 * benchtests/bench-memcpy-random.c (do_one_test): Use medium iterations.
465 * benchtests/bench-memcpy-walk.c (test_main): Reduce alignment tests.
466 * benchtests/bench-memmem.c (do_one_test): Use small iterations.
467 * benchtests/bench-memmove-walk.c (test_main): Reduce alignment tests.
468 * benchtests/bench-memset-walk.c (test_main): Reduce alignment tests.
469 * benchtests/bench-strcasestr.c (do_one_test): Use small iterations.
470 * benchtests/bench-string.h (INNER_LOOP_ITERS): Increase iterations.
471 (INNER_LOOP_ITERS_MEDIUM): New define.
472 (INNER_LOOP_ITERS_SMALL): New define.
473 * benchtests/bench-strpbrk.c (do_one_test): Use medium iterations.
474 * benchtests/bench-strsep.c (do_one_test): Use small iterations.
475 * benchtests/bench-strspn.c (do_one_test): Use medium iterations.
476 * benchtests/bench-strstr.c (do_one_test): Use small iterations.
477 * benchtests/bench-strtok.c (do_one_test): Use small iterations.
479 2019-05-21 Adhemeval Zanella <adhemerval.zanella@linaro.org>
481 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h (SEMTIMEDOP_IPC_ARGS):
483 * sysdeps/unix/sysv/linux/sparc/sparc64/ipc_priv.h
484 (SEMTIMEDOP_IPC_ARGS): Likewise.
486 2019-05-21 Florian Weimer <fweimer@redhat.com>
489 * wcsmbs/wcsmbsload.c (__wcsmbs_clone_conv): Acquire __gconv_lock
490 before updating __counter field and release it afterwards. Add
492 * iconv/gconv.h (struct __gconv_step): Mention synchronization
493 requirement for __counter member.
495 2019-05-21 Florian Weimer <fweimer@redhat.com>
498 * wcsmbs/wcsmbsload.h (__wcsmbs_close_conv): Declare.
499 * wcsmbs/wcsmbsload.c (__wcsmbs_close_conv): Define.
500 * libio/iofclose.c (_IO_new_fclose): Call __wcsmbs_close_conv
501 instead of __gconv_release_step.
502 * libio/Makefile (tests): Add tst-wfile-gconv.
503 (tests-container): Add tst-wfile-ascii.
504 (tst-wfile-gconv-ENV): Enable mtrace.
505 (generated): Add tst-wfile-gconv.mtrace, tst-wfile-gconv.check.
506 (tests-special): Add tst-wfile-gconv-mem.out.
507 (tst-wfile-gconv.out): Depend on locales.
508 (tst-wfile-gconv-mem.out): Add mtrace rule.
509 * libio/tst-wfile-ascii.c: New file.
510 * libio/tst-wfile-gconv.c: Likewise.
512 2019-05-20 Florian Weimer <fweimer@redhat.com>
515 libio: Remove codecvt vtable.
516 * libio/fileops.c ( _IO_new_file_fopen): Do not copy
518 * libio/iofgetpos.c (_IO_new_fgetpos): Call
519 __libio_codecvt_encoding.
520 * libio/iofgetpos64.c (_IO_new_fgetpos): Likewise.
521 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
522 * libio/iofsetpos64.c (_IO_new_fsetpos): Likewise.
523 * libio/iofwide.c (__libio_codecvt): Remove variable.
524 (_IO_fwide): Do not copy __libio_codecvt.
525 (__libio_codecvt_out): Rename from do_out and export.
526 (do_unshift): Remove function.
527 (__libio_codecvt_in): Rename from do_in and export.
528 (__libio_codecvt_encoding): Rename from do_encoding and export.
529 (do_always_noconv): Remove function.
530 (__libio_codecvt_length): Rename from do_length and export.
531 (do_max_length): Remove function.
532 * libio/libio.h (enum __codecvt_result): Remove definition; moved
534 (struct _IO_codecvt): Remove fields __codecvt_destr,
535 __codecvt_do_out, __codecvt_do_unshift, __codecvt_do_in,
536 __codecvt_do_encoding, __codecvt_do_always_noconv,
537 __codecvt_do_length, __codecvt_do_max_length.
538 * libio/libioP.h (enum __codecvt_result): Define; moved from
540 (__libio_codecvt_out, __libio_codecvt_in)
541 (__libio_codecvt_encoding, __libio_codecvt_length): Declare
543 * libio/wfileops.c (_IO_wdo_write): Call __libio_codecvt_out.
544 (_IO_wfile_underflow): Call __libio_codecvt_in.
545 (_IO_wfile_underflow): Likewise.
546 (_IO_wfile_underflow_mmap): Likewise.
547 (_IO_wfile_sync): Call __libio_codecvt_encoding,
548 __libio_codecvt_length.
549 (adjust_wide_data): Call __libio_codecvt_encoding,
551 (do_ftell_wide): Call __libio_codecvt_length, __libio_codecvt_out.
552 (_IO_wfile_seekoff): Call __libio_codecvt_encoding,
553 __libio_codecvt_length.
555 2019-05-20 Florian Weimer <fweimer@redhat.com>
557 * support/support.h (support_sbindir_prefix): Declare.
558 (support_install_rootsbindir): Update comment.
559 * support/Makefile (CFLAGS-support_paths.c): Define SBINDIR_PATH.
560 * support/support_paths.c (support_sbindir_prefix): Define.
562 2019-05-20 Mike Crowe <mac@mcrowe.com>
564 * support/timespec.c: Add backslash to correct newline in failure
567 * support/timespec.h: Correct confusing comment.
569 2019-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
571 * sysdeps/unix/sysv/linux/ipc_priv.h (SEMTIMEDOP_IPC_ARGS): New
573 * sysdpes/unix/sysv/linux/s390/ipc_priv.h: New file.
574 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Remove file.
575 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use
576 SEMTIMEDOP_IPC_ARGS for calls with __NR_ipc.
579 * sysdeps/unix/sysv/linux/msgctl.c (__old_msgctl): Remove __IPC_64
582 2019-05-20 Joseph Myers <joseph@codesourcery.com>
584 * elf/elf.h (NT_ARM_PACA_KEYS): New macro.
585 (NT_ARM_PACG_KEYS): Likewise.
587 2019-05-17 Wilco Dijkstra <wdijkstr@arm.com>
589 * malloc/malloc.c (MAX_TCACHE_COUNT): Increase to UINT16_MAX.
590 (tcache_put): Remove redundant assert.
591 (tcache_get): Remove redundant asserts.
592 (__libc_malloc): Check tcache count is not zero.
593 * manual/tunables.texi (glibc.malloc.tcache_count): Update maximum.
595 2019-05-17 Florian Weimer <fweimer@redhat.com>
597 * manual/llio.texi (Open-time Flags): Document O_DIRECTORY.
599 2019-05-16 Joseph Myers <joseph@codesourcery.com>
601 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
602 (__ASSUME_STATFS64): Only undefine if [__LINUX_KERNEL_VERSION <
604 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
606 * sysdeps/unix/sysv/linux/sh/kernel-features.h
607 (__ASSUME_STATX): Likewise.
609 2019-05-16 Florian Weimer <fweimer@redhat.com>
611 * nis/nss_nis/nis-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL): Remove
613 (LINE_PARSER): Do not map IPv4 addresses.
614 (internal_nis_gethostent_r): Remove flags argument. Adjust call
616 (_nss_nis_gethostent_r): Always pass AF_INET to
617 internal_nis_gethostent_r.
618 (internal_gethostbyname2_r): Remove flags argument. Adjust call
620 (_nss_nis_gethostbyname2_r): Adjust call to
621 internal_nis_gethostent_r.
622 (_nss_nis_gethostbyname_r): Do not attempt IPv6 query. Adjust
623 call to internal_nis_gethostent_r.
624 (_nss_nis_gethostbyaddr_r): Do not request IPv4 address mapping
626 (_nss_nis_gethostbyname4_r):Adjust call to parse_line.
627 * nis/nss_nisplus/nisplus-hosts.c (_nss_nisplus_parse_hostent):
628 Remove flags argument. Do not map IPv4 addresses.
629 (internal_nisplus_gethostent_r): Adjust call to
630 _nss_nisplus_parse_hostent.
631 (internal_gethostbyname2_r): Remove flags argument. Adjust call
632 to _nss_nisplus_parse_hostent.
633 (_nss_nisplus_gethostbyname2_r): Adjust call to
634 internal_gethostbyname2_r.
635 (_nss_nisplus_gethostbyname_r): Do not perform IPv6 lookup.
636 Adjust call to internal_gethostbyname2_r.
637 (_nss_nisplus_gethostbyaddr_r): Adjust call to
638 _nss_nisplus_parse_hostent.
639 (_nss_nisplus_gethostbyname4_r): Adjust call to
640 internal_gethostbyname2_r.
642 2019-05-16 Florian Weimer <fweimer@redhat.com>
644 * nss/nss_files/files-hosts.c (EXTRA_ARGS, EXTRA_ARGS_DECL):
646 (LINE_PARSER): Remove address mapping.
647 (EXTRA_ARGS_VALUE): Remove flags argument.
648 (gethostbyname3_multi): Likewise. Adjust call to internal_getent.
649 (_nss_files_gethostbyname3_r): Adjust calls to internal_getent and
650 gethostbyname3_multi.
651 (_nss_files_gethostbyname_r): Always use AF_INET. Adjust call to
652 _nss_files_gethostbyname3_r.
653 (_nss_files_gethostbyname4_r): Adjust call to internal_getent.
655 2019-05-16 Florian Weimer <fweimer@redhat.com>
657 * support/support_test_compare_blob.c (report_blob): Report
658 incorrect NULL blobs.
660 2019-05-15 Mark Wielaard <mark@klomp.org>
663 * dlfcn/dlerror.c (__dlerror_main_freeres): Guard using
664 __libc_once_get (once) and static_buf == NULL.
665 (__dlerror): Check we have a valid key, set result to static_buf
668 2019-05-15 Andreas Schwab <schwab@suse.de>
671 * libio/wfileops.c (_IO_wfile_sync): Correct last argument to
673 * libio/Makefile (tests): Add tst-wfile-sync.
674 ($(objpfx)tst-wfile-sync.out): Depend on $(gen-locales).
675 * libio/tst-wfile-sync.c: New file.
676 * libio/tst-wfile-sync.input: New file.
678 2019-05-15 Florian Weimer <fweimer@redhat.com>
680 nss: Turn __nss_database_lookup into a compatibility symbol.
681 * nss/nsswitch.h (__nss_database_lookup2): Renamed from
682 __nss_database_lookup.
683 * nss/nsswitch.c (__nss_database_lookup2): Likewise.
684 (nss_load_all_libraries): Call __nss_database_lookup2 instead of
685 __nss_database_lookup.
686 (__nss_next): Move to …
687 * nss/compat-lookup.c (nss_next): … here. Change it to fail
689 (__nss_database_lookup): New function.
690 * nss/Versions (GLIBC_2.0): Update comment.
691 (GLIBC_PRIVATE): Export __nss_database_lookup2.
692 * grp/initgroups.c (internal_getgrouplist): Call
693 __nss_database_lookup2 instead of __nss_database_lookup.
694 * nscd/aicache.c (addhstaiX): Likewise.
695 * nscd/initgrcache.c (addinitgroupsX): Likewise.
696 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
697 * nss/XXX-lookup.c (DB_LOOKUP_FCT): Likewise.
698 * nss/nss_compat/compat-grp.c (init_nss_interface): Likewise.
699 * nss/nss_compat/compat-initgroups.c (init_nss_interface):
701 * nss/nss_compat/compat-pwd.c (init_nss_interface): Likewise.
702 * nss/nss_compat/compat-spwd.c (init_nss_interface): Likewise.
703 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
705 2019-05-15 Alexandra Hajkova <ahajkova@redhat.com>
707 * support/support.h (support_install_rootsbindir): New variable.
708 * support/support_paths.c: Likewise.
709 * support/Makefile (CFLAGS-support_paths.c): Add -DROOTSBINDIR_PATH.
711 2019-05-15 Florian Weimer <fweimer@redhat.com>
713 * iconv/gconv.h (__gconv_transliterate): Move declaration …
714 * iconv/gconv_int.h (__gconv_transliterate): … here.
715 * iconv/loop.c: Include <iconv/gconv_int.h> instead of <gconv.h>.
716 * iconv/skeleton.c: Likewise.
718 2019-05-14 Florian Weimer <fweimer@redhat.com>
720 Linux: Add the tgkill function.
721 * bits/signal_ext.h: New file.
722 * manual/signal.texi (Signaling Another Process): Document tgkill.
723 * signal/Makefile (headers): Add bits/signal_ext.h.
724 * signal/signal.h: Include <bits/signal_ext.h>.
725 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-tgkill.
726 (tst-tgkill): Link with libpthread.
727 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.30): Export tgkill.
728 * sysdeps/unix/sysv/linux/bits/signal_ext.h: New file.
729 * sysdeps/unix/sysv/linux/bits/tst-tgkill.c: Likewise.
730 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30): Add
732 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
733 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
734 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
735 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
736 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
737 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
738 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
739 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
740 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
741 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
742 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
744 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
745 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
746 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist:
753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist:
755 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
756 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
757 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
758 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
759 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
760 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
761 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
762 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
764 2019-05-14 Carlos O'Donell <carlos@redhat.com>
766 * manual/search.texi (Tree Search Function): Adjust twalk_r
769 2019-05-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
772 * elf/tst-pldd.c (do_test): Use support_bindir_prefix instead of
775 * support/Makefile (CFLAGS-support_paths.c): Add -DBINDIR_PATH.
776 * support/support.h (support_bindir_prefix): New variable.
777 * support/support_paths.c [BINDIR_PATH] (support_bindir_prefix):
779 * config.make.in (bindir): New variable.
781 * sysdeps/nptl/lowlevellock.h (__lll_trylock): New macro.
782 (lll_trylock): Call __lll_trylock.
783 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Remove file.
784 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Likewise.
785 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
786 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
787 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Likewise.
788 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: Likewise.
789 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
790 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
791 * sysdeps/unix/sysv/linux/x86/lowlevellock.h: New file.
792 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Include
793 lowlevellock-futex.h.
795 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
796 initialization for LLL_LOCK_INITIALIZER different than 0.
797 * nptl/old_pthread_cond_broadcast.c (__pthread_cond_broadcast_2_0):
798 Assume LLL_LOCK_INITIALIZER being 0.
799 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0): Likewise.
800 * nptl/old_pthread_cond_timedwait.c (__pthread_cond_timedwait_2_0):
802 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0): Likewise.
803 * sysdeps/nptl/libc-lockP.h (__libc_lock_define_initialized): Likewise.
805 * nptl/lowlevellock.c (__lll_lock_wait, __lll_lock_wait_private):
806 Optimize futex call and add systemtap probe.
808 * nptl/pthreadP.h (CANCEL_ASYNC, CANCEL_RESET, LIBC_CANCEL_ASYNC,
809 LIBC_CANCEL_RESET, __libc_enable_asynccancel,
810 __libc_disable_asynccancel, __librt_enable_asynccancel,
811 __libc_disable_asynccancel, __librt_enable_asynccancel,
812 __librt_disable_asynccancel): Move to ...
813 * sysdeps/unix/sysv/linux/sysdep-cancel.h: ... here.
814 (SINGLE_THREAD_P, RTLD_SINGLE_THREAD_P): Move to ...
815 * sysdeps/unix/sysv/linux/single-thread.h: ... here.
816 * sysdeps/generic/single-thread.h: New file.
817 * sysdeps/unix/sysdep.h: Include single-thread.h.
818 * sysdeps/unix/sysv/linux/futex-internal.h: Include sysdep-cancel.h.
819 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
821 2019-05-08 Mike FABIAN <mfabian@redhat.com>
824 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.1.0.
825 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
827 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
828 * localedata/unicode-gen/PropList.txt: Likewise.
829 * localedata/unicode-gen/UnicodeData.txt: Likewise.
830 * localedata/charmaps/UTF-8: Regenerate.
831 * localedata/locales/i18n_ctype: Likewise.
832 * localedata/locales/tr_TR: Likewise.
833 * localedata/locales/translit_circle: Likewise.
834 * localedata/locales/translit_cjk_compat: Likewise.
835 * localedata/locales/translit_combining: Likewise.
836 * localedata/locales/translit_compat: Likewise.
837 * localedata/locales/translit_font: Likewise.
838 * localedata/locales/translit_fraction: Likewise.
840 2019-05-10 Wilco Dijkstra <wdijkstr@arm.com>
843 * malloc/malloc.c (MAX_TCACHE_COUNT): New define.
844 (do_set_tcache_count): Only update if count is small enough.
845 * manual/tunables.texi (glibc.malloc.tcache_count): Document max value.
847 2019-05-10 Florian Weimer <fweimer@redhat.com>
849 * nptl/sem_close.c (struct walk_closure): Define.
850 (walker): Adjust for __twalk_r.
851 (sem_close): Call __twalk_r.
853 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
855 * support/timespec.c (test_timespec_before_impl,
856 test_timespec_equal_or_after_impl): print timespec member as intmax_t
859 2019-05-09 Mike Crowe <mac@mcrowe.com>
861 * nptl/tst-abstime.c: Use libsupport.
863 * nptl/tst-rwlock6.c: Use libsupport. This also happens to fix a
864 small bug where only tv.tv_usec was checked which could cause an
865 erroneous pass if pthread_rwlock_timedrdlock incorrectly took more
868 * nptl/tst-rwlock7.c, nptl/tst-rwlock9.c, nptl/tst-rwlock14.c: Use
871 * nptl/tst-sem5.c (do_test): Use xclock_gettime, timespec_add and
872 TEST_TIMESPEC_NOW_OR_AFTER from libsupport.
874 * nptl/tst-cond11.c: Use libsupport.
876 * support/timespec.h: New file. Provide timespec helper functions
877 along with macros in the style of those in check.h.
878 * support/timespec.c: New file. Implement check functions declared
879 in support/timespec.h.
880 * support/timespec-add.c: New file from gnulib containing
881 timespec_add implementation that handles overflow.
882 * support/timespec-sub.c: New file from gnulib containing
883 timespec_sub implementation that handles overflow.
884 * support/README: Mention timespec.h.
886 2019-05-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
889 * nptl/Makefile: Move tst-eintr1 to xtests.
891 2019-05-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
893 * sysdeps/powerpc/fpu/trunc_to_integer.h (set_fenv_mode): Add
895 (round_mode): Add definition for TRUNC.
896 * sysdeps/powerpc/fpu/s_trunc.c: New file.
897 * sysdeps/powerpc/fpu/s_truncf.c: New file.
898 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Remove file.
899 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
900 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.S:
902 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.S:
904 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.S:
906 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.S:
908 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-power5+.c: New
910 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_trunc-ppc32.c:
912 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-power5+.c:
914 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_truncf-ppc32.c:
916 * sysdep/powerpc/powerpc32/power5+/fpu/s_trunc.S: Remove file.
917 * sysdep/powerpc/powerpc32/power5+/fpu/s_truncf.S: Likewise.
918 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
919 (libm-sysdep_routines): Add s_trunc-power5+, s_trunc-ppc64,
920 s_truncf-power5+, and s_truncf-ppc64.
921 (CFLAGS-s_trunc-power5+.c, CFLAGS-s_truncf-power5+.c): New rule.
922 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-power5+.c: New
924 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_trunc-ppc64.c: Likewise.
925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Move to ...
926 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_trunc.c: ... here.
927 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-power5+.c: New
929 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_truncf-ppc64.c:
931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Move to ...
932 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_truncf.c: ... here.
933 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
934 (libm-sysdep_routines): Remove s_trunc-power5+, s_trunc-ppc64,
935 s_truncf-power5+, and s_truncf-ppc64.
936 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Remove
938 * sysdep/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
939 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S:
941 * sysdep/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
942 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
943 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
944 * sysdep/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
945 * sysdep/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
947 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode): Add
949 (round_mode): Add definition for ROUND.
950 (round_to_integer_float): Likewise.
951 * sysdeps/powerpc/fpu/s_round.c: New file.
952 * sysdeps/powerpc/fpu/s_roundf.c: New file.
953 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Remove file.
954 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
955 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.S:
957 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.S:
959 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.S:
961 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.S:
963 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-power5+.c: New
965 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_round-ppc32.c:
967 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-power5+.c:
969 * sysdep/powerpc/powepc32/power4/fpu/multiarch/s_roundf-ppc32.c:
971 * sysdep/powerpc/powerpc32/power5+/fpu/s_round.S: Remove file.
972 * sysdep/powerpc/powerpc32/power5+/fpu/s_roundf.S: Likewise.
973 * sysdep/powerpc/powerpc64/be/fpu/multiarch/Makefile
974 (libm-sysdep_routines): Add s_round-power5+, s_round-ppc64,
975 s_roundf-power5+, and s_roundf-ppc64.
976 (CFLAGS-s_round-power5+.c, CFLAGS-s_roundf-power5+.c): New rule.
977 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-power5+.c: New
979 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_round-ppc64.c: Likewise.
980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Move to ...
981 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_round.c: ... here.
982 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-power5+.c: New
984 * sysdep/powerpc/powercp64/be/fpu/multiarch/s_roundf-ppc64.c:
986 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Move to ...
987 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_roundf.c: ... here.
988 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
989 (libm-sysdep_routines): Remove s_round-power5+, s_round-ppc64,
990 s_roundf-power5+, and s_roundf-ppc64.
991 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Remove
993 * sysdep/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
994 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S:
996 * sysdep/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
997 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
998 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
999 * sysdep/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
1000 * sysdep/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
1002 * sysdeps/powerpc/fpu/round_to_integer.h (set_fenv_mode):
1004 (round_mode): Add definition for FLOOR.
1005 * sysdeps/powerpc/fpu/s_floor.c: New file.
1006 * sysdeps/powerpc/fpu/s_floorf.c: Likewise.
1007 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Remove file.
1008 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
1011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S:
1013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
1015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
1017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.c:
1019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.c:
1021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.c:
1023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.c:
1025 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Remove file.
1026 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Remove file.
1027 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile
1028 (libm-sysdep_routines): Add s_floor-power5+, s_floor-ppc64,
1029 s_floorf-power5+, and s_floorf-ppc64.
1030 (CFLAGS-s_floor-power5+.c, CFLAGS-s_floorf-power5+.c): New rule.
1031 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-power5+.c: New
1033 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floor-ppc64.c: Likewise.
1034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Move to ...
1035 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floor.c: ... here.
1036 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-power5+.c: New
1038 * sysdep/powerpc/powerpc64/be/fpu/multiarch/s_floorf-ppc64.c:
1040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Move to ...
1041 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_floorf.c: ... here.
1042 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1043 (libm-sysdep_routines): Remove s_floor-power5+, s_floor-ppc64,
1044 s_floorf-power5+, and s_floorf-ppc64.
1045 * sysdep/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Remove
1047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Remove
1049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S:
1051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S:
1053 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1054 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1055 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
1056 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
1058 2019-05-08 Mike Crowe <mac@mcrowe.com>
1060 * support/xclock_gettime.c (xclock_gettime): New file. Provide
1061 clock_gettime wrapper for use in tests that fails the test rather
1062 than returning failure.
1064 * support/xtime.h: New file to declare xclock_gettime.
1066 * support/Makefile: Add xclock_gettime.c.
1068 * support/README: Mention xtime.h.
1070 2019-05-08 Florian Weimer <fweimer@redhat.com>
1072 malloc/tst-mallocfork2: Use process-shared barriers.
1073 * malloc/tst-mallocfork2.c: Switch to <support/test-driver.c>.
1074 (signal_count, sigusr1_sender_pid): Remove.
1075 (iterations): Define constant.
1076 (shared): New variable.
1077 (sigusr1_received): Update comment.
1078 (sigusr1_handler): Do not send SIGSTOP to the sender process.
1079 (signal_sender): Optional use barriers to avoid sending signals
1080 during irrelevant times.
1081 (do_it): Initialize variable shared. Use xfork for error
1082 checking. Launch multiple SIGUSR1-sending subprocesses. Limit
1083 the iteration count, independent of signal delivery. Check for
1084 deadlocks in fork. Introduce barriers for reducing signal
1085 traffic. Do not send SIGCONT to the SIGUSR1-sending processes;
1086 replaced by the barriers. Count signals during fork/free/malloc
1088 * malloc/Makefile (tst-mallocfork): Link with libpthread.
1090 2019-05-07 Joseph Myers <joseph@codesourcery.com>
1092 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
1094 (clock_adjtime64) New syscall.
1095 (clock_getres_time64) Likewise.
1096 (clock_gettime64) Likewise.
1097 (clock_nanosleep_time64) Likewise.
1098 (clock_settime64) Likewise.
1099 (futex_time64) Likewise.
1100 (io_pgetevents_time64) Likewise.
1101 (io_uring_enter) Likewise.
1102 (io_uring_register) Likewise.
1103 (io_uring_setup) Likewise.
1104 (mq_timedreceive_time64) Likewise.
1105 (mq_timedsend_time64) Likewise.
1106 (pidfd_send_signal) Likewise.
1107 (ppoll_time64) Likewise.
1108 (pselect6_time64) Likewise.
1109 (recvmmsg_time64) Likewise.
1110 (rt_sigtimedwait_time64) Likewise.
1111 (sched_rr_get_interval_time64) Likewise.
1112 (semtimedop_time64) Likewise.
1113 (timer_gettime64) Likewise.
1114 (timer_settime64) Likewise.
1115 (timerfd_gettime64) Likewise.
1116 (timerfd_settime64) Likewise.
1117 (utimensat_time64) Likewise.
1119 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
1120 version to 9 branch.
1122 2019-05-03 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1124 * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Added
1125 __memmove_thunderx2 to the list of implementations
1126 * sysdeps/aarch64/multiarch/memmove.c: Likewise
1127 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S:
1128 (__memmove_thunderx2): Rewritten using SIMD ld/st
1129 (__memcpy_thunderx2): Fixed handling overlapping cases.
1130 Used ldp/stp instead of ldr/str if possible. Made loops
1133 2019-05-03 Florian Weimer <fweimer@redhat.com>
1135 * misc/tst-tsearch.c (walk_tree): Add more error checking.
1137 2019-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1140 * elf/tst-pldd.c (in_str_list): New function.
1141 (do_test): Add default names for ld and libc as one option.
1143 2019-05-02 Florian Weimer <fweimer@redhat.com>
1145 misc: Add twalk_r function.
1146 * include/search.h (__twalk_r): Declare.
1147 * manual/examples/twalk.c: New file.
1148 * manual/search.texi (Tree Search Function): Document twalk_r.
1149 * misc/Versions (2.30): Export twalk_r.
1150 (GLIBC_PRIVATE): Export __twalk_r.
1151 * misc/search.h [__USE_GNU] (twalk_r): Declare.
1152 * misc/tsearch.c (trecurse_r, __twalk_r): New functions.
1153 (twalk_r): Add weak alias.
1154 * misc/tst-tsearch.c (struct walk_trace_element): Define.
1155 (walk_trace): New variable.
1156 (struct twalk_with_twalk_r_closure): Define.
1157 (twalk_with_twalk_r_action): New function.
1158 (twalk_with_twalk_r): Likewise.
1159 (walk_action): Call walk_trace_add.
1160 (walk_tree_with): Rename from walk_tree. Add walk argument.
1161 (walk_tree): New function.
1162 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.30): Add twalk_r.
1163 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
1165 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
1167 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
1168 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30): Likewise.
1169 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30): Likewise.
1170 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30): Likewise.
1171 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30): Likewise.
1172 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
1174 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
1176 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
1178 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1179 (GLIBC_2.30): Likewise.
1180 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1181 (GLIBC_2.30): Likewise.
1182 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1183 (GLIBC_2.30): Likewise.
1184 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1185 (GLIBC_2.30): Likewise.
1186 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
1188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1189 (GLIBC_2.30): Likewise.
1190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1191 (GLIBC_2.30): Likewise.
1192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
1193 (GLIBC_2.30): Likewise.
1194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
1195 (GLIBC_2.30): Likewise.
1196 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
1198 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
1200 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
1202 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
1203 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
1205 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
1207 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
1209 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
1212 2019-04-30 Paul Eggert <eggert@cs.ucla.edu>
1214 Make mktime etc. compatible with __time64_t
1215 Keep these functions compatible with Gnulib while adding
1216 __time64_t support. The basic idea is to move private API
1217 declarations from include/time.h to time/mktime-internal.h, since
1218 the former file cannot easily be shared with Gnulib whereas the
1220 Also, do some other minor cleanup while in the neighborhood.
1221 * include/time.h: Include stdbool.h, time/mktime-internal.h.
1222 (__mktime_internal): Move this prototype to time/mktime-internal.h,
1223 since Gnulib needs it.
1224 (__localtime64_r, __gmtime64_r) [__TIMESIZE == 64]:
1225 Move these macros to time/mktime-internal.h, since Gnulib needs them.
1226 (__mktime64, __timegm64) [__TIMESIZE != 64]: New prototypes.
1227 (in_time_t_range): New static function.
1228 * posix/bits/types.h (__time64_t): Move to time/mktime-internal.h,
1229 so that glibc users are not tempted to use __time64_t.
1230 * time/mktime-internal.h: Rewrite so that it does both glibc
1231 and Gnulib work. Include time.h if not _LIBC.
1232 (mktime_offset_t) [!_LIBC]: Define for gnulib.
1233 (__time64_t): New type or macro, moved here from
1235 (__gmtime64_r, __localtime64_r, __mktime64, __timegm64)
1236 [!_LIBC || __TIMESIZE == 64): New macros, mostly moved here
1237 from include/time.h.
1238 (__gmtime_r, __localtime_r, __mktime_internal) [!_LIBC]:
1239 New macros, taken from GNulib.
1240 (__mktime_internal): New prototype, moved here from include/time.h.
1241 * time/mktime.c (mktime_min, mktime_max, convert_time)
1242 (ranged_convert, __mktime_internal, __mktime64):
1243 * time/timegm.c (__timegm64):
1244 Use __time64_t, not time_t.
1245 * time/mktime.c: Stop worrying about whether time_t is floating-point.
1246 (__mktime64) [! (_LIBC && __TIMESIZE != 64)]:
1248 (mktime) [_LIBC && __TIMESIZE != 64]: New function.
1249 * time/timegm.c [!_LIBC]: Include libc-config.h, not config.h,
1250 for libc_hidden_def.
1252 (__timegm64) [! (_LIBC && __TIMESIZE != 64)]:
1254 (timegm) [_LIBC && __TIMESIZE != 64]: New function.
1256 2019-04-30 Maciej W. Rozycki <macro@wdc.com>
1259 * sysdeps/ieee754/soft-fp/s_ddivl.c (__ddivl): Ignore errors
1260 from `-Wmaybe-uninitialized'.
1261 * sysdeps/ieee754/soft-fp/s_fdivl.c (__fdivl): Likewise.
1263 2019-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1265 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround_inline_nocheck): New
1267 * sysdeps/powerpc/fpu/round_to_integer.h: New file.
1268 * sysdeps/powerpc/fpu/s_ceil.c: Likewise.
1269 * sysdeps/powerpc/fpu/s_ceilf.c: Likewise.
1270 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Remove file.
1271 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
1272 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
1273 (CFLAGS-s_ceil-power5+.c, CFLAGS-s_ceilf-power5+.c): New rule.
1274 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
1276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S:
1278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
1280 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S:
1282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.c:
1284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.c:
1286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.c:
1288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.c:
1290 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Remove file.
1291 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Likewise.
1292 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Makefile: New file.
1293 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-power5+.c:
1295 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil-ppc64.c:
1297 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Move to ...
1298 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceil.c: ... here.
1299 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-power5+.c: New
1301 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf-ppc64.c:
1303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Move to ...
1304 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/s_ceilf.c: ...
1306 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1307 (libm-sysdep_routines): Remove s_ceil-power5+, s_ceil-ppc64,
1308 s_ceilf-power5+, and s_ceilf-ppc64.
1309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Remove
1311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
1312 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
1313 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
1314 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
1315 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
1316 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
1317 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
1319 * sysdeps/powerpc/power4/fpu/Makefile: Remove file.
1320 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Likewise.
1321 * sysdeps/powerpc/power4/fpu/mpa.c: Likewise.
1323 2019-04-29 Yann Droneaud <ydroneaud@opteya.com>
1325 * sysdeps/pthread/semaphore.h (sem_init): Add __nonnull attribute.
1326 (sem_destroy, sem_open, sem_close, sem_unlink): Likewise.
1327 (sem_wait, sem_timedwait, sem_trywait, sem_post): Likewise.
1328 (sem_getvalue): Likewise.
1330 2019-04-26 Florian Weimer <fweimer@redhat.com>
1332 elf: Link sotruss-lib.so with BIND_NOW for --enable-bind-now.
1333 * elf/Makefile (LDFLAGS-sotruss-lib.so): Set.
1335 2019-04-26 Florian Weimer <fweimer@redhat.com>
1337 Makeconfig: Move -Wl,-rpath-link options before library references.
1338 * Makeconfig (+link-pie, +link): Add $(link-libc-rpath-link).
1339 (link-libc): Remove $(link-libc-rpath-link).
1341 2019-04-25 Florian Weimer <fweimer@redhat.com>
1343 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1344 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1345 (+link-static-before-libc): Remove $(CC).
1346 (+link-static, +link-static-tests): Add $(CC).
1347 (+link-before-libc): Remove $(CC).
1348 (+link, +link-pie, +link-pie-printers): Add $(CC).
1350 2019-04-26 Florian Weimer <fweimer@redhat.com>
1352 * Makeconfig (+link-pie-before-libc): Remove $(CC).
1353 (+link-pie, +link-pie-tests, +link-pie-printers-tests): Add $(CC).
1354 (+link-static-before-libc): Remove $(CC).
1355 (+link-static, +link-static-tests): Add $(CC).
1356 (+link-before-libc): Remove $(CC).
1357 (+link, +link-pie, +link-pie-printers): Add $(CC).
1359 2019-04-25 David Abdurachmanov <david.abdurachmanov@gmail.com>
1362 * sysdeps/riscv/ldsodefs.h (DL_RO_DYN_SECTION): Remove.
1364 2019-04-25 Florian Weimer <fweimer@redhat.com>
1366 benchtests: Enable BIND_NOW if configured with --enable-bind-now.
1367 * benchtests/Makefile [$(bind-now)] (link-bench-bind-now): Set.
1368 (bench-link-targets): New variable.
1369 ($(binaries-bench) …): Use it. Set LDFLAGS accordingly.
1371 2019-04-25 Florian Weimer <fweimer@redhat.com>
1373 Also enable BIND_NOW for programs if --enable-bind-now.
1374 * Makeconfig [$(bind-now)] (link-extra-flags): Add -Wl,-z,now.
1375 (+link-pie): Use $(link-extra-flags).
1376 (+link-static): Likewise.
1377 [! $(build-pie-default)] (+link): Likewise.
1378 * manual/install.texi (Configuring and compiling): Update
1379 --enable-bind-now description.
1380 * INSTALL: Regenerated.
1382 2019-04-24 Wilco Dijkstra <wdijkstr@arm.com>
1384 * benchtests/Makefile (BENCH_DURATION): Set to 1 second.
1385 * benchtests/bench-malloc-thread.c (BENCH_DURATION): Set to 10 seconds.
1387 2019-04-24 Mike Frysinger <vapier@gentoo.org>
1390 * malloc/Makefile (others): Add memusagestat.
1391 ($(objpfx)memusagestat): Delete rule.
1392 (LDLIBS-memusagestat): New variable.
1394 2019-04-24 Florian Weimer <fweimer@redhat.com>
1396 * locale/Makefile (tests-special): Guard setting by
1397 $(run-built-tests) == yes, otherwise tst-locale-locpath attempts
1398 to run while cross-compiling.
1400 2019-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1403 * elf/Makefile (tests-container): Add tst-pldd.
1404 * elf/pldd-xx.c: Use _Static_assert in of pldd_assert.
1405 (E(find_maps)): Avoid use alloca, use default read file operations
1406 instead of explicit LFS names, and fix infinite loop.
1407 * elf/pldd.c: Explicit set _FILE_OFFSET_BITS, cleanup headers.
1408 (get_process_info): Use _Static_assert instead of assert, use default
1409 directory operations instead of explicit LFS names, and free some
1411 * elf/tst-pldd.c: New file.
1413 2019-04-23 H.J. Lu <hongjiu.lu@intel.com>
1415 * malloc/arena.c (do_set_mallopt_check): Removed.
1417 2019-04-23 Florian Weimer <fweimer@redhat.com>
1419 locale: Add LOCPATH diagnostics to the locale program.
1420 * locale/programs/locale.c (setlocale_failed): New variable.
1421 (try_setlocale): New function.
1422 (quote_string): Likewise.
1423 (setlocale_diagnostics): Likewise.
1424 (main): Call try_setlocale instead of setlocale. Call
1425 setlocale_diagnostics.
1426 * locale/Makefile (tests-special): Add tst-locale-locpath.out.
1427 (tst-locale-locpath.out): New target.
1428 * locale/tst-locale-locpath.sh: New file.
1430 2019-04-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1432 * NEWS: Move memory allocation changes of BZ#23741 from 2.29
1435 2019-04-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1438 * malloc/hooks.c (malloc_check, realloc_check): Use
1439 __builtin_add_overflow on overflow check and adapt to
1440 checked_request2size change.
1441 * malloc/malloc.c (__libc_malloc, __libc_realloc, _mid_memalign,
1442 __libc_pvalloc, __libc_calloc, _int_memalign): Limit maximum
1443 allocation size to PTRDIFF_MAX.
1444 (REQUEST_OUT_OF_RANGE): Remove macro.
1445 (checked_request2size): Change to inline function and limit maximum
1446 requested size to PTRDIFF_MAX.
1447 (__libc_malloc, __libc_realloc, _int_malloc, _int_memalign): Limit
1448 maximum allocation size to PTRDIFF_MAX.
1449 (_mid_memalign): Use _int_memalign call for overflow check.
1450 (__libc_pvalloc): Use __builtin_add_overflow on overflow check.
1451 (__libc_calloc): Use __builtin_mul_overflow for overflow check and
1452 limit maximum requested size to PTRDIFF_MAX.
1453 * malloc/malloc.h (malloc, calloc, realloc, reallocarray, memalign,
1454 valloc, pvalloc): Add __attribute_alloc_size__.
1455 * stdlib/stdlib.h (malloc, realloc, reallocarray, valloc): Likewise.
1456 * malloc/tst-malloc-too-large.c (do_test): Add check for allocation
1457 larger than PTRDIFF_MAX.
1458 * malloc/tst-memalign.c (do_test): Disable -Walloc-size-larger-than=
1459 around tests of malloc with negative sizes.
1460 * malloc/tst-posix_memalign.c (do_test): Likewise.
1461 * malloc/tst-pvalloc.c (do_test): Likewise.
1462 * malloc/tst-valloc.c (do_test): Likewise.
1463 * malloc/tst-reallocarray.c (do_test): Replace call to reallocarray
1464 with resulting size allocation larger than PTRDIFF_MAX with
1465 reallocarray_nowarn.
1466 (reallocarray_nowarn): New function.
1467 * NEWS: Mention the malloc function semantic change.
1469 2019-04-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1471 * sysdeps/powerpc/fpu/s_fma.c: Fix format.
1472 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1474 * sysdeps/powerpc/fpu/s_fma.S: Remove file.
1475 * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
1476 * sysdeps/powerpc/fpu/s_fma.c: New file.
1477 * sysdeps/powerpc/fpu/s_fmaf.c: Likewise.
1479 * sysdeps/powerpc/fpu/s_fabs.S: Remove file.
1480 * sysdeps/powerpc/fpu/s_fabsf.S: Likewise.
1482 * sysdeps/unix/sysv/linux/mips/getcontext.S (__getcontext): Remove
1483 the magic flag store.
1484 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
1486 * sysdeps/unix/sysv/linux/mips/swapcontext.S (__swapcontext):
1488 * sysdeps/unix/sysv/linux/mips/setcontext.S (__setcontext):
1489 Remove rt_sigreturn call.
1491 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
1492 Remove rt_sigreturn call.
1493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
1495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewie.
1496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
1498 * support/Makefile (libsupport-routines): Add support_subprocess,
1499 xposix_spawn, xposix_spawn_file_actions_addclose, and
1500 xposix_spawn_file_actions_adddup2.
1501 (tst-support_capture_subprocess-ARGS): New rule.
1502 * support/capture_subprocess.h (support_capture_subprogram): New
1504 * support/support_capture_subprocess.c (support_capture_subprocess):
1505 Refactor to use support_subprocess and support_capture_poll.
1506 (support_capture_subprogram): New function.
1507 * support/tst-support_capture_subprocess.c (write_mode_to_str,
1508 str_to_write_mode, test_common, parse_int, handle_restart,
1509 do_subprocess, do_subprogram, do_multiple_tests): New functions.
1510 (do_test): Add support_capture_subprogram tests.
1511 * support/subprocess.h: New file.
1512 * support/support_subprocess.c: Likewise.
1513 * support/xposix_spawn.c: Likewise.
1514 * support/xposix_spawn_file_actions_addclose.c: Likewise.
1515 * support/xposix_spawn_file_actions_adddup2.c: Likewise.
1516 * support/xspawn.h: Likewise.
1518 2019-04-17 Mike Gerow <gerow@google.com>
1520 * stdlib/tst-secure-getenv.c (choose_gid): Remove 64 supplemental
1523 2019-04-11 Florian Weimer <fweimer@redhat.com>
1525 * resolv/nss_dns/dns-network.c (getanswer_r): Do not replace root
1526 domain with empty string.
1527 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1529 2019-04-11 Florian Weimer <fweimer@redhat.com>
1531 * include/alloc_buffer.h (alloc_buffer_alloc_bytes): Update
1533 (alloc_buffer_next): Change return type to non-const. Update
1536 2019-04-10 TAMUKI Shoichi <tamuki@linet.gr.jp>
1538 * manual/time.texi (Formatting Calendar Time): Add missing percent
1539 sign to conversion specifier.
1541 2019-04-09 Carlos O'Donell <carlos@redhat.com>
1542 Kwok Cheung Yeung <kcy@codesourcery.com>
1545 * malloc/mtrace.c: Define prototypes for all hooks.
1546 (set_default_hooks): New function.
1547 (set_trace_hooks): Likewise.
1548 (save_default_hooks): Likewise.
1549 (tr_freehook): Use new s*_hooks functions.
1550 (tr_mallochook): Likewise.
1551 (tr_reallochook): Likewise.
1552 (tr_memalignhook): Likewise.
1554 (muntrace): Likewise.
1556 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1558 * benchtests/bench-stpcpy.c (SIMPLE_STPCPY): Remove function.
1559 (generic_stpcpy): New function.
1560 * benchtests/bench-stpncpy.c (SIMPLE_STPNCPY): Remove function.
1561 (generic_stpncpy): New function.
1562 * benchtests/bench-strcat.c (SIMPLE_STRCAT): Remove function.
1563 (generic_strcat): New function.
1564 * benchtests/bench-strcpy.c (SIMPLE_STRCPY): Remove function.
1565 (generic_strcpy): New function.
1566 * benchtests/bench-strncat.c (SIMPLE_STRNCAT): Remove function.
1567 (STUPID_STRNCAT): Remove function.
1568 (generic_strncat): New function.
1569 * benchtests/bench-strncpy.c (SIMPLE_STRNCPY): Remove function.
1570 (STUPID_STRNCPY): Remove function.
1571 (generic_strncpy): New function.
1572 * benchtests/bench-strnlen.c (SIMPLE_STRNLEN): Remove function.
1573 (generic_strnlen): New function.
1574 (memchr_strnlen): New function.
1575 * benchtests/bench-strlen.c (generic_strlen): Define for WIDE.
1576 (memchr_strlen): Likewise.
1578 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1580 * benchtests/bench-strstr.c (input): Add realistic input text.
1581 (stupid_strstr): Remove function.
1582 (basic_strstr): Add function.
1583 (twoway_strstr): Add function.
1584 (do_one_test): Add result checking.
1585 (do_test): Use new input text. Remove accidental early matches.
1586 (test_main): Improve range of tests, reduce unaligned cases.
1588 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1590 * benchtests/bench-memmem.c (simple_memmem): Remove function.
1591 (basic_memmem): Add function.
1592 (twoway_memmem): Add function.
1594 2019-04-09 Wilco Dijkstra <wdijkstr@arm.com>
1596 * benchtests/bench-malloc-simple.c: Remove TIMING_INIT.
1597 * benchtests/bench-malloc-thread.c: Likewise.
1598 * benchtests/bench-skeleton.c: Likewise.
1599 * benchtests/bench-strtod.c: Likewise.
1600 * benchtests/bench-timing.h: Likewise.
1602 2019-04-08 Florian Weimer <fweimer@redhat.com>
1604 * resolv/resolv.h (RES_INSECURE1, RES_INSECURE2): Remove
1606 * resolv/res_send.c (send_dg): Always perform RES_INSECURE1 and
1607 RES_INSECURE2 security checks.
1608 * resolv/res_debug.c (p_option): Remove RES_INSECURE1 and
1609 RES_INSECURE2 handling.
1611 2019-04-08 Florian Weimer <fweimer@redhat.com>
1613 resolv: Remove support for RES_USE_INET6 and the inet6 option.
1614 * nscd/aicache.c (addhstaiX): Do not disable RES_USE_INET6.
1615 * nscd/nscd_gehst_r.c (__nscd_gethostbyname_r): Always use
1617 * resolv/Makefile (tests): Remove tst-res_use_inet6.
1618 (tests-internal): Update justification for tst-resolv-res_init,
1619 tst-resolv-res_init-thread.
1620 (tst-res_use_inet6): Remove target.
1621 (CFLAGS-tst-res_use_inet6.c): Do not set variable.
1622 * resolv/res_debug.c (p_option): Remove "inet6" support.
1623 * resolv/res_init.c (res_setoptions): Likewise.
1624 * resolv/res_use_inet6.h: Remove file.
1625 * resolv/resolv-internal.h (DEPRECATED_RES_USE_INET6): Remove
1627 (res_use_inet6): Always return false.
1628 * resolv/resolv.h (RES_USE_INET6): Remove definition.
1629 * resolv/resolv_context.h: Adjust file comment.
1630 (struct resolv_context): Update comment on __next field.
1631 (__resolv_context_put): Update comment.
1632 * resolv/tst-res_use_inet6.c: Remove file.
1633 * resolv/tst-resolv-res_init-skeleton.c (print_resp): Remove
1635 (test_cases): Adjust test case.
1636 * resolv/tst-resolv-threads.c (byname_inet6) Remove function.
1637 (thread_byname2_af_inet6): Use old byname_inet6 code.
1638 (thread_byname_inet6, thread_byname2_af_inet6): Remove functions.
1639 (gai): Remove do_inet6 argument.
1640 (thread_gai_inet, thread_gai_inet6, thread_gai_unspec): Adjust.
1641 (thread_gai_inet_inet6, thread_gai_inet6_inet6)
1642 (thread_gai_unspec_inet6): Remove functions.
1643 (do_test): Adjust thread_funcs.
1644 * sysdeps/posix/getaddrinfo.c (gethosts): Do not restore
1646 (gaih_inet): Do not disable RES_USE_INET6 flag.
1648 2019-04-05 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
1650 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: Cleanup branching
1651 and remove redundant code.
1653 2019-04-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1655 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcsrchr.c):
1657 * sysdeps/powerpc/power6/wcsrchr.c: Remove file.
1658 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c:
1660 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c:
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c:
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1665 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: Likewise.
1666 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: Likewise.
1667 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: Likewise.
1668 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1669 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Likewise.
1670 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1671 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcsrchr-power6 and
1673 (CFLAGS-wcsrchr-power7.c, CFLAGS-wcsrchr-power6.c): Remove rule.
1674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1676 Remove wcsrchr optimizations.
1677 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1679 * wcsmbs/wcsrchr.c (WCSRCHR): Use loop_unroll.h to parametrize
1682 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcschr.c):
1684 * sysdeps/powerpc/power6/wcschr.c: Remove file.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c:
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c:
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c:
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1692 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: Likewise.
1693 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: Likewise.
1694 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: Likewise.
1695 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1696 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Likewise.
1697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1698 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcschr-power6 and
1700 (CFLAGS-wcschr-power7.c, CFLAGS-wcschr-power6.c): Remove rule.
1701 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1703 Remove wcschr optimizations.
1704 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1706 * wcsmbs/wcschr.c (WCSCHR): Use loop_unroll.h to parametrize
1709 * sysdeps/powerpc/Makefile [$(subdir) == wcsmbs] (CFLAGS-wcscpy.c):
1711 * sysdeps/powerpc/power6/wcscpy.c: Remove file.
1712 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c:
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c:
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c:
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: Likewise.
1720 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: Likewise.
1721 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: Likewise.
1722 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1723 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Likewise.
1724 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
1725 [$(subdir) == wcsmbs] (sysdeps_routines): Remove wcscpy-power6 and
1727 (CFLAGS-wcscpy-power7.c, CFLAGS-wcscpy-power6.c): Remove rule.
1728 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Likewise.
1729 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
1730 Remove wcscpy optimizations.
1731 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
1733 * include/loop_unroll.h: New file.
1734 * wcsmbs/wcscpy (__wcscpy): Add option to use loop unrolling
1735 besides generic implementation.
1737 2019-04-03 DJ Delorie <dj@redhat.com>
1739 * time/tst-strftime3.c (tm_to_printed): Disable warning about
1740 snprintf truncating output.
1742 2019-04-02 DJ Delorie <dj@redhat.com>
1744 * time/tst-strftime3.c: Add new Japanese era tests. Fix printf
1747 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1750 * localedata/locales/ja_JP (LC_TIME): Add entry for the new Japanese
1752 * time/tst-strftime2.c (dates): Add 2019-04-30 and 2019-05-01.
1753 (mkreftable): Add rules for the new Japanese era and the new dates.
1755 2019-04-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
1756 Rafal Luzynski <digitalfreak@lingonborough.com>
1758 * time/tst-strftime2.c (date_t): Explicitly define the type.
1759 (dates): Use natural month and year numbers to express a date.
1760 (is_before): New function to compare dates.
1761 (mkreftable): Minor improvements to simplify maintenance.
1762 (do_test): Reflect the changes in dates array.
1765 * time/Makefile (LOCALES): Add zh_TW.UTF-8, cmn_TW.UTF-8,
1766 hak_TW.UTF-8, nan_TW.UTF-8, and lzh_TW.UTF-8.
1767 * time/tst-strftime2.c (locales): Likewise.
1768 (dates): Add 1910-04-01, 1911-12-31, 1912-01-01, 1913-04-01,
1769 2010-04-01, and 2011-04-01.
1770 (mkreftable): Add rules for the new locales and the new dates.
1772 2019-04-01 Carlos O'Donell <carlos@redhat.com>
1774 * localedata/locales/ja_JP: Add comments to era entries.
1776 2019-04-01 DJ Delorie <dj@redhat.com>
1779 * time/strptime_l.c (%Ey): Fix fencepost error.
1780 * time/tst-strftime3.c: New.
1781 * time/Makefile (tests): Add tst-strftime3.
1783 2019-04-01 Uros Bizjak <ubizjak@gmail.com>
1785 * sysdeps/alpha/divqu.S (__divqu): Move save of $f0 and excb after
1786 conditional branch to DIVBYZERO. Fix unwind info.
1787 * sysdeps/alpha/remqu.S (__remqu): Move saves of $f0, $f1, $f2 and
1788 excb after conditional branch to $powerof2. Add missing unop
1789 instructions and .align directives and reorder instructions to
1792 2019-04-01 Richard Henderson <rth@twiddle.net>
1794 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1796 * sysdeps/unix/sysv/linux/alpha/sysdep.h (__NR_osf_shmat):
1799 2019-03-30 Maciej W. Rozycki <macro@wdc.com>
1801 * sysdeps/unix/sysv/linux/riscv/configure.ac: Quote
1802 $libc_cv_riscv_float_abi in `test' invocation.
1803 * sysdeps/unix/sysv/linux/riscv/configure: Regenerate.
1805 2019-03-29 Paul A. Clarke <pc@us.ibm.com>
1807 * sysdeps/powerpc/fpu/fenv_libc.h (fegetenv_register): Replace inline
1809 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (FP_INIT_ROUNDMODE):
1811 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
1812 (_GET_SI_FPSCR): Likewise.
1813 (_SET_SI_FPSCR): Likewise.
1815 2019-03-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1817 * math/math.h (fpclassify, isfinite, isnormal, isnan): Use builtin for
1819 (signbit): Use builtin for clang 3.3.
1820 (isinf): Use builtin for clang 3.7.
1822 2019-03-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1824 * sysdeps/powerpc/fpu/s_float_bitwise.h: Remove file.
1826 2019-03-25 Andreas K. Hüttel <dilfridge@gentoo.org>
1828 * nss/tst-nss-files-alias-leak.c (do_test): add missing opening
1831 2019-03-25 Mike Crowe <mac@mcrowe.com>
1833 * nptl/tst-rwlock14.c (do_test): Replace duplicate calls to
1834 pthread_rwlock_timedrdlock with calls to
1835 pthread_rwlock_timedwrlock to ensure that the latter is tested
1836 too. Use new function name in diagnostic messages too.
1838 * nptl/tst-sem5.c: Remove unused headers. Add <support/check.h>.
1839 (do_test) Use libsupport test macros rather than hand-coded
1840 conditionals and error messages. Ensure that sem_init returns zero
1841 rather than not -1. Use <support/test-driver.c> rather than
1844 * nptl/tst-sem13.c: Add <support/check.h>. (do_test) Use libsupport
1845 test macros rather than hand-coded conditionals and error messages.
1846 Use <support/test-driver.c> rather than test-skeleton.c.
1848 2019-03-25 Joseph Myers <joseph@codesourcery.com>
1850 * sysdeps/gnu/netinet/udp.h (UDP_GRO): New macro.
1852 * elf/elf.h (NT_ARM_PAC_MASK): New macro.
1853 (NT_MIPS_MSA): Likewise.
1855 2019-03-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1857 * benchtests/Makefile (USE_CLOCK_GETTIME) Remove.
1858 * benchtests/README: Update description.
1859 * benchtests/bench-timing.h: Default to hp-timing.
1860 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT,
1861 HP_TIMING_PRINT): Remove.
1862 (HP_TIMING_NOW): Add generic implementation.
1863 (hp_timing_t): Change to uint64_t.
1865 * benchtests/bench-timing.h: Replace HP_TIMING_AVAIL with
1867 * nptl/descr.h: Likewise.
1868 * elf/rtld.c (RLTD_TIMING_DECLARE, RTLD_TIMING_NOW, RTLD_TIMING_DIFF,
1869 RTLD_TIMING_ACCUM_NT, RTLD_TIMING_SET): Define.
1870 (dl_start_final_info, _dl_start_final, dl_main, print_statistics):
1871 Abstract hp-timing usage with RTLD_* macros.
1872 * sysdeps/alpha/hp-timing.h (HP_TIMING_INLINE): Define iff IS_IN(rtld).
1873 (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL): Remove.
1874 * sysdeps/generic/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL,
1875 HP_TIMING_NONAVAIL): Likewise.
1876 * sysdeps/ia64/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1878 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_AVAIL,
1879 HP_SMALL_TIMING_AVAIL): Likewise.
1880 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_AVAIL,
1881 HP_SMALL_TIMING_AVAIL): Likewise.
1882 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_AVAIL,
1883 HP_SMALL_TIMING_AVAIL): Likewise.
1884 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_AVAIL,
1885 HP_SMALL_TIMING_AVAIL): Likewise.
1886 * sysdeps/x86/hp-timing.h (HP_TIMING_AVAIL, HP_SMALL_TIMING_AVAIL):
1888 * sysdeps/generic/hp-timing-common.h: Update comment with
1889 HP_TIMING_AVAIL removal.
1891 * include/random-bits.h: New file.
1892 * resolv/res_mkquery.c [HP_TIMING_AVAIL] (RANDOM_BITS,
1893 (__res_context_mkquery): Remove usage hp-timing usage and replace with
1895 * resolv/res_send.c [HP_TIMING_AVAIL] (nameserver_offset): Likewise.
1896 * sysdeps/posix/tempname.c [HP_TIMING_AVAIL] (__gen_tempname):
1899 * include/libc-internal.h (__get_clockfreq): Remove prototype.
1900 * rt/Makefile (clock-routines): Remove get_clockfreq.
1901 * rt/get_clockfreq.c: Remove file.
1902 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c: Likewise.
1903 * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c: Likewise.
1904 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Likewise.
1905 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Move code to ...
1906 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: ... here.
1908 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c: Remove file.
1909 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Likewise.
1910 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock): Remove function.
1911 (__sysconf): Assume kernel support for _SC_MONOTONIC_CLOCK,
1912 _SC_CPUTIME, and _SC_THREAD_CPUTIME.
1914 * nptl/Makefile (libpthread-routines): Remove pthread_clock_gettime and
1915 pthread_clock_settime.
1916 * nptl/pthreadP.h (__find_thread_by_id): Remove prototype.
1917 * elf/dl-support.c [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset): Remove.
1918 (_dl_non_dynamic_init): Remove _dl_cpuclock_offset setting.
1919 * elf/rtld.c (_dl_start_final): Likewise.
1920 * nptl/allocatestack.c (__find_thread_by_id): Remove function.
1921 * sysdeps/generic/ldsodefs.h [!HP_TIMING_NOAVAIL] (_dl_cpuclock_offset):
1923 * sysdeps/mach/hurd/dl-sysdep.c [!HP_TIMING_NOAVAIL]
1924 (_dl_cpuclock_offset): Remove.
1925 * nptl/descr.h (struct pthread): Rename cpuclock_offset to
1926 cpuclock_offset_ununsed.
1927 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Remove
1928 cpuclock_offset set.
1929 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
1930 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
1931 * nptl/pthread_clock_gettime.c: Remove file.
1932 * nptl/pthread_clock_settime.c: Likewise.
1933 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Remove function.
1934 [HP_TIMING_AVAIL] (realtime_gettime): Remove CLOCK_THREAD_CPUTIME_ID
1935 and CLOCK_PROCESS_CPUTIME_ID support.
1936 * sysdeps/unix/clock_settime.c (hp_timing_gettime): Likewise.
1937 [HP_TIMING_AVAIL] (realtime_gettime): Likewise.
1938 * sysdeps/posix/clock_getres.c (hp_timing_getres): Likewise.
1939 [HP_TIMING_AVAIL] (__clock_getres): Likewise.
1940 * sysdeps/unix/clock_nanosleep.c (CPUCLOCK_P, INVALID_CLOCK_P):
1942 (__clock_nanosleep): Remove CPUCLOCK_P and INVALID_CLOCK_P usage.
1944 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1946 * sysdeps/s390/Makefile (sysdep_routines): Add memmem-arch13.
1947 * sysdeps/s390/ifunc-memmem.h (HAVE_MEMMEM_ARCH13, MEMMEM_ARCH13,
1948 MEMMEM_Z13_ONLY_USED_AS_FALLBACK, HAVE_MEMMEM_IFUNC_AND_ARCH13_SUPPORT):
1950 * sysdeps/s390/memmem-arch13.S: New file.
1951 * sysdeps/s390/memmem-vx.c: Omit GI symbol for z13 memmem ifunc variant
1952 if it is only used as fallback.
1953 * sysdeps/s390/memmem.c (memmem): Add arch13 variant in ifunc selector.
1954 * sysdeps/s390/multiarch/ifunc-impl-list.c
1955 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmem.
1957 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1959 * sysdeps/s390/Makefile (sysdep_routines): Add strstr-arch13.
1960 * sysdeps/s390/ifunc-strstr.h (HAVE_STRSTR_ARCH13, STRSTR_ARCH13,
1961 STRSTR_Z13_ONLY_USED_AS_FALLBACK, HAVE_STRSTR_IFUNC_AND_ARCH13_SUPPORT):
1963 * sysdeps/s390/multiarch/ifunc-impl-list.c
1964 (__libc_ifunc_impl_list): Add ifunc variant for arch13 strstr.
1965 * sysdeps/s390/strstr-arch13.S: New file.
1966 * sysdeps/s390/strstr-vx.c: Omit GI symbol for z13 strstr ifunc variant
1967 if it is only used as fallback.
1968 * sysdeps/s390/strstr.c (strstr): Add arch13 variant in ifunc selector.
1970 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1972 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_ARCH13, MEMMOVE_ARCH13
1973 HAVE_MEMMOVE_IFUNC_AND_ARCH13_SUPPORT): New defines.
1974 * sysdeps/s390/memcpy-z900.S: Add arch13 memmove implementation.
1975 * sysdeps/s390/memmove.c (memmove): Add arch13 variant in
1977 * sysdeps/s390/multiarch/ifunc-impl-list.c
1978 (__libc_ifunc_impl_list): Add ifunc variant for arch13 memmove.
1979 * sysdeps/s390/multiarch/ifunc-resolve.h (S390_STFLE_BITS_ARCH13_MIE3,
1980 S390_IS_ARCH13_MIE3): New defines.
1982 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1984 * config.h.in (HAVE_S390_MIN_ARCH13_ZARCH_ASM_SUPPORT,
1985 HAVE_S390_ARCH13_ASM_SUPPORT): New undefine.
1986 * sysdeps/s390/configure.ac: Add checks for arch13 support.
1987 * sysdeps/s390/configure: Regenerated.
1989 2019-03-22 Stefan Liebler <stli@linux.ibm.com>
1991 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
1992 Add vxe2, vxp, dflt, sort flags.
1993 * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXRS_EXT2,
1994 HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT, HWCAP_S390_DFLT
1996 (HWCAP_IMPORTANT): Add HWCAP_S390_VXRS_EXT2.
1997 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
1998 (HWCAP_S390_VXRS_EXT2, HWCAP_S390_VXRS_PDE, HWCAP_S390_SORT,
1999 HWCAP_S390_DFLT): Define.
2001 2019-03-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2004 * iconv/iconvconfig.c (write_output): Add parentheses to get rid
2005 of compiler warning.
2006 * locale/programs/ld-collate.c (collate_output): Likewise.
2008 2019-03-21 DJ Delorie <dj@redhat.com>
2011 * iconv/iconvconfig.c (write_output): Replace floating point math
2012 with integer math to avoid imprecise results.
2013 * locale/programs/ld-collate.c (collate_output): Likewise.
2015 2019-03-21 Stefan Liebler <stli@linux.ibm.com>
2017 * sysdeps/s390/dl-procinfo.h (HWCAP_IMPORTANT):
2018 Add HWCAP_S390_VX and HWCAP_S390_VXE.
2020 2019-03-20 mansayk <6688000@gmail.com>
2023 * localedata/locales/tt_RU (day): Update from CLDR-34, fix errors.
2024 (abday): Likewise, but remove the trailing dots.
2026 2019-03-19 Joseph Myers <joseph@codesourcery.com>
2028 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SB): New
2030 (HWCAP_PACA): Likewise.
2031 (HWCAP_PACG): Likewise.
2032 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
2034 (_dl_aarch64_cap_flags): Add new entries for new HWCAPs.
2036 2019-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
2038 * hurd/hurd/signal.h (_hurd_critical_section_lock): Document how EINTR
2041 2019-03-15 Joseph Myers <joseph@codesourcery.com>
2043 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
2045 (old_getpagesize): New syscall.
2047 2019-03-15 Felix Yan <felixonmars@archlinux.org>
2050 * localedata/locales/zh_TW (era): Add, support Minguo calendar.
2051 * localedata/locales/cmn_TW (era): Likewise.
2052 * localedata/locales/hak_TW (era): Likewise.
2053 * localedata/locales/lzh_TW (era): Likewise.
2054 * localedata/locales/nan_TW (era): Likewise.
2056 2019-03-14 Adam Maris <amaris@redhat.com>
2058 * malloc/malloc.c (_int_malloc): Check for large bin list
2059 corruption when inserting unsorted chunk.
2061 2019-03-14 Florian Weimer <fweimer@redhat.com>
2063 Remove obsolete, never-implemented XSI STREAMS declarations.
2064 * manual/terminal.texi (Allocation): Remove portability note and
2066 * sysdeps/posix/sysconf.c (__sysconf): Always return -1 for
2068 * sysdeps/unix/sysv/linux/syscalls.list (getpmsg, putpmsg): Remove.
2069 * sysdeps/unix/inet/Subdirs (streams): Remove.
2070 * conform/Makefile (conformtest-headers-XPG42): Remove stropts.h.
2071 (conformtest-headers-UNIX98): Likewise.
2072 (conformtest-headers-XOPEN2K): Likewise.
2073 (conformtest-headers-POSIX2008): Likewise.
2074 * posix/compat-streams.c: New file.
2075 * posix/Makefile (routines): Add it.
2076 * posix/Versions (GLIBC_2.1): Add fattach, fdetach, getmsg,
2077 getpmsg, isastream, putmsg, putpmsg.
2078 (GLIBC_2.30): New section.
2079 * bits/stropts.h: Remove file.
2080 * bits/xtitypes.h: Likewise.
2081 * conform/data/stropts.h-data: Likewise.
2082 * include/stropts.h: Likewise.
2083 * include/sys/stropts.h: Likewise.
2084 * include/xtitypes.h: Likewise.
2085 * streams/Makefile: Likewise.
2086 * streams/fattach.c: Likewise.
2087 * streams/fdetach.c: Likewise.
2088 * streams/getmsg.c: Likewise.
2089 * streams/getpmsg.c: Likewise.
2090 * streams/isastream.c: Likewise.
2091 * streams/putmsg.c: Likewise.
2092 * streams/putpmsg.c: Likewise.
2093 * streams/stropts.h: Likewise.
2094 * streams/sys/stropts.h: Likewise.
2095 * sysdeps/ia64/bits/xtitypes.h: Likewise.
2096 * sysdeps/s390/bits/xtitypes.h: Likewise.
2097 * sysdeps/unix/sysv/linux/i386/getmsg.c: Likewise.
2098 * sysdeps/unix/sysv/linux/i386/putmsg.c: Likewise.
2099 * sysdeps/unix/sysv/linux/m68k/getmsg.c: Likewise.
2100 * sysdeps/unix/sysv/linux/m68k/putmsg.c: Likewise.
2101 * sysdeps/unix/sysv/linux/mips/getmsg.c: Likewise.
2102 * sysdeps/unix/sysv/linux/mips/putmsg.c: Likewise.
2103 * sysdeps/unix/sysv/linux/powerpc/getmsg.c: Likewise.
2104 * sysdeps/unix/sysv/linux/powerpc/putmsg.c: Likewise.
2105 * sysdeps/x86/bits/xtitypes.h: Likewise.
2107 2019-03-14 Florian Weimer <fweimer@redhat.com>
2109 * nss/tst-nss-files-alias-truncated.c (do_test): Load
2111 * nss/Makefile (tst-nss-files-alias-truncated): Link with -ldl,
2112 but not with libnss_files.
2113 (tst-nss-files-alias-truncated.out): Depend on libnss_files.
2115 2019-03-14 Zack Weinberg <zackw@panix.com>
2117 * scripts/check-obsolete-constructs.py (HeaderChecker.check):
2118 Specify encoding="utf-8" when opening headers to check.
2120 2019-03-13 Joseph Myers <joseph@codesourcery.com>
2122 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2124 (Context.checkout_tar): Handle variable major version for Linux
2127 2019-03-13 Florian Weimer <fweimer@redhat.com>
2130 * sysdeps/mach/hurd/res_enable_icmp.c: New file.
2132 2019-03-13 Zack Weinberg <zackw@panix.com>
2134 * sysdeps/generic/inttypes.h, sysdeps/generic/stdint.h:
2136 * include/inttypes.h: Adjust to match.
2137 * include/stdint.h: New wrapper.
2139 2019-03-13 Zack Weinberg <zackw@panix.com>
2141 * scripts/check-obsolete-constructs.py: New test script.
2142 * scripts/check-installed-headers.sh: Remove tests for
2143 obsolete typedefs, superseded by check-obsolete-constructs.py.
2144 * Rules: Run scripts/check-obsolete-constructs.py over $(headers)
2145 as a special test. Update commentary.
2146 * posix/bits/types.h (__SQUAD_TYPE, __S64_TYPE): Define as __int64_t.
2147 (__UQUAD_TYPE, __U64_TYPE): Define as __uint64_t.
2149 * posix/sys/types.h (__u_intN_t): Remove.
2150 (u_int8_t): Typedef using __uint8_t.
2151 (u_int16_t): Typedef using __uint16_t.
2152 (u_int32_t): Typedef using __uint32_t.
2153 (u_int64_t): Typedef using __uint64_t.
2155 2019-03-13 Stefan Liebler <stli@linux.ibm.com>
2157 * elf/dl-sysdep.c (_dl_show_auxv): Remove condition and always
2159 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h (_dl_procinfo):
2160 Ignore types other than AT_HWCAP.
2161 * sysdeps/sparc/dl-procinfo.h (_dl_procinfo): Likewise.
2162 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h (_dl_procinfo):
2164 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Adjust comment
2165 in the case of falling back to generic output mechanism.
2166 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_dl_procinfo):
2169 2019-03-12 Florian Weimer <fweimer@redhat.com>
2171 * elf/elf.h (DF_1_KMOD, DF_1_WEAKFILTER, DF_1_NOCOMMON): Define.
2173 2019-03-12 Florian Weimer <fweimer@redhat.com>
2176 resolv: Enable full ICMP errors for UDP DNS sockets
2177 * resolv/res_enable_icmp.c: New file.
2178 * resolv/Makefile (libresolv-routines): Add res_enable_icmp.
2179 * resolv/resolv-internal.h (__res_enable_icmp): Declare.
2180 * resolv/res_send.c (reopen): Call __res_enable_icmp on new
2183 2019-03-11 Mao Han <han_mao@c-sky.com>
2185 * elf/elf.h (EF_CSKY_ABIMASK, EF_CSKY_OTHER, EF_CSKY_PROCESSOR)
2186 (EF_CSKY_ABIV1, EF_CSKY_ABIV2, SHT_CSKY_ATTRIBUTES): New defines.
2188 2019-03-11 Mao Han <han_mao@c-sky.com>
2190 * sysdeps/csky/abiv2/start.S: Mark lr as undefined.
2191 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
2192 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
2194 2019-03-11 Mao Han <han_mao@c-sky.com>
2196 * sysdeps/unix/sysv/linux/csky/sys/procfs.h: Use linux definition
2198 * sysdeps/unix/sysv/linux/csky/sys/user.h: Remove user_regs
2201 2019-03-11 Mao Han <han_mao@c-sky.com>
2203 * sysdeps/unix/sysv/linux/csky/register-dump.h: Adjust offset change.
2204 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Remove __mask field
2207 2019-03-08 Mike FABIAN <mfabian@redhat.com>
2210 * localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
2211 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to
2213 * localedata/unicode-gen/EastAsianWidth.txt: Likewise.
2214 * localedata/unicode-gen/PropList.txt: Likewise.
2215 * localedata/unicode-gen/UnicodeData.txt: Likewise.
2216 * localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D
2217 became "Alphabetic" in Unicode 12.0.0. Adapt test case.
2218 * localedata/charmaps/UTF-8: Regenerate.
2219 * localedata/locales/i18n_ctype: Likewise.
2220 * localedata/locales/tr_TR: Likewise.
2221 * localedata/locales/translit_circle: Likewise.
2222 * localedata/locales/translit_cjk_compat: Likewise.
2223 * localedata/locales/translit_combining: Likewise.
2224 * localedata/locales/translit_compat: Likewise.
2225 * localedata/locales/translit_font: Likewise.
2226 * localedata/locales/translit_fraction: Likewise.
2228 2019-03-07 Joseph Myers <joseph@codesourcery.com>
2230 * stdio-common/vfscanf-internal.c (ARG): Break lines before rather
2231 than after operators.
2232 * sysdeps/mach/hurd/setitimer.c (timer_thread): Likewise.
2233 (setitimer_locked): Likewise.
2234 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
2235 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
2236 * sysdeps/mach/pagecopy.h (PAGE_COPY_FWD): Likewise.
2237 * sysdeps/mach/thread_state.h (machine_get_basic_state): Likewise.
2238 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c
2239 (PPC_CPU_SUPPORTED): Likewise.
2240 * sysdeps/unix/sysv/linux/alpha/a.out.h (N_TXTOFF): Likewise.
2241 * sysdeps/unix/sysv/linux/generic/wordsize-32/overflow.h
2242 (stat_overflow): Likewise.
2243 (statfs_overflow): Likewise.
2244 * sysdeps/unix/sysv/linux/tst-personality.c (do_test): Likewise.
2245 * sysdeps/unix/sysv/linux/tst-ttyname.c (eq_ttyname): Likewise.
2246 (eq_ttyname_r): Likewise.
2247 (run_chroot_tests): Likewise.
2249 2019-03-07 Florian Weimer <fweimer@redhat.com>
2251 * scripts/check-wrapper-headers.py (check_headers): Adjust Fortran
2254 2019-03-07 Martin Liska <mliska@suse.cz>
2256 * math/Makefile: Change location where math-vector-fortran.h is
2258 * math/finclude/math-vector-fortran.h: Move from bits/math-vector-fortran.h.
2259 * sysdeps/x86/fpu/finclude/math-vector-fortran.h: Move
2260 from sysdeps/x86/fpu/bits/math-vector-fortran.h.
2261 * scripts/check-installed-headers.sh: Skip Fortran header files.
2262 * scripts/check-wrapper-headers.py: Likewise.
2264 2019-03-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2266 * nptl/nptl-init.c (__have_futex_clock_realtime,
2267 __have_futex_clock_realtime): Remove definition.
2268 (__pthread_initialize_minimal_internal): Remove FUTEX_CLOCK_REALTIME
2269 check test for !__ASSUME_FUTEX_CLOCK_REALTIME.
2270 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Assume
2271 __ASSUME_FUTEX_CLOCK_REALTIME support.
2272 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Likewise.
2273 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
2274 * sysdeps/unix/sysv/linux/kernel-features.h
2275 (__ASSUME_FUTEX_CLOCK_REALTIME): Remove.
2276 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_timed_wait_bitset):
2279 2019-03-05 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2281 * sysdeps/powerpc/powerpc64/power6/wcscpy.c (WCSCPY): Define to
2282 __wcscpy, then use libc_hidden_def and weak_alias to bind it to
2283 __GI___wcscpy and wcscpy.
2285 2019-03-04 Florian Weimer <fweimer@redhat.com>
2287 * sysdeps/generic/ldsodefs.h (_dl_sysdep_open_zero_fill): Remove
2289 * elf/dl-load.c (_dl_map_object_from_fd): Assume MAP_ANON is
2292 2019-03-04 Stefan Liebler <stli@linux.ibm.com>
2294 * sysdeps/s390/s390-64/sysdep.h (ENTRY): Use alignment of 16byte.
2295 * sysdeps/s390/s390-32/sysdep.h: Likewise.
2297 2019-03-02 TAMUKI Shoichi <tamuki@linet.gr.jp>
2300 * localedata/locales/ja_JP (LC_TIME): Change the offset for Taisho
2301 gan-nen from 2 to 1. Problem reported by Morimitsu, Junji.
2303 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2305 * misc/tst-ldbl-error.c (do_one_test): Adapt for reuse by nldbl
2307 (do_test): Likewise.
2308 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
2309 (do_test_call_varg): Likewise.
2310 (do_test_call_rarg): Likewise.
2311 * sysdeps/ieee754/ldbl-opt/Makefile
2312 [subdir == misc] (tests-internal): Add tst-nldbl-warn,
2314 ($(objpfx)tst-nldbl-warn.c): New rule.
2315 ($(objpfx)tst-nldbl-error.c): Likewise.
2316 (CFLAGS-tst-nldbl-warn.c, CFLAGS-tst-nldbl-error.c):
2319 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2322 * include/bits/error-ldbl.h: New file.
2323 * include/error.h: Include stdarg.h. Declare internal functions
2324 __error_internal and __error_at_line_internal.
2325 * misc/Makefile (headers): Add bits/error-ldbl.h.
2326 * misc/bits/error-ldbl.h: New file.
2327 * misc/error.h [__LDBL_COMPAT]: Include bits/error-ldbl.h and
2328 avoid the inclusion of bits/error.h.
2329 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_error,
2330 and __nldbl_error_at_line.
2331 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include error.h.
2332 (__nldbl_error, __ndlbl_error_at_line): New functions.
2333 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include error.h.
2334 Redirect error and error_at_line.
2335 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2344 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2345 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2346 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2348 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2351 * include/bits/err-ldbl.h: New file.
2352 * include/err.h: Add prototypes for the internal functions:
2353 __vwarnx_internal and __vwarn_internal.
2354 * misc/Makefile (headers): Add bits/err-ldbl.h.
2355 * misc/bits/err-ldbl.h: New file.
2356 * misc/err.h: Include bits/err-ldbl.h when __LDBL_COMPAT is
2357 defined, i.e.: when -mlong-double-64 is in use.
2358 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add __nldbl_warn,
2359 __nldbl_vwarn, __nldbl_warnx, __nldbl_vwarnx, __nldbl_err,
2360 __nldbl_verr, __nldbl_errx, and __nldbl_verrx.
2361 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include err.h.
2362 (VA_CALL): New macro.
2363 (__nldbl_vwarn, __nldbl_vwarnx, __nldbl_warn, __nldbl_warnx)
2364 (__nldbl_verr, __nldbl_verrx, __nldbl_err, __nldbl_errx): New
2366 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include err.h and
2367 declare prototypes for the new functions.
2368 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2369 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2371 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2375 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2377 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2378 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2379 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2381 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2383 * sysdeps/ieee754/ldbl-opt/Makefile
2384 [subdir == argp] (tests-internal): Add tst-nldbl-argp.
2385 [subdir == argp] ($(objpfx)tst-nldbl-argp.c): New rule.
2386 [subdir == argp] (CFLAGS-tst-nldbl-argp.c): New variable.
2388 2019-03-01 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2391 * argp/Makefile (headers): Add bits/argp-ldbl.h.
2392 * argp/argp.h [defined __LDBL_COMPAT]: Include bits/argp-ldbl.h.
2393 * argp/bits/argp-ldbl.h: New file.
2394 * include/argp.h: Include stdarg.h. Add prototypes for internal
2395 functions: __argp_error_internal and __argp_failure_internal.
2396 * include/bits/argp-ldbl.h: New file.
2397 * sysdeps/ieee754/ldbl-opt/Versions (libc): Add
2398 __nldbl_argp_error and __nldbl_argp_failure.
2399 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include argp.h.
2400 (__nldbl_argp_error, __nldbl_argp_failure): New functions.
2401 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include argp.h.
2402 Redirect argp_error and argp_failure calls.
2403 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Update.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
2410 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
2412 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2416 2019-03-01 Florian Weimer <fweimer@redhat.com>
2419 * elf/tst-big-note-lib.S: Create a syntactically valid note.
2420 * elf/Makefile (tst-big-note-lib.so): Do not link with startup
2421 code, to avoid creating an ABI tag note.
2422 (modules-names-nobuild): Add tst-big-note-lib.
2424 2019-03-01 Stefan Liebler <stli@linux.ibm.com>
2426 * sysdeps/s390/wcscpy-vx.S: Add strong aliases to
2427 __wcscpy, __GI___wcscpy and weak alias to wcscpy.
2429 2019-03-01 Florian Weimer <fweimer@redhat.com>
2432 * sysdeps/unix/sysv/linux/netlink_assert_response.c
2433 (__netlink_assert_response): Add additional missing newlines.
2435 2019-02-28 Joseph Myers <joseph@codesourcery.com>
2437 * sysdeps/powerpc/powerpc32/dl-machine.c
2438 (__elf_machine_fixup_plt): Use space before '('.
2439 (__process_machine_rela): Likewise.
2440 * sysdeps/powerpc/powerpc32/register-dump.h (register_dump):
2442 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h (TI_BITS):
2444 * sysdeps/powerpc/powerpc64/register-dump.h (register_dump):
2446 * sysdeps/powerpc/test-arith.c (union_t): Likewise.
2447 (pattern): Likewise.
2449 (check_result): Likewise.
2450 (check_excepts): Likewise.
2451 (check_op): Likewise.
2452 (fail_xr): Likewise.
2453 * sysdeps/unix/alpha/sysdep.h (syscall_promote): Likewise.
2454 * sysdeps/unix/sysv/linux/alpha/a.out.h (AOUTHSZ): Likewise.
2456 * sysdeps/unix/sysv/linux/hppa/makecontext.c (FRAME_SIZE_BYTES):
2459 (__makecontext): Likewise.
2460 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t):
2463 2019-02-28 Florian Weimer <fweimer@redhat.com>
2466 elf: Add test with a local IFUNC resolver.
2467 * elf/ifuncmain9.c: New file.
2468 * elf/ifuncmain9pic.c: Likewise.
2469 * elf/ifuncmain9picstatic.c: Likewise.
2470 * elf/ifuncmain9pie.c: Likewise.
2471 * elf/ifuncmain9static.c: Likewise.
2472 * elf/Makefile [multi-arch] (tests-ifuncstatic): Add
2473 ifuncmain9static, ifuncmain9picstatic.
2474 * elf/Makefile [multi-arch && build-shared] (tests-internal):
2475 Add ifuncmain9, ifuncmain9pic.
2476 * elf/Makefile [multi-arch && build-shared && have-fpie]
2477 (ifunc-pie-tests): Add ifuncmain9pie.
2478 (CFLAGS-ifuncmain9pic.c): Add $(pic-ccflag).
2479 (CFLAGS-ifuncmain9picstatic.c): Likewise.
2480 (CFLAGS-ifuncmain9pie.c): Add $(pie-ccflag).
2482 2019-02-27 H.J. Lu <hongjiu.lu@intel.com>
2484 * configure.ac (have-ifunc): New LIBC_CONFIG_VAR.
2485 * configure: Regenerated.
2486 * elf/Makefile: Run IFUNC tests if binutils supports IFUNC.
2488 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2490 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Define ifunc
2491 symbol as __wcspcy instead of wcscpy.
2493 2019-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
2495 * include/stdio.h (__renameat2): New hidden prototype.
2496 * stdio-common/renameat2.c (__renameat2): Add hidden definition.
2497 * sysdeps/mach/hurd/renameat.c (__renameat): Move implementation to...
2498 * sysdeps/mach/hurd/renameat2.c (__renameat2): ... new function.
2499 * sysdeps/unix/sysv/linux/renameat2.c (__renameat2): Add hidden definition.
2501 2019-02-27 Joseph Myers <joseph@codesourcery.com>
2503 * hurd/hurdinit.c (_hurd_init): Use braces around empty body of an
2506 * benchtests/bench-strcpy.c (do_test): Use space before '('.
2507 * benchtests/bench-string.h (cmdline_process_function): Likewise.
2508 * benchtests/bench-strlen.c (do_test): Likewise.
2509 (test_main): Likewise.
2510 * catgets/gencat.c (read_old): Likewise.
2511 * elf/cache.c (load_aux_cache): Likewise.
2512 * iconvdata/bug-iconv8.c (do_test): Likewise.
2513 * math/test-tgmath-ret.c (do_test): Likewise.
2514 * nis/nis_call.c (rec_dirsearch): Likewise.
2515 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2516 * nptl/tst-audit-threads.c (do_test): Likewise.
2517 * nptl/tst-cancel4-common.h (set_socket_buffer): Likewise.
2518 * nss/nss_test1.c (init): Likewise.
2519 * nss/test-netdb.c (test_hosts): Likewise.
2520 * posix/execvpe.c (maybe_script_execute): Likewise.
2521 * stdio-common/tst-fmemopen4.c (do_test): Likewise.
2522 * stdio-common/tst-printf.c (do_test): Likewise.
2523 * stdio-common/vfscanf-internal.c (__vfscanf_internal): Likewise.
2524 * stdlib/fmtmsg.c (NKEYWORDS): Likewise.
2525 * stdlib/qsort.c (STACK_SIZE): Likewise.
2526 * stdlib/test-canon.c (do_test): Likewise.
2527 * stdlib/tst-swapcontext1.c (do_test): Likewise.
2528 * string/memcmp.c (OPSIZ): Likewise.
2529 * string/test-strcpy.c (do_test): Likewise.
2530 (do_random_tests): Likewise.
2531 * string/test-strlen.c (do_test): Likewise.
2532 (test_main): Likewise.
2533 * string/test-strrchr.c (do_test): Likewise.
2534 (do_random_tests): Likewise.
2535 * string/tester.c (test_memrchr): Likewise.
2536 (test_memchr): Likewise.
2537 * sysdeps/generic/memcopy.h (OPSIZ): Likewise.
2538 * sysdeps/generic/unwind-dw2.c (execute_stack_op): Likewise.
2539 * sysdeps/generic/unwind-pe.h (read_sleb128): Likewise.
2540 (read_encoded_value_with_base): Likewise.
2541 * sysdeps/hppa/dl-machine.h (elf_machine_runtime_setup): Likewise.
2542 * sysdeps/hppa/fpu/feupdateenv.c (__feupdateenv): Likewise.
2543 * sysdeps/ia64/fpu/sfp-machine.h (TI_BITS): Likewise.
2544 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2545 * sysdeps/posix/spawni.c (maybe_script_execute): Likewise.
2546 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (query_auxv):
2548 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h (ELF_NGREG):
2550 * sysdeps/unix/sysv/linux/arm/bits/procfs.h (ELF_NGREG): Likewise.
2551 * sysdeps/unix/sysv/linux/arm/ioperm.c (init_iosys): Likewise.
2552 * sysdeps/unix/sysv/linux/csky/bits/procfs.h (ELF_NGREG):
2554 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h (ELF_NGREG):
2556 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h (ELF_NGREG):
2558 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
2560 * sysdeps/unix/sysv/linux/x86/bits/procfs.h (ELF_NGREG): Likewise.
2561 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2562 (FP_XSTATE_MAGIC2_SIZE): Likewise.
2563 * sysdeps/x86/fpu/sfp-machine.h (TI_BITS): Likewise.
2564 * time/test_time.c (main): Likewise.
2566 2019-02-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2568 * wcsmbs/wcsnlen.c (__wcsnlen): Rewrite using wmemchr.
2570 * wcsmbs/wcsncpy.c (__wcsncpy): Rewrite using wcsnlen, wmemset, and
2573 * wcsmbs/wcsncat.c (wcsncat): Rewrite using wcslen, wcsnlen, and
2576 * wcsmbs/wcscpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2578 * include/wchar.h (__wcscpy): New prototype.
2579 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c
2580 (__wcscpy): Route internal symbol to generic implementation.
2581 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c (wcscpy):
2582 Add internal __wcscpy alias.
2583 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c (wcscpy): Likewise.
2584 * sysdeps/s390/wcscpy.c (wcscpy): Likewise.
2585 * sysdeps/x86_64/multiarch/wcscpy.c (wcscpy): Likewise.
2586 * wcsmbs/wcscpy.c (wcscpy): Add
2587 * sysdeps/x86_64/multiarch/wcscpy-c.c (WCSCPY): Adjust macro to
2588 use generic implementation.
2589 * wcsmbs/wcscat.c (wcscat): Rewrite using wcslen and wcscpy.
2591 * wcsmbs/wcpncpy.c (__wcpcpy): Rewrite using wcslen, wmemcpy, and
2594 * sysdeps/m68k/wcpcpy.c: Remove file.
2595 * wcsmbs/wcpcpy.c (__wcpcpy): Rewrite using wcslen and wmemcpy.
2597 2019-02-26 Joseph Myers <joseph@codesourcery.com>
2599 * sysdeps/arm/sysdep.h (#if condition): Break lines before rather
2600 than after operators.
2601 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
2602 * sysdeps/mach/hurd/getcwd.c
2603 (__hurd_canonicalize_directory_name_internal): Likewise.
2604 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c
2605 (pthread_mutex_consistent): Likewise.
2606 * sysdeps/mach/hurd/htl/pt-mutex-init.c (_pthread_mutex_init):
2608 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c
2609 (__pthread_mutex_transfer_np): Likewise.
2610 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c
2611 (__pthread_mutex_unlock): Likewise.
2612 * sysdeps/mach/hurd/htl/pt-mutex.h (ROBUST_LOCK): Likewise.
2613 (mtx_owned_p): Likewise.
2614 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c
2615 (pthread_mutexattr_getrobust): Likewise.
2616 * sysdeps/mach/hurd/i386/init-first.c (init1): Likewise.
2617 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler):
2619 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2620 * sysdeps/mach/hurd/jmp-unwind.c (_longjmp_unwind): Likewise.
2621 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
2622 * sysdeps/mach/hurd/mig-reply.c (__mig_get_reply_port): Likewise.
2623 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2624 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
2625 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (#if condition):
2627 * sysdeps/unix/sysv/linux/alpha/ioperm.c (process_cpuinfo):
2629 * sysdeps/unix/sysv/linux/bits/timex.h (STA_RONLY): Likewise.
2630 * sysdeps/unix/sysv/linux/csky/sysdep.h (#if condition): Likewise.
2631 * sysdeps/unix/sysv/linux/generic/____longjmp_chk.c
2632 (____longjmp_chk): Likewise.
2633 * sysdeps/unix/sysv/linux/generic/futimesat.c (futimesat):
2635 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
2636 (INTERNAL_SYSCALL): Likewise.
2637 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
2638 (INTERNAL_SYSCALL): Likewise.
2639 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
2640 (__get_clockfreq_via_cpuinfo): Likewise.
2642 * sysdeps/i386/dl-machine.h (elf_machine_rela): Add fall-through
2644 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (s(__cexp)): Likewise.
2645 * sysdeps/m68k/memcopy.h (WORD_COPY_FWD): Likewise.
2646 (WORD_COPY_BWD): Likewise.
2647 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2648 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
2650 * sysdeps/s390/iso-8859-1_cp037_z900.c (TR_LOOP): Likewise.
2651 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Move fall-through
2653 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
2655 2019-02-25 Joseph Myers <joseph@codesourcery.com>
2657 * dirent/dirent.h [!_DIRENT_HAVE_D_NAMLEN
2658 && _DIRENT_HAVE_D_RECLEN] (_D_ALLOC_NAMLEN): Break lines before
2659 rather than after operators.
2660 * elf/cache.c (print_cache): Likewise.
2661 * gshadow/fgetsgent_r.c (__fgetsgent_r): Likewise.
2662 * htl/pt-getattr.c (__pthread_getattr_np): Likewise.
2663 * hurd/hurdinit.c (_hurd_setproc): Likewise.
2664 * hurd/hurdkill.c (_hurd_sig_post): Likewise.
2665 * hurd/hurdlookup.c (__file_name_lookup_under): Likewise.
2666 * hurd/hurdsig.c (_hurd_internal_post_signal): Likewise.
2667 (reauth_proc): Likewise.
2668 * hurd/lookup-at.c (__file_name_lookup_at): Likewise.
2669 (__file_name_split_at): Likewise.
2670 (__directory_name_split_at): Likewise.
2671 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2672 * hurd/port2fd.c (_hurd_port2fd): Likewise.
2673 * iconv/gconv_dl.c (do_print): Likewise.
2674 * inet/netinet/in.h (struct sockaddr_in): Likewise.
2675 * libio/wstrops.c (_IO_wstr_seekoff): Likewise.
2676 * locale/setlocale.c (new_composite_name): Likewise.
2677 * malloc/memusagestat.c (main): Likewise.
2678 * misc/fstab.c (fstab_convert): Likewise.
2679 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
2681 * nss/nss_compat/compat-grp.c (getgrent_next_nss): Likewise.
2682 (getgrent_next_file): Likewise.
2683 (internal_getgrnam_r): Likewise.
2684 (internal_getgrgid_r): Likewise.
2685 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss):
2687 (internal_getgrent_r): Likewise.
2688 * nss/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
2689 (getpwent_next_nss): Likewise.
2690 (getpwent_next_file): Likewise.
2691 (internal_getpwnam_r): Likewise.
2692 (internal_getpwuid_r): Likewise.
2693 * nss/nss_compat/compat-spwd.c (getspent_next_nss_netgr):
2695 (getspent_next_nss): Likewise.
2696 (internal_getspnam_r): Likewise.
2697 * pwd/fgetpwent_r.c (__fgetpwent_r): Likewise.
2698 * shadow/fgetspent_r.c (__fgetspent_r): Likewise.
2699 * string/strchr.c (STRCHR): Likewise.
2700 * string/strchrnul.c (STRCHRNUL): Likewise.
2701 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_FPCR_IEEE): Likewise.
2702 * sysdeps/aarch64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2703 * sysdeps/csky/dl-machine.h (elf_machine_rela): Likewise.
2704 * sysdeps/generic/memcopy.h (PAGE_COPY_FWD_MAYBE): Likewise.
2705 * sysdeps/generic/symbol-hacks.h (__stack_chk_fail_local):
2707 * sysdeps/gnu/netinet/ip_icmp.h (ICMP_INFOTYPE): Likewise.
2708 * sysdeps/gnu/updwtmp.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2709 * sysdeps/gnu/utmp_file.c (TRANSFORM_UTMP_FILE_NAME): Likewise.
2710 * sysdeps/hppa/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Likewise.
2711 * sysdeps/mach/hurd/bits/stat.h (S_ISPARE): Likewise.
2712 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Likewise.
2713 (open_file): Likewise.
2714 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c
2715 (pthread_mutexattr_setprotocol): Likewise.
2716 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
2717 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
2718 * sysdeps/mach/hurd/ptrace.c (ptrace): Likewise.
2719 * sysdeps/mach/hurd/spawni.c (__spawni): Likewise.
2720 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
2722 (elf_machine_rela): Likewise.
2723 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2724 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
2725 * sysdeps/mips/sys/asm.h (multiple #if conditionals): Likewise.
2726 * sysdeps/posix/rename.c (rename): Likewise.
2727 * sysdeps/powerpc/novmx-sigjmp.c (__novmx__sigjmp_save): Likewise.
2728 * sysdeps/powerpc/sigjmp.c (__vmx__sigjmp_save): Likewise.
2729 * sysdeps/s390/fpu/fenv_libc.h (FPC_VALID_MASK): Likewise.
2730 * sysdeps/s390/utf8-utf16-z9.c (gconv_end): Likewise.
2731 * sysdeps/unix/grantpt.c (grantpt): Likewise.
2732 * sysdeps/unix/sysv/linux/a.out.h (N_TXTOFF): Likewise.
2733 * sysdeps/unix/sysv/linux/updwtmp.c (TRANSFORM_UTMP_FILE_NAME):
2735 * sysdeps/unix/sysv/linux/utmp_file.c (TRANSFORM_UTMP_FILE_NAME):
2737 * sysdeps/x86/cpu-features.c (get_common_indices): Likewise.
2738 * time/tzfile.c (__tzfile_compute): Likewise.
2740 2019-02-22 Joseph Myers <joseph@codesourcery.com>
2742 * benchtests/bench-memmem.c (simple_memmem): Break lines before
2743 rather than after operators.
2744 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): Likewise.
2745 * crypt/md5.c (md5_finish_ctx): Likewise.
2746 * crypt/sha256.c (__sha256_finish_ctx): Likewise.
2747 * crypt/sha512.c (__sha512_finish_ctx): Likewise.
2748 * elf/cache.c (load_aux_cache): Likewise.
2749 * elf/dl-load.c (open_verify): Likewise.
2750 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
2751 * elf/readelflib.c (process_elf_file): Likewise.
2752 * elf/rtld.c (dl_main): Likewise.
2753 * elf/sprof.c (generate_call_graph): Likewise.
2754 * hurd/ctty-input.c (_hurd_ctty_input): Likewise.
2755 * hurd/ctty-output.c (_hurd_ctty_output): Likewise.
2756 * hurd/dtable.c (reauth_dtable): Likewise.
2757 * hurd/getdport.c (__getdport): Likewise.
2758 * hurd/hurd/signal.h (_hurd_interrupted_rpc_timeout): Likewise.
2759 * hurd/hurd/sigpreempt.h (HURD_PREEMPT_SIGNAL_P): Likewise.
2760 * hurd/hurdfault.c (_hurdsig_fault_catch_exception_raise):
2762 * hurd/hurdioctl.c (fioctl): Likewise.
2763 * hurd/hurdselect.c (_hurd_select): Likewise.
2764 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Likewise.
2765 (STOPSIGS): Likewise.
2766 * hurd/hurdstartup.c (_hurd_startup): Likewise.
2767 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Likewise.
2768 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
2769 * hurd/msgportdemux.c (msgport_server): Likewise.
2770 * hurd/setauth.c (_hurd_setauth): Likewise.
2771 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): Likewise.
2772 * libio/libioP.h [IO_DEBUG] (CHECK_FILE): Likewise.
2773 * locale/programs/ld-ctype.c (set_class_defaults): Likewise.
2774 * localedata/tests-mbwc/tst_swscanf.c (tst_swscanf): Likewise.
2775 * login/tst-utmp.c (do_check): Likewise.
2776 (simulate_login): Likewise.
2777 * mach/lowlevellock.h (lll_lock): Likewise.
2778 (lll_trylock): Likewise.
2779 * math/test-fenv.c (ALL_EXC): Likewise.
2780 * math/test-fenvinline.c (ALL_EXC): Likewise.
2781 * misc/sys/cdefs.h (__attribute_deprecated_msg__): Likewise.
2782 * nis/nis_call.c (__do_niscall3): Likewise.
2783 * nis/nis_callback.c (cb_prog_1): Likewise.
2784 * nis/nis_defaults.c (searchaccess): Likewise.
2785 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
2786 * nis/nis_ismember.c (internal_ismember): Likewise.
2787 * nis/nis_local_names.c (nis_local_principal): Likewise.
2788 * nis/nss_nis/nis-rpc.c (_nss_nis_getrpcbyname_r): Likewise.
2789 * nis/nss_nisplus/nisplus-netgrp.c (_nss_nisplus_getnetgrent_r):
2791 * nis/ypclnt.c (yp_match): Likewise.
2792 (yp_first): Likewise.
2793 (yp_next): Likewise.
2794 (yp_master): Likewise.
2795 (yp_order): Likewise.
2796 * nscd/hstcache.c (cache_addhst): Likewise.
2797 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2798 * nss/nss_compat/compat-pwd.c (copy_pwd_changes): Likewise.
2799 (internal_getpwuid_r): Likewise.
2800 * nss/nss_compat/compat-spwd.c (copy_spwd_changes): Likewise.
2801 * posix/glob.h (__GLOB_FLAGS): Likewise.
2802 * posix/regcomp.c (peek_token): Likewise.
2803 (peek_token_bracket): Likewise.
2804 (parse_expression): Likewise.
2805 * posix/regexec.c (sift_states_iter_mb): Likewise.
2806 (check_node_accept_bytes): Likewise.
2807 * posix/tst-spawn3.c (do_test): Likewise.
2808 * posix/wordexp-test.c (testit): Likewise.
2809 * posix/wordexp.c (parse_tilde): Likewise.
2810 (exec_comm): Likewise.
2811 * posix/wordexp.h (__WRDE_FLAGS): Likewise.
2812 * resource/vtimes.c (TIMEVAL_TO_VTIMES): Likewise.
2813 * setjmp/sigjmp.c (__sigjmp_save): Likewise.
2814 * stdio-common/printf_fp.c (__printf_fp_l): Likewise.
2815 * stdio-common/tst-fileno.c (do_test): Likewise.
2816 * stdio-common/vfprintf-internal.c (vfprintf): Likewise.
2817 * stdlib/strfmon_l.c (__vstrfmon_l_internal): Likewise.
2818 * stdlib/strtod_l.c (round_and_return): Likewise.
2819 (____STRTOF_INTERNAL): Likewise.
2820 * stdlib/tst-strfrom.h (TEST_STRFROM): Likewise.
2821 * string/strcspn.c (STRCSPN): Likewise.
2822 * string/test-memmem.c (simple_memmem): Likewise.
2823 * termios/tcsetattr.c (tcsetattr): Likewise.
2824 * time/alt_digit.c (_nl_parse_alt_digit): Likewise.
2825 * time/asctime.c (asctime_internal): Likewise.
2826 * time/strptime_l.c (__strptime_internal): Likewise.
2827 * time/sys/time.h (timercmp): Likewise.
2828 * time/tzfile.c (__tzfile_compute): Likewise.
2830 2019-02-21 Patsy Griffin Franklin <pfrankli@redhat.com>
2833 * nss/tst-nss-files-hosts-long.root/etc/host.conf: New file.
2835 2019-02-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2837 * argp/argp-help.c (__argp_error_internal): New function,
2838 renamed from __argp_error, but that takes a 'mode_flags'
2839 parameter to control the format of long double parameters.
2840 (__argp_error): Converted into a call __argp_error_internal.
2841 (__argp_failure_internal): New function, renamed from
2842 __argp_failure, but that takes a 'mode_flags' parameter.
2843 (__argp_failure): Converted into a call __argp_failure_internal.
2844 * misc/err.c (__vwarnx_internal): New function, renamed from
2845 vwarnx, but that takes a 'mode_flags' parameter.
2846 (vwarnx): Converted into a call to __vwarnx_internal.
2847 (__vwarn_internal): New function, renamed from vwarn, but that
2848 takes a 'mode_flags' parameter.
2849 (vwarn): Converted into a call to __vwarn_internal.
2850 * misc/error.c (error_tail): Add 'mode_flags' parameter. Update
2851 call to __vfxprintf with 'mode_flags'.
2852 (__error_internal): New function, renamed from error, but that
2853 takes a 'mode_flags' parameter.
2854 (error): Converted into a call to __error_internal.
2855 (__error_at_line_internal): New function, renamed from
2856 error_at_line, but that takes a 'mode_flags' parameter.
2857 (error_at_line): Converted into a call to
2858 __error_at_line_internal.
2859 * include/stdio.h (__vfxprintf): Add mode_flags parameter.
2860 * stdio-common/fxprintf.c (locked_vfxprintf, __vfxprintf):
2863 2019-02-20 Martin Liska <mliska@suse.cz>
2865 * math/Makefile: Install math-vector-fortran.h.
2866 * bits/math-vector-fortran.h: New file.
2867 * sysdeps/x86/fpu/bits/math-vector-fortran.h: New file.
2869 2019-02-20 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
2871 * sysdeps/powerpc/powerpc64/le/configure.ac: Remove test.
2872 * sysdeps/powerpc/powerpc64/le/configure: Regenerate.
2874 2019-02-19 Wolfram Sang <wsa@the-dreams.de>
2876 * nptl/pthread_mutex_trylock.c: Fix comment.
2878 2019-02-19 Carlos O'Donell <carlos@redhat.com>
2880 * nptl/pthread_tryjoin.c: Fix comment.
2882 2019-02-18 Joseph Myers <joseph@codesourcery.com>
2885 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Add break
2886 after R_SPARC_H34 case.
2888 2019-02-18 Florian Weimer <fweimer@redhat.com>
2890 * resolv/compat-gethnamaddr.c (Dprintf): Remove definition.
2891 (getanswer): Do not call Dprintf.
2892 (res_gethostbyname2_context): Likewise.
2893 (res_gethostbyaddr_context): Likewise.
2895 2019-02-18 Florian Weimer <fweimer@redhat.com>
2897 * libio/libio.h (_IO_stdin, _IO_stdout, _IO_stderr): Remove
2899 * libio/stdio.c (AL, AL2, _IO_stdin, _IO_stdout, _IO_stderr):
2901 * libio/stdfiles.c: Update comment.
2902 * libio/oldstdfiles.c (_IO_check_libio): Update comment. Do not
2903 set _IO_stdin, _IO_stdout, _IO_stderr.
2904 * libio/libioP.h (_IO_fake_stdiobuf): Remove unused declaration.
2905 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1)] (_IO_legacy_file): New
2907 (_IO_deallocate_file): New inline function.
2908 * libio/iolibio.h (_IO_vprintf): Remove definition.
2909 * libio/iofclose.c (_IO_new_fclose): Use _IO_deallocate_file.
2910 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
2911 * libio/iofwide.c (_IO_fwide): Use __glibc_unlikely and
2913 * libio/oldfileops.c (_IO_old_file_init_internal): Remove
2914 __builtin_expect. Use _IO_legacy_file.
2916 2019-02-18 Stefan Liebler <stli@linux.ibm.com>
2918 * sysdeps/unix/sysv/linux/tst-clone3.c (do_test):
2919 Initialize ctid with a known value and remove update of ctid
2921 (wait_tid): Adjust arguments and call futex_wait with ctid_val
2922 as assumed current value of ctid_ptr.
2924 2019-02-16 Florian Weimer <fweimer@redhat.com>
2926 Check that non-sysdeps headers have wrapper headers.
2927 * scripts/check-wrapper-headers.py: New file.
2928 * Makefile (tests-special): Add check-wrapper-headers.out.
2929 (check-wrapper-headers.out): New target.
2930 * Rules (tests-special): Add check-wrapper-headers.out.
2931 (check-wrapper-headers.out): New target.
2933 2019-02-16 Florian Weimer <fweimer@redhat.com>
2935 Add missing header wrappers under include/.
2936 * include/ar.h: New file.
2937 * include/bits/mqueue2.h: Likewise.
2938 * include/bits/stdio.h: Likewise.
2939 * include/bits/stdio2.h: Likewise.
2940 * include/fstab.h: Likewise.
2941 * include/fts.h: Likewise.
2942 * include/lastlog.h: Likewise.
2943 * include/netinet/icmp6.h: Likewise.
2944 * include/netinet/igmp.h: Likewise.
2945 * include/netinet/ip6.h: Likewise.
2946 * include/re_comp.h: Likewise.
2947 * include/regexp.h: Likewise.
2948 * include/rpcsvc/bootparam.h: Likewise.
2949 * include/rpcsvc/yp_prot.h: Likewise.
2950 * include/sys/random.h: Likewise.
2951 * include/sys/stropts.h: Likewise.
2952 * include/sys/ttychars.h: Likewise.
2953 * include/sys/vfs.h: Likewise.
2954 * include/wait.h: Likewise.
2956 2019-02-16 Florian Weimer <fweimer@redhat.com>
2958 * nptl_db/proc_service.h: Move to ...
2959 * sysdeps/nptl/proc_service.h: ... here.
2960 * nptl_db/thread_db.h: Move to ...
2961 * sysdeps/nptl/thread_db.h: ... here.
2962 * nptl/descr.h: Include <thread_db.h>.
2964 2019-02-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2966 * io/Makefile (tests): Add tst-lockf.
2967 * io/lockf.c (lockf): Use __fcntl and only define for
2968 !__OFF_T_MATCHES_OFF64_T.
2969 * io/lockf64.c (__lockf64): Call __fcntl64 and alias to lockf for
2970 __OFF_T_MATCHES_OFF64_T case.
2971 * io/tst-lockf.c: New file.
2972 * sysdeps/unix/sysv/linux/i386/lockf64.c: Remove file.
2973 * sysdeps/unix/sysv/linux/arm/lockf64.c: Likewise.
2974 * sysdeps/unix/sysv/linux/m68k/lockf64.c: Likewise.
2975 * sysdeps/unix/sysv/linux/mips/mips32/lockf64.c: Likewise.
2976 * sysdeps/unix/sysv/linux/mips/mips64/n32/lockf64.c: Likewise.
2977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/lockf64.c: Likewise.
2978 * sysdeps/unix/sysv/linux/s390/s390-32/lockf64.c: Likewise.
2979 * sysdeps/unix/sysv/linux/sh/lockf64.c: Likewise.
2980 * sysdeps/unix/sysv/linux/sparc/sparc32/lockf64.c: Likewise.
2982 2019-02-15 Florian Weimer <fweimer@redhat.com>
2985 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Do not read
2986 pd->result after the thread descriptor has been freed.
2988 2019-02-15 Joseph Myers <joseph@codesourcery.com>
2990 * sunrpc/tst-svc_register.c (rpcbind_address): Remove qualifier
2991 from function return type.
2993 * setjmp/tst-setjmp.c (jump): Use __attribute__ ((__noreturn__)).
2995 2019-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2997 * scripts/test_printers_common.py: Set TERM to a known harmless
3000 2019-02-14 Joseph Myers <joseph@codesourcery.com>
3002 * sunrpc/xdr.c (xdr_int): Add fall-through comment.
3003 (xdr_u_int): Likewise.
3004 (xdr_enum): Likewise.
3005 (xdr_bytes): Reword fall-through comment.
3006 (xdr_string): Likewise.
3008 2019-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3011 * nptl/Makefile (lpthread-routines): Remove lll_timedwait_tid.
3012 (tests): Add tst-join8 tst-join9.
3013 * nptl/lll_timedwait_tid.c: Remove file.
3014 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: Likewise.
3015 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Likewise.
3016 * sysdeps/sysv/linux/x86_64/lll_timedwait_tid.c: Likewise.
3017 * nptl/pthread_join_common.c (timedwait_tid): New function.
3018 (__pthread_timedjoin_ex): Act as cancellation entrypoint is block
3020 * nptl/tst-join5.c (thread_join): New function.
3021 (tf1, tf2, do_test): Use libsupport and add pthread_timedjoin_np
3023 * nptl/tst-join8.c: New file.
3024 * nptl/tst-join9.c: Likewise.
3025 * sysdeps/nptl/lowlevellock-futex.h (lll_futex_wait_cancel,
3026 lll_futex_timed_wait_cancel): Add generic macros.
3027 * sysdeps/nptl/lowlevellock.h (__lll_timedwait_tid, lll_wait_tid):
3029 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3030 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3031 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3032 * sysdeps/sparc/sparc32/lowlevellock.c (__lll_timedwait_tid):
3034 * sysdeps/unix/sysv/linux/i386/lowlevellock.S (__lll_timedwait_tid):
3036 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3037 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
3038 (lll_futex_timed_wait_cancel): New macro.
3040 2019-02-14 Wilco Dijkstra <wdijkstr@arm.com>
3042 * benchtests/Makefile: Add malloc-simple benchmark.
3043 * benchtests/bench-malloc-simple.c: New benchmark.
3045 2019-02-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
3047 * benchtests/bench-memmove.c (do_one_test): Remove unused
3050 * benchtests/bench-memmove-large.c (do_one_test): Remove unused
3054 2019-01-13 Jim Wilson <jimw@sifive.com>
3057 * elf/Makefile (CFLAGS-tst-unwind-main.c): Add -DUSE_PTHREADS=0.
3058 * elf/tst-unwind-main.c: If USE_PTHEADS, include pthread.h and error.h
3060 (main): If USE_PTHREADS, call pthread_create to run func. Otherwise
3062 * nptl/Makefile (tests): Add tst-unwind-thread.
3063 (CFLAGS-tst-unwind-thread.c): Define.
3064 * nptl/tst-unwind-thread.c: New file.
3065 * sysdeps/unix/sysv/linux/riscv/clone.S (__thread_start): Mark ra
3068 2019-02-13 Joseph Myers <joseph@codesourcery.com>
3070 * iconvdata/cns11643.h (ucs4_to_cns11643): Adjust fall-through
3072 * nis/nis_call.c (__do_niscall3): Likewise.
3074 * catgets/gencat.c (normalize_line): Use braces around empty
3076 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
3077 (STAP_PROBE0): Use do {} while (0) for do-nothing definition.
3078 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE1): Likewise.
3079 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE2): Likewise.
3080 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE3): Likewise.
3081 [!USE_STAP_PROBE && !__ASSEMBLER__] (STAP_PROBE4): Likewise.
3082 * libio/libio.h (_IO_funlockfile): Use ((void) 0) for do-nothing
3085 * support/test-container.c (recursive_remove): Use FAIL_EXIT1 if
3088 2019-02-12 Wilco Dijkstra <wdijkstr@arm.com>
3090 * benchtests/bench-strcasecmp.c (stupid_strcasecmp): Remove.
3091 * benchtests/bench-strcasestr.c (stupid_strcasestr): Remove.
3092 * benchtests/bench-strchr.c (stupid_strchr): Remove.
3093 * benchtests/bench-strcmp.c (stupid_strcmp): Remove.
3094 * benchtests/bench-strcspn.c (stupid_strcspn): Remove.
3095 * benchtests/bench-strlen.c (builtin_strlen): Remove.
3096 * benchtests/bench-strncasecmp.c (stupid_strncasecmp): Remove.
3097 * benchtests/bench-strncmp.c (stupid_strncmp): Remove.
3098 * benchtests/bench-strpbrk.c (stupid_strpbrk): Remove.
3099 * benchtests/bench-strspn.c (stupid_strspn): Remove.
3100 * benchtests/Makefile: Remove bench-bcopy.c and bench-bzero.c.
3101 * benchtests/bench-bcopy.c: Delete file.
3102 * benchtests/bench-bzero.c: Likewise.
3103 * benchtests/bench-memccpy.c (stupid_memccpy): Remove.
3104 (simple_memccpy): Remove.
3105 (generic_memccpy): Add function.
3106 * benchtests/bench-memcpy.c: (builtin_memcpy): Remove.
3107 * benchtests/bench-memmove.c (simple_bcopy): Remove.
3108 * benchtests/bench-mempcpy.c (simple_mempcpy): Remove.
3109 (generic_mempcpy): Add new function.
3110 * benchtests/bench-memset.c (simple_bzero): Remove.
3111 (builtin_bzero): Remove.
3112 (builtin_memset): Remove.
3113 * benchtests/bench-rawmemchr.c (simple_rawmemchr): Remove.
3114 (generic_rawmemchr): Add new function.
3116 2019-02-12 Florian Weimer <fweimer@redhat.com>
3118 * nss/getent.c (ahosts_keys_int): Include IPv6 scope ID in output.
3120 2019-02-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3123 * elf/Makefile (tests): Add tst-audit13.
3124 (modules-names): Add tst-audit13mod1.
3125 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3127 * elf/tst-audit13.c: New file.
3128 * elf/tst-audit13mod1.c: Likewise.
3130 2019-02-12 Florian Weimer <fweimer@redhat.com>
3133 * elf/rtld.c (unload_audit_module): New function.
3134 (report_audit_module_load_error): Likewise.
3135 (load_audit_module): Likewise. Extracted from dl_main. Call
3136 _dl_close if the laversion symbol cannot be found. Use early
3137 returns for error handling. Add malloc error check. Check for a
3138 zero return value from la_version. Remove spurious comment about
3139 static TLS initialization. Remove useless casts.
3140 (notify_audit_modules_of_loaded_object): New function. Extracted
3142 (load_audit_module): Likewise.
3143 (dl_main): Call load_audit_modules.
3145 2019-02-12 Joseph Myers <joseph@codesourcery.com>
3147 * elf/dl-exception.c (_dl_exception_create_format): Add
3148 fall-through comments.
3149 * elf/ldconfig.c (parse_conf_include): Likewise.
3150 * elf/rtld.c (print_statistics): Likewise.
3151 * locale/programs/charmap.c (parse_charmap): Likewise.
3152 * misc/mntent_r.c (__getmntent_r): Likewise.
3153 * posix/wordexp.c (parse_arith): Likewise.
3154 (parse_backtick): Likewise.
3155 * resolv/ns_ttl.c (ns_parse_ttl): Likewise.
3156 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
3157 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
3159 2019-02-11 Paul A. Clarke <pc@us.ibm.com>
3161 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrtf):
3162 Use float instead of double.
3164 2019-02-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3166 * time/strftime_l.c: Fix a few whitespace arrangement inconsistencies.
3168 2019-02-08 Joseph Myers <joseph@codesourcery.com>
3170 * sysdeps/powerpc/bits/mathinline.h: Remove.
3172 2019-02-08 Florian Weimer <fweimer@redhat.com>
3174 math: Enable <bits/math-finite.h> sysdeps override, as used on ia64.
3175 * math/bits/math-finite.h: Move to ...
3176 * bits/math-finite.h: ... here.
3178 2019-02-08 Florian Weimer <fweimer@redhat.com>
3180 * sysdeps/generic/bits/unistd_ext.h: Move to ...
3181 * bits/unistd_ext.h: here.
3183 2019-02-08 Patsy Griffin Franklin <pfrankli@redhat.com>
3186 * nss/Makefile (test-container): Add tst-nss-files-hosts-long.
3187 * nss/tst-nss-files-hosts-long.c: New file.
3188 * nss/tst-nss-files-hosts-long.root: New directory.
3189 * nss/tst-nss-files-hosts-long.root/etc: Likewise.
3190 * nss/tst-nss-files-hosts-long.root/etc/hosts: New file.
3192 2019-02-08 Florian Weimer <fweimer@redhat.com>
3194 * include/bits/unistd_ext.h: Remove file.
3195 * posix/bits/unistd_ext.h: Move to ...
3196 * sysdeps/generic/bits/unistd_ext.h: ... here.
3198 2019-02-08 Florian Weimer <fweimer@redhat.com>
3200 * include/bits/unistd_ext.h: New file.
3202 2019-02-08 TAMUKI Shoichi <tamuki@linet.gr.jp>
3204 * time/tst-strftime2.c: Use array_length macros instead of magic
3207 2019-02-08 Florian Weimer <fweimer@redhat.com>
3210 * sysdeps/nptl/fork.h (__run_fork_handlers): Add multiple_threads
3212 * nptl/register-atfork.c (__run_fork_handlers): Only perform
3213 locking if the new do_locking argument is true.
3214 * sysdeps/nptl/fork.c (__libc_fork): Pass multiple_threads to
3215 __run_fork_handlers.
3217 2019-02-08 Florian Weimer <fweimer@redhat.com>
3220 Linux: Add gettid system call wrapper.
3221 * posix/Makefile (headers): Add bits/unistd_ext.h.
3222 * posix/bits/unistd_ext.h: New file.
3223 * posix/unistd.h: Include it.
3224 * manual/process.texi (Process Identification): Document gettid.
3225 * sysdeps/unix/sysv/linux/Makefile [subdir == misc] (tests): Add
3226 tst-gettid, tst-gettid-kill.
3227 (tst-gettid): Link with $(shared-thread-library).
3228 * sysdeps/unix/sysv/linux/Version (GLIBC_2.30): Export gettid.
3229 * sysdeps/unix/sysv/linux/bits/unistd_ext.h: New file.
3230 * sysdeps/unix/sysv/linux/bits/syscalls.list (gettid): Add.
3231 * sysdeps/unix/sysv/linux/bits/tst-gettid.c: New file.
3232 * sysdeps/unix/sysv/linux/bits/tst-gettid-kill.c: Likewise.
3233 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.30):
3235 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.30):
3237 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.30): Likewise.
3238 * sysdeps/unix/sysv/linux/csky/libc.abilist (GLIBC_2.30):
3240 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.30):
3242 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.30):
3244 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.30):
3246 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.30):
3248 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.30):
3250 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.30):
3252 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3253 (GLIBC_2.30): Likewise.
3254 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3255 (GLIBC_2.30): Likewise.
3256 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3257 (GLIBC_2.30): Likewise.
3258 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3259 (GLIBC_2.30): Likewise.
3260 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.30):
3262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3263 (GLIBC_2.30): Likewise.
3264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3265 (GLIBC_2.30): Likewise.
3266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/libc.abilist
3267 (GLIBC_2.30): Likewise.
3268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/libc.abilist
3269 (GLIBC_2.30): Likewise.
3270 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.30):
3272 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.30):
3274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.30):
3276 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.30): Likewise.
3277 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.30):
3279 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.30):
3281 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.30):
3283 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.30):
3285 * sysdeps/unix/sysv/linux/tst-setgetname.c (gettid): Remove.
3287 2019-02-08 Florian Weimer <fweimer@redhat.com>
3289 * rt/clock-compat.c (COMPAT_REDIRECT): Turn librt forwarders into
3290 compatibility symbols.
3292 2019-02-07 Stefan Liebler <stli@linux.ibm.com>
3295 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
3296 Add compiler barriers and comments.
3298 2019-02-07 Florian Weimer <fweimer@redhat.com>
3300 * include/array_length.h (array_length): Do not use a statement
3301 expression and _Static_assert, so that array_length can be used at
3302 file scope and as a constant expression.
3304 2019-02-07 Florian Weimer <fweimer@redhat.com>
3306 * support/xdlfcn.h (xdlmopen): Declare.
3307 * support/xdlmopen.c: New file.
3308 * support/Makefile (libsupport-routines): Add xdlmopen.
3310 2019-02-06 Joseph Myers <joseph@codesourcery.com>
3312 * elf/dl-load.h (_dl_postprocess_loadcmd): Use __always_inline
3313 before return type, without separate inline.
3314 * elf/dl-tunables.c (maybe_enable_malloc_check): Likewise.
3315 * elf/dl-tunables.h (tunable_is_name): Likewise.
3316 * malloc/malloc.c (do_set_trim_threshold): Likewise.
3317 (do_set_top_pad): Likewise.
3318 (do_set_mmap_threshold): Likewise.
3319 (do_set_mmaps_max): Likewise.
3320 (do_set_mallopt_check): Likewise.
3321 (do_set_perturb_byte): Likewise.
3322 (do_set_arena_test): Likewise.
3323 (do_set_arena_max): Likewise.
3324 (do_set_tcache_max): Likewise.
3325 (do_set_tcache_count): Likewise.
3326 (do_set_tcache_unsorted_limit): Likewise.
3327 * nis/nis_subr.c (count_dots): Likewise.
3328 * nptl/allocatestack.c (advise_stack_range): Likewise.
3329 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Likewise.
3331 (reduce_sincos): Likewise.
3332 (do_sincos): Likewise.
3333 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3334 (do_set_elision_enable): Likewise.
3335 (TUNABLE_CALLBACK_FNDECL): Likewise.
3337 2019-02-06 Florian Weimer <fweimer@redhat.com>
3339 * support/xdlfcn.c (xdlopen, xdlclose): Do not call dlerror.
3340 (xdlsym): Use dlerror to detect a NULL symbol.
3342 2019-02-06 Florian Weimer <fweimer@redhat.com>
3344 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Do not include
3346 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3348 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3350 * libio/tst-bz24153.c (wide): Use wide char format specifier.
3352 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3354 * sysdeps/s390/wmemcmp-vx.S: Add strong alias to
3355 __wmemcmp and weak alias to wmemcmp.
3357 2019-02-06 Stefan Liebler <stli@linux.ibm.com>
3360 * nptl/allocatestack.c (allocate_stack): Align pointer pd for
3361 TLS_TCB_AT_TP tls variant.
3362 * nptl/tst-tls1.c: Migrate to support/test-driver.c.
3363 Add alignment checks.
3364 * support/Makefile (libsupport-routines): Add xposix_memalign and
3366 * support/support.h: Add xposix_memalign.
3367 * support/xthread.h: Add xpthread_attr_setstack.
3368 * support/xposix_memalign.c: New File.
3369 * support/xpthread_attr_setstack.c: Likewise.
3371 2019-02-05 Florian Weimer <fweimer@redhat.com>
3374 arm: Use "nr" constraint for Systemtap probes, to avoid the
3375 compiler using memory operands for constants, due to the "o"
3376 alternative in the default "nor" constraint.
3377 * include/stap-probe.h [USE_STAP_PROBE]: Include
3378 <stap-probe-machine.h>
3379 * sysdeps/generic/stap-probe-machine.h: New file.
3380 * sysdeps/arm/stap-probe-machine.h: Likewise.
3382 2019-02-04 Joseph Myers <joseph@codesourcery.com>
3384 * malloc/malloc.c (tcache_get): Compare tcache->counts[tc_idx]
3385 with 0, not tcache->entries[tc_idx].
3387 * nscd/connections.c (reqinfo): Initialize SHUTDOWN element only
3390 2019-02-04 Andreas Schwab <schwab@suse.de>
3394 * posix/fnmatch_loop.c (internal_fnmatch, internal_fnwmatch): When
3395 looking up collating elements match against (wide) character
3396 sequence instead of name. Correct alignment adjustment.
3397 * posix/fnmatch.c: Don't include "../locale/elem-hash.h".
3398 (WMEMCMP) [HANDLE_MULTIBYTE]: Define.
3399 * posix/Makefile (tests): Add tst-fnmatch4 and tst-fnmatch5.
3400 (LOCALES): Add cs_CZ.ISO-8859-2.
3401 * posix/tst-fnmatch4.c: New file.
3402 * posix/tst-fnmatch5.c: New file.
3403 * include/wchar.h (__wmemcmp): Declare.
3404 * wcsmbs/wmemcmp.c: Define __wmemcmp and add wmemcmp as weak alias.
3405 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
3406 * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
3407 * sysdeps/s390/wmemcmp.c: Likewise.
3409 2019-02-04 H.J. Lu <hongjiu.lu@intel.com>
3413 * NEWS: Updated for CVE-2019-7309.
3414 * sysdeps/x86_64/memcmp.S: Use RDX_LP for size. Clear the
3415 upper 32 bits of RDX register for x32. Use unsigned Jcc
3416 instructions, instead of signed.
3417 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp-2.
3418 * sysdeps/x86_64/x32/tst-size_t-memcmp-2.c: New test.
3420 2019-02-04 Florian Weimer <fweimer@redhat.com>
3422 * posix/spawn.h (posix_spawn, posix_spawnp): Add __nonnull attribute.
3423 (posix_spawnattr_init, posix_spawnattr_destroy): Likewise.
3424 (posix_spawnattr_getsigdefault, posix_spawnattr_setsigdefault):
3426 (posix_spawnattr_getsigmask, posix_spawnattr_setsigmask): Likewise.
3427 (posix_spawnattr_getflags, posix_spawnattr_setflags): Likewise.
3428 (posix_spawnattr_getpgroup, posix_spawnattr_setpgroup): Likewise.
3429 (posix_spawnattr_getschedpolicy, posix_spawnattr_setschedpolicy):
3431 (posix_spawnattr_getschedparam, posix_spawnattr_setschedparam):
3433 (posix_spawn_file_actions_init, posix_spawn_file_actions_destroy):
3435 (posix_spawn_file_actions_addopen): Likewise.
3436 (posix_spawn_file_actions_addclose): Likewise.
3437 (posix_spawn_file_actions_adddup2): Likewise.
3438 (posix_spawn_file_actions_addchdir_np): Likewise. Add __restrict
3440 (posix_spawn_file_actions_addfchdir_np): Likewise.
3442 2019-02-04 David Newall <glibc@davidnewall.com>
3444 elf: Implement --preload option for the dynamic linker.
3445 * elf/rtld.c (preloadarg): New variable.
3446 (handle_preload_list): Pass through “where” argument to
3448 (dl_main): Handle "--preload" and add second call to
3449 handle_preload_list.
3450 * elf/Makefile (tests-special): Add tst-rtld-preload.out.
3451 (tst-rtld-preload-OBJS): Set variable.
3452 (tst-rtld-preload.out): New target.
3453 * elf/tst-rtld-preload.sh: New file.
3455 2019-02-04 Matthew Malcomson <matthew.malcomson@arm.com>
3457 * Makefile (testrun.sh): Exit in case of incorrect argument.
3459 2019-02-04 Florian Weimer <fweimer@redhat.com>
3461 * time/tzfile.c (__tzfile_read): Reorder suballocations to avoid
3464 2019-02-03 Florian Weimer <fweimer@redhat.com>
3466 * time/tzfile.c (__tzfile_read): Use struct alloc_buffer and its
3467 implicit overflow checks.
3469 2019-02-03 Aurelien Jarno <aurelien@aurel32.net>
3471 * stdlib/isomac.c: Include <unistd.h>.
3473 2019-02-03 Florian Weimer <fweimer@redhat.com>
3475 * include/time.h (__tzfile_default): Use int, not long int, for
3477 * time/tzfile.c (struct ttinfo): Change type of the offset member
3479 (__tzfile_read): Remove useless cast.
3480 (__tzfile_default): Adjust prototype.
3481 * time/tzset.c (tz_rule): Change type of the offset member to int.
3482 (parse_offset): Change the type of the sign variable to int.
3484 2019-02-03 Florian Weimer <fweimer@redhat.com>
3487 * debug/gets_chk.c (__gets_chk): Use stdin instead of _IO_stdin.
3488 * libio/getchar.c (getchar): Likewise.
3489 * libio/getchar_u.c (getchar_unlocked): Likewise.
3490 * libio/getwchar.c (getwchar): Likewise.
3491 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
3492 * libio/iogets.c (_IO_gets): Likewise.
3493 * libio/vscanf.c (_IO_vscanf): Likewise.
3494 * libio/vwscanf.c (__vwscanf): Likewise.
3495 * libio/tst-bz24153.c: New file.
3496 * libio/Makefile (tests): Add it.
3498 2019-02-02 Florian Weimer <fweimer@redhat.com>
3501 * manual/resource.texi (Basic Scheduling Functions): Add
3502 portability note. Change process to task throughout the section.
3503 Remove incorrect comment about sched_yield as it affects
3504 tasks/threads, not entire processes.
3505 * sysdeps/unix/sysv/linux/bits/posix_opt.h
3506 (_POSIX_PRIORITY_SCHEDULING): Update comment.
3508 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3510 * configure.ac (libc_cv_compiler_ok): Require GCC 6.2 or later.
3511 * configure: Regenerated.
3512 * manual/install.texi (Tools for Compilation): Update minimum GCC
3514 * INSTALL: Regenerated.
3516 2019-02-01 Florian Weimer <fweimer@redhat.com>
3518 * support/support_test_compare_string.c
3519 (support_test_compare_string): Use "string" in error message.
3520 * support/tst-test_compare_string.c (do_test): Adjust.
3522 2019-02-01 Florian Weimer <fweimer@redhat.com>
3524 * support/support_format_address_family.c
3525 (support_format_address_family): Handle AF_LOCAL, AF_UNSPEC.
3527 2019-02-01 Florian Weimer <fweimer@redhat.com>
3529 * manual/socket.texi (Internet Address Formats): Clarify the byte
3530 order of struct sockaddr_in, struct sockaddr_in6. Document
3531 sin6_flowinfo and sin6_scope_id.
3533 2019-02-01 Wilco Dijkstra <wdijkstr@arm.com>
3535 * sysdeps/posix/clock_getres.c (__clock_getres): Cleanup.
3536 * sysdeps/unix/clock_gettime.c (__clock_gettime): Cleanup.
3537 * sysdeps/unix/clock_settime.c (__clock_settime): Cleanup.
3538 * sysdeps/unix/sysv/linux/clock_getres.c (__clock_getres): Cleanup.
3539 * sysdeps/unix/sysv/linux/clock_gettime.c (__clock_gettime): Cleanup.
3540 * sysdeps/unix/sysv/linux/clock_settime.c (__clock_settime): Cleanup.
3542 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3544 * sysdeps/aarch64/memchr.S (__memchr): Rename to MEMCHR.
3545 [!MEMCHR](MEMCHR): Set to __memchr.
3546 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3547 Add memchr_generic and memchr_nosimd.
3548 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3549 (__libc_ifunc_impl_list): Add memchr ifuncs.
3550 * sysdeps/aarch64/multiarch/memchr.c: New file.
3551 * sysdeps/aarch64/multiarch/memchr_generic.S: Likewise.
3552 * sysdeps/aarch64/multiarch/memchr_nosimd.S: Likewise.
3554 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3556 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
3558 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
3559 (__libc_ifunc_impl_list): Add __memset_emag to memset ifunc.
3560 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc):
3561 Add IS_EMAG check for ifunc dispatch.
3562 * sysdeps/aarch64/multiarch/memset_base64.S: New file.
3563 * sysdeps/aarch64/multiarch/memset_emag.S: New file.
3565 2019-02-01 Feng Xue <fxue@os.amperecomputing.com>
3567 * manual/tunables.texi (Tunable glibc.cpu.name): Add emag.
3568 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
3570 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_EMAG):
3573 2019-02-01 Stefan Liebler <stli@linux.ibm.com>
3575 * posix/tst-spawn do_test(): Move waitpid before posix_spawn.
3577 2019-01-31 Vineet Gupta <vgupta@synopsys.com>
3579 * sysdeps/unix/make-syscalls.sh: Fix comment referencing
3580 syscall-template file.
3582 2019-01-31 Carlos O'Donell <carlos@redhat.com>
3583 Torvald Riegel <triegel@redhat.com>
3584 Rik Prohaska <prohaska7@gmail.com>
3587 * nptl/Makefile (tests): Add tst-rwlock-tryrdlock-stall, and
3588 tst-rwlock-trywrlock-stall.
3589 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
3590 Wake waiters if PTHREAD_RWLOCK_FUTEX_USED is set.
3591 * nptl/pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
3592 Set __wrphase_fute to 1 only if we started the write phase.
3593 * nptl/tst-rwlock-tryrdlock-stall.c: New file.
3594 * nptl/tst-rwlock-trywrlock-stall.c: New file.
3595 * support/Makefile (libsupport-routines): Add xpthread_rwlock_destroy.
3596 * support/xpthread_rwlock_destroy.c: New file.
3597 * support/xthread.h: Declare xpthread_rwlock_destroy.
3599 2019-02-01 Joseph Myers <joseph@codesourcery.com>
3601 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
3604 2019-01-31 Paul Pluzhnikov <ppluzhnikov@google.com>
3607 * libio/ioputs.c (_IO_puts): Use stdout instead of _IO_stdout.
3608 * libio/fileops.c (_IO_new_file_underflow): Likewise
3609 * libio/wfileops.c (_IO_wfile_underflow): Likewise
3610 * libio/putchar.c (putchar): Likewise.
3611 * libio/putchar_u.c (putchar_unlocked): Likewise.
3612 * libio/putwchar.c (putchar): Likewise.
3613 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
3614 * libio/tst-bz24051.c: New test.
3615 * libio/Makefile (tests): Add tst-bz24051
3617 2019-01-31 Paul Eggert <eggert@cs.ucla.edu>
3620 regex: fix read overrun [BZ #24114]
3621 Problem found by AddressSanitizer, reported by Hongxu Chen in:
3622 https://debbugs.gnu.org/34140
3623 * posix/regexec.c (proceed_next_node):
3624 Do not read past end of input buffer.
3626 2019-01-31 Florian Weimer <fweimer@redhat.com>
3629 * nss/nss_files/files-alias.c (get_next_alias): Handle
3630 continuation line without newline at the end.
3631 * nss/tst-nss-files-alias-truncated.c: New file.
3632 * nss/Makefile [$(build-shared)] (tests): Add
3633 tst-nss-files-alias-truncated.
3634 (tst-nss-files-alias-truncated): Link with libnss_files.so.
3635 * support/namespace.h (struct support_chroot_configuration): Add
3637 (struct support_chroot): Add path_aliases member.
3638 * support/support_chroot.c (support_chroot_create): Handle
3640 (support_chroot_free): Free path_aliases.
3642 2019-01-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
3644 * version.h (RELEASE): Set to "development".
3645 (VERSION): Set to "2.29.9000".
3646 * NEWS: Add section for 2.30.
3648 * version.h (RELEASE): Set to "stable".
3649 (VERSION): Set to "2.29".
3650 * include/features.h (__GLIBC_MINOR__): Set to 2.29.
3652 * NEWS: Add the list of bugs fixed in 2.29.
3653 * manual/contrib.texi: Update contributors list with some more
3655 * manual/install.texi: Update latest versions of packages
3657 * INSTALL: Regenerated.
3659 2019-01-25 Siddhesh Poyarekar <siddhesh@sourceware.org>
3661 * po/be.po: Update translations.
3662 * po/bg.po: Likewise.
3663 * po/ca.po: Likewise.
3664 * po/cs.po: Likewise.
3665 * po/da.po: Likewise.
3666 * po/de.po: Likewise.
3667 * po/el.po: Likewise.
3668 * po/eo.po: Likewise.
3669 * po/es.po: Likewise.
3670 * po/fi.po: Likewise.
3671 * po/fr.po: Likewise.
3672 * po/gl.po: Likewise.
3673 * po/hr.po: Likewise.
3674 * po/hu.po: Likewise.
3675 * po/ia.po: Likewise.
3676 * po/id.po: Likewise.
3677 * po/it.po: Likewise.
3678 * po/ja.po: Likewise.
3679 * po/ko.po: Likewise.
3680 * po/lt.po: Likewise.
3681 * po/nb.po: Likewise.
3682 * po/nl.po: Likewise.
3683 * po/pl.po: Likewise.
3684 * po/pt_BR.po: Likewise.
3685 * po/ru.po: Likewise.
3686 * po/rw.po: Likewise.
3687 * po/sk.po: Likewise.
3688 * po/sl.po: Likewise.
3689 * po/sv.po: Likewise.
3690 * po/tr.po: Likewise.
3691 * po/uk.po: Likewise.
3692 * po/vi.po: Likewise.
3693 * po/zh_CN.po: Likewise.
3694 * po/zh_TW.po: Likewise.
3696 2019-01-24 Uroš Bizjak <ubizjak@gmail.com>
3699 * sysdeps/alpha/remqu.S (__remqu): Add missing restore
3700 of $f3 register on $y_is_neg path.
3702 2019-01-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
3705 * hurd/hurdsig.c (_hurd_thread_sigstate): Set SS_DISABLE in
3706 sigaltstack.ss_flags.
3708 2019-01-24 TAMUKI Shoichi <tamuki@linet.gr.jp>
3711 * manual/time.texi (strftime): Document "%Ey".
3712 * time/strftime_l.c (__strftime_internal): Set the default width
3713 padding with zero of "%Ey" to 2.
3716 * manual/time.texi (strftime): Document "%EC" and "%EY".
3717 * time/Makefile (tests): Add tst-strftime2.
3718 (LOCALES): Add ja_JP.UTF-8, lo_LA.UTF-8, and th_TH.UTF-8.
3719 * time/strftime_l.c (__strftime_internal): Add argument yr_spec to
3720 override padding for "%Ey".
3721 If an optional flag ('_' or '-') is specified to "%EY", interpret the
3722 "%Ey" in the subformat as if decorated with that flag.
3723 * time/tst-strftime2.c: New file.
3725 2019-01-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3727 * support/xsigstack.c (MAP_NORESERVE, MAP_STACK): Define if they
3731 * elf/Makefile (tests): Add tst-audit13.
3732 (modules-names): Add tst-audit13mod1.
3733 (tst-audit13.out, LDFLAGS-tst-audit13mod1.so, tst-audit13-ENV): New
3735 * elf/rtld.c (dl_main): Handle invalid audit module version.
3736 * elf/tst-audit13.c: New file.
3737 * elf/tst-audit13mod1.c: Likewise.
3739 2019-01-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
3741 * sysdeps/mach/hurd/faccessat.c (__faccessat_common): Check for errors
3742 returned by __hurd_at_flags.
3743 * hurd/lookup-at.c (__file_name_lookup_at): When at_flags contains
3744 AT_EMPTY_PATH, call __dir_lookup and __hurd_file_name_lookup_retry
3745 directly instead of __hurd_file_name_lookup.
3747 2019-01-21 Joseph Myers <joseph@codesourcery.com>
3749 * scripts/build-many-glibcs.py (Context.checkout): Default
3750 binutils version to 2.32 branch.
3752 2019-01-21 Florian Weimer <fweimer@redhat.com>
3756 resolv: Reject trailing characters in host names
3757 * include/arpa/inet.h (__inet_aton_exact): Declare.
3758 (inet_aton): Remove hidden prototype. No longer used internally.
3759 * nscd/gai.c (__inet_aton): Do not define.
3760 * nscd/gethstbynm3_r.c (__inet_aton): Likewise.
3761 * nss/digits_dots.c (__inet_aton): Likewise.
3762 (__nss_hostname_digits_dots_context): Call __inet_aton_exact.
3763 * resolv/Makefile (tests-internal): Add tst-inet_aton_exact.
3764 (tests): Add tst-resolv-nondecimal, tst-resolv-trailing.
3765 (tst-resolv-nondecimal): Link with libresolv.so and libpthread.
3766 (tst-resolv-trailing): Likewise.
3767 * resolv/Versions (GLIBC_PRIVATE): Export __inet_aton_exact from
3769 * resolv/inet_addr.c (inet_aton_end): Remame from __inet_aton.
3770 Make static. Add endp parameter.
3771 (__inet_aton_exact): New function.
3772 (__inet_aton_ignore_trailing): New function, aliased to inet_aton.
3773 (__inet_addr): Call inet_aton_end.
3774 * resolv/res_init.c (res_vinit_1): Truncate nameserver for IPv4,
3775 not just IPv6. Call __inet_aton_exact.
3776 * resolv/tst-aton.c: Switch to <support/test-driver.c>.
3777 (tests): Make const. Add additional test cases with trailing
3779 (do_test): Use array_length.
3780 * resolv/tst-inet_aton_exact.c: New file.
3781 * resolv/tst-resolv-trailing.c: Likewise.
3782 * resolv/tst-resolv-nondecimal.c: Likewise.
3783 * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_aton_exact.
3785 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3789 * sysdeps/x86_64/multiarch/strlen-avx2.S: Use RSI_LP for length.
3790 Clear the upper 32 bits of RSI register.
3791 * sysdeps/x86_64/strlen.S: Use RSI_LP for length.
3792 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strnlen
3793 and tst-size_t-wcsnlen.
3794 * sysdeps/x86_64/x32/tst-size_t-strnlen.c: New file.
3795 * sysdeps/x86_64/x32/tst-size_t-wcsnlen.c: Likewise.
3797 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3801 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Use RDX_LP for length.
3802 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3803 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3804 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncpy.
3805 * sysdeps/x86_64/x32/tst-size_t-strncpy.c: New file.
3807 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3811 * sysdeps/x86_64/multiarch/strcmp-avx2.S: Use RDX_LP for length.
3812 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3813 * sysdeps/x86_64/strcmp.S: Likewise.
3814 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-strncasecmp,
3815 tst-size_t-strncmp and tst-size_t-wcsncmp.
3816 * sysdeps/x86_64/x32/tst-size_t-strncasecmp.c: New file.
3817 * sysdeps/x86_64/x32/tst-size_t-strncmp.c: Likewise.
3818 * sysdeps/x86_64/x32/tst-size_t-wcsncmp.c: Likewise.
3820 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3824 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: Use
3825 RDX_LP for length. Clear the upper 32 bits of RDX register.
3826 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Likewise.
3827 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-wmemset.
3828 * sysdeps/x86_64/x32/tst-size_t-memset.c: New file.
3829 * sysdeps/x86_64/x32/tst-size_t-wmemset.c: Likewise.
3831 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3835 * sysdeps/x86_64/memrchr.S: Use RDX_LP for length.
3836 * sysdeps/x86_64/multiarch/memrchr-avx2.S: Likewise.
3837 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memrchr.
3838 * sysdeps/x86_64/x32/tst-size_t-memrchr.c: New file.
3840 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3844 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Use RDX_LP for
3845 length. Clear the upper 32 bits of RDX register.
3846 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3847 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
3849 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
3851 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcpy.
3853 * sysdeps/x86_64/x32/tst-size_t-memcpy.c: New file.
3855 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3859 * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S: Use RDX_LP for
3860 length. Clear the upper 32 bits of RDX register.
3861 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3862 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3863 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memcmp and
3865 * sysdeps/x86_64/x32/tst-size_t-memcmp.c: New file.
3866 * sysdeps/x86_64/x32/tst-size_t-wmemcmp.c: Likewise.
3868 2019-01-21 H.J. Lu <hongjiu.lu@intel.com>
3872 * sysdeps/x86_64/memchr.S: Use RDX_LP for length. Clear the
3873 upper 32 bits of RDX register.
3874 * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
3875 * sysdeps/x86_64/x32/Makefile (tests): Add tst-size_t-memchr and
3877 * sysdeps/x86_64/x32/test-size_t.h: New file.
3878 * sysdeps/x86_64/x32/tst-size_t-memchr.c: Likewise.
3879 * sysdeps/x86_64/x32/tst-size_t-wmemchr.c: Likewise.
3881 2019-01-18 Florian Weimer <fweimer@redhat.com>
3884 resolv: Do not send queries for non-host-names in nss_dns.
3885 * resolv/nss_dns/dns-host.c (check_name): New function.
3886 (_nss_dns_gethostbyname2_r): Use it.
3887 (_nss_dns_gethostbyname_r): Likewise.
3888 (_nss_dns_gethostbyname4_r): Likewise.
3890 2019-01-21 Florian Weimer <fweimer@redhat.com>
3892 * resolv/inet_addr.c: Reformat to GNU style.
3893 (__inet_addr, __inet_aton): Update comment.
3895 2019-01-18 Florian Weimer <fweimer@redhat.com>
3897 malloc: Revert commit 6923f6db1e688dedcf3a6556da76e0bf24a41872
3898 ("malloc: Use current (C11-style) atomics for fastbin access").
3899 This commit introduces a substantial performance regression on
3901 * malloc/malloc.c (fastbin_push_entry, fastbin_pop_entry): Remove.
3902 (REMOVE_FB): Define.
3903 (_int_malloc): Use it and reindent.
3904 (_int_free): Use CAS loop with
3905 catomic_compare_and_exchange_val_rel.
3906 (malloc_consolidate): Use atomic_exchange_acq.
3909 2019-01-18 H.J. Lu <hongjiu.lu@intel.com>
3911 * signal/Makefile (LDFLAGS-tst-minsigstksz-1): New. Set to
3913 (LDFLAGS-tst-minsigstksz-2): Likewise.
3914 (LDFLAGS-tst-minsigstksz-3): Likewise.
3915 (LDFLAGS-tst-minsigstksz-3a): Likewise.
3916 (LDFLAGS-tst-minsigstksz-4): Likewise.
3918 2019-01-18 TAMUKI Shoichi <tamuki@linet.gr.jp>
3920 * manual/time.texi (strftime): Fix the wording to "alternative" rather
3923 2019-01-16 Paul A. Clarke <pc@us.ibm.com>
3925 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Fix #ifdef.
3927 2019-01-16 Zack Weinberg <zackw@panix.com>
3929 * support/xsignal.h (xalloc_sigstack, xfree_sigstack)
3930 (xget_sigstack_location): New test support functions.
3931 * support/xsigstack.c: New file, implementing them.
3932 * support/tst-xsigstack.c: New test for them.
3933 * support/Makefile: Update.
3935 * signal/tst-minsigstksz-1.c
3936 * signal/tst-minsigstksz-2.c
3937 * signal/tst-minsigstksz-3.c
3938 * signal/tst-minsigstksz-3a.c
3939 * signal/tst-minsigstksz-4.c: New tests.
3940 * signal/Makefile: Run them.
3942 2019-01-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
3944 * po/libc.pot: Regenerate.
3946 2019-01-15 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
3948 * math/libm-test-fma.inc (fma_test_data): Set
3949 XFAIL_ROUNDING_IBM128_LIBGCC to more tests.
3951 2019-01-15 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3953 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c:
3954 (do_test): Changed __vector __int128_t to __vector unsigned int.
3956 2019-01-14 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
3958 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
3959 strcat-avx2, strncat-avx2, strcpy-avx2, strncpy-avx2,
3960 stpcpy-avx2 and stpncpy-avx2.
3961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c:
3962 (__libc_ifunc_impl_list): Add tests for __strcat_avx2,
3963 __strncat_avx2, __strcpy_avx2, __strncpy_avx2, __stpcpy_avx2
3965 * sysdeps/x86_64/multiarch/{ifunc-unaligned-ssse3.h =>
3966 ifunc-strcpy.h}: rename header for a more generic name.
3967 * sysdeps/x86_64/multiarch/ifunc-strcpy.h:
3968 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
3969 AVX unaligned load is fast and vzeroupper is preferred.
3970 * sysdeps/x86_64/multiarch/stpcpy-avx2.S: New file.
3971 * sysdeps/x86_64/multiarch/stpncpy-avx2.S: Likewise.
3972 * sysdeps/x86_64/multiarch/strcat-avx2.S: Likewise.
3973 * sysdeps/x86_64/multiarch/strcpy-avx2.S: Likewise.
3974 * sysdeps/x86_64/multiarch/strncat-avx2.S: Likewise.
3975 * sysdeps/x86_64/multiarch/strncpy-avx2.S: Likewise.
3977 2019-01-12 Dmitry V. Levin <ldv@altlinux.org>
3979 * argp/argp-help.c: Fix typo in comment.
3980 * misc/sys/cdefs.h: Likewise.
3981 * posix/regexec.c (sift_states_iter_mb): Likewise.
3982 * socket/sockatmark.c: Likewise.
3983 * socket/sys/socket.h: Likewise.
3984 * sysdeps/ia64/fpu/libm_sincos_large.S: Likewise.
3985 * sysdeps/ia64/fpu/libm_sincosl.S: Likewise.
3986 * sysdeps/ia64/fpu/s_cosl.S: Likewise.
3987 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
3988 * sysdeps/unix/sockatmark.c: Likewise.
3989 * time/strptime_l.c: Likewise.
3991 2019-01-11 TAMUKI Shoichi <tamuki@linet.gr.jp>
3993 * time/strftime_l.c (__strftime_internal): Use "L_" macros, also add a
3994 missing space after the cast of "_NL_CURRENT".
3996 2019-01-11 Rogerio A. Cardoso <rcardoso@linux.ibm.com>
3998 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (vscr_t): Added
3999 ifdef to fix read of VSCR.
4000 * sysdeps/powerpc/powerpc64/Makefile [$subdir == stdlib]: Add
4001 tst-ucontext-ppc64-vscr.c to test list.
4002 * sysdeps/powerpc/powerpc64/tst-ucontext-ppc64-vscr.c: New test file.
4004 2019-01-10 Andreas K. Hüttel <dilfridge@gentoo.org>
4006 * resolv/tst-resolv-ai_idn-common.c (response): Avoid switch
4009 2019-01-09 Jim Wilson <jimw@sifive.com>
4011 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
4013 2019-01-09 Wilco Dijkstra <wdijkstr@arm.com>
4015 * manual/tunables.texi (glibc.cpu.name): Add ares tunable.
4016 * sysdeps/aarch64/multiarch/memcpy.c (__libc_memcpy): Use
4017 __memcpy_falkor for ares.
4018 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_ARES):
4020 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
4023 2019-01-07 H.J. Lu <hongjiu.lu@intel.com>
4026 * soft-fp/extenddftf2.c: Use "_FP_W_TYPE_SIZE < 64" to check if
4027 4_FP_W_TYPEs are used for IEEE quad precision.
4028 * soft-fp/extendhftf2.c: Likewise.
4029 * soft-fp/extendsftf2.c: Likewise.
4030 * soft-fp/extendxftf2.c: Likewise.
4031 * soft-fp/trunctfdf2.c: Likewise.
4032 * soft-fp/trunctfhf2.c: Likewise.
4033 * soft-fp/trunctfsf2.c: Likewise.
4034 * soft-fp/trunctfxf2.c: Likewise.
4035 * sysdeps/alpha/ots_cvttx.c: Likewise.
4036 * sysdeps/alpha/ots_cvtxt.c: Likewise.
4037 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
4038 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
4039 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
4040 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
4041 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
4042 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
4043 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
4044 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
4045 * sysdeps/sparc/sparc32/q_dtoq.c: Likewise.
4046 * sysdeps/sparc/sparc32/q_qtod.c: Likewise.
4047 * sysdeps/sparc/sparc32/q_qtos.c: Likewise.
4048 * sysdeps/sparc/sparc32/q_stoq.c: Likewise.
4049 * sysdeps/sparc/sparc64/qp_dtoq.c: Likewise.
4050 * sysdeps/sparc/sparc64/qp_qtod.c: Likewise.
4051 * sysdeps/sparc/sparc64/qp_qtos.c: Likewise.
4052 * sysdeps/sparc/sparc64/qp_stoq.c: Likewise.
4054 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4057 * Makeconfig: Build libm with -fno-math-errno but build the remaining
4058 code with -fmath-errno.
4059 * string/Makefile [$(build-shared)] (tests): Add test-strerror-errno.
4060 [$(build-shared)] (LDLIBS-test-strerror-errno): New variable.
4061 * string/test-strerror-errno.c: New file.
4063 2019-01-07 Aurelien Jarno <aurelien@aurel32.net>
4066 * localedata/locales/en_US (date_fmt): Add, set to
4067 "%a %d %b %Y %r %Z".
4069 2019-01-07 Florian Weimer <fweimer@redhat.com>
4072 * manual/arith.texi (Math Error Reporting): Use @code{errno}
4073 instead of @var{errno}.
4074 (Parsing of Integers): Likewise.
4075 (Parsing of Floats): Likewise.
4076 * manual/filesys.texi (Working with Directory Trees): Likewise.
4077 (Temporary Files): Likewise.
4078 * manual/job.texi (Terminal Access Functions): Likewise.
4079 * manual/llio.texi (Synchronizing I/O): Likewise.
4080 * manual/math.texi (SVID Random): Likewise.
4081 * manual/message.texi (The catgets Functions): Likewise.
4082 (Translation with gettext): Likewise.
4083 (Locating gettext catalog): Likewise.
4084 (Charset conversion in gettext): Likewise.
4085 * manual/nss.texi (NSS Module Function Internals): Likewise.
4086 * manual/search.texi (Hash Search Function): Likewise.
4087 * manual/setjmp.texi (System V contexts): Likewise.
4088 * manual/time.texi (Sleeping): Likewise.
4089 * manual/users.texi (Lookup User): Likewise.
4090 (Lookup Group): Likewise.
4092 2019-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4094 * posix/tst-spawn.c (do_test): Extend spargv to new required size and
4097 2019-01-04 Martin Jansa <Martin.Jansa@gmail.com>
4100 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Use
4101 __builtin_unreachable for default case in switch.
4102 (__ieee754_yn): Likewise.
4103 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
4104 (__ieee754_ynl): Likewise.
4105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
4106 (__ieee754_ynl): Likewise.
4107 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
4108 (__ieee754_ynl): Likewise.
4110 2019-01-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
4112 * manual/maint.texi: Use @{ and @}.
4114 2019-01-04 Florian Weimer <fweimer@redhat.com>
4116 * sysdeps/unix/sysv/linux/tst-ttyname.c (adjust_file_limit): New
4118 (do_in_chroot_1): Call it.
4120 Improve error reporting in case it is not possible to create a
4121 collision for the PTY name required by the test.
4123 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4125 * nptl/pthread_join_common.c (__pthread_timedjoin_ex): Use
4126 lll_wait_tid with timeout.
4127 * nptl/sem_wait.c (__old_sem_wait): Use lll_futex_wait_cancel.
4128 * sysdeps/nptl/aio_misc.h (AIO_MISC_WAIT): Use
4129 futex_reltimed_wait_cancelable for cancelabla mode.
4130 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Likewise.
4131 * sysdeps/posix/open64.c (__libc_open64): Do not call cancelation
4133 * sysdeps/posix/sigwait.c (__sigwait): Likewise.
4134 * sysdeps/posix/waitid.c (__sigwait): Likewise.
4135 * sysdeps/unix/sysdep.h (__SYSCALL_CANCEL_CALL,
4136 SYSCALL_CANCEL_NCS): New macro.
4137 * sysdeps/nptl/lowlevellock.h (lll_wait_tid): Add timeout argument.
4138 (lll_timedwait_tid): Remove macro.
4139 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_wait_tid):
4141 (lll_timedwait_tid): Likewise.
4142 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_wait_tid):
4144 (lll_timedwait_tid): Likewise.
4145 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_wait_tid):
4147 (lll_timedwait_tid): Likewise.
4148 * sysdeps/unix/sysv/linux/clock_nanosleep.c (__clock_nanosleep):
4149 Use INTERNAL_SYSCALL_CANCEL.
4150 * sysdeps/unix/sysv/linux/futex-internal.h
4151 (futex_reltimed_wait_cancelable): Use LIBC_CANCEL_{ASYNC,RESET}
4152 instead of __pthread_{enable,disable}_asynccancel.
4153 * sysdeps/unix/sysv/linux/lowlevellock-futex.h
4154 (lll_futex_wait_cancel): New macro.
4156 * sysdeps/i386/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4157 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4159 * sysdeps/x86_64/nptl/tls.h (THREAD_ATOMIC_CMPXCHG_VAL,
4160 THREAD_ATOMIC_AND, THREAD_ATOMIC_BIT_SET): Remove macros.
4162 * debug/tst-backtrace5.c (handle_signal): Avoid cancellable wrappers
4163 in backtrace analysis.
4164 * nptl/tst-cancel4.c (tf_write): Handle cancelled syscall with
4166 (tf_send): Likewise.
4168 * io/creat.c (LIBC_CANCEL_HANDLED): Remove macro.
4169 * io/ppoll.c (LIBC_CANCEL_HANDLED): Likewise.
4170 * misc/pselect.c (LIBC_CANCEL_HANDLED): Likewise.
4171 * nptl/pthreadP.h (LIBC_CANCEL_HANDLED): Likewise.
4172 * sysdeps/generic/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4173 * sysdeps/mach/hurd/sysdep-cancel.h (LIBC_CANCEL_HANDLED): Likewise.
4174 * sysdeps/posix/pause.c (LIBC_CANCEL_HANDLED): Likewise.
4175 * sysdeps/posix/sigpause.c (LIBC_CANCEL_HANDLED): Likewise.
4176 * sysdeps/unix/sysv/linux/creat.c (LIBC_CANCEL_HANDLED): Likewise.
4177 * sysdeps/unix/sysv/linux/creat64.c (LIBC_CANCEL_HANDLED): Likewise.
4178 * sysdeps/unix/sysv/linux/sigwait.c (LIBC_CANCEL_HANDLED): Likewise.
4179 * sysdeps/unix/sysv/linux/sigwaitinfo.c (LIBC_CANCEL_HANDLED):
4181 * nptl/Makefile [$(run-built-tests) = yes] (tests-special): Remove
4182 tst-cancel-wrappers.sh.
4183 (generated): Remove tst-cancel-wrappers.out.
4184 (tst-cancel-wrappers.out): Remove rule.
4185 * nptl/tst-cancel-wrappers.sh: Remove file.
4187 2019-01-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
4189 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h: Add comment.
4190 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
4193 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4196 * posix/tst-spawn.c (do_prepare, handle_restart, do_test): Add
4197 posix_spawn_file_actions_adddup2 test to check O_CLOCEXEC reset.
4198 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Add
4199 close-on-exec reset for adddup2 file action.
4200 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
4202 2019-01-03 Zack Weinberg <zackw@panix.com>
4204 * include/features.h (__GLIBC_USE_DEPRECATED_SCANF): New __GLIBC_USE
4205 parameter. Only use deprecated scanf when __USE_GNU is defined
4206 and __STDC_VERSION__ is less than 199901L or __cplusplus is less
4207 than 201103L, whichever is relevant for the language being compiled.
4209 * libio/stdio.h, libio/bits/stdio-ldbl.h: Decide whether to redirect
4210 scanf, fscanf, sscanf, vscanf, vfscanf, and vsscanf to their
4211 __isoc99_ variants based only on __GLIBC_USE (DEPRECATED_SCANF).
4212 * wcsmbs/wchar.h: wcsmbs/bits/wchar-ldbl.h: Likewise for
4213 wscanf, fwscanf, swscanf, vwscanf, vfwscanf, and vswscanf.
4217 * libio/iovswscanf.c
4222 * stdio-common/fscanf.c
4223 * stdio-common/scanf.c
4224 * stdio-common/vfscanf.c
4225 * stdio-common/vfwscanf.c
4226 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
4227 * sysdeps/ieee754/ldbl-opt/nldbl-fscanf.c
4228 * sysdeps/ieee754/ldbl-opt/nldbl-fwscanf.c
4229 * sysdeps/ieee754/ldbl-opt/nldbl-iovfscanf.c
4230 * sysdeps/ieee754/ldbl-opt/nldbl-scanf.c
4231 * sysdeps/ieee754/ldbl-opt/nldbl-sscanf.c
4232 * sysdeps/ieee754/ldbl-opt/nldbl-swscanf.c
4233 * sysdeps/ieee754/ldbl-opt/nldbl-vfscanf.c
4234 * sysdeps/ieee754/ldbl-opt/nldbl-vfwscanf.c
4235 * sysdeps/ieee754/ldbl-opt/nldbl-vscanf.c
4236 * sysdeps/ieee754/ldbl-opt/nldbl-vsscanf.c
4237 * sysdeps/ieee754/ldbl-opt/nldbl-vswscanf.c
4238 * sysdeps/ieee754/ldbl-opt/nldbl-vwscanf.c
4239 * sysdeps/ieee754/ldbl-opt/nldbl-wscanf.c:
4240 Override __GLIBC_USE_DEPRECATED_SCANF to 1.
4242 * stdio-common/sscanf.c: Likewise. Remove ldbl_hidden_def for __sscanf.
4243 * stdio-common/isoc99_sscanf.c: Add libc_hidden_def for __isoc99_sscanf.
4244 * include/stdio.h: Provide libc_hidden_proto for __isoc99_sscanf,
4246 [!__GLIBC_USE (DEPRECATED_SCANF)]: Define sscanf as __isoc99_scanf
4247 with a preprocessor macro.
4249 * stdio-common/bug21.c, stdio-common/scanf14.c:
4250 Use %ms instead of %as, %mS instead of %aS, %m[] instead of %a[];
4251 remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4252 * stdio-common/scanf16.c: Likewise. Add __attribute__ ((format (scanf)))
4253 to xscanf, xfscanf, xsscanf.
4255 * stdio-common/scanf14a.c: New copy of scanf14.c which still uses
4256 %as, %aS, %a[]. Remove DIAG_IGNORE_NEEDS_COMMENT for -Wformat.
4257 * stdio-common/scanf16a.c: New copy of scanf16.c which still uses
4258 %as, %aS, %a[]. Add __attribute__ ((format (scanf))) to xscanf,
4260 * stdio-common/scanf15.c, stdio-common/scanf17.c: No need to
4261 override feature selection macros or provide definitions of u_char etc.
4262 * stdio-common/Makefile (tests): Add scanf14a and scanf16a.
4263 (CFLAGS-scanf15.c, CFLAGS-scanf17.c): Remove.
4264 (CFLAGS-scanf14a.c, CFLAGS-scanf16a.c): New. Compile these files
4267 2019-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4269 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4270 bits/termios-misc.h.
4271 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Remove file.
4272 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4273 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4274 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4275 * sysdeps/unix/sysv/linux/bits/termios-misc.h: New file.
4276 * sysdeps/unix/sysv/linux/bits/termios.h: Include termios-misc.h.
4278 * sysdeps/unix/sysv/linux/powerpc/bits/termios-misc.h: New file.
4279 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4280 (struct sgtty, struct tchars, struct ltchars, TIOCPKT_DATA,
4281 TIOCPKT_FLUSHREAD, TIOCPKT_FLUSHWRITE, TIOCPKT_STOP, TIOCPKT_START,
4282 TIOCPKT_NOSTOP, TIOCPKT_DOSTOP, _VINTR, _VQUIT, _VERASE, _VKILL,
4283 _VEOF, _VMIN, _VEOL, _VTIME, _VEOL2, _VSWTC): Move to
4285 * sysdeps/unix/sysv/linux/powerpc/Makefile [$subdir == misc]
4286 (sysdep_headers): Add termios-misc.h.
4288 * sysdeps/unix/sysv/linux/bits/termios.h (_IOT_termios): Remove.
4289 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4290 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4292 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4294 * sysdeps/unix/sysv/linux/bits/termios-tcflow.h: New file.
4295 * sysdeps/unix/sysv/linux/mips/bits/termios-tcflow.h: Likewise.
4296 * sysdeps/unix/sysv/linux/bits/termios.h (TCSANOW, TCSADRAIN,
4297 TCSAFLUSH): Move to termios-tcflow.h.
4298 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4299 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4300 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4301 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4303 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4305 * sysdeps/unix/sysv/linux/bits/termios-c_lflag.h: New file.
4306 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_lflag.h: Likewise.
4307 * sysdeps/unix/sysv/linux/mips/bits/termios-c_lflag.h: Likewise.
4308 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_lflag.h: Likewise.
4309 * sysdeps/unix/sysv/linux/bits/termios.h (ISIG, ISCANON, ECHO, ECHOE,
4310 ECHOK, ECHONL, NOFLSH, TOSTOP, IEXTEN): Move to termios-c_lflag.h.
4311 [__USE_MISC || (__USE_XOPEN && !__USE_XOPEN2K)] (XCASE): Likewise.
4312 [__USE_MISC] (ECHOCTL, ECHOPRT, ECHOKE, FLUSHO, PENDIN, EXTPROC):
4314 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4315 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4316 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4317 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4319 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4321 * sysdeps/unix/sysv/linux/bits/termios-c_cflag.h: New file.
4322 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cflag.h: Likewise.
4323 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cflag.h: Likewise.
4324 * sysdeps/unix/sysv/linux/bits/termios.h (CSIZE, CS5, CS6, CS7, CS8,
4325 CSTOPB, CREAD, PARENB, PARODD, HUPCL, CLOCAL): Move to
4327 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4328 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4329 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4330 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4333 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4335 * sysdeps/unix/sysv/linux/bits/termios-baud.h: New file.
4336 * sysdeps/unix/sysv/linux/alpha/bits/termios-baud.h: Likewise.
4337 * sysdeps/unix/sysv/linux/powerpc/bits/termios-baud.h: Likewise.
4338 * sysdeps/unix/sysv/linux/sparc/bits/termios-baud.h: Likewise.
4339 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (B57600, B115200,
4340 B230400, B460800, B500000, B576000, B921600, B1000000, B1152000,
4341 B1500000, B2000000, B2500000, B3000000, B3500000, B4000000,
4342 __MAX_BAUD): Move to termios-baud.h.
4343 [__USE_MISC] (CBAUD, CBAUDEX): Likewise.
4344 * sysdeps/unix/sysv/linux/bits/termios.h: Likewise.
4345 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4346 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4347 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4349 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4351 * sysdeps/unix/sysv/linux/bits/termios-c_oflag.h: New file.
4352 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_oflag.h: Likewise.
4353 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_oflag.h: Likewise.
4354 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_oflag.h: Likewise.
4355 * sysdeps/unix/sysv/linux/bits/termios.h (OPOST, OLCUC, ONLCR, OCRNL,
4356 ONOCR, ONLRET, OFILL, OFDEL, VTDLY, VT0, VT1): Move to
4358 [__USE_MISC || __USE_XOPEN] (NLDLY, NL0, NL1, CRDLY, CR0, CR1, CR2,
4359 CR3, TABDLY, TAB0, TAB1, TAB2, TAB3, BSDLY, BS0, BS1, FFDLY, FF0,
4361 [USE_MISC] (XTABS): Likewise.
4362 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4363 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4364 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4365 * sysdeps/unix/sysv/linux/sparc/bits/termios.h Likewise.
4367 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4369 * sysdeps/unix/sysv/linux/bits/termios-c_iflag.h: New file.
4370 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_iflag.h: Likewise.
4371 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_iflag.h: Likewise.
4372 * sysdeps/unix/sysv/linux/bits/termios.h (IGNBRK, BRKINT, IGNPAR, PARMRK,
4373 INPCK, ISTRIP, INLCR, IGNCR, ICRNL, IXON, IXOFF, IXANY, IUCLC, IMAXBEL,
4374 IUTF8): Move to termios-c_iflag.h.
4375 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4376 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4377 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4378 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4380 * sysdeps/unix/sysv/linux/Makefile (sysdeps_headers): Add
4382 * sysdeps/unix/sysv/linux/bits/termios-c_cc.h: Likewise.
4383 * sysdeps/unix/sysv/linux/alpha/bits/termios-c_cc.h: New file.
4384 * sysdeps/unix/sysv/linux/mips/bits/termios-c_cc.h: Likewise.
4385 * sysdeps/unix/sysv/linux/powerpc/bits/termios-c_cc.h: Likewise.
4386 * sysdeps/unix/sysv/linux/sparc/bits/termios-c_cc.h: Likewise.
4387 * sysdeps/unix/sysv/linux/bits/termios.h (VINTR, VQUIT, VERASE,
4388 VKILL, VEOF, VTIME, VMIN, VSWTC, VSTART, VSTOP, VSUSP, VEOL,
4389 VREPRINT, VDISCARD, VWERASE, VLNEXT, VEOLF2): Move to termios-cc.h.
4390 * sysdeps/unix/sysv/linux/alpha/bits/termios.h: Likewise.
4391 * sysdeps/unix/sysv/linux/mips/bits/termios.h: Likewise.
4392 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
4393 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
4395 * sysdeps/unix/sysv/linux/alpha/bits/termios-struct.h: New file.
4396 * sysdeps/unix/sysv/linux/bits/termios-struct.h: Likewise.
4397 * sysdeps/unix/sysv/linux/mips/bits/termios-struct.h: Likewise.
4398 * sysdeps/unix/sysv/linux/sparc/bits/termios-struct.h: Likewise.
4399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
4401 * sysdeps/unix/sysv/linux/bits/termios.h (struct termios): Move to
4403 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (struct termios):
4405 * sysdeps/unix/sysv/linux/mips/bits/termios.h (struct termios):
4407 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct termios):
4409 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (struct termios):
4411 * sysdeps/unix/sysv/linux/kernel_termios.h (_HAVE_C_ISPEED,
4412 _HAVE_C_OSPEED): Define.
4413 * sysdeps/unix/sysv/linux/mips/kernel_termios.h (_HAVE_C_ISPEED,
4414 _HAVE_C_OSPEED): Likewise.
4415 * sysdeps/unix/sysv/linux/sparc/kernel_termios.h (_HAVE_C_ISPEED,
4416 _HAVE_C_OSPEED): Likewise.
4417 * sysdeps/unix/sysv/linux/speed.c [_HAVE_STRUCT_TERMIOS_C_OSPEED]
4418 (cfsetospeed): Check for define value instead of existence.
4419 [_HAVE_STRUCT_TERMIOS_C_ISPEED] (cfsetispeed): Likewise.
4420 * sysdeps/unix/sysv/linux/tcgetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4421 && _HAVE_C_ISPEED] (__tcgetattr): Likewise.
4422 * sysdeps/unix/sysv/linux/tcsetattr.c [_HAVE_STRUCT_TERMIOS_C_ISPEED
4423 && _HAVE_C_ISPEED] (__tcsetattr): Likewise.
4426 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_MISC] (TIOCSER_TEMT):
4428 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]
4429 (TIOCSER_TEMT): Likewise.
4430 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_MISC]
4431 (TEOCSER_TEMT): Likewise.
4433 2019-01-02 PanderMusubi <pander@users.sourceforge.net>
4436 * localedata/locales/bs_BA (LC_TELEPHONE): Fix a typo in comment.
4438 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4440 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
4442 2019-01-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
4444 * sysdeps/htl/pt-barrierattr-setpshared.c
4445 (pthread_barrierattr_setpshared): Add stub warning.
4446 * sysdeps/htl/pt-condattr-setpshared.c
4447 (pthread_condattr_setpshared): Likewise.
4448 * sysdeps/htl/pt-mutexattr-setpshared.c
4449 (pthread_mutexattr_setpshared): Likewise.
4450 * sysdeps/htl/pt-rwlockattr-setpshared.c
4451 (pthread_rwlockattr_setpshared): Likewise.
4452 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c
4453 (pthread_mutexattr_setpshared): Likewise.
4455 2019-01-02 Joseph Myers <joseph@codesourcery.com>
4457 * sysdeps/unix/sysv/linux/tst-mman-consts.py (main): Expect
4458 constants to match with Linux 4.20.
4460 * sysdeps/mips/mips32/libm-test-ulps: Update.
4461 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4463 2019-01-02 Aurelien Jarno <aurelien@aurel32.net>
4466 * sysdeps/unix/sysv/linux/arm/atomic-machine.h
4467 (__arm_assisted_compare_and_exchange_val_32_acq): Use uint32_t rather
4468 than __typeof (...) for the a_ptr variable.
4470 2019-01-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
4472 * debug/sprintf_chk.c (___sprintf_chk): Use PRINTF_CHK.
4473 * debug/vsprintf_chk.c (___vsprintf_chk): Likewise.
4474 * libio/Makefile (tests): Add tst-sprintf-ub and
4476 (CFLAGS-tst-sprintf-ub.c): New variable.
4477 (CFLAGS-tst-sprintf-chk-ub.c): Likewise.
4478 * libio/iovsprintf.c (__vsprintf_internal): Only erase the
4479 destination buffer and check for overflows in fortified mode.
4480 * libio/libioP.h (PRINTF_CHK): New macro.
4481 * libio/tst-sprintf-chk-ub.c: New file.
4482 * libio/tst-sprintf-ub.c: Likewise.
4484 2019-01-02 Florian Weimer <fweimer@redhat.com>
4487 * intl/dcigettext.c (DCIGETTEXT): Do not return NULL on asprintf
4490 2019-01-02 Florian Weimer <fweimer@redhat.com>
4492 * nptl/tst-audit-threads.c: Switch to <support/test-driver.c>.
4494 2019-01-01 Joseph Myers <joseph@codesourcery.com>
4496 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_MULTICAST_ALL): New
4499 * sysdeps/unix/sysv/linux/netpacket/packet.h
4500 (PACKET_IGNORE_OUTGOING): New macro.
4502 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SSBS): New
4505 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
4507 (riscv_flush_icache): New syscall.
4509 * manual/texinfo.tex: Update to version 2018-12-28.17 with
4510 trailing whitespace removed.
4511 * scripts/config.guess: Update to version 2019-01-01.
4512 * scripts/config.sub: Update to version 2019-01-01.
4513 * scripts/move-if-change: Update from gnulib.
4515 * NEWS: Update copyright dates.
4516 * catgets/gencat.c (print_version): Likewise.
4517 * csu/version.c (banner): Likewise.
4518 * debug/catchsegv.sh: Likewise.
4519 * debug/pcprofiledump.c (print_version): Likewise.
4520 * debug/xtrace.sh (do_version): Likewise.
4521 * elf/ldconfig.c (print_version): Likewise.
4522 * elf/ldd.bash.in: Likewise.
4523 * elf/pldd.c (print_version): Likewise.
4524 * elf/sotruss.sh: Likewise.
4525 * elf/sprof.c (print_version): Likewise.
4526 * iconv/iconv_prog.c (print_version): Likewise.
4527 * iconv/iconvconfig.c (print_version): Likewise.
4528 * locale/programs/locale.c (print_version): Likewise.
4529 * locale/programs/localedef.c (print_version): Likewise.
4530 * login/programs/pt_chown.c (print_version): Likewise.
4531 * malloc/memusage.sh (do_version): Likewise.
4532 * malloc/memusagestat.c (print_version): Likewise.
4533 * malloc/mtrace.pl: Likewise.
4534 * manual/libc.texinfo: Likewise.
4535 * nptl/version.c (banner): Likewise.
4536 * nscd/nscd.c (print_version): Likewise.
4537 * nss/getent.c (print_version): Likewise.
4538 * nss/makedb.c (print_version): Likewise.
4539 * posix/getconf.c (main): Likewise.
4540 * scripts/test-installation.pl: Likewise.
4541 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
4543 * All files with FSF copyright notices: Update copyright dates
4544 using scripts/update-copyrights.
4545 * locale/programs/charmap-kw.h: Regenerated.
4546 * locale/programs/locfile-kw.h: Likewise.
4548 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4550 * timezone/zdump.c: Update from tzcode 2018i.
4551 * timezone/zic.c: Likewise.
4553 2018-12-31 Paul Eggert <eggert@cs.ucla.edu>
4555 regex: improve Gnulib port to AIX
4556 From the glibc point of view, this removes duplicate macro
4557 definitions and is obviously safe.
4558 From the Gnulib point of view, this pacifies xlc 12.01 on AIX 7.1.
4559 * posix/regex_internal.h:
4560 (__attribute__, __attribute_warn_unused_result__):
4561 Remove; already defined elsewhere.
4563 2018-12-31 Florian Weimer <fw@deneb.enyo.de>
4566 * malloc/malloc.c (_int_realloc): Always call memcpy for the
4567 copying operation. (ncopies had the wrong type, resulting in an
4568 integer wraparound and too few elements being copied.)
4570 2018-12-31 H.J. Lu <hongjiu.lu@intel.com>
4573 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Check if
4574 <asm/syscalls.h> exists with __has_include__ before including it.
4576 2018-12-31 Joseph Myers <joseph@codesourcery.com>
4578 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
4581 2018-12-28 Justus Winter <4winter@informatik.uni-hamburg.de>
4583 * hurd/lookup-retry: Include <unistd.h>.
4584 (__hurd_file_name_lookup_retry): Keep a ref on last result in `lastdir'.
4585 Release it on return. Handle "pid" magical lookup retry.
4587 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4590 * localedata/locales/aa_DJ (t_fmt): Set to "%l:%M:%S %p".
4591 (t_fmt_ampm): Likewise.
4592 * localedata/locales/aa_ER (t_fmt): Likewise.
4593 (t_fmt_ampm): Likewise.
4594 * localedata/locales/aa_ER@saaho (t_fmt): Likewise.
4595 (t_fmt_ampm): Likewise.
4596 * localedata/locales/aa_ET (t_fmt): Likewise.
4597 (t_fmt_ampm): Likewise.
4598 * localedata/locales/am_ET (t_fmt): Likewise.
4599 (t_fmt_ampm): Likewise.
4600 * localedata/locales/byn_ER (t_fmt): Likewise.
4601 (t_fmt_ampm): Likewise.
4602 * localedata/locales/om_ET (t_fmt): Likewise.
4603 (t_fmt_ampm): Likewise.
4604 * localedata/locales/sid_ET (t_fmt): Likewise.
4605 (t_fmt_ampm): Likewise.
4606 * localedata/locales/so_DJ (t_fmt): Likewise.
4607 (t_fmt_ampm): Likewise.
4608 * localedata/locales/so_ET (t_fmt): Likewise.
4609 (t_fmt_ampm): Likewise.
4610 * localedata/locales/so_SO (t_fmt): Likewise.
4611 (t_fmt_ampm): Likewise.
4612 * localedata/locales/ti_ER (t_fmt): Likewise.
4613 (t_fmt_ampm): Likewise.
4614 * localedata/locales/ti_ET (t_fmt): Likewise.
4615 (t_fmt_ampm): Likewise.
4616 * localedata/locales/tig_ER (t_fmt): Likewise.
4617 (t_fmt_ampm): Likewise.
4618 * localedata/locales/wal_ET (t_fmt): Likewise.
4619 (t_fmt_ampm): Likewise.
4621 * localedata/locales/anp_IN (t_fmt): Set to "%I:%M:%S %p %Z".
4622 * localedata/locales/ar_IN (t_fmt): Likewise.
4623 * localedata/locales/bhb_IN (t_fmt): Likewise.
4624 * localedata/locales/bho_IN (t_fmt): Likewise.
4625 * localedata/locales/bi_VU (t_fmt): Likewise.
4626 * localedata/locales/bn_BD (t_fmt): Likewise.
4627 * localedata/locales/bn_IN (t_fmt): Likewise.
4628 * localedata/locales/brx_IN (t_fmt): Likewise.
4629 * localedata/locales/doi_IN (t_fmt): Likewise.
4630 * localedata/locales/en_HK (t_fmt): Likewise.
4631 (t_fmt_ampm): Likewise.
4632 * localedata/locales/en_IN (t_fmt): Likewise.
4633 * localedata/locales/en_PH (t_fmt): Likewise.
4634 * localedata/locales/gu_IN (t_fmt): Likewise.
4635 * localedata/locales/hi_IN (t_fmt): Likewise.
4636 * localedata/locales/hif_FJ (t_fmt): Likewise.
4637 * localedata/locales/hne_IN (t_fmt): Likewise.
4638 * localedata/locales/kn_IN (t_fmt): Likewise.
4639 * localedata/locales/kok_IN (t_fmt): Likewise.
4640 * localedata/locales/ks_IN (t_fmt): Likewise.
4641 * localedata/locales/ks_IN@devanagari (t_fmt): Likewise.
4642 * localedata/locales/mag_IN (t_fmt): Likewise.
4643 * localedata/locales/mai_IN (t_fmt): Likewise.
4644 * localedata/locales/mjw_IN (t_fmt): Likewise.
4645 * localedata/locales/ml_IN (t_fmt): Likewise.
4646 * localedata/locales/mni_IN (t_fmt): Likewise.
4647 * localedata/locales/mr_IN (t_fmt): Likewise.
4648 * localedata/locales/ms_MY (t_fmt): Likewise.
4649 * localedata/locales/pa_IN (t_fmt): Likewise.
4650 * localedata/locales/raj_IN (t_fmt): Likewise.
4651 * localedata/locales/sa_IN (t_fmt): Likewise.
4652 * localedata/locales/sat_IN (t_fmt): Likewise.
4653 * localedata/locales/sd_IN (t_fmt): Likewise.
4654 * localedata/locales/sd_IN@devanagari (t_fmt): Likewise.
4655 * localedata/locales/tcy_IN (t_fmt): Likewise.
4656 * localedata/locales/the_NP (t_fmt): Likewise.
4657 * localedata/locales/to_TO (t_fmt): Likewise.
4658 * localedata/locales/ur_IN (t_fmt): Likewise.
4660 * localedata/locales/hif_FJ (d_t_fmt): Set to
4661 "%A %d %b %Y %I:%M:%S %p".
4662 (date_fmt): Add, set to "%A %d %b %Y %I:%M:%S %p %Z".
4664 * localedata/locales/ar_AE (t_fmt): Set to "%Z %I:%M:%S %p".
4665 * localedata/locales/ar_BH (t_fmt): Likewise.
4666 * localedata/locales/ar_DZ (t_fmt): Likewise.
4667 * localedata/locales/ar_EG (t_fmt): Likewise.
4668 * localedata/locales/ar_IQ (t_fmt): Likewise.
4669 * localedata/locales/ar_JO (t_fmt): Likewise.
4670 * localedata/locales/ar_KW (t_fmt): Likewise.
4671 * localedata/locales/ar_LB (t_fmt): Likewise.
4672 * localedata/locales/ar_LY (t_fmt): Likewise.
4673 * localedata/locales/ar_OM (t_fmt): Likewise.
4674 * localedata/locales/ar_QA (t_fmt): Likewise.
4675 * localedata/locales/ar_SD (t_fmt): Likewise.
4676 * localedata/locales/ar_SS (t_fmt): Likewise.
4677 * localedata/locales/ar_SY (t_fmt): Likewise.
4678 * localedata/locales/ar_TN (t_fmt): Likewise.
4679 * localedata/locales/ar_YE (t_fmt): Likewise.
4681 * localedata/locales/gez_ER (t_fmt): Set to "%l:%M:%S<U1361>%p".
4682 (t_fmt_ampm): Likewise.
4683 * localedata/locales/gez_ET (t_fmt): Likewise.
4684 (t_fmt_ampm): Likewise.
4686 * localedata/locales/ta_IN (t_fmt): Set to "%p %I:%M:%S %Z".
4687 (t_fmt_ampm): Likewise.
4688 (d_t_fmt): Set to "%A %d %B %Y %p %I:%M:%S %Z".
4690 * localedata/locales/zh_HK (t_fmt):
4691 Set to "%p %I<U6642>%M<U5206>%S<U79D2> %Z".
4693 * localedata/locales/ar_MA (t_fmt_ampm): Set to "" (empty string)
4694 because this locale does not use the 12-hour clock.
4695 (t_fmt): Set to "%Z %H:%M:%S".
4696 (d_t_fmt): Set to "%d %b, %Y %Z %H:%M:%S".
4698 * localedata/locales/mt_MT (t_fmt_ampm): Set to "" (empty string)
4699 because this locale does not use the 12-hour clock.
4700 (t_fmt): Set to "%H:%M:%S %Z".
4701 (d_t_fmt): Set to "%A, %d ta %b, %Y %H:%M:%S %Z".
4703 * localedata/locales/so_KE (t_fmt_ampm): Set to "" (empty string)
4704 because this locale does not use the 12-hour clock.
4705 (t_fmt): Set to "%T".
4706 (d_t_fmt): Set to "%A, %B %e, %Y %X %Z".
4707 (date_fmt): Set to "%A, %B %e, %X %Z %Y".
4709 * localedata/locales/ta_LK (t_fmt_ampm): Set to "" (empty string)
4710 because this locale does not use the 12-hour clock.
4711 (t_fmt): Set to "%H:%M:%S %Z".
4712 (d_t_fmt): Set to "%A %d %B %Y %H:%M:%S %Z".
4714 * localedata/locales/bg_BG (t_fmt_ampm): Set to "" (empty string)
4715 because this locale does not use the 12-hour clock.
4716 * localedata/locales/cs_CZ (t_fmt_ampm): Likewise.
4717 * localedata/locales/sk_SK (t_fmt_ampm): Likewise.
4719 2018-12-28 Rafal Luzynski <digitalfreak@lingonborough.com>
4723 * localedata/locales/sq_AL (t_fmt): Set to "%I:%M:%S.%p %Z".
4724 (t_fmt_ampm): Likewise.
4725 (d_t_fmt): Set to "%a %-d %b %Y %I:%M:%S.%p".
4726 (date_fmt): Add, set to "%a %-d %b %Y %I:%M:%S.%p %Z".
4727 (d_fmt): Set to "%-d.%-m.%y".
4729 2018-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4731 * malloc/alloc_buffer_alloc_array.c (__libc_alloc_buffer_alloc_array):
4732 Use __builtin_mul_overflow in place of check_mul_overflow_size_t.
4733 * malloc/dynarray_emplace_enlarge.c (__libc_dynarray_emplace_enlarge):
4735 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
4736 * malloc/reallocarray.c (__libc_reallocarray): Likewise.
4737 * malloc/malloc-internal.h (check_mul_overflow_size_t): Remove
4739 * support/blob_repeat.c (check_mul_overflow_size_t,
4740 (minimum_stride_size, support_blob_repeat_allocate): Likewise.
4742 2018-12-28 Aurelien Jarno <aurelien@aurel32.net>
4744 * sysdeps/alpha/fpu/libm-test-ulps: Regenerated.
4746 2018-12-27 Paul Eggert <eggert@cs.ucla.edu>
4748 regex: simplify Gnulib port
4749 This simplifies the code, by removing stuff intended for porting
4750 to Gnulib but no longer needed there.
4751 * posix/regcomp.c [!_LIBC]: No need to put #ifdef _LIBC around
4752 uses of libc_hidden_def, weak_alias.
4753 * posix/regcomp.c, posix/regexec.c: Use __restrict rather than
4754 _Restrict_ except for public-facing headers.
4755 * posix/regex_internal.h (attribute_hidden) [!_LIBC]:
4756 Remove; already defined elsewhere.
4757 * posix/regex.c, posix/regex_internal.h:
4758 Use __GNUC_PREREQ instead of rolling our own.
4759 * posix/regex_internal.h (__GNUC_PREREQ): Remove duplicate defn.
4761 2018-12-27 Wilco Dijkstra <wdijkstr@arm.com>
4763 * benchtests/bench-strlen.c (generic_strlen): New function.
4764 (memchr_strlen): New function.
4766 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4768 * sysdeps/x86_64/fpu/s_sincosf.S: Removed.
4769 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
4770 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.c: New file.
4772 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4774 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
4776 2018-12-26 H.J. Lu <hongjiu.lu@intel.com>
4778 * sysdeps/ieee754/flt-32/s_sincosf.h: Include <sincosf_poly.h>.
4779 (sincos_t, sincosf_poly, sinf_poly): Moved to ...
4780 * sysdeps/ieee754/flt-32/sincosf_poly.h: Here. New file.
4781 * sysdeps/x86/fpu/s_sincosf_data.c: New file.
4782 * sysdeps/x86/fpu/sincosf_poly.h: Likewise.
4783 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Just include
4784 <sysdeps/ieee754/flt-32/s_sincosf.c>.
4786 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4789 * sysdeps/unix/sysv/linux/nios2/localplt.data: Allow __floatundidf
4790 PLT reference in libc.so.
4791 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Allow
4792 _Q_lltoq and _Q_qtod PLT references in libc.so.
4794 2018-12-21 Wilco Dijkstra <wdijkstr@arm.com>
4796 * benchtests/bench-memchr.c: Cleanup defines.
4797 * benchtests/bench-memcmp.c: Likewise.
4798 * benchtests/bench-memset.c: Likewise.
4799 * benchtests/bench-memset-large.c: Likewise.
4800 * benchtests/bench-memset-walk.c: Likewise.
4801 * benchtests/bench-stpcpy.c: Likewise.
4802 * benchtests/bench-stpncpy.c: Likewise.
4803 * benchtests/bench-strcat.c: Likewise.
4804 * benchtests/bench-strchr.c: Likewise.
4805 * benchtests/bench-strcmp.c: Likewise.
4806 * benchtests/bench-strcpy.c: Likewise.
4807 * benchtests/bench-strcspn.c: Likewise.
4808 * benchtests/bench-string.h: Likewise.
4809 * benchtests/bench-strlen.c: Likewise.
4810 * benchtests/bench-strncat.c: Likewise.
4811 * benchtests/bench-strncmp.c: Likewise.
4812 * benchtests/bench-strncpy.c: Likewise.
4813 * benchtests/bench-strnlen.c: Likewise.
4814 * benchtests/bench-strpbrk.c: Likewise.
4815 * benchtests/bench-strrchr.c: Likewise.
4816 * benchtests/bench-strspn.c: Likewise.
4818 2018-12-21 Joseph Myers <joseph@codesourcery.com>
4820 * stdlib/longlong.h: Update from GCC.
4823 * configure.ac (libc_cv_compiler_ok): Require GCC 5 or later.
4824 * configure: Regenerated.
4825 * manual/install.texi (Tools for Compilation): Update minimum GCC
4827 * INSTALL: Regenerated.
4829 2018-12-21 Istvan Kurucsai <pistukem@gmail.com>
4831 * malloc/malloc.c (munmap_chunk): Verify chunk alignment.
4833 2018-12-20 Istvan Kurucsai <pistukem@gmail.com>
4835 * malloc/malloc.c (mremap_chunk): Additional checks.
4837 2018-12-21 Mao Han <han_mao@c-sky.com>
4839 * config.h.in (CSKYABI, CSKY_HARD_FLOAT): New Define.
4840 * scripts/build-many-glibcs.py: Add C-SKY targets.
4841 * sysdeps/csky/Implies: New file.
4842 * sysdeps/csky/Makefile: Likewise.
4843 * sysdeps/csky/abiv2/__longjmp.S: Likewise.
4844 * sysdeps/csky/abiv2/csky-mcount.S: Likewise.
4845 * sysdeps/csky/abiv2/dl-trampoline.S: Likewise.
4846 * sysdeps/csky/abiv2/memcmp.S: Likewise.
4847 * sysdeps/csky/abiv2/memcpy.S: Likewise.
4848 * sysdeps/csky/abiv2/memmove.S: Likewise.
4849 * sysdeps/csky/abiv2/memset.S: Likewise.
4850 * sysdeps/csky/abiv2/setjmp.S: Likewise.
4851 * sysdeps/csky/abiv2/start.S: Likewise.
4852 * sysdeps/csky/abiv2/strcmp.S: Likewise.
4853 * sysdeps/csky/abiv2/strcpy.S: Likewise.
4854 * sysdeps/csky/abiv2/strlen.S: Likewise.
4855 * sysdeps/csky/abiv2/tls-macros.h: Likewise.
4856 * sysdeps/csky/abort-instr.h: Likewise.
4857 * sysdeps/csky/atomic-machine.h: Likewise.
4858 * sysdeps/csky/bits/endian.h: Likewise.
4859 * sysdeps/csky/bits/fenv.h: Likewise.
4860 * sysdeps/csky/bits/link.h: Likewise.
4861 * sysdeps/csky/bits/setjmp.h: Likewise.
4862 * sysdeps/csky/bsd-_setjmp.S: Likewise.
4863 * sysdeps/csky/bsd-setjmp.S: Likewise.
4864 * sysdeps/csky/configure: Likewise.
4865 * sysdeps/csky/configure.ac: Likewise.
4866 * sysdeps/csky/dl-machine.h: Likewise.
4867 * sysdeps/csky/dl-procinfo.c: Likewise.
4868 * sysdeps/csky/dl-procinfo.h: Likewise.
4869 * sysdeps/csky/dl-sysdep.h: Likewise.
4870 * sysdeps/csky/dl-tls.h: Likewise.
4871 * sysdeps/csky/fpu/fclrexcpt.c: Likewise.
4872 * sysdeps/csky/fpu/fedisblxcpt.c: Likewise.
4873 * sysdeps/csky/fpu/feenablxcpt.c: Likewise.
4874 * sysdeps/csky/fpu/fegetenv.c: Likewise.
4875 * sysdeps/csky/fpu/fegetexcept.c: Likewise.
4876 * sysdeps/csky/fpu/fegetmode.c: Likewise.
4877 * sysdeps/csky/fpu/fegetround.c: Likewise.
4878 * sysdeps/csky/fpu/feholdexcpt.c: Likewise.
4879 * sysdeps/csky/fpu/fenv_libc.h: Likewise.
4880 * sysdeps/csky/fpu/fenv_private.h: Likewise.
4881 * sysdeps/csky/fpu/fesetenv.c: Likewise.
4882 * sysdeps/csky/fpu/fesetexcept.c: Likewise.
4883 * sysdeps/csky/fpu/fesetmode.c: Likewise.
4884 * sysdeps/csky/fpu/fesetround.c: Likewise.
4885 * sysdeps/csky/fpu/feupdateenv.c: Likewise.
4886 * sysdeps/csky/fpu/fgetexcptflg.c: Likewise.
4887 * sysdeps/csky/fpu/fix-fp-int-convert-overflow.h: Likewise.
4888 * sysdeps/csky/fpu/fraiseexcpt.c: Likewise.
4889 * sysdeps/csky/fpu/fsetexcptflg.c: Likewise.
4890 * sysdeps/csky/fpu/ftestexcept.c: Likewise.
4891 * sysdeps/csky/fpu/libm-test-ulps: Likewise.
4892 * sysdeps/csky/fpu/libm-test-ulps-name: Likewise.
4893 * sysdeps/csky/fpu_control.h: Likewise.
4894 * sysdeps/csky/gccframe.h: Likewise.
4895 * sysdeps/csky/jmpbuf-unwind.h: Likewise.
4896 * sysdeps/csky/ldsodefs.h: Likewise.
4897 * sysdeps/csky/libc-tls.c: Likewise.
4898 * sysdeps/csky/linkmap.h: Likewise.
4899 * sysdeps/csky/machine-gmon.h: Likewise.
4900 * sysdeps/csky/memusage.h: Likewise.
4901 * sysdeps/csky/nofpu/Implies: Likewise.
4902 * sysdeps/csky/nofpu/libm-test-ulps: Likewise.
4903 * sysdeps/csky/nofpu/libm-test-ulps-name: Likewise.
4904 * sysdeps/csky/nptl/Makefile: Likewise.
4905 * sysdeps/csky/nptl/bits/pthreadtypes-arch.h: Likewise.
4906 * sysdeps/csky/nptl/bits/semaphore.h: Likewise.
4907 * sysdeps/csky/nptl/pthread-offsets.h: Likewise.
4908 * sysdeps/csky/nptl/pthreaddef.h: Likewise.
4909 * sysdeps/csky/nptl/tcb-offsets.sym: Likewise.
4910 * sysdeps/csky/nptl/tls.h: Likewise.
4911 * sysdeps/csky/preconfigure: Likewise.
4912 * sysdeps/csky/sfp-machine.h: Likewise.
4913 * sysdeps/csky/sotruss-lib.c: Likewise.
4914 * sysdeps/csky/stackinfo.h: Likewise.
4915 * sysdeps/csky/sysdep.h: Likewise.
4916 * sysdeps/csky/tininess.h: Likewise.
4917 * sysdeps/csky/tst-audit.h: Likewise.
4918 * sysdeps/unix/sysv/linux/csky/Implies: Likewise.
4919 * sysdeps/unix/sysv/linux/csky/Makefile: Likewise.
4920 * sysdeps/unix/sysv/linux/csky/Versions: Likewise.
4921 * sysdeps/unix/sysv/linux/csky/abiv2/____longjmp_chk.S: Likewise.
4922 * sysdeps/unix/sysv/linux/csky/abiv2/clone.S: Likewise.
4923 * sysdeps/unix/sysv/linux/csky/abiv2/getcontext.S: Likewise.
4924 * sysdeps/unix/sysv/linux/csky/abiv2/setcontext.S: Likewise.
4925 * sysdeps/unix/sysv/linux/csky/abiv2/swapcontext.S: Likewise.
4926 * sysdeps/unix/sysv/linux/csky/abiv2/syscall.S: Likewise.
4927 * sysdeps/unix/sysv/linux/csky/abiv2/sysdep.S: Likewise.
4928 * sysdeps/unix/sysv/linux/csky/abiv2/ucontext_i.sym: Likewise.
4929 * sysdeps/unix/sysv/linux/csky/bits/procfs.h: Likewise.
4930 * sysdeps/unix/sysv/linux/csky/bits/shmlba.h: Likewise.
4931 * sysdeps/unix/sysv/linux/csky/c++-types.data: Likewise.
4932 * sysdeps/unix/sysv/linux/csky/configure: Likewise.
4933 * sysdeps/unix/sysv/linux/csky/configure.ac: Likewise.
4934 * sysdeps/unix/sysv/linux/csky/ipc_priv.h: Likewise.
4935 * sysdeps/unix/sysv/linux/csky/jmp_buf-macros.h: Likewise.
4936 * sysdeps/unix/sysv/linux/csky/kernel-features.h: Likewise.
4937 * sysdeps/unix/sysv/linux/csky/ld.abilist: Likewise.
4938 * sysdeps/unix/sysv/linux/csky/ldconfig.h: Likewise.
4939 * sysdeps/unix/sysv/linux/csky/libBrokenLocale.abilist: Likewise.
4940 * sysdeps/unix/sysv/linux/csky/libanl.abilist: Likewise.
4941 * sysdeps/unix/sysv/linux/csky/libc.abilist: Likewise.
4942 * sysdeps/unix/sysv/linux/csky/libcrypt.abilist: Likewise.
4943 * sysdeps/unix/sysv/linux/csky/libdl.abilist: Likewise.
4944 * sysdeps/unix/sysv/linux/csky/libm.abilist: Likewise.
4945 * sysdeps/unix/sysv/linux/csky/libpthread.abilist: Likewise.
4946 * sysdeps/unix/sysv/linux/csky/libresolv.abilist: Likewise.
4947 * sysdeps/unix/sysv/linux/csky/librt.abilist: Likewise.
4948 * sysdeps/unix/sysv/linux/csky/libthread_db.abilist: Likewise.
4949 * sysdeps/unix/sysv/linux/csky/libutil.abilist: Likewise.
4950 * sysdeps/unix/sysv/linux/csky/localplt.data: Likewise.
4951 * sysdeps/unix/sysv/linux/csky/makecontext.c: Likewise.
4952 * sysdeps/unix/sysv/linux/csky/profil-counter.h: Likewise.
4953 * sysdeps/unix/sysv/linux/csky/pt-vfork.S: Likewise.
4954 * sysdeps/unix/sysv/linux/csky/register-dump.h: Likewise.
4955 * sysdeps/unix/sysv/linux/csky/shlib-versions: Likewise.
4956 * sysdeps/unix/sysv/linux/csky/sigcontextinfo.h: Likewise.
4957 * sysdeps/unix/sysv/linux/csky/sys/cachectl.h: Likewise.
4958 * sysdeps/unix/sysv/linux/csky/sys/ucontext.h: Likewise.
4959 * sysdeps/unix/sysv/linux/csky/sys/user.h: Likewise.
4960 * sysdeps/unix/sysv/linux/csky/syscalls.list: Likewise.
4961 * sysdeps/unix/sysv/linux/csky/sysdep.h: Likewise.
4963 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
4965 * include/time.h (__difftime64): Add.
4966 * time/difftime.c (subtract): convert to 64-bit time.
4967 * time/difftime.c (__difftime64): Add.
4968 * time/difftime.c (__difftime): Wrap around __difftime64.
4970 2018-12-20 H.J. Lu <hongjiu.lu@intel.com>
4972 * manual/examples/add.c: Remove redundant "if not".
4973 * manual/examples/argp-ex1.c: Likewise.
4974 * manual/examples/argp-ex2.c: Likewise.
4975 * manual/examples/argp-ex3.c: Likewise.
4976 * manual/examples/argp-ex4.c: Likewise.
4977 * manual/examples/atexit.c: Likewise.
4978 * manual/examples/db.c: Likewise.
4979 * manual/examples/dir.c: Likewise.
4980 * manual/examples/dir2.c: Likewise.
4981 * manual/examples/execinfo.c: Likewise.
4982 * manual/examples/filecli.c: Likewise.
4983 * manual/examples/filesrv.c: Likewise.
4984 * manual/examples/fmtmsgexpl.c: Likewise.
4985 * manual/examples/genpass.c: Likewise.
4986 * manual/examples/inetcli.c: Likewise.
4987 * manual/examples/inetsrv.c: Likewise.
4988 * manual/examples/isockad.c: Likewise.
4989 * manual/examples/longopt.c: Likewise.
4990 * manual/examples/memopen.c: Likewise.
4991 * manual/examples/memstrm.c: Likewise.
4992 * manual/examples/mkdirent.c: Likewise.
4993 * manual/examples/mkfsock.c: Likewise.
4994 * manual/examples/mkisock.c: Likewise.
4995 * manual/examples/mygetpass.c: Likewise.
4996 * manual/examples/pipe.c: Likewise.
4997 * manual/examples/popen.c: Likewise.
4998 * manual/examples/rprintf.c: Likewise.
4999 * manual/examples/search.c: Likewise.
5000 * manual/examples/select.c: Likewise.
5001 * manual/examples/setjmp.c: Likewise.
5002 * manual/examples/sigh1.c: Likewise.
5003 * manual/examples/sigusr.c: Likewise.
5004 * manual/examples/stpcpy.c: Likewise.
5005 * manual/examples/strdupa.c: Likewise.
5006 * manual/examples/strftim.c: Likewise.
5007 * manual/examples/subopt.c: Likewise.
5008 * manual/examples/swapcontext.c: Likewise.
5009 * manual/examples/termios.c: Likewise.
5010 * manual/examples/testopt.c: Likewise.
5011 * manual/examples/testpass.c: Likewise.
5012 * manual/examples/timeval_subtract.c: Likewise.
5014 2018-12-19 Joseph Myers <joseph@codesourcery.com>
5016 * sysdeps/x86/fpu/math_private.h: New file.
5017 * sysdeps/x86/fpu/bits/mathinline.h: Remove.
5019 * sysdeps/x86/fpu/bits/mathinline.h (sinh): Remove inline
5024 2018-12-19 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
5026 * elf/dl-sysdep.c (auxvars): Add AT_L1I_CACHESIZE,
5027 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE, AT_L1D_CACHEGEOMETRY,
5028 AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY, AT_L3_CACHESIZE and
5029 AT_L3_CACHEGEOMETRY. Fix indentation when printing the other
5031 (_dl_show_auxv): Give a special treatment to
5032 AT_L1I_CACHEGEOMETRY, AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY
5033 and AT_L3_CACHEGEOMETRY.
5034 * sysdeps/powerpc/dl-procinfo.h (cache_geometry): New function.
5035 (_dl_procinfo): Fix indentation when printing AT_HWCAP and
5036 AT_HWCAP2. Add support for AT_L1I_CACHEGEOMETRY,
5037 AT_L1D_CACHEGEOMETRY, AT_L2_CACHEGEOMETRY and AT_L3_CACHEGEOMETRY.
5039 2018-12-19 Andreas Schwab <schwab@suse.de>
5041 * nscd/connections.c (check_use): Don't abort on invalid len.
5043 2018-12-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
5045 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Test against 64bit `cmd'
5046 values in the 64bit value cases.
5048 2018-12-18 Albert ARIBAUD <albert.aribaud@3adev.fr>
5054 [__TIMESIZE != 64] (__ctime_r): Turn into a wrapper.
5060 [__TIMESIZE != 64] (ctime): Turn into a wrapper.
5063 (__gmtime64_r): Add.
5065 (__gmtime64_r): Add.
5066 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5072 [__TIMESIZE != 64] (__gmtime): Turn into a wrapper.
5075 (__localtime64_r): Add.
5077 (__localtime64_r): Add.
5078 [__TIMESIZE != 64] (__localtime_r): Turn into a wrapper.
5080 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5082 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Use Linux generic
5083 kernel_sigction definition.
5085 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: Remove file.
5087 * sysdeps/unix/sysv/linux/hppa/kernel_sigaction.h: Remove file.
5089 * sysdeps/unix/sysv/linux/alpha/Makefile: Update comment about
5090 __syscall_rt_sigaction.
5091 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h
5092 (kernel_sigaction): Use Linux generic defintion.
5094 (__syscall_rt_sigreturn, __syscall_sigreturn): Add prototype.
5095 * sysdeps/unix/sysv/linux/alpha/rt_sigaction.S
5096 (__syscall_rt_sigaction): Remove implementation.
5097 (__syscall_sigreturn, __syscall_rt_sigreturn): Define as global and
5099 * sysdeps/unix/sysv/linux/alpha/sigaction.c: Remove file.
5100 * sysdeps/unix/sysv/linux/alpha/sysdep.h (INLINE_SYSCALL,
5101 INTERNAL_SYSCALL): Remove definitions.
5102 * sysdeps/unix/sysv/linux/sigaction.c: Define STUB to accept both the
5103 action and signal set size.
5104 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c (STUB): Redefine.
5105 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c (STUB): Likewise.
5107 2018-12-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5108 James Clarke <jrtc27@jrtc27.com>
5111 * sysdeps/unix/sysv/linux/kernel_sigaction.h (HAS_SA_RESTORER):
5112 Define if SA_RESTORER is defined.
5113 (kernel_sigaction): Define sa_restorer if HAS_SA_RESTORER is defined.
5114 (SET_SA_RESTORER, RESET_SA_RESTORER): Define iff the macro are not
5116 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h (SA_RESTORER,
5117 kernel_sigaction, SET_SA_RESTORER, RESET_SA_RESTORER): Remove
5119 (HAS_SA_RESTORER): Define.
5120 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h (SA_RESTORER,
5121 SET_SA_RESTORER, RESET_SA_RESTORER): Remove definition.
5122 (HAS_SA_RESTORER): Define.
5123 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Include generic
5124 kernel_sigaction after define SET_SA_RESTORER and RESET_SA_RESTORER.
5125 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction.h: Likewise.
5126 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
5127 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5129 2018-12-18 Joseph Myers <joseph@codesourcery.com>
5131 * sysdeps/unix/sysv/linux/kernel-features.h
5132 (__ASSUME_ST_INO_64_BIT): Remove macro definition.
5133 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5134 (__ASSUME_ST_INO_64_BIT): Do not undefine and define.
5135 * sysdeps/unix/sysv/linux/sh/kernel-features.h
5136 (__ASSUME_ST_INO_64_BIT): Likewise.
5137 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
5138 <kernel-features.h>.
5139 (___fxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5140 Remove conditional code.
5141 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
5142 <kernel-features.h>.
5143 (___lxstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5144 Remove conditional code.
5145 * sysdeps/unix/sysv/linux/xstat64.c: Do not include
5146 <kernel-features.h>.
5147 (___xstat64) [_HAVE_STAT64___ST_INO && !__ASSUME_ST_INO_64_BIT]:
5148 Remove conditional code.
5149 * sysdeps/unix/sysv/linux/xstatconv.c: Do not include
5150 <kernel-features.h>.
5151 (__xstat32_conv) [_HAVE_STAT64___ST_INO]: Remove conditional code.
5152 [!_HAVE_STAT64___ST_INO]: Make code unconditional.
5154 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5156 * sysdeps/s390/multiarch/ifunc-resolve.h
5157 (s390_vx_libc_ifunc, s390_vx_libc_ifunc_redirected,
5158 s390_vx_libc_ifunc2, s390_vx_libc_ifunc_init,
5159 s390_vx_libc_ifunc2_redirected, s390_libc_ifunc):
5160 Delete macro definition.
5161 (s390_libc_ifunc_init): Rename to
5162 s390_libc_ifunc_expr_stfle_init.
5163 * sysdeps/s390/bzero: Use
5164 s390_libc_ifunc_expr_stfle_init instead of
5165 s390_libc_ifunc_init.
5166 * sysdeps/s390/memcmp.c: Likewise.
5167 * sysdeps/s390/memcpy.c: Likewise.
5168 * sysdeps/s390/mempcpy.c: Likewise.
5169 * sysdeps/s390/memset.c: Likewise.
5171 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5173 * sysdeps/s390/multiarch/gconv_simple.c (ICONV_VX_IFUNC):
5174 Define macro dependent on HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT.
5176 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5178 * sysdeps/s390/multiarch/Makefile
5179 (sysdep_routines): Remove wmemcmp variants.
5180 * sysdeps/s390/Makefile (sysdep_routines): Add wmemcmp variants.
5181 * sysdeps/s390/multiarch/ifunc-impl-list.c
5182 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemcmp.
5183 * sysdeps/s390/multiarch/wmemcmp-c.c: Move to ...
5184 * sysdeps/s390/wmemcmp-c.c: ... here and adjust ifunc handling.
5185 * sysdeps/s390/multiarch/wmemcmp-vx.S: Move to ...
5186 * sysdeps/s390/wmemcmp-vx.S: ... here and adjust ifunc handling.
5187 * sysdeps/s390/multiarch/wmemcmp.c: Move to ...
5188 * sysdeps/s390/wmemcmp.c: ... here and adjust ifunc handling.
5189 * sysdeps/s390/ifunc-wmemcmp.h: New file.
5191 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5193 * sysdeps/s390/multiarch/Makefile
5194 (sysdep_routines): Remove wmemset variants.
5195 * sysdeps/s390/Makefile (sysdep_routines): Add wmemset variants.
5196 * sysdeps/s390/multiarch/ifunc-impl-list.c
5197 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemset.
5198 * sysdeps/s390/multiarch/wmemset-c.c: Move to ...
5199 * sysdeps/s390/wmemset-c.c: ... here and adjust ifunc handling.
5200 * sysdeps/s390/multiarch/wmemset-vx.S: Move to ...
5201 * sysdeps/s390/wmemset-vx.S: ... here and adjust ifunc handling.
5202 * sysdeps/s390/multiarch/wmemset.c: Move to ...
5203 * sysdeps/s390/wmemset.c: ... here and adjust ifunc handling.
5204 * sysdeps/s390/ifunc-wmemset.h: New file.
5206 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5208 * sysdeps/s390/multiarch/Makefile
5209 (sysdep_routines): Remove wmemchr variants.
5210 * sysdeps/s390/Makefile (sysdep_routines): Add wmemchr variants.
5211 * sysdeps/s390/multiarch/ifunc-impl-list.c
5212 (__libc_ifunc_impl_list): Refactor ifunc handling for wmemchr.
5213 * sysdeps/s390/multiarch/wmemchr-c.c: Move to ...
5214 * sysdeps/s390/wmemchr-c.c: ... here and adjust ifunc handling.
5215 * sysdeps/s390/multiarch/wmemchr-vx.S: Move to ...
5216 * sysdeps/s390/wmemchr-vx.S: ... here and adjust ifunc handling.
5217 * sysdeps/s390/multiarch/wmemchr.c: Move to ...
5218 * sysdeps/s390/wmemchr.c: ... here and adjust ifunc handling.
5219 * sysdeps/s390/ifunc-wmemchr.h: New file.
5221 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5223 * sysdeps/s390/multiarch/Makefile
5224 (sysdep_routines): Remove wcscspn variants.
5225 * sysdeps/s390/Makefile (sysdep_routines): Add wcscspn variants.
5226 * sysdeps/s390/multiarch/ifunc-impl-list.c
5227 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscspn.
5228 * sysdeps/s390/multiarch/wcscspn-c.c: Move to ...
5229 * sysdeps/s390/wcscspn-c.c: ... here and adjust ifunc handling.
5230 * sysdeps/s390/multiarch/wcscspn-vx.S: Move to ...
5231 * sysdeps/s390/wcscspn-vx.S: ... here and adjust ifunc handling.
5232 * sysdeps/s390/multiarch/wcscspn.c: Move to ...
5233 * sysdeps/s390/wcscspn.c: ... here and adjust ifunc handling.
5234 * sysdeps/s390/ifunc-wcscspn.h: New file.
5236 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5238 * sysdeps/s390/multiarch/Makefile
5239 (sysdep_routines): Remove wcspbrk variants.
5240 * sysdeps/s390/Makefile (sysdep_routines): Add wcspbrk variants.
5241 * sysdeps/s390/multiarch/ifunc-impl-list.c
5242 (__libc_ifunc_impl_list): Refactor ifunc handling for wcspbrk.
5243 * sysdeps/s390/multiarch/wcspbrk-c.c: Move to ...
5244 * sysdeps/s390/wcspbrk-c.c: ... here and adjust ifunc handling.
5245 * sysdeps/s390/multiarch/wcspbrk-vx.S: Move to ...
5246 * sysdeps/s390/wcspbrk-vx.S: ... here and adjust ifunc handling.
5247 * sysdeps/s390/multiarch/wcspbrk.c: Move to ...
5248 * sysdeps/s390/wcspbrk.c: ... here and adjust ifunc handling.
5249 * sysdeps/s390/ifunc-wcspbrk.h: New file.
5251 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5253 * sysdeps/s390/multiarch/Makefile
5254 (sysdep_routines): Remove wcsspn variants.
5255 * sysdeps/s390/Makefile (sysdep_routines): Add wcsspn variants.
5256 * sysdeps/s390/multiarch/ifunc-impl-list.c
5257 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsspn.
5258 * sysdeps/s390/multiarch/wcsspn-c.c: Move to ...
5259 * sysdeps/s390/wcsspn-c.c: ... here and adjust ifunc handling.
5260 * sysdeps/s390/multiarch/wcsspn-vx.S: Move to ...
5261 * sysdeps/s390/wcsspn-vx.S: ... here and adjust ifunc handling.
5262 * sysdeps/s390/multiarch/wcsspn.c: Move to ...
5263 * sysdeps/s390/wcsspn.c: ... here and adjust ifunc handling.
5264 * sysdeps/s390/ifunc-wcsspn.h: New file.
5266 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5268 * sysdeps/s390/multiarch/Makefile
5269 (sysdep_routines): Remove wcsrchr variants.
5270 * sysdeps/s390/Makefile (sysdep_routines): Add wcsrchr variants.
5271 * sysdeps/s390/multiarch/ifunc-impl-list.c
5272 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsrchr.
5273 * sysdeps/s390/multiarch/wcsrchr-c.c: Move to ...
5274 * sysdeps/s390/wcsrchr-c.c: ... here and adjust ifunc handling.
5275 * sysdeps/s390/multiarch/wcsrchr-vx.S: Move to ...
5276 * sysdeps/s390/wcsrchr-vx.S: ... here and adjust ifunc handling.
5277 * sysdeps/s390/multiarch/wcsrchr.c: Move to ...
5278 * sysdeps/s390/wcsrchr.c: ... here and adjust ifunc handling.
5279 * sysdeps/s390/ifunc-wcsrchr.h: New file.
5281 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5283 * sysdeps/s390/multiarch/Makefile
5284 (sysdep_routines): Remove wcschrnul variants.
5285 * sysdeps/s390/Makefile (sysdep_routines): Add wcschrnul variants.
5286 * sysdeps/s390/multiarch/ifunc-impl-list.c
5287 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschrnul.
5288 * sysdeps/s390/multiarch/wcschrnul-c.c: Move to ...
5289 * sysdeps/s390/wcschrnul-c.c: ... here and adjust ifunc handling.
5290 * sysdeps/s390/multiarch/wcschrnul-vx.S: Move to ...
5291 * sysdeps/s390/wcschrnul-vx.S: ... here and adjust ifunc handling.
5292 * sysdeps/s390/multiarch/wcschrnul.c: Move to ...
5293 * sysdeps/s390/wcschrnul.c: ... here and adjust ifunc handling.
5294 * sysdeps/s390/ifunc-wcschrnul.h: New file.
5296 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5298 * sysdeps/s390/multiarch/Makefile
5299 (sysdep_routines): Remove wcschr variants.
5300 * sysdeps/s390/Makefile (sysdep_routines): Add wcschr variants.
5301 * sysdeps/s390/multiarch/ifunc-impl-list.c
5302 (__libc_ifunc_impl_list): Refactor ifunc handling for wcschr.
5303 * sysdeps/s390/multiarch/wcschr-c.c: Move to ...
5304 * sysdeps/s390/wcschr-c.c: ... here and adjust ifunc handling.
5305 * sysdeps/s390/multiarch/wcschr-vx.S: Move to ...
5306 * sysdeps/s390/wcschr-vx.S: ... here and adjust ifunc handling.
5307 * sysdeps/s390/multiarch/wcschr.c: Move to ...
5308 * sysdeps/s390/wcschr.c: ... here and adjust ifunc handling.
5309 * sysdeps/s390/ifunc-wcschr.h: New file.
5311 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5313 * sysdeps/s390/multiarch/Makefile
5314 (sysdep_routines): Remove wcsncmp variants.
5315 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncmp variants.
5316 * sysdeps/s390/multiarch/ifunc-impl-list.c
5317 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncmp.
5318 * sysdeps/s390/multiarch/wcsncmp-c.c: Move to ...
5319 * sysdeps/s390/wcsncmp-c.c: ... here and adjust ifunc handling.
5320 * sysdeps/s390/multiarch/wcsncmp-vx.S: Move to ...
5321 * sysdeps/s390/wcsncmp-vx.S: ... here and adjust ifunc handling.
5322 * sysdeps/s390/multiarch/wcsncmp.c: Move to ...
5323 * sysdeps/s390/wcsncmp.c: ... here and adjust ifunc handling.
5324 * sysdeps/s390/ifunc-wcsncmp.h: New file.
5326 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5328 * sysdeps/s390/multiarch/Makefile
5329 (sysdep_routines): Remove wcscmp variants.
5330 * sysdeps/s390/Makefile (sysdep_routines): Add wcscmp variants.
5331 * sysdeps/s390/multiarch/ifunc-impl-list.c
5332 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscmp.
5333 * sysdeps/s390/multiarch/wcscmp-c.c: Move to ...
5334 * sysdeps/s390/wcscmp-c.c: ... here and adjust ifunc handling.
5335 * sysdeps/s390/multiarch/wcscmp-vx.S: Move to ...
5336 * sysdeps/s390/wcscmp-vx.S: ... here and adjust ifunc handling.
5337 * sysdeps/s390/multiarch/wcscmp.c: Move to ...
5338 * sysdeps/s390/wcscmp.c: ... here and adjust ifunc handling.
5339 * sysdeps/s390/ifunc-wcscmp.h: New file.
5341 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5343 * sysdeps/s390/multiarch/Makefile
5344 (sysdep_routines): Remove wcsncat variants.
5345 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncat variants.
5346 * sysdeps/s390/multiarch/ifunc-impl-list.c
5347 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncat.
5348 * sysdeps/s390/multiarch/wcsncat-c.c: Move to ...
5349 * sysdeps/s390/wcsncat-c.c: ... here and adjust ifunc handling.
5350 * sysdeps/s390/multiarch/wcsncat-vx.S: Move to ...
5351 * sysdeps/s390/wcsncat-vx.S: ... here and adjust ifunc handling.
5352 * sysdeps/s390/multiarch/wcsncat.c: Move to ...
5353 * sysdeps/s390/wcsncat.c: ... here and adjust ifunc handling.
5354 * sysdeps/s390/ifunc-wcsncat.h: New file.
5356 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5358 * sysdeps/s390/multiarch/Makefile
5359 (sysdep_routines): Remove wcscat variants.
5360 * sysdeps/s390/Makefile (sysdep_routines): Add wcscat variants.
5361 * sysdeps/s390/multiarch/ifunc-impl-list.c
5362 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscat.
5363 * sysdeps/s390/multiarch/wcscat-c.c: Move to ...
5364 * sysdeps/s390/wcscat-c.c: ... here and adjust ifunc handling.
5365 * sysdeps/s390/multiarch/wcscat-vx.S: Move to ...
5366 * sysdeps/s390/wcscat-vx.S: ... here and adjust ifunc handling.
5367 * sysdeps/s390/multiarch/wcscat.c: Move to ...
5368 * sysdeps/s390/wcscat.c: ... here and adjust ifunc handling.
5369 * sysdeps/s390/ifunc-wcscat.h: New file.
5371 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5373 * sysdeps/s390/multiarch/Makefile
5374 (sysdep_routines): Remove wcpncpy variants.
5375 * sysdeps/s390/Makefile (sysdep_routines): Add wcpncpy variants.
5376 * sysdeps/s390/multiarch/ifunc-impl-list.c
5377 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpncpy.
5378 * sysdeps/s390/multiarch/wcpncpy-c.c: Move to ...
5379 * sysdeps/s390/wcpncpy-c.c: ... here and adjust ifunc handling.
5380 * sysdeps/s390/multiarch/wcpncpy-vx.S: Move to ...
5381 * sysdeps/s390/wcpncpy-vx.S: ... here and adjust ifunc handling.
5382 * sysdeps/s390/multiarch/wcpncpy.c: Move to ...
5383 * sysdeps/s390/wcpncpy.c: ... here and adjust ifunc handling.
5384 * sysdeps/s390/ifunc-wcpncpy.h: New file.
5386 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5388 * sysdeps/s390/multiarch/Makefile
5389 (sysdep_routines): Remove wcsncpy variants.
5390 * sysdeps/s390/Makefile (sysdep_routines): Add wcsncpy variants.
5391 * sysdeps/s390/multiarch/ifunc-impl-list.c
5392 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsncpy.
5393 * sysdeps/s390/multiarch/wcsncpy-c.c: Move to ...
5394 * sysdeps/s390/wcsncpy-c.c: ... here and adjust ifunc handling.
5395 * sysdeps/s390/multiarch/wcsncpy-vx.S: Move to ...
5396 * sysdeps/s390/wcsncpy-vx.S: ... here and adjust ifunc handling.
5397 * sysdeps/s390/multiarch/wcsncpy.c: Move to ...
5398 * sysdeps/s390/wcsncpy.c: ... here and adjust ifunc handling.
5399 * sysdeps/s390/ifunc-wcsncpy.h: New file.
5401 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5403 * sysdeps/s390/multiarch/Makefile
5404 (sysdep_routines): Remove wcpcpy variants.
5405 * sysdeps/s390/Makefile (sysdep_routines): Add wcpcpy variants.
5406 * sysdeps/s390/multiarch/ifunc-impl-list.c
5407 (__libc_ifunc_impl_list): Refactor ifunc handling for wcpcpy.
5408 * sysdeps/s390/multiarch/wcpcpy-c.c: Move to ...
5409 * sysdeps/s390/wcpcpy-c.c: ... here and adjust ifunc handling.
5410 * sysdeps/s390/multiarch/wcpcpy-vx.S: Move to ...
5411 * sysdeps/s390/wcpcpy-vx.S: ... here and adjust ifunc handling.
5412 * sysdeps/s390/multiarch/wcpcpy.c: Move to ...
5413 * sysdeps/s390/wcpcpy.c: ... here and adjust ifunc handling.
5414 * sysdeps/s390/ifunc-wcpcpy.h: New file.
5416 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5418 * sysdeps/s390/multiarch/Makefile
5419 (sysdep_routines): Remove wcscpy variants.
5420 * sysdeps/s390/Makefile (sysdep_routines): Add wcscpy variants.
5421 * sysdeps/s390/multiarch/ifunc-impl-list.c
5422 (__libc_ifunc_impl_list): Refactor ifunc handling for wcscpy.
5423 * sysdeps/s390/multiarch/wcscpy-c.c: Move to ...
5424 * sysdeps/s390/wcscpy-c.c: ... here and adjust ifunc handling.
5425 * sysdeps/s390/multiarch/wcscpy-vx.S: Move to ...
5426 * sysdeps/s390/wcscpy-vx.S: ... here and adjust ifunc handling.
5427 * sysdeps/s390/multiarch/wcscpy.c: Move to ...
5428 * sysdeps/s390/wcscpy.c: ... here and adjust ifunc handling.
5429 * sysdeps/s390/ifunc-wcscpy.h: New file.
5431 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5433 * sysdeps/s390/multiarch/Makefile
5434 (sysdep_routines): Remove wcsnlen variants.
5435 * sysdeps/s390/Makefile (sysdep_routines): Add wcsnlen variants.
5436 * sysdeps/s390/multiarch/ifunc-impl-list.c
5437 (__libc_ifunc_impl_list): Refactor ifunc handling for wcsnlen.
5438 * sysdeps/s390/multiarch/wcsnlen-c.c: Move to ...
5439 * sysdeps/s390/wcsnlen-c.c: ... here and adjust ifunc handling.
5440 * sysdeps/s390/multiarch/wcsnlen-vx.S: Move to ...
5441 * sysdeps/s390/wcsnlen-vx.S: ... here and adjust ifunc handling.
5442 * sysdeps/s390/multiarch/wcsnlen.c: Move to ...
5443 * sysdeps/s390/wcsnlen.c: ... here and adjust ifunc handling.
5444 * sysdeps/s390/ifunc-wcsnlen.h: New file.
5446 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5448 * sysdeps/s390/multiarch/Makefile
5449 (sysdep_routines): Remove wcslen variants.
5450 * sysdeps/s390/Makefile (sysdep_routines): Add wcslen variants.
5451 * sysdeps/s390/multiarch/ifunc-impl-list.c
5452 (__libc_ifunc_impl_list): Refactor ifunc handling for wcslen.
5453 * sysdeps/s390/multiarch/wcslen-c.c: Move to ...
5454 * sysdeps/s390/wcslen-c.c: ... here and adjust ifunc handling.
5455 * sysdeps/s390/multiarch/wcslen-vx.S: Move to ...
5456 * sysdeps/s390/wcslen-vx.S: ... here and adjust ifunc handling.
5457 * sysdeps/s390/multiarch/wcslen.c: Move to ...
5458 * sysdeps/s390/wcslen.c: ... here and adjust ifunc handling.
5459 * sysdeps/s390/ifunc-wcslen.h: New file.
5461 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5463 * sysdeps/s390/multiarch/Makefile
5464 (sysdep_routines): Remove memrchr variants.
5465 * sysdeps/s390/Makefile (sysdep_routines): Add memrchr variants.
5466 * sysdeps/s390/multiarch/ifunc-impl-list.c
5467 (__libc_ifunc_impl_list): Refactor ifunc handling for memrchr.
5468 * sysdeps/s390/multiarch/memrchr-c.c: Move to ...
5469 * sysdeps/s390/memrchr-c.c: ... here and adjust ifunc handling.
5470 * sysdeps/s390/multiarch/memrchr-vx.S: Move to ...
5471 * sysdeps/s390/memrchr-vx.S: ... here and adjust ifunc handling.
5472 * sysdeps/s390/multiarch/memrchr.c: Move to ...
5473 * sysdeps/s390/memrchr.c: ... here and adjust ifunc handling.
5474 * sysdeps/s390/ifunc-memrchr.h: New file.
5476 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5478 * sysdeps/s390/multiarch/Makefile
5479 (sysdep_routines): Remove memccpy variants.
5480 * sysdeps/s390/Makefile (sysdep_routines): Add memccpy variants.
5481 * sysdeps/s390/multiarch/ifunc-impl-list.c
5482 (__libc_ifunc_impl_list): Refactor ifunc handling for memccpy.
5483 * sysdeps/s390/multiarch/memccpy-c.c: Move to ...
5484 * sysdeps/s390/memccpy-c.c: ... here and adjust ifunc handling.
5485 * sysdeps/s390/multiarch/memccpy-vx.S: Move to ...
5486 * sysdeps/s390/memccpy-vx.S: ... here and adjust ifunc handling.
5487 * sysdeps/s390/multiarch/memccpy.c: Move to ...
5488 * sysdeps/s390/memccpy.c: ... here and adjust ifunc handling.
5489 * sysdeps/s390/ifunc-memccpy.h: New file.
5491 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5493 * sysdeps/s390/multiarch/Makefile
5494 (sysdep_routines): Remove rawmemchr variants.
5495 * sysdeps/s390/Makefile (sysdep_routines): Add rawmemchr variants.
5496 * sysdeps/s390/multiarch/ifunc-impl-list.c
5497 (__libc_ifunc_impl_list): Refactor ifunc handling for rawmemchr.
5498 * sysdeps/s390/multiarch/rawmemchr-c.c: Move to ...
5499 * sysdeps/s390/rawmemchr-c.c: ... here and adjust ifunc handling.
5500 * sysdeps/s390/multiarch/rawmemchr-vx.S: Move to ...
5501 * sysdeps/s390/rawmemchr-vx.S: ... here and adjust ifunc handling.
5502 * sysdeps/s390/multiarch/rawmemchr.c: Move to ...
5503 * sysdeps/s390/rawmemchr.c: ... here and adjust ifunc handling.
5504 * sysdeps/s390/ifunc-rawmemchr.h: New file.
5506 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5508 * sysdeps/s390/multiarch/Makefile
5509 (sysdep_routines): Remove memchr variants.
5510 * sysdeps/s390/Makefile (sysdep_routines): Add memchr variants.
5511 * sysdeps/s390/multiarch/ifunc-impl-list.c
5512 (__libc_ifunc_impl_list): Refactor ifunc handling for memchr.
5513 * sysdeps/s390/multiarch/memchr-vx.S: Move to ...
5514 * sysdeps/s390/memchr-vx.S: ... here and adjust ifunc handling.
5515 * sysdeps/s390/multiarch/memchr.c: Move to ...
5516 * sysdeps/s390/memchr.c: ... here and adjust ifunc handling.
5517 * sysdeps/s390/ifunc-memchr.h: New file.
5518 * sysdeps/s390/s390-64/memchr.S: Move to ...
5519 * sysdeps/s390/memchr-z900.S: ... here and adjust to be usable
5520 for 31/64bit and ifunc handling.
5521 * sysdeps/s390/s390-32/multiarch/memchr.c: Delete file.
5522 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
5523 * sysdeps/s390/s390-32/memchr.S: Likewise.
5525 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5527 * sysdeps/s390/multiarch/Makefile
5528 (sysdep_routines): Remove strcspn variants.
5529 * sysdeps/s390/Makefile (sysdep_routines): Add strcspn variants.
5530 * sysdeps/s390/multiarch/ifunc-impl-list.c
5531 (__libc_ifunc_impl_list): Refactor ifunc handling for strcspn.
5532 * sysdeps/s390/multiarch/strcspn-c.c: Move to ...
5533 * sysdeps/s390/strcspn-c.c: ... here and adjust ifunc handling.
5534 * sysdeps/s390/multiarch/strcspn-vx.S: Move to ...
5535 * sysdeps/s390/strcspn-vx.S: ... here and adjust ifunc handling.
5536 * sysdeps/s390/multiarch/strcspn.c: Move to ...
5537 * sysdeps/s390/strcspn.c: ... here and adjust ifunc handling.
5538 * sysdeps/s390/ifunc-strcspn.h: New file.
5540 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5542 * sysdeps/s390/multiarch/Makefile
5543 (sysdep_routines): Remove strpbrk variants.
5544 * sysdeps/s390/Makefile (sysdep_routines): Add strpbrk variants.
5545 * sysdeps/s390/multiarch/ifunc-impl-list.c
5546 (__libc_ifunc_impl_list): Refactor ifunc handling for strpbrk.
5547 * sysdeps/s390/multiarch/strpbrk-c.c: Move to ...
5548 * sysdeps/s390/strpbrk-c.c: ... here and adjust ifunc handling.
5549 * sysdeps/s390/multiarch/strpbrk-vx.S: Move to ...
5550 * sysdeps/s390/strpbrk-vx.S: ... here and adjust ifunc handling.
5551 * sysdeps/s390/multiarch/strpbrk.c: Move to ...
5552 * sysdeps/s390/strpbrk.c: ... here and adjust ifunc handling.
5553 * sysdeps/s390/ifunc-strpbrk.h: New file.
5555 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5557 * sysdeps/s390/multiarch/Makefile
5558 (sysdep_routines): Remove strspn variants.
5559 * sysdeps/s390/Makefile (sysdep_routines): Add strspn variants.
5560 * sysdeps/s390/multiarch/ifunc-impl-list.c
5561 (__libc_ifunc_impl_list): Refactor ifunc handling for strspn.
5562 * sysdeps/s390/multiarch/strspn-c.c: Move to ...
5563 * sysdeps/s390/strspn-c.c: ... here and adjust ifunc handling.
5564 * sysdeps/s390/multiarch/strspn-vx.S: Move to ...
5565 * sysdeps/s390/strspn-vx.S: ... here and adjust ifunc handling.
5566 * sysdeps/s390/multiarch/strspn.c: Move to ...
5567 * sysdeps/s390/strspn.c: ... here and adjust ifunc handling.
5568 * sysdeps/s390/ifunc-strspn.h: New file.
5570 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5572 * sysdeps/s390/multiarch/Makefile
5573 (sysdep_routines): Remove strrchr variants.
5574 * sysdeps/s390/Makefile (sysdep_routines): Add strrchr variants.
5575 * sysdeps/s390/multiarch/ifunc-impl-list.c
5576 (__libc_ifunc_impl_list): Refactor ifunc handling for strrchr.
5577 * sysdeps/s390/multiarch/strrchr-c.c: Move to ...
5578 * sysdeps/s390/strrchr-c.c: ... here and adjust ifunc handling.
5579 * sysdeps/s390/multiarch/strrchr-vx.S: Move to ...
5580 * sysdeps/s390/strrchr-vx.S: ... here and adjust ifunc handling.
5581 * sysdeps/s390/multiarch/strrchr.c: Move to ...
5582 * sysdeps/s390/strrchr.c: ... here and adjust ifunc handling.
5583 * sysdeps/s390/ifunc-strrchr.h: New file.
5585 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5587 * sysdeps/s390/multiarch/Makefile
5588 (sysdep_routines): Remove strchrnul variants.
5589 * sysdeps/s390/Makefile (sysdep_routines): Add strchrnul variants.
5590 * sysdeps/s390/multiarch/ifunc-impl-list.c
5591 (__libc_ifunc_impl_list): Refactor ifunc handling for strchrnul.
5592 * sysdeps/s390/multiarch/strchrnul-c.c: Move to ...
5593 * sysdeps/s390/strchrnul-c.c: ... here and adjust ifunc handling.
5594 * sysdeps/s390/multiarch/strchrnul-vx.S: Move to ...
5595 * sysdeps/s390/strchrnul-vx.S: ... here and adjust ifunc handling.
5596 * sysdeps/s390/multiarch/strchrnul.c: Move to ...
5597 * sysdeps/s390/strchrnul.c: ... here and adjust ifunc handling.
5598 * sysdeps/s390/ifunc-strchrnul.h: New file.
5600 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5602 * sysdeps/s390/multiarch/Makefile
5603 (sysdep_routines): Remove strchr variants.
5604 * sysdeps/s390/Makefile (sysdep_routines): Add strchr variants.
5605 * sysdeps/s390/multiarch/ifunc-impl-list.c
5606 (__libc_ifunc_impl_list): Refactor ifunc handling for strchr.
5607 * sysdeps/s390/multiarch/strchr-c.c: Move to ...
5608 * sysdeps/s390/strchr-c.c: ... here and adjust ifunc handling.
5609 * sysdeps/s390/multiarch/strchr-vx.S: Move to ...
5610 * sysdeps/s390/strchr-vx.S: ... here and adjust ifunc handling.
5611 * sysdeps/s390/multiarch/strchr.c: Move to ...
5612 * sysdeps/s390/strchr.c: ... here and adjust ifunc handling.
5613 * sysdeps/s390/ifunc-strchr.h: New file.
5615 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5617 * sysdeps/s390/multiarch/Makefile
5618 (sysdep_routines): Remove strncmp variants.
5619 * sysdeps/s390/Makefile (sysdep_routines): Add strncmp variants.
5620 * sysdeps/s390/multiarch/ifunc-impl-list.c
5621 (__libc_ifunc_impl_list): Refactor ifunc handling for strncmp.
5622 * sysdeps/s390/multiarch/strncmp-c.c: Move to ...
5623 * sysdeps/s390/strncmp-c.c: ... here and adjust ifunc handling.
5624 * sysdeps/s390/multiarch/strncmp-vx.S: Move to ...
5625 * sysdeps/s390/strncmp-vx.S: ... here and adjust ifunc handling.
5626 * sysdeps/s390/multiarch/strncmp.c: Move to ...
5627 * sysdeps/s390/strncmp.c: ... here and adjust ifunc handling.
5628 * sysdeps/s390/ifunc-strncmp.h: New file.
5630 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5632 * sysdeps/s390/multiarch/Makefile
5633 (sysdep_routines): Remove strcmp variants.
5634 * sysdeps/s390/Makefile (sysdep_routines): Add strcmp variants.
5635 * sysdeps/s390/multiarch/ifunc-impl-list.c
5636 (__libc_ifunc_impl_list): Refactor ifunc handling for strcmp.
5637 * sysdeps/s390/multiarch/strcmp-vx.S: Move to ...
5638 * sysdeps/s390/strcmp-vx.S: ... here and adjust ifunc handling.
5639 * sysdeps/s390/multiarch/strcmp.c: Move to ...
5640 * sysdeps/s390/strcmp.c: ... here and adjust ifunc handling.
5641 * sysdeps/s390/ifunc-strcmp.h: New file.
5642 * sysdeps/s390/s390-64/strcmp.S: Move to ...
5643 * sysdeps/s390/strcmp-z900.S: ... here and adjust to be usable
5644 for 31/64bit and ifunc handling.
5645 * sysdeps/s390/s390-32/multiarch/strcmp.c: Delete file.
5646 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
5647 * sysdeps/s390/s390-32/strcmp.S: Likewise.
5649 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5651 * sysdeps/s390/multiarch/Makefile
5652 (sysdep_routines): Remove strncat variants.
5653 * sysdeps/s390/Makefile (sysdep_routines): Add strncat variants.
5654 * sysdeps/s390/multiarch/ifunc-impl-list.c
5655 (__libc_ifunc_impl_list): Refactor ifunc handling for strncat.
5656 * sysdeps/s390/multiarch/strncat-c.c: Move to ...
5657 * sysdeps/s390/strncat-c.c: ... here and adjust ifunc handling.
5658 * sysdeps/s390/multiarch/strncat-vx.S: Move to ...
5659 * sysdeps/s390/strncat-vx.S: ... here and adjust ifunc handling.
5660 * sysdeps/s390/multiarch/strncat.c: Move to ...
5661 * sysdeps/s390/strncat.c: ... here and adjust ifunc handling.
5662 * sysdeps/s390/ifunc-strncat.h: New file.
5664 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5666 * sysdeps/s390/multiarch/Makefile
5667 (sysdep_routines): Remove strcat variants.
5668 * sysdeps/s390/Makefile (sysdep_routines): Add strcat variants.
5669 * sysdeps/s390/multiarch/ifunc-impl-list.c
5670 (__libc_ifunc_impl_list): Refactor ifunc handling for strcat.
5671 * sysdeps/s390/multiarch/strcat-c.c: Move to ...
5672 * sysdeps/s390/strcat-c.c: ... here and adjust ifunc handling.
5673 * sysdeps/s390/multiarch/strcat-vx.S: Move to ...
5674 * sysdeps/s390/strcat-vx.S: ... here and adjust ifunc handling.
5675 * sysdeps/s390/multiarch/strcat.c: Move to ...
5676 * sysdeps/s390/strcat.c: ... here and adjust ifunc handling.
5677 * sysdeps/s390/ifunc-strcat.h: New file.
5679 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5681 * sysdeps/s390/multiarch/Makefile
5682 (sysdep_routines): Remove stpncpy variants.
5683 * sysdeps/s390/Makefile (sysdep_routines): Add stpncpy variants.
5684 * sysdeps/s390/multiarch/ifunc-impl-list.c
5685 (__libc_ifunc_impl_list): Refactor ifunc handling for stpncpy.
5686 * sysdeps/s390/multiarch/stpncpy-c.c: Move to ...
5687 * sysdeps/s390/stpncpy-c.c: ... here and adjust ifunc handling.
5688 * sysdeps/s390/multiarch/stpncpy-vx.S: Move to ...
5689 * sysdeps/s390/stpncpy-vx.S: ... here and adjust ifunc handling.
5690 * sysdeps/s390/multiarch/stpncpy.c: Move to ...
5691 * sysdeps/s390/stpncpy.c: ... here and adjust ifunc handling.
5692 * sysdeps/s390/ifunc-stpncpy.h: New file.
5694 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5696 * sysdeps/s390/multiarch/Makefile
5697 (sysdep_routines): Remove strncpy variants.
5698 * sysdeps/s390/Makefile (sysdep_routines): Add strncpy variants.
5699 * sysdeps/s390/multiarch/ifunc-impl-list.c
5700 (__libc_ifunc_impl_list): Refactor ifunc handling for strncpy.
5701 * sysdeps/s390/multiarch/strncpy-vx.S: Move to ...
5702 * sysdeps/s390/strncpy-vx.S: ... here and adjust ifunc handling.
5703 * sysdeps/s390/multiarch/strncpy.c: Move to ...
5704 * sysdeps/s390/strncpy.c: ... here and adjust ifunc handling.
5705 * sysdeps/s390/ifunc-strncpy.h: New file.
5706 * sysdeps/s390/s390-64/strncpy.S: Move to ...
5707 * sysdeps/s390/s390-64/strncpy-z900.S: ... here
5708 and adjust ifunc handling.
5709 * sysdeps/s390/s390-32/strncpy.S: Move to ...
5710 * sysdeps/s390/s390-32/strncpy-z900.S: ... here
5711 and adjust ifunc handling.
5712 * sysdeps/s390/s390-32/multiarch/strncpy.c: Delete file.
5713 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
5715 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5717 * sysdeps/s390/multiarch/Makefile
5718 (sysdep_routines): Remove stpcpy variants.
5719 * sysdeps/s390/Makefile (sysdep_routines): Add stpcpy variants.
5720 * sysdeps/s390/multiarch/ifunc-impl-list.c
5721 (__libc_ifunc_impl_list): Refactor ifunc handling for stpcpy.
5722 * sysdeps/s390/multiarch/stpcpy-c.c: Move to ...
5723 * sysdeps/s390/stpcpy-c.c: ... here and adjust ifunc handling.
5724 * sysdeps/s390/multiarch/stpcpy-vx.S: Move to ...
5725 * sysdeps/s390/stpcpy-vx.S: ... here and adjust ifunc handling.
5726 * sysdeps/s390/multiarch/stpcpy.c: Move to ...
5727 * sysdeps/s390/stpcpy.c: ... here and adjust ifunc handling.
5728 * sysdeps/s390/ifunc-stpcpy.h: New file.
5730 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5732 * sysdeps/s390/multiarch/Makefile
5733 (sysdep_routines): Remove strcpy variants.
5734 * sysdeps/s390/Makefile (sysdep_routines): Add strcpy variants.
5735 * sysdeps/s390/multiarch/ifunc-impl-list.c
5736 (__libc_ifunc_impl_list): Refactor ifunc handling for strcpy.
5737 * sysdeps/s390/multiarch/strcpy-vx.S: Move to ...
5738 * sysdeps/s390/strcpy-vx.S: ... here and adjust ifunc handling.
5739 * sysdeps/s390/multiarch/strcpy.c: Move to ...
5740 * sysdeps/s390/strcpy.c: ... here and adjust ifunc handling.
5741 * sysdeps/s390/ifunc-strcpy.h: New file.
5742 * sysdeps/s390/s390-64/strcpy.S: Move to ...
5743 * sysdeps/s390/strcpy-z900.S: ... here and adjust to be usable
5744 for 31/64bit and ifunc handling.
5745 * sysdeps/s390/s390-32/multiarch/strcpy.c: Delete file.
5746 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
5747 * sysdeps/s390/s390-32/strcpy.S: Likewise.
5749 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5751 * sysdeps/s390/multiarch/Makefile
5752 (sysdep_routines): Remove strnlen variants.
5753 * sysdeps/s390/Makefile (sysdep_routines): Add strnlen variants.
5754 * sysdeps/s390/multiarch/ifunc-impl-list.c
5755 (__libc_ifunc_impl_list): Refactor ifunc handling for strnlen.
5756 * sysdeps/s390/multiarch/strnlen-c.c: Move to ...
5757 * sysdeps/s390/strnlen-c.c: ... here and adjust ifunc handling.
5758 * sysdeps/s390/multiarch/strnlen-vx.S: Move to ...
5759 * sysdeps/s390/strnlen-vx.S: ... here and adjust ifunc handling.
5760 * sysdeps/s390/multiarch/strnlen.c: Move to ...
5761 * sysdeps/s390/strnlen.c: ... here and adjust ifunc handling.
5762 * sysdeps/s390/ifunc-strnlen.h: New file.
5764 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5766 * sysdeps/s390/multiarch/Makefile
5767 (sysdep_routines): Remove strlen variants.
5768 * sysdeps/s390/Makefile (sysdep_routines): Add strlen variants.
5769 * sysdeps/s390/multiarch/ifunc-impl-list.c
5770 (__libc_ifunc_impl_list): Refactor ifunc handling for strlen.
5771 * sysdeps/s390/multiarch/strlen-c.c: Move to ...
5772 * sysdeps/s390/strlen-c.c: ... here and adjust ifunc handling.
5773 * sysdeps/s390/multiarch/strlen-vx.S: Move to ...
5774 * sysdeps/s390/strlen-vx.S: ... here and adjust ifunc handling.
5775 * sysdeps/s390/multiarch/strlen.c: Move to ...
5776 * sysdeps/s390/strlen.c: ... here and adjust ifunc handling.
5777 * sysdeps/s390/ifunc-strlen.h: New file.
5779 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5781 * sysdeps/s390/Makefile (sysdep_routines): Add memmem variants.
5782 * sysdeps/s390/multiarch/ifunc-impl-list.c
5783 (__libc_ifunc_impl_list): Add ifunc variants for memmem.
5784 * sysdeps/s390/ifunc-memmem.h: New file.
5785 * sysdeps/s390/memmem.c: Likewise.
5786 * sysdeps/s390/memmem-c.c: Likewise.
5787 * sysdeps/s390/memmem-vx.c: Likewise.
5789 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5791 * sysdeps/s390/Makefile (sysdep_routines): Add strstr variants.
5792 * sysdeps/s390/multiarch/ifunc-impl-list.c
5793 (__libc_ifunc_impl_list): Add ifunc variants for strstr.
5794 * sysdeps/s390/ifunc-strstr.h: New file.
5795 * sysdeps/s390/strstr.c: Likewise.
5796 * sysdeps/s390/strstr-c.c: Likewise.
5797 * sysdeps/s390/strstr-vx.c: Likewise.
5799 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5801 * sysdeps/s390/Makefile (sysdep_routines): Add memmove-c.
5802 * sysdeps/s390/ifunc-memcpy.h (HAVE_MEMMOVE_IFUNC,
5803 HAVE_MEMMOVE_IFUNC_AND_VX_SUPPORT, MEMMOVE_DEFAULT,
5804 HAVE_MEMMOVE_C, MEMMOVE_C, HAVE_MEMMOVE_Z13, MEMMOVE_Z13):
5806 * sysdeps/s390/memcpy-z900.S: Add z13 memmove implementation.
5807 * sysdeps/s390/memmove-c.c: New file.
5808 * sysdeps/s390/memmove.c: Likewise.
5809 * sysdeps/s390/multiarch/ifunc-impl-list.c
5810 (__libc_ifunc_impl_list): Add ifunc variants for memmove.
5812 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5814 * config.h.in (HAVE_S390_MIN_Z13_ZARCH_ASM_SUPPORT): New undefine.
5815 * sysdeps/s390/configure.ac: Add check for z13 support.
5816 * sysdeps/s390/configure: Regenerated.
5818 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5820 * sysdeps/s390/memcopy.h: New file.
5822 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5824 * sysdeps/s390/s390-32/bcopy.S: Remove.
5825 * sysdeps/s390/s390-64/bcopy.S: Likewise.
5827 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5829 * sysdeps/s390/ifunc-memcpy.h: New File.
5830 * sysdeps/s390/memcpy.S: Move to ...
5831 * sysdeps/s390/memcpy-z900.S ... here.
5832 Move implementations from memcpy-s390x.s to here.
5833 * sysdeps/s390/multiarch/memcpy-s390x.S: Delete File.
5834 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5835 Remove memcpy/mempcpy variants.
5836 * sysdeps/s390/Makefile (sysdep_routines):
5837 Add memcpy/mempcpy variants.
5838 * sysdeps/s390/multiarch/ifunc-impl-list.c
5839 (__libc_ifunc_impl_list): Adjust ifunc variants for
5841 * sysdeps/s390/multiarch/memcpy.c: Move ifunc resolver
5843 * sysdeps/s390/memcpy.c: ... here.
5844 Adjust ifunc variants for memcpy.
5845 * sysdeps/s390/multiarch/mempcpy.c: Move to ...
5846 * sysdeps/s390/mempcpy.c: ... here.
5847 Adjust ifunc variants for mempcpy.
5848 * sysdeps/s390/mempcpy.S: Delete file.
5850 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5852 * sysdeps/s390/s390-64/memcpy.S: Move to ...
5853 * sysdeps/s390/memcpy.S: ... here.
5854 Adjust to be usable for 31/64bit.
5855 * sysdeps/s390/s390-32/memcpy.S: Delete File.
5856 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcpy.
5857 * sysdeps/s390/s390-32/multiarch/Makefile: Delete file.
5858 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5859 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Move to ...
5860 * sysdeps/s390/multiarch/memcpy-s390x.S: ... here.
5861 Adjust to be usable for 31/64bit.
5862 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Delete File.
5863 * sysdeps/s390/s390-64/multiarch/memcpy.c: Move to ...
5864 * sysdeps/s390/multiarch/memcpy.c: ... here.
5865 * sysdeps/s390/s390-32/multiarch/memcpy.c: Delete File.
5867 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5869 * sysdeps/s390/ifunc-memcmp.h: New File.
5870 * sysdeps/s390/memcmp.S: Move to ...
5871 * sysdeps/s390/memcmp-z900.S ... here.
5872 Move implementations from memcmp-s390x.s to here.
5873 * sysdeps/s390/multiarch/memcmp-s390x.S: Delete File.
5874 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5875 Remove memcmp variants.
5876 * sysdeps/s390/Makefile (sysdep_routines):
5877 Add memcmp variants.
5878 * sysdeps/s390/multiarch/ifunc-impl-list.c
5879 (__libc_ifunc_impl_list): Adjust ifunc variants for
5881 * sysdeps/s390/multiarch/memcmp.c: Move ifunc resolver
5883 * sysdeps/s390/memcmp.c: ... here.
5884 Adjust ifunc variants for memcmp.
5886 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5888 * sysdeps/s390/s390-64/memcmp.S: Move to ...
5889 * sysdeps/s390/memcmp.S: ... here.
5890 Adjust to be usable for 31/64bit.
5891 * sysdeps/s390/s390-32/memcmp.S: Delete File.
5892 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memcmp.
5893 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5895 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5896 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Move to ...
5897 * sysdeps/s390/multiarch/memcmp-s390x.S: ... here.
5898 Adjust to be usable for 31/64bit.
5899 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Delete File.
5900 * sysdeps/s390/s390-64/multiarch/memcmp.c: Move to ...
5901 * sysdeps/s390/multiarch/memcmp.c: ... here.
5902 * sysdeps/s390/s390-32/multiarch/memcmp.c: Delete File.
5904 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5906 * sysdeps/s390/s390-32/bzero.S: Delete file.
5907 * sysdeps/s390/s390-64/bzero.S: Likewise.
5908 * sysdeps/s390/Makefile (sysdep_routines): Add bzero.
5909 * sysdeps/s390/bzero.c: New file.
5910 * sysdeps/s390/memset-z900.S: Add bzero entry points.
5911 * sysdeps/s390/ifunc-memset.h: Add bzero function macros.
5912 * sysdeps/s390/multiarch/ifunc-impl-list.c
5913 (__libc_ifunc_impl_list): Add bzero ifunc variants.
5915 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5917 * sysdeps/s390/ifunc-memset.h: New File.
5918 * sysdeps/s390/memset.S: Move to ...
5919 * sysdeps/s390/memset-z900.S ... here.
5920 Move implementations from memset-s390x.s to here.
5921 * sysdeps/s390/multiarch/memset-s390x.S: Delete File.
5922 * sysdeps/s390/multiarch/Makefile (sysdep_routines):
5923 Remove memset variants.
5924 * sysdeps/s390/Makefile (sysdep_routines):
5925 Add memset variants.
5926 * sysdeps/s390/multiarch/ifunc-impl-list.c
5927 (__libc_ifunc_impl_list): Adjust ifunc variants for
5929 * sysdeps/s390/multiarch/memset.c: Move ifunc resolver
5931 * sysdeps/s390/memset.c: ... here.
5932 Adjust ifunc variants for memset.
5934 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5936 * sysdeps/s390/s390-64/memset.S: Move to ...
5937 * sysdeps/s390/memset.S: ... here.
5938 Adjust to be usable for 31/64bit.
5939 * sysdeps/s390/s390-32/memset.S: Delete File.
5940 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memset.
5941 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
5943 * sysdeps/s390/s390-64/multiarch/Makefile: Likewise.
5944 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Move to ...
5945 * sysdeps/s390/multiarch/memset-s390x.S: ... here.
5946 Adjust to be usable for 31/64bit.
5947 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Delete File.
5948 * sysdeps/s390/s390-64/multiarch/memset.c: Move to ...
5949 * sysdeps/s390/multiarch/memset.c: ... here.
5950 * sysdeps/s390/s390-32/multiarch/memset.c: Delete File.
5952 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5954 * sysdeps/s390/multiarch/ifunc-resolve.h
5955 (s390_libc_ifunc_init, s390_libc_ifunc,
5956 s390_vx_libc_ifunc2_redirected): Use hwcap instead of dl_hwcap.
5958 2018-12-18 Stefan Liebler <stli@linux.ibm.com>
5960 * config.h.in (HAVE_S390_MIN_Z10_ZARCH_ASM_SUPPORT): New undefine.
5961 * sysdeps/s390/configure.ac: Add check for z10 support.
5962 * sysdeps/s390/configure: Regenerated.
5964 2018-12-18 H.J. Lu <hongjiu.lu@intel.com>
5966 * sysdeps/i386/atomic-machine.h: Merged with ...
5967 * sysdeps/x86_64/atomic-machine.h: To ...
5968 * sysdeps/x86/atomic-machine.h: This. New file.
5970 2018-12-18 Florian Weimer <fweimer@redhat.com>
5972 Rewrite locale/gen-translit.pl in Python.
5973 * locale/Makefile (generated): Add C-translit.h.
5974 (before-compile): Add $(objpfx)C-translit.h.
5975 (C-translit.h): Move to $(objpfx). Create target directory.
5976 Build using Python script.
5977 * locale/gen-translit.py: New file.
5978 * locale/gen-translit.pl: Remove file.
5979 * locale/C-translit.h.in: Change comment character to '#' for
5980 easier parsing without a C preprocessor.
5981 * locale/C-translit.h: Remove generated file.
5982 * manual/install.texi (Tools for Compilation): Do not mention
5984 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
5985 Remove locale/C-translit.h.
5986 * scripts/update-copyrights: Likewise.
5987 * INSTALL: Regenerate.
5989 2018-12-18 Florian Weimer <fweimer@redhat.com>
5992 * localedata/locales/bi_VU: Remove executable bit from file.
5994 2018-12-17 Albert ARIBAUD <albert.aribaud@3adev.fr>
5997 (__localtime64): Add.
5998 * manual/maint.texi: Document Y2038 symbol handling.
6000 (__localtime64): Add.
6001 [__TIMESIZE != 64] (__localtime): Turn into a wrapper.
6003 2018-12-17 Joseph Myers <joseph@codesourcery.com>
6005 * sysdeps/unix/sysv/linux/ia64/sysdep.h (ASM_CLOBBERS_6_COMMON):
6008 * scripts/glibcextract.py (compare_macro_consts): Take parameters
6009 to allow extra macros from first or second sources.
6010 * sysdeps/unix/sysv/linux/tst-mman-consts.py: New file.
6011 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
6012 (tests-special): Add $(objpfx)tst-mman-consts.out.
6013 ($(objpfx)tst-mman-consts.out): New makefile target.
6015 2018-12-17 Mao Han <han_mao@c-sky.com>
6017 * sysdeps/unix/sysv/linux/Makefile: Add statx_cp.c.
6018 * sysdeps/unix/sysv/linux/fxstat64.c: Add conditionals for kernel
6019 without stat64 system call support.
6020 * sysdeps/unix/sysv/linux/fxstatat64.c: Likewise.
6021 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Likewise.
6022 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
6023 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Likewise.
6024 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Likewise.
6025 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Likewise.
6026 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Likewise.
6027 * sysdeps/unix/sysv/linux/mips/mips64/statx_cp.c: New file.
6028 * sysdeps/unix/sysv/linux/statx_cp.c: Likewise.
6029 * sysdeps/unix/sysv/linux/statx_cp.h: Likewise.
6030 * sysdeps/unix/sysv/linux/wordsize-64/statx_cp.c: Likewise.
6032 2018-12-15 Paul Eggert <eggert@cs.ucla.edu>
6034 regex: fix storage-exhaustion error
6036 * posix/regexec.c (get_subexp):
6037 Do not continue if storage is exhausted.
6039 2018-12-15 Assaf Gordon <assafgordon@gmail.com>
6041 regex: fix heap-use-after-free error
6043 Problem reported by Saito Takaaki <tails.saito@gmail.com> in
6044 https://debbugs.gnu.org/32592
6045 Call stack get_subexp->get_subexp_sub->clean_state_log_if_needed may
6046 call extend_buffers which reallocates the re_string_t internal buffer.
6047 Local variable 'buf' was not updated in such case, resulting in
6049 * posix/regexec.c (get_subexp): Update 'buf' after call to
6052 2018-12-15 Florian Weimer <fweimer@redhat.com>
6054 * support/blob_repeat.c (check_mul_overflow_size_t): New function.
6055 (minimum_stride_size): Use it.
6056 (support_blob_repeat_allocate): Likewise.
6058 2018-12-14 Joseph Myers <joseph@codesourcery.com>
6060 * sysdeps/x86/fpu/bits/mathinline.h (asinh): Remove inline
6065 2018-12-14 Florian Weimer <fweimer@redhat.com>
6067 * manual/process.texi (Process Creation Concepts): Remove
6068 documentation of process (ID) lifetime. List more process
6069 creation functions. Reference Process Identification section.
6070 (Process Identification): Add information about process ID
6071 lifetime. Describe Linux thread/task IDs.
6072 * manual/signal.texi (Signaling Another Process): Mention that the
6073 signal is always sent to the process.
6075 2018-12-14 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6077 * misc/Makefile (tests): Remove tst-efgcvt. Add tst-dbl-efgcvt
6078 and tst-ldbl-efgcvt.
6079 * misc/tst-efgcvt.c: Renamed to misc/tst-efgcvt-template.c.
6080 * misc/tst-efgcvt-template.c: Renamed from misc/tst-efgcvt.c.
6081 (struct testcase, efcvt_func, efcvt_r_func, ecvt_tests)
6082 (fcvt_tests, output_error, output_r_error, do_test): Use the
6083 macros defined in tst-dbl-efgcvt.c and tst-ldbl-efgcvt.c to:
6084 select the type of floating-point variables and arguments; to
6085 produce extra tests for double and conversion specifiers for
6086 printf; and to set the names of called functions.
6087 * misc/tst-dbl-efgcvt.c: New file that defines the macros used
6088 in tst-efgcvt-template.c.
6089 * misc/tst-ldbl-efgcvt.c: Likewise.
6091 2018-12-14 Stefan Liebler <stli@linux.ibm.com>
6093 * nss/Makefile (tst-nss-test3.out): New rule.
6095 2018-12-13 Joseph Myers <joseph@codesourcery.com>
6097 * sysdeps/mach/hurd/i386/init-first.c (_hurd_stack_setup): Do not
6100 2018-12-13 fanjinke <fanjinke@hygon.cn>
6102 * sysdeps/x86/cpu-features.c (init_cpu_features): Check for
6105 2018-12-13 Andreas Schwab <schwab@suse.de>
6108 * nptl/pthread_rwlock_common.c: Reindent. Fix typos.
6109 (__pthread_rwlock_rdlock_full): Update expected value for
6110 __readers while waiting on PTHREAD_RWLOCK_RWAITING.
6111 * nptl/tst-rwlock-pwn.c: New file.
6112 * nptl/Makefile (tests): Add tst-rwlock-pwn.
6114 2018-12-12 Joseph Myers <joseph@codesourcery.com>
6116 * sysdeps/x86/fpu/bits/mathinline.h (hypot): Remove inline
6119 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6121 * benchtests/scripts/compare_bench.py (do_compare): write to
6122 stderr in casestat is not present.
6123 * benchtests/scripts/compare_bench.py (plot_graphs): write to
6124 stderr in case timings field is not present. Also string showing
6125 the output filename goes into the stderr.
6127 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6129 * benchtests/scripts/compare_bench.py (do_compare): Catch KeyError
6130 and ZeroDivisorError exceptions.
6131 * benchtests/scripts/compare_bench.py (compare_runs): Use stats
6132 argument to loop through user provided statistics.
6133 * benchtests/scripts/compare_bench.py (main): Include the --stats
6136 2018-12-12 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
6138 * benchtests/scripts/compare_bench.py (compare_runs): Continue
6141 2018-12-12 Florian Weimer <fweimer@redhat.com>
6143 * sysdeps/posix/timespec_get.c: Add missing “any later version”
6144 clause to copyright header.
6146 2018-12-12 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6149 * sysdeps/powerpc/powerpc64/addmul_1.S (FUNC): Add CFI offset for
6150 registers saved in the stack frame.
6151 * sysdeps/powerpc/powerpc64/lshift.S (__mpn_lshift): Likewise.
6152 * sysdeps/powerpc/powerpc64/mul_1.S (__mpn_mul_1): Likewise.
6154 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6156 * include/bits/monetary-ldbl.h: New file.
6157 * include/bits/printf-ldbl.h: Likewise.
6158 * include/bits/stdio-ldbl.h: Likewise.
6159 * include/bits/stdlib-ldbl.h: Likewise.
6160 * include/bits/syslog-ldbl.h: Likewise.
6161 * include/bits/wchar-ldbl.h: Likewise.
6163 2018-12-11 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6165 * libio/libio.h: Remove redirection for _IO_vfprintf.
6167 2018-12-11 Andreas Schwab <schwab@suse.de>
6169 * Makerules: Remove all references to abilist-pattern.
6170 (update-all-abi): Simplify find expression.
6172 2018-12-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
6175 * math/auto-libm-test-in: Add new test case.
6176 * math/auto-libm-test-out-pow: Regenerated.
6177 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Fix overflow check.
6179 2018-12-10 DJ Delorie <dj@redhat.com>
6182 * support/test-container.c: Move postclean step to before we
6185 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6187 * scripts/gen-as-const.py (main): Handle --python option.
6188 * scripts/gen-py-const.awk: Remove.
6189 * Makerules (py-const-script): Use gen-as-const.py.
6190 ($(py-const)): Likewise.
6191 * nptl/nptl-printers.py (MutexPrinter.read_status_no_robust): Mask
6192 with 0xffffffff together with ~(PTHREAD_MUTEX_PRIO_CEILING_MASK).
6193 (MutexAttributesPrinter.read_values): Mask with 0xffffffff
6194 together with ~PTHREAD_MUTEXATTR_FLAG_BITS and
6195 ~PTHREAD_MUTEX_NO_ELISION_NP.
6196 * manual/README.pretty-printers: Update reference to
6199 * scripts/glibcextract.py: New file.
6200 * scripts/gen-as-const.py: Do not import os.path, re, subprocess
6201 or tempfile. Import glibcexctract.
6202 (compute_c_consts): Remove. Moved to glibcextract.py.
6203 (gen_test): Update reference to compute_c_consts.
6205 * sysdeps/unix/sysv/linux/tst-signal-numbers.py: New file.
6206 * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: Remove.
6207 * sysdeps/unix/sysv/linux/Makefile
6208 ($(objpfx)tst-signal-numbers.out): Use tst-signal-numbers.py.
6209 Redirect stderr as well as stdout.
6211 2018-12-10 Rafael Ávila de Espíndola <rafael@espindo.la>
6214 * sysdeps/unix/sysv/linux/mips/init-first.c: Remove #ifdef SHARED.
6215 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: Remove #ifdef SHARED.
6216 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Define
6217 ALWAYS_USE_VSYSCALL.
6218 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Define
6219 ALWAYS_USE_VSYSCALL.
6220 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Define
6221 ALWAYS_USE_VSYSCALL.
6223 2018-12-10 Florian Weimer <fweimer@redhat.com>
6226 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): Check
6227 offset instead of count for clarity. Fix typo in comment.
6228 (__old_getdents64): Keep track of previous offset. Use it to call
6230 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c (do_test): Check
6231 that d_off is never zero.
6233 2018-12-10 Andreas Schwab <schwab@suse.de>
6235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*-le.abilist: Move to
6236 sysdeps/unix/sysv/linux/powerpc/powerpc64/le/*.abilist.
6237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/*.abilist: Move to
6238 sysdeps/unix/sysv/linux/powerpc/powerpc64/be/*.abilist.
6239 * sysdeps/powerpc/Makefile (abilist-pattern): Don't define.
6241 2018-12-10 Joseph Myers <joseph@codesourcery.com>
6243 * timezone/private.h: Update from tzcode 2018g.
6244 * timezone/tzfile.h: Likewise.
6245 * timezone/tzselect.ksh: Likewise.
6246 * timezone/zdump.c: Likewise.
6247 * timezone/zic.c: Likewise.
6249 2018-12-08 Paul Pluzhnikov <ppluzhnikov@google.com>
6252 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c
6253 (do_test): Adjust buffer size and fix format.
6255 2018-12-07 DJ Delorie <dj@redhat.com>
6258 * malloc/tst-tcfree3.c: New.
6259 * malloc/Makefile: Add it.
6261 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6263 * include/sched.h (__getcpu): Don't use __typeof__ (getcpu).
6265 2018-12-07 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6267 * libio/libioP.h (SCANF_LDBL_USES_FLOAT128): New macro to be
6268 used as a mask for the mode argument of __vfscanf_internal and
6269 __vfwscanf_internal.
6270 * stdio-common/vfscanf-internal.c
6271 [defined COMPILE_WSCANF && __HAVE_FLOAT128_UNLIKE_LDBL]
6272 (__strtof128_internal): Define to __wcstof128_internal.
6273 [__HAVE_FLOAT128_UNLIKE_LDBL] (__vfscanf_internal): Call
6274 __strtof128_internal or __wcstof128_internal when the format of
6275 long double is the same as _Float128.
6277 2018-12-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
6279 * include/unistd.h (__confstr): Add prototype and hidden prototype.
6280 * posix/confstr.c (confstr): Rename to __confstr.
6281 (__confstr): Add hidden def.
6282 (confstr): Add weak alias for __confstr.
6283 * sysdeps/mach/hurd/spawni.c (__spawni): Call __confstr instead of
6286 2018-12-07 H.J. Lu <hongjiu.lu@intel.com>
6288 * NEWS: Mention getcpu.
6289 * include/sched.h (__getcpu): New libc_hidden_proto.
6290 * manual/resource.texi: Document getcpu.
6291 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add getcpu.
6292 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.29): Add getcpu.
6293 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add getcpu.
6294 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6295 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
6296 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6297 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6298 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6299 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6300 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6301 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6302 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6303 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
6305 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6306 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6307 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
6308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
6312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
6314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
6316 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
6317 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6318 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6319 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6320 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6321 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6322 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6323 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6324 * sysdeps/unix/sysv/linux/bits/sched.h (getcpu): New prototype.
6325 * sysdeps/unix/sysv/linux/getcpu.c: New file.
6326 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c (test_size):
6329 2018-12-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
6331 * sysdeps/mach/hurd/spawni.c (child_lookup_under, child_fchdir): New
6333 (__spawni): Handle spawn_do_fchdir by calling child_fchdir.
6335 2018-12-07 Florian Weimer <fweimer@redhat.com>
6338 * posix/Makefile (routines): Add spawn_faction_addfchdir.
6339 * posix/Versions (GLIBC_2.29): Export
6340 posix_spawn_file_actions_addfchdir_np.
6341 * posix/spawn.h (posix_spawn_file_actions_addfchdir_np): Declare.
6342 * posix/spawn_faction_destroy.c
6343 (__posix_spawn_file_actions_destroy): Handle spawn_do_fchdir.
6344 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_fchdir
6345 and the field action.fchdir_action.
6346 * posix/tst-spawn-chdir.c (add_chdir): New function.
6347 (do_test): Add do_fchdir loop. Call add_chdir.
6348 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_fchdir.
6349 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
6350 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
6351 posix_spawn_file_actions_addfchdir_np.
6352 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
6354 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
6356 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
6357 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
6359 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
6361 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
6363 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
6365 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
6367 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
6369 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
6370 (GLIBC_2.29): Likewise.
6371 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
6372 (GLIBC_2.29): Likewise.
6373 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
6374 (GLIBC_2.29): Likewise.
6375 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
6376 (GLIBC_2.29): Likewise.
6377 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
6379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
6380 (GLIBC_2.29): Likewise.
6381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
6382 (GLIBC_2.29): Likewise.
6383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
6384 (GLIBC_2.29): Likewise.
6385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
6386 (GLIBC_2.29): Likewise.
6387 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
6389 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
6391 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
6393 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
6394 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
6396 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
6398 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
6400 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
6403 2018-12-06 Joseph Myers <joseph@codesourcery.com>
6405 * manual/texinfo.tex: Update to version 2018-09-21.20 with
6406 trailing whitespace removed.
6407 * scripts/config.guess: Update to version 2018-11-28.
6408 * scripts/config.sub: Update to version 2018-11-28.
6409 * scripts/install-sh: Update to version 2018-03-11.20.
6410 * scripts/mkinstalldirs: Update to version 2018-03-07.03.
6411 * scripts/move-if-change: Update to version 2018-03-07 03:47.
6413 2018-12-07 Florian Weimer <fweimer@redhat.com>
6417 * inet/tst-if_index-long.c: New file.
6418 * inet/Makefile (tests): Add tst-if_index-long.
6420 2018-12-07 Florian Weimer <fweimer@redhat.com>
6422 * support/check.h (support_record_failure_is_failed): Declare.
6423 * support/descriptors.h: New file.
6424 * support/support_descriptors.c: Likewise.
6425 * support/tst-support_descriptors.c: Likewise.
6426 * support/support_record_failure.c
6427 (support_record_failure_is_failed): New function.
6428 * support/Makefile (libsupport-routines): Add support_descriptors.
6429 (tests): Add tst-support_descriptors.
6431 2018-12-05 Zack Weinberg <zackw@panix.com>
6432 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6434 * stdio-common/vfprintf-internal.c
6435 (__vfprintf_internal, __vfwprintf_internal): Don't use __ldbl_is_dbl.
6436 * sysdeps/generic/math_ldbl_opt.h: Remove __ldbl_is_dbl.
6437 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Remove __ldbl_is_dbl
6438 and __no_long_double.
6439 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.c: Remove file.
6440 * sysdeps/ieee754/ldbl-opt/Makefile (routines): Remove math_ldbl_opt.
6441 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Remove
6442 libc_hidden_proto and libc_hidden_def from all __nldbl_*printf*
6443 and __nldbl_*syslog* functions.
6444 (__nldbl_cleanup, set_no_long_double, clear_no_long_double): Remove.
6445 (__nldbl___asprintf, __nldbl_dprintf, __nldbl_fprintf)
6446 (__nldbl_fwprintf, __nldbl_printf, __nldbl_sprintf)
6447 (__nldbl_vfprintf, __nldbl___vsprintf, __nldbl_obstack_vprintf)
6448 (__ndlbl_obstack_printf, __nldbl_snprintf, __nldbl_swprintf)
6449 (__nldbl_vasprintf, __nldbl_vdprintf, __nldbl_vfwprintf)
6450 (__nldbl_vprintf, __nldbl_vsnprintf, __ndlbl_vswprintf)
6451 (__nldbl_vwprintf, __nldbl_wprintf):
6452 Directly call the appropriate __v*printf_internal routine, passing
6453 PRINTF_LDBL_IS_DBL. Do not mess with __no_long_double. Normalize
6455 (__nldbl___fprintf_chk, __nldbl___fwprintf_chk)
6456 (__nldbl___printf_chk, __nldbl___snprintf_chk)
6457 (__nldbl___sprintf_chk, __nldbl___swprintf_chk)
6458 (__nldbl___vfprintf_chk, __nldbl___vfwprintf_chk)
6459 (__nldbl___vprintf_chk, __nldbl___vsnprintf_chk)
6460 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6461 (__nldbl___vwprintf_chk, __nldbl___wprintf_chk)
6462 (__nldbl___vasprintf_chk, __nldbl___asprintf_chk)
6463 (__nldbl___vdprintf_chk, __nldbl___dprintf_chk)
6464 (__nldbl___obstack_vprintf_chk, __nldbl___obstack_printf_chk):
6465 Likewise, and also pass PRINTF_FORTIFY when appropriate.
6466 (__nldbl_syslog, __nldbl_vsyslog):
6467 Directly call __vsyslog_internal, passing PRINTF_LDBL_IS_DBL.
6468 (__nldbl_syslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6470 (__nldbl_vsyslog_chk): Likewise, and also pass PRINTF_FORTIFY when
6473 2018-12-05 Zack Weinberg <zackw@panix.com>
6474 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6477 * libio/iovsprintf.c (_IO_str_chk_overflow, libio_vtable):
6478 Moved here from debug/vsprintf_chk.c.
6479 (__vsprintf_internal): Add 'maxlen' argument. Change the setup
6480 and completion logic for the strfile to match exactly what
6481 __vsprintf_chk used to do, except, when maxlen is -1, pass -1 to
6482 _IO_str_init_static_internal instead of maxlen-1.
6483 (__vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6484 * stdio-common/sprintf.c (__sprintf): Pass -1 as maxlen to
6485 __vsprintf_internal.
6487 * debug/vsprintf_chk.c (__vsprintf_chk)
6488 * debug/sprintf_chk.c (__sprintf_chk):
6489 Directly call __vsprintf_internal, passing PRINTF_FORTIFY if
6490 'flags' argument is positive, and slen as maxlen. No need to lock
6491 the FILE and/or construct a temporary FILE. Minimize and normalize
6492 header inclusions and variable names. Do not libc_hidden_def anything.
6494 * debug/asprintf_chk.c (__asprintf_chk)
6495 * debug/dprintf_chk.c (__dprintf_chk)
6496 * debug/fprintf_chk.c (__fprintf_chk)
6497 * debug/fwprintf_chk.c (__fwprintf_chk)
6498 * debug/printf_chk.c (__printf_chk)
6499 * debug/snprintf_chk.c (__snprintf_chk)
6500 * debug/swprintf_chk.c (__swprintf_chk)
6501 * debug/vasprintf_chk.c (__vasprintf_chk)
6502 * debug/vdprintf_chk.c (__vdprintf_chk)
6503 * debug/vfprintf_chk.c (__vfprintf_chk)
6504 * debug/vfwprintf_chk.c (__vfwprintf_chk)
6505 * debug/vprintf_chk.c (__vprintf_chk)
6506 * debug/vsnprintf_chk.c (__vsnprintf_chk)
6507 * debug/vswprintf_chk.c (__vswprintf_chk)
6508 * debug/vwprintf_chk.c (__vwprintf_chk)
6509 * debug/wprintf_chk.c (__wprintf_chk):
6510 Directly call the corresponding vxxprintf_internal function, passing
6511 PRINTF_FORTIFY if 'flag' argument is positive. No need to lock
6512 the FILE and/or construct a temporary FILE. Minimize and normalize
6513 header inclusions and variable names. Do not libc_hidden_def anything.
6515 * debug/obprintf_chk.c (__obstack_printf_chk): Directly call
6516 __obstack_vprintf_internal.
6517 (__obstack_vprintf_chk): Convert into a wrapper that calls
6518 __obstack_vprintf_internal (these two functions already had the
6519 same code) and move to new file...
6520 * debug/vobprintf_chk.c (__obstack_vprintf_chk): ... here. New
6522 * debug/obprintf.c (__obstack_vprintf_internal): Remove the checking of
6523 the flags argument and the setting of _IO_FLAGS2_FORTIFY.
6524 * debug/Makefile (routines): Add vobprintf_chk.
6526 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
6527 (__nldbl___vsprintf): Pass -1 as maxlen to __vsprintf_internal.
6528 (__nldbl___vfprintf_chk, __nldbl___vsnprintf_chk)
6529 (__nldbl___vsprintf_chk, __nldbl___vswprintf_chk)
6530 (__nldbl___vasprintf_chk, __nldbl___vdprintf_chk)
6531 (__nldbl___obstack_vfprintf_chk):
6532 Directly call the corresponding vxxprintf_internal function,
6533 passing PRINTF_FORTIFY if 'flag' argument is positive. If necessary,
6534 duplicate comparison of slen with 0 or maxlen from the corresponding
6535 non-__nldbl function.
6537 * include/stdio.h (__vsnprintf_chk, __vfprintf_chk, __vasprintf_chk)
6538 (__vdprintf_chk, __obstack_vfprintf_chk): Remove libc_hidden_proto.
6539 * include/wchar.h (__vfwprintf_chk, __vswprintf_chk):
6540 Remove libc_hidden_proto.
6542 * stdio-common/vfprintf-internal.c
6543 (__vfprintf_internal, __vfwprintf_internal):
6544 Do not check _IO_FLAGS2_FORTIFY.
6545 * libio/libio.h (_IO_FLAGS2_FORTIFY): Remove.
6546 * libio/libioP.h: Update prototype of __vsprintf_internal and add
6547 a comment explaining why it has the maxlen argument.
6548 (_IO_acquire_lock_clear_flags2_fct): Remove.
6549 (_IO_acquire_lock_clear_flags2): Remove.
6550 (_IO_release_lock): Remove conditional statement which will
6552 (_IO_acquire_lock): Remove variable which is now unused.
6553 * sysdeps/generic/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6554 * sysdeps/nptl/stdio-lock.h (_IO_acquire_lock_clear_flags2): Remove.
6556 * stdio-common/Makefile (tests): Add tst-bz11319 and
6557 tst-bz11319-fortify2.
6558 (CFLAGS-tst-bz11319-fortify2.c): New macro.
6559 * stdio-common/tst-bz11319-fortify2.c: New file.
6560 * stdio-common/tst-bz11319.c: Likewise.
6562 2018-12-05 Zack Weinberg <zackw@panix.com>
6563 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6565 * misc/syslog.c: Include libioP.h, not iolibio.h.
6566 (__vsyslog_internal): New function with the former body of
6567 __vsyslog_chk; takes mode_flags argument same as
6568 __v*printf_internal. Call __vfprintf_internal directly.
6570 (__vsyslog_chk): Now a wrapper around __vsyslog_internal.
6571 Remove libc_hidden_def.
6572 (__syslog, __syslog_chk): Use __vsyslog_internal.
6573 (__vsyslog): Move to just below __syslog. Use __vsyslog_internal.
6575 * include/sys/syslog.h: Add multiple inclusion guard.
6576 Add prototype for __vsyslog_internal.
6577 Remove declaration and libc_hidden_proto for __vsyslog_chk.
6579 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl___vsyslog_chk):
6580 Use __vsyslog_internal.
6582 2018-12-05 Zack Weinberg <zackw@panix.com>
6583 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6585 * libio/libioP.h (__vfprintf_internal, __vfwprintf_internal)
6586 (__vasprintf_internal, __vdprintf_internal, __obstack_vprintf_internal)
6587 (__vsprintf_internal, __vsnprintf_internal, __vswprintf_internal):
6589 (PRINTF_LDBL_IS_DBL, PRINTF_FORTIFY): New constants.
6590 (_IO_vasprintf, _IO_vdprintf, _IO_vsnprintf): Remove prototypes.
6592 * stdio-common/vfprintf-internal.c: Rename from vfprintf.c.
6593 Include wctype.h here if COMPILE_WPRINTF is defined.
6594 Define __vfprintf_internal or __vfwprintf_internal, depending
6596 Temporarily, on entry to this function, update mode_flags
6597 according to the environmental settings corresponding to
6598 PRINTF_LDBL_IS_DBL and PRINTF_FORTIFY.
6599 Throughout, check mode_flags instead of __ldbl_is_dbl and
6600 _IO_FLAGS2_FORTIFY on the destination FILE.
6601 * stdio-common/vfwprintf-internal.c: Rename from vfwprintf.c.
6602 Include vfprintf-internal.c. Don't include wctype.h.
6603 * stdio-common/vfprintf.c: New file. Just define __vfprintf
6604 as a wrapper around __vfprintf_internal, with aliases _IO_vfprintf
6606 * stdio-common/vfwprintf.c: New file. Just define __vfwprintf
6607 as a wrapper around __vfwprintf_internal, with aliases _IO_vfwprintf
6609 * stdio-common/Makefile: Add vfprintf-internal and vfwprintf-internal.
6611 * libio/iovdprintf.c (_IO_vdprintf): Rename to __vdprintf_internal
6612 and add mode_flags argument; use __vfprintf_internal.
6613 (__vdprintf): New function. Alias vdprintf to this.
6614 * libio/iovsprintf.c (_IO_vsprintf, __vsprintf): Similarly.
6615 * libio/vasprintf.c (_IO_vasprintf, __vasprintf): Similarly.
6616 * libio/obprintf.c (_IO_obstack_vprintf, __obstack_vprintf): Similarly.
6617 (__obstack_printf): Use __obstack_printf_internal.
6618 * libio/vsnprintf.c (_IO_vsnprintf, ___vsnprintf): Similarly, with
6619 public aliases __vsnprintf and vsnprintf.
6620 Remove use of ldbl_hidden_def, since __vsnprintf is no longer
6622 * libio/vswprintf (_IO_vswprintf, __vswprintf): Similarly, with
6623 public aliases _IO_vsprintf and vsprintf.
6624 * libio/swprintf.c (__swprintf): Use __vswprintf_internal.
6625 * stdio-common/asprintf.c (__asprintf): Use __vasprintf_internal.
6626 * stdio-common/dprintf.c (__dprintf): Use __vdprintf_internal.
6627 * stdio-common/snprintf.c (__snprintf): Use __vsprintf_internal.
6628 * stdio-common/sprintf.c (__sprintf): Use __vsprintf_internal.
6630 * debug/obprintf_chk.c, debug/vasprintf_chk.c, debug/vdprintf_chk.c
6631 * debug/vsnprintf_chk.c, debug/vsprintf_chk.c, hurd/vpprintf.c
6632 * stdio-common/fprintf.c, stdio-common/fxprintf.c
6633 * stdio-common/printf.c: Use __vfprintf_internal.
6635 * debug/fwprintf_chk.c, debug/vfwprintf_chk.c, debug/vswprintf_chk.c
6636 * debug/vwprintf_chk.c, debug/wprintf_chk.c, libio/fwprintf.c
6637 * libio/vwprintf.c, libio/wprintf.c: Use __vfwprintf_internal.
6639 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Use __vsprintf_internal,
6640 __obstack_vprintf_internal, __vasprintf_internal, __vdprintf_internal,
6641 __vsnprintf_internal, __vswprintf_internal, __vfprintf_internal, and
6642 __vfwprintf_internal.
6644 * libio/libio.h: Remove libc_hidden_proto and declaration for
6646 Remove declaration of _IO_vfwprintf.
6647 * libio/iolibio.h: Remove libc_hidden_proto and declaration for
6649 Remove declarations of _IO_vswprintf, _IO_obstack_printf, and
6651 * include/stdio.h: Add prototype for __vasprintf.
6652 (__vsnprintf): Remove declaration, because there are no more
6654 * include/wchar.h (__vfwprintf, __vswprintf): Remove
6655 declaration, because there are no more internal calls.
6657 * argp/argp-fmtstream.c (__argp_fmtstream_printf): Use
6658 __vsnprintf_internal, instead of _IO_vsnprintf.
6659 * argp/argp-help.c (__argp_error, __argp_failure): Use
6660 __vasprintf_internal, instead of _IO_vasprintf.
6661 * argp/argp-namefrob.h (__vsnprintf): Do not undefined then
6662 redefine, because there are no more internal calls.
6664 2018-12-05 Zack Weinberg <zackw@panix.com>
6665 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6667 * stdio-common/vfscanf-internal.c: Don't look at __ldbl_is_dbl.
6668 * sysdeps/ieee754/ldbl-opt/ndlbl-compat.c:
6669 Include libio/strfile.h instead of libioP.h.
6670 (__nldbl_IO_vfscanf, __ndlbl___vfscanf, __nldbl_sscanf)
6671 (__nldbl___vsscanf, __nldbl_vscanf, __nldbl_fscanf)
6672 (__nldbl_scanf, __nldbl_vfwscanf, __nldbl_swscanf)
6673 (__nldbl_vswscanf, __nldbl_vwscanf, __nldbl_fwscanf)
6674 (__nldbl_wscanf): Call __vfscanf_internal / __vfwscanf_internal
6675 directly, passing SCANF_LDBL_IS_DBL. Set up a strfile if
6676 necessary. Do not set __no_long_double. Normalize variable names.
6677 (__nldbl___isoc99_vfscanf, __nldbl___isoc99_sscanf)
6678 (__nldbl___isoc99_vsscanf, __nldbl___isoc99_vscanf)
6679 (__nldbl___isoc99_fscanf, __nldbl___isoc99_scanf)
6680 (__nldbl___isoc99_vfwscanf, __nldbl___isoc99_swscanf)
6681 (__nldbl___isoc99_vswscanf, __nldbl___isoc99_vwscanf)
6682 (__nldbl___isoc99_fwscanf, __nldbl___isoc99_wscanf):
6683 Call __vfscanf_internal / __vfwscanf_internal directly, passing
6684 SCANF_LDBL_IS_DBL | SCANF_ISOC99_A. Set up a strfile if necessary.
6685 Do not set __no_long_double. Normalize variable names.
6687 2018-12-05 Zack Weinberg <zackw@panix.com>
6688 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6690 * stdio-common/isoc99_scanf.c
6691 * stdio-common/isoc99_fscanf.c
6692 * stdio-common/isoc99_sscanf.c
6693 * stdio-common/isoc99_vscanf.c
6694 * stdio-common/isoc99_vfscanf.c
6695 * stdio-common/isoc99_vsscanf.c
6696 * wcsmbs/isoc99_wscanf.c
6697 * wcsmbs/isoc99_fwscanf.c
6698 * wcsmbs/isoc99_swscanf.c
6699 * wcsmbs/isoc99_vwscanf.c
6700 * wcsmbs/isoc99_vfwscanf.c
6701 * wcsmbs/isoc99_vswscanf.c:
6702 Pass SCANF_ISOC99_A to __vfscanf_internal and/or __vfwscanf_internal.
6703 Do not set _IO_FLAGS2_SCANF_STD on the FILE passed to that function.
6704 No need to lock and unlock the FILE passed to that function.
6706 * stdio-common/vfscanf-internal.c
6707 (__vfscanf_internal, __vfwscanf_internal):
6708 Don't look at _IO_FLAGS2_SCANF_STD.
6709 * libio/libioP.h (_IO_acquire_lock_clear_flags2_fct)
6710 (_IO_release_lock): Don't clear _IO_FLAGS2_SCANF_STD.
6711 * libio/libio.h (_IO_FLAGS2_SCANF_STD): Delete.
6713 2018-12-05 Zack Weinberg <zackw@panix.com>
6714 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
6716 * libio/libioP.h (SCANF_LDBL_IS_DBL, SCANF_ISOC99_A): New constants.
6717 (__vfscanf_internal, __vfwscanf_internal): New function prototypes.
6718 * libio/libio.h: Remove libc_hidden_proto for _IO_vfscanf.
6719 * libio/strfile.h: Add multiple inclusion guard.
6720 (_IO_strfile_read, _IO_strfile_readw): New inline functions.
6722 * sysdeps/generic/math_ldbl_opt.h: Include shlib-compat.h, for
6723 consistency with the other version of this file.
6724 (ldbl_compat_symbol): New macro.
6725 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h (ldbl_compat_symbol):
6728 * stdio-common/vfscanf-internal.c: Rename from vfscanf.c.
6729 Define __vfscanf_internal or __vfwscanf_internal, depending on
6730 COMPILE_WSCANF; don't define any other public symbols.
6731 Remove errval and code to set errp.
6732 Temporarily check __ldbl_is_dbl and _IO_FLAGS2_SCANF_STD as well
6733 as the mode_flags argument.
6734 (encode_error, conv_error, input_error): Don't set errval.
6735 * stdio-common/vfwscanf-internal.c: Rename from vfwscanf.c.
6736 Include vfscanf-internal.c.
6737 * stdio-common/vfscanf.c: New file defining the public entry
6738 point vfscanf, which calls __vfscanf_internal.
6739 * stdio-common/vfwscanf.c: New file defining the public entry
6740 point vfwscanf, which calls __vfwscanf_internal.
6742 * stdio-common/iovfscanf.c: New file.
6743 * stdio-common/iovfwscanf.c: Likewise.
6745 * stdio-common/Makefile (routines): Add vfscanf-internal,
6746 vfwscanf-internal, iovfscanf, iovfwscanf.
6747 * stdio-common/Versions: Mention GLIBC_2.29, so that
6748 it can be used in SHLIB_COMPAT expressions.
6749 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c (__nldbl__IO_vfscanf):
6750 Wrap definition and compat_symbol line in #if SHLIB_COMPAT.
6751 Call __vfscanf_internal, instead of _IO_vfscanf.
6752 (__nldbl___vfscanf): Call __vfscanf_internal, instead of
6754 (__nldbl_vfwscanf): Call __vfwscanf_internal, instead of
6757 * libio/iovsscanf.c: Clean up includes, when possible. Use
6758 _IO_strfile_read or _IO_strfile_readw, when needed. Call
6759 __vfscanf_internal or __vfwscanf_internal directly.
6760 * libio/iovswscanf.c: Likewise.
6761 * libio/swscanf.c: Likewise.
6762 * libio/vscanf.c: Likewise.
6763 * libio/vwscanf.c: Likewise.
6764 * libio/wscanf.c: Likewise.
6765 * stdio-common/isoc99_fscanf.c: Likewise.
6766 * stdio-common/isoc99_scanf.c: Likewise.
6767 * stdio-common/isoc99_sscanf.c: Likewise.
6768 * stdio-common/isoc99_vfscanf.c: Likewise.
6769 * stdio-common/isoc99_vscanf.c: Likewise.
6770 * stdio-common/isoc99_vsscanf.c: Likewise.
6771 * stdio-common/scanf.c: Likewise.
6772 * stdio-common/sscanf.c: Likewise.
6773 * wcsmbs/isoc99_fwscanf.c: Likewise.
6774 * wcsmbs/isoc99_swscanf.c: Likewise.
6775 * wcsmbs/isoc99_vfwscanf.c: Likewise.
6776 * wcsmbs/isoc99_vswscanf.c: Likewise.
6777 * wcsmbs/isoc99_vwscanf.c: Likewise.
6778 * wcsmbs/isoc99_wscanf.c: Likewise.
6780 2018-12-05 Albert ARIBAUD <albert.aribaud@3adev.fr>
6783 (__tz_compute): Replace time_t with __time64_t.
6784 (__tz_convert): Replace time_t* with __time64_t.
6785 (__offtime): Replace time_t* with __time64_t.
6787 (__gmtime_r): Adjust call to __tz_convert.
6790 (__localtime_r): Likewise.
6791 (localtime): Likewise.
6792 * time/offtime.c: Replace time_t with __time64_t.
6793 * time/tzset.c: Likewise.
6795 2018-12-04 Joseph Myers <joseph@codesourcery.com>
6797 * Makefile ($(objpfx)testroot.pristine/install.stamp): Do not run
6798 dynamic linker unless [$(run-built-tests) = yes].
6800 2018-12-03 DJ Delorie <dj@delorie.com>
6802 * support/test-container.c (check_for_unshare_hints): New.
6803 (main): Call it if unshare fails. Add support for "su" scriptlet
6806 2018-12-03 Joseph Myers <joseph@codesourcery.com>
6808 * scripts/gen-as-const.py (compute_c_consts): Take an argument
6809 'START' to indicate that start text should be output.
6810 (gen_test): Likewise.
6811 (main): Generate 'START' for first symbol or '--' line, or at end
6812 of input if not previously generated.
6814 2018-12-03 Rafael Ávila de Espíndola <rafael@espindo.la>
6817 * sysdeps/unix/sysv/linux/arm/init-first.c: Remove #ifdef SHARED.
6818 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: Remove #ifdef SHARED.
6819 * sysdeps/unix/sysv/linux/arm/sysdep.h: Define
6820 ALWAYS_USE_VSYSCALL.
6822 2018-12-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6825 * sysdeps/posix/spawni.c (maybe_script_execute): Increment size of
6828 2018-12-03 Carlos O'Donell <carlos@redhat.com>
6831 * locale/programs/localedef.c: Declare boolean hard_links default true.
6832 (options): Add --no-hard-links option.
6833 (parse_opt): Add OPT_NO_HARD_LINKS case and set hard_links to false.
6834 * locale/programs/localedef.h: Declare prototype for hard_links.
6835 * locale/programs/locfile.c (write_locale_data): Don't use hard
6836 links if hard_links is false.
6838 2018-12-03 H.J. Lu <hongjiu.lu@intel.com>
6840 * sysdeps/x86/cacheinfo.c (intel_check_word): Updated for
6842 (__cache_sysconf): Likewise.
6843 (init_cacheinfo): Likewise.
6844 * sysdeps/x86/cpu-features.c (get_extended_indeces): Also
6845 populate COMMON_CPUID_INDEX_80000007 and
6846 COMMON_CPUID_INDEX_80000008.
6847 (get_common_indices): Also populate COMMON_CPUID_INDEX_D_ECX_1.
6848 Use CPU_FEATURES_CPU_P (cpu_features, XSAVEC) to check if
6849 XSAVEC is available. Set the bit_arch_XXX_Usable bits.
6850 (init_cpu_features): Use _Static_assert on
6851 index_arch_Fast_Unaligned_Load.
6852 __get_cpuid_registers and __get_arch_feature. Updated for
6853 cpu_features_basic. Set stepping in cpu_features.
6854 * sysdeps/x86/cpu-features.h: (FEATURE_INDEX_1): Changed to enum.
6855 (FEATURE_INDEX_2): New.
6856 (FEATURE_INDEX_MAX): Changed to enum.
6857 (COMMON_CPUID_INDEX_D_ECX_1): New.
6858 (COMMON_CPUID_INDEX_80000007): Likewise.
6859 (COMMON_CPUID_INDEX_80000008): Likewise.
6860 (cpuid_registers): Likewise.
6861 (cpu_features_basic): Likewise.
6862 (CPU_FEATURE_USABLE): Likewise.
6863 (bit_arch_XXX_Usable): Likewise.
6864 (cpu_features): Use cpuid_registers and cpu_features_basic.
6865 (bit_arch_XXX): Reweritten.
6866 (bit_cpu_XXX): Likewise.
6867 (index_cpu_XXX): Likewise.
6868 (reg_XXX): Likewise.
6869 * sysdeps/x86/tst-get-cpu-features.c: Include <stdio.h> and
6871 (CHECK_CPU_FEATURE): New.
6872 (CHECK_CPU_FEATURE_USABLE): Likewise.
6873 (cpu_kinds): Likewise.
6874 (do_test): Print vendor, family, model and stepping. Check
6875 HAS_CPU_FEATURE and CPU_FEATURE_USABLE.
6876 (TEST_FUNCTION): Removed.
6877 Include <support/test-driver.c> instead of
6878 "../../test-skeleton.c".
6879 * sysdeps/x86_64/multiarch/sched_cpucount.c (__sched_cpucount):
6880 Check POPCNT instead of POPCOUNT.
6881 * sysdeps/x86_64/multiarch/test-multiarch.c (do_test): Likewise.
6883 2018-12-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
6885 * scripts/gen-as-const.py (main): Avoid emitting empty line when
6886 there is no element in `consts'.
6888 2018-12-01 Florian Weimer <fweimer@redhat.com>
6890 * support/support_capture_subprocess.c
6891 (support_capture_subprocess): Check that pipe descriptors have
6892 expected values. Close original pipe descriptors in subprocess.
6894 2018-12-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
6897 * sysdeps/htl/pt-barrier-init.c (pthread_barrier_init): Fix comparing
6898 attr with __pthread_default_barrierattr.
6899 * sysdeps/htl/pt-cond-init.c (__pthread_cond_init): Fix comparing
6900 attr with __pthread_default_condattr.
6901 * sysdeps/htl/pt-mutex-init.c (_pthread_mutex_init): Fix comparing
6902 attr with __pthread_default_mutexattr.
6903 * sysdeps/htl/pt-rwlock-init.c (_pthread_rwlock_init): Fix comparing
6904 attr with __pthread_default_rwlockattr.
6906 2018-12-01 Kemi Wang <kemi.wang@intel.com>
6908 * manual/tunables.texi (POSIX Thread Tunables): New node.
6909 * nptl/Makefile (libpthread-routines): Add pthread_mutex_conf.
6910 * nptl/nptl-init.c: Include pthread_mutex_conf.h
6911 (__pthread_initialize_minimal_internal) [HAVE_TUNABLES]: Call
6912 __pthread_tunables_init.
6913 * nptl/pthreadP.h (MAX_ADAPTIVE_COUNT): Remove.
6914 (max_adaptive_count): Define.
6915 * nptl/pthread_mutex_conf.c: New file.
6916 * nptl/pthread_mutex_conf.h: New file.
6917 * sysdeps/generic/adaptive_spin_count.h: New file.
6918 * sysdeps/nptl/dl-tunables.list: New file.
6919 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
6920 max_adaptive_count () not MAX_ADAPTIVE_COUNT.
6921 * nptl/pthread_mutex_timedlock.c (__pthrad_mutex_timedlock):
6924 2018-12-01 Paul Pluzhnikov <ppluzhnikov@google.com>
6927 * stdlib/cxa_atexit.c (__internal_atexit): assert func != NULL.
6928 * stdlib/on_exit.c (__on_exit): Likewise.
6929 * stdlib/Makefile (tests): Add tst-bz20544.
6930 * stdlib/tst-bz20544.c: New test.
6932 2018-11-30 Rafael Ávila de Espíndola <rafael@espindo.la>
6935 * sysdeps/unix/sysv/linux/i386/init-first.c: Don't check SHARED.
6936 * sysdeps/unix/sysv/linux/i386/sysdep.h (ALWAYS_USE_VSYSCALL):
6939 2018-11-30 Florian Weimer <fweimer@redhat.com>
6941 * scripts/abilist.awk: Print "0x0" for size 0. Handle "g"/"D".
6942 Extend error logging.
6943 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.2.6): Adjust _end
6946 2018-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6948 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Use
6949 __sigismember instead of sigismember.
6950 * sysdeps/posix/system.c [SIGCANCEL] (cancel_handler_args,
6951 cancel_handler): New definitions.
6952 (do_system): Use posix_spawn instead of fork and execl and remove
6954 * sysdeps/generic/not-errno.h (__kill_noerrno): New prototype.
6955 * sysdeps/unix/sysv/linux/not-errno.h (__kill_noerrno): Likewise.
6956 * sysdeps/unix/sysv/linux/ia64/system.c: Remove file.
6957 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
6958 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
6959 * sysdeps/unix/sysv/linux/system.c: Likewise.
6963 * NEWS: Add new semantic for atfork with popen and system.
6964 * libio/iopopen.c (_IO_new_proc_open): use posix_spawn instead of
6967 2018-11-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
6970 * elf/dl-runtime.c (_dl_profile_fixup): Guarantee memory
6971 modification order when accessing reloc_result->addr.
6972 * include/link.h (reloc_result): Add field init.
6973 * nptl/Makefile (tests): Add tst-audit-threads.
6974 (modules-names): Add tst-audit-threads-mod1 and
6975 tst-audit-threads-mod2.
6976 Add rules to build tst-audit-threads.
6977 * nptl/tst-audit-threads-mod1.c: New file.
6978 * nptl/tst-audit-threads-mod2.c: Likewise.
6979 * nptl/tst-audit-threads.c: Likewise.
6980 * nptl/tst-audit-threads.h: Likewise.
6982 2018-11-30 Joseph Myers <joseph@codesourcery.com>
6984 * scripts/gen-as-const.py: New file.
6985 * scripts/gen-as-const.awk: Remove.
6986 * Makerules ($(common-objpfx)%.h $(common-objpfx)%.h.d): Use
6988 ($(objpfx)test-as-const-%.c): Likewise.
6990 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
6992 * elf/dl-exception.c: Include <_itoa.h>.
6994 2018-11-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
6996 * sysdeps/mach/hurd/fcntl.c (__libc_fcntl): Directly return value
6997 returned by __f_setlk.
6999 2018-11-29 H.J. Lu <hongjiu.lu@intel.com>
7000 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7002 * elf/Makefile (tests-internal): Add tst-create_format1.
7003 * elf/dl-exception.c (_dl_exception_create_format): Support
7005 * elf/tst-create_format1.c: New file.
7007 2018-11-29 Charles-Antoine Couret <charles-antoine.couret@essensium.com>
7009 * argp/argp-fmtstream.c (__argp_fmtstream_update): Use [_LIBC]
7010 conditional on calls to _IO_fwide and putwc_unlocked. (Merge from
7012 * argp/argp-help.c (__argp_failure): Likewise.
7014 2018-11-29 Mao Han <han_mao@c-sky.com>
7016 * elf/elf.h (EM_CSKY, R_CKCORE_NONE, R_CKCORE_ADDR32)
7017 (R_CKCORE_PCRELIMM8BY4, R_CKCORE_PCRELIMM11BY2, R_CKCORE_PCREL32)
7018 (R_CKCORE_PCRELJSR_IMM11BY2, R_CKCORE_RELATIVE, R_CKCORE_COPY)
7019 (R_CKCORE_GLOB_DAT, R_CKCORE_JUMP_SLOT, R_CKCORE_GOTOFF)
7020 (R_CKCORE_GOTPC, R_CKCORE_GOT32, R_CKCORE_PLT32, R_CKCORE_ADDRGOT)
7021 (R_CKCORE_ADDRPLT, R_CKCORE_PCREL_IMM26BY2, R_CKCORE_PCREL_IMM16BY2)
7022 (R_CKCORE_PCREL_IMM16BY4, R_CKCORE_PCREL_IMM10BY2)
7023 (R_CKCORE_PCREL_IMM10BY4, R_CKCORE_ADDR_HI16, R_CKCORE_ADDR_LO16)
7024 (R_CKCORE_GOTPC_HI16, R_CKCORE_GOTPC_LO16, R_CKCORE_GOTOFF_HI16)
7025 (R_CKCORE_GOTOFF_LO16, R_CKCORE_GOT12, R_CKCORE_GOT_HI16)
7026 (R_CKCORE_GOT_LO16, R_CKCORE_PLT12, R_CKCORE_PLT_HI16)
7027 (R_CKCORE_PLT_LO16, R_CKCORE_ADDRGOT_HI16, R_CKCORE_ADDRGOT_LO16)
7028 (R_CKCORE_ADDRPLT_HI16, R_CKCORE_ADDRPLT_LO16)
7029 (R_CKCORE_PCREL_JSR_IMM26BY2, R_CKCORE_TOFFSET_LO16)
7030 (R_CKCORE_DOFFSET_LO16, R_CKCORE_PCREL_IMM18BY2)
7031 (R_CKCORE_DOFFSET_IMM18, R_CKCORE_DOFFSET_IMM18BY2)
7032 (R_CKCORE_DOFFSET_IMM18BY4, R_CKCORE_GOT_IMM18BY4)
7033 (R_CKCORE_PLT_IMM18BY4, R_CKCORE_PCREL_IMM7BY4, R_CKCORE_TLS_LE32)
7034 (R_CKCORE_TLS_IE32, R_CKCORE_TLS_GD32, R_CKCORE_TLS_LDM32)
7035 (R_CKCORE_TLS_LDO32, R_CKCORE_TLS_DTPMOD32, R_CKCORE_TLS_DTPOFF32)
7036 (R_CKCORE_TLS_TPOFF32): New defines.
7038 2018-11-29 Florian Weimer <fweimer@redhat.com>
7040 * posix/Makefile (before-compile): Remove testcases.h and
7042 (generated): Add testcases.h and ptestcases.h.
7043 (testcases.h, ptestcases.h): Move to $(objpfx).
7044 (runtests.o): Add dependency on testcases.h.
7045 (runptests.o): Add dependency on ptestcases.h.
7046 * posix/testcases.h, posix/ptestcases.h: Remove files.
7047 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps): Do
7048 not touch posix/testcases.h and posix/ptestcases.h.
7050 2018-11-28 Florian Weimer <fweimer@redhat.com>
7052 support: Add signal support to support_capture_subprocess_check.
7053 * support/capture_subprocess.h (support_capture_subprocess_check):
7054 Adjust comment and rename parameter.
7055 * support/support_capture_subprocess_check.c
7056 (print_actual_status): New function.
7057 (support_capture_subprocess_check): Support negative
7058 status_or_signal. Call print_actual_status.
7059 * support/tst-support_capture_subprocess.c (do_test): Call
7060 support_capture_subprocess_check.
7061 * libio/tst-vtables-common.c (termination_status)
7062 (init_termination_status): Remove.
7063 (check_for_termination): Adjust support_capture_subprocess_check
7065 (do_test): Remove call to init_termination_status.
7067 2018-11-28 Joseph Myers <joseph@codesourcery.com>
7069 * scripts/build-many-glibcs.py (Glibc.build_glibc): Use original
7070 source directory instead of a copy.
7071 (CommandList.create_copy_dir): Remove.
7073 2018-11-28 Stefan Liebler <stli@linux.ibm.com>
7075 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7077 2018-11-28 Florian Weimer <fweimer@redhat.com>
7079 * support/support.h (support_quote_string): Do not use str
7082 2018-11-27 Joseph Myers <joseph@codesourcery.com>
7084 * sysdeps/mach/hurd/Makefile ($(common-objpfx)stamp-errnos): Use
7085 $(hurd-objpfx)bits/errno.h-tmp, not $(hurd)/bits/errno.h-tmp.
7087 2018-11-27 Florian Weimer <fweimer@redhat.com>
7089 * support/support.h (support_quote_string): Declare.
7090 * support/support_quote_string.c: New file.
7091 * support/tst-support_quote_string.c: Likewise.
7092 * support/Makefile (libsupport-routines): Add
7093 support_quote_string.
7094 (tests): Add tst-support_quote_string.
7096 2018-11-27 Florian Weimer <fweimer@redhat.com>
7100 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Avoid
7101 descriptor leak in case of ENODEV error.
7103 2018-11-27 Rafael Ávila de Espíndola <rafael@espindo.la>
7106 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Remove #ifdef SHARED.
7107 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: Remove #ifdef SHARED.
7108 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Define ALWAYS_USE_VSYSCALL.
7110 2018-11-26 Carlos O'Donell <carlos@redhat.com>
7112 * scripts/abilist.awk: Handle .tdata. Error for unknown combinations.
7113 Error for unknown lines.
7115 2018-11-26 Joseph Myers <joseph@codesourcery.com>
7117 * scripts/build-many-glibcs.py (Context.fix_glibc_timestamps):
7118 Touch additional files.
7120 2018-11-26 Florian Weimer <fweimer@redhat.com>
7123 * malloc/malloc.c (_int_free): Validate tc_idx before checking for
7126 2018-11-26 Rafael Ávila de Espíndola <rafael@espindo.la>
7129 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Remove #ifdef SHARED.
7130 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: Remove #ifdef
7131 SHARED. Include sysdep.h.
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Define
7133 ALWAYS_USE_VSYSCALL.
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Define
7135 ALWAYS_USE_VSYSCALL.
7137 2018-11-23 Rafael Ávila de Espíndola <rafael@espindo.la>
7140 * nptl/Makefile (tests-static): Add tst-cond11-static.
7142 * nptl/tst-cond11-static.c: New File.
7143 * sysdeps/unix/sysv/linux/Makefile (tests-static): Add
7144 tst-affinity-static.
7146 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Check USE_VSYSCALL
7148 * sysdeps/unix/sysv/linux/sysdep.h (ALWAYS_USE_VSYSCALL): New.
7149 (USE_VSYSCALL): Likewise.
7150 * sysdeps/unix/sysv/linux/tst-affinity-static.c: New file.
7151 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: Check USE_VSYSCALL
7153 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Don't check
7155 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (ALWAYS_USE_VSYSCALL):
7158 2018-11-23 Joseph Myers <joseph@codesourcery.com>
7161 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7162 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_COPY_FILE_RANGE):
7165 2018-11-23 H.J. Lu <hongjiu.lu@intel.com>
7167 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1a.
7168 (tst-cet-legacy-1a-ARGS): New.
7169 ($(objpfx)tst-cet-legacy-1a): New target.
7170 * sysdeps/x86/tst-cet-legacy-1a.c: New file.
7172 2018-11-22 Joseph Myers <joseph@codesourcery.com>
7174 * conform/conformtest.py (CompileSubTest.__init__): Set
7175 self.run_early to False.
7176 (ExecuteSubTest.__init__): Likewise.
7177 (HeaderTests.run): Try running all non-optional, non-XFAILed
7178 compilation tests in a single execution of the compiler.
7180 * conform/conformtest.py (CompileSubTest): New class.
7181 (ExecuteSubTest): Likewise.
7182 (ElementTest.run): Rename to gen_subtests. Append tests to
7183 self.subtests instead of running them.
7184 (ConstantTest.run): Likewise.
7185 (SymbolTest.run): Likewise.
7186 (TypeTest.run): Likewise.
7187 (TagTest.run): Likewise.
7188 (FunctionTest.run): Likewise.
7189 (VariableTest.run): Likewise.
7190 (MacroFunctionTest.run): Likewise.
7191 (MacroStrTest.run): Likewise.
7192 (HeaderTests.handle_test_line): Generate subtests for tests.
7193 (HeaderTests.run): Run subtests for tests.
7195 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7197 * math/Versions (GLIBC_2.29): Add pow.
7198 * math/w_pow_compat.c (__pow_compat): Change to versioned compat
7200 * math/w_pow.c: New file.
7201 * sysdeps/i386/fpu/w_pow.c: New file.
7202 * sysdeps/ia64/fpu/e_pow.S: Add versioned symbols.
7203 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Rename to __pow
7204 and add necessary aliases.
7205 * sysdeps/ieee754/dbl-64/w_pow.c: New file.
7206 * sysdeps/m68k/m680x0/fpu/w_pow.c: New file.
7207 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7208 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7209 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7210 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7211 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7212 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7213 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7214 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7215 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7216 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7217 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7218 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7219 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7224 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7225 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7226 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7227 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7228 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7229 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7230 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7231 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__ieee754_pow): Rename to
7233 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__ieee754_pow): Likewise.
7234 * sysdeps/x86_64/fpu/multiarch/e_pow.c (__ieee754_pow): Likewise.
7235 * sysdeps/x86_64/fpu/multiarch/w_pow.c: New file.
7237 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7239 * math/Versions (GLIBC_2.29): Add log2.
7240 * math/w_log2_compat.c (__log2_compat): Change to versioned compat
7242 * math/w_log2.c: New file.
7243 * sysdeps/i386/fpu/w_log2.c: New file.
7244 * sysdeps/ia64/fpu/e_log2.S: Add versioned symbols.
7245 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Rename to __log2
7246 and add necessary aliases.
7247 * sysdeps/ieee754/dbl-64/w_log2.c: New file.
7248 * sysdeps/m68k/m680x0/fpu/w_log2.c: New file.
7249 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7250 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7251 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7252 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7253 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7254 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7255 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7256 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7257 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7258 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7259 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7260 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7261 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7266 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7267 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7268 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7269 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7270 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7271 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7272 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7274 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7276 * math/Versions (GLIBC_2.29): Add log.
7277 * math/w_log_compat.c (__log_compat): Change to versioned compat
7279 * math/w_log.c: New file.
7280 * sysdeps/i386/fpu/w_log.c: New file.
7281 * sysdeps/ia64/fpu/e_log.S: Update.
7282 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Rename to __log
7283 and add necessary aliases.
7284 * sysdeps/ieee754/dbl-64/w_log.c: New file.
7285 * sysdeps/m68k/m680x0/fpu/w_log.c: New file.
7286 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7287 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7288 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7289 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7290 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7291 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7292 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7293 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7294 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7295 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7296 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7297 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7298 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7303 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7304 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7305 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7306 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7307 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7308 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7309 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7310 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c (__ieee754_log): Rename to
7312 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c (__ieee754_log): Likewise.
7313 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c (__ieee754_log): Likewise.
7314 * sysdeps/x86_64/fpu/multiarch/e_log.c (__ieee754_log): Likewise.
7315 * sysdeps/x86_64/fpu/multiarch/w_log.c: New file.
7317 2018-11-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
7319 * math/Versions (GLIBC_2.29): Add exp and exp2.
7320 * math/w_exp2_compat.c (__exp2_compat): Change to versioned compat
7321 symbol, handle NO_LONG_DOUBLE and LONG_DOUBLE_COMPAT explicitly.
7322 * math/w_exp_compat.c (__exp_compat): Likewise.
7323 * math/w_exp.c: New file.
7324 * math/w_exp2.c: New file.
7325 * sysdeps/i386/fpu/w_exp.c: New file.
7326 * sysdeps/i386/fpu/w_exp2.c: New file.
7327 * sysdeps/ia64/fpu/e_exp.S: Add versioned symbols.
7328 * sysdeps/ia64/fpu/e_exp2.S: Likewise.
7329 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Rename to __exp
7330 and add necessary aliases.
7331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Rename to __exp2
7332 and add necessary aliases.
7333 * sysdeps/ieee754/dbl-64/w_exp.c: New file.
7334 * sysdeps/ieee754/dbl-64/w_exp2.c: New file.
7335 * sysdeps/m68k/m680x0/fpu/w_exp.c: New file.
7336 * sysdeps/m68k/m680x0/fpu/w_exp2.c: New file.
7337 * sysdeps/mach/hurd/i386/libm.abilist: Update.
7338 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
7339 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Update.
7340 * sysdeps/unix/sysv/linux/arm/libm.abilist: Update.
7341 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Update.
7342 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
7343 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Update.
7344 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Update.
7345 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Update.
7346 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Update.
7347 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Update.
7348 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Update.
7349 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Update.
7350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Update.
7351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Update.
7352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Update.
7353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Update.
7354 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Update.
7355 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Update.
7356 * sysdeps/unix/sysv/linux/sh/libm.abilist: Update.
7357 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Update.
7358 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Update.
7359 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Update.
7360 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Update.
7361 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__exp1): Remove.
7362 (__ieee754_exp): Rename to __exp.
7363 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__exp1): Remove.
7364 (__ieee754_exp): Rename to __exp.
7365 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__exp1): Remove.
7366 (__ieee754_exp): Rename to __exp.
7367 * sysdeps/x86_64/fpu/multiarch/e_exp.c (__ieee754_exp): Rename to
7369 * sysdeps/x86_64/fpu/multiarch/w_exp.c: New file.
7371 2018-11-20 DJ Delorie <dj@redhat.com>
7373 * malloc/malloc.c (tcache_entry): Add key field.
7374 (tcache_put): Set it.
7375 (tcache_get): Likewise.
7376 (_int_free): Check for double free in tcache.
7377 * malloc/tst-tcfree1.c: New.
7378 * malloc/tst-tcfree2.c: New.
7379 * malloc/Makefile: Run the new tests.
7380 * manual/probes.texi: Document memory_tcache_double_free probe.
7382 * dlfcn/dlerror.c (check_free): Prevent double frees.
7384 2018-11-20 Wilco Dijkstra <wdijkstr@arm.com>
7386 * sysdeps/aarch64/memset.S (MEMSET): Improve non-zero memset loop.
7388 2018-11-20 Joseph Myers <joseph@codesourcery.com>
7390 * conform/conformtest.py (ElementTest.run): Use unique identifiers
7391 in tests. Use names for format arguments.
7392 (ConstantTest.run): Likewise.
7393 (SymbolTest.run): Likewise.
7394 (TypeTest.run): Likewise.
7395 (TagTest.run): Likewise.
7396 (FunctionTest.run): Likewise.
7397 (VariableTest.run): Likewise.
7398 (MacroFunctionTest.run): Likewise.
7399 (MacroStrTest.run): Likewise.
7400 (HeaderTests.__init__): Set self.num_tests.
7401 (HeaderTests.handle_test_line): Set test.num. Increment
7404 2018-11-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
7406 * sysdeps/mach/hurd/f_setlk.c: Include <unistd.h>.
7407 (__f_setlk): When whence is SEEK_CUR, use __lseek64 to convert it to
7410 2018-11-19 Mao Han <han_mao@c-sky.com>
7412 * scripts/config.guess: Update to version 2018-08-29.
7413 * scripts/config.sub: Update to version 2018-08-29.
7415 2018-11-19 Florian Weimer <fweimer@redhat.com>
7417 support: Print timestamps in timeout handler.
7418 * support/support_test_main.c (print_timestamp): New function.
7419 (signal_handler): Use it to print the termination time and the
7420 time of the last write to standard output.
7422 2018-11-16 Zack Weinberg <zackw@panix.com>
7423 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7425 * include/monetary.h (STRFMON_LDBL_IS_DBL): New constant.
7426 (__vstrfmon_l): Rename to __vstrfmon_l_internal and add flags
7428 * stdlib/strfmon_l.c (__vstrfmon_l): Rename to __vstrfmon_l_internal
7429 and add flags argument. Check flags instead of __ldbl_is_dbl when
7430 deciding whether to set is_long_double.
7431 (__strfmon_l): Call __vstrfmon_l_internal instead of __vstrfmon_l,
7432 passing zero for flags argument.
7433 * stdlib/strfmon.c (strfmon): Same change as made to __strfmon_l.
7435 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
7436 (__nldbl___vstrfmon, __nldbl___vstrfmon_l)
7437 (__nldbl_strfmon, __nldbl___strfmon_l): Call __vstrfmon_l_internal
7438 directly, passing STRFMON_LDBL_IS_DBL for flags argument. Normalize
7439 variable names. Remove libc_hidden_def/libc_hidden_proto from
7440 __nldbl___vstrfmon and __nldbl___vstrfmon_l, because they are no
7441 longer called from within the library.
7442 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Don't use NLDBL_DECL
7443 for __nldbl___vstrfmon_l, declare it explicitly.
7445 * manual/locale.texi: Update a reference to vstrfmon_l in comments.
7447 2018-11-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
7449 * sysdeps/mach/hurd/bits/fcntl.h (F_GETLK64, F_SETLK64, F_SETLKW64): New
7451 [__USE_FILE_OFFSET64] (F_GETLK, F_SETLK, F_SETLKW): Define to F_GETLK64,
7452 F_SETLK64, F_SETLKW64, respectively.
7453 * sysdeps/mach/hurd/f_setlk.c: New file.
7454 * sysdeps/mach/hurd/f_setlk.h: New file.
7455 * sysdeps/mach/hurd/Makefile [$(subdir) = io] (sysdeps_routines): Add
7457 * sysdeps/mach/hurd/fcntl.c: Include "f_setlk.h".h".
7458 (__libc_fcntl): Move non-flock operations to...
7459 * sysdeps/mach/hurd/vfcntl.c (__libc_vfcntl): ... New file.
7460 * sysdeps/mach/hurd/fcntl.c (fcntl64): Add missing alias.
7462 2018-11-15 Paul Eggert <eggert@cs.ucla.edu>
7464 mktime: DEBUG_MKTIME cleanup
7465 The DEBUG_MKTIME code no longer works in glibc or in Gnulib.
7466 And it’s no longer needed now that glibc and Gnulib both have
7467 their own testing mechanisms for mktime.
7468 * time/mktime.c (DEBUG_MKTIME): Remove. All uses removed.
7470 mktime: fix non-EOVERFLOW errno handling
7472 mktime was not properly reporting failures when the underlying
7473 localtime_r fails with errno != EOVERFLOW; it incorrectly treated
7474 them like EOVERFLOW failures, and set errno to EOVERFLOW.
7475 The problem could happen on non-glibc platforms, with Gnulib.
7476 * time/mktime.c (guess_time_tm): Remove, replacing with ...
7477 (tm_diff): ... this simpler function, which does not change errno.
7478 All callers changed to deal with errno themselves.
7479 (ranged_convert, __mktime_internal): Return failure immediately if
7480 the underlying function reports any failure other than EOVERFLOW.
7481 (__mktime_internal): Set errno to EOVERFLOW if the spring-forward
7484 mktime: fix bug with Y2038 DST transition
7486 * time/mktime.c (ranged_convert): On 32-bit platforms, don’t
7487 mishandle a DST transition that jumps over the Y2038 boundary.
7488 No such DST transitions are known so this is only a theoretical
7489 bug, but we might as well do things right.
7491 mktime: make more room for overflow
7493 * time/mktime.c (long_int): Now 4⨯ int, not just 3⨯.
7494 This is so that we can add tm_diff results to a previous guess,
7495 which will be useful in a later patch.
7497 mktime: simplify offset guess
7499 * time/mktime.c (__mktime_internal): Omit excess precision.
7501 mktime: new test for mktime failure
7503 Based on a test suggested by Albert Aribaud in:
7504 https://www.sourceware.org/ml/libc-alpha/2018-10/msg00662.html
7505 * time/Makefile (tests): Add bug-mktime4.
7506 * time/bug-mktime4.c: New file.
7508 mktime: fix EOVERFLOW bug
7510 * time/mktime.c [!_LIBC && !DEBUG_MKTIME]:
7511 Include libc-config.h, not config.h, for __set_errno.
7512 (guess_time_tm, __mktime_internal): Set errno to EOVERFLOW on overflow.
7514 2018-11-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
7516 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): Use
7517 __attribute_copy__ to copy attributes from name. Drop static qualifier
7518 to avoid warnings about leaf attribute not having effect on static
7521 2018-11-13 Florian Weimer <fweimer@redhat.com>
7523 * malloc/malloc.c (fastbin_push_entry): New function.
7524 (fastbin_pop_entry): Likewise. Replaces REMOVE_FB.
7525 (REMOVE_FB): Remove macro.
7526 (_int_malloc): Use fastbin_pop_entry and reindent.
7527 (_int_free): Use fastbin_push_entry.
7528 (malloc_consolidate): Use atomic_exchange_acquire.
7530 2018-11-13 Joseph Myers <joseph@codesourcery.com>
7532 * sysdeps/mips/__longjmp.c (__longjmp): Define alias manually with
7533 alias attribute, not with strong_alias.
7535 * include/libc-symbols.h [SHARED && !NO_HIDDEN && !__ASSEMBLER__]
7536 (__hidden_ver2): New macro. Use old definition of __hidden_ver1
7537 with additional parameter thread.
7538 [SHARED && !NO_HIDDEN && !__ASSEMBLER__] (__hidden_ver1): Define
7539 in terms of __hidden_ver2.
7540 (hidden_tls_def): New macro.
7541 (libc_hidden_tls_def): Likewise.
7542 (rtld_hidden_tls_def): Likewise.
7543 (libm_hidden_tls_def): Likewise.
7544 (libmvec_hidden_tls_def): Likewise.
7545 (libresolv_hidden_tls_def): Likewise.
7546 (librt_hidden_tls_def): Likewise.
7547 (libdl_hidden_tls_def): Likewise.
7548 (libnss_files_hidden_tls_def): Likewise.
7549 (libnsl_hidden_tls_def): Likewise.
7550 (libnss_nisplus_hidden_tls_def): Likewise.
7551 (libutil_hidden_tls_def): Likewise.
7552 (libutil_hidden_tls_def): Likweise.
7553 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions_thread): Use
7554 libc_hidden_tls_def.
7555 (__sim_disabled_exceptions_thread): Likewise.
7556 (__sim_round_mode_thread): Likewise.
7558 * sysdeps/sparc/sparc-ifunc.h [SHARED]
7559 (sparc_ifunc_redirected_hidden_def): Use __attribute_copy__ to
7560 copy attributes from name.
7562 2018-11-12 Joseph Myers <joseph@codesourcery.com>
7564 * sysdeps/arm/arm-ifunc.h [SHARED] (arm_libc_ifunc_hidden_def):
7565 Use __attribute_copy__ to copy attributes from name.
7567 * sysdeps/i386/i686/fpu/multiarch/e_expf.c [SHARED]: Use __THROW
7568 with __hidden_ver1 call.
7569 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c [SHARED]: Likewise.
7570 * sysdeps/i386/i686/fpu/multiarch/e_logf.c [SHARED]: Likewise.
7571 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include <math.h>.
7572 (__cosf): Do not declare here.
7573 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include <math.h>.
7574 (__sincosf): Do not declare here.
7575 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include <math.h>.
7576 (__sinf): Do not declare here.
7578 * sysdeps/ia64/fpu/sfp-machine.h (__LITTLE_ENDIAN): Remove.
7579 (__BIG_ENDIAN): Likewise.
7580 (__BYTE_ORDER): Likewise.
7581 (strong_alias): Likewise.
7582 (_strong_alias): Likewise.
7584 2018-11-12 Florian Weimer <fweimer@redhat.com>
7586 * malloc/malloc.c (unlink_chunk): Turn the unlink macro into this
7587 function. Move after the definition of in_smallbin_range. Do not
7588 use __builtin_expect for paths that lead to a noreturn function.
7589 Drop remaining __builtin_expect (p->fd_nextsize != NULL, 0)
7590 because it is unclear whether this is in fact an unlikely
7592 (_int_malloc, _int_free): Adjust.
7593 (malloc_consolidate, _int_realloc): Adjust. Remove bck, fwd
7595 * malloc/arena.c (heap_trim): Likewise.
7597 2018-11-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
7599 * sysdeps/mach/hurd/spawni.c (__spawni): Add ccwdir port. Test and use
7600 it, free it if needed.
7601 (reauthenticate): Test and use ccwdir.
7602 (child_init_port): In non-resetids case, test and use ccwdir.
7603 (child_chdir): New nested function to set ccwdir.
7604 * hurd/hurd/userlink.h (_hurd_userlink_move): New function.
7605 * hurd/hurd/port.h (_hurd_port_move): New function.
7606 * sysdeps/mach/hurd/spawni.c (NEW_ULINK_TABLE): New macro.
7607 (EXPAND_DTABLE): Use NEW_ULINK_TABLE macro for ulink_dtable.
7608 * hurd/Versions (_hurd_port_move): Export function.
7609 * sysdeps/mach/hurd/i386/libc.abilist (_hurd_port_move): Expect
7611 * sysdeps/mach/hurd/spawni.c (__spawni): Use orig_dtablesize instead
7612 of dtablesize for allocating dtable_cloexec.
7614 2018-11-09 Martin Sebor <msebor@redhat.com>
7616 * include/libc-symbols.h (__attribute_copy__): Define macro unless
7617 it's already defined.
7618 (_strong_alias): Use __attribute_copy__.
7619 (_weak_alias, __hidden_ver1, __hidden_nolink2): Same.
7620 * misc/sys/cdefs.h (__attribute_copy__): New macro.
7621 * sysdeps/x86_64/multiarch/memchr.c (memchr): Use __attribute_copy__.
7622 * sysdeps/x86_64/multiarch/memcmp.c (memcmp): Same.
7623 * sysdeps/x86_64/multiarch/mempcpy.c (mempcpy): Same.
7624 * sysdeps/x86_64/multiarch/memset.c (memset): Same.
7625 * sysdeps/x86_64/multiarch/stpcpy.c (stpcpy): Same.
7626 * sysdeps/x86_64/multiarch/strcat.c (strcat): Same.
7627 * sysdeps/x86_64/multiarch/strchr.c (strchr): Same.
7628 * sysdeps/x86_64/multiarch/strcmp.c (strcmp): Same.
7629 * sysdeps/x86_64/multiarch/strcpy.c (strcpy): Same.
7630 * sysdeps/x86_64/multiarch/strcspn.c (strcspn): Same.
7631 * sysdeps/x86_64/multiarch/strlen.c (strlen): Same.
7632 * sysdeps/x86_64/multiarch/strncmp.c (strncmp): Same.
7633 * sysdeps/x86_64/multiarch/strncpy.c (strncpy): Same.
7634 * sysdeps/x86_64/multiarch/strnlen.c (strnlen): Same.
7635 * sysdeps/x86_64/multiarch/strpbrk.c (strpbrk): Same.
7636 * sysdeps/x86_64/multiarch/strrchr.c (strrchr): Same.
7637 * sysdeps/x86_64/multiarch/strspn.c (strspn): Same.
7639 2018-11-09 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7641 * misc/tst-efgcvt.c: Include support/check.h and
7642 support/test-driver.c. Do not include test-skeleton.c.
7643 (error_count): Remove.
7644 (output_error): Replace increments to error_count with calls to
7645 support_record_failure.
7646 (output_r_error): Likewise.
7647 (special): Likewise.
7648 (do_test): Unconditionally return zero.
7649 (TEST_FUNCTION): Remove.
7651 2018-11-09 Joseph Myers <joseph@codesourcery.com>
7653 * conform/Makefile ($(conformtest-header-tests)): Create $(@D),
7655 ($(linknamespace-header-tests)): Likewise.
7657 * conform/conformtest.py: New file.
7658 * conform/conformtest.pl: Remove.
7659 * conform/GlibcConform.pm: Likewise.
7660 * conform/glibcconform.py (KEYWORDS_C90): New constant.
7661 (KEYWORDS_C99): Likewise.
7662 (KEYWORDS): Likewise.
7663 * conform/Makefile ($(conformtest-header-tests)): Use
7664 conformtest.py instead of conformtest.pl. Do not pass --tmpdir
7665 option. Use --header instead of --headers.
7666 * conform/data/arpa/inet.h-data: Remove trailing semicolons on
7668 * conform/data/spawn.h-data: Likewise.
7669 * conform/data/fcntl.h-data (openat): Add space after function
7671 * conform/data/wchar.h-data (wcscasecmp): Likewise.
7672 (wcscasecmp_l): Likewise.
7673 * conform/data/termios.h-data (c_cc): Add space after element
7676 2018-11-08 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7678 * argp/tst-ldbl-argp.c (do_one_test): Use TEST_COMPARE_STRING,
7679 instead of manually comparing and reporting mismatching strings.
7680 * misc/tst-ldbl-error.c (do_one_test): Likewise.
7681 * misc/tst-ldbl-warn.c (do_one_test): Likewise.
7683 2018-11-08 Joseph Myers <joseph@codesourcery.com>
7685 * sysdeps/unix/sysv/linux/kernel-features.h: Remove comment about
7686 __ASSUME_SOCKETCALL.
7687 * sysdeps/unix/sysv/linux/i386/kernel-features.h
7688 (__ASSUME_SOCKETCALL): Remove.
7689 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7690 (__ASSUME_SOCKETCALL): Likewise.
7691 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7692 (__ASSUME_SOCKETCALL): Likewise.
7693 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7694 (__ASSUME_SOCKETCALL): Likewise.
7695 * sysdeps/unix/sysv/linux/s390/kernel-features.h
7696 (__ASSUME_SOCKETCALL): Likewise.
7697 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7698 (__ASSUME_SOCKETCALL): Likewise.
7699 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7700 (__ASSUME_SOCKETCALL): Likewise.
7702 2018-11-08 H.J. Lu <hongjiu.lu@intel.com>
7705 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Skip
7706 note parsing if a NT_GNU_PROPERTY_TYPE_0 note has been processed.
7707 Update the l_cet field when processing NT_GNU_PROPERTY_TYPE_0 note.
7708 Check multiple NT_GNU_PROPERTY_TYPE_0 notes.
7709 * sysdeps/x86/link_map.h (l_cet): Expand to 3 bits, Add
7712 2018-11-08 Alexandra Hájková <ahajkova@redhat.com>
7715 * resolv/tst-resolv-network.c: Add test for getnetbyname.
7717 2018-11-07 Joseph Myers <joseph@codesourcery.com>
7720 * sysdeps/unix/sysv/linux/arm/kernel-features.h
7721 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7722 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7723 [__LINUX_KERNEL_VERSION < 0x040700] (__ASSUME_MLOCK2): Undefine.
7725 2018-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7727 * support/support_test_compare_string.c
7728 (support_test_compare_string): Fix printf format.
7730 2018-11-07 Florian Weimer <fweimer@redhat.com>
7732 Implement TEST_COMPARE_STRING.
7733 * support/check.h (TEST_COMPARE_STRING): Define.
7734 (support_test_compare_string): Declare.
7735 * support/Makefile (libsupport-routines): Add
7736 support_test_compare_string.
7737 (tests): Add tst-test_compare_string.
7738 * support/support_test_compare_string.c: New file.
7739 * support/tst-test_compare_string.c: Likewise.
7741 2018-11-07 Andreas Schwab <schwab@suse.de>
7744 * sysdeps/unix/sysv/linux/riscv/kernel-features.h
7745 (__ASSUME_SET_ROBUST_LIST) [__LINUX_KERNEL_VERSION < 0x041400]:
7748 2018-11-06 Joseph Myers <joseph@codesourcery.com>
7751 * sysdeps/unix/sysv/linux/sh/kernel-features.h
7752 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_EXECVEAT): Undefine.
7753 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_MLOCK2): Likewise.
7754 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_COPY_FILE_RANGE):
7757 2018-11-06 Florian Weimer <fweimer@redhat.com>
7760 * posix/Makefile (routines): Add spawn_faction_addchdir.
7761 (tests): Add tst-spawn-chdir.
7762 * posix/Versions (GLIBC_2.29): Add
7763 posix_spawn_file_actions_addchdir_np.
7764 * posix/spawn_faction_addchdir.c: New file.
7765 * posix/spawn_faction_destroy.c
7766 (__posix_spawn_file_actions_destroy): Handle spawn_do_chdir.
7767 * posix/spawn.h (posix_spawn_file_actions_addchdir_np): Declare.
7768 * posix/spawn_int.h (struct __spawn_action): Add spawn_do_chdir,
7770 * posix/tst-spawn-chdir.c: New file.
7771 * sysdeps/posix/spawni.c (__spawni_child): Handle spawn_do_chdir.
7772 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
7773 * sysdeps/mach/hurd/i386/libc.abilist (GLIBC_2.29): Add
7774 posix_spawn_file_actions_addchdir_np.
7775 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.29):
7777 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.29):
7779 * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.29): Likewise.
7780 * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.29):
7782 * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.29):
7784 * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.29):
7786 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.29):
7788 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.29):
7790 * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.29):
7792 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
7793 (GLIBC_2.29): Likewise.
7794 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
7795 (GLIBC_2.29): Likewise.
7796 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
7797 (GLIBC_2.29): Likewise.
7798 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
7799 (GLIBC_2.29): Likewise.
7800 * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.29):
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
7803 (GLIBC_2.29): Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
7805 (GLIBC_2.29): Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
7807 (GLIBC_2.29): Likewise.
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
7809 (GLIBC_2.29): Likewise.
7810 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist (GLIBC_2.29):
7812 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.29):
7814 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.29):
7816 * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.29): Likewise.
7817 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.29):
7819 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.29):
7821 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.29):
7823 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.29):
7826 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7828 * misc/Makefile (tests): Add tst-ldbl-error.
7829 * misc/tst-ldbl-error.c: New file.
7831 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7833 * misc/Makefile (tests): Add tst-ldbl-warn.
7834 * misc/tst-ldbl-warn.c: New file.
7836 2018-11-06 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
7838 * argp/Makefile (tests): Add tst-ldbl-argp.
7839 * argp/tst-ldbl-argp.c: New file.
7841 2018-11-05 Arjun Shankar <arjun@redhat.com>
7843 * iconv/gconv_conf.c (__gconv_read_conf): Remove NULL check for
7844 __gconv_path_elem and call __gconv_get_path unconditionally.
7846 2018-11-05 Andreas Schwab <schwab@suse.de>
7849 * resolv/gai_misc.c (__gai_enqueue_request): Don't crash if
7850 creating the first helper thread failed.
7852 2018-11-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
7854 * sysdeps/mach/hurd/msync.c: New file.
7856 2018-11-02 Florian Weimer <fweimer@redhat.com>
7858 * support/shell-container.c (copy_func): Call
7859 support_copy_file_range instead of copy_file_range to support
7860 cross-device copies.
7862 2018-11-02 Florian Weimer <fweimer@redhat.com>
7864 * support/test-container.c: Include <libc-pointer-arith.h> for
7867 2018-11-01 Zong Li <zong@andestech.com>
7869 * soft-fp/op-8.h (_FP_FRAC_SET_8, _FP_FRAC_ADD_8, _FP_FRAC_SUB_8)
7870 (_FP_FRAC_CLZ_8, _FP_MINFRAC_8, _FP_FRAC_NEGP_8, _FP_FRAC_ZEROP_8)
7871 (_FP_FRAC_HIGHBIT_DW_8, _FP_FRAC_COPY_4_8, _FP_FRAC_COPY_8_4)
7872 (__FP_FRAC_SET_8): Add implementation for RV32 use.
7874 * soft-fp/op-4.h (_FP_FRAC_SUB_3, _FP_FRAC_SUB_4): Use temporary
7875 variable to avoid overlap arguments.
7877 2018-11-01 Joseph Myers <joseph@codesourcery.com>
7879 * posix/bug-regex22.c (main): Use puts with distinct error
7880 messages for unexpected success of re_compile_pattern, not printf
7881 with NULL argument to %s.
7883 * stdio-common/bug22.c: Include <libc-diag.h>.
7884 (do_test): Disable -Wformat-overflow= warnings around fprintf
7885 calls outputting more than INT_MAX characters.
7886 * stdio-common/tst-printf.c: Disable -Wformat-overflow= warnings
7887 around printf call with NULL %s argument.
7890 * sysdeps/unix/sysv/linux/sparc/kernel-features.h [!__arch64__ &&
7891 __LINUX_KERNEL_VERSION < 0x040400] (__ASSUME_SENDMSG_SYSCALL):
7893 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7894 (__ASSUME_RECVMSG_SYSCALL): Likewise.
7895 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7896 (__ASSUME_SENDTO_SYSCALL): Likewise.
7897 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7898 (__ASSUME_ACCEPT_SYSCALL): Undefine under this condition, not just
7900 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7901 (__ASSUME_CONNECT_SYSCALL): Likewise.
7902 [!__arch64__ && __LINUX_KERNEL_VERSION < 0x040400]
7903 (__ASSUME_RECVFROM_SYSCALL): Likewise.
7904 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_BIND_SYSCALL):
7906 [__LINUX_KERNEL_VERSION >= 0x040400] (__ASSUME_LISTEN_SYSCALL):
7908 [__LINUX_KERNEL_VERSION >= 0x040400]
7909 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
7910 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (bind):
7913 (setsockopt): Likewise.
7915 2018-11-01 Fredrik Noring <noring@nocrew.org>
7917 * sysdeps/mips/sys/tas.h (_test_and_set): Handle the R5900 CPU
7918 with the ISA override.
7920 2018-10-31 Rafael Avila de Espindola <rafael@espindo.la>
7922 * sysdeps/unix/sysv/linux/sysdep-vdso.h: Simplify an #if #else
7925 2018-10-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
7927 * manual/errno.texi (EIEIO): Document how translators should
7928 translate the error message.
7929 * sysdeps/mach/hurd/errnos.awk: Avoid printing errnos.d. Avoid
7930 printing trailing whitespaces refused by git.
7931 * sysdeps/gnu/errlist.c (EIEIO): Regenerate.
7932 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
7933 * hurd/Makefile (user-interfaces): Add pci.
7935 2018-10-30 Joseph Myers <joseph@codesourcery.com>
7937 * conform/linknamespace.py: New file.
7938 * conform/linknamespace.pl: Remove file.
7939 * conform/Makefile ($(linknamespace-header-tests)): Use
7940 linknamespace.py instead of linknamespace.pl. Do not use --tmpdir
7943 2018-10-30 Florian Weimer <fweimer@redhat.com>
7945 * stdlib/test-bz22786.c (do_test): Additional free calls to avoid
7948 2018-10-30 Florian Weimer <fweimer@redhat.com>
7950 * support/blob_repeat.c (allocate_big): Call mkstemp directly.
7952 2018-10-30 Florian Weimer <fweimer@redhat.com>
7954 * stdlib/tst-strtod-overflow.c (do_test): Switch to
7955 support_blob_repeat.
7957 2018-10-30 Florian Weimer <fweimer@redhat.com>
7959 Avoid spurious test failures in stdlib/test-bz22786.
7960 * support/Makefile (libsupport-routines): Add blob_repeat.
7961 (tests): Add tst-support_blob_repeat.
7962 * support/blob_repeat.h: New file.
7963 * support/blob_repeat.c: Likewise.
7964 * support/tst-support_blob_repeat.c: Likewise.
7965 * stdlib/test-bz22786.c (do_test): Replace malloc and memset with
7966 support_blob_repeat_allocate.
7968 2018-10-30 Andreas Schwab <schwab@suse.de>
7971 * sysdeps/riscv/start.S (ENTRY_POINT): Mark ra as undefined.
7972 Don't use tail call.
7973 * elf/tst-unwind-main.c: New file.
7974 * elf/Makefile (tests): Add tst-unwind-main.
7975 (CFLAGS-tst-unwind-main.c): Define.
7977 2018-10-29 Sergi Almacellas Abellana <sergi@koolpi.com>
7980 * localedata/locales/ca_ES (LC_MONETARY): set p_cs_precedes and
7982 * localedata/locales/ca_ES (LC_MONETARY): set grouping to 3;3
7984 2018-10-29 Joseph Myers <joseph@codesourcery.com>
7986 * conform/glibcconform.py: Do not import shutil.
7987 (list_exported_functions): Use tempfile.TemporaryDirectory instead
7990 * configure.ac (PYTHON_PROG): Use AC_CHECK_PROG_VER. Set
7991 critic_missing for versions before 3.4.
7992 * configure: Regenerated.
7993 * manual/install.texi (Tools for Compilation): Document
7994 requirement for Python to build glibc.
7995 * INSTALL: Regenerated.
7996 * Rules [PYTHON]: Make code unconditional.
7997 * benchtests/Makefile [PYTHON]: Likewise.
7998 * conform/Makefile [PYTHON]: Likewise.
7999 * manual/Makefile [PYTHON]: Likewise.
8000 * math/Makefile [PYTHON]: Likewise.
8002 2018-10-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
8004 * hurd/hurdsig.c (_hurd_interrupted_rpc_timeout): Set to 60000.
8005 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): When the server does not
8006 answer to interrupt_operation, return EIEIO instead of EINTR.
8007 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Make
8008 _hurd_intr_rpc_msg_about_to global point to start of controlled
8009 assembly snippet. Make it check canceled flag.
8010 * hurd/hurdsig.c (_hurdsig_abort_rpcs): Only mutate thread if it passed
8011 the _hurd_intr_rpc_msg_about_to point.
8012 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Remove comment on mutation
8013 issue, remove cancel flag check.
8015 2018-10-26 Joseph Myers <joseph@codesourcery.com>
8017 * scripts/build-many-glibcs.py: Remove compatibility for missing
8018 os.cpu_count and re.fullmatch.
8020 2018-10-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
8023 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Use WEAK_LIBM_ENTRY.
8024 * sysdeps/ia64/fpu/e_log2f.S (log2f): Likewise.
8025 * sysdeps/ia64/fpu/e_exp2f.S (powf): Likewise.
8027 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8029 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_MASK_CREATE): New
8032 2018-10-25 Florian Weimer <fweimer@redhat.com>
8036 XFAIL siginfo_t si_band conform test on sparc64.
8037 * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
8038 (__SI_BAND_TYPE): Only override long int default type on sparc64.
8039 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
8040 (conformtest-xfail-conds): Add sparc64-linux.
8041 * conform/data/signal.h-data (siginfo_t): XFAIL si_band test on
8043 * conform/data/sys/wait.h-data (siginfo_t): Likewise.
8045 2018-10-25 Joseph Myers <joseph@codesourcery.com>
8047 * elf/elf.h (NT_MIPS_DSP): New macro.
8048 (NT_MIPS_FP_MODE): Likewise.
8050 2018-10-25 Zong Li <zong@andestech.com>
8052 * elf/Makefile (LDFLAGS-tst-execstack-mod.so): Change variable
8053 name by adding the file extension (.so).
8055 2018-10-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
8057 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
8058 (test-xfail-ISO11/threads.h/linknamespace,
8059 test-xfail-ISO11/threads.h/conform): Add.
8061 2018-10-24 Joseph Myers <joseph@codesourcery.com>
8063 * math/gen-libm-test.py: Import os.
8064 (ALL_FLOATS_MANUAL): New constant.
8065 (ALL_FLOATS_SUFFIX): Likewise.
8066 (Ulps.all_functions): New function.
8067 (real_all_ulps): Likewise.
8068 (generate_err_table_sub): Likewise.
8069 (generate_err_table): Likewise.
8070 (main): Handle -s and -m options.
8071 * manual/libm-err-tab.pl: Remove.
8072 * manual/Makefile ($(objpfx)stamp-libm-err): Use gen-libm-test.py
8073 instead of libm-err-tab.pl.
8074 [$(PERL) != no]: Change condition to [$(if $(PYTHON),$(PERL),no)
8076 * manual/install.texi (Tools for Compilation): Document
8077 requirement for Python to build manual.
8078 * INSTALL: Regenerated.
8080 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8082 * bits/time64.h: New file.
8083 * include/time.h: Replace internal_time_t with __time64_t.
8084 * posix/bits/types (__time64_t): Add.
8085 * stdlib/Makefile: Add bits/time64.h to includes.
8086 * time/tzfile.c: Replace internal_time_t with __time64_t.
8088 2018-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8090 * include/spawn.h (__posix_spawn, posix_spawn_file_actions_addclose,
8091 __posix_spawn_file_actions_adddup2, __posix_spawn_file_actions_destroy,
8092 __posix_spawn_file_actions_init, __posix_spawnattr_init,
8093 __posix_spawnattr_destroy, __posix_spawnattr_setflags,
8094 __posix_spawnattr_setsigdefault, __posix_spawnattr_setsigmask): New
8096 * posix/spawn.c (__posix_spawn): Add libc_hidden_def.
8097 * posix/spawn_faction_addclose.c
8098 (__posix_spawn_file_actions_addclose): Add hidden definition.
8099 * posix/spawn_faction_adddup2.c
8100 (__posix_spawn_file_actions_adddup2): Likewise.
8101 * posix/spawn_faction_destroy.c
8102 (__posix_spawn_file_actions_destroy): Likewise.
8103 * posix/spawn_faction_init.c (__posix_spawn_file_actions_init):
8105 * posix/spawnattr_destroy.c (__posix_spawnattr_destroy): Likewise.
8106 * posix/spawnattr_init.c (__posix_spawnattr_init): Likewise.
8107 * posix/spawnattr_setdefault.c (__posix_spawnattr_setsigdefault):
8109 * posix/spawnattr_setflags.c (__posix_spawnattr_setflags): Likewise.
8110 * posix/spawnattr_setsigmask.c (__posix_spawnattr_setsigmask):
8113 2018-10-24 Andreas Schwab <schwab@suse.de>
8116 * elf/dl-cache.c (_dl_load_cache_lookup): Check for truncated old
8118 * elf/cache.c (print_cache): Likewise.
8120 2018-10-24 Albert ARIBAUD <albert.aribaud@3adev.fr>
8122 * bits/timesize.h: New file.
8123 * stdlib/Makefile (headers): Add bits/timesize.h.
8124 * sysdeps/unix/sysv/linux/bits/msq-pad.h
8125 (__MSQ_PAD_AFTER_TIME): Use __TIMESIZE instead of __WORDSIZE.
8126 * sysdeps/unix/sysv/linux/bits/sem-pad.h
8127 (__SEM_PAD_AFTER_TIME): Likewise.
8128 * sysdeps/unix/sysv/linux/bits/shm-pad.h
8129 (__SHM_PAD_AFTER_TIME): Likewise.
8130 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h
8131 (__MSQ_PAD_BEFORE_TIME): Likewise.
8132 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h
8133 (__SEM_PAD_BEFORE_TIME): Likewise.
8134 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h
8135 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8136 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h
8137 (__MSQ_PAD_AFTER_TIME, __MSQ_PAD_BEFORE_TIME): Likewise.
8138 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h
8139 (__MSQ_PAD_BEFORE_TIME): Likewise.
8140 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h
8141 (__SEM_PAD_BEFORE_TIME): Likewise.
8142 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h
8143 (__SHM_PAD_BEFORE_TIME, __SHM_PAD_BETWEEN_TIME_AND_SEGSZ): Likewise.
8144 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h
8145 (__MSQ_PAD_BEFORE_TIME): Likewise.
8146 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h
8147 (__SEM_PAD_BEFORE_TIME): Likewise.
8148 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h
8149 (__SHM_PAD_BEFORE_TIME): Likewise.
8150 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Delete file.
8151 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8152 * sysdeps/unix/sysv/linux/x86/bits/timesize.h: New file.
8154 2018-10-24 H.J. Lu <hongjiu.lu@intel.com>
8156 * benchtests/Makefile (CPPFLAGS-nonlib): Add -DUSE_RDTSCP if
8157 USE_RDTSCP is defined.
8158 * sysdeps/x86/hp-timing.h (HP_TIMING_NOW): Use RDTSCP if
8159 USE_RDTSCP is defined.
8161 2018-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8163 * misc/tst-preadvwritev2-common.c (IOV_MAX): Define if not
8167 * sysdeps/x86/cpu-features.c (init_cpu_features): Set TSX bits
8168 independently of other flags.
8170 2018-10-23 Florian Weimer <fweimer@redhat.com>
8172 * time/tst-mktime2.c (N_STRINGS): Remove.
8173 (set_timezone): New function.
8174 (spring_forward_gap): Call it. Use FAIL_EXIT1.
8175 (mktime_test1): Report localtime failure and check errno value.
8177 (irix_6_4_bug, bigtime_test): Use TEST_COMPARE.
8178 (do_test): Remove alarm call. Use set_timezone and array_length.
8180 2018-10-23 Andreas Schwab <schwab@suse.de>
8182 * sysdeps/unix/sysv/linux/riscv/setcontext.S (__setcontext)
8183 (__start_context): Use END instead of PSEUDO_END.
8185 2018-10-22 Joseph Myers <joseph@codesourcery.com>
8187 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
8190 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8194 * wcsmbs/c32rtomb.c: New file.
8195 * wcsmbs/mbrtoc32.c: Likewise.
8196 * wcsmbs/tst-c32-state.c: Likewise.
8197 * wcsmbs/mbrtowc.c (mbrtoc32): Do not define as alias.
8198 * wcsmbs/wcrtomb.c (c32rtomb): Likewise.
8199 * wcsmbs/Makefile (routines): Add mbrtoc32 and c32rtomb.
8200 (tests): Add tst-c32-state.
8201 [$(run-built-tests) = yes] ($(objpfx)tst-c32-state.out): Depend on
8204 2018-10-21 H.J. Lu <hongjiu.lu@intel.com>
8206 * sysdeps/x86/hp-timing.h: Don't include <x86intrin.h>.
8207 (HP_TIMING_NOW): Replace _rdtsc with __builtin_ia32_rdtsc.
8209 2018-10-19 Joseph Myers <joseph@codesourcery.com>
8212 * wcsmbs/c16rtomb.c (c16rtomb): Save first character of surrogate
8213 pair and return 0 in that case, and use saved character to
8214 interpret following character.
8215 * wcsmbs/tst-c16-surrogate.c: New file.
8216 * wcsmbs/Makefile (tests): Add tst-c16-surrogate.c.
8217 [$(run-built-tests) = yes] ($(objpfx)tst-c16-surrogate.out):
8218 Depend on $(gen-locales)
8220 2018-10-19 Ilya Yu. Malakhov <malakhov@mcst.ru>
8223 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
8224 (struct siginfo_t): Use correct type for si_band.
8226 2018-10-19 Florian Weimer <fweimer@redhat.com>
8229 * resource/bits/types/struct_rusage.h (struct rusage): Update
8230 comment on struct. Remove extraneous field comment.
8232 2018-10-18 David S. Miller <davem@davemloft.net>
8234 * sysdeps/unix/sysv/linux/sparc/init-first.c: New file.
8235 * sysdeps/unix/sysv/linux/sparc/libc-vdso.h: New file.
8236 * sysdeps/unix/sysv/linux/sparc/Makefile: Add dl-vdso to
8237 sysdep_routines in subdir elf.
8238 * sysdeps/unix/sysv/linux/sparc/Versions: Add GLIBC_PRIVATE
8239 version for __vdso_clock_gettime.
8240 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_VSYSCALL_CALL):
8242 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8243 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8245 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
8247 2018-10-17 H.J. Lu <hongjiu.lu@intel.com>
8249 * sysdeps/i386/init-arch.h: Removed.
8250 * sysdeps/i386/i586/init-arch.h: Likewise.
8251 * sysdeps/i386/i686/init-arch.h: Likewise.
8252 * sysdeps/i386/i686/hp-timing.h: Likewise.
8253 * sysdeps/x86_64/hp-timing.h: Likewise.
8254 * sysdeps/i386/isa.h: New file.
8255 * sysdeps/i386/i586/isa.h: Likewise.
8256 * sysdeps/i386/i686/isa.h: Likewise.
8257 * sysdeps/x86_64/isa.h: Likewise.
8258 * sysdeps/x86/hp-timing.h: New file.
8259 * sysdeps/x86/init-arch.h: Include <isa.h>.
8261 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8263 * math/libm-test-pow.inc (pow_test_data): Do not allow
8264 divide-by-zero exception for pow(+/- 0, -Inf).
8266 2018-10-17 Zack Weinberg <zackw@panix.com>
8268 * manual/job.texi (Job Control is Optional): Remove node, as
8269 job control has not been optional in quite some time.
8270 (Job Control): Mention briefly that systems older than
8271 POSIX.1-2001 might not support job control.
8272 * manual/conf.texi (_POSIX_JOB_CONTROL): Will always be
8273 defined on systems conforming to POSIX.1-2001.
8275 2018-10-17 Arjun Shankar <arjun@redhat.com>
8278 * iconv/gconv_conf.c (__gconv_get_path): Remove locking and fix
8280 * (__gconv_read_conf): Mark function static.
8281 * (once): New static variable.
8282 * (__gconv_load_conf): New function.
8283 * iconv/gconv_int.h (__gconv_load_conf): Likewise.
8284 * iconv/gconv_db.c (once): Remove static variable.
8285 * (__gconv_compare_alias): Use __gconv_load_conf instead of
8287 * (__gconv_find_transform): Likewise.
8288 * iconv/tst-iconv-mt.c: New test.
8289 * iconv/Makefile: Add tst-iconv_mt.
8291 2018-10-17 Joseph Myers <joseph@codesourcery.com>
8293 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8295 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shm-pad.h>.
8296 (shmatt_t): Define as __syscall_ulong_t.
8297 (__SHM_PAD_TIME): New macro, depending on [__SHM_PAD_BEFORE_TIME]
8298 and [__SHM_PAD_AFTER_TIME].
8299 (struct shmid_ds): Define time fields using __SHM_PAD_TIME.
8300 Define shm_segsz and associated padding based on
8301 [__SHM_SEGSZ_AFTER_TIME] and [__SHM_PAD_BETWEEN_TIME_AND_SEGSZ].
8302 Use __syscall_ulong_t instead of unsigned long int.
8303 [__USE_MISC] (struct shminfo): Use __syscall_ulong_t instead of
8305 [__USE_MISC] (struct shm_info): Likewise.
8306 * sysdeps/unix/sysv/linux/bits/shm-pad.h: New file.
8307 * sysdeps/unix/sysv/linux/hppa/bits/shm-pad.h: Likewise.
8308 * sysdeps/unix/sysv/linux/mips/bits/shm-pad.h: Likewise.
8309 * sysdeps/unix/sysv/linux/powerpc/bits/shm-pad.h: Likewise.
8310 * sysdeps/unix/sysv/linux/sparc/bits/shm-pad.h: Likewise.
8311 * sysdeps/unix/sysv/linux/x86/bits/shm-pad.h: Likewise.
8312 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Remove.
8313 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise.
8314 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
8315 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
8316 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
8318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8320 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/shmlba.h>.
8321 (SHMLBA): Remove macro.
8322 (__getpagesize): Remove function declaration.
8323 * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Include
8325 (SHMLBA): Remove macro.
8326 * sysdeps/unix/sysv/linux/mips/bits/shm.h: Include
8328 (SHMLBA): Remove macro.
8329 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Include
8331 (SHMLBA): Remove macro.
8332 (__getpagesize): Remove function declaration.
8333 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Include
8335 (SHMLBA): Remove macro.
8336 (__getshmlba): Remove function declaration.
8337 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Include <bits/shmlba.h>.
8338 (SHMLBA): Remove macro.
8339 (__getpagesize): Remove function declaration.
8340 * sysdeps/unix/sysv/linux/arm/bits/shm.h: Remove file.
8341 * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise.
8342 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
8343 * sysdeps/unix/sysv/linux/bits/shmlba.h: New file.
8344 * sysdeps/unix/sysv/linux/arm/bits/shmlba.h: Likewise.
8345 * sysdeps/unix/sysv/linux/hppa/bits/shmlba.h: Likewise.
8346 * sysdeps/unix/sysv/linux/ia64/bits/shmlba.h: Likewise.
8347 * sysdeps/unix/sysv/linux/mips/bits/shmlba.h: Likewise.
8348 * sysdeps/unix/sysv/linux/sh/bits/shmlba.h: Likewise.
8349 * sysdeps/unix/sysv/linux/sparc/bits/shmlba.h: Likewise.
8351 2018-10-17 Stefan Liebler <stli@linux.ibm.com>
8354 * nptl/tst-mutex10.c: New File.
8355 * nptl/Makefile (tests): Add tst-mutex10.
8356 (tst-mutex10-ENV): New variable.
8357 * sysdeps/unix/sysv/linux/s390/force-elision.h: (FORCE_ELISION):
8358 Ensure that elision path is used if elision is available.
8359 * sysdeps/unix/sysv/linux/powerpc/force-elision.h (FORCE_ELISION):
8361 * sysdeps/unix/sysv/linux/x86/force-elision.h: (FORCE_ELISION):
8363 * nptl/pthreadP.h (PTHREAD_MUTEX_TYPE, PTHREAD_MUTEX_TYPE_ELISION)
8364 (PTHREAD_MUTEX_PSHARED): Use atomic_load_relaxed.
8365 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent): Likewise.
8366 * nptl/pthread_mutex_getprioceiling.c (pthread_mutex_getprioceiling):
8368 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full)
8369 (__pthread_mutex_cond_lock_adjust): Likewise.
8370 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
8372 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Likewise.
8373 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
8374 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8375 * sysdeps/nptl/bits/thread-shared-types.h (struct __pthread_mutex_s):
8377 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
8378 Use atomic_load_relaxed and atomic_store_relaxed.
8379 * nptl/pthread_mutex_init.c (__pthread_mutex_init):
8380 Use atomic_store_relaxed.
8382 2018-10-17 Andreas Schwab <schwab@suse.de>
8384 * benchtests/bench-strtod.c (TIMEOUT): Don't define.
8385 * crypt/badsalttest.c (TIMEOUT): Likewise.
8386 * crypt/sha256c-test.c (TIMEOUT): Likewise.
8387 * dirent/tst-fdopendir.c (TIMEOUT): Likewise.
8388 * io/test-lfs.c (TIMEOUT): Likewise.
8389 * libio/tst-atime.c (TIMEOUT): Likewise.
8390 * localedata/tst-leaks.c (TIMEOUT): Likewise.
8391 * nptl/tst-cancel19.c (TIMEOUT): Likewise.
8392 * nptl/tst-cancel22.c (TIMEOUT): Likewise.
8393 * nptl/tst-cancel25.c (TIMEOUT): Likewise.
8394 * nptl/tst-cancel7.c (TIMEOUT): Likewise.
8395 * nptl/tst-cond-except.c (TIMEOUT): Likewise.
8396 * nptl/tst-cond11.c (TIMEOUT): Likewise.
8397 * nptl/tst-cond14.c (TIMEOUT): Likewise.
8398 * nptl/tst-cond15.c (TIMEOUT): Likewise.
8399 * nptl/tst-cond24.c (TIMEOUT): Likewise.
8400 * nptl/tst-cond25.c (TIMEOUT): Likewise.
8401 * nptl/tst-kill2.c (TIMEOUT): Likewise.
8402 * nptl/tst-kill3.c (TIMEOUT): Likewise.
8403 * nptl/tst-mutex4.c (TIMEOUT): Likewise.
8404 * nptl/tst-mutex5.c (TIMEOUT): Likewise.
8405 * nptl/tst-mutex9.c (TIMEOUT): Likewise.
8406 * nptl/tst-once2.c (TIMEOUT): Likewise.
8407 * nptl/tst-once3.c (TIMEOUT): Likewise.
8408 * nptl/tst-once4.c (TIMEOUT): Likewise.
8409 * nptl/tst-robust8.c (TIMEOUT): Likewise.
8410 * nptl/tst-robust9.c (TIMEOUT): Likewise.
8411 * nptl/tst-rwlock16.c (TIMEOUT): Likewise.
8412 * nptl/tst-sem14.c (TIMEOUT): Likewise.
8413 * nptl/tst-sem6.c (TIMEOUT): Likewise.
8414 * nptl/tst-signal3.c (TIMEOUT): Likewise.
8415 * nptl/tst-spin4.c (TIMEOUT): Likewise.
8416 * nptl/tst-tls3.c (TIMEOUT): Likewise.
8417 * nptl/tst-tls4.c (TIMEOUT): Likewise.
8418 * posix/tst-chmod.c (TIMEOUT): Likewise.
8419 * posix/tst-getaddrinfo4.c (TIMEOUT): Likewise.
8420 * posix/tst-getaddrinfo5.c (TIMEOUT): Likewise.
8421 * posix/tst-preadwrite-common.c (TIMEOUT): Likewise.
8422 * posix/tst-regex2.c (TIMEOUT): Likewise.
8423 * posix/tst-waitid.c (TIMEOUT): Likewise.
8424 * rt/tst-aio.c (TIMEOUT): Likewise.
8425 * rt/tst-aio10.c (TIMEOUT): Likewise.
8426 * rt/tst-aio4.c (TIMEOUT): Likewise.
8427 * rt/tst-aio5.c (TIMEOUT): Likewise.
8428 * rt/tst-aio6.c (TIMEOUT): Likewise.
8429 * rt/tst-aio64.c (TIMEOUT): Likewise.
8430 * rt/tst-aio7.c (TIMEOUT): Likewise.
8431 * rt/tst-aio9.c (TIMEOUT): Likewise.
8432 * rt/tst-clock.c (TIMEOUT): Likewise.
8433 * rt/tst-cpuclock1.c (TIMEOUT): Likewise.
8434 * rt/tst-cpuclock2.c (TIMEOUT): Likewise.
8435 * rt/tst-mqueue2.c (TIMEOUT): Likewise.
8436 * rt/tst-mqueue4.c (TIMEOUT): Likewise.
8437 * rt/tst-mqueue5.c (TIMEOUT): Likewise.
8438 * rt/tst-timer4.c (TIMEOUT): Likewise.
8439 * stdio-common/tst-fseek.c (TIMEOUT): Likewise.
8440 * stdio-common/tst-rndseek.c (TIMEOUT): Likewise.
8441 * stdlib/tst-empty-env.c (TIMEOUT): Likewise.
8442 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Likewise.
8443 * time/tst-ftime.c (TIMEOUT): Likewise.
8444 * timezone/tst-tzset.c (TIMEOUT): Likewise.
8446 2018-10-16 Anton Youdkevitch <anton.youdkevitch@bell-sw.com>
8448 * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Remove thunderx2 code.
8449 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New implementation
8452 2018-10-15 Joseph Myers <joseph@codesourcery.com>
8454 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8456 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/sem-pad.h>
8457 instead of <bits/wordsize.h>.
8458 (__SEM_PAD_TIME): New macro, depending on [__SEM_PAD_BEFORE_TIME]
8459 and [__SEM_PAD_AFTER_TIME].
8460 (struct semid_ds): Define time fields using __SEM_PAD_TIME. Use
8461 __syscall_ulong_t instead of unsigned long int.
8462 * sysdeps/unix/sysv/linux/bits/sem-pad.h: New file.
8463 * sysdeps/unix/sysv/linux/hppa/bits/sem-pad.h: Likewise.
8464 * sysdeps/unix/sysv/linux/mips/bits/sem-pad.h: Likewise.
8465 * sysdeps/unix/sysv/linux/powerpc/bits/sem-pad.h: Likewise.
8466 * sysdeps/unix/sysv/linux/sparc/bits/sem-pad.h: Likewise.
8467 * sysdeps/unix/sysv/linux/x86/bits/sem-pad.h: Likewise.
8468 * sysdeps/unix/sysv/linux/hppa/bits/sem.h: Remove.
8469 * sysdeps/unix/sysv/linux/mips/bits/sem.h: Likewise.
8470 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
8471 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
8472 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
8474 2018-10-14 Paul Eggert <eggert@cs.ucla.edu>
8476 regex: simplify by using intprops.h
8478 * posix/regex_internal.h [_LIBC]: Include intprops.h.
8479 (TYPE_SIGNED, INT_ADD_WRAPV) [_LIBC]: Remove.
8480 intprops.h defines them.
8482 regex: __builtin_expect → __glibc_unlikely
8484 This refactoring was prompted by a problem when the regex code is
8485 used as part of Gnulib and when the builder’s compiler does not grok
8486 __builtin_expect. Problem reported for Gawk by Nelson H.F. Beebe in:
8487 https://lists.gnu.org/r/bug-gnulib/2018-09/msg00137.html
8488 Although this refactoring does not fix the problem directly,
8489 we might as well have Gawk use the now-preferred glibc style for when
8490 __builtin_expect is unavailable.
8491 * posix/regex_internal.h (BE): Remove.
8492 All uses replaced by __glibc_unlikely or __glibc_likely.
8494 2018-10-11 Joseph Myers <joseph@codesourcery.com>
8496 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
8498 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/msq-pad.h>
8499 instead of <bits/wordsize.h>.
8500 (msgqnum_t): Define as __syscall_ulong_t.
8501 (msglen_t): Likewise.
8502 (__MSQ_PAD_TIME): New macro, depending on [__MSQ_PAD_BEFORE_TIME]
8503 and [__MSQ_PAD_AFTER_TIME].
8504 (struct msqid_ds): Define time fields using __MSQ_PAD_TIME. Use
8505 __syscall_ulong_t instead of unsigned long int.
8506 * sysdeps/unix/sysv/linux/bits/msq-pad.h: New file.
8507 * sysdeps/unix/sysv/linux/hppa/bits/msq-pad.h: Likewise.
8508 * sysdeps/unix/sysv/linux/mips/bits/msq-pad.h: Likewise.
8509 * sysdeps/unix/sysv/linux/powerpc/bits/msq-pad.h: Likewise.
8510 * sysdeps/unix/sysv/linux/sparc/bits/msq-pad.h: Likewise.
8511 * sysdeps/unix/sysv/linux/x86/bits/msq-pad.h: Likewise.
8512 * sysdeps/unix/sysv/linux/hppa/bits/msq.h: Remove.
8513 * sysdeps/unix/sysv/linux/mips/bits/msq.h: Likewise.
8514 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
8515 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
8516 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
8518 2018-10-10 Joseph Myers <joseph@codesourcery.com>
8520 * sysdeps/unix/sysv/linux/bits/shm.h: Include <bits/wordsize.h>.
8521 (struct shmid_ds): Condition padding after time fields on
8523 * sysdeps/unix/sysv/linux/alpha/bits/shm.h: Remove file.
8524 * sysdeps/unix/sysv/linux/generic/bits/shm.h: Likewise.
8525 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
8527 * sysdeps/unix/sysv/linux/bits/sem.h: Include <bits/wordsize.h>.
8528 (struct semid_ds): Condition padding after time fields on
8530 * sysdeps/unix/sysv/linux/alpha/bits/sem.h: Remove file.
8531 * sysdeps/unix/sysv/linux/generic/bits/sem.h: Likewise.
8532 * sysdeps/unix/sysv/linux/ia64/bits/sem.h: Likewise.
8533 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
8535 * sysdeps/unix/sysv/linux/bits/msq.h: Include <bits/wordsize.h>.
8536 (struct msqid_ds): Condition padding after time fields on
8538 * sysdeps/unix/sysv/linux/alpha/bits/msq.h: Remove file.
8539 * sysdeps/unix/sysv/linux/generic/bits/msq.h: Likewise.
8540 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Likewise.
8541 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
8543 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8545 * nss/tst-nss-files-hosts-multi.c (TIMEOUT): Define.
8547 2018-10-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
8549 * libio/tst-readline.c (TIMEOUT): Define.
8551 2018-10-08 Paul Eggert <eggert@cs.ucla.edu>
8553 mktime fix for Gnulib + coreutils
8555 This fix affects only Gnulib. Problem discovered when
8556 mktime.c was used as part of Gnulib in bleeding-edge Coreutils.
8558 (my_tzset) [!_LIBC && !NEED_MKTIME_WORKING && !NEED_MKTIME_WINDOWS]:
8559 Do not define since it is not used. Defining an unused static
8560 function prompts a warning from GCC when Coreutils is configured
8561 with --enable-gcc-warnings.
8563 2018-10-08 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
8565 * benchtests/scripts/compare_bench.py (main): set float type on
8568 2018-10-08 Rafal Luzynski <digitalfreak@lingonborough.com>
8571 * localedata/locales/kl_GL (mon): Update, the relative case.
8572 (alt_mon): Add, fill with month names in the nominative case.
8573 (d_t_fmt): Set to "%a %b %d %Y %T %Z".
8574 (d_fmt): Set to "%b %d %Y".
8576 2018-10-04 Joseph Myers <joseph@codesourcery.com>
8578 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
8579 <bits/mman-linux.h>.
8580 (PROT_READ): Don't define here.
8581 (PROT_WRITE): Likewise.
8582 (PROT_EXEC): Likewise.
8583 (PROT_NONE): Likewise.
8584 (PROT_GROWSDOWN): Likewise.
8585 (PROT_GROWSUP): Likewise.
8586 (MAP_SHARED): Likewise.
8587 (MAP_PRIVATE): Likewise.
8588 [__USE_MISC] (MAP_SHARED_VALIDATE): Likewise.
8589 [__USE_MISC] (MAP_FILE): Likewise.
8590 [__USE_MISC] (MAP_ANONYMOUS): Likewise.
8591 [__USE_MISC] (MAP_ANON): Likewise.
8592 [__USE_MISC] (MAP_HUGE_SHIFT): Likewise.
8593 [__USE_MISC] (MAP_HUGE_MASK): Likewise.
8594 (MCL_CURRENT): Likewise.
8595 (MCL_FUTURE): Likewise.
8596 (MCL_ONFAULT): Likewise.
8597 [__USE_MISC] (MADV_NORMAL): Likewise.
8598 [__USE_MISC] (MADV_RANDOM): Likewise.
8599 [__USE_MISC] (MADV_SEQUENTIAL): Likewise.
8600 [__USE_MISC] (MADV_WILLNEED): Likewise.
8601 [__USE_MISC] (MADV_DONTNEED): Likewise.
8602 [__USE_MISC] (MADV_FREE): Likewise.
8603 [__USE_MISC] (MADV_REMOVE): Likewise.
8604 [__USE_MISC] (MADV_DONTFORK): Likewise.
8605 [__USE_MISC] (MADV_DOFORK): Likewise.
8606 [__USE_MISC] (MADV_HWPOISON): Likewise.
8607 [__USE_XOPEN2K] (POSIX_MADV_NORMAL): Likewise.
8608 [__USE_XOPEN2K] (POSIX_MADV_RANDOM): Likewise.
8609 [__USE_XOPEN2K] (POSIX_MADV_SEQUENTIAL): Likewise.
8610 [__USE_XOPEN2K] (POSIX_MADV_WILLNEED): Likewise.
8611 [__USE_XOPEN2K] (POSIX_MADV_DONTNEED): Likewise.
8612 (__MAP_ANONYMOUS): New macro.
8613 [__USE_MISC] (MAP_TYPE): Undefine and redefine after
8614 <bits/mman-linux.h> inclusion.
8615 (MAP_FIXED): Likewise.
8616 (MS_SYNC): Likewise.
8617 (MS_ASYNC): Likewise.
8618 (MS_INVALIDATE): Likewise.
8619 [__USE_MISC] (MADV_MERGEABLE): Likewise.
8620 [__USE_MISC] (MADV_UNMERGEABLE): Likewise.
8621 [__USE_MISC] (MADV_HUGEPAGE): Likewise.
8622 [__USE_MISC] (MADV_NOHUGEPAGE): Likewise.
8623 [__USE_MISC] (MADV_DONTDUMP): Likewise.
8624 [__USE_MISC] (MADV_DODUMP): Likewise.
8625 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
8626 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
8629 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (NO_MATH_REDIRECT):
8631 * sysdeps/ieee754/ldbl-opt/test-nldbl-redirect.c: New file.
8632 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math] (tests):
8633 Add test-nldbl-redirect.
8634 [$(subdir) = math] (CFLAGS-test-nldbl-redirect.c): New variable.
8635 [$(subdir) = math] ($(objpfx)test-nldbl-redirect): Depend on
8636 $(objpfx)libnldbl_nonshared.a.
8638 2018-10-04 Stefan Liebler <stli@linux.ibm.com>
8640 * support/support.h (support_objdir_elf_ldso): New variable.
8641 * support/support_paths.c (support_objdir_elf_ldso): Likewise.
8642 * support/Makefile (CFLAGS-support_paths.c): Add definition
8643 for OBJDIR_ELF_LDSO_PATH.
8644 * support/test-container.c (main): Search for the ld.so
8645 which is also used by the testsuite.
8647 2018-10-02 Rafal Luzynski <digitalfreak@lingonborough.com>
8650 * localedata/locales/kl_GL: (abday): Fix spelling of Sun (Sunday),
8651 should be "sap" rather than "sab".
8652 (day): Fix spelling of Sunday, should be "sapaat" rather than
8655 2018-10-02 Joseph Myers <joseph@codesourcery.com>
8657 * math/libm-test-fma.inc (fma_test_data): Add more tests.
8659 2018-10-02 Martin Jansa <Martin.Jansa@gmail.com>
8662 * sysdeps/ieee754/soft-fp/s_fdiv.c: Include <libc-diag.h> and use
8663 DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT and
8664 DIAG_POP_NEEDS_COMMENT to disable -Wmaybe-uninitialized.
8666 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8668 * sysdeps/unix/sysv/linux/fd_to_filename.h: Add missing includes.
8670 2018-10-02 H.J. Lu <hongjiu.lu@intel.com>
8672 * sysdeps/unix/sysv/linux/x86/Makefile (CFLAGS-elision-lock.c):
8674 (CFLAGS-elision-unlock.c): Likewise.
8675 (CFLAGS-elision-timed.c): Likewise.
8676 (CFLAGS-elision-trylock.c): Likewise.
8677 * sysdeps/unix/sysv/linux/x86/hle.h: Rewritten.
8679 2018-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8682 * libio/Makefile (tests): Add tst-memstream4 and tst-wmemstream4.
8683 * libio/freopen.c (freopen): Sync stream before reopen and adjust to
8684 new fd_to_filename interface.
8685 * libio/freopen64.c (freopen64): Likewise.
8686 * libio/tst-memstream.h: New file.
8687 * libio/tst-memstream4.c: Likewise.
8688 * libio/tst-wmemstream4.c: Likewise.
8689 * sysdeps/generic/fd_to_filename.h (fd_to_filename): Change signature.
8690 * sysdeps/unix/sysv/linux/fd_to_filename.h (fd_to_filename): Likewise
8691 and remove internal dynamic allocation.
8693 2018-10-01 Joseph Myers <joseph@codesourcery.com>
8695 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
8696 (MREMAP_MAYMOVE): Do not define here.
8697 [__USE_GNU] (MREMAP_FIXED): Likewise.
8698 * sysdeps/unix/sysv/linux/bits/mman-shared.h [__USE_GNU]
8699 (MREMAP_MAYMOVE): Define here instead.
8700 [__USE_GNU] (MREMAP_FIXED): Likewise.
8701 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_GNU]
8702 (MREMAP_MAYMOVE): Remove.
8703 [__USE_GNU] (MREMAP_FIXED): Likewise.
8705 2018-09-28 Joseph Myers <joseph@codesourcery.com>
8707 * math/fromfp.h: Do not include <math_private.h>.
8708 * math/s_cacosh_template.c: Likewise.
8709 * math/s_casin_template.c: Likewise.
8710 * math/s_casinh_template.c: Likewise.
8711 * math/s_ccos_template.c: Likewise.
8712 * math/s_cproj_template.c: Likewise.
8713 * math/s_fdim_template.c: Likewise.
8714 * math/s_fmaxmag_template.c: Likewise.
8715 * math/s_fminmag_template.c: Likewise.
8716 * math/s_iseqsig_template.c: Likewise.
8717 * math/s_ldexp_template.c: Likewise.
8718 * math/s_nextdown_template.c: Likewise.
8719 * math/w_log1p_template.c: Likewise.
8720 * math/w_scalbln_template.c: Likewise.
8721 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
8722 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
8723 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
8724 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
8725 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
8726 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
8727 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
8728 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
8729 * sysdeps/i386/fpu/s_atanl.c: Likewise.
8730 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
8731 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
8732 * sysdeps/i386/fpu/s_fdim.c: Likewise.
8733 * sysdeps/i386/fpu/s_logbl.c: Likewise.
8734 * sysdeps/i386/fpu/s_rintl.c: Likewise.
8735 * sysdeps/i386/fpu/s_significandl.c: Likewise.
8736 * sysdeps/ia64/fpu/s_matherrf.c: Likewise.
8737 * sysdeps/ia64/fpu/s_matherrl.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
8742 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
8743 * sysdeps/ieee754/k_standardf.c: Likewise.
8744 * sysdeps/ieee754/k_standardl.c: Likewise.
8745 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8746 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
8747 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c: Likewise.
8748 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
8749 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
8750 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
8751 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
8753 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
8754 * sysdeps/ieee754/s_signgam.c: Likewise.
8755 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
8756 * sysdeps/powerpc/power5+/fpu/s_modff.c: Likewise.
8757 * sysdeps/powerpc/power7/fpu/s_logbf.c: Likewise.
8758 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
8759 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
8760 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
8761 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8762 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
8763 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
8764 * sysdeps/riscv/rvd/s_finite.c: Likewise.
8765 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
8766 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
8767 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
8768 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
8769 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
8770 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
8771 * sysdeps/riscv/rvf/fegetround.c: Likewise.
8772 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
8773 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
8774 * sysdeps/riscv/rvf/fesetround.c: Likewise.
8775 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
8776 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
8777 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
8778 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
8779 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
8780 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
8781 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
8782 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
8783 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
8784 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
8785 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
8786 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
8787 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
8788 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
8789 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8790 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
8791 * sysdeps/riscv/rv64/rvd/s_rint.c: Include <stdbool.h> instead of
8793 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
8795 2018-09-28 H.J. Lu <hongjiu.lu@intel.com>
8798 * sysdeps/i386/dl-cet.c: Removed.
8799 * sysdeps/i386/dl-machine.h (_dl_runtime_resolve_shstk): New
8801 (_dl_runtime_profile_shstk): Likewise.
8802 (elf_machine_runtime_setup): Use _dl_runtime_profile_shstk or
8803 _dl_runtime_resolve_shstk if SHSTK is enabled by kernel.
8805 2018-09-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8808 * misc/tst-preadvwritev2-common.c (do_test_with_invalid_fd,
8809 do_test_with_invalid_iov): New tests.
8810 * misc/tst-preadvwritev2.c, misc/tst-preadvwritev64v2.c (do_test):
8811 Call do_test_with_invalid_fd and do_test_with_invalid_iov.
8812 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Use fallback code iff
8814 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
8815 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
8816 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
8818 2018-09-27 Joseph Myers <joseph@codesourcery.com>
8820 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8821 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT]
8822 (MATH_REDIRECT_BINARY_ARGS): New macro.
8823 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
8824 && !NO_MATH_REDIRECT] (copysign): Redirect using MATH_REDIRECT.
8825 * sysdeps/alpha/fpu/s_copysign.c: Define NO_MATH_REDIRECT before
8827 * sysdeps/alpha/fpu/s_copysignf.c: Likewise.
8828 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8829 * sysdeps/ieee754/float128/s_copysignf128.c: Likewise.
8830 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
8831 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
8832 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
8833 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
8834 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
8836 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
8838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
8839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Likewise.
8840 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
8841 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
8842 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c:
8844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c:
8846 * sysdeps/generic/math_private_calls.h
8847 [!__MATH_DECLARING_LONG_DOUBLE || !NO_LONG_DOUBLE] (__copysign):
8848 Do not declare and define as an inline function.
8849 * math/divtc3.c (__divtc3): Use copysign functions instead of
8850 __copysign variants.
8851 * math/multc3.c (__multc3): Likewise.
8852 * sysdeps/generic/math-type-macros.h (M_COPYSIGN): Likewise.
8853 * sysdeps/ieee754/dbl-64/e_atan2.c (signArctan2): Likewise.
8854 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
8855 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
8857 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
8858 (__ieee754_yn): Likewise.
8859 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
8860 * sysdeps/ieee754/dbl-64/s_atan.c (__signArctan): Likewise.
8861 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
8862 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
8863 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Likewise.
8865 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
8866 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
8868 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
8870 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
8872 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
8873 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
8875 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
8876 (__ieee754_ynf): Likewise.
8877 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
8878 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
8879 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
8880 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
8882 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
8883 (__ieee754_ynl): Likewise.
8884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
8885 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
8886 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
8888 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
8889 (__ieee754_ynl): Likewise.
8890 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Likewise.
8891 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
8892 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
8893 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
8895 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
8897 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Likewise.
8898 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
8899 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c (copysignl): Likewise.
8900 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
8901 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
8903 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
8904 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (round): Redirect
8905 using MATH_REDIRECT.
8906 * sysdeps/aarch64/fpu/s_round.c: Define NO_MATH_REDIRECT before
8908 * sysdeps/aarch64/fpu/s_roundf.c: Likewise.
8909 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
8910 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
8911 * sysdeps/ieee754/float128/s_roundf128.c: Likewise.
8912 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
8913 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
8914 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
8915 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: Likewise.
8916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: Likewise.
8917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Likewise.
8918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Likewise.
8919 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
8920 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
8921 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
8922 (round): Redirect to __round.
8923 (__roundl): Call round instead of __round.
8924 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__round):
8926 [_ARCH_PWR5X] (__roundf): Likewise.
8927 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use round
8928 functions instead of __round variants.
8929 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
8930 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
8932 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
8934 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
8936 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
8937 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lroundl): Redirect to
8939 (__ieee754_expl): Call roundl instead of __roundl.
8941 2018-09-27 Andreas Schwab <schwab@suse.de>
8944 * stdlib/tst-setcontext9.c (f1a): Make st2 static.
8945 (do_test): Make st1 static.
8947 2018-09-26 Andreas Schwab <schwab@suse.de>
8950 * sysdeps/powerpc/powerpc32/dl-start.S: Add unwind information.
8951 * elf/Makefile (tests): Add tst-unwind-ctor.
8952 (modules-names): Add tst-unwind-ctor-lib.
8953 ($(objpfx)tst-unwind-ctor): Depend on
8954 $(objpfx)tst-unwind-ctor-lib.so.
8956 2018-09-26 Joseph Myers <joseph@codesourcery.com>
8958 * sysdeps/unix/sysv/linux/bits/mman-map-flags-generic.h: New
8959 file. Most contents moved from ....
8960 * sysdeps/unix/sysv/linux/bits/mman.h: ... here. Move contents to
8961 and include <bits/mman-map-flags-generic.h>.
8962 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
8963 (sysdep_headers): Add bits/mman-map-flags-generic.h.
8964 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Include
8965 <bits/mman-map-flags-generic.h>.
8966 [__USE_MISC] (MAP_GROWSUP): Only define this macro, not other
8967 macros defined in <bits/mman-map-flags-generic.h>.
8968 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Include
8969 <bits/mman-map-flags-generic.h>.
8970 [__USE_MISC] (MAP_32BIT): Only define this macro, not other macros
8971 defined in <bits/mman-map-flags-generic.h>.
8973 2018-09-26 Andreas Schwab <schwab@suse.de>
8975 * Makefile ($(common-objpfx)testrun.sh): Remove leading space from
8978 2018-09-25 Adam J. Richte <adam_richter2004@yahoo.com>
8979 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8980 Fangrui Song <maskray@google.com>
8983 * config.make.in (have-textrel_ifunc): New define.
8984 * configure.ac: Add check if linker supports textrel relocation with
8986 * elf/Makefile [have-textrel_ifunc == yes] (ifunc-pie-tests): Add
8988 (CFLAGS-tst-ifunc-textrel.c): New rule.
8989 * elf/dl-reloc.c (_dl_relocate_object): Use all required flags on
8990 DT_TEXTREL segments, not only PROT_READ and PROT_WRITE.
8991 * elf/tst-ifunc-textrel.c: New file.
8993 2018-09-25 Joseph Myers <joseph@codesourcery.com>
8995 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
8996 <bits/procfs-prregset.h>.
8997 (prgregset_t): Define using __prgregset_t.
8998 (prfpregset_t): Define using __prfpregset_t.
8999 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9000 (sysdep_headers): Add bits/procfs-prregset.h.
9001 * sysdeps/unix/sysv/linux/bits/procfs-prregset.h: New file.
9002 * sysdeps/unix/sysv/linux/alpha/bits/procfs-prregset.h: Likewise.
9003 * sysdeps/unix/sysv/linux/alpha/bits/procfs.h: Likewise.
9004 * sysdeps/unix/sysv/linux/alpha/sys/procfs.h: Remove file.
9006 * sysdeps/unix/sysv/linux/sys/procfs.h: Include
9007 <bits/procfs-id.h> and <bits/procfs-extra.h>.
9008 (struct elf_prpsinfo): Use __pr_uid_t and __pr_gid_t as types of
9010 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9011 (sysdep_headers): Add bits/procfs-id.h and bits/procfs-extra.h.
9012 * sysdeps/unix/sysv/linux/bits/procfs-extra.h: New file.
9013 * sysdeps/unix/sysv/linux/bits/procfs-id.h: Likewise.
9014 * sysdeps/unix/sysv/linux/arm/bits/procfs-id.h: Likewise.
9015 * sysdeps/unix/sysv/linux/arm/bits/procfs.h: Likewise.
9016 * sysdeps/unix/sysv/linux/m68k/bits/procfs-id.h: Likewise.
9017 * sysdeps/unix/sysv/linux/m68k/bits/procfs.h: Likewise.
9018 * sysdeps/unix/sysv/linux/s390/bits/procfs-extra.h: Likewise.
9019 * sysdeps/unix/sysv/linux/s390/bits/procfs-id.h: Likewise.
9020 * sysdeps/unix/sysv/linux/s390/bits/procfs.h: Likewise.
9021 * sysdeps/unix/sysv/linux/sh/bits/procfs-id.h: Likewise.
9022 * sysdeps/unix/sysv/linux/sh/bits/procfs.h: Likewise.
9023 * sysdeps/unix/sysv/linux/sparc/bits/procfs-extra.h: Likewise.
9024 * sysdeps/unix/sysv/linux/sparc/bits/procfs-id.h: Likewise.
9025 * sysdeps/unix/sysv/linux/sparc/bits/procfs.h: Likewise.
9026 * sysdeps/unix/sysv/linux/x86/bits/procfs-id.h: Likewise.
9027 * sysdeps/unix/sysv/linux/x86/bits/procfs.h: Likewise.
9028 * sysdeps/unix/sysv/linux/arm/sys/procfs.h: Remove file.
9029 * sysdeps/unix/sysv/linux/m68k/sys/procfs.h: Likewise.
9030 * sysdeps/unix/sysv/linux/s390/sys/procfs.h: Likewise.
9031 * sysdeps/unix/sysv/linux/sh/sys/procfs.h: Likewise.
9032 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9033 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: Likewise.
9035 * sysdeps/unix/sysv/linux/sys/procfs.h: Replace with file based on
9036 AArch64 version. Include <bits/procfs.h>.
9037 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
9038 (sysdep_headers): Add bits/procfs.h.
9039 * sysdeps/unix/sysv/linux/bits/procfs.h: New file.
9040 * sysdeps/unix/sysv/linux/aarch64/bits/procfs.h: Likewise.
9041 * sysdeps/unix/sysv/linux/hppa/bits/procfs.h: Likewise.
9042 * sysdeps/unix/sysv/linux/ia64/bits/procfs.h: Likewise.
9043 * sysdeps/unix/sysv/linux/microblaze/bits/procfs.h: Likewise.
9044 * sysdeps/unix/sysv/linux/mips/bits/procfs.h: Likewise.
9045 * sysdeps/unix/sysv/linux/nios2/bits/procfs.h: Likewise.
9046 * sysdeps/unix/sysv/linux/powerpc/bits/procfs.h: Likewise.
9047 * sysdeps/unix/sysv/linux/riscv/bits/procfs.h: Likewise.
9048 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove file.
9049 * sysdeps/unix/sysv/linux/hppa/sys/procfs.h: Likewise.
9050 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Likewise.
9051 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h: Likewise.
9052 * sysdeps/unix/sysv/linux/mips/sys/procfs.h: Likewise.
9053 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: Likewise.
9054 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
9055 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
9057 2018-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9059 * posix/tst-spawn.c (do_prepare, handle_restart, do_test):
9062 2018-09-25 Arjun Shankar <arjun@redhat.com>
9064 * iconv/gconv_int.h (__gconv_path_elem): Remove.
9065 (__gconv_max_path_elem_len): Likewise.
9066 (__gconv_nmodules): Likewise.
9067 (__gconv_get_path): Likewise.
9068 (path_elem): Move to ...
9069 * iconv/gconv_conf.c: ... here.
9070 (__gconv_get_path): Mark function static.
9071 * iconv/gconv_int.h (GCONV_NCHAR_GOAL): Move to ...
9072 * iconv/gconv_open.c: ... here.
9074 2018-09-24 Andreas Schwab <schwab@suse.de>
9076 * scripts/haveversions.awk: New file.
9077 * Makerules ($(common-objpfx)Versions.def)
9078 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9079 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9081 * Makeconfig ($(common-objpfx)Versions.def)
9082 ($(common-objpfx)Versions.all, $(common-objpfx)Versions.v.i)
9083 ($(common-objpfx)sysd-versions, $(common-objpfx)versions.stmp):
9085 ($(common-objpfx)Versions.mk): New rule. Include it.
9086 * nis/Makefile [!have-GLIBC_2.28]: Don't build any targets.
9087 Emit error if build-obsolete-nsl = yes.
9088 * manual/install.texi (Configuring and compiling): Describe
9089 --enable-obsolete-nsl as unavaiable after version 2.28.
9090 * INSTALL: Regenerate.
9092 2018-09-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9094 * NEWS: Add note about new TLE support on powerpc64le.
9095 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Remove.
9096 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Rename tm_capable to
9098 (TLS_INIT_TP, TLS_DEFINE_INIT_TP): Remove tm_capable setup.
9099 (THREAD_GET_TM_CAPABLE, THREAD_SET_TM_CAPABLE): Remove macros.
9100 * sysdeps/powerpc/powerpc32/sysdep.h,
9101 sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION_IMPL,
9102 ABORT_TRANSACTION): Remove macros.
9103 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
9104 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init): Set
9105 __pthread_force_elision iff PPC_FEATURE2_HTM_NOSC is set.
9106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h,
9107 sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9108 sysdeps/unix/sysv/linux/powerpc/syscall.S (ABORT_TRANSACTION): Remove
9110 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: Remove file.
9112 2018-09-21 Rafal Luzynski <digitalfreak@lingonborough.com>
9115 * localedata/locales/it_IT (d_t_fmt): Use "%a %-d %b %Y, %T".
9116 (date_fmt): Use "%a %-d %b %Y, %T, %Z".
9117 * localedata/locales/it_CH (d_t_fmt): Use "%a %-d %b %Y, %T"
9118 which is the same as in it_IT.
9119 (d_fmt): Use "%d.%m.%Y" which is the same as in de_CH.
9120 (date_fmt): Use "%a %-d %b %Y, %T, %Z" which is the same as in it_IT.
9122 2018-09-20 Joseph Myers <joseph@codesourcery.com>
9124 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9125 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (trunc): Redirect
9126 using MATH_REDIRECT.
9127 * sysdeps/aarch64/fpu/s_trunc.c: Define NO_MATH_REDIRECT before
9129 * sysdeps/aarch64/fpu/s_truncf.c: Likewise.
9130 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
9131 * sysdeps/ieee754/float128/s_truncf128.c: Likewise.
9132 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
9133 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
9134 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
9135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: Likewise.
9136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: Likewise.
9137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Likewise.
9138 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Likewise.
9139 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9140 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9141 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
9142 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
9143 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
9144 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
9145 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
9146 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
9147 (ceil): Redirect to __ceil.
9148 (floor): Redirect to __floor.
9149 (trunc): Redirect to __trunc.
9150 (__truncl): Call trunc instead of __trunc.
9151 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__trunc):
9153 [_ARCH_PWR5X] (__truncf): Likewise.
9154 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Use
9155 trunc functions instead of __trunc variants.
9156 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9158 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9160 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9162 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9165 * sysdeps/x86/cpu-features.h [__geode__ || __k6__]: Handle like
9166 [__i586__ || __pentium__].
9167 [__i486__]: Handle explicitly.
9168 (HAS_CPUID): Define to 1 if above macros are undefined.
9169 (HAS_I586): Likewise.
9170 (HAS_I686): Likewise.
9172 2018-09-20 Florian Weimer <fweimer@redhat.com>
9174 * misc/tst-gethostid.c: New file.
9175 * misc/Makefile [$(build-shared)] (tests): Add tst-gethostid.
9176 (tst-gethostid): Link with -ldl.
9178 2018-09-20 Mingli Yu <Mingli.Yu@windriver.com>
9180 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Check for NULL
9181 value from gethostbyname_r.
9183 2018-09-19 Carlos O'Donell <carlos@redhat.com>
9185 * stdlib/tst-setcontext9.c (f1): Rename to...
9187 (f1b): New function implementing lower half of f1 in alternate stack.
9189 2018-09-19 Paul Eggert <eggert@cs.ucla.edu>
9191 Fix mktime localtime offset confusion
9193 * include/time.h (__mktime_internal): The localtime offset is now
9194 of type long int instead of time_t. This is the longstanding type
9195 in glibc, and it is more than enough to represent difference
9196 between localtime and gmtime even if it is 32 bits and time_t is
9197 64. Changing it now will let us avoid an unnecessary change when
9198 time_t is widened to 64 bits on 32-bit platforms.
9199 * time/mktime-internal.h (mktime_offset_t): Now long int.
9201 Merge mktime, timegm from upstream Gnulib
9202 [BZ #23603][BZ #16346]
9203 This fixes some obscure problems with integer overflow.
9204 Although it looks scary, it is almost all a byte-for-byte copy
9205 from Gnulib, and the Gnulib code has been tested reasonably well.
9206 * include/intprops.h: New file, copied from Gnulib.
9207 * include/verify.h, time/mktime-internal.h:
9208 New tiny files, simplified from Gnulib.
9209 * time/mktime.c: Copy from Gnulib. This has the following changes:
9210 Do not include config.h if DEBUG_MKTIME is nonzero.
9211 Include stdbool.h, intprops.h, verify.h.
9212 Include string.h only if needed.
9213 Include stdlib.h on MS-Windows.
9214 Include mktime-internal.h.
9215 (DEBUG_MKTIME): Default to 0, and simplify later uses.
9216 (NEED_MKTIME_INTERNAL, NEED_MKTIME_WINDOWS)
9217 (NEED_MKTIME_WORKING): Give default values to pacify -Wundef,
9218 which glibc uses. Default NEED_MKTIME_WORKING to DEBUG_MKTIME, to
9219 simplify later conditionals; default the others to zero. Use
9220 these conditionals to express only the code needed on the current
9221 platform. In uses of these conditionals, explicitly spell out how
9222 _LIBC affects things, so it’s easier to review from a glibc
9224 (WRAPV): Remove; no longer needed now that we have
9225 systematic overflow checking.
9226 (my_tzset, __tzset) [!_LIBC]: New function and macro, to better
9227 compartmentalize tzset issues. Move system-dependent tzsettish
9228 code here from mktime.
9229 (verify): Remove; now done by verify.h. All uses changed.
9230 (long_int): Use a more-conservative definition, to avoid
9232 (SHR): Remove, replacing with ...
9233 (shr): New function, which means we needn’t worry about side
9234 effects in args, and conversion analysis is simpler.
9235 (TYPE_IS_INTEGER, TYPE_TWOS_COMPLEMENT, TYPE_SIGNED, TYPE_MINIMUM)
9236 (TYPE_MAXIMUM, TIME_T_MIN, TIME_T_MAX, TIME_T_MIDPOINT)
9237 (time_t_avg, time_t_add_ok): Remove.
9238 (mktime_min, mktime_max): New constants.
9239 (leapyear, isdst_differ): Use bool for booleans.
9240 (ydhms_diff, guess_time_tm, ranged_convert, __mktime_internal):
9241 Use long_int, not time_t, for mktime differences.
9242 (long_int_avg): New function, replacing time_t_avg.
9243 INT_ADD_WRAPV replaces time_t_add_ok.
9244 (guess_time_tm): 6th arg is now long_int, not time_t const *.
9246 (convert_time): New function.
9247 (ranged_convert): Use it.
9248 (__mktime_internal): Last arg now points to mktime_offset_t, not
9249 time_t. All uses changed. This is a no-op on glibc, where
9250 mktime_offset_t is always time_t. Use int, not time_t, for UTC
9251 offset guess. Directly check for integer overflow instead of
9252 using a heuristic that works only 99.9...% of the time.
9253 Access *OFFSET only once, to avoid an unlikely race if the
9254 compiler delays a load and if this cascades into a signed integer
9256 (mktime): Move tzsettish code to my_tzset, and move
9257 localtime_offset to within mktime so that it doesn’t
9258 need a separate ifdef.
9259 (main) [DEBUG_MKTIME]: Speed up by using localtime_r
9260 instead of localtime.
9261 * time/timegm.c: Copy from Gnulib. This has the following changes:
9262 Include mktime-internal.h.
9263 [!_LIBC]: Include config.h and time.h. Do not include
9264 timegm.h or time_r.h. Make __mktime_internal a macro,
9265 and include mktime-internal.h to get its declaration.
9266 (timegm): Temporary is now mktime_offset_t, not time_t.
9267 This affects only Gnulib.
9269 2018-09-19 Wilco Dijkstra <wdijkstr@arm.com>
9272 * string/test-strstr.c (pr23637): New function.
9273 (test_main): Add tests with longer needles.
9274 * string/strcasestr.c (AVAILABLE): Fix readahead distance.
9275 * string/strstr.c (AVAILABLE): Likewise.
9277 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9279 * sysdeps/ieee754/flt-32/e_powf.c (checkint): Fix documentation.
9281 2018-09-19 Szabolcs Nagy <szabolcs.nagy@arm.com>
9283 * NEWS: Mention pow improvements.
9284 * math/Makefile (type-double-routines): Add e_pow_log_data.
9285 * sysdeps/generic/math_private.h (__exp1): Remove.
9286 * sysdeps/i386/fpu/e_pow_log_data.c: New file.
9287 * sysdeps/ia64/fpu/e_pow_log_data.c: New file.
9288 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Allow fma
9290 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove.
9291 (exp_inline): Remove.
9292 (__ieee754_exp): Only single double input is handled.
9293 * sysdeps/ieee754/dbl-64/e_pow.c: Rewrite.
9294 * sysdeps/ieee754/dbl-64/e_pow_log_data.c: New file.
9295 * sysdeps/ieee754/dbl-64/math_config.h (issignaling_inline): Define.
9296 (__pow_log_data): Define.
9297 * sysdeps/ieee754/dbl-64/upow.h: Remove.
9298 * sysdeps/ieee754/dbl-64/upow.tbl: Remove.
9299 * sysdeps/m68k/m680x0/fpu/e_pow_log_data.c: New file.
9300 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma.c): Allow fma
9302 (CFLAGS-e_pow-fma4.c): Likewise.
9304 2018-09-18 Paul Eggert <eggert@cs.ucla.edu>
9306 Simplify tzfile fstat failure code
9308 * time/tzfile.c (__tzfile_read): Simplify slightly.
9310 Fix tzfile low-memory assertion failure
9312 * time/tzfile.c (__tzfile_read): Check for memory exhaustion
9313 when registering time zone abbreviations.
9315 2018-09-18 Joseph Myers <joseph@codesourcery.com>
9317 * sysdeps/unix/sysv/linux/bits/mman.h: New file.
9318 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove.
9319 * sysdeps/unix/sysv/linux/arm/bits/mman.h: Likewise.
9320 * sysdeps/unix/sysv/linux/m68k/bits/mman.h: Likewise.
9321 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h: Likewise.
9322 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: Likewise.
9323 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
9324 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9325 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
9327 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (ceil): Redirect to
9329 (__ceill): Call ceil instead of __ceil.
9330 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (floor): Redirect to
9332 (__floorl): Call floor instead of __floor.
9334 2018-09-17 Joseph Myers <joseph@codesourcery.com>
9336 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9337 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (ceil): Redirect
9338 using MATH_REDIRECT.
9339 * sysdeps/aarch64/fpu/s_ceil.c: Define NO_MATH_REDIRECT before
9341 * sysdeps/aarch64/fpu/s_ceilf.c: Likewise.
9342 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
9343 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
9344 * sysdeps/ieee754/float128/s_ceilf128.c: Likewise.
9345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
9346 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
9347 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
9348 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
9349 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Likewise.
9350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: Likewise.
9351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Likewise.
9352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Likewise.
9353 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9354 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9355 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
9356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
9357 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
9358 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
9359 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__ceil):
9361 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Use ceil
9362 functions instead of __ceil variants.
9363 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
9364 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive):
9366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive):
9368 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9369 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive):
9371 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9372 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9375 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SI_DETHREAD): New
9377 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (ILL_BADIADDR): Likewise.
9378 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_FLTUNK): Likewise.
9379 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (FPE_CONDTRAP): Likewise.
9380 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ACCADI): Likewise.
9381 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIDERR): Likewise.
9382 [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8] (SEGV_ADIPERR): Likewise.
9383 [__USE_XOPEN_EXTENDED] (TRAP_BRANCH): Likewise.
9384 [__USE_XOPEN_EXTENDED] (TRAP_HWBKPT): Likewise.
9385 [__USE_XOPEN_EXTENDED] (TRAP_UNK): Likweise.
9386 * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
9387 (ILL_BADIADDR): Remove constant.
9388 (TRAP_BRANCH): Likewise.
9389 (TRAP_HWBKPT): Likewise.
9391 2018-09-14 Joseph Myers <joseph@codesourcery.com>
9394 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prstatus):
9395 Remove [_MIPS_SIM = _ABIN32] conditional case.
9396 (struct elf_prpsinfo): Likewise.
9399 * sysdeps/unix/sysv/linux/microblaze/sys/procfs.h (struct
9400 elf_prpsinfo): Use unsigned int for pr_uid and pr_gid.
9401 * sysdeps/unix/sysv/linux/mips/sys/procfs.h (struct elf_prpsinfo):
9403 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h (struct
9404 elf_prpsinfo): Likewise.
9405 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h (struct
9406 elf_prpsinfo): Likewise.
9407 * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prpsinfo):
9410 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9411 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (rint): Redirect
9412 using MATH_REDIRECT.
9413 * sysdeps/aarch64/fpu/s_rint.c: Define NO_MATH_REDIRECT before
9415 * sysdeps/aarch64/fpu/s_rintf.c: Likewise.
9416 * sysdeps/alpha/fpu/s_rint.c: Likewise.
9417 * sysdeps/alpha/fpu/s_rintf.c: Likewise.
9418 * sysdeps/i386/fpu/s_rintl.c: Likewise.
9419 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
9420 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
9421 * sysdeps/ieee754/float128/s_rintf128.c: Likewise.
9422 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
9423 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
9424 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9425 * sysdeps/m68k/coldfire/fpu/s_rint.c: Likewise.
9426 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Likewise.
9427 * sysdeps/m68k/m680x0/fpu/s_rint.c: Likewise.
9428 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
9429 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
9430 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
9431 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
9432 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
9433 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
9434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
9435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
9436 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
9437 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
9438 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
9439 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
9440 * sysdeps/x86_64/fpu/math_private.h: Remove file.
9441 * math/e_scalb.c (invalid_fn): Use rint functions instead of
9443 * math/e_scalbf.c (invalid_fn): Likewise.
9444 * math/e_scalbl.c (invalid_fn): Likewise.
9445 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
9447 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
9449 * sysdeps/ieee754/k_standard.c (__kernel_standard): Likewise.
9450 * sysdeps/ieee754/k_standardl.c (__kernel_standard_l): Likewise.
9451 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
9453 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9455 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
9457 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c (__llrint): Likewise.
9458 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c (__llrintf): Likewise.
9460 * include/math.h [!_ISOMAC && !(__FINITE_MATH_ONLY__ &&
9461 __FINITE_MATH_ONLY__ > 0) && !NO_MATH_REDIRECT] (MATH_REDIRECT):
9463 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9464 && !NO_MATH_REDIRECT] (MATH_REDIRECT_LDBL): Likewise.
9465 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9466 && !NO_MATH_REDIRECT] (MATH_REDIRECT_F128): Likewise.
9467 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9468 && !NO_MATH_REDIRECT] (MATH_REDIRECT_UNARY_ARGS): Likewise.
9469 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9470 && !NO_MATH_REDIRECT] (sqrt): Redirect using MATH_REDIRECT.
9471 [!_ISOMAC && !(__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0)
9472 && !NO_MATH_REDIRECT] (floor): Likewise.
9473 * sysdeps/aarch64/fpu/s_floor.c: Define NO_MATH_REDIRECT before
9475 * sysdeps/aarch64/fpu/s_floorf.c: Likewise.
9476 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
9477 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
9478 * sysdeps/ieee754/float128/s_floorf128.c: Likewise.
9479 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
9480 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
9481 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
9482 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
9483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: Likewise.
9484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: Likewise.
9485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Likewise.
9486 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Likewise.
9487 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9488 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9489 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
9490 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
9491 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
9492 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
9493 * sysdeps/powerpc/fpu/math_private.h [_ARCH_PWR5X] (__floor):
9495 [_ARCH_PWR5X] (__floorf): Likewise.
9496 * sysdeps/x86_64/fpu/math_private.h [__SSE4_1__] (__floor): Remove
9498 [__SSE4_1__] (__floorf): Likewise.
9499 * math/w_lgamma_main.c (LGFUNC (__lgamma)): Use floor functions
9500 instead of __floor variants.
9501 * math/w_lgamma_r_compat.c (__lgamma_r): Likewise.
9502 * math/w_lgammaf_main.c (LGFUNC (__lgammaf)): Likewise.
9503 * math/w_lgammaf_r_compat.c (__lgammaf_r): Likewise.
9504 * math/w_lgammal_main.c (LGFUNC (__lgammal)): Likewise.
9505 * math/w_lgammal_r_compat.c (__lgammal_r): Likewise.
9506 * math/w_tgamma_compat.c (__tgamma): Likewise.
9507 * math/w_tgamma_template.c (M_DECL_FUNC (__tgamma)): Likewise.
9508 * math/w_tgammaf_compat.c (__tgammaf): Likewise.
9509 * math/w_tgammal_compat.c (__tgammal): Likewise.
9510 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (sin_pi): Likewise.
9511 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
9513 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
9514 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Likewise.
9515 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
9516 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
9518 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
9519 * sysdeps/ieee754/ldbl-128/lgamma_negl.c (__lgamma_negl):
9521 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
9522 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c (__ieee754_lgammal_r):
9524 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9525 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c (__lgamma_negl):
9527 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9528 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
9529 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
9530 * sysdeps/ieee754/ldbl-96/lgamma_negl.c (__lgamma_negl): Likewise.
9531 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Likewise.
9532 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
9534 2018-09-12 Joseph Myers <joseph@codesourcery.com>
9536 * elf/Makefile (modules-names-tests): New variable.
9538 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9540 * NEWS: Mention log2 improvements.
9541 * math/Makefile (type-double-routines): Add e_log2_data.
9542 * sysdeps/i386/fpu/e_log2_data.c: New file.
9543 * sysdeps/ia64/fpu/e_log2_data.c: New file.
9544 * sysdeps/ieee754/dbl-64/e_log2.c: Rewrite.
9545 * sysdeps/ieee754/dbl-64/e_log2_data.c: New file.
9546 * sysdeps/ieee754/dbl-64/math_config.h (__log2_data): Add.
9547 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: Remove.
9548 * sysdeps/m68k/m680x0/fpu/e_log2_data.c: New file.
9550 2018-09-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
9552 * NEWS: Mention log improvement.
9553 * math/Makefile (type-double-routines): Add e_log_data.
9554 * sysdeps/i386/fpu/e_log_data.c: New file.
9555 * sysdeps/ia64/fpu/e_log_data.c: New file.
9556 * sysdeps/ieee754/dbl-64/e_log.c: Rewrite.
9557 * sysdeps/ieee754/dbl-64/e_log_data.c: New file.
9558 * sysdeps/ieee754/dbl-64/math_config.h (__log_data): Add.
9559 * sysdeps/ieee754/dbl-64/ulog.h: Remove.
9560 * sysdeps/ieee754/dbl-64/ulog.tbl: Remove.
9561 * sysdeps/m68k/m680x0/fpu/e_log_data.c: New file.
9563 2018-09-12 H.J. Lu <hongjiu.lu@intel.com>
9564 Xuepeng Guo <xuepeng.guo@intel.com>
9567 * sysdeps/i386/start.S: Include <sysdep.h>
9568 (_start): Use ENTRY/END to insert ENDBR32 at entry when CET is
9569 enabled. Add cfi_undefined (eip).
9571 2018-09-11 Joseph Myers <joseph@codesourcery.com>
9573 * sysdeps/x86_64/fpu/math_private.h (MOVD): Remove macro.
9575 (EXTRACT_WORDS64): Likewise.
9576 (INSERT_WORDS64): Likewise.
9577 (GET_FLOAT_WORD): Likewise.
9578 (SET_FLOAT_WORD): Likewise.
9580 * scripts/build-many-glibcs.py (Context.__init__): Add full_gcc
9582 (Config.build_gcc): Use --disable-libsanitizer for first GCC
9583 build, but not for second build if --full-gcc. Use
9584 --enable-languages=all for second build if --full-gcc.
9585 (get_parser): Add --full-gcc option.
9586 (main): Update call to Context.
9588 2018-09-10 Rafal Luzynski <digitalfreak@lingonborough.com>
9591 * localedata/locales/de_CH (mon_thousands_sep): Use "<U2019>" (Right
9592 Single Quotation Mark).
9593 (thousands_sep): Likewise.
9594 * localedata/locales/it_CH (LC_NUMERIC): Use “copy "de_CH"”.
9595 * localedata/locales/it_IT (thousands_sep): Use ".".
9596 (grouping): Use "3;3".
9598 2018-09-10 Joseph Myers <joseph@codesourcery.com>
9600 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
9601 x86_64 and i686 configs using --enable-obsolete-rpc
9602 --enable-obsolete-nsl.
9604 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9606 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9608 2018-09-06 Stefan Liebler <stli@linux.ibm.com>
9610 * sysdeps/unix/sysv/linux/spawni.c (maybe_script_execute):
9611 Increment size of new_argv by one.
9613 2018-09-05 Rafal Luzynski <digitalfreak@lingonborough.com>
9616 * localedata/locales/anp_IN (d_fmt): Use "%-d//%-m//%y".
9617 * localedata/locales/ar_IN (d_fmt): Likewise.
9618 * localedata/locales/bhb_IN (d_fmt): Likewise.
9619 * localedata/locales/bho_IN (d_fmt): Likewise.
9620 * localedata/locales/bn_BD (d_fmt): Likewise.
9621 * localedata/locales/bn_IN (d_fmt): Likewise.
9622 * localedata/locales/doi_IN (d_fmt): Likewise.
9623 * localedata/locales/gu_IN (d_fmt): Likewise.
9624 * localedata/locales/hi_IN (d_fmt): Likewise.
9625 * localedata/locales/hne_IN (d_fmt): Likewise.
9626 * localedata/locales/kn_IN (d_fmt): Likewise.
9627 * localedata/locales/mag_IN (d_fmt): Likewise.
9628 * localedata/locales/mai_IN (d_fmt): Likewise.
9629 * localedata/locales/mjw_IN (d_fmt): Likewise.
9630 * localedata/locales/ml_IN (d_fmt): Likewise.
9631 * localedata/locales/mni_IN (d_fmt): Likewise.
9632 * localedata/locales/mr_IN (d_fmt): Likewise.
9633 * localedata/locales/pa_IN (d_fmt): Likewise.
9634 * localedata/locales/raj_IN (d_fmt): Likewise.
9635 * localedata/locales/sat_IN (d_fmt): Likewise.
9636 * localedata/locales/sd_IN (d_fmt): Likewise.
9637 * localedata/locales/sd_IN@devanagari (d_fmt): Likewise.
9638 * localedata/locales/ta_IN (d_fmt): Likewise.
9639 * localedata/locales/ta_LK (d_fmt): Likewise.
9640 * localedata/locales/tcy_IN (d_fmt): Likewise.
9641 * localedata/locales/ur_IN (d_fmt): Likewise.
9643 * localedata/locales/brx_IN (d_fmt): Use "%-m//%-d//%y".
9644 * localedata/locales/ks_IN (d_fmt): Likewise.
9645 * localedata/locales/ks_IN@devanagari (d_fmt): Likewise.
9647 * localedata/locales/kok_IN (d_fmt): Use "%-d-%-m-%y".
9648 * localedata/locales/ne_NP (d_fmt): Use "%y//%-m//%-d".
9649 * localedata/locales/sa_IN (d_fmt): Use "%-d-%m-%y".
9650 * localedata/locales/te_IN (d_fmt): Use "%d-%m-%y".
9652 2018-09-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
9654 * NEWS: Mention exp and exp2 improvements.
9655 * math/Makefile (libm-support): Remove t_exp.
9656 (type-double-routines): Add math_err and e_exp_data.
9657 * sysdeps/aarch64/libm-test-ulps: Update.
9658 * sysdeps/arm/libm-test-ulps: Update.
9659 * sysdeps/i386/fpu/e_exp_data.c: New file.
9660 * sysdeps/i386/fpu/math_err.c: New file.
9661 * sysdeps/i386/fpu/t_exp.c: Remove.
9662 * sysdeps/ia64/fpu/e_exp_data.c: New file.
9663 * sysdeps/ia64/fpu/math_err.c: New file.
9664 * sysdeps/ia64/fpu/t_exp.c: Remove.
9665 * sysdeps/ieee754/dbl-64/e_exp.c: Rewrite.
9666 * sysdeps/ieee754/dbl-64/e_exp2.c: Rewrite.
9667 * sysdeps/ieee754/dbl-64/e_exp_data.c: New file.
9668 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Update error bound.
9669 * sysdeps/ieee754/dbl-64/eexp.tbl: Remove.
9670 * sysdeps/ieee754/dbl-64/math_config.h: New file.
9671 * sysdeps/ieee754/dbl-64/math_err.c: New file.
9672 * sysdeps/ieee754/dbl-64/t_exp.c: Remove.
9673 * sysdeps/ieee754/dbl-64/t_exp2.h: Remove.
9674 * sysdeps/ieee754/dbl-64/uexp.h: Remove.
9675 * sysdeps/ieee754/dbl-64/uexp.tbl: Remove.
9676 * sysdeps/m68k/m680x0/fpu/e_exp_data.c: New file.
9677 * sysdeps/m68k/m680x0/fpu/math_err.c: New file.
9678 * sysdeps/m68k/m680x0/fpu/t_exp.c: Remove.
9679 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9680 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9682 2018-09-05 Joseph Myers <joseph@codesourcery.com>
9684 * sysdeps/alpha/fpu/math_private.h: Remove.
9686 * sysdeps/generic/math_private.h
9687 [__HAVE_DISTINCT_FLOAT128 && !__GNUC_PREREQ (7, 0)] (__isinff128):
9688 Move this inline function ....
9689 [__HAVE_DISTINCT_FLOAT128] (fabsf128): And this one ....
9690 * include/math.h [!_ISOMAC]: To here....
9692 2018-09-04 Joseph Myers <joseph@codesourcery.com>
9694 * sysdeps/generic/fenv_private.h [FE_ALL_EXCEPT == 0]: Move this
9696 [!FE_HAVE_ROUNDING_MODES]: And this code ....
9697 * include/fenv.h [!_ISOMAC]: ... to here.
9698 * math/fraiseexcpt.c (__feraiseexcept): Undefine as macro.
9699 (feraiseexcept): Likewise.
9700 * math/fromfp.h: Do not include <fenv_private.h>.
9701 * math/s_cexp_template.c: Likewise.
9702 * math/s_csin_template.c: Likewise.
9703 * math/s_csinh_template.c: Likewise.
9704 * math/s_ctan_template.c: Likewise.
9705 * math/s_ctanh_template.c: Likewise.
9706 * math/s_iseqsig_template.c: Likewise.
9707 * math/w_acos_compat.c: Likewise.
9708 * math/w_acosf_compat.c: Likewise.
9709 * math/w_acosl_compat.c: Likewise.
9710 * math/w_asin_compat.c: Likewise.
9711 * math/w_asinf_compat.c: Likewise.
9712 * math/w_asinl_compat.c: Likewise.
9713 * math/w_j0_compat.c: Likewise.
9714 * math/w_j0f_compat.c: Likewise.
9715 * math/w_j0l_compat.c: Likewise.
9716 * math/w_j1_compat.c: Likewise.
9717 * math/w_j1f_compat.c: Likewise.
9718 * math/w_j1l_compat.c: Likewise.
9719 * math/w_jn_compat.c: Likewise.
9720 * math/w_jnf_compat.c: Likewise.
9721 * math/w_log10_compat.c: Likewise.
9722 * math/w_log10f_compat.c: Likewise.
9723 * math/w_log10l_compat.c: Likewise.
9724 * math/w_log2_compat.c: Likewise.
9725 * math/w_log2f_compat.c: Likewise.
9726 * math/w_log2l_compat.c: Likewise.
9727 * math/w_log_compat.c: Likewise.
9728 * math/w_logf_compat.c: Likewise.
9729 * math/w_logl_compat.c: Likewise.
9730 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9731 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9732 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9733 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9734 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9735 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9736 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9737 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9738 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9739 * sysdeps/ieee754/k_standardl.c: Likewise.
9740 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9741 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9742 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9743 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9744 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9745 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9746 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9751 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9752 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9753 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9754 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9755 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9756 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9757 * math/w_ilogb_template.c: Include <fenv.h> instead of
9759 * math/w_llogb_template.c: Likewise.
9760 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9761 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9763 2018-09-03 Joseph Myers <joseph@codesourcery.com>
9765 * sysdeps/generic/math_private.h: Do not include <fenv_private.h>.
9766 * math/fromfp.h: Include <fenv_private.h>.
9767 * math/math-narrow.h: Likewise.
9768 * math/s_cexp_template.c: Likewise.
9769 * math/s_csin_template.c: Likewise.
9770 * math/s_csinh_template.c: Likewise.
9771 * math/s_ctan_template.c: Likewise.
9772 * math/s_ctanh_template.c: Likewise.
9773 * math/s_iseqsig_template.c: Likewise.
9774 * math/w_acos_compat.c: Likewise.
9775 * math/w_acosf_compat.c: Likewise.
9776 * math/w_acosl_compat.c: Likewise.
9777 * math/w_asin_compat.c: Likewise.
9778 * math/w_asinf_compat.c: Likewise.
9779 * math/w_asinl_compat.c: Likewise.
9780 * math/w_ilogb_template.c: Likewise.
9781 * math/w_j0_compat.c: Likewise.
9782 * math/w_j0f_compat.c: Likewise.
9783 * math/w_j0l_compat.c: Likewise.
9784 * math/w_j1_compat.c: Likewise.
9785 * math/w_j1f_compat.c: Likewise.
9786 * math/w_j1l_compat.c: Likewise.
9787 * math/w_jn_compat.c: Likewise.
9788 * math/w_jnf_compat.c: Likewise.
9789 * math/w_llogb_template.c: Likewise.
9790 * math/w_log10_compat.c: Likewise.
9791 * math/w_log10f_compat.c: Likewise.
9792 * math/w_log10l_compat.c: Likewise.
9793 * math/w_log2_compat.c: Likewise.
9794 * math/w_log2f_compat.c: Likewise.
9795 * math/w_log2l_compat.c: Likewise.
9796 * math/w_log_compat.c: Likewise.
9797 * math/w_logf_compat.c: Likewise.
9798 * math/w_logl_compat.c: Likewise.
9799 * sysdeps/aarch64/fpu/feholdexcpt.c: Likewise.
9800 * sysdeps/aarch64/fpu/fesetround.c: Likewise.
9801 * sysdeps/aarch64/fpu/fgetexcptflg.c: Likewise.
9802 * sysdeps/aarch64/fpu/ftestexcept.c: Likewise.
9803 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
9804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
9805 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
9806 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
9807 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
9808 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
9809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
9810 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
9811 * sysdeps/ieee754/dbl-64/gamma_product.c: Likewise.
9812 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
9813 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
9814 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
9815 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
9816 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
9817 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
9818 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
9819 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
9820 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
9821 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9822 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
9823 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
9824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
9825 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
9826 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
9827 * sysdeps/ieee754/float128/float128_private.h: Likewise.
9828 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
9829 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
9830 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
9831 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
9832 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
9833 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
9834 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
9835 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
9836 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
9837 * sysdeps/ieee754/k_standardl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
9840 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
9844 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
9845 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
9846 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
9847 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
9848 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
9849 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
9850 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
9851 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9852 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
9853 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
9854 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
9855 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
9856 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
9857 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
9858 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
9859 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
9860 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
9861 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
9862 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9863 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
9864 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
9865 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
9866 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
9867 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
9868 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
9869 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
9870 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
9871 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
9872 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
9873 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
9874 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
9875 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
9876 * sysdeps/riscv/rv64/rvd/s_ceil.c: Likewise.
9877 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
9878 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
9879 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
9880 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
9881 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
9882 * sysdeps/riscv/rvd/s_finite.c: Likewise.
9883 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
9884 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
9885 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
9886 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
9887 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
9888 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
9889 * sysdeps/riscv/rvf/fegetround.c: Likewise.
9890 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
9891 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
9892 * sysdeps/riscv/rvf/fesetround.c: Likewise.
9893 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
9894 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
9895 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
9896 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
9897 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
9898 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
9899 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
9900 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
9901 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
9902 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
9903 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
9904 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
9905 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
9906 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
9907 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
9908 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
9910 2018-08-31 Paul Pluzhnikov <ppluzhnikov@google.com>
9913 * include/stdio.h (__libc_fatal): Mention newline in comment.
9914 * grp/initgroups.c (internal_getgrouplist): Add missing newline.
9915 * nptl/pthread_cond_wait.c (__pthread_cond_wait_common): Likewise.
9916 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9917 * nss/nsswitch.c (__nss_next2): Likewise.
9918 * sysdeps/aarch64/dl-irel.h (elf_irela): Likewise.
9919 * sysdeps/arm/dl-irel.h (elf_irel): Likewise.
9920 * sysdeps/generic/unwind-dw2.c (execute_cfa_program): Likewise.
9921 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
9922 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irel): Likewise.
9923 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irel): Likewise.
9924 * sysdeps/s390/dl-irel.h (elf_irel): Likewise.
9925 * sysdeps/sparc/sparc32/dl-irel.h (elf_irel): Likewise.
9926 * sysdeps/sparc/sparc64/dl-irel.h (elf_irel): Likewise.
9927 * sysdeps/x86_64/dl-irel.h (elf_irel): Likewise.
9928 * sysdeps/nptl/futex-internal.h (futex_wake): Likewise.
9929 * sysdeps/unix/sysv/linux/netlink_assert_response.c
9930 (__netlink_assert_response): Likewise.
9932 2018-08-31 Joseph Myers <joseph@codesourcery.com>
9934 * conform/glibcconform.py: New file.
9935 * conform/list-header-symbols.py: Likewise.
9936 * conform/list-header-symbols.pl: Remove.
9937 * conform/Makefile (tests-special): Only add linknamespace tests
9939 ($(linknamespace-symlists-tests)): Use list-header-symbols.py.
9941 2018-08-31 H.J. Lu <hongjiu.lu@intel.com>
9944 * support/Makefile (libsupport-routines): Add
9945 support_copy_file_range and xcopy_file_range.
9946 * support/support.h: Include <sys/types.h>.
9947 (support_copy_file_range): New prototype.
9948 * support/support_copy_file_range.c: New file. Copied and
9949 modified from io/copy_file_range-compat.c.
9950 * support/test-container.c (copy_one_file): Call xcopy_file_rang
9951 instead of copy_file_range.
9952 * support/xcopy_file_range.c: New file.
9953 * support/xunistd.h (xcopy_file_range): New prototype.
9955 2018-08-30 Carlos O'Donell <carlos@redhat.com>
9957 * elf/tst-dlopen-aout.c: Include support/xthread.h. Use
9958 xpthread_create and xpthread_join.
9960 2018-08-30 Florian Weimer <fweimer@redhat.com>
9962 * stdlib/stdlib.h (reallocarray): Make available under __USE_MISC.
9964 2018-08-30 Stefan Liebler <stli@linux.ibm.com>
9966 * stdlib/test-bz22786.c (do_test): Return EXIT_UNSUPPORTED
9969 2018-08-29 Joseph Myers <joseph@codesourcery.com>
9971 * math/gen-libm-test.py (gen_test_args_res): Also treat plus_oflow
9972 and minus_oflow as non-finite.
9974 2018-08-28 Joseph Myers <joseph@codesourcery.com>
9976 * sysdeps/aarch64/fpu/fenv_private.h: New file. Based on ....
9977 * sysdeps/aarch64/fpu/math_private.h: ... this file. All contents
9978 moved to fenv_private.h except for ...
9979 (TOINT_INTRINSICS): Kept in math_private.h.
9980 (roundtoint): Likewise.
9981 (converttoint): Likewise.
9982 * sysdeps/arm/fenv_private.h: Change multiple-include guard to
9983 [ARM_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9984 * sysdeps/arm/math_private.h: Remove.
9985 * sysdeps/generic/fenv_private.h: New file. Contents moved from
9987 * sysdeps/generic/math_private.h: ... this file. Include
9988 <stdbool.h>. Do not include <fenv.h> or <get-rounding-mode.h>.
9989 Include <fenv_private.h>. Remove functions and macros moved to
9991 * sysdeps/i386/fpu/math_private.h: Remove.
9992 * sysdeps/mips/math_private.h: Move to ....
9993 * sysdeps/mips/fpu/fenv_private.h: ... here. Change
9994 multiple-include guard to [MIPS_FENV_PRIVATE_H]. Remove
9995 [__mips_hard_float] conditional. Include next <fenv_private.h>.
9996 * sysdeps/powerpc/fpu/fenv_private.h: Change multiple-include
9997 guard to [POWERPC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
9998 * sysdeps/powerpc/fpu/math_private.h: Do not include
10000 * sysdeps/riscv/rvf/math_private.h: Move to ....
10001 * sysdeps/riscv/rvf/fenv_private.h: ... here. Change
10002 multiple-include guard to [RISCV_FENV_PRIVATE_H]. Include next
10004 * sysdeps/sparc/fpu/fenv_private.h: Change multiple-include guard
10005 to [SPARC_FENV_PRIVATE_H]. Include next <fenv_private.h>.
10006 * sysdeps/sparc/fpu/math_private.h: Remove.
10007 * sysdeps/i386/fpu/fenv_private.h: Move to ....
10008 * sysdeps/x86/fpu/fenv_private.h: ... here. Change
10009 multiple-include guard to [X86_FENV_PRIVATE_H]. Include next
10011 * sysdeps/x86_64/fpu/math_private.h: Do not include
10012 <sysdeps/i386/fpu/fenv_private.h>.
10014 2018-08-28 Florian Weimer <fweimer@redhat.com>
10017 * posix/tst-regcomp-truncated.c: New file.
10018 * posix/Makefile (tests): Add it.
10019 (tst-regcomp-truncated.out): Depend on generated locales.
10021 2018-08-28 Florian Weimer <fweimer@redhat.com>
10023 * support/test-container.c (main): Treat unshare failure with
10024 EPERM as an unsupported test.
10026 2018-08-28 Florian Weimer <fweimer@redhat.com>
10029 nscd: Fix use-after-free in addgetnetgrentX and its callers.
10030 * nscd/netgroupcache.c
10031 (addgetnetgrentX): Add tofreep parameter. Do not free
10032 heap-allocated buffer.
10033 (addinnetgrX): Free buffer allocated bt addgetnetgrentX.
10034 (addgetnetgrentX_ignore): New function.
10035 (addgetnetgrent): Call it.
10036 (readdgetnetgrent): Likewise.
10038 2018-08-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10040 * string/memmem.c: Use memcmp for first match.
10042 2018-08-28 Rafal Luzynski <digitalfreak@lingonborough.com>
10045 * localedata/locales/en_IN (d_fmt): Use "%d/%m/%y".
10047 2018-08-27 DJ Delorie <dj@redhat.com>
10049 * support/Makefile (others): Don't list programs explicitly as a
10050 dependency of "others".
10052 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10054 * sysdeps/generic/math-tests-trap-force.h: New file.
10055 * sysdeps/generic/math-tests.h: Include <math-tests-trap-force.h>.
10056 (EXCEPTION_SET_FORCES_TRAP): Do not define here.
10057 * sysdeps/powerpc/math-tests.h: Remove file.
10058 * sysdeps/powerpc/fpu/math-tests-trap-force.h: New file.
10060 2018-08-27 Martin Kuchta <martin.kuchta@netapp.com>
10061 Torvald Riegel <triegel@redhat.com>
10064 * nptl/pthread_cond_common.c (__condvar_quiesce_and_switch_g1):
10065 Update r to include the set wake-request flag if waiters are
10066 remaining after spinning.
10068 2018-08-27 Joseph Myers <joseph@codesourcery.com>
10070 * sysdeps/gnu/netinet/udp.h (UDP_SEGMENT): New macro.
10072 2018-08-25 Paul Eggert <eggert@cs.ucla.edu>
10075 regex: fix uninitialized memory access
10076 I introduced this bug into gnulib in commit
10077 8335a4d6c7b4448cd0bcb6d0bebf1d456bcfdb17 dated 2006-04-10;
10078 eventually it was merged into glibc. The bug was found by
10079 project-repo <bugs@feusi.co> and reported here:
10080 https://lists.gnu.org/r/sed-devel/2018-08/msg00017.html
10081 Diagnosis and draft fix reported by Assaf Gordon here:
10082 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00071.html
10083 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00142.html
10084 * posix/regex_internal.c (build_wcs_upper_buffer):
10085 Fix bug when mbrtowc returns 0.
10087 2018-08-24 Carlos O'Donell <carlos@redhat.com>
10089 * po/be.po: Update translation.
10091 2018-08-24 DJ Delorie <dj@delorie.com>
10093 * support/Makefile (LDLIBS-links-dso-program): Add -lgcc and
10096 2018-08-24 Paul Pluzhnikov <ppluzhnikov@google.com>
10099 * stdlib/test-bz22786.c (do_test): Fix undefined behavior, don't
10100 create temporary files in source tree.
10102 2018-08-24 Joseph Myers <joseph@codesourcery.com>
10104 * sysdeps/generic/math-tests-trap.h: New file.
10105 * sysdeps/generic/math-tests.h: Include <math-tests-trap.h>.
10106 (EXCEPTION_ENABLE_SUPPORTED): Do not define here.
10107 * sysdeps/aarch64/math-tests.h: Remove file.
10108 * sysdeps/arm/math-tests.h: Likewise.
10109 * sysdeps/riscv/math-tests.h: Likewise.
10110 * sysdeps/aarch64/math-tests-trap.h: New file.
10111 * sysdeps/arm/math-tests-trap.h: Likewise.
10112 * sysdeps/riscv/math-tests-trap.h: Likewise.
10114 2018-08-24 Wilco Dijkstra <wdijkstr@arm.com>
10116 * math/Makefile: Remove empty files k_sin(f).c, k_cos(f).c.
10117 Remove unused files e_rem_pio2(f).c, k_rem_pio2f.c.
10118 * sysdeps/i386/fpu/e_rem_pio2.c: Delete file.
10119 * sysdeps/ia64/fpu/e_rem_pio2.c: Likewise.
10120 * sysdeps/ia64/fpu/e_rem_pio2f.c: Likewise.
10121 * sysdeps/ia64/fpu/k_rem_pio2f.c: Likewise.
10122 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10123 * sysdeps/ieee754/dbl-64/k_cos.c: Likewise.
10124 * sysdeps/ieee754/dbl-64/k_sin.c: Likewise.
10125 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
10126 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
10127 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
10128 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
10129 * sysdeps/m68k/m680x0/fpu/e_rem_pio2.c: Likewise
10130 * sysdeps/m68k/m680x0/fpu/e_rem_pio2f.c: Likewise
10131 * sysdeps/m68k/m680x0/fpu/k_rem_pio2f.c: Likewise
10132 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
10133 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
10135 2018-08-23 Joseph Myers <joseph@codesourcery.com>
10137 * sysdeps/generic/math-tests-exceptions.h: New file.
10138 * sysdeps/generic/math-tests.h: Include <math-tests-exceptions.h>.
10139 (EXCEPTION_TESTS_float): Do not define here.
10140 (EXCEPTION_TESTS_double): Likewise.
10141 (EXCEPTION_TESTS_long_double): Likewise.
10142 (EXCEPTION_TESTS_float128): Likewise.
10143 * sysdeps/arm/math-tests.h [__SOFTFP__] (EXCEPTION_TESTS_float):
10145 [__SOFTFP__] (EXCEPTION_TESTS_double): Likewise.
10146 [__SOFTFP__] (EXCEPTION_TESTS_long_double): Likewise.
10147 * sysdeps/arm/nofpu/math-tests-exceptions.h: New file.
10148 * sysdeps/m68k/coldfire/math-tests.h: Remove file.
10149 * sysdeps/mips/math-tests.h: Likewise.
10150 * sysdeps/nios2/math-tests.h: Likewise.
10151 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10152 (EXCEPTION_TESTS_float): Do not define here.
10153 [!__riscv_flen] (EXCEPTION_TESTS_double): Likewise.
10154 [!__riscv_flen] (EXCEPTION_TESTS_long_double): Likewise.
10155 * sysdeps/riscv/nofpu/math-tests-exceptions.h: New file.
10157 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10159 * NEWS: Move optimized sinf entry to 2.29.
10161 2018-08-23 Wilco Dijkstra <wdijkstr@arm.com>
10163 * sysdeps/ieee754/flt-32/s_tanf.c (__tanf): Use fast range reduction.
10165 2018-08-22 DJ Delorie <dj@redhat.com>
10167 * Makefile (testroot.pristine): New rules to initialize the
10168 test-in-container "testroot".
10169 * Makerules (all-testsuite): Add tests-container.
10170 * Rules (tests-expected): Add tests-container.
10171 (binaries-all-tests): Likewise.
10172 (tests-container): New, run these tests in the testroot container.
10173 * support/Makefile (others): Add *-container, support_paths.c,
10174 xmkdirp, and links-dso-program.
10175 * support/links-dso-program-c.c: New.
10176 * support/links-dso-program.cc: New.
10177 * support/test-container.c: New.
10178 * support/shell-container.c: New.
10179 * support/echo-container.c: New.
10180 * support/true-container.c: New.
10181 * support/xmkdirp.c: New.
10182 * support/xsymlink.c: New.
10183 * support/support_paths.c: New.
10184 * support/support.h: Add support paths prototypes.
10185 * support/xunistd.h: Add xmkdirp () and xsymlink ().
10187 * nss/tst-nss-test3.c: Convert to test-in-container.
10188 * nss/tst-nss-test3.root/: New.
10190 2018-08-22 Paul Eggert <eggert@cs.ucla.edu>
10192 regex: port Gnulib code to z/OS POSIX environment
10193 Problem reported by Arnold Robbins in:
10194 https://lists.gnu.org/r/bug-gnulib/2018-08/msg00129.html
10195 * posix/regex_internal.h (__iswalnum, __towlower, __towupper) [!_LIBC]:
10198 2018-08-22 Joseph Myers <joseph@codesourcery.com>
10200 * math/test-double-vlen2.h: Don't include <math-tests-rounding.h>.
10201 (ROUNDING_TESTS_double): Remove.
10202 * math/test-double-vlen4.h: Don't include <math-tests-rounding.h>.
10203 (ROUNDING_TESTS_double): Remove.
10204 * math/test-double-vlen8.h: Don't include <math-tests-rounding.h>.
10205 (ROUNDING_TESTS_double): Remove.
10206 * math/test-float-vlen16.h: Don't include <math-tests-rounding.h>.
10207 (ROUNDING_TESTS_float): Remove.
10208 * math/test-float-vlen4.h: Don't include <math-tests-rounding.h>.
10209 (ROUNDING_TESTS_float): Remove.
10210 * math/test-float-vlen8.h: Don't include <math-tests-rounding.h>.
10211 (ROUNDING_TESTS_float): Remove.
10212 * math/libm-test-driver.c (IF_ROUND_INIT_FE_DOWNWARD): Check
10213 !TEST_MATHVEC here.
10214 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
10215 (IF_ROUND_INIT_FE_UPWARD): Likewise.
10217 * sysdeps/generic/math-tests-rounding.h: New file.
10218 * sysdeps/generic/math-tests.h: Include <math-tests-rounding.h>.
10219 (ROUNDING_TESTS_float): Do not define here.
10220 (ROUNDING_TESTS_double): Likewise.
10221 (ROUNDING_TESTS_long_double): Likewise.
10222 (ROUNDING_TESTS_float128): Likewise.
10223 * math/test-double-vlen2.h: Include <math-tests-rounding.h>.
10224 (ROUNDING_TESTS_double): Undefine before defining.
10225 * math/test-double-vlen4.h: Include <math-tests-rounding.h>.
10226 (ROUNDING_TESTS_double): Undefine before defining.
10227 * math/test-double-vlen8.h: Include <math-tests-rounding.h>.
10228 (ROUNDING_TESTS_double): Undefine before defining.
10229 * math/test-float-vlen16.h: Include <math-tests-rounding.h>.
10230 (ROUNDING_TESTS_float): Undefine before defining.
10231 * math/test-float-vlen4.h: Include <math-tests-rounding.h>.
10232 (ROUNDING_TESTS_float): Undefine before defining.
10233 * math/test-float-vlen8.h: Include <math-tests-rounding.h>.
10234 (ROUNDING_TESTS_float): Undefine before defining.
10235 * sysdeps/arm/nofpu/math-tests-rounding.h: New file.
10236 * sysdeps/arm/math-tests.h [__SOFTFP__] (ROUNDING_TESTS_float): Do
10238 [__SOFTFP__] (ROUNDING_TESTS_double): Likewise.
10239 [__SOFTFP__] (ROUNDING_TESTS_long_double): Likewise.
10240 * sysdeps/riscv/nofpu/math-tests-rounding.h: New file.
10241 * sysdeps/riscv/math-tests.h [!__riscv_flen]
10242 (ROUNDING_TESTS_float): Do not define here.
10243 [!__riscv_flen] (ROUNDING_TESTS_double): Likewise.
10244 [!__risv_flen] (ROUNDING_TESTS_long_double): Likewise.
10245 * sysdeps/m68k/coldfire/math-tests.h [!__mcffpu__]
10246 (ROUNDING_TESTS_float): Likewise.
10247 [!__mcffpu__] (ROUNDING_TESTS_double): Likewise.
10248 [!__mcffpu__] (ROUNDING_TESTS_long_double): Likewise.
10249 * sysdeps/mips/math-tests.h [__mips_soft_float]
10250 (ROUNDING_TESTS_float): Likewise.
10251 [__mips_soft_float] (ROUNDING_TESTS_double): Likewise.
10252 [__mips_soft_float] (ROUNDING_TESTS_long_double): Likewise.
10253 * sysdeps/nios2/math-tests.h (ROUNDING_TESTS_float): Likewise.
10254 (ROUNDING_TESTS_double): Likewise.
10255 (ROUNDING_TESTS_long_double): Likewise.
10257 2018-08-21 Tobias Klauser <tklauser@distanz.ch>
10259 * sysdeps/unix/sysv/linux/bits/socket.h (PF_MAX): Set to 45.
10260 (PF_XDP): New macro.
10261 (AF_XDP): New macro.
10262 (SOL_XDP): New macro.
10264 2018-08-21 Joseph Myers <joseph@codesourcery.com>
10266 * sysdeps/gnu/netinet/tcp.h (TCP_ZEROCOPY_RECEIVE): New macro.
10267 (TCP_INQ): Likewise.
10268 (TCP_CM_INQ): Likewise.
10269 (TCP_REPAIR_ON): Likewise.
10270 (TCP_REPAIR_OFF): Likewise.
10271 (TCP_REPAIR_OFF_NO_WP): Likewise.
10272 (struct tcp_zerocopy_receive): New type.
10274 2018-08-21 Florian Weimer <fweimer@redhat.com>
10276 * support/support.h (support_descriptor_supports_holes): Declare.
10277 * support/Makefile (libsupport-routines): Add
10278 support_descriptor_supports_holes.
10279 * support/support_descriptor_supports_holes.c: New file.
10280 * io/tst-copy_file_range.c: Call support_descriptor_supports_holes
10281 and stop testing if holes are not supported.
10282 * io/test-lfs.c (do_prepare): Likewise.
10283 * sysdeps/unix/sysv/linux/tst-fallocate-common.c (do_prepare):
10285 * timezone/tst-tzset.c (create_tz_file): Likewise.
10286 * misc/tst-preadvwritev-common.c (temp_fd_supports_holes) New
10288 (do_prepare): Set it.
10289 * misc/tst-preadvwritev64.c (do_test): Use temp_fd_supports_holes.
10291 2018-08-21 Florian Weimer <fweimer@redhat.com>
10294 * Makeconfig (+cflags): Do not sort (and deduplicate).
10296 2018-08-21 Florian Weimer <fweimer@redhat.com>
10298 * debug/readlink_chk.c (__readlink_chk): Always call __readlink.
10299 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove file.
10301 2018-08-20 Florian Weimer <fweimer@redhat.com>
10303 * sysdeps/unix/sysv/linux/generic/readlink_chk.c: Remove
10304 HAVE_INLINED_SYSCALLS conditionals. Use INLINE_SYSCALL_CALL.
10306 2018-08-20 Joseph Myers <joseph@codesourcery.com>
10308 * sysdeps/unix/sysv/linux/sys/signalfd.h (struct
10309 signalfd_siginfo): Add ssi_addr_lsb, ssi_syscall, ssi_call_addr
10310 and ssi_arch members.
10312 * elf/elf.c (NT_VMCOREDD): New macro.
10313 (AT_MINSIGSTKSZ): Likewise.
10315 2018-08-20 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10317 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
10318 (libm-sysdep_routines): Remove s_sinf-ppc64, s_sinf-power8,
10319 s_cosf-ppc64 and s_cosf-power8.
10320 * sysdeps/powerpc/fpu/s_cosf.c: Remove file.
10321 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
10322 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
10323 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
10324 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
10325 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
10326 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
10327 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
10328 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
10329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
10330 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
10331 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
10333 2018-08-17 Florian Weimer <fweimer@redhat.com>
10335 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
10337 2018-08-17 Istvan Kurucsai <pistukem@gmail.com>
10339 * malloc/malloc.c (_int_malloc): Additional binning code checks.
10341 2018-08-16 Florian Weimer <fweimer@redhat.com>
10343 * configure.ac: Add --with-nonshared-cflags option.
10344 * config.make.in (extra-nonshared-cflags): Set variable.
10345 * Makeconfig (CFLAGS-.oS): Use it.
10346 * manual/install.texi (Configuring and compiling): Document
10347 --with-nonshared-cflags.
10348 * configure: Regenerate.
10349 * INSTALL: Likewise.
10351 2018-08-16 Florian Weimer <fweimer@redhat.com>
10353 * Makeconfig (ASFLAGS): Always append required assembler flags.
10355 2018-08-16 Moritz Eckert <m.eckert@cs.ucsb.edu>
10357 * malloc/malloc.c (_int_free): Check for corrupt prev_size vs size.
10358 (malloc_consolidate): Likewise.
10360 2018-08-16 Pochang Chen <johnchen902@gmail.com>
10362 * malloc/malloc.c (_int_malloc.c): Verify size of top chunk.
10364 2018-08-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
10366 * benchtests/bench-strlen.c (do_test): Allocate buffers before
10369 * benchtests/bench-strlen.c: Print performance numbers in json.
10371 2018-08-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10373 * sysdeps/powerpc/powerpc64/multiarch/Makefile
10374 (sysdep_routines): Build strcmp-power9 and strncmp-power9
10375 only for little endian.
10376 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10377 (strncmp): Move __strncmp_power9 inside ifdef __LITTLE_ENDIAN__.
10378 (STRCMP): Move __strcmp_power9 inside ifdef __LITTLE_ENDIAN__.
10379 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S:
10380 Add check for little endian.
10381 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10382 (__strcmp_power9): Add check for little endian.
10383 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S:
10384 Add check for little endian.
10385 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10386 (__strncmp_power9): Add check for little endian.
10387 * sysdeps/powerpc/powerpc64/power9/strcmp.S: Removed ifdef
10388 __LITTLE_ENDIAN__ and moved to sysdeps/powerpc/powerpc64/le/power9.
10389 * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
10390 * sysdeps/powerpc/powerpc64/le/power9/strcmp.S: New file.
10391 * sysdeps/powerpc/powerpc64/le/power9/strncmp.S: Likewise.
10393 2018-08-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
10395 * sysdeps/aarch64/strlen.S (__strlen): Rename to STRLEN.
10396 [!STRLEN](STRLEN): Set to __strlen.
10397 * sysdeps/aarch64/multiarch/strlen.c: New file.
10398 * sysdeps/aarch64/multiarch/strlen_generic.S: Likewise.
10399 * sysdeps/aarch64/multiarch/strlen_asimd.S: Likewise.
10400 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
10401 (__libc_ifunc_impl_list): Add strlen.
10402 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
10403 strlen_generic and strlen_asimd.
10405 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10407 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (sin_pif): Use __sinf/__cosf.
10408 * sysdeps/ieee754/flt-32/k_cosf.c (__kernel_cosf): Remove all code.
10409 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
10411 2018-08-15 Wilco Dijkstra <wdijkstr@arm.com>
10413 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate to fix spaces.
10415 2018-08-14 Florian Weimer <fweimer@redhat.com>
10418 * include/stdio.h (__vfxprintf): Declare.
10419 * stdio-common/fxprintf.c (__vfxprintf): New function.
10420 (__fxprintf): Call it.
10421 * misc/err.c (convert_and_print): Remove function.
10422 (vwarnx, vwarn): Call __fxprintf and __vfxprintf.
10423 * misc/error.c [_LIBC] (error_tail): Call __vfxprintf.
10424 * misc/Makefile (tests): Add tst-warn-wide.
10425 * misc/tst-warn-wide.c: New file.
10427 2018-08-14 Wilco Dijkstra <wdijkstr@arm.com>
10428 Szabolcs Nagy <szabolcs.nagy@arm.com>
10430 * NEWS: Mention sinf, cosf, sincosf.
10431 * sysdeps/aarch64/libm-test-ulps: Update ULP for sinf, cosf, sincosf.
10432 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sinf and cosf.
10433 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: Add definitions of
10434 constants rather than including generic sincosf.h.
10435 * sysdeps/x86_64/fpu/s_sincosf_data.c: Remove.
10436 * sysdeps/ieee754/flt-32/s_cosf.c (cosf): Rewrite.
10437 * sysdeps/ieee754/flt-32/s_sincosf.h (reduced_sin): Remove.
10438 (reduced_cos): Remove.
10439 (sinf_poly): New function.
10440 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Rewrite.
10442 2018-08-14 Florian Weimer <fweimer@redhat.com>
10446 * nss/nss_files/files-alias.c (get_next_alias): During :include:
10447 processing, bail out if no room, and close the stream before
10449 * nss/Makefile (tests): Add tst-nss-files-alias-leak.
10450 (tst-nss-files-alias-leak): Link with libdl.
10451 (tst-nss-files-alias-leak.out): Depend on nss_files.
10453 * nss/tst-nss-files-alias-leak.c: New file.
10455 2018-08-14 Florian Weimer <fweimer@redhat.com>
10457 * nscd/nscd_conf.c (nscd_parse_file): Deallocate old storage for
10458 server_user, stat_user.
10460 2018-08-13 Joseph Myers <joseph@codesourcery.com>
10462 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
10464 (io_pgetevents): New syscall.
10467 * manual/install.texi (Configuring and compiling): Do not list
10468 tools used for testing pretty printers here.
10469 (Tools for Compilation): List Python, PExpect and GDB here.
10470 Update descriptions of uses of Perl and Python.
10471 * INSTALL: Regenerate.
10473 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10476 2018-08-13 Florian Weimer <fweimer@redhat.com>
10478 * misc/error.c (error): Add missing va_end call.
10479 (error_at_line): Likewise.
10481 2018-08-13 Florian Weimer <fweimer@redhat.com>
10483 * stdlib/mbstowcs.c (mbstowcs): Remove outdated comment.
10485 2018-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
10487 * benchtests/scripts/benchout.schema.json (properties): Add
10490 * benchtests/bench-skeleton.c (main): Add duration and
10491 iterations attributes.
10493 2018-08-10 Paul Eggert <eggert@cs.ucla.edu>
10495 regex: Gnulib unibyte RRI uses bytes not chars
10496 Adjust the non-glibc code to agree with what Gawk needs for
10497 rational range interpretation (RRI) for regular expression ranges.
10498 In unibyte locales, Gawk wants ranges to use the underlying byte
10499 rather than the character code point. This change does not affect
10501 * posix/regcomp.c (parse_byte) [!LIBC && RE_ENABLE_I18N]:
10502 In unibyte locales, use the byte value rather than
10503 running it through btowc.
10505 2018-08-10 Joseph Myers <joseph@codesourcery.com>
10507 * sysdeps/generic/math-tests-snan.h: New file.
10508 * sysdeps/generic/math-tests.h: Include <math-tests-snan.h>.
10509 (SNAN_TESTS_float): Do not define here.
10510 (SNAN_TESTS_double): Likewise.
10511 (SNAN_TESTS_long_double): Likewise.
10512 (SNAN_TESTS_float128): Likewise.
10513 * sysdeps/i386/fpu/math-tests-snan.h: New file.
10514 * sysdeps/i386/fpu/math-tests.h: Remove file.
10515 * sysdeps/ia64/math-tests-snan.h: New file.
10516 * sysdeps/ia64/math-tests.h: Remove file.
10517 * sysdeps/x86/math-tests.h: Likewise.
10518 * sysdeps/x86_64/fpu/math-tests-snan.h: New file.
10520 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10521 Szabolcs Nagy <szabolcs.nagy@arm.com>
10523 * math/Makefile: Add s_sincosf_data.c.
10524 * sysdeps/ia64/fpu/s_sincosf_data.c: New file.
10525 * sysdeps/ieee754/flt-32/s_sincosf.h (abstop12): Add new function.
10526 (sincosf_poly): Likewise.
10527 (reduce_small): Likewise.
10528 (reduce_large): Likewise.
10529 * sysdeps/ieee754/flt-32/s_sincosf.c (sincosf): Rewrite.
10530 * sysdeps/ieee754/flt-32/s_sincosf_data.c: New file with sincosf data.
10531 * sysdeps/m68k/m680x0/fpu/s_sincosf_data.c: New file.
10532 * sysdeps/x86_64/fpu/s_sincosf_data.c: New file.
10534 2018-08-10 Wilco Dijkstra <wdijkstr@arm.com>
10535 Szabolcs Nagy <szabolcs.nagy@arm.com>
10537 * sysdeps/aarch64/fpu/math_private.h (roundtoint): Use round.
10538 (converttoint): Use lround.
10539 * sysdeps/ieee754/flt-32/math_config.h (roundtoint): Declare and
10540 document the semantics when TOINT_INTRINSICS is set.
10541 (converttoint): Likewise.
10542 (TOINT_RINT): Remove.
10543 (TOINT_SHIFT): Remove.
10544 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Remove the TOINT_RINT code
10547 2018-08-10 Florian Weimer <fweimer@redhat.com>
10550 * sysdeps/unix/sysv/linux/getdents64.c (handle_overflow): New
10552 (__old_getdents64): Use getdents64. Convert entries without
10554 * sysdeps/unix/sysv/linux/tst-readdir64-compat.c: New file.
10555 * sysdeps/unix/sysv/linux/Makefile (tests-internal): Add
10556 tst-readdir64-compat.
10558 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10560 * sysdeps/s390/s390-32/s390-mcount.S (_mcount):
10563 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10565 * sysdeps/s390/s390-64/Versions (__fentry__): Add.
10566 * sysdeps/s390/s390-64/s390x-mcount.S: Move the common
10567 code to s390x-mcount.h and #include it.
10568 * sysdeps/s390/s390-64/s390x-mcount.h: New file.
10569 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
10572 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10574 * stdlib/Versions: Remove __fentry__.
10575 * sysdeps/i386/Versions: Add __fentry__.
10576 * sysdeps/x86_64/Versions: Add __fentry__.
10578 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10580 * sysdeps/s390/Makefile: Register the new tests.
10581 * sysdeps/s390/tst-dl-runtime-mod.S: New file.
10582 * sysdeps/s390/tst-dl-runtime-profile-audit.c: New file.
10583 * sysdeps/s390/tst-dl-runtime-profile-noaudit.c: New file.
10584 * sysdeps/s390/tst-dl-runtime-resolve-audit.c: New file.
10585 * sysdeps/s390/tst-dl-runtime-resolve-noaudit.c: New file.
10586 * sysdeps/s390/tst-dl-runtime.c: New file.
10588 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10590 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10593 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10595 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10598 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10600 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10603 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10605 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10608 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10610 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
10611 Use symbolic offsets for stack variables.
10613 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10615 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
10616 Use symbolic offsets for stack variables.
10618 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10620 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
10621 Use symbolic offsets for stack variables.
10623 2018-08-10 Ilya Leoshkevich <iii@linux.ibm.com>
10625 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
10626 Use symbolic offsets for stack variables.
10628 2018-08-09 Joseph Myers <joseph@codesourcery.com>
10630 * math/gen-libm-test.py: New file.
10631 * math/gen-libm-test.pl: Remove.
10632 * math/Makefile [$(PERL) != no]: Change condition to [PYTHON].
10633 ($(objpfx)libm-test-ulps.h): Use gen-libm-test.py instead of
10635 ($(libm-test-c-noauto-obj)): Likewise.
10636 ($(libm-test-c-auto-obj)): Likewise.
10637 ($(libm-test-c-narrow-obj)): Likewise.
10638 (regen-ulps): Likewise.
10639 * math/README.libm-test: Update references to gen-libm-test.pl.
10640 * math/libm-test-driver.c (struct test_fj_f_data): Update comment
10641 referencing gen-libm-test.pl.
10642 * math/libm-test-nexttoward.inc (nexttoward_test_data): Likewise.
10643 * math/libm-test-support.c: Likewise.
10644 * math/libm-test-support.h: Likewise.
10645 * sysdeps/generic/libm-test-ulps: Likewise.
10647 2018-08-08 Siddhesh Poyarekar <siddhesh@sourceware.org>
10649 * sysdeps/aarch64/strlen.S [TEST_PAGE_CROSS](MIN_PAGE_SIZE):
10652 2018-08-08 Joseph Myers <joseph@codesourcery.com>
10654 * math/libm-test-nextdown.inc (do_test): Move comment to ....
10655 * math/libm-test-nexttoward.inc (nexttoward_test_data): ... here.
10657 2018-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
10659 * htl/Versions (__pthread_getspecific, __pthread_setspecific): Add
10661 * sysdeps/htl/pthreadP.h [IS_IN (libpthread)] (__pthread_getspecific,
10662 __pthread_setspecific): Add hidden proto.
10663 * sysdeps/htl/pt-getspecific.c (__pthread_getspecific): Add hidden def.
10664 * sysdeps/htl/pt-setspecific.c (__pthread_setspecific): Add hidden def.
10666 2018-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
10668 * benchtests/bench-string.h (buf1_size, buf2_size): New
10670 (init_sizes): New function.
10671 (test_init): Use it.
10672 (alloc_buf, exit_error): New functions.
10673 (alloc_bufs): Use ALLOC_BUF.
10674 (realloc_bufs): Remove.
10675 * benchtests/bench-memcmp.c (do_test): Adjust.
10676 * benchtests/bench-memset-large.c (do_test): Likewise.
10677 * benchtests/bench-memset-walk.c (do_test): Likewise.
10678 * benchtests/bench-memset.c (do_test): Likewise.
10679 * benchtests/bench-strncmp.c (do_test): Likewise.
10681 2018-08-06 Andreas Schwab <schwab@suse.de>
10683 * sysdeps/riscv/nptl/tls.h (DB_THREAD_SELF): Use REGISTER instead
10684 of CONST_THREAD_AREA.
10686 2018-08-06 H.J. Lu <hongjiu.lu@intel.com>
10688 * sysdeps/x86/cpu-features.h (STATE_SAVE_OFFSET): Removed.
10689 (STATE_SAVE_MASK): Likewise.
10690 Don't check __ASSEMBLER__ to include <cpu-features-offsets.h>.
10691 * sysdeps/x86/sysdep.h (STATE_SAVE_OFFSET): New.
10692 (STATE_SAVE_MASK): Likewise.
10693 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features-offsets.h>
10694 instead of <cpu-features.h>.
10696 2018-08-03 DJ Delorie <dj@redhat.com>
10698 * sysdeps/riscv/rvf/math_private.h (libc_feholdexcept_setround_riscv):
10699 Move libc_fesetround_riscv after libc_feholdexcept_riscv.
10701 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Update.
10703 2018-08-03 Joseph Myers <joseph@codesourcery.com>
10705 * math/libm-test-ilogb.inc (ilogb_test_data): Use ',' not ';'
10706 after TEST_* calls.
10707 * math/libm-test-llogb.inc (llogb_test_data): Likewise.
10708 * math/libm-test-logb.inc (logb_test_data): Likewise.
10710 2018-08-03 Wilco Dijkstra <wdijkstr@arm.com>
10712 * string/strcasestr.c (STRCASESTR): Simplify and speedup first match.
10713 * string/strstr.c (AVAILABLE): Likewise.
10715 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10717 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Don't include
10719 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: Likewise.
10720 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core-avx2.S: Likewise.
10721 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
10723 2018-08-03 Carlos O'Donell <carlos@redhat.com>
10725 * po/be.po: Update translation.
10727 * po/be.po: Update translation.
10729 2018-08-03 H.J. Lu <hongjiu.lu@intel.com>
10731 * sysdeps/x86/cpu-features-offsets.sym
10732 (rtld_global_ro_offsetof): Removed.
10733 (CPU_FEATURES_SIZE): Likewise.
10734 (CPUID_OFFSET): Likewise.
10735 (CPUID_SIZE): Likewise.
10736 (CPUID_EAX_OFFSET): Likewise.
10737 (CPUID_EBX_OFFSET): Likewise.
10738 (CPUID_ECX_OFFSET): Likewise.
10739 (CPUID_EDX_OFFSET): Likewise.
10740 (FAMILY_OFFSET): Likewise.
10741 (MODEL_OFFSET): Likewise.
10742 (FEATURE_OFFSET): Likewise.
10743 (FEATURE_SIZ): Likewise.
10744 (COMMON_CPUID_INDEX_1): Likewise.
10745 (COMMON_CPUID_INDEX_7): Likewise.
10746 (FEATURE_INDEX_1): Likewise.
10747 (RTLD_GLOBAL_RO_DL_X86_CPU_FEATURES_OFFSET): Updated.
10749 2018-08-02 Carlos O'Donell <carlos@redhat.com>
10751 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Remove.
10752 (INSTALL-SUPPORTED-LOCALE-ARCHIVE): Define.
10753 (INSTALL-SUPPORTED-LOCALE-FILES): Define.
10754 (install-locales): Depend on install-locale-archive.
10755 (install-locale-archive): Define.
10756 (install-locale-files): Define.
10757 (build-one-locale): Define macro.
10758 * manual/install.texi (Running make install): Document.
10759 * manual/INSTALL: Regenerate.
10761 2018-08-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
10763 * benchtests/scripts/compare_strings.py: Import traceback.
10764 (parse_file): Pretty-print error.
10766 * NEWS: Mention the change.
10767 * elf/dl-tunables.list: Rename tune namespace to cpu.
10768 * sysdeps/powerpc/dl-tunables.list: Likewise.
10769 * sysdeps/x86/dl-tunables.list: Likewise.
10770 * sysdeps/aarch64/dl-tunables.list: Rename tune.cpu to
10772 * elf/dl-hwcaps.c (_dl_important_hwcaps): Adjust.
10773 * elf/dl-hwcaps.h (GET_HWCAP_MASK): Likewise.
10774 * manual/README.tunables: Likewise.
10775 * manual/tunables.texi: Likewise.
10776 * sysdeps/powerpc/cpu-features.c: Likewise.
10777 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
10778 (init_cpu_features): Likewise.
10779 * sysdeps/x86/cpu-features.c: Likewise.
10780 * sysdeps/x86/cpu-features.h: Likewise.
10781 * sysdeps/x86/cpu-tunables.c: Likewise.
10782 * sysdeps/x86_64/Makefile: Likewise.
10783 * sysdeps/x86/dl-cet.c: Likewise.
10785 2018-08-02 Joseph Myers <joseph@codesourcery.com>
10788 * sysdeps/mips/bits/fenv.h (FE_INEXACT): Define only if
10789 [__mips_hard_float].
10790 (FE_UNDERFLOW): Likewise.
10791 (FE_OVERFLOW): Likewise.
10792 (FE_DIVBYZERO): Likewise.
10793 (FE_INVALID): Likewise.
10794 (FE_ALL_EXCEPT): Define to 0 if [!__mips_hard_float].
10795 (FE_TOWARDZERO): Define only if [__mips_hard_float].
10796 (FE_UPWARD): Likewise.
10797 (FE_DOWNWARD): Likewise.
10798 (__FE_UNDEFINED): Define if [!__mips_hard_float]
10799 (FE_NOMASK_ENV): Define only if [__mips_hard_float].
10800 * sysdeps/mips/mips64/sfp-machine.h (_FP_DECL_EX): Define only if
10801 [__mips_hard_float].
10802 (FP_ROUNDMODE): Likewise.
10803 (FP_RND_NEAREST): Likewise.
10804 (FP_RND_ZERO): Likewise.
10805 (FP_RND_PINF): Likewise.
10806 (FP_RND_MINF): Likewise.
10807 (FP_EX_INVALID): Likewise.
10808 (FP_EX_OVERFLOW): Likewise.
10809 (FP_EX_UNDERFLOW): Likewise.
10810 (FP_EX_DIVZERO): Likewise.
10811 (FP_EX_INEXACT): Likewise.
10812 (FP_INIT_ROUNDMODE): Likewise.
10813 * sysdeps/mips/nofpu/fesetenv.c: New file.
10814 * sysdeps/mips/nofpu/feupdateenv.c: Likewise.
10816 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10818 * math/test-misc.c (do_test) [LDBL_MANT_DIG > DBL_MANT_DIG]: Make
10819 code using FE_UNDERFLOW conditional on [FE_UNDERFLOW], code using
10820 FE_OVERFLOW conditional on [FE_OVERFLOW] and code using FE_UPWARD
10821 conditional on [FE_UPWARD].
10823 2018-08-01 Paul Eggert <eggert@cs.ucla.edu>
10825 regex: fix memory leak in Gnulib
10826 Problem and fix reported by Assaf Gordon in:
10827 https://lists.gnu.org/r/bug-gnulib/2018-07/txtqLKNwBdefE.txt
10828 * posix/regcomp.c (free_charset) [!_LIBC]: Free range_starts and
10829 range_ends members too, as they are defined in 'struct
10830 re_charset_t' even if not _LIBC. This affects only Gnulib.
10832 2018-08-01 H.J. Lu <hongjiu.lu@intel.com>
10834 * sysdeps/x86/cpu-features.c (get_common_indeces): Renamed to
10836 (get_common_indices): This.
10837 (init_cpu_features): Updated.
10839 2018-08-01 Joseph Myers <joseph@codesourcery.com>
10841 * sysdeps/generic/math-tests-snan-payload.h: New file.
10842 * sysdeps/hppa/math-tests-snan-payload.h: Likewise.
10843 * sysdeps/mips/math-tests-snan-payload.h: Likewise.
10844 * sysdeps/riscv/math-tests-snan-payload.h: Likewise.
10845 * sysdeps/generic/math-tests.h: Include
10846 <math-tests-snan-payload.h>.
10847 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10848 * sysdeps/hppa/math-tests.h: Remove file.
10849 * sysdeps/mips/math-tests.h [!__mips_nan2008]
10850 (SNAN_TESTS_PRESERVE_PAYLOAD): Do not define macro here.
10851 * sysdeps/riscv/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD):
10854 * sysdeps/generic/math-tests-snan-cast.h: New file.
10855 * sysdeps/powerpc/math-tests-snan-cast.h: Likewise.
10856 * sysdeps/generic/math-tests.h: Include <math-tests-snan-cast.h>.
10857 (SNAN_TESTS_TYPE_CAST): Do not define macro here.
10858 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Likewise.
10860 2018-08-01 Carlos O'Donel <carlos@redhat.com>
10862 * version.h (RELEASE): Set to "development".
10863 (VERSION): Set to "2.28.9000".
10864 * NEWS (2.29): New section.
10866 * version.h (RELEASE): Set to "stable".
10867 (VERSION): Set to "2.28".
10868 * include/features.h (__GLIBC_MINOR__): Set to 2.28.
10869 * NEWS: Add the list of bugs fixed in 2.28.
10871 * po/ca.po: Update to latest version.
10872 * po/cs.po: Likewise
10873 * po/da.po: Likewise
10874 * po/el.po: Likewise
10875 * po/eo.po: Likewise
10876 * po/es.po: Likewise
10877 * po/fi.po: Likewise
10878 * po/fr.po: Likewise
10879 * po/gl.po: Likewise
10880 * po/hu.po: Likewise
10881 * po/ia.po: Likewise
10882 * po/id.po: Likewise
10883 * po/it.po: Likewise
10884 * po/ja.po: Likewise
10885 * po/ko.po: Likewise
10886 * po/lt.po: Likewise
10887 * po/nb.po: Likewise
10888 * po/nl.po: Likewise
10889 * po/pt_BR.po: Likewise
10890 * po/ru.po: Likewise
10891 * po/rw.po: Likewise
10892 * po/sk.po: Likewise
10893 * po/sl.po: Likewise
10894 * po/tr.po: Likewise
10895 * po/zh_CN.po: Likewise
10896 * po/zh_TW.po: Likewise
10898 2018-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
10900 * sysdeps/mach/hurd/i386/init-first.c (init1): Move ELF hdr and TLS
10902 (init): ... before initializing libpthread.
10904 * mach/mach.h (__mach_setup_tls, mach_setup_tls): Add prototypes.
10905 * mach/setup-thread.c (__mach_setup_thread): Move TLS setup to...
10906 (__mach_setup_tls): ... new function.
10907 (mach_setup_tls): New alias.
10908 * hurd/hurdsig.c (_hurdsig_init): Call __mach_setup_tls after
10909 __mach_setup_thread.
10910 * sysdeps/mach/hurd/profil.c (update_waiter): Likewise.
10911 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Likewise.
10912 * mach/Versions [libc] (mach_setup_tls): Add symbol.
10913 * sysdeps/mach/hurd/i386/libc.abilist (mach_setup_tls): Likewise.
10915 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10917 * manual/install.texi: Update versions.
10918 * INSTALL: Regenerate.
10920 * manual/contrib.texi (Contributors): Update contributions.
10922 2018-07-31 Carlos O'Donell <carlos@redhat.com>
10924 * po/be.po: Update translations.
10926 2018-07-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10928 * sysdeps/sh/libm-test-ulps: Update.
10930 2018-07-30 Carlos O'Donell <carlos@redhat.com>
10932 * po/bg.po: Update translations.
10933 * po/de.po: Likewise.
10934 * po/hr.po: Likewise.
10935 * po/pt_BR.po: Likewise.
10936 * po/sv.po: Likewise.
10937 * po/vi.po: Likewise.
10939 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10942 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
10943 tst-cet-property-1 and tst-cet-property-2 if CET is enabled.
10944 (CFLAGS-tst-cet-property-1.o): New.
10945 (ASFLAGS-tst-cet-property-dep-2.o): Likewise.
10946 ($(objpfx)tst-cet-property-2): Likewise.
10947 ($(objpfx)tst-cet-property-2.out): Likewise.
10948 * sysdeps/unix/sysv/linux/x86/tst-cet-property-1.c: New file.
10949 * sysdeps/unix/sysv/linux/x86/tst-cet-property-2.c: Likewise.
10950 * sysdeps/unix/sysv/linux/x86/tst-cet-property-dep-2.S: Likewise.
10951 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Parse
10952 each property item until GNU_PROPERTY_X86_FEATURE_1_AND is found.
10954 2018-07-30 H.J. Lu <hongjiu.lu@intel.com>
10957 * sysdeps/x86/Makefile (tests): Add tst-get-cpu-features-static.
10959 2018-07-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
10961 * sysdeps/mach/hurd/dl-unistd.h (__access, __brk, __lseek, __read,
10962 __sbrk): Do not set attribute_hidden.
10963 * sysdeps/mach/hurd/not-errno.h: New file.
10964 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10965 * sysdeps/mach/hurd/i386/localplt.data: Update accordingly.
10967 2018-07-27 Carlos O'Donell <carlos@redhat.com>
10969 * po/uk.po: Update translations.
10970 * po/cs.po: Likewise.
10971 * po/pl.po: Likewise.
10973 2018-07-27 H.J. Lu <hongjiu.lu@intel.com>
10975 * sysdeps/x86/dl-prop.h (_dl_process_cet_property_note): Don't
10976 parse beyond the note end.
10978 2018-07-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10980 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: Return unsupported if
10981 kernel does not support OFD locks.
10982 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Likewise.
10984 2018-07-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
10986 * sysdeps/mach/hurd/Versions (libc): Make __access and
10987 __access_noerrno external so they can override the ld symbols.
10988 (ld): Make __access, __read, __sbrk, __strtoul_internal, __write,
10989 __writev, __open64, __access_noerrno extern so they can be overrided.
10990 * sysdeps/mach/hurd/i386/libc.abilist: Update accordingly.
10991 * sysdeps/mach/hurd/i386/ld.abilist: Update accordingly.
10993 2018-07-26 Carlos O'Donell <carlos@redhat.com>
10995 * po/libc.pot: Regenerate.
10997 2018-07-26 Joseph Myers <joseph@codesourcery.com>
10999 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
11001 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11004 * sysdeps/x86/cpu-features.c (get_extended_indices): New
11006 (init_cpu_features): Call get_extended_indices for both Intel
11008 * sysdeps/x86/cpu-features.h (COMMON_CPUID_INDEX_80000001):
11009 Remove "for AMD" comment.
11011 2018-07-26 H.J. Lu <hongjiu.lu@intel.com>
11014 * sysdeps/x86/cpu-features.h (index_cpu_LZCNT): Set to
11015 COMMON_CPUID_INDEX_80000001.
11017 2018-07-26 Stefan Liebler <stli@linux.ibm.com>
11019 * string/tst-xbzero-opt.c (use_test_buffer): New function.
11020 (prepare_test_buffer): Call use_test_buffer as compiler barrier.
11022 2018-07-26 Florian Weimer <fweimer@redhat.com>
11024 * htl/lockfile.c (flockfile, funlockfile, ftrylockfile): Use weak
11025 aliases for symbols not in the implementation namespace.
11027 2018-07-25 Carlos O'Donell <carlos@redhat.com>
11030 * localedata/locales/iso14651_t1_common: Deinterlace uppercase and
11031 lowercase in LATIN script.
11032 * localedata/Makefile (test-input): Add en_US.UTF-8.
11033 * localedata/en_US.UTF-8.in: New file.
11034 * posix/tst-fnmatch.input: Add comments and new tests for en_US.UTF-8,
11035 and restore old tests.
11036 * posix/tst-regexloc.c (do_test): Add back range expression test.
11038 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11040 * sysdeps/unix/sysv/linux/ia64/tst-setcontext4.c: New file.
11042 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11044 * nptl/threads.h: Move to ...
11045 * sysdeps/nptl/threads.h: ... here.
11046 * sysdeps/hurd/stdc-predef.h: New file.
11048 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11050 * sysdeps/unix/sysv/linux/x86/Makefile (tests): Add
11051 tst-cet-setcontext-1 if CET is enabled.
11052 (CFLAGS-tst-cet-setcontext-1.c): Add -mshstk.
11053 * sysdeps/unix/sysv/linux/x86/tst-cet-setcontext-1.c: New file.
11055 2018-07-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11057 * include/threads.h: Move to ...
11058 * sysdeps/nptl/threads.h: ... here.
11059 * sysdeps/htl/threads.h: New file.
11060 * conform/Makefile (linknamespace-libs-ISO11): Use
11061 static-thread-library instead of linking libpthread.
11062 (linknamespace-libs-XPG4): Revert wrong libcrypt.a addition.
11064 2018-07-25 Florian Weimer <fweimer@redhat.com>
11066 * nptl/tst-mtx-timedlock.c (do_test): Implement carry from
11067 nanoseconds into seconds.
11068 * nptl/tst-cnd-basic.c (signal_parent): Lock and unlock mutex.
11069 (do_test): Likewise.
11070 * nptl/tst-cnd-timedwait.c (signal_parent): Likewise.
11071 (do_test): Likewise. Avoid nanosecond overflow and spurious
11072 timeouts due to system load.
11073 * nptl/tst-cnd-broadcast.c (waiting_threads): New variable.
11074 (child_wait): Increment it.
11075 (do_test): Wait as long as necessary until all expected threads
11078 2018-07-25 Vedvyas Shanbhogue <vedvyas.shanbhogue@intel.com>
11079 H.J. Lu <hongjiu.lu@intel.com>
11081 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Add
11083 * sysdeps/unix/sysv/linux/x86_64/__start_context.S: Include
11084 <asm/prctl.h> and "ucontext_i.h" when shadow stack is enabled.
11085 (__push___start_context): New.
11086 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Include
11088 (__getcontext): Record the current shadow stack base. Save the
11089 caller's shadow stack pointer and base.
11090 * sysdeps/unix/sysv/linux/x86_64/makecontext.c: Include
11091 <pthread.h>, <libc-pointer-arith.h> and <sys/prctl.h>.
11092 (__push___start_context): New prototype.
11093 (__makecontext): Call __push___start_context to allocate a new
11094 shadow stack, push __start_context onto the new stack as well
11095 as the new shadow stack.
11096 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Include
11098 (__setcontext): Restore the target shadow stack.
11099 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Include
11101 (__swapcontext): Record the current shadow stack base. Save
11102 the caller's shadow stack pointer and base. Restore the target
11104 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
11105 (STACK_SIZE_TO_SHADOW_STACK_SIZE_SHIFT): New.
11106 * sysdeps/unix/sysv/linux/x86_64/ucontext_i.sym (oSSP): New.
11108 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11110 * stdlib/Makefile ((tests): Add tst-setcontext6, tst-setcontext7,
11111 tst-setcontext8 and tst-setcontext9.
11112 * stdlib/tst-setcontext6.c: New file.
11113 * stdlib/tst-setcontext7.c: Likewise.
11114 * stdlib/tst-setcontext8.c: Likewise.
11115 * stdlib/tst-setcontext9.c: Likewise.
11117 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11119 * stdlib/Makefile ((tests): Add tst-setcontext5.
11120 * stdlib/tst-setcontext5.c: New file.
11122 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11124 * stdlib/Makefile (tests): Add tst-setcontext4.
11125 * stdlib/tst-setcontext4.c: New file.
11127 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11129 * stdlib/Makefile (tests): Add tst-swapcontext1.
11130 * stdlib/tst-swapcontext1.c: New test.
11132 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11134 * sysdeps/x86/Makefile (tests): Add tst-cet-legacy-1,
11135 tst-cet-legacy-2, tst-cet-legacy-2a, tst-cet-legacy-3,
11136 tst-cet-legacy-4, tst-cet-legacy-4a, tst-cet-legacy-4b
11137 and tst-cet-legacy-4c.
11138 (modules-names): Add tst-cet-legacy-mod-1, tst-cet-legacy-mod-2
11139 and tst-cet-legacy-mod-4.
11140 (CFLAGS-tst-cet-legacy-2.c): New.
11141 (CFLAGS-tst-cet-legacy-mod-1.c): Likewise.
11142 (CFLAGS-tst-cet-legacy-mod-2.c): Likewise.
11143 (CFLAGS-tst-cet-legacy-3.c): Likewise.
11144 (CFLAGS-tst-cet-legacy-4.c): Likewise.
11145 (CFLAGS-tst-cet-legacy-mod-4.c): Likewise.
11146 ($(objpfx)tst-cet-legacy-1): Likewise.
11147 ($(objpfx)tst-cet-legacy-2): Likewise.
11148 ($(objpfx)tst-cet-legacy-2.out): Likewise.
11149 ($(objpfx)tst-cet-legacy-2a): Likewise.
11150 ($(objpfx)tst-cet-legacy-2a.out): Likewise.
11151 ($(objpfx)tst-cet-legacy-4): Likewise.
11152 ($(objpfx)tst-cet-legacy-4.out): Likewise.
11153 ($(objpfx)tst-cet-legacy-4a): Likewise.
11154 ($(objpfx)tst-cet-legacy-4a.out): Likewise.
11155 (tst-cet-legacy-4a-ENV): Likewise.
11156 ($(objpfx)tst-cet-legacy-4b): Likewise.
11157 ($(objpfx)tst-cet-legacy-4b.out): Likewise.
11158 (tst-cet-legacy-4b-ENV): Likewise.
11159 ($(objpfx)tst-cet-legacy-4c): Likewise.
11160 ($(objpfx)tst-cet-legacy-4c.out): Likewise.
11161 (tst-cet-legacy-4c-ENV): Likewise.
11162 * sysdeps/x86/tst-cet-legacy-1.c: New file.
11163 * sysdeps/x86/tst-cet-legacy-2.c: Likewise.
11164 * sysdeps/x86/tst-cet-legacy-2a.c: Likewise.
11165 * sysdeps/x86/tst-cet-legacy-3.c: Likewise.
11166 * sysdeps/x86/tst-cet-legacy-4.c: Likewise.
11167 * sysdeps/x86/tst-cet-legacy-4a.c: Likewise.
11168 * sysdeps/x86/tst-cet-legacy-4b.c: Likewise.
11169 * sysdeps/x86/tst-cet-legacy-4c.c: Likewise.
11170 * sysdeps/x86/tst-cet-legacy-mod-1.c: Likewise.
11171 * sysdeps/x86/tst-cet-legacy-mod-2.c: Likewise.
11172 * sysdeps/x86/tst-cet-legacy-mod-4.c: Likewise.
11174 2018-07-25 H.J. Lu <hongjiu.lu@intel.com>
11176 * sysdeps/i386/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11177 * sysdeps/i386/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11179 * sysdeps/x86_64/nptl/tcb-offsets.sym (SSP_BASE_OFFSET): New.
11180 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Replace __glibc_reserved2
11183 2018-07-25 Andreas Schwab <schwab@suse.de>
11186 * locale/weightwc.h (findidx): Handle the case where usrc is a
11187 prefix of cp but one character too short.
11189 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11191 * NEWS: Add ISO C threads addition.
11193 2018-07-24 Florian Weimer <fweimer@redhat.com>
11195 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11196 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_MLOCK2)
11197 (__ASSUME_COPY_FILE_RANGE): Undefine. Kernel support was added in
11200 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11202 * sysdeps/unix/sysv/linux/x86/include/asm/prctl.h: New file.
11203 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Include
11204 <sys/prctl.h> and <asm/prctl.h>.
11205 (get_cet_status): Call arch_prctl with ARCH_CET_STATUS.
11206 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Include <sys/prctl.h>
11208 (dl_cet_allocate_legacy_bitmap): Call arch_prctl with
11209 ARCH_CET_LEGACY_BITMAP.
11210 (dl_cet_disable_cet): Call arch_prctl with ARCH_CET_DISABLE.
11211 (dl_cet_lock_cet): Call arch_prctl with ARCH_CET_LOCK.
11212 * sysdeps/x86/libc-start.c: Include <startup.h>.
11214 2018-07-24 Florian Weimer <fweimer@redhat.com>
11216 * sysdeps/unix/sysv/linux/sh/kernel-features.h (__ASSUME_STATX):
11217 Undefine. Suggested by Romain Naour <romain.naour@gmail.com>.
11219 2018-07-24 Rical Jasan <rj@2c3t.io>
11220 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11221 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11224 * manual/debug.texi: Update adjacent chapter name.
11225 * manual/probes.texi: Likewise.
11226 * manual/threads.texi (ISO C Threads): New section.
11227 (POSIX Threads): Convert to a section.
11229 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11230 Juan Manuel Torres Palma <jmtorrespalma@gmail.com>
11233 * nptl/Makefile (tests): Add new test files.
11234 * nptl/tst-call-once.c : New file. Tests C11 functions and types.
11235 * nptl/tst-cnd-basic.c: Likewise.
11236 * nptl/tst-cnd-broadcast.c: Likewise.
11237 * nptl/tst-cnd-timedwait.c: Likewise.
11238 * nptl/tst-mtx-basic.c: Likewise.
11239 * nptl/tst-mtx-recursive.c: Likewise.
11240 * nptl/tst-mtx-timedlock.c: Likewise.
11241 * nptl/tst-mtx-trylock.c: Likewise.
11242 * nptl/tst-thrd-basic.c: Likewise.
11243 * nptl/tst-thrd-detach.c: Likewise.
11244 * nptl/tst-thrd-sleep.c: Likewise.
11245 * nptl/tst-tss-basic.c: Likewise.
11247 2018-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11250 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
11251 (thrd_current, thrd_equal, thrd_sleep, thrd_yield): Add C11 thread
11253 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11254 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11255 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11256 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11257 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11258 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11259 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11260 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11261 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11262 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11263 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11264 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11272 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
11273 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11274 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11275 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11276 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11277 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11278 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11279 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11280 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist [[GLIBC_2.28]
11281 (call_once, cnd_broadcast, cnd_destroy, cnd_init, cnd_signal,
11282 cnd_timedwait, cnd_wait, mtx_destroy, mtx_init, mtx_lock,
11283 mtx_timedlock, mtx_trylock, mtx_unlokc, thrd_create, thrd_detach,
11284 thrd_exit, thrd_join, tss_create, tss_delete, tss_get, tss_set):
11286 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
11287 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
11288 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
11289 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
11290 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
11291 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
11292 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
11293 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
11294 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
11295 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
11296 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
11297 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
11299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
11302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
11304 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
11305 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
11306 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
11307 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
11308 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
11309 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
11310 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
11311 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
11314 * conform/data/threads.h-data (thread_local): New macro.
11315 (TSS_DTOR_ITERATIONS): Likewise.
11317 (tss_dtor_t): Likewise.
11318 (tss_create): New function.
11319 (tss_get): Likewise.
11320 (tss_set): Likewise.
11321 (tss_delete): Likewise.
11322 * nptl/Makefile (libpthread-routines): Add tss_create, tss_delete,
11323 tss_get, and tss_set objects.
11324 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11325 * nptl/tss_create.c: New file.
11326 * nptl/tss_delete.c: Likewise.
11327 * nptl/tss_get.c: Likewise.
11328 * nptl/tss_set.c: Likewise.
11329 * sysdeps/nptl/threads.h (thread_local): New define.
11330 (TSS_DTOR_ITERATIONS): Likewise.
11331 (tss_t): New typedef.
11332 (tss_dtor_t): Likewise.
11333 (tss_create): New prototype.
11334 (tss_get): Likewise.
11335 (tss_set): Likewise.
11336 (tss_delete): Likewise.
11339 * conform/data/threads.h-data (cnd_t): New type.
11340 (cnd_init): New function.
11341 (cnd_signal): Likewise.
11342 (cnd_broadcast): Likewise.
11343 (cnd_wait): Likewise.
11344 (cnd_timedwait): Likewise.
11345 (cnd_destroy): Likewise.
11346 * nptl/Makefile (libpthread-routines): Add cnd_broadcast,
11347 cnd_destroy, cnd_init, cnd_signal, cnd_timedwait, and cnd_wait
11349 * nptl/Versions (libpthread) [GLIBC_2.28]: Likewise.
11350 * nptl/cnd_broadcast.c: New file.
11351 * nptl/cnd_destroy.c: Likewise.
11352 * nptl/cnd_init.c: Likewise.
11353 * nptl/cnd_signal.c: Likewise.
11354 * nptl/cnd_timedwait.c: Likewise.
11355 * nptl/cnd_wait.c: Likewise.
11356 * sysdeps/nptl/threads.h (cnd_t): New type.
11357 (cnd_init): New prototype.
11358 (cnd_signa): Likewise.
11359 (cnd_broadcast): Likewise.
11360 (cnd_wait): Likewise.
11361 (cnd_timedwait): Likewise.
11362 (cnd_destroy): Likewise.
11365 * conform/data/threads.h-data (ONCE_FLAG_INIT): New macro.
11366 (once_flag): New type.
11367 (call_once): New function.
11368 * nptl/Makefile (libpthread-routines): Add call_once object.
11369 * nptl/Versions (libphread) [GLIBC_2.28]: Add call_once symbol.
11370 * nptl/call_once.c: New file.
11371 * sysdeps/nptl/threads.h (ONCE_FLAG_INIT): New define.
11372 (once_flag): New type.
11373 (call_once): New prototype.
11376 * conform/data/threads.h-data (mtx_plain): New constant.
11377 (mtx_recursive): Likewise.
11378 (mtx_timed): Likewise.
11380 (mtx_init): New function.
11381 (mtx_lock): Likewise.
11382 (mtx_timedlock): Likewise.
11383 (mtx_trylock): Likewise.
11384 (mtx_unlock): Likewise.
11385 (mtx_destroy): Likewise.
11386 * nptl/Makefile (libpthread-routines): Add mtx_destroy, mtx_init,
11387 mtx_lock, mtx_timedlock, mtx_trylock, and mtx_unlock object.
11388 * nptl/Versions (libpthread) [GLIBC_2.28]): Add mtx_init, mtx_lock,
11389 mtx_timedlock, mtx_trylock, mtx_unlock, and mtx_destroy.
11390 * nptl/mtx_destroy.c: New file.
11391 * nptl/mtx_init.c: Likewise.
11392 * nptl/mtx_lock.c: Likewise.
11393 * nptl/mtx_timedlock.c: Likewise.
11394 * nptl/mtx_trylock.c: Likewise.
11395 * nptl/mtx_unlock.c: Likewise.
11396 * sysdeps/nptl/threads.h (mtx_plain): New enumeration.
11397 (mtx_recursive): Likewise.
11398 (mtx_timed): Likewise.
11400 (mtx_init): New prototype.
11401 (mtx_lock): Likewise.
11402 (mtx_timedlock): Likewise.
11403 (mtx_trylock): Likewise.
11404 (mtx_unlock): Likewise.
11405 (mtx_destroy): Likewise.
11408 * conform/Makefile (conformtest-headers-ISO11): Add threads.h.
11409 (linknamespace-libs-ISO11): Add libpthread.a.
11410 * conform/data/threads.h-data: New file: add C11 thrd_* types and
11412 * include/stdc-predef.h (__STDC_NO_THREADS__): Remove definition.
11413 * nptl/Makefile (headers): Add threads.h.
11414 (libpthread-routines): Add new C11 thread thrd_create, thrd_current,
11415 thrd_detach, thrd_equal, thrd_exit, thrd_join, thrd_sleep, and
11417 * nptl/Versions (libpthread) [GLIBC_2.28]): Add new C11 thread
11418 thrd_create, thrd_current, thrd_detach, thrd_equal, thrd_exit,
11419 thrd_join, thrd_sleep, and thrd_yield symbols.
11420 * nptl/descr.h (struct pthread): Add c11 field.
11421 * nptl/pthreadP.h (ATTR_C11_THREAD): New define.
11422 * nptl/pthread_create.c (START_THREAD_DEFN): Call C11 thread start
11423 routine with expected function prototype.
11424 (__pthread_create_2_1): Add C11 threads check based on attribute
11426 * sysdeps/unix/sysdep.h (INTERNAL_SYSCALL_CANCEL): New macro.
11427 * nptl/thrd_create.c: New file.
11428 * nptl/thrd_current.c: Likewise.
11429 * nptl/thrd_detach.c: Likewise.
11430 * nptl/thrd_equal.c: Likewise.
11431 * nptl/thrd_exit.c: Likewise.
11432 * nptl/thrd_join.c: Likewise.
11433 * nptl/thrd_priv.h: Likewise.
11434 * nptl/thrd_sleep.c: Likewise.
11435 * nptl/thrd_yield.c: Likewise.
11436 * include/threads.h: Likewise.
11438 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11440 * bits/indirect-return.h: New file.
11441 * misc/sys/cdefs.h (__glibc_has_attribute): New.
11442 * sysdeps/x86/bits/indirect-return.h: Likewise.
11443 * stdlib/Makefile (headers): Add bits/indirect-return.h.
11444 * stdlib/ucontext.h: Include <bits/indirect-return.h>.
11445 (swapcontext): Add __INDIRECT_RETURN.
11446 * string/tst-xbzero-opt.c (ALWAYS_INLINE): New.
11447 (prepare_test_buffer): Use it.
11449 2018-07-24 Andreas Schwab <schwab@suse.de>
11452 * iconvdata/ibm1364.c (MAX_NEEDED_OUTPUT) [FROM_LOOP]: Define.
11453 (MAX_NEEDED_INPUT) [TO_LOOP]: Define.
11455 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11457 * sysdeps/unix/sysv/linux/i386/vfork.S (SYSCALL_ERROR_HANDLER):
11458 Redefine if shadow stack is enabled.
11459 (SYSCALL_ERROR_LABEL): Likewise.
11460 (__vfork): Pop shadow stack and jump back to to caller directly
11461 when shadow stack is in use.
11462 * sysdeps/unix/sysv/linux/x86_64/vfork.S (SYSCALL_ERROR_HANDLER):
11463 Redefine if shadow stack is enabled.
11464 (SYSCALL_ERROR_LABEL): Likewise.
11465 (__vfork): Pop shadow stack and jump back to to caller directly
11466 when shadow stack is in use.
11468 2018-07-24 H.J. Lu <hongjiu.lu@intel.com>
11470 * sysdeps/x86_64/tst-quadmod1.S (func): Add endbr64 if IBT is
11473 * sysdeps/x86_64/tst-quadmod2.S (func) : Likewise.
11476 2018-07-20 Joseph Myers <joseph@codesourcery.com>
11478 * scripts/build-many-glibcs.py (Context.checkout): Default
11479 binutils version to 2.31 branch.
11481 2018-07-20 Zong Li <zong@andestech.com>
11483 * scripts/build-many-glibcs.py (Context.checkout_tar): Change the
11484 URL of gcc's tarball.
11486 2018-07-20 Florian Weimer <fweimer@redhat.com>
11489 * posix/regcomp.c (build_equiv_class): When comparing weights, do
11490 not compare an extra byte after the end of the weights.
11492 2018-07-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
11494 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Set multiple_threads
11496 * sysdeps/hurd/include/hurd/port.h [!_ISOMAC]: Do not declare libc
11498 * sysdeps/mach/include/mach-shortcuts-hidden.h [!_ISOMAC]: Likewise.
11499 * sysdeps/mach/include/mach/mach_traps.h [!_ISOMAC]: Likewise.
11500 * scripts/check-execstack.awk: Consider `xfail' variable containing a
11501 list of libraries whose stack executability is expected.
11502 * elf/Makefile ($(objpfx)check-execstack.out): Pass
11503 $(check-execstack-xfail) to check-execstack.awk through `xfail'
11505 * sysdeps/mach/hurd/i386/Makefile (check-execstack-xfail): Set to ld.so
11506 libc.so libpthread.so.
11508 2018-07-20 Thomas Schwinge <tschwinge@gnu.org>
11510 * sysdeps/mach/hurd/socket.c (__socket): Handle SOCK_CLOEXEC and
11512 * sysdeps/mach/hurd/socketpair.c (__socketpair): Handle SOCK_CLOEXEC
11514 * sysdeps/mach/hurd/pipe2.c: New file, copy from pipe.c. Evolve it to
11516 * sysdeps/mach/hurd/pipe.c (__pipe): Reimplement using __pipe2.
11518 2018-07-19 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
11520 * benchtests/scripts/compare_bench.py (__main__): use the argparse
11521 library to improve command line parsing.
11522 (__main__): make schema file as optional parameter (--schema),
11523 defaulting to benchtests/scripts/benchout.schema.json.
11524 (main): move out of the parsing stuff to __main_ and leave it
11525 only as caller of main comparison functions.
11527 2018-07-19 H.J. Lu <hongjiu.lu@intel.com>
11529 * NEWS: Add a note for Intel CET status.
11530 * manual/install.texi: Likewise.
11531 * INSTALL: Regenerated.
11533 2018-07-18 Quentin PAGÈS <provaires@quentino.fr>
11536 * localedata/locales/oc_FR (mon): Rename to...
11537 (alt_mon): This, then update October (typo fix).
11538 (mon): New content (genitive case, month names preceded by
11542 * localedata/locales/oc_FR (abday): Update all items.
11543 (day): Update Wednesday and Saturday (typo fixes).
11544 (abmon): Update all items, except May.
11545 (d_fmt): Update "%d.%m.%Y" -> "%d/%m/%Y".
11546 (LC_IDENTIFICATION): Bump the revision number and date.
11547 Keep the "category" entries in alphabetic order.
11548 (LC_ADDRESS): Remove no longer needed comment.
11549 (LC_COLLATE): Use “copy "ca_ES"”.
11550 (LC_NAME): Set the correct values of "name_fmt", "name_mr", and
11553 2018-07-18 Joseph Myers <joseph@codesourcery.com>
11555 * grp/tst_fgetgrent.c: Include <unistd.h>.
11556 (main): Use mkstemp instead of tmpnam.
11557 * io/test-utime.c (main): Likewise.
11558 * posix/annexc.c (macrofile): Change to modifiable array.
11559 (main): Remove macrofile here.
11560 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11562 (check_header): Do not remove macrofile here.
11563 * posix/bug-getopt1.c: Include <stdlib.h>.
11564 (do_test): Use mkstemp instead of tmpnam.
11565 * posix/bug-getopt2.c: Include <stdlib.h>.
11566 (do_test): Use mkstemp instead of tmpnam.
11567 * posix/bug-getopt3.c: Include <stdlib.h>.
11568 (do_test): Use mkstemp instead of tmpnam.
11569 * posix/bug-getopt4.c: Include <stdlib.h>.
11570 (do_test): Use mkstemp instead of tmpnam.
11571 * posix/bug-getopt5.c: Include <stdlib.h>.
11572 (do_test): Use mkstemp instead of tmpnam.
11573 * stdio-common/bug7.c: Include <stdlib.h> and <unistd.h>.
11574 (main): Use mkstemp instead of tmpnam.
11575 * stdio-common/tst-fdopen.c: Include <stdlib.h>.
11576 (main): Use mkstemp instead of tmpnam.
11577 * stdio-common/tst-ungetc.c: Include <stdlib.h>.
11578 (main): use mkstemp instead of tmpnam.
11579 * stdlib/isomac.c (macrofile): Change to modifiable array.
11580 (main): Remove macrofile here.
11581 (get_null_defines): Use mkstemp instead of tmpnam. Do not remove
11583 (check_header): Do not remove macrofile here.
11585 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11587 * manual/tunables.texi: Document glibc.tune.x86_ibt and
11588 glibc.tune.x86_shstk.
11590 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11592 * NEWS: Mention --enable-cet.
11593 * manual/install.texi: Document --enable-cet.
11594 * INSTALL: Regenerated.
11596 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11598 * sysdeps/x86_64/multiarch/memcmp-sse4.S (BRANCH_TO_JMPTBL_ENTRY):
11599 Add _CET_NOTRACK before indirect jump to jump table.
11601 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11603 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S
11604 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11607 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11609 * sysdeps/i386/i686/multiarch/strcat-sse2.S
11610 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11613 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11615 * sysdeps/i386/i686/multiarch/strcpy-sse2.S
11616 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11619 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11621 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S
11622 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11625 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11627 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S
11628 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11630 (BRANCH_TO_JMPTBL_ENTRY_TAIL): Likewise.
11632 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11634 * sysdeps/i386/i686/multiarch/memcmp-sse4.S
11635 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11638 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11640 * sysdeps/i386/i686/multiarch/memset-sse2.S
11641 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11644 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11646 * sysdeps/i386/i686/memcmp.S (memcmp): Add _CET_NOTRACK before
11647 indirect jump to jump table.
11649 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11651 * sysdeps/x86_64/multiarch/memcpy-ssse3.S
11652 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11654 (MEMCPY): Likewise.
11656 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11658 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S
11659 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11661 (MEMCPY): Likewise.
11663 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11665 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11666 _CET_NOTRACK before indirect jump to jump table.
11668 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11670 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S
11671 (BRANCH_TO_JMPTBL_ENTRY): Add _CET_NOTRACK before indirect jump
11674 2018-07-18 H.J. Lu <hongjiu.lu@intel.com>
11676 * sysdeps/x86_64/strcmp.S (STRCMP): Add _CET_NOTRACK before
11677 indirect jump to jump table.
11679 2018-07-18 Valery Timiriliyev <timiriliyev@gmail.com>
11682 * localedata/Makefile (test-input): Add sah_RU.UTF-8.
11683 (LOCALES): Likewise.
11684 * localedata/SUPPORTED (sah_RU/UTF-8): New entry.
11685 * localedata/locales/sah_RU: New file.
11686 * localedata/sah_RU.UTF-8.in: New file.
11688 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11690 * sysdeps/i386/add_n.S: Include <sysdep.h>, instead of
11692 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11693 _CET_ENDBR to indirect jump targets and adjust jump destination
11695 * sysdeps/i386/i686/add_n.S: Include <sysdep.h>, instead of
11697 (__mpn_add_n): Save and restore %ebx if IBT is enabed. Add
11698 _CET_ENDBR to indirect jump targets and adjust jump destination
11700 * sysdeps/i386/sub_n.S: Include <sysdep.h>, instead of
11702 (__mpn_sub_n): Save and restore %ebx if IBT is enabed. Add
11703 _CET_ENDBR to indirect jump targets and adjust jump destination
11706 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11708 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Add
11711 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11713 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_return): Add
11715 (_dl_tlsdesc_undefweak): Likewise.
11716 (_dl_tlsdesc_dynamic): Likewise.
11717 (_dl_tlsdesc_resolve_abs_plus_addend): Likewise.
11718 (_dl_tlsdesc_resolve_rel): Likewise.
11719 (_dl_tlsdesc_resolve_rela): Likewise.
11720 (_dl_tlsdesc_resolve_hold): Likewise.
11721 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_return): Likewise.
11722 (_dl_tlsdesc_undefweak): Likewise.
11723 (_dl_tlsdesc_dynamic): Likewise.
11724 (_dl_tlsdesc_resolve_rela): Likewise.
11725 (_dl_tlsdesc_resolve_hold): Likewise.
11727 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11729 * sysdeps/i386/crti.S (_init): Add _CET_ENDBR.
11731 * sysdeps/x86_64/crti.S (_init): Likewise.
11734 2018-07-17 Rafal Luzynski <digitalfreak@lingonborough.com>
11737 * localedata/locales/os_RU (mon): Rename to...
11739 (mon): Import from CLDR (genitive case).
11741 2018-07-17 H.J. Lu <hongjiu.lu@intel.com>
11743 * sysdeps/x86/cpu-features.c: Always include <dl-cet.h> and
11744 cet-tunables.h> when CET is enabled.
11746 2018-07-16 H.J. Lu <hongjiu.lu@intel.com>
11749 * configure.ac: Add --enable-cet.
11750 * configure: Regenerated.
11751 * elf/Makefille (all-built-dso): Add a comment.
11752 * elf/dl-load.c (filebuf): Moved before "dynamic-link.h".
11753 Include <dl-prop.h>.
11754 (_dl_map_object_from_fd): Call _dl_process_pt_note on PT_NOTE
11756 * elf/dl-open.c: Include <dl-prop.h>.
11757 (dl_open_worker): Call _dl_open_check.
11758 * elf/rtld.c: Include <dl-prop.h>.
11759 (dl_main): Call _rtld_process_pt_note on PT_NOTE segment. Call
11761 * sysdeps/generic/dl-prop.h: New file.
11762 * sysdeps/i386/dl-cet.c: Likewise.
11763 * sysdeps/unix/sysv/linux/x86/cpu-features.c: Likewise.
11764 * sysdeps/unix/sysv/linux/x86/dl-cet.h: Likewise.
11765 * sysdeps/x86/cet-tunables.h: Likewise.
11766 * sysdeps/x86/check-cet.awk: Likewise.
11767 * sysdeps/x86/configure: Likewise.
11768 * sysdeps/x86/configure.ac: Likewise.
11769 * sysdeps/x86/dl-cet.c: Likewise.
11770 * sysdeps/x86/dl-procruntime.c: Likewise.
11771 * sysdeps/x86/dl-prop.h: Likewise.
11772 * sysdeps/x86/libc-start.h: Likewise.
11773 * sysdeps/x86/link_map.h: Likewise.
11774 * sysdeps/i386/dl-trampoline.S (_dl_runtime_resolve): Add
11776 (_dl_runtime_profile): Likewise.
11777 (_dl_runtime_resolve_shstk): New.
11778 (_dl_runtime_profile_shstk): Likewise.
11779 * sysdeps/linux/x86/Makefile (sysdep-dl-routines): Add dl-cet
11781 (CFLAGS-.o): Add -fcf-protection if CET is enabled.
11782 (CFLAGS-.os): Likewise.
11783 (CFLAGS-.op): Likewise.
11784 (CFLAGS-.oS): Likewise.
11785 (asm-CPPFLAGS): Add -fcf-protection -include cet.h if CET
11787 (tests-special): Add $(objpfx)check-cet.out.
11788 (cet-built-dso): New.
11789 (+$(cet-built-dso:=.note)): Likewise.
11790 (common-generated): Add $(cet-built-dso:$(common-objpfx)%=%.note).
11791 ($(objpfx)check-cet.out): New.
11792 (generated): Add check-cet.out.
11793 * sysdeps/x86/cpu-features.c: Include <dl-cet.h> and
11795 (TUNABLE_CALLBACK (set_x86_ibt)): New prototype.
11796 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11797 (init_cpu_features): Call get_cet_status to check CET status
11798 and update dl_x86_feature_1 with CET status. Call
11799 TUNABLE_CALLBACK (set_x86_ibt) and TUNABLE_CALLBACK
11800 (set_x86_shstk). Disable and lock CET in libc.a.
11801 * sysdeps/x86/cpu-tunables.c: Include <cet-tunables.h>.
11802 (TUNABLE_CALLBACK (set_x86_ibt)): New function.
11803 (TUNABLE_CALLBACK (set_x86_shstk)): Likewise.
11804 * sysdeps/x86/sysdep.h (_CET_NOTRACK): New.
11805 (_CET_ENDBR): Define if not defined.
11806 (ENTRY): Add _CET_ENDBR.
11807 * sysdeps/x86/dl-tunables.list (glibc.tune): Add x86_ibt and
11809 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Add
11811 (_dl_runtime_profile): Likewise.
11813 2018-07-16 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
11816 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Remove condition code for
11817 restore r2 on longjmp.
11818 * sysdeps/powerpc/powerpc64/Makefile: Added tst-setjmp-bug21895-static to
11820 Added rules to build test tst-setjmp-bug21895-static.
11821 Added module setjmp-bug21895 and rules to build a shared object from it.
11822 * sysdeps/powerpc/powerpc64/setjmp-bug21895.c: New test file.
11823 * sysdeps/powerpc/powerpc64/tst-setjmp-bug21895-static.c: New test file.
11825 2018-07-15 Wilco Dijkstra <wdijkstr@arm.com>
11827 * benchtests/bench-strcasestr.c: Rename __strnlen to strnlen.
11828 * benchtests/bench-strstr.c: Likewise.
11829 * string/memmem.c (FASTSEARCH): Define.
11830 * string/str-two-way.h (two_way_short_needle): Minor cleanups.
11831 Add support for FASTSEARCH.
11832 * string/strcasestr.c (AVAILABLE): Use read-ahead __strnlen.
11833 * string/strstr.c (AVAILABLE): Use read-ahead __strnlen.
11834 (FASTSEARCH): Define.
11835 * string/test-strcasestr.c: Rename __strnlen to strnlen.
11836 * string/test-strstr.c: Likewise.
11838 2018-07-15 H.J. Lu <hongjiu.lu@intel.com>
11840 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Undef
11841 SHADOW_STACK_POINTER_OFFSET after including <jmp_buf-ssp.h>.
11843 2018-07-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
11844 H.J. Lu <hongjiu.lu@intel.com>
11846 * sysdeps/i386/__longjmp.S: Include <jmp_buf-ssp.h>.
11847 (__longjmp): Restore shadow stack pointer if shadow stack is
11848 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11849 isn't defined for __longjmp_cancel.
11850 * sysdeps/i386/bsd-_setjmp.S: Include <jmp_buf-ssp.h>.
11851 (_setjmp): Save shadow stack pointer if shadow stack is enabled
11852 and SHADOW_STACK_POINTER_OFFSET is defined.
11853 * sysdeps/i386/bsd-setjmp.S: Include <jmp_buf-ssp.h>.
11854 (setjmp): Save shadow stack pointer if shadow stack is enabled
11855 and SHADOW_STACK_POINTER_OFFSET is defined.
11856 * sysdeps/i386/setjmp.S: Include <jmp_buf-ssp.h>.
11857 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11858 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11859 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Include
11861 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11862 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11863 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
11864 Remove jmp_buf-ssp.sym.
11865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
11867 (____longjmp_chk): Restore shadow stack pointer if shadow stack
11868 is enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11869 * sysdeps/x86/Makefile (gen-as-const-headers): Add
11871 * sysdeps/x86/jmp_buf-ssp.sym: New dummy file.
11872 * sysdeps/x86_64/__longjmp.S: Include <jmp_buf-ssp.h>.
11873 (__longjmp): Restore shadow stack pointer if shadow stack is
11874 enabled, SHADOW_STACK_POINTER_OFFSET is defined and __longjmp
11875 isn't defined for __longjmp_cancel.
11876 * sysdeps/x86_64/setjmp.S: Include <jmp_buf-ssp.h>.
11877 (__sigsetjmp): Save shadow stack pointer if shadow stack is
11878 enabled and SHADOW_STACK_POINTER_OFFSET is defined.
11880 2018-07-14 H.J. Lu <hongjiu.lu@intel.com>
11883 * nptl/pthread_create.c: Include <tls-setup.h>.
11884 (__pthread_create_2_1): Call tls_setup_tcbhead.
11885 * sysdeps/generic/tls-setup.h: New file.
11886 * sysdeps/x86/nptl/tls-setup.h: Likewise.
11887 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
11888 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET):
11890 * sysdeps/i386/nptl/tls.h (tcbhead_t): Rename __glibc_reserved1
11892 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
11893 * sysdeps/x86/sysdep.h (X86_FEATURE_1_IBT): New.
11894 (X86_FEATURE_1_SHSTK): Likewise.
11895 (CET_ENABLED): Likewise.
11896 (IBT_ENABLED): Likewise.
11897 (SHSTK_ENABLED): Likewise.
11899 2018-07-13 Rafal Luzynski <digitalfreak@lingonborough.com>
11902 * localedata/Makefile (test-input): Add dsb_DE.UTF-8.
11903 (LOCALES): Likewise.
11904 * localedata/dsb_DE.UTF-8.in: New file.
11905 * localedata/locales/dsb_DE (LC_COLLATE): Fix syntax error.
11907 2018-07-12 Florian Weimer <fweimer@redhat.com>
11909 * nptl/allocatestack.c [_STACK_GROWS_UP] (allocate_stack): Call
11910 __mprotect, not mprotect.
11912 2018-07-11 Florian Weimer <fweimer@redhat.com>
11914 * io/Makefile (headers): Add bits/statx.h.
11916 2018-07-10 Mike FABIAN <mfabian@redhat.com>
11918 * localedata/charmaps/UTF-8: Use correct Unicode version 11.0.0 in comment.
11919 * localedata/locales/i18n_ctype: Use correct Unicode version in comments
11921 * localedata/unicode-gen/utf8_gen.py: Add option to specify Unicode version
11922 * localedata/unicode-gen/Makefile: Use option to specify Unicode version
11925 2018-07-10 Florian Weimer <fweimer@redhat.com>
11927 * io/Makefile (routines): Add statx.
11928 (tests-internal): Add tst-statx.
11929 * io/Versions (GLIBC_2.28): Export statx.
11930 * io/bits/statx.h: New file.
11931 * io/sys/stat.h [__USE_GNU]: Include it.
11932 * io/fcntl.h [__USE_GNU] (AT_STATX_SYNC_TYPE)
11933 (AT_STATX_SYNC_AS_STAT, AT_STATX_FORCE_SYNC, AT_STATX_DONT_SYNC):
11935 * io/statx.c: New file.
11936 * io/statx_generic.: Likewise.
11937 * io/tst-statx.: Likewise.
11938 * include/bits/statx.h: Likewise.
11939 * sysdeps/unix/sysv/linux/kernel-features.h
11940 [__LINUX_KERNEL_VERSION >= 0x040B00] (__ASSUME_STATX): Define.
11941 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11942 [__LINUX_KERNEL_VERSION < 0x040D00] (__ASSUME_STATX): Undefine.
11943 * sysdeps/unix/sysv/linux/ia64/kernel-features.h (__ASSUME_STATX):
11945 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11946 [__LINUX_KERNEL_VERSION < 0x040C00] (__ASSUME_STATX): Undefine.
11947 * sysdeps/unix/sysv/linux/statx.c: New file.
11948 * manual/filesys.texi: Note that statx is undocumented.
11949 * sysdeps/**/libc*.abilist: Update.
11951 2018-07-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11953 * sysdeps/unix/sysv/linux/tst-ofdlocks-compat.c: Add a comment about
11954 a kernel issue which lead to test failure in some cases.
11956 2018-07-10 Florian Weimer <fweimer@redhat.com>
11959 * posix/regexec.c (check_node_accept_bytes): When comparing
11960 weights, do not compare an extra byte after the end of the
11963 2018-07-10 Florian Weimer <fweimer@redhat.com>
11965 * libio/readline.c: Fix copyright year.
11966 * libio/tst-readline.c Likewise.
11967 * nss/tst-nss-files-hosts-getent.c: Likewise.
11969 2018-07-06 Florian Weimer <fweimer@redhat.com>
11972 * nss/nss_files/files-XXX.c (internal_getent): Use
11973 __libc_readline_unlocked. Seek back to the start of the line if
11974 parsing failes with ERANGE.
11975 (get_contents_ret, get_contents): Remove.
11976 * nss/tst-nss-files-hosts-getent.c: New file.
11977 * nss/Makefile (tests): Add tst-nss-files-hosts-getent.
11978 (tst-nss-files-hosts-getent): Link with -ldl.
11980 2018-07-06 Florian Weimer <fweimer@redhat.com>
11982 * include/stdio.h (__libc_readline_unlocked): Declare.
11983 (__ftello64, __fseeko64): Declare aliases.
11984 * libio/readline.c: New file.
11985 * libio/tst-readline.c: Likewise.
11986 (routines): Add readline.
11987 (tests-internal): Add tst-readlime.
11988 * libio/Versions (GLIBC_PRIVATE): Export __fseeko64, __ftello64,
11989 __libc_readline_unlocked.
11990 * libio/fseeko.c (__fseeko): Rename from fseeko.
11991 (fseeko): Add alias.
11992 [__OFF_T_MATCHES_OFF64_T] (fseeko64, __fseeko64): Likewise.
11993 * libio/fseeko64.c (__fseeko64): Rename from fseeko64.
11994 (fseeko64): Add alias.
11995 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T] (__ftello64): Add alias.
11996 * libio/ftello64.c (__ftello64): Rename from ftello64.
11997 (ftello64): Add alias.
11999 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12001 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT): Add
12004 2018-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
12006 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (init_cpu_features):
12007 Use dl_hwcap without masking.
12008 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h (HWCAP_IMPORTANT):
12009 Remove HWCAP_CPUID.
12011 2018-07-06 Florian Weimer <fweimer@redhat.com>
12013 * conform/conformtest.pl (checknamespace): Escape literal braces
12014 in regular expressions.
12016 2018-07-06 Amit Pawar <amit.pawar@amd.com>
12018 * sysdeps/x86/cpu-features.c (get_common_indeces):
12019 AVX_Fast_Unaligned_Load is enabled when AVX2 is detected.
12020 * sysdeps/x86/cpu-features.c (init_cpu_features):
12021 AVX_Fast_Unaligned_Load is disabled for Excavator core.
12023 2018-07-05 Florian Weimer <fweimer@redhat.com>
12025 * csu/Makefile (CFLAGS-static-reloc.os): Build with stack
12027 (CFLAGS-elf-init.oS): Likewise.
12029 2018-07-05 Florian Weimer <fweimer@redhat.com>
12030 Carlos O'Donell <carlos@redhat.com>
12032 * debug/Makefile (CFLAGS-stack_chk_fail_local.c): Remove
12033 $(no-stack-protector). stack_chk_fail_local.c can be compiled
12034 with stack protector enabled because there is no risk of infinite
12037 2018-07-05 Maciej W. Rozycki <macro@mips.com>
12041 * libc-abis (ABSOLUTE): New ABI.
12042 * sysdeps/unix/sysv/linux/mips/libc-abis (ABSOLUTE): New ABI.
12043 * NEWS: Mention the new ABI.
12045 2018-07-05 Florian Weimer <fweimer@redhat.com>
12048 * libio/stdio.h [__USE_GNU] (RENAME_NOREPLACE, RENAME_EXCHANGE)
12049 (RENAME_WHITEOUT): Define.
12050 [__USE_GNU] (renameat2): Declare.
12051 * stdio-common/Makefile (routines): Add renameat2.
12052 (tests): Add tst-renameat2.
12053 * stdio-common/Versions (GLIBC_2_28): Export renameat2.
12054 * stdio-common/renameat2.c: New file.
12055 * stdio-common/tst-renameat2.c: Likewise.
12056 * sysdeps/unix/sysv/linux/renameat2.c: Likewise.
12057 * manual/filesys.texi (Temporary Files): Note that renameat2 is
12059 * sysdeps/unix/sysv/linux/kernel-features.h
12060 [__LINUX_KERNEL_VERSION >= 0x030F00] (__ASSUME_RENAMEAT2): Define.
12061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12062 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12063 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12064 [__LINUX_KERNEL_VERSION < 0x031100] (__ASSUME_RENAMEAT2): Undefine.
12065 * sysdeps/unix/sysv/linux/sh/kernel-features.h
12066 [__LINUX_KERNEL_VERSION < 0x040800] (__ASSUME_RENAMEAT2): Undefine.
12067 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
12068 [__LINUX_KERNEL_VERSION < 0x031000] (__ASSUME_RENAMEAT2): Undefine.
12069 * include/stdio.h (__renameat): Add alias for renameat.
12070 * stdio-common/renameat.c (__renameat): Rename from renameat.
12071 Add hidden definition and alias.
12072 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
12073 * sysdeps/mach/hurd/renameat.c: Likewise.
12074 * sysdeps/**/libc*.abilist: Add renameat2.
12076 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12078 * posix/bug-regex33.c: Fix build after regex sync.
12080 2018-07-04 Carlos O'Donell <carlos@redhat.com>
12083 * localedata/tst-langinfo-setlocale.c: New file.
12084 * localedata/tst-langinfo-setlocale-static.c: New file.
12085 * localedata/tst-langinfo-newlocale.c: New file.
12086 * localedata/tst-langinfo-newlocale-static.c: New file.
12087 * localedata/Makefile (test-srcs): Remove tst-langinfo. Add
12088 tst-langinfo-setlocale, tst-langinfo-setlocale-static,
12089 tst-langinfo-newlocale, tst-langinfo-newlocale-static.
12090 (tests-static): Remove tst-langinfo-static. Add
12091 tst-langinfo-newlocale-static, tst-langinfo-setlocale-static.
12092 (tests-special): Remove $(objpfx)tst-langinfo.out,
12093 $(objpfx)tst-langinfo-static.out. Add
12094 $(objpfx)tst-langinfo-setlocale.out,
12095 $(objpfx)tst-langinfo-newlocale.out,
12096 $(objpfx)tst-langinfo-setlocale-static.out,
12097 $(objpfx)tst-langinfo-newlocale-static.out.
12098 ($(objpfx)tst-langinfo.out): Remove.
12099 ($(objpfx)tst-langinfo-static.out): Remove.
12100 ($(objpfx)tst-langinfo-newlocale.out): New target.
12101 ($(objpfx)tst-langinfo-newlocale-static.out): New target.
12102 (test-xfail-tst-langinfo-newlocale-static): Add.
12103 ($(objpfx)tst-langinfo-setlocale.out): New target.
12104 ($(objpfx)tst-langinfo-setlocale-static.out): New target.
12105 * localedata/tst-langinfo.c: Call test_locale.
12106 * localedata/tst-langinfo.sh: Add LC_MONETARY CURRENCY_SYMBOL test
12109 2018-07-04 Florian Weimer <fweimer@redhat.com>
12111 testrun.sh: Implement --tool=strace, --tool=valgrind
12112 * Makefile (testrun-script): Define variable.
12113 (testrun.sh): Use variable.
12114 * manual/install.texi (Tools for Compilation): make 4.0 or later
12116 * configure.ac: Check for make 4.0 or later.
12117 * INSTALL: Regenerate.
12118 * configure: Likewise.
12120 2018-07-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12126 * posix/Makefile (tests): Add bug-regex37 and bug-regex38.
12127 * posix/PCRE.tests: Remove invalid test.
12128 * posix/bug-regex28.c: Fix expected values for used syntax.
12129 * posix/bug-regex37.c: New file.
12130 * posix/bug-regex38.c: Likewise.
12131 * posix/regcomp.c: Sync with gnulib.
12132 * posix/regex.c: Likewise.
12133 * posix/regex.h: Likewise.
12134 * posix/regex_internal.c: Likewise.
12135 * posix/regex_internal.h: Likewise.
12136 * posix/regexec.c: Likewise.
12138 2018-06-26 Mike FABIAN <mfabian@redhat.com>
12141 * unicode-gen/Makefile (UNICODE_VERSION): Set to 11.0.0.
12142 * localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 11.0.0.
12143 * localedata/unicode-gen/EastAsianWidth.txt: likewise.
12144 * localedata/unicode-gen/PropList.txt: likewise.
12145 * localedata/unicode-gen/UnicodeData.txt: likewise.
12146 * localedata/charmaps/UTF-8: Regenerate.
12147 * localedata/locales/i18n_ctype: likewise.
12148 * localedata/locales/tr_TR: likewise.
12149 * localedata/locales/translit_circle: likewise.
12150 * localedata/locales/translit_cjk_compat: likewise.
12151 * localedata/locales/translit_combining: likewise.
12152 * localedata/locales/translit_compat: likewise.
12153 * localedata/locales/translit_font: likewise.
12154 * localedata/locales/translit_fraction: likewise.
12156 2018-07-03 Florian Weimer <fweimer@redhat.com>
12159 * stdio-common/tst-printf.c (DEC, INT, UNS, fp_test): Remove.
12160 * stdio-common/tst-printf.sh: Adjust expected output.
12161 * LICENSES: Update.
12163 2018-07-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12165 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl): Remove
12168 2018-07-02 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12170 * stdio-common/Makefile (test-srcs): Add tst-printfsz-islongdouble.
12171 (tests-special) Add $(objpfx)tst-printfsz-islongdouble.out.
12172 ($(objpfx)tst-printfsz-islongdouble.out): New build and run rule.
12173 * stdio-common/tst-printfsz-islongdouble.c: New file.
12174 * stdio-common/tst-printfsz-islongdouble.sh: Likewise.
12175 * sysdeps/ieee754/ldbl-128ibm-compat/Makefile:
12176 [subdir == stdio-common] (routines): Add ieee128-printf_size.
12177 [subdir == stdio-common] (tests-internal): Add
12178 test-printf-size-ieee128, and test-printf-size-ibm128.
12179 [subdir == stdio-common] (CFLAGS-test-printf-size-ieee128.c)
12180 (CFLAGS-test-printf-size-ibm128.c): New variables.
12181 [subdir == stdio-common] (tests-special): Add
12182 $(objpfx)test-printf-size-ieee128.out and
12183 $(objpfx)test-printf-size-ibm128.out.
12184 [subdir == stdio-common] ($(objpfx)test-printf-size-ieee128.out)
12185 ($(objpfx)test-printf-size-ibm128.out): New build and run rules.
12186 * sysdeps/ieee754/ldbl-128ibm-compat/Versions (libc): Add
12187 __printf_sizeieee128.
12188 * sysdeps/ieee754/ldbl-128ibm-compat/ieee128-printf_size.c:
12190 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ibm128.c:
12192 * sysdeps/ieee754/ldbl-128ibm-compat/test-printf-size-ieee128.c:
12195 2018-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
12197 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Use uint32_t.
12198 (exp2f_inline): Likewise.
12199 * sysdeps/ieee754/flt-32/math_config.h (__math_oflowf): Likewise.
12200 (__math_uflowf): Likewise.
12201 (__math_may_uflowf): Likewise.
12202 (__math_divzerof): Likewise.
12203 (__math_invalidf): Likewise.
12204 * sysdeps/ieee754/flt-32/math_errf.c (xflowf): Likewise.
12205 (__math_oflowf): Likewise.
12206 (__math_uflowf): Likewise.
12207 (__math_may_uflowf): Likewise.
12208 (__math_divzerof): Likewise.
12209 (__math_invalidf): Likewise.
12211 2018-06-29 DJ Delorie <dj@redhat.com>
12212 Carlos O'Donell <carlos@redhat.com>
12215 * include/libc-symbols.h: Comment the freeres framework.
12216 * include/set-hooks.h: Include libc-symbols.h. Fix comment.
12217 * dlfcn/Makefile (libdl-routines): Add dlfreeres.
12218 * dlfcn/Versions (GLIBC_PRIVATE): Add __libdl_freeres.
12219 * dlfcn/dlerror.c: Include libc-symbols.h
12220 (__dlerror_main_freeres): New function.
12221 * dlfcn/dlfreeres.c: New file.
12222 * dlfcn/sdlfreeres.c: New file.
12223 * include/dlfcn.h: Declare __dlerror_main_freeres.
12224 * malloc/set-freeres.c: Declare __libdl_freeres, and
12225 __libpthread_freeres.
12226 (__libc_subfreeres): Call __libdl_freeres, and __libpthread_freeres if
12227 the releavant libraries are loaded.
12228 * malloc/thread-freeres.c: Add comments.
12229 * nptl/Makefile (libpthread-routines): Add nptlfreeres.
12230 * nptl/Version (GLIBC_PRIVATE): Add __libpthread_freeres.
12231 * nptl/allocatestack.c (__nptl_free_stacks): New function.
12232 (__free_stacks): Rename to...
12233 (free_stacks): ...this. Mark static.
12234 (queue_stack): Call free_stacks.
12235 * nptl/libc_pthread_init.c [SHARED] (freeres_libpthread): Delete.
12236 * nptl/nptl-init.c: Delete delcaration of nptl_freeres.
12237 * sysdeps/nptl/pthread-functions.h (pthread_functions): Remove
12238 ptr_freeres element from struct.
12239 (pthread_functions): Remove .ptr_freeres from struct initializer.
12240 [SHARED] (nptl_freeres): Remove.
12241 * nptl/nptlfreeres.c: New file.
12243 [IS_IN (libpthread) && SHARED ] (__unwind_freeres): Rename to...
12244 [IS_IN (libpthread)] (__nptl_unwind_freeres): ...this. Mark
12246 (__free_stacks): Rename to...
12247 (__nptl_stacks_freeres): ...this.
12248 (__shm_directory_freeres): Declare.
12249 * nptl/unwind-forcedunwind.c (__unwind_freeres): Rename to...
12250 (__nptl_unwind_freeres): ...this.
12251 * resolv/res-close.c: Add comment.
12252 * resolv/resolv_conf.c: Include libc-symbols.h.
12253 * string/strerror_l.c: Include libc-symbols.h.
12254 * sunrpc/rpc_thread.c: Include libc-symbols.h.
12255 * sysdeps/mach/strerror_l.c: Inlcude libc-symbols.h
12256 * sysdeps/unix/sysv/linux/shm-directory.c (freeit): Rename to...
12257 [IS_IN (libpthread)] (__shm_directory_freeres): ...this.
12259 2018-06-29 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12261 * stdlib/tst-strfmon_l.c: Add tests for long double.
12263 2018-06-29 Michael Wolf <milupo@sorbzilla.de>
12266 * localedata/SUPPORTED (dsb_DE/UTF-8): New entry.
12267 * localedata/locales/dsb_DE: New file.
12269 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12272 * localedata/locales/hy_AM (mon): Synchronize with CLDR (lowercase,
12274 (alt_mon): New entry, import from CLDR (nominative case).
12276 2018-06-29 Sylvain Lesage <severo@rednegra.net>
12279 * localedata/locales/es_BO (LC_PAPER): Change to “copy "en_US"”.
12281 2018-06-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
12283 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
12284 Use vector registers.
12286 * sysdeps/aarch64/multiarch/memmove_falkor.S
12287 (__memcpy_falkor): Use vector registers.
12289 2018-06-29 Martin Sebor <msebor@redhat.com>
12291 * manual/stdio.texi (Customizing Printf): Mention interaction
12292 with GCC built-ins.
12294 2018-06-29 Maciej W. Rozycki <macro@mips.com>
12297 * elf/dl-lookup.c (check_match): Do not reject a symbol whose
12298 `st_value' is 0 if `st_shndx' is SHN_ABS.
12299 * elf/tst-absolute-zero.c: New file.
12300 * elf/tst-absolute-zero-lib.c: New file.
12301 * elf/tst-absolute-zero-lib.lds: New file.
12302 * elf/Makefile (tests): Add `tst-absolute-zero'.
12303 (modules-names): Add `tst-absolute-zero-lib'.
12304 (LDLIBS-tst-absolute-zero-lib.so): New variable.
12305 ($(objpfx)tst-absolute-zero-lib.so): New dependency.
12306 ($(objpfx)tst-absolute-zero: New dependency.
12308 2018-06-29 Zack Weinberg <zackw@panix.com>
12310 * configure.ac: New command-line option --disable-crypt.
12311 Force --disable-nss-crypt when --disable-crypt is given, with a
12312 warning if it was explicitly enabled.
12313 * configure: Regenerate.
12314 * config.make.in: New boolean substitution variable $(build-crypt).
12315 * Makeconfig: Only include 'crypt' in all-subdirs and rpath-dirs
12316 when $(build-crypt).
12317 * manual/install.texi: Document --disable-crypt.
12318 * INSTALL: Regenerate.
12320 * crypt/Makefile: Remove code conditional on $(crypt-in-libc),
12321 which is never set.
12322 * conform/Makefile: Only include libcrypt.a in
12323 linknamespace-libs-xsi and linknamespace-libs-XPG4
12324 when $(build-crypt).
12325 * elf/Makefile (CFLAGS-tst-linkall-static.c): Only define
12326 USE_CRYPT to 1 when $(build-crypt).
12327 (tst-linkall-static): Only link libcrypt.a when $(build-crypt).
12328 (localplt-built-dso): Only add libcrypt.so when $(build-crypt).
12329 * elf/tst-linkall-static.c: Only include crypt.h when USE_CRYPT.
12331 2018-06-29 Zack Weinberg <zackw@panix.com>
12333 * crypt/crypt.h, posix/unistd.h: Update comments and
12334 prototypes for crypt and crypt_r.
12336 * manual/crypt.texi (Cryptographic Functions): New initial
12338 (crypt): Section renamed to 'Passphrase Storage'. Full rewrite.
12339 (Unpredictable Bytes): Improve initial exposition. Clarify error
12340 behavior of getentropy and getrandom.
12341 * manual/examples/genpass.c: Generate a salt using getentropy
12342 instead of the current time. Use hash $5$ (SHA-2-256).
12343 * manual/examples/testpass.c: Demonstrate validation against
12344 hashes generated with three different one-way functions.
12346 * manual/intro.texi: crypt.texi does not need an overview
12349 * manual/nss.texi, manual/memory.texi, manual/socket.texi
12350 * manual/terminal.texi: Consistently refer to "passphrases"
12351 * instead of "passwords", and to the "user database" instead
12352 * of the "password database".
12353 * manual/users.texi: Similarly. Add notes about how actual
12354 passphrase hashes are now stored in the shadow database.
12355 Remove 20-year-old junk todo note.
12357 2018-06-29 Zack Weinberg <zackw@panix.com>
12359 * manual/crypt.texi: Use a normal top-level @node declaration.
12360 Move most of the introductory text to the 'crypt' section.
12361 Move the example programs below the @deftypefun for 'crypt_r'.
12362 Move the 'getpass' section...
12363 * manual/terminal.texi: ...here.
12365 2018-06-29 Zack Weinberg <zackw@panix.com>
12366 Florian Weimer <fweimer@redhat.com>
12368 * posix/unistd.h: Do not declare encrypt.
12369 (_XOPEN_CRYPT): Remove macro definition.
12370 (crypt): Declare only for _USE_MISC.
12371 * stdlib/stdlib.h: Do not declare setkey.
12372 * crypt/crypt.h: Do not declare encrypt, setkey, encrypt_r, setkey_r.
12373 * sunrpc/Makefile: Do not install des_crypt.h nor rpc_des.h.
12375 * crypt/crypt-entry.c: Make fcrypt a compat symbol.
12376 * crypt/crypt_util.c: Make encrypt, encrypt_r, setkey, setkey_r
12377 into compat symbols. Don't define initial_perm if it's not
12379 * crypt/cert.c: Link explicitly with the expected versions for
12380 setkey and encrypt. If they are not available at all, mark
12381 the test as unsupported.
12383 * sunrpc/des_crypt.c: Unconditionally block linkage with
12384 cbc_crypt and ecb_crypt for new binaries.
12385 * sunrpc/des_soft.c: Unconditionally block linkage with
12386 des_setparity for new binaries.
12388 * manual/crypt.texi: Remove the entire "DES Encryption"
12389 section. Also remove the paragraph talking about FIPS 140-2
12390 from the introduction.
12391 * manual/string.texi (strfry, memfrob): Revise. Recommend use
12392 of libgcrypt for "real" encryption, not DES.
12393 * manual/conf.texi (Constants for Sysconf): Mention that
12394 _XOPEN_CRYPT is no longer impelemented.
12396 * conform/data/unistd.h-data: Remove crypt function declaration.
12398 2018-06-29 Florian Weimer <fweimer@redhat.com>
12401 * malloc/hooks.c: Update comments on restoring of dumped heaps.
12402 (disallow_malloc_check): Remove variable.
12403 (__malloc_check_init): Adjust.
12404 (malloc_set_state): Update comment.
12405 * malloc/malloc.c (__malloc_get_state, __malloc_set_state): Remove
12408 2018-06-29 Rafal Luzynski <digitalfreak@lingonborough.com>
12411 * localedata/locales/ast_ES (mon): Rename to...
12413 (mon): Import from CLDR (genitive case).
12415 2018-06-29 Daniel Alvarez <dalvarez@redhat.com>
12416 Jakub Sitnicki <jkbs@redhat.com>
12419 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Retry
12420 on NLM_F_DUMP_INTR.
12422 2018-06-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
12424 * manual/llio.texi: Remove spurious space.
12426 2018-06-28 Florian Weimer <fweimer@redhat.com>
12429 * time/bits/types/struct_timespec.h: Change header inclusion guard to
12432 2018-06-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12434 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: Add __strfromieee128,
12435 __strtoieee128, __strtoieee128_l,__wcstoieee128 and __wcstoieee128_l.
12436 * sysdeps/ieee754/ldbl-128ibm-compat/strfromf128.c: New file.
12437 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128.c: New file.
12438 * sysdeps/ieee754/ldbl-128ibm-compat/strtof128_l.c: New file.
12439 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128.c: New file.
12440 * sysdeps/ieee754/ldbl-128ibm-compat/wcstof128_l.c: New file.
12442 2018-06-27 Maciej W. Rozycki <macro@mips.com>
12445 * nis/nss_nisplus/nisplus-parser.c (_nss_nisplus_parse_pwent):
12446 Copy and null-terminate entries that are not terminated, in
12447 addition to empty ones.
12449 2018-06-27 Florian Weimer <fweimer@redhat.com>
12452 * include/alloca.h (stackinfo_alloca_round, extend_alloca)
12453 (extend_alloca_account): Remove.
12454 * manual/stdio.texi (Variable Arguments Output): Update comment.
12456 2018-06-27 Joseph Myers <joseph@codesourcery.com>
12458 * nptl/sockperf.c: Remove file.
12460 2018-06-27 Florian Weimer <fweimer@redhat.com>
12463 * elf/dl-deps.c (_dl_map_object_deps): Use struct
12464 scratch_buffer instead of extend_alloca.
12466 2018-06-27 Florian Weimer <fweimer@redhat.com>
12469 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Use struct
12470 scratch_buffer instead of extend_alloca. Update comments.
12472 2018-06-27 Florian Weimer <fweimer@redhat.com>
12475 * posix/wordexp.c (parse_tilde): Use struct scratch_buffer
12476 instead of extend_alloca.
12478 2018-06-26 Joseph Myers <joseph@codesourcery.com>
12481 * posix/Makefile (CFLAGS-tst-spawn3.c): New variable.
12482 * posix/tst-spawn3.c (do_test): Put tst-spwan3.pid in OBJPFX, not
12484 * scripts/test-installation.pl: Put temporary files in build
12485 directory, not /tmp.
12486 * stdio-common/Makefile (CFLAGS-bug3.c): New variable.
12487 (CFLAGS-bug4.c): Likewise.
12488 (CFLAGS-bug5.c): Likewise.
12489 (CFLAGS-test-fseek.c): Likewise.
12490 (CFLAGS-test-popen.c): Likewise.
12491 (CFLAGS-test_rdwr.c): Likewise.
12492 * stdio-common/bug3.c (main): Put temporary file in OBJPFX, not
12494 * stdio-common/bug4.c (main): Likewise.
12495 * stdio-common/bug5.c (main): Likewise.
12496 * stdio-common/test-fseek.c (TESTFILE): Likewise.
12497 * stdio-common/test-popen.c (do_test): Likewise.
12498 * stdio-common/test_rdwr.c (main): Likewise.
12500 2018-06-26 Patsy Franklin <pfrankli@redhat.com>
12502 * nptl/sem_open.c [!__HAVE_64B_ATOMICS] (sem_open): Don't update pad.
12503 (sem_open): Set sem.newsem.pad to zero for valgrind.
12505 2018-06-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12508 * NEWS: Mention fcntl64 addition.
12509 * csu/check_fds.c: Replace __fcntl_nocancel by __fcntl64_nocancel.
12510 * login/utmp_file.c: Likewise.
12511 * sysdeps/posix/fdopendir.c: Likewise.
12512 * sysdeps/posix/opendir.c: Likewise.
12513 * sysdeps/unix/pt-fcntl.c: Likewise.
12514 * include/fcntl.h (__libc_fcntl64, __fcntl64,
12515 __fcntl64_nocancel_adjusted): New prototype.
12516 (__fcntl_nocancel_adjusted): Remove prototype.
12517 * io/Makefile (routines): Add fcntl64.
12518 (CFLAGS-fcntl64.c): New rule.
12519 * io/Versions [GLIBC_2.28] (fcntl64): New symbol.
12520 [GLIBC_PRIVATE] (__libc_fcntl): Rename to __libc_fcntl64.
12521 * io/fcntl.h (fcntl64): Add prototype and redirect if
12522 __USE_FILE_OFFSET64 is defined.
12523 * io/fcntl64.c: New file.
12524 * manual/llio.text: Add a note for which commands fcntl acts a
12525 cancellation point.
12526 * nptl/Makefile (CFLAGS-fcntl64.c): New rule.
12527 * sysdeps/mach/hurd/fcntl.c: Alias fcntl to fcntl64 symbols.
12528 * sysdeps/mach/hurd/i386/libc.abilist [GLIBC_2.28] (fcntl, fcntl64):
12530 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Fix F_GETLK64,
12531 F_OFD_GETLK, F_SETLK64, F_SETLKW64, F_OFD_SETLK, and F_OFD_SETLKW for
12533 * sysdeps/unix/sysv/linux/fcntl64.c: New file.
12534 * sysdeps/unix/sysv/linux/fcntl_nocancel.c (__fcntl_nocancel): Rename
12535 to __fcntl64_nocancel.
12536 (__fcntl_nocancel_adjusted): Rename to __fcntl64_nocancel_adjusted.
12537 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Rename
12538 to __fcntl64_nocancel.
12539 * sysdeps/generic/not-cancel.h: Likewise.
12540 * sysdeps/unix/sysv/linux/tst-ofdlocks.c: New file.
12541 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-ofdlocks.
12542 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.28]
12543 (fcntl64): New symbol.
12544 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12545 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12546 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12548 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12549 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
12550 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12551 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12552 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12553 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12554 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.28] (fcntl,
12555 fcntl64): Likewise.
12556 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12557 * sysdeps/unix/sysv/linux/i386/libc.abilis: Likewise.
12558 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12559 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12560 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12561 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12562 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12563 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12564 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12569 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12570 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12571 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12573 2018-06-26 Florian Weimer <fweimer@redhat.com>
12575 Run thread shutdown functions in an explicit order.
12576 * malloc/thread-freeres.c (__libc_thread_subfreeres): Remove hook
12578 (__libc_thread_freeres): Call thread shutdown functions
12580 * include/rpc/rpc.h (__rpc_thread_destroy): Add hidden attribute.
12581 * include/string.h (__strerror_thread_freeres): Declare.
12582 * malloc/arena.c (__malloc_arena_thread_freeres): Renamed from
12583 arena_thread_freeres. No longer static. Remove thread shutdown
12585 * malloc/malloc-internal.h (__malloc_arena_thread_freeres):
12587 * resolv/res-close.c (__res_thread_freeres): Renamed from
12588 res_thread_freeres. No longer static. Remove thread shutdown
12590 * resolv/resolv-internal.h (__res_thread_freeres): Declare.
12591 * resolv/resolv_conf.c (freeres): Remove incorrect section
12592 attribute and use libc_freeres_fn.
12593 * string/strerror_l.c (__strerror_thread_freeres): Renamed from
12594 strerror_thread_freeres. No longer static. Remove thread
12595 shutdown hook registration.
12596 * sysdeps/mach/strerror_l.c (__strerror_thread_freeres): Likewise.
12597 * sunrpc/rpc_thread.c (__rpc_thread_destroy): Remove thread
12598 shutdown hook registration.
12599 * Makerules (shlib.lds): Do not provide section boundary symbols
12600 for __libc_thread_subfreeres.
12601 * manual/memory.texi (Basic Allocation): Update comment.
12603 2018-06-26 Florian Weimer <fweimer@redhat.com>
12605 Remove always-defined _RPC_THREAD_SAFE_ macro.
12606 * sunrpc/Makefile (sunrpc-CPPFLAGS, CPPFLAGS, BUILD_CPPFLAGS):
12607 Do not define _RPC_THREAD_SAFE_.
12608 * include/rpc/rpc.h: Remove _RPC_THREAD_SAFE_ preprocessor
12610 * sunrpc/clnt_perr.c: Likewise.
12611 * sunrpc/clnt_raw.c: Likewise.
12612 * sunrpc/clnt_simp.c: Likewise.
12613 * sunrpc/key_call.c: Likewise.
12614 * sunrpc/rpc_common.c: Likewise.
12615 * sunrpc/rpc_main.c: Likewise.
12616 * sunrpc/rpc_thread.c: Likewise.
12617 * sunrpc/svc.c: Likewise.
12618 * sunrpc/svc_raw.c: Likewise.
12619 * sunrpc/svc_simple.c: Likewise.
12620 * sumrpc/svcauth_des.c: Likewise.
12622 2018-06-26 Florian Weimer <fweimer@redhat.com>
12624 * libio/Makefile (tests-internal): Add tst-vtables,
12625 tst-vtables-interposed.
12626 * libio/tst-vtables.c: New file.
12627 * libio/tst-vtables-common.c: Likewise.
12628 * libio/tst-vtables-interposed.c: Likewise.
12630 2018-06-26 Florian Weimer <fweimer@redhat.com>
12632 * support/support_test_main.c (support_test_main): Only call
12633 setvbuf if not disables.
12634 * support/test-driver.c (main): Check TEST_NO_SETVBUF.
12635 * support/test-driver.h (struct test_config): Add no_setvbuf member.
12637 2018-06-26 Florian Weimer <fweimer@redhat.com>
12640 * libio/vtables.c (check_stdfiles_vtables): New ELF constructor.
12642 2018-06-25 Florian Weimer <fweimer@redhat.com>
12645 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
12646 Use struct scratch_buffer instead of extend_alloca.
12648 2018-06-25 Florian Weimer <fweimer@redhat.com>
12651 * nss/getent.c (initgroups_keys): Use dynarray instead of
12654 2018-06-25 Florian Weimer <fweimer@redhat.com>
12657 * nis/nss_nis/nis-initgroups.c (get_uid, _nss_nis_initgroups_dyn):
12658 Use struct scratch_buffer instead of extend_alloca.
12660 2018-06-25 Florian Weimer <fweimer@redhat.com>
12663 * nss/nss_compat/compat-initgroups.c (getgrent_next_nss): Fall
12664 back to malloc directly, without stack allocations.
12666 2018-06-25 Florian Weimer <fweimer@redhat.com>
12669 * nscd/aicache.c (addhstaiX): Use struct scratch_buffer instead
12672 2018-06-25 Florian Weimer <fweimer@redhat.com>
12675 * nscd/grpcache.c (addgrbyX): Use struct scratch_buffer instead
12677 * nscd/hstcache.c (addhstbyX): Likewise.
12678 * nscd/pwdcache.c (addpwbyX): Likewise.
12679 * nscd/servicescache.c (addservbyX): Likewise.
12681 2018-06-25 Florian Weimer <fweimer@redhat.com>
12684 * nscd/connections.c (read_cmdline): New function.
12685 (restart): Use it. Update comment.
12687 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12690 * localedata/locales/csb_PL (mon): Rename to...
12692 (abmon): Rename to...
12693 (ab_alt_mon): This.
12694 (mon): Add with proper genitive forms, copy from Wikipedia.
12697 2018-06-25 Rafal Luzynski <digitalfreak@lingonborough.com>
12700 * localedata/locales/csb_PL (mon): Fix typos:
12701 "łżëkwiôt" -> "łżëkwiat" (April); "lëpinc" -> "lëpińc" (July).
12702 (yesstr): Add, value is "jo".
12703 (nostr): Add, value is "nié".
12705 2018-06-22 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12707 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Set as the generic file for
12708 all log1p and significand functions on m680x0.
12709 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_log1p.c instead
12710 of s_significand.c..
12711 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
12712 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Likewise.
12713 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Likewise.
12714 * sysdeps/m68k/m680x0/fpu/s_significand.c: Move all the code to
12715 s_log1p.c and include it..
12717 2018-06-21 Vincent Chen <vincentc@andestech.com>
12719 * elf/elf.h (R_NDS32_NONE): New define.
12720 (R_NDS32_32_RELA): Likewise.
12721 (R_NDS32_COPY): Likewise.
12722 (R_NDS32_GLOB_DAT): Likewise.
12723 (R_NDS32_JUMP_SLOT): Likewise.
12724 (R_NDS32_RELATIVE): Likewise.
12725 (R_NDS32_TLS_TPOFF): Likewise.
12726 (R_NDS32_TLS_DESC): Likewise.
12728 2018-06-21 Mark Wielaard <mark@klomp.org>
12730 * elf/elf.h (R_BPF_MAP_FD): Removed.
12731 (R_BPF_64_64, R_BPF_64_32): New.
12733 2018-06-21 Florian Weimer <fweimer@redhat.com>
12736 * sysdeps/generic/math_private.h (default_libc_feholdsetround_ctx):
12737 Renamed from libc_feholdsetround_ctx.
12738 (default_libc_feresetround_ctx): Renamed from
12739 libc_feresetround_ctx.
12740 (default_libc_feholdsetround_noex_ctx): Renamed from
12741 libc_feholdsetround_noex_ctx.
12742 (default_libc_feresetround_noex_ctx): Renamed from
12743 libc_feresetround_noex_ctx.
12744 [!HAVE_RM_CTX] (libc_feholdsetround_ctx, libc_feresetround_ctx)
12745 (libc_feholdsetround_noex_ctx, libc_feresetround_noex_ctx): Macros
12746 forwardning to the old implementations under the new names.
12747 * sysdeps/i386/fpu/fenv_private.h [__SSE_MATH__]
12748 (libc_feholdexcept_setround_ctx, libc_fesetenv_ctx)
12749 (libc_feupdateenv_ctx, libc_feholdsetround_ctx)
12750 (libc_feresetround_ctx): Forward to default implements for i386
12751 and MATH_SET_BOTH_ROUNDING_MODES.
12752 * sysdeps/i386/Makefile [$(subdir) == math] (CFLAGS-e_gamma_r.c):
12753 Add -DMATH_SET_BOTH_ROUNDING_MODES.
12755 2018-06-20 Joseph Myers <joseph@codesourcery.com>
12757 * string/tst-cmp.c: Include <libc-diag.h>.
12758 (strncmp_max): Disable -Wstringop-overflow= around call to
12760 (strncasecmp_max): Disable -Wstringop-overflow= around call to
12763 * string/bug-strpbrk1.c: Include <libc-diag.h>.
12764 (main): Disable -Wunused-value around call to strpbrk.
12765 * string/bug-strspn1.c: Include <libc-diag.h>.
12766 (main): Disable -Wunused-value around call to strspn.
12768 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12769 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
12771 * sysdeps/ieee754/ldbl-128ibm-compat/Versions: New file.
12772 * sysdeps/ieee754/ldbl-128ibm-compat/libm-alias-float128.h: New file.
12774 2018-06-20 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
12776 * math/Makefile (libm-calls): Move s_significandF to...
12777 (gen-libm-calls): ... here.
12778 * math/s_significand_template.c: New file.
12779 * math/s_significand.c: Removed.
12780 * math/s_significandf.c: Removed.
12781 * math/s_significandl.c: Removed.
12782 * sysdeps/ieee754/ldbl-opt/s_significand.c: Removed.
12783 * sysdeps/ieee754/ldbl-opt/s_significandl.c: Removed.
12785 * math/e_exp2_template.c (declare_mgen_finite_alias,
12786 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): Move to...
12787 * sysdeps/generic/math-type-macros.h (declare_mgen_finite_alias,
12788 declare_mgen_finite_alias_s, declare_mgen_finite_alias_x): ... here.
12790 2018-06-20 Florian Weimer <fweimer@redhat.com>
12792 * libio/libioP.h (IO_validate_vtable): Avoid ptrdiff_t overflow.
12794 2018-06-19 Joseph Myers <joseph@codesourcery.com>
12797 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Pass sign of
12798 floating-point number to strtod functions rather than possibly
12799 negating result of those functions.
12800 * stdio-common/tst-scanf-round.c: New file.
12801 * stdio-common/Makefile (tests): Add tst-scanf-round.
12802 ($(objpfx)tst-scanf-round): Depend on $(libm).
12804 2018-06-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
12806 * sysdeps/mach/hurd/localplt.data: Move to...
12807 * sysdeps/mach/hurd/i386/localplt.data: new file. Add + REL
12808 R_386_GLOB_DAT like on Linux i386.
12810 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12812 * sysdeps/unix/sysv/linux/alpha/bits/shm.h [__USE_MISC]
12813 (SHM_STAT_ANY): New macro.
12814 * sysdeps/unix/sysv/linux/arm/bits/shm.h [__USE_MISC]
12815 (SHM_STAT_ANY): Likewise.
12816 * sysdeps/unix/sysv/linux/bits/shm.h [__USE_MISC]
12817 (SHM_STAT_ANY): Likewise.
12818 * sysdeps/unix/sysv/linux/generic/bits/shm.h [__USE_MISC]
12819 (SHM_STAT_ANY): Likewise.
12820 * sysdeps/unix/sysv/linux/hppa/bits/shm.h [__USE_MISC]
12821 (SHM_STAT_ANY): Likewise.
12822 * sysdeps/unix/sysv/linux/ia64/bits/shm.h [__USE_MISC]
12823 (SHM_STAT_ANY): Likewise.
12824 * sysdeps/unix/sysv/linux/mips/bits/shm.h [__USE_MISC]
12825 (SHM_STAT_ANY): Likewise.
12826 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h [__USE_MISC]
12827 (SHM_STAT_ANY): Likewise.
12828 * sysdeps/unix/sysv/linux/s390/bits/shm.h [__USE_MISC]
12829 (SHM_STAT_ANY): Likewise.
12830 * sysdeps/unix/sysv/linux/sh/bits/shm.h [__USE_MISC]
12831 (SHM_STAT_ANY): Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/bits/shm.h [__USE_MISC]
12833 (SHM_STAT_ANY): Likewise.
12834 * sysdeps/unix/sysv/linux/x86/bits/shm.h [__USE_MISC]
12835 (SHM_STAT_ANY): Likewise.
12837 * sysdeps/unix/sysv/linux/alpha/bits/sem.h [__USE_MISC]
12838 (SEM_STAT_ANY): New macro.
12839 * sysdeps/unix/sysv/linux/bits/sem.h [__USE_MISC]
12840 (SEM_STAT_ANY): Likewise.
12841 * sysdeps/unix/sysv/linux/generic/bits/sem.h [__USE_MISC]
12842 (SEM_STAT_ANY): Likewise.
12843 * sysdeps/unix/sysv/linux/hppa/bits/sem.h [__USE_MISC]
12844 (SEM_STAT_ANY): Likewise.
12845 * sysdeps/unix/sysv/linux/ia64/bits/sem.h [__USE_MISC]
12846 (SEM_STAT_ANY): Likewise.
12847 * sysdeps/unix/sysv/linux/mips/bits/sem.h [__USE_MISC]
12848 (SEM_STAT_ANY): Likewise.
12849 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h [__USE_MISC]
12850 (SEM_STAT_ANY): Likewise.
12851 * sysdeps/unix/sysv/linux/s390/bits/sem.h [__USE_MISC]
12852 (SEM_STAT_ANY): Likewise.
12853 * sysdeps/unix/sysv/linux/sparc/bits/sem.h [__USE_MISC]
12854 (SEM_STAT_ANY): Likewise.
12855 * sysdeps/unix/sysv/linux/x86/bits/sem.h [__USE_MISC]
12856 (SEM_STAT_ANY): Likewise.
12858 * sysdeps/unix/sysv/linux/alpha/bits/msq.h [__USE_MISC]
12859 (MSG_STAT_ANY): New macro.
12860 * sysdeps/unix/sysv/linux/bits/msq.h [__USE_MISC]
12861 (MSG_STAT_ANY): Likewise.
12862 * sysdeps/unix/sysv/linux/generic/bits/msq.h [__USE_MISC]
12863 (MSG_STAT_ANY): Likewise.
12864 * sysdeps/unix/sysv/linux/hppa/bits/msq.h [__USE_MISC]
12865 (MSG_STAT_ANY): Likewise.
12866 * sysdeps/unix/sysv/linux/ia64/bits/msq.h [__USE_MISC]
12867 (MSG_STAT_ANY): Likewise.
12868 * sysdeps/unix/sysv/linux/mips/bits/msq.h [__USE_MISC]
12869 (MSG_STAT_ANY): Likewise.
12870 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h [__USE_MISC]
12871 (MSG_STAT_ANY): Likewise.
12872 * sysdeps/unix/sysv/linux/s390/bits/msq.h [__USE_MISC]
12873 (MSG_STAT_ANY): Likewise.
12874 * sysdeps/unix/sysv/linux/sparc/bits/msq.h [__USE_MISC]
12875 (MSG_STAT_ANY): Likewise.
12876 * sysdeps/unix/sysv/linux/x86/bits/msq.h [__USE_MISC]
12877 (MSG_STAT_ANY): Likewise.
12879 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
12880 (MAP_TYPE): Change value to 0x2b.
12882 2018-06-18 Florian Weimer <fweimer@redhat.com>
12885 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Create Netlink
12886 socket with SOCK_CLOEXEC.
12888 2018-06-18 Joseph Myers <joseph@codesourcery.com>
12891 * sysdeps/powerpc/powerpc64/le/Makefile
12892 (CFLAGS-tst-strtod-nan-sign.c): Add -mfloat128.
12893 (CFLAGS-tst-wcstod-nan-sign.c): Likewise.
12894 (gnulib-tests): Also add $(f128-loader-link) for
12895 tst-strtod-nan-sign abd tst-wcstod-nan-sign.
12897 2018-06-15 Samuel Thibault <samuel.thibault@ens-lyon.org>
12899 * include/sys/sendfile.h (__sendfile64): Declare hidden prototype.
12900 * sysdeps/mach/hurd/sendfile.c (sendfile): Call __sendfile64 instead
12902 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Rename to __sendfile64.
12903 (sendfile64): New strong alias.
12904 * sysdeps/mach/hurd/lseek.c: Include <errno.h>.
12905 * sysdeps/mach/hurd/lseek.c (__libc_lseek): Check that the value
12906 returned by __lseek64 can fit off_t, return EOVERFLOW otherwise.
12907 * sysdeps/htl/pthreadP.h (___pthread_get_cleanup_stack): Add hidden
12909 * htl/pt-join.c (__pthread_get_cleanup_stack): Define to
12910 ___pthread_get_cleanup_stack.
12911 * sysdeps/mach/hurd/localplt.data (ld.so): Make ref to __open optional.
12912 * sysdeps/mach/include/mach-shortcuts-hidden.h: New file.
12913 * mach/shortcut.awk: Make syscall stubs include
12914 <mach-shortcuts-hidden.h> and add hidden definition.
12915 * sysdeps/mach/include/mach.h: Include <mach-shortcuts-hidden.h>.
12916 (__mach_msg): Add hidden prototype.
12917 * mach/msg.c: Include <mach.h>.
12918 (__mach_msg): Add hidden definition.
12919 * mach/Makefile ($(mach-syscalls:%=$(objpfx))): Add hidden definition.
12920 * sysdeps/mach/include/mach/mach_traps.h (__mach_reply_port,
12921 __mach_thread_self, __mach_task_self, __mach_host_self, __swtch,
12922 __swtch_pri, __thread_switch, __evc_wait): Add hidden prototypes.
12923 * sysdeps/mach/hurd/localplt.data (siglongjmp, longjmp,
12924 __libc_lseek64, _IO_funlockfile): Whitelist PLT references.
12925 * sysdeps/hurd/include/hurd/signal.h (_hurd_self_sigstate): Add hidden
12926 prototype and definition.
12927 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Use
12928 hidden target for _hurd_self_sigstate.
12930 2018-06-15 Joseph Myers <joseph@codesourcery.com>
12933 * stdlib/tst-strtod-nan-sign-main.c: New file.
12934 * stdlib/tst-strtod-nan-sign.c: Likewise.
12935 * wcsmbs/tst-wcstod-nan-sign.c: Likewise.
12936 * stdlib/Makefile (tests): Add tst-strtod-nan-sign.
12937 ($(objpfx)tst-strtod-nan-sign): Depend on $(libm).
12938 * wcsmbs/Makefile (tests) Add tst-wcstod-nan-sign.
12939 ($(objpfx)tst-wcstod-nan-sign): Depend on $(libm).
12941 2018-06-15 Herman ten Brugge <hermantenbrugge@home.nl>
12944 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Return NaN of
12947 2018-06-14 Florian Weimer <fweimer@redhat.com>
12950 * localedata/charmaps/IBM273: Map codepoint 0xbc to U+00AF, so
12951 that the result stays within the ISO-8859-1 range.
12952 * iconvdata/ibm273.c (HAS_HOLES): Define as 0 because all 256
12953 characters are defined in IBM273.
12955 2018-06-14 Samuel Thibault <samuel.thibault@ens-lyon.org>
12957 * sysdeps/mach/include/mach/mach_traps.h (__mach_thread_self,
12958 __mach_task_self): Remove attribute_hidden.
12960 2018-06-14 Joseph Myers <joseph@codesourcery.com>
12962 * string/tester.c (test_strncat) [__GNUC_PREREQ (7, 0)]: Also
12963 ignore -Wrestrict for one test.
12965 2018-06-14 Steve Ellcey <sellcey@caviumnetworks.com>
12966 Szabolcs Nagy <szabolcs.nagy@arm.com>
12968 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: New file.
12970 2018-06-14 Florian Weimer <fweimer@redhat.com>
12972 * scripts/update-abilist.sh: Accept empty list of files to patch.
12974 2018-06-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
12976 * sysdeps/mach/hurd/i386/Makefile (test-xfail-check-abi-libhurduser,
12977 test-xfail-check-abi-libmachuser): Add.
12978 * sysdeps/mach/hurd/localplt.data (ld.so): Add __open64, rename
12979 __libc_read and __libc_write to __read and __write.
12980 * sysdeps/hurd/include/hurd/port.h: New file.
12981 * mach/mach/mach_traps.h (__mach_reply_port, __mach_thread_self,
12982 __mach_task_self, __mach_host_self, __swtch, __swtch_pri,
12983 __thread_switch, __evc_wait): Move declarations to...
12984 * sysdeps/mach/include/mach/mach_traps.h: ... new file, and add
12986 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk): Do not
12987 use PLT to call _hurd_self_sigstate.
12989 2018-06-13 Joseph Myers <joseph@codesourcery.com>
12992 * stdlib/strtod_l.c (round_and_return): Handle an exponent of
12993 MAX_EXP as overflowing.
12994 * stdlib/gen-tst-strtod-round.c (string_to_fp): Clear MPFR
12996 (round_str): Output also whether result overflows in each rounding
12998 * stdlib/tst-strtod-round-data: Add more tests.
12999 * stdlib/tst-strtod-round-data.h: Regenerated.
13000 * stdlib/tst-strtod-round-skeleton.c (_XNTRY): Update comment.
13001 (TEST): Handle extra arguments for overflow flags.
13002 (struct test_overflow): New type.
13003 [!FE_OVERFLOW] (FE_OVERFLOW): Define to 0.
13004 (GEN_ONE_TEST): Clear all exceptions. Test overflow flag.
13005 (test_in_one_mode): Take argument with overflow information.
13006 (do_test): Update calls to test_in_one_mode.
13008 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13010 * elf/dl-load (_dl_dst_substitute): Correct comment.
13011 (_dl_dst_count): Likewise.
13013 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Call
13014 lll_futex_timed_wait.
13016 2018-06-12 Joseph Myers <joseph@codesourcery.com>
13019 * math/bits/mathcalls.h [__USE_ISOC99] (nan): Do not use __const__
13021 * math/test-nan-const.c: New file.
13022 * math/Makefile (tests): Add test-nan-const.
13023 (CFLAGS-test-nan-const.c): New variable.
13025 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13027 * benchtests/scripts/compare_strings.py (process_results): Add
13028 funcs argument. Compare only functions which are selected.
13029 (main): Check if base function is among selected functions.
13030 Pass selected functions to process_results.
13031 (__main__): Add -f/--functions argument.
13033 2018-06-12 Minfeng Kang <minfeng.kang@hxt-semitech.com>
13034 Hongbo Zhang <hongbo.zhang@linaro.org>
13036 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): reuse
13037 __memcpy_falkor for phecda core.
13038 * sysdeps/aarch64/multiarch/memmove.c (libc_ifunc): reuse
13039 __memmove_falkor for phecda core.
13040 * sysdeps/aarch64/multiarch/memset.c (libc_ifunc): reuse
13041 __memset_falkor for phecda core.
13042 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: add MIDR entry
13044 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_PHECDA): add
13045 macro to identify phecda core.
13047 2018-06-12 Carlos O'Donell <carlos@redhat.com>
13048 Andreas Schwab <schwab@suse.de>
13049 Dmitry V. Levin <ldv@altlinux.org>
13050 Florian Weimer <fweimer@redhat.com>
13057 * elf/dl-dst.h: Remove DL_DST_COUNT.
13058 * elf/dl-deps.c (expand_dst): Call _dl_dst_count.
13059 * elf/dl-load.c (is_trusted_path_normalize): Don't handle colons.
13060 (is_dst): Comment. Support ELF gABI.
13061 (_dl_dst_count): Comment. Simplify and count DSTs.
13062 (_dl_dst_substitute): Comment. Support __libc_enable_secure handling.
13063 (expand_dybamic_string_token): Comment. Call _dl_dst_count. Rename
13066 2018-06-12 Zack Weinberg <zackw@panix.com>
13068 * elf/dl-load.c, elf/dl-misc.c, elf/dl-profile.c, elf/rtld.c
13069 * sysdeps/unix/sysv/linux/dl-sysdep.c
13070 Include not-cancel.h. Use __close_nocancel instead of __close,
13071 __open64_nocancel instead of __open, __read_nocancel instead of
13072 __libc_read, and __write_nocancel instead of __libc_write.
13074 * csu/check_fds.c (check_one_fd)
13075 * sysdeps/posix/fdopendir.c (__fdopendir)
13076 * sysdeps/posix/opendir.c (__alloc_dir): Use __fcntl_nocancel
13077 instead of __fcntl and/or __libc_fcntl.
13079 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np)
13080 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np)
13081 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system):
13082 Use __open64_nocancel instead of __open_nocancel.
13084 * sysdeps/unix/sysv/linux/not-cancel.h: Move all of the
13085 hidden_proto declarations to the end and issue them if either
13086 IS_IN(libc) or IS_IN(rtld).
13087 * sysdeps/unix/sysv/linux/Makefile [subdir=io] (sysdep_routines):
13088 Add close_nocancel, fcntl_nocancel, nanosleep_nocancel,
13089 open_nocancel, open64_nocancel, openat_nocancel, pause_nocancel,
13090 read_nocancel, waitpid_nocancel, write_nocancel.
13092 * io/Versions [GLIBC_PRIVATE]: Add __libc_fcntl,
13093 __fcntl_nocancel, __open64_nocancel, __write_nocancel.
13094 * posix/Versions: Add __nanosleep_nocancel, __pause_nocancel.
13096 * nptl/pt-fcntl.c: New file.
13097 * nptl/Makefile (pthread-compat-wrappers): Remove fcntl.
13098 (libpthread-routines): Add pt-fcntl.
13099 * include/fcntl.h (__fcntl_nocancel_adjusted): New function.
13100 (__libc_fcntl): Remove attribute_hidden.
13101 * sysdeps/unix/sysv/linux/fcntl.c (__libc_fcntl): Call
13102 __fcntl_nocancel_adjusted, not fcntl_common.
13103 (__fcntl_nocancel): Move to new file fcntl_nocancel.c.
13104 (fcntl_common): Rename to __fcntl_nocancel_adjusted; also move
13105 to fcntl_nocancel.c.
13106 * sysdeps/unix/sysv/linux/fcntl_nocancel.c: New file.
13107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Remove file.
13108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
13109 Define FCNTL_ADJUST_CMD here, as a self-contained macro.
13111 * sysdeps/unix/sysv/linux/close.c: Move __close_nocancel to...
13112 * sysdeps/unix/sysv/linux/close_nocancel.c: ...this new file.
13113 * sysdeps/unix/sysv/linux/nanosleep.c: Move __nanosleep_nocancel to...
13114 * sysdeps/unix/sysv/linux/nanosleep_nocancel.c: ...this new file.
13115 * sysdeps/unix/sysv/linux/open.c: Move __open_nocancel to...
13116 * sysdeps/unix/sysv/linux/open_nocancel.c: ...this new file.
13117 * sysdeps/unix/sysv/linux/open64.c: Move __open64_nocancel to...
13118 * sysdeps/unix/sysv/linux/open64_nocancel.c: ...this new file.
13119 * sysdeps/unix/sysv/linux/openat.c: Move __openat_nocancel to...
13120 * sysdeps/unix/sysv/linux/openat_nocancel.c: ...this new file.
13121 * sysdeps/unix/sysv/linux/openat64.c: Move __openat64_nocancel to...
13122 * sysdeps/unix/sysv/linux/openat64_nocancel.c: ...this new file.
13123 * sysdeps/unix/sysv/linux/pause.c: Move __pause_nocancel to...
13124 * sysdeps/unix/sysv/linux/pause_nocancel.c: ...this new file.
13125 * sysdeps/unix/sysv/linux/read.c: Move __read_nocancel to...
13126 * sysdeps/unix/sysv/linux/read_nocancel.c: ...this new file.
13127 * sysdeps/unix/sysv/linux/waitpid.c: Move __waitpid_nocancel to...
13128 * sysdeps/unix/sysv/linux/waitpid_nocancel.c: ...this new file.
13129 * sysdeps/unix/sysv/linux/write.c: Move __write_nocancel to...
13130 * sysdeps/unix/sysv/linux/write_nocancel.c: ...this new file.
13132 * sysdeps/unix/sysv/linux/nios2/Makefile: Don't override
13133 libpthread-routines.
13134 * sysdeps/unix/sysv/linux/nios2/pt-vfork.S: New file which
13137 * sysdeps/mach/hurd/dl-sysdep.c: Define __read instead of
13138 __libc_read, and __write instead of __libc_write. Define
13139 __open64 in addition to __open.
13141 2018-06-12 H.J. Lu <hongjiu.lu@intel.com>
13145 * sysdeps/i386/nptl/tls.h (tcbhead_t): Change __private_tm[4]
13146 to _private_tm[3] and add __glibc_reserved2.
13147 Add _Static_assert of offset of __private_ss == 0x30.
13148 * sysdeps/x86_64/nptl/tls.h: Add _Static_assert of offset of
13149 __private_ss == 0x40 for ILP32 and == 0x70 for LP64.
13151 2018-06-12 Florian Weimer <fweimer@redhat.com>
13153 x86: Make strncmp usable from rtld.
13154 * sysdeps/i386/i686/multiarch/strncmp-c.c: Only rename strncmp to
13155 __strncmp_ia32 if in libc (and not in rtld).
13156 * sysdeps/x86_64/multiarch/strncmp-sse2.S: Rename strcmp to
13157 strncmp if not in libc (and not to __strncmp_sse2).
13159 2018-06-12 Rafal Luzynski <digitalfreak@lingonborough.com>
13162 * localedata/locales/gd_GB (mon): Rename to...
13164 (mon): Import from CLDR (genitive case).
13165 * localedata/locales/hsb_DE (mon): Rename to...
13167 (mon): Import from CLDR (genitive case).
13168 * localedata/locales/wa_BE (mon): Rename to...
13170 (mon): Add, fill with the proper genitive forms, but CLDR data
13171 is incomplete; completed according to the comments in this file.
13172 (d_t_fmt): Do not use "di" before the month name, no longer needed.
13174 * localedata/locales/wa_BE (country_name): Reword
13175 "Beljike" -> "Beldjike".
13177 2018-06-11 Joseph Myers <joseph@codesourcery.com>
13180 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Start by handling all
13181 cases of non-finite arguments.
13182 * math/libm-test-fma.inc (fma_test_data): Add more tests.
13184 2018-06-10 John David Anglin <danglin@gcc.gnu.org>
13187 * sysdeps/unix/sysv/linux/hppa/Makefile: xfail check-execstack.
13189 2018-06-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13192 * include/unistd.h (__execvpex): New prototype.
13193 * posix/Makefile (tests): Add tst-spawn4.
13194 (tests-internal): Add tst-spawn4-compat.
13195 * posix/execvpe.c (__execvpe_common, __execvpex): New functions.
13196 * posix/tst-spawn4-compat.c: New file.
13197 * posix/tst-spawn4.c: Likewise.
13198 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Do not interpret invalid
13199 binaries as shell scripts.
13200 * sysdeps/posix/spawni.c (__spawni): Likewise.
13202 2018-06-08 H.J. Lu <hongjiu.lu@intel.com>
13205 * elf/Makefile (tests-special): Add $(objpfx)check-initfini.out.
13206 ($(all-built-dso:=.dynsym): New target.
13207 (common-generated): Add $(all-built-dso:$(common-objpfx)%=%.dynsym).
13208 ($(objpfx)check-initfini.out): New target.
13209 (generated): Add check-initfini.out.
13210 * scripts/check-initfini.awk: New file.
13211 * sysdeps/aarch64/crti.S (_init): Mark as hidden.
13213 * sysdeps/alpha/crti.S (_init): Mark as hidden.
13215 * sysdeps/arm/crti.S (_init): Mark as hidden.
13217 * sysdeps/hppa/crti.S (_init): Mark as hidden.
13219 * sysdeps/i386/crti.S (_init): Mark as hidden.
13221 * sysdeps/ia64/crti.S (_init): Mark as hidden.
13223 * sysdeps/m68k/crti.S (_init): Mark as hidden.
13225 * sysdeps/microblaze/crti.S (_init): Mark as hidden.
13227 * sysdeps/mips/mips32/crti.S (_init): Mark as hidden.
13229 * sysdeps/mips/mips64/n32/crti.S (_init): Mark as hidden.
13231 * sysdeps/mips/mips64/n64/crti.S (_init): Mark as hidden.
13233 * sysdeps/nios2/crti.S (_init): Mark as hidden.
13235 * sysdeps/powerpc/powerpc32/crti.S (_init): Mark as hidden.
13237 * sysdeps/powerpc/powerpc64/crti.S (_init): Mark as hidden.
13239 * sysdeps/s390/s390-32/crti.S (_init): Mark as hidden.
13241 * sysdeps/s390/s390-64/crti.S (_init): Mark as hidden.
13243 * sysdeps/sh/crti.S (_init): Mark as hidden.
13245 * sysdeps/sparc/crti.S (_init): Mark as hidden.
13247 * sysdeps/x86_64/crti.S (_init): Mark as hidden.
13250 2018-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13252 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c
13253 [__HAVE_FLOAT128_UNLIKE_LDBL] (TFtype, TF): Restrict TFtype
13254 and TF redirection to KFtype and KF only when the default
13255 long double type is not the IEEE 128-bit floating point type.
13257 2018-06-05 Joseph Myers <joseph@codesourcery.com>
13259 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DIT): New
13261 (HWCAP_USCAT): Likewise.
13262 (HWCAP_ILRCPC): Likewise.
13263 (HWCAP_FLAGM): Likewise.
13264 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
13266 (_dl_aarch64_cap_flags): Add new flag names.
13268 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
13269 (MAP_FIXED_NOREPLACE): New macro.
13270 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_MISC]
13271 (MAP_FIXED_NOREPLACE): Likewise.
13272 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC]
13273 (MAP_FIXED_NOREPLACE): Likewise.
13274 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13275 (MAP_FIXED_NOREPLACE): Likewise.
13276 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
13277 (MAP_FIXED_NOREPLACE): Likewise.
13278 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
13279 (MAP_FIXED_NOREPLACE): Likewise.
13280 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
13281 (MAP_FIXED_NOREPLACE): Likewise.
13282 * sysdeps/unix/sysv/linux/mips/bits/mman.h [__USE_MISC]
13283 (MAP_FIXED_NOREPLACE): Likewise.
13284 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
13285 (MAP_FIXED_NOREPLACE): Likewise.
13286 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h [__USE_MISC]
13287 (MAP_FIXED_NOREPLACE): Likewise.
13288 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
13289 (MAP_FIXED_NOREPLACE): Likewise.
13290 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
13291 (MAP_FIXED_NOREPLACE): Likewise.
13292 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC]
13293 (MAP_FIXED_NOREPLACE): Likewise.
13294 * sysdeps/unix/sysv/linux/sparc/bits/mman.h [__USE_MISC]
13295 (MAP_FIXED_NOREPLACE): Likewise.
13296 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC]
13297 (MAP_FIXED_NOREPLACE): Likewise.
13299 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
13302 2018-06-04 Joseph Myers <joseph@codesourcery.com>
13304 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
13307 2018-06-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
13309 * bits/shm.h (struct shmid_ds): Make shm_segsz field size_t instead of
13311 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Likewise.
13313 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13315 * benchtests/scripts/compare_string.py: (process_results) Catch
13316 exception in non-existent base_func and catch exception in
13317 non-existent attribute.
13318 (parse_file) Catch exception if input file does not exist.
13320 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13322 * benchtests/scripts/compare_string.py: Add --no-diff and --no-header
13323 options to avoid diff calculation and omit header, respectively.
13324 (main): process --no-diff and --no-header
13326 2018-06-01 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13327 H.J. Lu <hongjiu.lu@intel.com>
13329 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13330 strcmp-avx2, strncmp-avx2, wcscmp-avx2, wcscmp-sse2, wcsncmp-avx2 and
13332 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13333 (__libc_ifunc_impl_list): Add tests for __strcmp_avx2,
13334 __strncmp_avx2, __wcscmp_avx2, __wcsncmp_avx2, __wcscmp_sse2
13335 and __wcsncmp_sse2.
13336 * sysdeps/x86_64/multiarch/strcmp.c (OPTIMIZE (avx2)):
13337 (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX 2 machines if
13338 AVX unaligned load is fast and vzeroupper is preferred.
13339 * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
13340 * sysdeps/x86_64/multiarch/strcmp-avx2.S: New file.
13341 * sysdeps/x86_64/multiarch/strncmp-avx2.S: Likewise.
13342 * sysdeps/x86_64/multiarch/wcscmp-avx2.S: Likewise.
13343 * sysdeps/x86_64/multiarch/wcscmp-sse2.S: Likewise.
13344 * sysdeps/x86_64/multiarch/wcscmp.c: Likewise.
13345 * sysdeps/x86_64/multiarch/wcsncmp-avx2.S: Likewise.
13346 * sysdeps/x86_64/multiarch/wcsncmp-sse2.c: Likewise.
13347 * sysdeps/x86_64/multiarch/wcsncmp.c: Likewise.
13348 * sysdeps/x86_64/wcscmp.S (__wcscmp): Add alias only if __wcscmp
13351 2018-06-01 Florian Weimer <fweimer@redhat.com>
13353 * sysdeps/i386/fpu/libm-test-ulps: Update with results from
13354 configuring with --disable-multi-arch, building with
13355 “-march=x86-64 -mtune=generic -mfpmath=sse” and running on a
13358 2018-06-01 Florian Weimer <fweimer@redhat.com>
13360 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update with
13361 results from building with “-march=x86-64 -mtune=generic
13362 -mfpmath=sse” and running on a Haswell-era CPU.
13364 2018-06-01 Joseph Myers <joseph@codesourcery.com>
13367 * soft-fp/sqrttf2.c: Remove file.
13368 * soft-fp/sqrtdf2.c: Move to ....
13369 * sysdeps/powerpc/nofpu/sqrtdf2.c: ... here. Include
13371 (__sqrtdf2): Make conditional on
13372 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13374 * soft-fp/sqrtsf2.c: Move to ....
13375 * sysdeps/powerpc/nofpu/sqrtsf2.c: ... here. Include
13377 (__sqrtsf2): Make conditional on
13378 [SHLIB_COMPAT (libc, GLIBC_2_3_2, GLIBC_2_28)]. Define as compat
13380 * soft-fp/Makefile (gcc-single-routines): Remove sqrtsf2.
13381 (gcc-double-routines): Remove sqrtdf2.
13382 (gcc-quad-routines): Remove sqrttf2.
13383 * sysdeps/nios2/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13384 Do not filter out sqrtsf2 and sqrtdf2.
13385 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
13386 (sysdep_routines): Add sqrtsf2 and sqrtdf2.
13388 2018-06-01 Florian Weimer <fweimer@redhat.com>
13390 * sysdeps/generic/libcidn.abilist: Remove file.
13392 2018-06-01 Florian Weimer <fweimer@redhat.com>
13395 * libio/strfile.h (struct _IO_str_fields): Rename members to
13396 discourage their use and add comment.
13397 (_IO_STR_DYNAMIC): Remove unused macro.
13398 * libio/strops.c (_IO_str_init_static_internal): Do not use
13399 callback pointers. Call malloc and free.
13400 (_IO_str_overflow): Do not use callback pointers. Call malloc
13402 (enlarge_userbuf): Likewise.
13403 (_IO_str_finish): Call free.
13404 * libio/wstrops.c (_IO_wstr_init_static): Initialize
13405 _allocate_buffer_unused.
13406 (_IO_wstr_overflow): Do not use callback pointers. Call malloc
13408 (enlarge_userbuf): Likewise.
13409 (_IO_wstr_finish): Call free.
13410 * debug/vasprintf_chk.c (__vasprintf_chk): Initialize
13411 _allocate_buffer_unused, _free_buffer_unused.
13412 * libio/memstream.c (__open_memstream): Likewise.
13413 * libio/vasprintf.c (_IO_vasprintf): Likewise.
13414 * libio/wmemstream.c (open_wmemstream): Likewise.
13416 2018-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
13418 * sysdeps/x86_64/fpu/libm-test-ulps (log_vlen8_avx2): Update for
13421 2018-05-30 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13423 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Makefile: New file to
13424 add w_sqrtf128-power9 and w_sqrtf128-ppc64le to libm-sysdep_routines.
13425 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-power9.c:
13427 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128-ppc64le.c:
13429 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/w_sqrtf128.c: Likewise.
13431 2018-05-29 Florian Weimer <fweimer@redhat.com>
13433 * support/Makefile (libsupport-routines): Add
13434 xpthread_barrierattr_destroy, xpthread_barrierattr_init,
13435 xpthread_barrierattr_setpshared.
13436 * support/xpthread_barrierattr_destroy.c: New file.
13437 * support/xpthread_barrierattr_init.c: Likewise.
13438 * support/xpthread_barrierattr_setpshared.c: Likewise.
13440 2018-05-29 H.J. Lu <hongjiu.lu@intel.com>
13443 * elf/dl-reloc-static-pie.c (_dl_relocate_static_pie): Initialize
13444 _r_debug and update DT_DEBUG for debugger.
13446 2018-05-29 Florian Weimer <fweimer@redhat.com>
13448 * stdlib/Makefile (tst-strtod1i.out): Depend on generated locales.
13449 (tst-strtod5i.out): Likewise.
13451 2018-05-25 Joseph Myers <joseph@codesourcery.com>
13453 * sysdeps/sparc/sparc64/Implies: Remove sparc/sparc64/soft-fp.
13454 * sysdeps/sparc/sparc64/Makefile [$(subdir) = soft-fp]
13455 (sparc64-quad-routines): New variable. Moved from ....
13456 [$(subdir) = soft-fp] (sysdep_routines): Add
13457 $(sparc64-quad-routines). Moved from ....
13458 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp/. Moved from ....
13459 * sysdeps/sparc/sparc64/soft-fp/Makefile: ... here. Remove file.
13460 * sysdeps/sparc/sparc64/Versions (libc): Add GLIBC_2.2 symbols
13462 * sysdeps/sparc/sparc64/soft-fp/Versions: ... here. Remove file.
13463 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: Remove file.
13464 * sysdeps/sparc/sparc64/soft-fp/qp_add.c: Move to ....
13465 * sysdeps/sparc/sparc64/qp_add.c: ... here.
13466 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Move to ....
13467 * sysdeps/sparc/sparc64/qp_cmp.c: ... here.
13468 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Move to ....
13469 * sysdeps/sparc/sparc64/qp_cmpe.c: ... here.
13470 * sysdeps/sparc/sparc64/soft-fp/qp_div.c: Move to ....
13471 * sysdeps/sparc/sparc64/qp_div.c: ... here.
13472 * sysdeps/sparc/sparc64/soft-fp/qp_dtoq.c: Move to ....
13473 * sysdeps/sparc/sparc64/qp_dtoq.c: ... here.
13474 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Move to ....
13475 * sysdeps/sparc/sparc64/qp_feq.c: ... here.
13476 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Move to ....
13477 * sysdeps/sparc/sparc64/qp_fge.c: ... here.
13478 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Move to ....
13479 * sysdeps/sparc/sparc64/qp_fgt.c: ... here.
13480 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Move to ....
13481 * sysdeps/sparc/sparc64/qp_fle.c: ... here.
13482 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Move to ....
13483 * sysdeps/sparc/sparc64/qp_flt.c: ... here.
13484 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Move to ....
13485 * sysdeps/sparc/sparc64/qp_fne.c: ... here.
13486 * sysdeps/sparc/sparc64/soft-fp/qp_itoq.c: Move to ....
13487 * sysdeps/sparc/sparc64/qp_itoq.c: ... here.
13488 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Move to ....
13489 * sysdeps/sparc/sparc64/qp_mul.c: ... here.
13490 * sysdeps/sparc/sparc64/soft-fp/qp_neg.S: Move to ....
13491 * sysdeps/sparc/sparc64/qp_neg.S: ... here.
13492 * sysdeps/sparc/sparc64/soft-fp/qp_qtod.c: Move to ....
13493 * sysdeps/sparc/sparc64/qp_qtod.c: ... here.
13494 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Move to ....
13495 * sysdeps/sparc/sparc64/qp_qtoi.c: ... here.
13496 * sysdeps/sparc/sparc64/soft-fp/qp_qtos.c: Move to ....
13497 * sysdeps/sparc/sparc64/qp_qtos.c: ... here.
13498 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Move to ....
13499 * sysdeps/sparc/sparc64/qp_qtoui.c: ... here.
13500 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Move to ....
13501 * sysdeps/sparc/sparc64/qp_qtoux.c: ... here.
13502 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Move to ....
13503 * sysdeps/sparc/sparc64/qp_qtox.c: ... here.
13504 * sysdeps/sparc/sparc64/soft-fp/qp_sqrt.c: Move to ....
13505 * sysdeps/sparc/sparc64/qp_sqrt.c: ... here.
13506 * sysdeps/sparc/sparc64/soft-fp/qp_stoq.c: Move to ....
13507 * sysdeps/sparc/sparc64/qp_stoq.c: ... here.
13508 * sysdeps/sparc/sparc64/soft-fp/qp_sub.c: Move to ....
13509 * sysdeps/sparc/sparc64/qp_sub.c: ... here.
13510 * sysdeps/sparc/sparc64/soft-fp/qp_uitoq.c: Move to ....
13511 * sysdeps/sparc/sparc64/qp_uitoq.c: ... here.
13512 * sysdeps/sparc/sparc64/soft-fp/qp_util.c: Move to ....
13513 * sysdeps/sparc/sparc64/qp_util.c: ... here.
13514 * sysdeps/sparc/sparc64/soft-fp/qp_uxtoq.c: Move to ....
13515 * sysdeps/sparc/sparc64/qp_uxtoq.c: ... here.
13516 * sysdeps/sparc/sparc64/soft-fp/qp_xtoq.c: Move to ....
13517 * sysdeps/sparc/sparc64/qp_xtoq.c: ... here.
13518 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Move to ....
13519 * sysdeps/sparc/sparc64/sfp-machine.h: ... here.
13521 * sysdeps/sparc/sparc32/Implies: Remove sparc/sparc32/soft-fp.
13522 * sysdeps/sparc/sparc32/Makefile [$(subdir) = soft-fp]
13523 (sparc32-quad-routines): New variable. Moved from ....
13524 [$(subdir) = soft-fp] (sysdep_routines): Add
13525 $(sparc32-quad-routines). Moved from ....
13526 * sysdeps/sparc/sparc32/soft-fp/Makefile: ... here. Remove file.
13527 * sysdeps/sparc/sparc32/Versions (libc): Add GLIBC_2.4 symbols
13529 * sysdeps/sparc/sparc32/soft-fp/Versions: ... here. Remove file.
13530 * sysdeps/sparc/sparc32/soft-fp/q_add.c: Move to ....
13531 * sysdeps/sparc/sparc32/q_add.c: ... here.
13532 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c: Move to ....
13533 * sysdeps/sparc/sparc32/q_cmp.c: ... here.
13534 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c: Move to ....
13535 * sysdeps/sparc/sparc32/q_cmpe.c: ... here.
13536 * sysdeps/sparc/sparc32/soft-fp/q_div.c: Move to ....
13537 * sysdeps/sparc/sparc32/q_div.c: ... here.
13538 * sysdeps/sparc/sparc32/soft-fp/q_dtoq.c: Move to ....
13539 * sysdeps/sparc/sparc32/q_dtoq.c: ... here.
13540 * sysdeps/sparc/sparc32/soft-fp/q_feq.c: Move to ....
13541 * sysdeps/sparc/sparc32/q_feq.c: ... here.
13542 * sysdeps/sparc/sparc32/soft-fp/q_fge.c: Move to ....
13543 * sysdeps/sparc/sparc32/q_fge.c: ... here.
13544 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c: Move to ....
13545 * sysdeps/sparc/sparc32/q_fgt.c: ... here.
13546 * sysdeps/sparc/sparc32/soft-fp/q_fle.c: Move to ....
13547 * sysdeps/sparc/sparc32/q_fle.c: ... here.
13548 * sysdeps/sparc/sparc32/soft-fp/q_flt.c: Move to ....
13549 * sysdeps/sparc/sparc32/q_flt.c: ... here.
13550 * sysdeps/sparc/sparc32/soft-fp/q_fne.c: Move to ....
13551 * sysdeps/sparc/sparc32/q_fne.c: ... here.
13552 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Move to ....
13553 * sysdeps/sparc/sparc32/q_itoq.c: ... here.
13554 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Move to ....
13555 * sysdeps/sparc/sparc32/q_lltoq.c: ... here.
13556 * sysdeps/sparc/sparc32/soft-fp/q_mul.c: Move to ....
13557 * sysdeps/sparc/sparc32/q_mul.c: ... here.
13558 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Move to ....
13559 * sysdeps/sparc/sparc32/q_neg.c: ... here.
13560 * sysdeps/sparc/sparc32/soft-fp/q_qtod.c: Move to ....
13561 * sysdeps/sparc/sparc32/q_qtod.c: ... here.
13562 * sysdeps/sparc/sparc32/soft-fp/q_qtoi.c: Move to ....
13563 * sysdeps/sparc/sparc32/q_qtoi.c: ... here.
13564 * sysdeps/sparc/sparc32/soft-fp/q_qtoll.c: Move to ....
13565 * sysdeps/sparc/sparc32/q_qtoll.c: ... here.
13566 * sysdeps/sparc/sparc32/soft-fp/q_qtos.c: Move to ....
13567 * sysdeps/sparc/sparc32/q_qtos.c: ... here.
13568 * sysdeps/sparc/sparc32/soft-fp/q_qtou.c: Move to ....
13569 * sysdeps/sparc/sparc32/q_qtou.c: ... here.
13570 * sysdeps/sparc/sparc32/soft-fp/q_qtoull.c: Move to ....
13571 * sysdeps/sparc/sparc32/q_qtoull.c: ... here.
13572 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c: Move to ....
13573 * sysdeps/sparc/sparc32/q_sqrt.c: ... here.
13574 * sysdeps/sparc/sparc32/soft-fp/q_stoq.c: Move to ....
13575 * sysdeps/sparc/sparc32/q_stoq.c: ... here.
13576 * sysdeps/sparc/sparc32/soft-fp/q_sub.c: Move to ....
13577 * sysdeps/sparc/sparc32/q_sub.c: ... here.
13578 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Move to ....
13579 * sysdeps/sparc/sparc32/q_ulltoq.c: ... here.
13580 * sysdeps/sparc/sparc32/soft-fp/q_util.c: Move to ....
13581 * sysdeps/sparc/sparc32/q_util.c: ... here.
13582 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Move to ....
13583 * sysdeps/sparc/sparc32/q_utoq.c: ... here.
13584 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h: Move to ....
13585 * sysdeps/sparc/sparc32/sfp-machine.h: ... here.
13587 2018-05-24 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
13588 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13590 * sysdeps/powerpc/Implies: Removed. Previous contents copied to...
13591 * sysdeps/powerpc/powerpc32/Implies-after: ... here.
13592 * sysdeps/powerpc/powerpc64/be/Implies-after: ... here.
13593 * sysdeps/powerpc/powerpc64/le/Implies-before: ... and here.
13595 2018-05-24 Joseph Myers <joseph@codesourcery.com>
13597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/Implies: Remove
13599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
13601 * sysdeps/powerpc/soft-fp/sfp-machine.h: Move to ....
13602 * sysdeps/powerpc/nofpu/sfp-machine.h: ... here.
13604 2018-05-24 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
13607 * math/math.h [C++] (iseqsig): Fix parameter type for the long
13610 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13612 * sysdeps/sh/Implies: Remove sh/soft-fp.
13613 * sysdeps/sh/soft-fp/sfp-machine.h: Move to ....
13614 * sysdeps/sh/sfp-machine.h: ... here.
13616 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13618 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13619 (__mempcpy_erms): Skip zero length.
13620 (__memmove_erms): Likewise.
13621 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
13622 (__memset_erms): Likewise.
13624 2018-05-23 Joseph Myers <joseph@codesourcery.com>
13626 * sysdeps/alpha/Implies: Remove alpha/soft-fp.
13627 * sysdeps/alpha/Makefile [$(subdir) = soft-fp] (sysdep_routines):
13628 Add functions moved from ....
13629 [$(subdir) = math] (CPPFLAGS): Add -I../soft-fp. Moved from ....
13630 * sysdeps/alpha/soft-fp/Makefile: ... here. Remove file.
13631 * sysdeps/alpha/Versions (libc): Add GLIBC_2.3.4 symbols moved
13633 * sysdeps/alpha/soft-fp/Versions: ... here. Remove file.
13634 * sysdeps/alpha/soft-fp/e_sqrtl.c: Move to ....
13635 * sysdeps/alpha/e_sqrtl.c: ... here.
13636 * sysdeps/alpha/soft-fp/local-soft-fp.h: Move to ....
13637 * sysdeps/alpha/local-soft-fp.h: ... here.
13638 * sysdeps/alpha/soft-fp/ots_add.c: Move to ....
13639 * sysdeps/alpha/ots_add.c: ... here.
13640 * sysdeps/alpha/soft-fp/ots_cmp.c: Move to ....
13641 * sysdeps/alpha/ots_cmp.c: ... here.
13642 * sysdeps/alpha/soft-fp/ots_cmpe.c: Move to ....
13643 * sysdeps/alpha/ots_cmpe.c: ... here.
13644 * sysdeps/alpha/soft-fp/ots_cvtqux.c: Move to ....
13645 * sysdeps/alpha/ots_cvtqux.c: ... here.
13646 * sysdeps/alpha/soft-fp/ots_cvtqx.c: Move to ....
13647 * sysdeps/alpha/ots_cvtqx.c: ... here.
13648 * sysdeps/alpha/soft-fp/ots_cvttx.c: Move to ....
13649 * sysdeps/alpha/ots_cvttx.c: ... here.
13650 * sysdeps/alpha/soft-fp/ots_cvtxq.c: Move to ....
13651 * sysdeps/alpha/ots_cvtxq.c: ... here.
13652 * sysdeps/alpha/soft-fp/ots_cvtxt.c: Move to ....
13653 * sysdeps/alpha/ots_cvtxt.c: ... here.
13654 * sysdeps/alpha/soft-fp/ots_div.c: Move to ....
13655 * sysdeps/alpha/ots_div.c: ... here.
13656 * sysdeps/alpha/soft-fp/ots_mul.c: Move to ....
13657 * sysdeps/alpha/ots_mul.c: ... here.
13658 * sysdeps/alpha/soft-fp/ots_nintxq.c: Move to ....
13659 * sysdeps/alpha/ots_nintxq.c: ... here.
13660 * sysdeps/alpha/soft-fp/ots_sub.c: Move to ....
13661 * sysdeps/alpha/ots_sub.c: ... here.
13662 * sysdeps/alpha/soft-fp/sfp-machine.h: Move to ....
13663 * sysdeps/alpha/sfp-machine.h: ... here.
13665 2018-05-23 Florian Weimer <fweimer@redhat.com>
13673 Switch to extern IDNA implementation (libidn2).
13674 * libidn: Remove subdirectory.
13675 * LICENSES: Do not mention licensing conditions for the removed
13677 * config.h.in (HAVE_LIBIDN): Remove.
13678 * include/dlfcn.h (__libc_dlopen): Update comment.
13679 * include/idna.h: Remove file.
13680 * inet/Makefile (routines): Add idna.
13681 (tests-static, tests-internal): Add tst-idna_name_classify.
13682 (LOCALES): Generate locales for tests.
13683 (tst-idna_name_classify.out): Depend on generated locales.
13684 * inet/idna_name_classify.c: New file.
13685 * inet/tst-idna_name_classify.c: Likewise.
13686 * inet/net-internal.h (__idna_to_dns_encoding)
13687 (__idna_from_dns_encoding): Declare.
13688 * inet/net-internal.h (enum idna_name_classification): Define.
13689 (__idna_name_classify): Declare.
13690 * inet/Versions (GLIBC_PRIVATE): Add __idna_to_dns_encoding,
13691 __idna_from_dns_encoding.
13692 * inet/getnameinfo.c (DEPRECATED_NI_IDN): Define.
13693 (gni_host_inet_name): Call __idna_from_dns_encoding. Use punycode
13694 name as a fallback in case of encoding errors.
13695 (getnameinfo): Use DEPRECATED_NI_IDN.
13696 * inet/idna.c: New file.
13697 * nscd/gai.c: Do not include <libidn/idn-stub.c>.
13698 * resolv/Makefile (tests): Add tst-resolv-ai_idn,
13699 tst-resolv-ai_idn-latin1, tst-resolv-ai_idn-nolibidn2.
13700 (modules-names): Add tst-no-libidn2.
13701 (extra-test-objs): Add tst-no-libidn2.os.
13702 (LDFLAGS-tst-no-libidn2.so): Set soname.
13703 (LOCALES): Set, and generate locales.
13704 (tst-resolv-ai_idn): Link with -ldl -lresolv -lpthread.
13705 (tst-resolv-ai_idn-latin1): Likewise.
13706 (tst-resolv-ai_idn-nolibidn2): Likewise.
13707 (tst-resolv-ai_idn.out): Depend on locales.
13708 (tst-resolv-ai_idn-latin1.out): Depend on locales.
13709 (tst-resolv-ai_idn-nolibidn2.out): Depend on locales and
13711 * resolv/netdb.h (AI_IDN_ALLOW_UNASSIGNED)
13712 (AI_IDN_USE_STD3_ASCII_RULES, NI_IDN_ALLOW_UNASSIGNED)
13713 (NI_IDN_USE_STD3_ASCII_RULES): Deprecate.
13714 * resolv/tst-resolv-ai_idn.c: New file.
13715 * resolv/tst-resolv-ai_idn-latin1.c: Likewise.
13716 * resolv/tst-resolv-ai_idn-nolibidn2.c: Likewise.
13717 * resolv/tst-no-libidn2.c: Likewise.
13718 * support/support_format_addrinfo.c (format_ai_flags): Do not
13719 handle AI_IDN_ALLOW_UNASSIGNED, AI_IDN_USE_STD3_ASCII_RULES.
13720 * sysdeps/posix/getaddrinfo.c (DEPRECATED_AI_IDN): Define.
13721 (gaih_inet): Call __idna_to_dns_encoding and
13722 __idna_from_dns_encoding, and use the original (punycode) name if
13723 __idna_from_dns_encoding fails due to an encoding error.
13724 (getaddrinfo): Use DEPRECATED_AI_IDN.
13725 * sysdeps/unix/inet/Subdirs (libidn): Remove.
13726 * sysdeps/unix/inet/configure: Remove file.
13727 * sysdeps/unix/inet/configure.ac: Likewise.
13729 2018-05-23 Florian Weimer <fweimer@redhat.com>
13731 Implement allocate_once.
13732 * include/allocate_once.h: New file.
13733 * misc/allocate_once.c: Likewise.
13734 * misc/tst-allocate_once.c: Likewise.
13735 * misc/Makefile (routines): Add allocate_once.
13736 (tests-internal): Add tst-allocate_once.
13737 (generated): Add tst-allocate_once.mtrace,
13738 tst-allocate_once-mem.out.
13739 (tests-special): Add tst-allocate_once-mem.out.
13740 (tst-allocate_once-ENV): Set MALLOC_TRACE.
13741 (tst-allocate_once-mem.out): Call mtrace.
13742 * misc/Versions (GLIBC_PRIVATE): Add __libc_allocate_once_slow.
13744 2018-05-23 H.J. Lu <hongjiu.lu@intel.com>
13747 * string/test-memcpy.c (do_test1): New function.
13748 (test_main): Call it.
13750 2018-05-23 Andreas Schwab <schwab@suse.de>
13754 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S
13755 (L(preloop_large)): Save initial destination pointer in %r11 and
13756 use it instead of %rax after the loop.
13757 * string/test-mempcpy.c (MIN_PAGE_SIZE): Define.
13759 2018-05-22 Joseph Myers <joseph@codesourcery.com>
13761 * sysdeps/aarch64/Implies: Remove aarch64/soft-fp.
13762 * sysdeps/aarch64/Makefile [$(subdir) = math] (CPPFLAGS): Add
13763 -I../soft-fp. Moved from ....
13764 * sysdeps/aarch64/soft-fp/Makefile: ... here. Remove file.
13765 * sysdeps/aarch64/soft-fp/e_sqrtl.c: Move to ....
13766 * sysdeps/aarch64/e_sqrtl.c: ... here.
13767 * sysdeps/aarch64/soft-fp/sfp-machine.h: Move to ....
13768 * sysdeps/aarch64/sfp-machine.h: ... here.
13770 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Ignore
13771 -Wmaybe-uninitialized around access to fq[0].
13772 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13776 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use weak
13777 aliases for non-libc case of versioned symbols.
13778 * sysdeps/unix/sysv/linux/lseek64.c: Include <shlib-compat.h>.
13779 (llseek): Define as compat symbol if
13780 [SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_28)], not as weak alias
13782 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (llseek):
13783 Make into a compat symbol, disabled for minimum symbol version
13784 GLIBC_2.28 and later.
13785 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Remove file.
13787 2018-05-22 Florian Weimer <fweimer@redhat.com>
13789 * sysdeps/i386/Makefile [$(subdir) == math] (sysdep-CFLAGS): Do
13790 not add -mpreferred-stack-boundary=4.
13791 [$(subdir) == csu] (sysdep-CFLAGS): Likewise.
13792 (stack-align-test-flags): Likewise.
13793 [$(subdir) == stdlib] (CFLAGS-exit.c, CFLAGS-cxa_finalize.c):
13795 [$(subdir) == elf] (CFLAGS-dl-init.c, CFLAGS-dl-fini.c)
13796 (CFLAGS-dl-open.c, CFLAGS-dl-close.c, CFLAGS-dl-error.c): Likewise.
13797 [$(subdir) == dlfcn] (CFLAGS-dlopen.c, CFLAGS-dlopenold.c)
13798 (CFLAGS-dlclose.c, CFLAGS-dlerror.c): Likewise.
13799 * sysdeps/i386/nptl/Makefile [$(subdir) == nptl]
13800 (CFLAGS-pthread_create.c, CFLAGS-tst-align.c)
13801 (CFLAGS-tst-align2.c): Likewise.
13803 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13805 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_FSRM): New.
13806 (index_arch_Prefer_FSRM): Likewise.
13807 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
13808 Also check Prefer_FSRM.
13809 * sysdeps/x86_64/multiarch/ifunc-memmove.h (IFUNC_SELECTOR):
13810 Also return OPTIMIZE (erms) for Prefer_FSRM.
13812 2018-05-21 H.J. Lu <hongjiu.lu@intel.com>
13814 * sysdeps/x86/cpu-features.h (bit_cpu_FSRM): New.
13815 (index_cpu_FSRM): Likewise.
13816 (reg_FSRM): Likewise.
13818 2018-05-18 Joseph Myers <joseph@codesourcery.com>
13820 * math/gen-tgmath-tests.py: Import sys.
13821 (Tests.__init__): Initialize macros_seen.
13822 (Tests.add_tests): Add macro to macros_seen. Only generate tests
13823 if requested to do so for this macro.
13824 (Tests.add_all_tests): Take argument for macro for which to
13826 (Tests.check_macro_list): New function.
13827 (main): Handle check-list argument and argument specifying macro
13828 for which to generate tests.
13829 * math/Makefile [PYTHON] (tgmath3-macros): New variable.
13830 [PYTHON] (tgmath3-macro-tests): Likewise.
13831 [PYTHON] (tests): Add $(tgmath3-macro-tests) not test-tgmath3.
13832 [PYTHON] (generated): Add $(addsuffix .c,$(tgmath3-macro-tests))
13833 not test-tgmath3.c.
13834 [PYTHON] (CFLAGS-test-tgmath3.c): Remove.
13835 [PYTHON] ($(tgmath3-macro-tests:%=$(objpfx)%.o): Add -fno-builtin
13837 [PYTHON] ($(objpfx)test-tgmath3.c): Replace rule by....
13838 [PYTHON] ($(foreach
13839 m,$(tgmath3-macros),$(objpfx)test-tgmath3-$(m).c): ... this. New
13841 [PYTHON] (tests-special): Add
13842 $(objpfx)test-tgmath3-macro-list.out.
13843 [PYTHON] ($(objpfx)test-tgmath3-macro-list.out): New rule.
13845 * sysdeps/unix/sysv/linux/syscalls.list (nfsservctl): Make into a
13846 compat symbol, disabled for minimum symbol version GLIBC_2.28 and
13850 * time/tzset.c (SECSPERDAY): Cast to time_t.
13851 * time/tst-y2039.c: New file.
13852 * time/Makefile (tests): Add tst-y2039.
13854 2018-05-17 Leonardo Sandoval <leonardo.sandoval.gonzalez@intel.com>
13856 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
13857 (PREFETCH_ONE_SET): Remove duplicate line.
13859 2018-05-17 Florian Weimer <fweimer@redhat.com>
13861 * sysdeps/generic/math-type-macros-double.h: Include
13862 <math-nan-payload-double.h> after <libm-alias-double.h>.
13863 * sysdeps/generic/math-type-macros-float.h: Include
13864 <math-nan-payload-float.h> after <libm-alias-float.h>.
13865 * sysdeps/generic/math-type-macros-float128.h: Include
13866 <math-nan-payload-float128.h> after <libm-alias-float128.h>.
13867 * sysdeps/generic/math-type-macros-ldouble.h: Include
13868 <math-nan-payload-ldouble.h> after <libm-alias-ldouble.h>.
13870 2018-05-17 Andreas Schwab <schwab@suse.de>
13872 * resolv/res_send.c (__res_context_send): Don't set errno when
13873 returing error after malloc failure.
13875 2018-05-17 H.J. Lu <hongjiu.lu@intel.com>
13877 * nptl/allocatestack.c (allocate_stack): Remove the
13878 !__ASSUME_PRIVATE_FUTEX paths.
13879 * nptl/descr.h (header): Remove the !__ASSUME_PRIVATE_FUTEX path.
13880 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
13882 * sysdeps/i386/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Removed.
13883 * sysdeps/powerpc/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13884 * sysdeps/sh/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13885 * sysdeps/x86_64/nptl/tcb-offsets.sym (PRIVATE_FUTEX): Likewise.
13886 * sysdeps/i386/nptl/tls.h: (tcbhead_t): Remve the
13887 !__ASSUME_PRIVATE_FUTEX path.
13888 * sysdeps/s390/nptl/tls.h (tcbhead_t): Likewise.
13889 * sysdeps/sparc/nptl/tls.h (tcbhead_t): Likewise.
13890 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Likewise.
13891 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Remove the
13892 !__ASSUME_PRIVATE_FUTEX macros.
13893 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
13894 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
13895 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
13896 * sysdeps/unix/sysv/linux/kernel-features.h
13897 (__ASSUME_PRIVATE_FUTEX): Removed.
13899 2018-05-17 Joseph Myers <joseph@codesourcery.com>
13901 * math/Makefile (libm-narrow-fns): Add div.
13902 (libm-test-funcs-narrow): Likewise.
13903 * math/Versions (GLIBC_2.28): Add narrowing divide functions.
13904 * math/bits/mathcalls-narrow.h (div): Use __MATHCALL_NARROW.
13905 * math/gen-auto-libm-tests.c (test_functions): Add div.
13906 * math/math-narrow.h (CHECK_NARROW_DIV): New macro.
13907 (NARROW_DIV_ROUND_TO_ODD): Likewise.
13908 (NARROW_DIV_TRIVIAL): Likewise.
13909 * sysdeps/ieee754/float128/float128_private.h (__fdivl): New
13911 (__ddivl): Likewise.
13912 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fdiv and
13914 (CFLAGS-nldbl-ddiv.c): New variable.
13915 (CFLAGS-nldbl-fdiv.c): Likewise.
13916 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
13918 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_ddivl): New
13920 * manual/arith.texi (Misc FP Arithmetic): Document fdiv, fdivl,
13921 ddivl, fMdivfN, fMdivfNx, fMxdivfN and fMxdivfNx.
13922 * math/auto-libm-test-in: Add tests of div.
13923 * math/auto-libm-test-out-narrow-div: New generated file.
13924 * math/libm-test-narrow-div.inc: New file.
13925 * sysdeps/i386/fpu/s_f32xdivf64.c: Likewise.
13926 * sysdeps/ieee754/dbl-64/s_f32xdivf64.c: Likewise.
13927 * sysdeps/ieee754/dbl-64/s_fdiv.c: Likewise.
13928 * sysdeps/ieee754/float128/s_f32divf128.c: Likewise.
13929 * sysdeps/ieee754/float128/s_f64divf128.c: Likewise.
13930 * sysdeps/ieee754/float128/s_f64xdivf128.c: Likewise.
13931 * sysdeps/ieee754/ldbl-128/s_ddivl.c: Likewise.
13932 * sysdeps/ieee754/ldbl-128/s_f64xdivf128.c: Likewise.
13933 * sysdeps/ieee754/ldbl-128/s_fdivl.c: Likewise.
13934 * sysdeps/ieee754/ldbl-128ibm/s_ddivl.c: Likewise.
13935 * sysdeps/ieee754/ldbl-128ibm/s_fdivl.c: Likewise.
13936 * sysdeps/ieee754/ldbl-96/s_ddivl.c: Likewise.
13937 * sysdeps/ieee754/ldbl-96/s_fdivl.c: Likewise.
13938 * sysdeps/ieee754/ldbl-opt/nldbl-ddiv.c: Likewise.
13939 * sysdeps/ieee754/ldbl-opt/nldbl-fdiv.c: Likewise.
13940 * sysdeps/ieee754/soft-fp/s_ddivl.c: Likewise.
13941 * sysdeps/ieee754/soft-fp/s_fdiv.c: Likewise.
13942 * sysdeps/ieee754/soft-fp/s_fdivl.c: Likewise.
13943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13944 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
13945 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13946 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13947 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13948 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13949 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13950 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13951 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13952 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13953 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13954 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13955 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13956 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13957 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
13958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
13959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
13960 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
13961 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
13962 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13963 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13964 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13965 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13966 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13967 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13968 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13970 2018-05-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13973 * nscd/nscd-client.h (sendfileall): Remove prototype.
13974 * nscd/connections.c [HAVE_SENDFILE] (sendfileall): Remove function.
13975 (handle_request): Use writeall instead of sendfileall.
13976 * nscd/aicache.c (addhstaiX): Likewise.
13977 * nscd/grpcache.c (cache_addgr): Likewise.
13978 * nscd/hstcache.c (cache_addhst): Likewise.
13979 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13980 * nscd/netgroupcache.c (addgetnetgrentX, addinnetgrX): Likewise.
13981 * nscd/pwdcache.c (cache_addpw): Likewise.
13982 * nscd/servicescache.c (cache_addserv): Likewise.
13983 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nscd]
13984 (sysdep-CFLAGS): Remove -DHAVE_SENDFILE.
13985 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SENDFILE):
13988 2018-05-16 H.J. Lu <hongjiu.lu@intel.com>
13990 * sysdeps/x86_64/multiarch/strncat-c.c (STRNCAT_PRIMARY): Removed.
13991 Include <string/strncat.c>.
13992 * sysdeps/x86_64/multiarch/strncat.c (__strncat): New strong
13994 (__GI___strncat): New hidden alias.
13996 2018-05-16 Joseph Myers <joseph@codesourcery.com>
13998 * sysdeps/mips/mips32/libm-test-ulps: Update.
13999 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14001 2018-05-16 Florian Weimer <fweimer@redhat.com>
14003 * support/Makefile (libsupport-routines): Add support_quote_blob,
14004 support_test_compare_blob.
14005 (tests): Add tst-support_quote_blob, tst-test_compare_blob.
14006 * support/check.h (TEST_COMPARE_BLOB): Define.
14007 (support_test_compare_blob): Declare.
14008 * support/support.h (support_quote_blob): Declare.
14009 * support/support_quote_blob.c: New file.
14010 * support/support_test_compare_blob.c: Likewise.
14011 * support/tst-support_quote_blob.c: Likewise.
14012 * support/tst-test_compare_blob.c: Likewise.
14014 2018-05-16 Florian Weimer <fweimer@redhat.com>
14016 * stdlib/strtod_nan.c: Include <math-type-macros-double.h> instead
14017 of <strtod_nan_double.h>.
14018 * stdlib/strtod_nan_main.c (STRTOD_NAN): Use SET_NAN_PAYLOAD
14019 instead of SET_MANTISSA.
14020 * stdlib/strtof_nan.c: Include <math-type-macros-float.h> instead
14021 of include <strtod_nan_float.h>.
14022 * stdlib/strtold_nan.c: Include <math-type-macros-ldouble.h>
14023 instead of <strtod_nan_ldouble.h>.
14024 * stdlib/strtod_nan_double.h: Move to ...
14025 * sysdeps/generic/math-nan-payload-double.h: ... here.
14026 (FLOAT): Remove definition.
14027 (SET_MANTISSA): Rename to ...
14028 (SET_NAN_PAYLOAD): ... this.
14029 * stdlib/strtod_nan_float.h: Move to ...
14030 * sysdeps/generic/math-nan-payload-float.h: ... here.
14031 (FLOAT): Remove definition.
14032 (SET_MANTISSA): Rename to ...
14033 (SET_NAN_PAYLOAD): ... this.
14034 * sysdeps/generic/math-type-macros-double.h: Include
14035 <math-nan-payload-double.h>. Include <math/math-svid-compat.h>
14036 instead of <math-svid-compat.h>.
14037 * sysdeps/generic/math-type-macros-float.h: Include
14038 <math-nan-payload-float.h>. Include <math/math-svid-compat.h>
14039 instead of <math-svid-compat.h>.
14040 * sysdeps/generic/math-type-macros-float128.h: Include
14041 <math-nan-payload-float128.h>.
14042 * sysdeps/generic/math-type-macros-ldouble.h: Include
14043 <math-nan-payload-ldouble.h>. Include <math/math-svid-compat.h>
14044 instead of <math-svid-compat.h>.
14045 * sysdeps/generic/math-type-macros.h: Document SET_NAN_PAYLOAD and
14046 check for definition.
14047 * sysdeps/ieee754/float128/strtod_nan_float128.h: Move to ...
14048 * sysdeps/ieee754/float128/math-nan-payload-float128.h: ... here.
14049 Include <ieee754_float128.h>.
14050 (FLOAT): Remove definition.
14051 (SET_MANTISSA): Rename to ...
14052 (SET_NAN_PAYLOAD): ... this.
14053 * sysdeps/ieee754/float128/strtof128_nan.c: Include
14054 <math-type-macros-float128.h> instead of <strtod_nan_float128.h>.
14055 Do not include <float128_private.h>.
14056 * sysdeps/ieee754/float128/wcstof128_nan.c: Likewise.
14057 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Move to ...
14058 * sysdeps/ieee754/ldbl-128/math-nan-payload-ldouble.h: ... here.
14059 (FLOAT): Remove definition.
14060 (SET_MANTISSA): Rename to ...
14061 (SET_NAN_PAYLOAD): ... this.
14062 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Move to ...
14063 * sysdeps/ieee754/ldbl-128ibm/math-nan-payload-ldouble.h: ... here.
14064 (FLOAT): Remove definition.
14065 (SET_MANTISSA): Rename to ...
14066 (SET_NAN_PAYLOAD): ... this.
14067 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Move to ...
14068 * sysdeps/ieee754/ldbl-96/math-nan-payload-ldouble.h: ... here.
14069 (FLOAT): Remove definition.
14070 (SET_MANTISSA): Rename to ...
14071 (SET_NAN_PAYLOAD): ... this.
14072 * wcsmbs/wcstod_nan.c: Include <math-type-macros-double.h> instead
14073 of "../stdlib/strtod_nan_double.h".
14074 * wcsmbs/wcstof_nan.c: Include <math-type-macros-float.h> instead
14075 of "../stdlib/strtod_nan_float.h".
14076 * wcsmbs/wcstold_nan.c: Include <math-type-macros-ldouble.h>
14077 instead of "../stdlib/strtod_nan_ldouble.h".
14078 * manual/arith.texi (Parsing of Floats): Adjust comment.
14080 2018-05-16 Joseph Myers <joseph@codesourcery.com>
14082 * math/Makefile (libm-narrow-fns): Add mul.
14083 (libm-test-funcs-narrow): Likewise.
14084 * math/Versions (GLIBC_2.28): Add narrowing multiply functions.
14085 * math/bits/mathcalls-narrow.h (mul): Use __MATHCALL_NARROW.
14086 * math/gen-auto-libm-tests.c (test_functions): Add mul.
14087 * math/math-narrow.h (CHECK_NARROW_MUL): New macro.
14088 (NARROW_MUL_ROUND_TO_ODD): Likewise.
14089 (NARROW_MUL_TRIVIAL): Likewise.
14090 * soft-fp/op-common.h (FP_TRUNC_COOKED): Likewise.
14091 * sysdeps/ieee754/float128/float128_private.h (__fmull): New
14093 (__dmull): Likewise.
14094 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmul and
14096 (CFLAGS-nldbl-dmul.c): New variable.
14097 (CFLAGS-nldbl-fmul.c): Likewise.
14098 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
14100 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dmull): New
14102 * manual/arith.texi (Misc FP Arithmetic): Document fmul, fmull,
14103 dmull, fMmulfN, fMmulfNx, fMxmulfN and fMxmulfNx.
14104 * math/auto-libm-test-in: Add tests of mul.
14105 * math/auto-libm-test-out-narrow-mul: New generated file.
14106 * math/libm-test-narrow-mul.inc: New file.
14107 * sysdeps/i386/fpu/s_f32xmulf64.c: Likewise.
14108 * sysdeps/ieee754/dbl-64/s_f32xmulf64.c: Likewise.
14109 * sysdeps/ieee754/dbl-64/s_fmul.c: Likewise.
14110 * sysdeps/ieee754/float128/s_f32mulf128.c: Likewise.
14111 * sysdeps/ieee754/float128/s_f64mulf128.c: Likewise.
14112 * sysdeps/ieee754/float128/s_f64xmulf128.c: Likewise.
14113 * sysdeps/ieee754/ldbl-128/s_dmull.c: Likewise.
14114 * sysdeps/ieee754/ldbl-128/s_f64xmulf128.c: Likewise.
14115 * sysdeps/ieee754/ldbl-128/s_fmull.c: Likewise.
14116 * sysdeps/ieee754/ldbl-128ibm/s_dmull.c: Likewise.
14117 * sysdeps/ieee754/ldbl-128ibm/s_fmull.c: Likewise.
14118 * sysdeps/ieee754/ldbl-96/s_dmull.c: Likewise.
14119 * sysdeps/ieee754/ldbl-96/s_fmull.c: Likewise.
14120 * sysdeps/ieee754/ldbl-opt/nldbl-dmul.c: Likewise.
14121 * sysdeps/ieee754/ldbl-opt/nldbl-fmul.c: Likewise.
14122 * sysdeps/ieee754/soft-fp/s_dmull.c: Likewise.
14123 * sysdeps/ieee754/soft-fp/s_fmul.c: Likewise.
14124 * sysdeps/ieee754/soft-fp/s_fmull.c: Likewise.
14125 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14126 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14127 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14128 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14129 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14130 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14131 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14132 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14133 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14134 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14135 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14136 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14137 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14138 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
14141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14143 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14144 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14145 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14146 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14147 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14148 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14149 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14150 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14152 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14154 * sysdeps/i386/crti.S (_init): Replace PREINIT_FUNCTION@PLT
14155 with *%eax in call.
14157 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14159 * sysdeps/i386/ldsodefs.h: Removed.
14160 * sysdeps/x86_64/ldsodefs.h: Moved to ...
14161 * sysdeps/x86/ldsodefs.h: This.
14162 (La_i86_regs): New.
14163 (La_i86_retval): Likewise.
14164 (ARCH_PLTENTER_MEMBERS): Add i86_gnu_pltenter.
14165 (ARCH_PLTEXIT_MEMBERS): i86_gnu_pltexit.
14167 2018-05-14 H.J. Lu <hongjiu.lu@intel.com>
14169 * sysdeps/x86_64/multiarch/strlen-avx2.S (STRLEN): Remove the
14172 2018-05-13 Alan Modra <amodra@gmail.com>
14174 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Add
14175 R_PARISC_TLS_DTPOFF32 reloc addend.
14177 2018-05-11 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14179 * bits/floatn-common.h: Define __HAVE_FLOAT128_UNLIKE_LDBL.
14180 * math/math.h: Restrict the prototype definition for the functions
14181 issignaling(_Float128) and iszero(_Float128); and template
14182 __iseqsig_type<_Float128>, from __HAVE_DISTINCT_FLOAT128 to
14183 __HAVE_FLOAT128_UNLIKE_LDBL.
14184 * sysdeps/powerpc/bits/floatn.h [__HAVE_FLOAT128
14185 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
14186 && __LDBL_MANT_DIG__ == 113]: Use long double suffix for
14187 __f128() constants; define the type _Float128 as long double;
14188 and reuse long double in __CFLOAT128.
14190 2018-05-11 Joseph Myers <joseph@codesourcery.com>
14192 * sysdeps/generic/math_private.h: Do not include
14194 * stdlib/strtod_l.c: Include <math-barriers.h> instead of
14196 * math/fromfp.h: Include <math-barriers.h>.
14197 * math/math-narrow.h: Likewise.
14198 * math/s_nextafter.c: Likewise.
14199 * math/s_nexttowardf.c: Likewise.
14200 * sysdeps/aarch64/fpu/s_llrint.c: Likewise.
14201 * sysdeps/aarch64/fpu/s_llrintf.c: Likewise.
14202 * sysdeps/aarch64/fpu/s_lrint.c: Likewise.
14203 * sysdeps/aarch64/fpu/s_lrintf.c: Likewise.
14204 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
14205 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
14206 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
14207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
14208 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14209 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
14210 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14211 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
14212 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
14213 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14214 * sysdeps/ieee754/dbl-64/s_fma.c: Likewise.
14215 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
14216 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14217 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
14218 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
14219 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14220 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
14221 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14222 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14223 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
14224 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
14225 * sysdeps/ieee754/k_standardl.c: Likewise.
14226 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14227 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14228 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14229 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14230 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14231 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14232 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
14233 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14235 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14236 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14237 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
14238 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
14239 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
14240 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14241 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
14242 * sysdeps/ieee754/ldbl-96/s_fma.c: Likewise.
14243 * sysdeps/ieee754/ldbl-96/s_fmal.c: Likewise.
14244 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
14245 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
14246 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Likewise.
14247 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Likewise.
14249 2018-05-11 Florian Weimer <fweimer@redhat.com>
14251 Use 64-bit epoch values in the time zone file parser.
14252 * include/time.h (internal_time_t): Define.
14253 (__tzfile_compute): Use it.
14254 * time/tzfile.c (struct leap): Use internal_time_t for epoch
14256 (transitions): Switch to internal_time_t.
14257 (__tzfile_read): Likewise. Remove code dealing with 4-byte time_t
14259 (__tzfile_compute): Use internal_time_t for timer argument. Check
14260 for truncation before calling __offtime.
14262 2018-05-11 Florian Weimer <fweimer@redhat.com>
14265 * include/rpc/clnt.h (rpc_createerr): Declare hidden alias.
14266 * include/rpc/svc.h (svc_pollfd, svc_max_pollfd, svc_fdset):
14268 * sunrpc/rpc_common.c (svc_fdset, rpc_createerr, svc_pollfd)
14269 (svc_max_pollfd): Add nocommon attribute and hidden alias. Do not
14270 export without --enable-obsolete-rpc.
14271 * sunrpc/svcauth_des.c (svcauthdes_stats): Turn into compatibility
14272 symbol. This should not have been exported, ever.
14274 2018-05-11 Rafal Luzynski <digitalfreak@lingonborough.com>
14277 * localedata/locales/gd_GB (abmon): Fix typo in May:
14278 "Mhàrt" -> "Cèit". Adjust the comment according to the change.
14280 2018-05-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
14282 * sysdeps/aarch64/multiarch/memcpy_falkor.S (__memcpy_falkor):
14283 Use multiple registers to copy data in loop tail.
14285 * sysdeps/aarch64/multiarch/memmove_falkor.S
14286 (__memmove_falkor): Use multiple registers to move data in
14289 2018-05-10 Joseph Myers <joseph@codesourcery.com>
14291 * math/math-underflow.h: New file.
14292 * sysdeps/generic/math_private.h: Do not include <float.h>.
14293 (fabs_tg): Remove macro. Moved to math-underflow.h.
14294 (min_of_type_f): Likewise.
14295 (min_of_type_): Likewise.
14296 (min_of_type_l): Likewise.
14297 (min_of_type_f128): Likewise.
14298 (min_of_type): Likewise.
14299 (math_check_force_underflow): Likewise.
14300 (math_check_force_underflow_nonneg): Likewise.
14301 (math_check_force_underflow_complex): Likewise.
14302 * math/e_exp2_template.c: Include <math-underflow.h>.
14303 * math/k_casinh_template.c: Likewise.
14304 * math/s_catan_template.c: Likewise.
14305 * math/s_catanh_template.c: Likewise.
14306 * math/s_ccosh_template.c: Likewise.
14307 * math/s_cexp_template.c: Likewise.
14308 * math/s_clog10_template.c: Likewise.
14309 * math/s_clog_template.c: Likewise.
14310 * math/s_csin_template.c: Likewise.
14311 * math/s_csinh_template.c: Likewise.
14312 * math/s_csqrt_template.c: Likewise.
14313 * math/s_ctan_template.c: Likewise.
14314 * math/s_ctanh_template.c: Likewise.
14315 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
14316 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
14317 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
14318 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14319 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
14320 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14321 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14322 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
14323 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14324 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
14325 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
14326 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14327 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
14328 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
14329 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
14330 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
14331 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
14332 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
14333 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
14334 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
14335 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14336 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14337 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14338 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14339 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14340 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14341 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
14342 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14343 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14344 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
14345 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
14346 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
14347 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14348 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14349 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14350 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14351 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14352 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14353 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14354 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14355 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14356 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14357 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14358 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14359 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14360 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14361 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14362 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14363 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14364 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
14365 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
14366 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
14367 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
14368 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14369 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
14370 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
14371 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
14372 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14373 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14374 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
14375 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
14376 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
14377 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
14378 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
14379 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
14380 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
14381 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
14382 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
14383 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
14384 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
14385 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
14386 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
14387 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
14388 * sysdeps/ieee754/ldbl-96/k_tanl.c: Likewise.
14389 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
14390 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
14392 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
14393 * sysdeps/x86/fpu/powl_helper.c: Likewise.
14394 * sysdeps/ieee754/dbl-64/s_nextup.c: Include <float.h>.
14395 * sysdeps/ieee754/flt-32/s_nextupf.c: Likewise.
14396 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14397 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
14398 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
14400 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14402 * sysdeps/generic/math-barriers.h: New file.
14403 * sysdeps/generic/math_private.h [!math_opt_barrier]
14404 (math_opt_barrier): Move to math-barriers.h.
14405 [!math_opt_barrier] (math_force_eval): Likewise.
14406 * sysdeps/aarch64/fpu/math-barriers.h: New file.
14407 * sysdeps/aarch64/fpu/math_private.h (math_opt_barrier): Move to
14409 (math_force_eval): Likewise.
14410 * sysdeps/alpha/fpu/math-barriers.h: New file.
14411 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): Move to
14413 (math_force_eval): Likewise.
14414 * sysdeps/x86/fpu/math-barriers.h: New file.
14415 * sysdeps/i386/fpu/fenv_private.h (math_opt_barrier): Move to
14417 (math_force_eval): Likewise.
14418 * sysdeps/m68k/m680x0/fpu/math_private.h: Move to....
14419 * sysdeps/m68k/m680x0/fpu/math-barriers.h: ... here. Adjust
14420 multiple-include guard for rename.
14421 * sysdeps/powerpc/fpu/math-barriers.h: New file.
14422 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier): Move to
14424 (math_force_eval): Likewise.
14426 2018-05-09 Paul Pluzhnikov <ppluzhnikov@google.com>
14430 * stdlib/canonicalize.c (__realpath): Fix overflow in path length
14432 * stdlib/Makefile (test-bz22786): New test.
14433 * stdlib/test-bz22786.c: New test.
14435 2018-05-09 Joseph Myers <joseph@codesourcery.com>
14437 * include/math-narrow-eval.h: New file. Contents moved from ....
14438 * sysdeps/generic/math_private.h: ... here.
14439 (math_narrow_eval): Remove macro. Moved to math-narrow-eval.h.
14440 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14441 * math/s_fdim_template.c: Include <math-narrow-eval.h>.
14442 * stdlib/strtod_l.c: Likewise.
14443 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
14444 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
14445 * sysdeps/i386/fpu/s_fdim.c: Likewise.
14446 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
14447 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
14448 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
14449 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
14450 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
14451 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
14452 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14453 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
14454 * sysdeps/ieee754/dbl-64/lgamma_neg.c: Likewise.
14455 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
14456 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
14457 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
14458 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
14459 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
14460 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
14461 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
14462 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
14463 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
14464 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
14465 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
14466 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14467 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14469 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
14470 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
14471 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14473 2018-05-08 Andreas Schwab <schwab@suse.de>
14475 * sysdeps/nptl/internaltypes.h: Fix comment.
14477 2018-05-07 H.J. Lu <hongjiu.lu@intel.com>
14479 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
14480 (MEMSET_SYMBOL (__memset, erms)): Mark the debugger symbol as
14483 2018-05-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
14485 * benchtests/bench-memcpy-walk.c (test_main): Move declaration
14486 of I into loop header.
14487 * benchtests/bench-memmove-walk.c
14488 (test_main): Likewise.
14490 2018-05-07 Alexandre Oliva <oliva@gnu.org>
14493 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14494 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14496 2018-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
14499 * elf/dl-load.c (open_verify): Fix stack overflow.
14500 * elf/Makefile (tst-big-note): New test.
14501 * elf/tst-big-note-lib.S: New.
14502 * elf/tst-big-note.c: New.
14504 2018-05-04 Joseph Myers <joseph@codesourcery.com>
14506 * scripts/abilist.awk: Ignore absolute symbols.
14507 * sysdeps/mach/hurd/i386/ld.abilist: Remove absolute symbols.
14508 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: Likewise.
14509 * sysdeps/mach/hurd/i386/libanl.abilist: Likewise.
14510 * sysdeps/mach/hurd/i386/libc.abilist: Likewise.
14511 * sysdeps/mach/hurd/i386/libcrypt.abilist: Likewise.
14512 * sysdeps/mach/hurd/i386/libdl.abilist: Likewise.
14513 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
14514 * sysdeps/mach/hurd/i386/libnsl.abilist: Likewise.
14515 * sysdeps/mach/hurd/i386/libpthread.abilist: Likewise.
14516 * sysdeps/mach/hurd/i386/libresolv.abilist: Likewise.
14517 * sysdeps/mach/hurd/i386/librt.abilist: Likewise.
14518 * sysdeps/mach/hurd/i386/libutil.abilist: Likewise.
14519 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
14520 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: Likewise.
14521 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: Likewise.
14522 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14523 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: Likewise.
14524 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: Likewise.
14525 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14526 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: Likewise.
14527 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: Likewise.
14528 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: Likewise.
14529 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: Likewise.
14530 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: Likewise.
14531 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: Likewise.
14532 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
14533 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: Likewise.
14534 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: Likewise.
14535 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14536 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: Likewise.
14537 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: Likewise.
14538 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14539 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: Likewise.
14540 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: Likewise.
14541 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: Likewise.
14542 * sysdeps/unix/sysv/linux/alpha/librt.abilist: Likewise.
14543 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: Likewise.
14544 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: Likewise.
14545 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
14546 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: Likewise.
14547 * sysdeps/unix/sysv/linux/arm/libanl.abilist: Likewise.
14548 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14549 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: Likewise.
14550 * sysdeps/unix/sysv/linux/arm/libdl.abilist: Likewise.
14551 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14552 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: Likewise.
14553 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: Likewise.
14554 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: Likewise.
14555 * sysdeps/unix/sysv/linux/arm/librt.abilist: Likewise.
14556 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: Likewise.
14557 * sysdeps/unix/sysv/linux/arm/libutil.abilist: Likewise.
14558 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
14559 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: Likewise.
14560 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: Likewise.
14561 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14562 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: Likewise.
14563 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: Likewise.
14564 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14565 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: Likewise.
14566 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: Likewise.
14567 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: Likewise.
14568 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Likewise.
14569 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: Likewise.
14570 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: Likewise.
14571 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
14572 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: Likewise.
14573 * sysdeps/unix/sysv/linux/i386/libanl.abilist: Likewise.
14574 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14575 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: Likewise.
14576 * sysdeps/unix/sysv/linux/i386/libdl.abilist: Likewise.
14577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14578 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: Likewise.
14579 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: Likewise.
14580 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: Likewise.
14581 * sysdeps/unix/sysv/linux/i386/librt.abilist: Likewise.
14582 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: Likewise.
14583 * sysdeps/unix/sysv/linux/i386/libutil.abilist: Likewise.
14584 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
14585 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: Likewise.
14586 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: Likewise.
14587 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14588 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: Likewise.
14589 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: Likewise.
14590 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14591 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: Likewise.
14592 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: Likewise.
14593 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: Likewise.
14594 * sysdeps/unix/sysv/linux/ia64/librt.abilist: Likewise.
14595 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: Likewise.
14596 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: Likewise.
14597 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
14598 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
14600 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: Likewise.
14601 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14602 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: Likewise.
14603 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: Likewise.
14604 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14605 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: Likewise.
14606 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: Likewise.
14607 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: Likewise.
14608 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: Likewise.
14609 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: Likewise.
14610 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: Likewise.
14611 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
14612 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
14614 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: Likewise.
14615 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14616 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: Likewise.
14617 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: Likewise.
14618 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14619 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: Likewise.
14620 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: Likewise.
14621 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: Likewise.
14622 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: Likewise.
14623 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: Likewise.
14624 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: Likewise.
14625 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
14626 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist: Likewise.
14627 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Likewise.
14628 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14629 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Likewise.
14630 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Likewise.
14631 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14632 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Likewise.
14633 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Likewise.
14634 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Likewise.
14635 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Likewise.
14636 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Likewise.
14637 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Likewise.
14638 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14639 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
14640 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
14642 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: Likewise.
14643 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: Likewise.
14644 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: Likewise.
14645 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: Likewise.
14646 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14647 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: Likewise.
14648 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: Likewise.
14649 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: Likewise.
14650 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: Likewise.
14651 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: Likewise.
14652 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: Likewise.
14653 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: Likewise.
14654 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: Likewise.
14655 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: Likewise.
14656 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: Likewise.
14657 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: Likewise.
14658 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: Likewise.
14659 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: Likewise.
14660 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14661 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
14663 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: Likewise.
14664 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: Likewise.
14665 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: Likewise.
14666 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14667 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: Likewise.
14668 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: Likewise.
14669 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: Likewise.
14670 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist: Likewise.
14671 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: Likewise.
14672 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
14673 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14674 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: Likewise.
14675 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
14676 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14677 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: Likewise.
14678 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
14679 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: Likewise.
14680 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: Likewise.
14681 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14682 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: Likewise.
14683 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: Likewise.
14684 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14685 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: Likewise.
14686 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: Likewise.
14687 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: Likewise.
14688 * sysdeps/unix/sysv/linux/nios2/librt.abilist: Likewise.
14689 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: Likewise.
14690 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: Likewise.
14691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
14693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
14694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
14696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: Likewise.
14698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: Likewise.
14699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: Likewise.
14700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist:
14702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist:
14704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: Likewise.
14705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
14707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: Likewise.
14708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
14710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
14713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
14714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
14716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
14718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist:
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: Likewise.
14721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
14725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist:
14732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: Likewise.
14733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
14735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
14737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
14739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist:
14741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: Likewise.
14742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: Likewise.
14743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
14745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
14747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
14749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: Likewise.
14750 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
14751 * sysdeps/unix/sysv/linux/riscv/rv64/libBrokenLocale.abilist:
14753 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
14754 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
14755 * sysdeps/unix/sysv/linux/riscv/rv64/libcrypt.abilist: Likewise.
14756 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
14757 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
14758 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
14759 * sysdeps/unix/sysv/linux/riscv/rv64/libpthread.abilist: Likewise.
14760 * sysdeps/unix/sysv/linux/riscv/rv64/libresolv.abilist: Likewise.
14761 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
14762 * sysdeps/unix/sysv/linux/riscv/rv64/libthread_db.abilist: Likewise.
14763 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
14764 * sysdeps/unix/sysv/linux/s390/libanl.abilist: Likewise.
14765 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
14766 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
14768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14769 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: Likewise.
14770 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: Likewise.
14771 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14772 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: Likewise.
14773 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: Likewise.
14774 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: Likewise.
14775 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: Likewise.
14776 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: Likewise.
14777 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: Likewise.
14778 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
14779 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
14781 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14782 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: Likewise.
14783 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: Likewise.
14784 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14785 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: Likewise.
14786 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: Likewise.
14787 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: Likewise.
14788 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: Likewise.
14789 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: Likewise.
14790 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: Likewise.
14791 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
14792 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: Likewise.
14793 * sysdeps/unix/sysv/linux/sh/libanl.abilist: Likewise.
14794 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14795 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: Likewise.
14796 * sysdeps/unix/sysv/linux/sh/libdl.abilist: Likewise.
14797 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14798 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: Likewise.
14799 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: Likewise.
14800 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: Likewise.
14801 * sysdeps/unix/sysv/linux/sh/librt.abilist: Likewise.
14802 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: Likewise.
14803 * sysdeps/unix/sysv/linux/sh/libutil.abilist: Likewise.
14804 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
14805 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
14807 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: Likewise.
14808 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14809 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: Likewise.
14810 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: Likewise.
14811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14812 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: Likewise.
14813 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: Likewise.
14814 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: Likewise.
14815 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: Likewise.
14816 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: Likewise.
14817 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: Likewise.
14818 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
14819 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
14821 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: Likewise.
14822 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14823 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: Likewise.
14824 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: Likewise.
14825 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14826 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: Likewise.
14827 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: Likewise.
14828 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: Likewise.
14829 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: Likewise.
14830 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: Likewise.
14831 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: Likewise.
14832 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
14833 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: Likewise.
14834 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: Likewise.
14835 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14836 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: Likewise.
14837 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: Likewise.
14838 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14839 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: Likewise.
14840 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: Likewise.
14841 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: Likewise.
14842 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: Likewise.
14843 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: Likewise.
14844 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: Likewise.
14845 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
14846 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
14847 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: Likewise.
14848 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: Likewise.
14849 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14850 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: Likewise.
14851 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: Likewise.
14852 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14853 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: Likewise.
14854 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: Likewise.
14855 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: Likewise.
14856 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: Likewise.
14857 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: Likewise.
14858 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: Likewise.
14860 2018-05-04 Stefan Liebler <stli@linux.vnet.ibm.com>
14863 * sysdeps/nptl/lowlevellock.h (lll_wait_tid):
14864 Use atomic_load_acquire to load __tid.
14866 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14868 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S (__swapcontext):
14869 Restore the pointer into %rdx, after syscall and use %rdx,
14870 instead of %rsi, to restore context.
14872 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14874 * sysdeps/unix/sysv/linux/x86_64/setcontext.S (__setcontext):
14875 Pop the pointer into %rdx after syscall and use %rdx, instead
14876 of %rsi, to restore context.
14878 2018-05-02 H.J. Lu <hongjiu.lu@intel.com>
14880 * nptl/pthread_create.c (START_THREAD_DEFN): Clear previous
14881 handlers after setjmp.
14882 * setjmp/longjmp.c (__libc_longjmp): Don't define alias if
14884 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Include
14885 <libc-pointer-arith.h>.
14886 (_JUMP_BUF_SIGSET_BITS_PER_WORD): New.
14887 (_JUMP_BUF_SIGSET_NSIG): Changed to 96.
14888 (_JUMP_BUF_SIGSET_NWORDS): Changed to use ALIGN_UP and
14889 _JUMP_BUF_SIGSET_BITS_PER_WORD.
14890 * sysdeps/x86/Makefile (sysdep_routines): Add __longjmp_cancel.
14891 * sysdeps/x86/__longjmp_cancel.S: New file.
14892 * sysdeps/x86/longjmp.c: Likewise.
14893 * sysdeps/x86/nptl/pt-longjmp.c: Likewise.
14895 2018-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14897 * NEWS: Add ustat.h deprecation entry.
14898 * bits/ustat.h: Remove file.
14899 * misc/sys/ustat.h: Likewise.
14900 * misc/ustat.h: Likewise.
14901 * sysdeps/unix/sysv/linux/generic/ustat.c: Likewise.
14902 * misc/Makefile (headers): Remove ustat.h and sys/ustat.h.
14903 * misc/ustat.c (__ustat): Rename to __old_ustat and export only in
14904 compatibility mode.
14905 * sysdeps/unix/sysv/linux/ustat.c (__ustat): Likewise.
14906 * sysdeps/unix/sysv/linux/mips/ustat.c: Define DEV_TO_KDEV and use
14907 generic Linux implementation.
14909 2018-04-30 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14911 * math/w_exp_compat.c: Replace hidden_def with libm_hidden_def..
14912 * math/w_expl_compat.c: Likewise.
14913 * math/w_exp_template.c: Likewise. Remove hidden_def_x.
14915 2018-04-30 Raymond Nicholson <rain1@airmail.cc>
14917 * manual/startup.texi (Aborting a Program): Remove inappropriate joke.
14919 2018-04-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14921 * sysdeps/unix/sysv/linux/arm/readahead.c: Remove file.
14922 * sysdeps/unix/sysv/linux/mips/mips32/readahead.c: Likewise.
14923 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (readahead):
14925 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Likewise.
14926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
14927 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14928 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Assume
14929 __NR_readahead existence, and use INLINE_SYSCALL_CALL, __ALIGNMENT_ARG,
14932 2018-04-27 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
14934 * math/e_exp2_template.c: Replace M_SUF (M_LN2) with M_MLIT (M_LN2).
14936 * math/w_acos_template.c: Replace M_SUF (fabs) with M_FABS.
14937 * math/w_asin_template.c: Likewise.
14938 * math/w_atanh_template.c: Likewise.
14940 2018-04-27 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
14942 * sysdeps/powerpc/preconfigure [machine == powerpc64] (machine): Define
14943 to powerpc/powerpc64/be for big-endian.
14944 [machine == powerpc64le]: Define to powerpc/powerpc64/le for
14947 * sysdeps/powerpc/powerpc64/power4/Implies: Move to powerpc64/be.
14948 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: Likewise.
14949 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: Likewise.
14950 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: Likewise.
14951 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
14952 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Likewise.
14953 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: Likewise.
14954 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: Likewise.
14955 * sysdeps/powerpc/powerpc64/power5/Implies: Likewise.
14956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14957 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: Likewise.
14958 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: Likewise.
14959 * sysdeps/powerpc/powerpc64/power6/Implies: Likewise.
14960 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: Likewise.
14961 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: Likewise.
14962 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: Likewise.
14963 * sysdeps/powerpc/powerpc64/power6x/Implies: Likewise.
14964 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Likewise.
14965 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Likewise.
14966 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: Likewise.
14967 * sysdeps/powerpc/powerpc64/power7/Implies: Likewise.
14968 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14969 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: Likewise.
14970 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: Likewise.
14971 * sysdeps/powerpc/powerpc64/power8/Implies: Likewise.
14972 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14973 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: Likewise.
14974 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: Likewise.
14975 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise.
14976 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
14977 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
14978 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
14980 * sysdeps/powerpc/powerpc64/be/power4/Implies: Move from powerpc64 and
14981 adjusted to imply powerpc64 and older processors on powerpc64/be.
14982 * sysdeps/powerpc/powerpc64/be/power4/fpu/Implies: Likewise.
14983 * sysdeps/powerpc/powerpc64/be/power4/fpu/multiarch/Implies: Likewise.
14984 * sysdeps/powerpc/powerpc64/be/power4/multiarch/Implies: Likewise.
14985 * sysdeps/powerpc/powerpc64/be/power5+/Implies: Likewise.
14986 * sysdeps/powerpc/powerpc64/be/power5+/fpu/Implies: Likewise.
14987 * sysdeps/powerpc/powerpc64/be/power5+/fpu/multiarch/Implies: Likewise.
14988 * sysdeps/powerpc/powerpc64/be/power5+/multiarch/Implies: Likewise.
14989 * sysdeps/powerpc/powerpc64/be/power5/Implies: Likewise.
14990 * sysdeps/powerpc/powerpc64/be/power5/fpu/Implies: Likewise.
14991 * sysdeps/powerpc/powerpc64/be/power5/fpu/multiarch/Implies: Likewise.
14992 * sysdeps/powerpc/powerpc64/be/power5/multiarch/Implies: Likewise.
14993 * sysdeps/powerpc/powerpc64/be/power6/Implies: Likewise.
14994 * sysdeps/powerpc/powerpc64/be/power6/fpu/Implies: Likewise.
14995 * sysdeps/powerpc/powerpc64/be/power6/fpu/multiarch/Implies: Likewise.
14996 * sysdeps/powerpc/powerpc64/be/power6/multiarch/Implies: Likewise.
14997 * sysdeps/powerpc/powerpc64/be/power6x/Implies: Likewise.
14998 * sysdeps/powerpc/powerpc64/be/power6x/fpu/Implies: Likewise.
14999 * sysdeps/powerpc/powerpc64/be/power6x/fpu/multiarch/Implies: Likewise.
15000 * sysdeps/powerpc/powerpc64/be/power6x/multiarch/Implies: Likewise.
15001 * sysdeps/powerpc/powerpc64/be/power7/Implies: Likewise.
15002 * sysdeps/powerpc/powerpc64/be/power7/fpu/Implies: Likewise.
15003 * sysdeps/powerpc/powerpc64/be/power7/fpu/multiarch/Implies: Likewise.
15004 * sysdeps/powerpc/powerpc64/be/power7/multiarch/Implies: Likewise.
15005 * sysdeps/powerpc/powerpc64/be/power8/Implies: Likewise.
15006 * sysdeps/powerpc/powerpc64/be/power8/fpu/Implies: Likewise.
15007 * sysdeps/powerpc/powerpc64/be/power8/fpu/multiarch/Implies: Likewise.
15008 * sysdeps/powerpc/powerpc64/be/power8/multiarch/Implies: Likewise.
15009 * sysdeps/powerpc/powerpc64/be/power9/Implies: Likewise.
15010 * sysdeps/powerpc/powerpc64/be/power9/fpu/Implies: Likewise.
15011 * sysdeps/powerpc/powerpc64/be/power9/fpu/multiarch/Implies: Likewise.
15012 * sysdeps/powerpc/powerpc64/be/power9/multiarch/Implies: Likewise.
15014 * sysdeps/powerpc/powerpc64/970/Implies: Move to powerpc64/be.
15015 * sysdeps/powerpc/powerpc64/be/970/Implies: Move from powerpc64/be.
15016 * sysdeps/powerpc/powerpc64/be/a2/Implies: New file.
15017 * sysdeps/powerpc/powerpc64/be/cell/Implies: Likewise.
15019 * sysdeps/powerpc/powerpc64/be/Implies: New file.
15020 * sysdeps/powerpc/powerpc64/be/fpu/Implies: Likewise.
15021 * sysdeps/powerpc/powerpc64/be/fpu/multiarch/Implies: Likewise.
15022 * sysdeps/powerpc/powerpc64/be/multiarch/Implies: Likewise.
15024 * sysdeps/powerpc/powerpc64le/Implies: Move to powerpc64/le.
15025 * sysdeps/powerpc/powerpc64le/Implies-before: Likewise.
15026 * sysdeps/powerpc/powerpc64le/Makefile: Likewise.
15027 * sysdeps/powerpc/powerpc64le/configure: Likewise.
15028 * sysdeps/powerpc/powerpc64le/configure.ac: Likewise.
15029 * sysdeps/powerpc/powerpc64le/fpu/Implies: Likewise.
15030 * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: Likewise.
15031 * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: Likewise.
15032 * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: Likewise.
15033 * sysdeps/powerpc/powerpc64le/multiarch/Implies: Likewise.
15034 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: Likewise.
15036 * sysdeps/powerpc/powerpc64/le/Implies: Move from powerpc64le.
15037 * sysdeps/powerpc/powerpc64/le/Implies-before: Likewise.
15038 * sysdeps/powerpc/powerpc64/le/Makefile: Likewise.
15039 * sysdeps/powerpc/powerpc64/le/configure: Likewise.
15040 * sysdeps/powerpc/powerpc64/le/configure.ac: Likewise.
15041 * sysdeps/powerpc/powerpc64/le/fpu/Implies: Likewise.
15042 * sysdeps/powerpc/powerpc64/le/fpu/e_sqrtf128.c: Likewise.
15043 * sysdeps/powerpc/powerpc64/le/fpu/multiarch/Implies: Likewise.
15044 * sysdeps/powerpc/powerpc64/le/fpu/sfp-machine.h: Likewise.
15045 * sysdeps/powerpc/powerpc64/le/multiarch/Implies: Likewise.
15046 * sysdeps/powerpc/powerpc64/le/power9/fpu/e_sqrtf128.c: Likewise.
15048 * sysdeps/powerpc/powerpc64le/power7/Implies: Move to powerpc64/le.
15049 * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: Likewise.
15050 * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: Likewise.
15051 * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: Likewise.
15052 * sysdeps/powerpc/powerpc64le/power8/Implies: Likewise.
15053 * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: Likewise.
15054 * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: Likewise.
15055 * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: Likewise.
15056 * sysdeps/powerpc/powerpc64le/power9/Implies: Likewise.
15057 * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: Likewise.
15058 * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: Likewise.
15059 * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: Likewise.
15061 * sysdeps/powerpc/powerpc64/le/power7/Implies: Move from powerpc64le
15062 and adjusted to imply olders processors.
15063 * sysdeps/powerpc/powerpc64/le/power7/fpu/Implies: Likewise.
15064 * sysdeps/powerpc/powerpc64/le/power7/fpu/multiarch/Implies: Likewise.
15065 * sysdeps/powerpc/powerpc64/le/power7/multiarch/Implies: Likewise.
15066 * sysdeps/powerpc/powerpc64/le/power8/Implies: Likewise.
15067 * sysdeps/powerpc/powerpc64/le/power8/fpu/Implies: Likewise.
15068 * sysdeps/powerpc/powerpc64/le/power8/fpu/multiarch/Implies: Likewise.
15069 * sysdeps/powerpc/powerpc64/le/power8/multiarch/Implies: Likewise.
15070 * sysdeps/powerpc/powerpc64/le/power9/Implies: Likewise.
15071 * sysdeps/powerpc/powerpc64/le/power9/fpu/Implies: Likewise.
15072 * sysdeps/powerpc/powerpc64/le/power9/fpu/multiarch/Implies: Likewise.
15073 * sysdeps/powerpc/powerpc64/le/power9/multiarch/Implies: Likewise.
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: Move to
15077 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h: Likewise.
15078 * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: Likewise.
15080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/Implies: Move from
15082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/float128-abi.h: Likewise.
15083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/le/fpu/Implies: Likewise.
15085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: Move to
15087 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
15088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: Likewise.
15089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/fpu/Implies: Likewise.
15091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/970/Implies: Move from
15092 powerpc64 and adjusted.
15093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/a2/Implies: Likewise.
15094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/Implies: Likewise.
15095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/be/cell/fpu/Implies:
15098 2018-04-27 Joseph Myers <joseph@codesourcery.com>
15100 * sysdeps/tile: Remove.
15101 * sysdeps/unix/sysv/linux/tile: Likewise.
15102 * README (tilegx-*-linux-gnu): Remove from list of supported
15104 * manual/contrib.texi (Contributors): Mention Chris Metcalf's
15105 contribution of support for generic Linux kernel syscall
15107 * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
15108 tilegx configurations.
15109 (Config.install_linux_headers): Do not handle tile.
15110 * sysdeps/unix/sysv/linux/aarch64/ldsodefs.h: Do not mention Tile
15112 * sysdeps/unix/sysv/linux/nios2/Makefile: Likewise.
15113 * sysdeps/unix/sysv/linux/posix_fadvise.c: Likewise.
15114 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15115 conditional undefine and redefine.
15116 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not mention Tile
15118 [__ASSUME_FADVISE64_64_NO_ALIGN] (__ALIGNMENT_ARG): Remove
15119 conditional undefine and redefine.
15121 2018-04-26 Aurelien Jarno <aurelien@aurel32.net>
15123 * signal/tst-sigaction.c: New file to test BZ #23069.
15124 * signal/Makefile (tests): Fix indentation. Add tst-sigaction.
15126 2018-04-26 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15129 * include/dlfcn.h [__libc_dl_open]: Replace RTLD_LAZY with RTLD_NOW.
15130 * sysdeps/gnu/unwind-resume.c (__lib_gcc_s_init): Replace
15131 __libc_dlopen_mode() using RTLD_NOW with __libc_dlopen.
15132 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
15134 2018-04-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15136 * sysdeps/unix/sysv/linux/getdirentries.c (getdirentries): Build iff
15137 _DIRENT_MATCHES_DIRENT64 is not defined.
15138 * sysdeps/unix/sysv/linux/getdirentries64.c (getdirentries64): Open
15139 implementation and alias to getdirentries if _DIRENT_MATCHES_DIRENT64
15141 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries.c: Remove file.
15142 * sysdeps/unix/sysv/linux/wordsize-64/getdirentries64.c: Remove file.
15144 2018-04-25 Joseph Myers <joseph@codesourcery.com>
15146 * scripts/build-many-glibcs.py (Context.checkout): Default GCC
15147 version to GCC 8 branch.
15149 2018-04-24 Joseph Myers <joseph@codesourcery.com>
15151 * sysdeps/mach/hurd/dl-sysdep.c: Include <not-errno.h>.
15152 (check_no_hidden): Use type of original function when declaring
15155 * sysdeps/unix/sysv/linux/sys/ptrace.h
15156 (PTRACE_SECCOMP_GET_METADATA): New enum value and macro.
15157 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h
15158 (struct __ptrace_seccomp_metadata): New type.
15159 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15160 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15161 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h
15162 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15163 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
15164 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15165 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15166 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15167 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15168 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15169 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15170 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15171 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h
15172 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15173 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h
15174 (PTRACE_SECCOMP_GET_METADATA): Likewise.
15176 2018-04-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15178 * dirent/alphasort.c (alphasort): Build iff _DIRENT_MATCHES_DIRENT64 is
15180 * dirent/versionsort.c (versionsort): Likewise.
15181 * dirent/alphasort64.c (alphasort64): Build regardless and alias to
15182 alphasort if _DIRENT_MATCHES_DIRENT64 is defined.
15183 * dirent/versionsort64.c (versionsort64): Likewise.
15184 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Remove file.
15185 * sysdeps/unix/sysv/linux/arm/alphasort64.c: Likewise.
15186 * sysdeps/unix/sysv/linux/arm/versionsort64.c: Likewise.
15187 * sysdeps/unix/sysv/linux/m68k/alphasort64.c: Likewise.
15188 * sysdeps/unix/sysv/linux/m68k/versionsort64.c: Likewise.
15189 * sysdeps/unix/sysv/linux/s390/s390-32/alphasort64.c: Likewise.
15190 * sysdeps/unix/sysv/linux/s390/s390-32/versionsort64.c: Likewise.
15191 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
15192 * sysdeps/unix/sysv/linux/alphasort64.c: New file.
15193 * sysdeps/unix/sysv/linux/versionsort64.c: Likewise.
15194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/alphasort64.c: Likewise.
15195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/versionsort64.c: Likewise.
15196 * sysdeps/unix/sysv/linux/sparc/sparc32/alphasort64.c: Likewise.
15197 * sysdeps/unix/sysv/linux/sparc/sparc32/versionsort64.c: Likewise.
15199 2018-04-23 Joseph Myers <joseph@codesourcery.com>
15201 * elf/elf.h (NT_PPC_PKEY): New macro.
15203 2018-04-23 Dragan Stanojevic - Nevidljivi <invisible@hidden-city.net>
15206 * localedata/locales/hr_HR: fix thousands_sep and
15209 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15211 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_MISC]
15212 (XTABS): Define to TAB3.
15214 2018-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15216 * sysdeps/hppa/fpu/libm-test-ulps: Update.
15218 * dirent/scandir-tail-common.c: New file.
15219 * dirent/scandir-tail.c: Use scandir-tail-common.c.
15220 (__scandir_tail): Build iff _DIRENT_MATCHES_DIRENT64 is not defined.
15221 * dirent/scandir.c: Use scandir-tail-common.c.
15222 * dirent/scandirat.c: Likewise.
15223 * dirent/scandir64-tail.c: Use scandir-tail-common.c.
15224 * dirent/scandir64.c (scandir64): Always build and alias to scandir
15225 if _DIRENT_MATCHES_DIRENT64 is defined.
15226 * dirent/scandirat64.c (scandirat64): Likewise.
15227 * include/dirent.h (__scandir_tail): Only define iff
15228 _DIRENT_MATCHES_DIRENT64 is not defined.
15229 (__scandir64_tail): Define regardless.
15230 (__scandirat, scandirat64): Remove libc_hidden_proto.
15231 * sysdeps/unix/sysv/linux/arm/scandir64.c: Remove file.
15232 * sysdeps/unix/sysv/linux/m68k/scandir64.c: Likewise.
15233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Likewise.
15234 * sysdeps/unix/sysv/linux/s390/s390-32/scandir64.c: Likewise.
15235 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
15236 * sysdeps/unix/sysv/linux/sparc/sparc32/scandir64.c: Likewise.
15237 * sysdeps/unix/sysv/linux/scandir64.c: New file.
15239 2018-04-20 Joseph Myers <joseph@codesourcery.com>
15241 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDFHM):
15243 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c (_DL_HWCAP_COUNT):
15245 (_dl_aarch64_cap_flags): Add asimdfhm.
15247 2018-04-19 Chung-Lin Tang <cltang@codesourcery.com>
15249 * sysdeps/nios2/libm-test-ulps: Update.
15251 2018-04-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15253 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c (__getdents64):
15254 Only alias to __getdents for _DIRENT_MATCHES_DIRENT64.
15256 * sysdeps/unix/sysv/linux/alpha/getdents.c: Add comments with alpha
15258 (_DIRENT_MATCHES_DIRENT64): Undef
15259 * sysdeps/unix/sysv/linux/alpha/getdents64.c: Likewise.
15260 * sysdeps/unix/sysv/linux/arm/getdents64.c: Remove file.
15261 * sysdeps/unix/sysv/linux/generic/getdents.c: Likewise.
15262 * sysdeps/unix/sysv/linux/generic/getdents64.c: Likewise.
15263 * sysdeps/unix/sysv/linux/generic/wordsize-32/getdents.c: Likewise.
15264 * sysdeps/unix/sysv/linux/getdents.c: Simplify implementation by
15265 use getdents64 syscalls as base.
15266 * sysdeps/unix/sysv/linux/getdents64.c: Likewise and add compatibility
15267 symbol if required.
15268 * sysdeps/unix/sysv/linux/hppa/getdents64.c: Likewise.
15269 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
15270 * sysdeps/unix/sysv/linux/m68k/getdents64.c: Likewise.
15271 * sysdeps/unix/sysv/linux/powerpc/getdents64.c: Likewise.
15272 * sysdeps/unix/sysv/linux/s390/s390-32/getdents64.c: Likewise.
15273 * sysdeps/unix/sysv/linux/sparc/sparc32/getdents64.c: Likewise.
15274 * sysdeps/unix/sysv/linux/wordsize-64/getdents.c: Likewise.
15275 * sysdeps/unix/sysv/linux/wordsize-64/getdents64.c: Likewise.
15276 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15277 (__get_clockfreq_via_proc_openprom): Use __getdents64.
15278 * sysdeps/unix/sysv/linux/mips/mips64/getdents64.c: New file.
15280 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15282 * scripts/test_printers_common.py (init_test): Disable lock elision.
15284 2018-04-19 Stefan Liebler <stli@linux.vnet.ibm.com>
15286 * math/test-tgmath.c (count_double, count_float,
15287 count_ldouble, count_cdouble, count_cfloat,
15288 count_cldouble): Use volatile int.
15290 2018-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
15292 * sysdeps/mach/hurd/i386/Makefile [$(subdir) = conform]
15293 (conformtest-xfail-conds): Add i386-gnu.
15294 * conform/data/fcntl.h-data (flock.l_type, flock.l_whence): XFAIL on
15296 * conform/data/sys/ipc.h-data (ipc_perm.uid, ipc_perm.gid,
15297 ipc_perm.cuid, ipc_perm.cgid): Likewise.
15298 * conform/data/sys/msg.h-data (msqid_ds.msg_lspid,
15299 msqid_ds.msg_lrpid): Likewise.
15300 * conform/data/sys/shm.h-data (shmid_ds.shm_lpid, shmid_ds.shm_cpid):
15302 * conform/data/sys/stat.h-data (stat.st_dev): Likewise.
15303 * conform/data/sys/statvfs.h-data (statvfs.f_fsid): Likewise.
15304 * sysdeps/mach/hurd/bits/statvfs.h (struct statvfs): Make f_bsize,
15305 f_namemax, f_frsize, and f_flag fields unsigned long int instead of
15307 (struct statvfs64): Likewise.
15308 * sysdeps/mach/hurd/bits/statfs.h (struct statfs, struct statfs64):
15310 * bits/in.h [!__USE_MISC]: Do not define struct ip_opts.
15311 * conform/data/netinet/in.h-data: Allow sin_ and sin6_ prefix.
15312 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Use __wait_queue struct
15313 instead of wait_queue.
15314 * sysdeps/gnu/bits/shm.h (struct shmid_ds): Use __vm_area_struct
15315 instead of vm_area_struct.
15316 * bits/sched.h: Include <bits/types/struct_sched_param.h> and move
15317 struct sched_param definition to it.
15318 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
15319 * bits/types/struct_sched_param.h: New file.
15320 * sysdeps/htl/bits/types/struct___pthread_attr.h: Include
15321 <bits/types/struct_sched_param.h> instead of <sched.h>.
15322 * posix/Makefile (headers): Add bits/types/struct_sched_param.h.
15323 * sysdeps/pthread/bits/types/sigevent_t.h: New file, based on the
15324 generic version but include <bits/pthreadtypes.h> to make struct
15325 sigevent's sigev_notify_attributes field a pthread_attr_t*.
15326 * bits/types/siginfo_t.h: Remove siginfo struct name, unused and
15328 * bits/termios.h [__USE_XOPEN || __USE_XOPEN2K8] (IXANY): Define.
15329 [__USE_XOPEN && !__USE_XOPEN2K] (IUCLC, OLCUC): Define.
15330 [__USE_XOPEN] (OFDEL): New macro.
15331 [__USE_XOPEN && !__USE_XOPEN2K] (XCASE): New macro.
15332 * bits/resource.h (RLIM_SAVED_MAX, RLIM_SAVED_CUR): New macros.
15333 * sysdeps/hurd/include/hurd.h [!_ISOMAC]: Do not declare libc hidden
15335 * sysdeps/hurd/include/hurd/fd.h [!_ISOMAC]: Likewise.
15336 * sysdeps/hurd/include/hurd/signal.h [!_ISOMAC]: Likewise.
15337 * sysdeps/arm/sys/ucontext.h: Remove fpregset struct name, unused and
15339 * sysdeps/i386/sys/ucontext.h: Likewise.
15340 * sysdeps/m68k/sys/ucontext.h: Likewise.
15341 * sysdeps/mips/sys/ucontext.h: Likewise.
15342 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
15343 * sysdeps/mach/hurd/i386/Makefile
15344 (test-xfail-POSIX/fcntl.h/conform): Add.
15345 (test-xfail-POSIX/signal.h/conform): Add.
15346 (test-xfail-POSIX/semaphore.h/conform): Add.
15347 (test-xfail-POSIX/regex.h/conform): Add.
15348 (test-xfail-POSIX/aio.h/conform): Add.
15349 (test-xfail-POSIX/mqueue.h/conform): Add.
15350 (test-xfail-POSIX/sys/types.h/conform): Add.
15351 (test-xfail-UNIX98/fcntl.h/conform): Add.
15352 (test-xfail-UNIX98/netdb.h/conform): Add.
15353 (test-xfail-UNIX98/signal.h/conform): Add.
15354 (test-xfail-UNIX98/semaphore.h/conform): Add.
15355 (test-xfail-UNIX98/regex.h/conform): Add.
15356 (test-xfail-UNIX98/aio.h/conform): Add.
15357 (test-xfail-UNIX98/ftw.h/conform): Add.
15358 (test-xfail-UNIX98/mqueue.h/conform): Add.
15359 (test-xfail-UNIX98/netinet/in.h/conform): Add.
15360 (test-xfail-UNIX98/sys/wait.h/conform): Add.
15361 (test-xfail-UNIX98/sys/sem.h/conform): Add.
15362 (test-xfail-UNIX98/sys/uio.h/conform): Add.
15363 (test-xfail-UNIX98/sys/socket.h/conform): Add.
15364 (test-xfail-UNIX98/sys/types.h/conform): Add.
15365 (test-xfail-UNIX98/stdlib.h/conform): Add.
15366 (test-xfail-UNIX98/arpa/inet.h/conform): Add.
15367 (test-xfail-POSIX2008/fcntl.h/conform): Add.
15368 (test-xfail-POSIX2008/netdb.h/conform): Add.
15369 (test-xfail-POSIX2008/signal.h/conform): Add.
15370 (test-xfail-POSIX2008/semaphore.h/conform): Add.
15371 (test-xfail-POSIX2008/regex.h/conform): Add.
15372 (test-xfail-POSIX2008/aio.h/conform): Add.
15373 (test-xfail-POSIX2008/mqueue.h/conform): Add.
15374 (test-xfail-POSIX2008/netinet/in.h/conform): Add.
15375 (test-xfail-POSIX2008/sys/wait.h/conform): Add.
15376 (test-xfail-POSIX2008/sys/socket.h/conform): Add.
15377 (test-xfail-POSIX2008/sys/types.h/conform): Add.
15378 (test-xfail-POSIX2008/arpa/inet.h/conform): Add.
15379 (test-xfail-XOPEN2K/fcntl.h/conform): Add.
15380 (test-xfail-XOPEN2K/netdb.h/conform): Add.
15381 (test-xfail-XOPEN2K/signal.h/conform): Add.
15382 (test-xfail-XOPEN2K/semaphore.h/conform): Add.
15383 (test-xfail-XOPEN2K/regex.h/conform): Add.
15384 (test-xfail-XOPEN2K/aio.h/conform): Add.
15385 (test-xfail-XOPEN2K/ftw.h/conform): Add.
15386 (test-xfail-XOPEN2K/mqueue.h/conform): Add.
15387 (test-xfail-XOPEN2K/netinet/in.h/conform): Add.
15388 (test-xfail-XOPEN2K/sys/wait.h/conform): Add.
15389 (test-xfail-XOPEN2K/sys/sem.h/conform): Add.
15390 (test-xfail-XOPEN2K/sys/uio.h/conform): Add.
15391 (test-xfail-XOPEN2K/sys/socket.h/conform): Add.
15392 (test-xfail-XOPEN2K/sys/types.h/conform): Add.
15393 (test-xfail-XOPEN2K/stdlib.h/conform): Add.
15394 (test-xfail-XOPEN2K/arpa/inet.h/conform): Add.
15395 (test-xfail-XOPEN2K8/fcntl.h/conform): Add.
15396 (test-xfail-XOPEN2K8/netdb.h/conform): Add.
15397 (test-xfail-XOPEN2K8/signal.h/conform): Add.
15398 (test-xfail-XOPEN2K8/semaphore.h/conform): Add.
15399 (test-xfail-XOPEN2K8/regex.h/conform): Add.
15400 (test-xfail-XOPEN2K8/aio.h/conform): Add.
15401 (test-xfail-XOPEN2K8/ftw.h/conform): Add.
15402 (test-xfail-XOPEN2K8/mqueue.h/conform): Add.
15403 (test-xfail-XOPEN2K8/netinet/in.h/conform): Add.
15404 (test-xfail-XOPEN2K8/sys/wait.h/conform): Add.
15405 (test-xfail-XOPEN2K8/sys/sem.h/conform): Add.
15406 (test-xfail-XOPEN2K8/sys/uio.h/conform): Add.
15407 (test-xfail-XOPEN2K8/sys/socket.h/conform): Add.
15408 (test-xfail-XOPEN2K8/sys/types.h/conform): Add.
15409 (test-xfail-XOPEN2K8/stdlib.h/conform): Add.
15410 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Add.
15411 * conform/data/signal.h-data (SA_SIGINFO, SA_NOCLDWAIT): XFAIL on
15413 * conform/data/sys/wait.h-data (WIFCONTINUED, WEXITED, WSTOPPED,
15414 WCONTINUED, WNOWAIT): XFAIL on i386-gnu.
15416 2018-04-18 Joseph Myers <joseph@codesourcery.com>
15418 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
15419 --enable-obsolete for powerpc-linux-gnuspe.
15421 2018-04-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
15423 * conform/data/sys/un.h-data: Allow sun_ prefix.
15424 * sysdeps/mach/include/lock-intern.h: Do not declare libc hidden
15426 * sysdeps/mach/include/mach.h: Likewise.
15427 * sysdeps/mach/include/mach/mig_support.h: Likewise.
15428 * sysdeps/mach/include/mach_error.h: Likewise.
15430 2018-04-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15432 * sysdeps/arm/armv6t2/memchr.S (memchr): Remove ARM code path.
15433 * sysdeps/arm/armv6t2/strlen.S (memchr): Likewise.
15434 * sysdeps/arm/armv7/multiarch/memchr_neon.S (memchr): Likewise.
15435 * sysdeps/arm/armv7/strcmp.S (strcmp): Likewise.
15437 2018-04-16 Andreas Schwab <schwab@suse.de>
15440 * iconvdata/gconv-modules (ARMSCII8//, ShiftJISX0213//): New aliases.
15442 2018-04-15 Patrick McGehearty <patrick.mcgehearty@oracle.com>
15444 * sysdeps/ieee754/dbl-64/e_exp.c: faster __ieee754_exp()
15445 * sysdeps/ieee754/dbl-64/eexp.tbl: New file for e_exp.c
15447 2018-04-12 DJ Delorie <dj@redhat.com>
15449 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
15452 2018-04-12 Stefan Liebler <stli@linux.vnet.ibm.com>
15454 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h
15455 (struct kernel_sigaction): Use the same definition on 31bit as is used
15458 2018-04-09 Florian Weimer <fweimer@redhat.com>
15461 * resolv/res_send.c (send_dg): Use designated initializers instead
15462 of assignment to zero-initialize other fields of struct mmsghdr.
15464 2018-04-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15466 * sysdeps/posix/readdir.c (__READDIR, __GETDENTS, DIRENTY_TYPE,
15467 __READDIR_ALIAS): Undefine after usage.
15468 * sysdeps/posix/readdir_r.c (__READDIR_R, __GETDENTS, DIRENT_TYPE,
15469 __READDIR_R_ALIAS): Likewise.
15470 * sysdeps/unix/sysv/linux/arm/readdir64.c: Remove file.
15471 * sysdeps/unix/sysv/linux/arm/readdir64_r.c: Likewise.
15472 * sysdeps/unix/sysv/linux/m68k/readdir64.c: Likewise.
15473 * sysdeps/unix/sysv/linux/m68k/readdir64_r.c: Likewise.
15474 * sysdeps/unix/sysv/linux/powerpc/readdir64.c: Likewise.
15475 * sysdeps/unix/sysv/linux/powerpc/readdir64_r.c: Likewise.
15476 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
15477 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
15478 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64.c: Likewise.
15479 * sysdeps/unix/sysv/linux/s390/s390-32/readdir64_r.c: Likewise.
15480 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64.c: Likewise.
15481 * sysdeps/unix/sysv/linux/sparc/sparc32/readdir64_r.c: Likewise.
15482 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
15483 * sysdeps/unix/sysv/linux/wordsize-64/readdir64.c: Likewise.
15484 * sysdeps/unix/sysv/linux/wordsize-64/readdir64_r.c: Likewise.
15485 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Likewise.
15486 * sysdeps/unix/sysv/linux/readdir.c: New file.
15487 * sysdeps/unix/sysv/linux/readdir_r.c: Likewise.
15488 * sysdeps/unix/sysv/linux/readdir64.c: Add compat symbol if required.
15489 * sysdeps/unix/sysv/linux/readdir64_r.c: Likewise.
15491 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
15493 2018-04-06 Andreas Schwab <schwab@linux-m68k.org>
15495 * manual/charset.texi (Converting a Character): Fix typo.
15497 2018-04-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15499 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15501 * sysdeps/arm/libm-test-ulps: Update.
15503 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Use default Linux version
15504 as base implementation.
15505 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
15506 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
15507 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
15508 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
15509 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
15510 * sysdeps/unix/sysv/linux/alpha/kernel_sigaction.h: Add include guards,
15511 remove unrequired definitions and update comments.
15512 * sysdeps/unix/sysv/linux/kernel_sigaction.h: Likewise.
15513 * sysdeps/unix/sysv/linux/mips/kernel_sigaction.h: Likewise.
15514 * sysdeps/unix/sysv/linux/ia64/kernel_sigaction.h: New file.
15515 * sysdeps/unix/sysv/linux/m68k/kernel_sigaction.h: Likewise.
15516 * sysdeps/unix/sysv/linux/nios2/kernel_sigaction.h: Likewise.
15517 * sysdeps/unix/sysv/linux/powerpc/kernel_sigaction: Likewise.
15518 * sysdeps/unix/sysv/linux/s390/kernel_sigaction.h: Likewise.
15519 * sysdeps/unix/sysv/linux/sh/kernel_sigaction.h: Likewise.
15520 * sysdeps/unix/sysv/linux/sparc/kernel_sigaction.h: Likewise.
15521 * sysdeps/unix/sysv/linux/tile/kernel_sigaction.h: Likewise.
15522 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Remove file.
15523 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
15524 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
15525 * sysdeps/unix/sysv/linux/sigaction.c: Add STUB, SET_SA_RESTORER,
15526 and RESET_SA_RESTORER hooks.
15528 2018-04-05 Stefan Liebler <stli@linux.vnet.ibm.com>
15530 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15532 2018-04-05 Florian Weimer <fweimer@redhat.com>
15534 * manual/examples/mbstouwcs.c (mbstouwcs): Fix loop termination,
15535 integer overflow, memory leak on error, and indeterminate errno
15536 value. Add a null wide character to terminate the result string.
15537 * manual/charset.texi (Converting a Character): Mention embedded
15538 null bytes in the mbrtowc input string. Explain what happens in
15539 the -2 result case. Do not claim that mbrtowc is simple or
15540 obvious to use. Adjust the description of the code example. Use
15541 @code, not @var, for concrete variables.
15543 2018-04-05 Florian Weimer <fweimer@redhat.com>
15545 * manual/examples/mbstouwcs.c: New file.
15546 * manual/charset.texi (Converting a Character): Include it.
15548 2018-04-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
15550 * include/dirent.h (dirfd): Add hidden proto.
15551 * dirent/dirfd.c (dirfd): Add hidden def.
15552 * sysdeps/mach/hurd/dirfd.c (dirfd): Add hidden def.
15553 * sysdeps/posix/dirfd.c (dirfd): Add hidden def.
15555 2018-04-04 Tulio Magno Quites Machado Filho <tuliom@linux.ibm.com>
15557 * sysdeps/powerpc/fpu/libm-test-ulps: Increase double-precision
15558 sin, cos and sincos to 1 ULP.
15560 2018-04-04 Maciej W. Rozycki <macro@mips.com>
15563 * sysdeps/generic/ldsodefs.h (SYMBOL_ADDRESS): Handle SHN_ABS
15565 * elf/dl-addr.c (determine_info): Ignore SHN_ABS symbols.
15566 * elf/tst-absolute-sym.c: New file.
15567 * elf/tst-absolute-sym-lib.c: New file.
15568 * elf/tst-absolute-sym-lib.lds: New file.
15569 * elf/Makefile (tests): Add `tst-absolute-sym'.
15570 (modules-names): Add `tst-absolute-sym-lib'.
15571 (LDLIBS-tst-absolute-sym-lib.so): New variable.
15572 ($(objpfx)tst-absolute-sym-lib.so): New dependency.
15573 ($(objpfx)tst-absolute-sym): New dependency.
15576 * sysdeps/generic/ldsodefs.h (LOOKUP_VALUE_ADDRESS): Add `set'
15578 (SYMBOL_ADDRESS): New macro.
15579 [!ELF_FUNCTION_PTR_IS_SPECIAL] (DL_SYMBOL_ADDRESS): Use
15580 SYMBOL_ADDRESS for symbol address calculation.
15581 * elf/dl-runtime.c (_dl_fixup): Likewise.
15582 (_dl_profile_fixup): Likewise.
15583 * elf/dl-symaddr.c (_dl_symbol_address): Likewise.
15584 * elf/rtld.c (dl_main): Likewise.
15585 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Likewise.
15586 * sysdeps/alpha/dl-machine.h (elf_machine_rela): Likewise.
15587 * sysdeps/arm/dl-machine.h (elf_machine_rel): Likewise.
15588 (elf_machine_rela): Likewise.
15589 * sysdeps/hppa/dl-machine.h (elf_machine_rela): Likewise.
15590 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Likewise.
15591 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
15592 (elf_machine_rela): Likewise.
15593 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
15594 * sysdeps/m68k/dl-machine.h (elf_machine_rela): Likewise.
15595 * sysdeps/microblaze/dl-machine.h (elf_machine_rela): Likewise.
15596 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
15598 (elf_machine_reloc): Likewise.
15599 (elf_machine_got_rel): Likewise.
15600 * sysdeps/mips/dl-trampoline.c (__dl_runtime_resolve): Likewise.
15601 * sysdeps/nios2/dl-machine.h (elf_machine_rela): Likewise.
15602 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
15604 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
15606 * sysdeps/riscv/dl-machine.h (elf_machine_rela): Likewise.
15607 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15609 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
15611 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15612 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
15614 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
15616 * sysdeps/tile/dl-machine.h (elf_machine_rela): Likewise.
15617 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
15619 2018-04-04 Zack Weinberg <zackw@panix.com>
15621 * sysdeps/generic/internal-signals.h: Include signal.h,
15622 sigsetops.h, and stdbool.h.
15623 (__libc_signal_block_all): Actually block all signals.
15624 (__libc_signal_block_app): Likewise.
15625 (__libc_signal_restore_set): Actually restore the signal mask.
15627 2018-04-04 Florian Weimer <fweimer@redhat.com>
15629 inet: Actually build and run tst-deadline.
15630 * inet/Makefile (tests-internal): Add tst-deadline and do not
15631 overwrite the variable.
15632 (tests-static-internal): Remove variable.
15634 2018-04-03 H.J. Lu <hongjiu.lu@intel.com>
15637 * bits/uio-ext.h (RWF_APPEND): New.
15638 * sysdeps/unix/sysv/linux/bits/uio-ext.h (RWF_APPEND): Likewise.
15639 * manual/llio.texi: Document RWF_APPEND.
15640 * misc/tst-preadvwritev2-common.c (RWF_APPEND): New.
15641 (RWF_SUPPORTED): Add RWF_APPEND.
15643 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15646 * nptl/sigaction.c (__sigaction): Use __is_internal_signal to
15647 check for internal nptl signals.
15648 * nptl/sigaction.c (__sigaction): Likewise.
15649 * signal/sigaddset.c (sigaddset): Likewise.
15650 * signal/sigdelset.c (sigdelset): Likewise.
15651 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
15652 * sysdeps/posix/sigset.c (sigset): Call and check sigaddset return
15654 * signal/sigfillset.c (sigfillset): User __clear_internal_signals
15655 to filter out internal nptl signals.
15656 * signal/tst-sigset.c (do_test): Check ech signal indidually and
15657 also check realtime signals using standard macros.
15658 * sysdeps/generic/internal-signals.h (__clear_internal_signals,
15659 __is_internal_signal, __libc_signal_block_all,
15660 __libc_signal_block_app, __libc_signal_restore_set): New functions.
15661 * sysdeps/nptl/sigfillset.c: Remove file.
15662 * sysdeps/unix/sysv/linux/internal-signals.h (__is_internal_signal):
15663 Change return to bool.
15664 (__clear_internal_signals): Remove SIGTIMER clean since it is
15665 equal to SIGCANEL on Linux.
15666 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Assume
15667 signal set was constructed using standard functions.
15669 2018-04-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
15671 * sysdeps/mach/hurd/if_index.c (__if_nametoindex): Return ENODEV if
15672 ifname is too long.
15673 * hurd/hurdsig.c (interrupted_reply_port_location): Use
15674 DIAG_IGNORE_NEEDS_COMMENT to silence warning with GCC 6 and before.
15675 * sysdeps/mach/hurd/i386/exc2signal.c (_hurd_exception2signal): Add
15677 * mach/spin-lock.c (__mutex_unlock): Add hidden def.
15678 * signal/sigaddset.c: Include <sigsetopts.h>.
15679 * signal/sigdelset.c: Likewise.
15681 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15683 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Cleanup ifdefs.
15685 * sysdeps/ieee754/dbl-64/s_sin.c (__sincos): Refactor using the same
15686 logic as sin and cos.
15688 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15690 * sysdeps/ieee754/dbl-64/s_sin.c (do_sin): Use TAYLOR_SIN for small
15691 inputs. Return correct sign.
15692 (do_sincos): Remove small input check before do_sin, let do_sin set
15697 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15699 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SLOW): Remove.
15700 (do_cos_slow): Likewise.
15701 (do_sin_slow): Likewise.
15702 (reduce_and_compute): Likewise.
15707 (sloww1): Likewise.
15708 (sloww2): Likewise.
15710 (bslow1): Likewise.
15711 (bslow2): Likewise.
15712 (cslow2): Likewise.
15714 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15716 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SIN): Remove cor parameter.
15717 (do_cos): Remove corp parameter and calculations.
15718 (do_sin): Likewise.
15719 (do_sincos): Remove cor variable.
15720 (__sin): Use do_sincos for huge inputs.
15722 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15723 (reduce_and_compute_sincos): Remove unused function.
15725 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15727 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_1): Rename to
15728 reduce_sincos, improve accuracy to 136 bits.
15729 (do_sincos_1): Rename to do_sincos, remove fallbacks to slow functions.
15730 (__sin): Use improved reduction and simplified do_sincos calculation.
15732 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Likewise.
15734 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15736 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_sincos_2): Remove function.
15737 (do_sincos_2): Likewise.
15738 (__sin): Remove middle range reduction case.
15740 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Remove middle range
15743 2018-04-03 Wilco Dijkstra <wdijkstr@arm.com>
15745 * sysdeps/aarch64/libm-test-ulps: Update ULP for sin, cos, sincos.
15746 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove slow paths for small
15749 * sysdeps/x86_64/fpu/libm-test-ulps: Update ULP for sin, cos, sincos.
15751 2018-04-03 Joseph Myers <joseph@codesourcery.com>
15753 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
15756 2018-04-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15758 * sysdeps/posix/opendir.c (o_directory_works, tryopen_o_directory):
15759 Remove definitions.
15760 (opendir_oflags): Use O_DIRECTORY regardless.
15761 (__opendir, __opendirat): Remove need_isdir_precheck usage.
15762 * sysdeps/unix/sysv/linux/opendir.c: Remove file.
15764 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
15766 * sysdeps/mach/hurd/bits/local_lim.h (_POSIX_THREAD_KEYS_MAX,
15767 _POSIX_THREAD_DESTRUCTOR_ITERATIONS, _POSIX_THREAD_THREADS_MAX): Define
15769 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_THREADS,
15770 _POSIX_THREAD_ATTR_STACKSIZE, _POSIX_THREAD_ATTR_STACKADDR,
15771 _POSIX_SEMAPHORES, _POSIX_READER_WRITER_LOCKS, _POSIX_TIMEOUTS,
15772 _POSIX_SPIN_LOCKS, _POSIX_BARRIERS): Define macros to 200809L.
15773 * sysdeps/mach/hurd/net/if_ppp.h: Remove file.
15774 * sysdeps/mach/hurd/Makefile (sysdep_headers): Remove net/if_ppp.h.
15776 * htl/Makefile: Bump licence to LGPL 2.1+.
15777 * htl/alloca_cutoff.c: Likewise.
15778 * htl/cthreads-compat.c: Likewise.
15779 * htl/lockfile.c: Likewise.
15780 * htl/pt-alloc.c: Likewise.
15781 * htl/pt-cancel.c: Likewise.
15782 * htl/pt-cleanup.c: Likewise.
15783 * htl/pt-create.c: Likewise.
15784 * htl/pt-dealloc.c: Likewise.
15785 * htl/pt-detach.c: Likewise.
15786 * htl/pt-exit.c: Likewise.
15787 * htl/pt-getattr.c: Likewise.
15788 * htl/pt-initialize.c: Likewise.
15789 * htl/pt-internal.h: Likewise.
15790 * htl/pt-join.c: Likewise.
15791 * htl/pt-self.c: Likewise.
15792 * htl/pt-setcancelstate.c: Likewise.
15793 * htl/pt-setcanceltype.c: Likewise.
15794 * htl/pt-sigmask.c: Likewise.
15795 * htl/pt-spin-inlines.c: Likewise.
15796 * htl/pt-testcancel.c: Likewise.
15797 * htl/pt-yield.c: Likewise.
15798 * htl/tests/test-1.c: Likewise.
15799 * htl/tests/test-10.c: Likewise.
15800 * htl/tests/test-11.c: Likewise.
15801 * htl/tests/test-12.c: Likewise.
15802 * htl/tests/test-13.c: Likewise.
15803 * htl/tests/test-14.c: Likewise.
15804 * htl/tests/test-15.c: Likewise.
15805 * htl/tests/test-16.c: Likewise.
15806 * htl/tests/test-17.c: Likewise.
15807 * htl/tests/test-2.c: Likewise.
15808 * htl/tests/test-3.c: Likewise.
15809 * htl/tests/test-4.c: Likewise.
15810 * htl/tests/test-5.c: Likewise.
15811 * htl/tests/test-6.c: Likewise.
15812 * htl/tests/test-7.c: Likewise.
15813 * htl/tests/test-8.c: Likewise.
15814 * htl/tests/test-9.c: Likewise.
15815 * htl/tests/test-__pthread_destroy_specific-skip.c: Likewise.
15816 * sysdeps/htl/bits/cancelation.h: Likewise.
15817 * sysdeps/htl/bits/pthread-np.h: Likewise.
15818 * sysdeps/htl/bits/pthread.h: Likewise.
15819 * sysdeps/htl/bits/pthreadtypes.h: Likewise.
15820 * sysdeps/htl/bits/semaphore.h: Likewise.
15821 * sysdeps/htl/bits/types/__pthread_key.h: Likewise.
15822 * sysdeps/htl/bits/types/struct___pthread_attr.h: Likewise.
15823 * sysdeps/htl/bits/types/struct___pthread_barrier.h: Likewise.
15824 * sysdeps/htl/bits/types/struct___pthread_barrierattr.h: Likewise.
15825 * sysdeps/htl/bits/types/struct___pthread_cond.h: Likewise.
15826 * sysdeps/htl/bits/types/struct___pthread_condattr.h: Likewise.
15827 * sysdeps/htl/bits/types/struct___pthread_mutex.h: Likewise.
15828 * sysdeps/htl/bits/types/struct___pthread_mutexattr.h: Likewise.
15829 * sysdeps/htl/bits/types/struct___pthread_once.h: Likewise.
15830 * sysdeps/htl/bits/types/struct___pthread_rwlock.h: Likewise.
15831 * sysdeps/htl/bits/types/struct___pthread_rwlockattr.h: Likewise.
15832 * sysdeps/htl/old_pt-atfork.c: Likewise.
15833 * sysdeps/htl/pt-atfork.c: Likewise.
15834 * sysdeps/htl/pt-attr-destroy.c: Likewise.
15835 * sysdeps/htl/pt-attr-getdetachstate.c: Likewise.
15836 * sysdeps/htl/pt-attr-getguardsize.c: Likewise.
15837 * sysdeps/htl/pt-attr-getinheritsched.c: Likewise.
15838 * sysdeps/htl/pt-attr-getschedparam.c: Likewise.
15839 * sysdeps/htl/pt-attr-getschedpolicy.c: Likewise.
15840 * sysdeps/htl/pt-attr-getscope.c: Likewise.
15841 * sysdeps/htl/pt-attr-getstack.c: Likewise.
15842 * sysdeps/htl/pt-attr-getstackaddr.c: Likewise.
15843 * sysdeps/htl/pt-attr-getstacksize.c: Likewise.
15844 * sysdeps/htl/pt-attr-init.c: Likewise.
15845 * sysdeps/htl/pt-attr-setdetachstate.c: Likewise.
15846 * sysdeps/htl/pt-attr-setguardsize.c: Likewise.
15847 * sysdeps/htl/pt-attr-setinheritsched.c: Likewise.
15848 * sysdeps/htl/pt-attr-setschedparam.c: Likewise.
15849 * sysdeps/htl/pt-attr-setschedpolicy.c: Likewise.
15850 * sysdeps/htl/pt-attr-setscope.c: Likewise.
15851 * sysdeps/htl/pt-attr-setstack.c: Likewise.
15852 * sysdeps/htl/pt-attr-setstackaddr.c: Likewise.
15853 * sysdeps/htl/pt-attr-setstacksize.c: Likewise.
15854 * sysdeps/htl/pt-attr.c: Likewise.
15855 * sysdeps/htl/pt-barrier-destroy.c: Likewise.
15856 * sysdeps/htl/pt-barrier-init.c: Likewise.
15857 * sysdeps/htl/pt-barrier-wait.c: Likewise.
15858 * sysdeps/htl/pt-barrier.c: Likewise.
15859 * sysdeps/htl/pt-barrierattr-destroy.c: Likewise.
15860 * sysdeps/htl/pt-barrierattr-getpshared.c: Likewise.
15861 * sysdeps/htl/pt-barrierattr-init.c: Likewise.
15862 * sysdeps/htl/pt-barrierattr-setpshared.c: Likewise.
15863 * sysdeps/htl/pt-cond-brdcast.c: Likewise.
15864 * sysdeps/htl/pt-cond-destroy.c: Likewise.
15865 * sysdeps/htl/pt-cond-init.c: Likewise.
15866 * sysdeps/htl/pt-cond-signal.c: Likewise.
15867 * sysdeps/htl/pt-cond-timedwait.c: Likewise.
15868 * sysdeps/htl/pt-cond-wait.c: Likewise.
15869 * sysdeps/htl/pt-cond.c: Likewise.
15870 * sysdeps/htl/pt-condattr-destroy.c: Likewise.
15871 * sysdeps/htl/pt-condattr-getclock.c: Likewise.
15872 * sysdeps/htl/pt-condattr-getpshared.c: Likewise.
15873 * sysdeps/htl/pt-condattr-init.c: Likewise.
15874 * sysdeps/htl/pt-condattr-setclock.c: Likewise.
15875 * sysdeps/htl/pt-condattr-setpshared.c: Likewise.
15876 * sysdeps/htl/pt-destroy-specific.c: Likewise.
15877 * sysdeps/htl/pt-equal.c: Likewise.
15878 * sysdeps/htl/pt-getconcurrency.c: Likewise.
15879 * sysdeps/htl/pt-getcpuclockid.c: Likewise.
15880 * sysdeps/htl/pt-getschedparam.c: Likewise.
15881 * sysdeps/htl/pt-getspecific.c: Likewise.
15882 * sysdeps/htl/pt-init-specific.c: Likewise.
15883 * sysdeps/htl/pt-key-create.c: Likewise.
15884 * sysdeps/htl/pt-key-delete.c: Likewise.
15885 * sysdeps/htl/pt-key.h: Likewise.
15886 * sysdeps/htl/pt-mutex-destroy.c: Likewise.
15887 * sysdeps/htl/pt-mutex-getprioceiling.c: Likewise.
15888 * sysdeps/htl/pt-mutex-init.c: Likewise.
15889 * sysdeps/htl/pt-mutex-lock.c: Likewise.
15890 * sysdeps/htl/pt-mutex-setprioceiling.c: Likewise.
15891 * sysdeps/htl/pt-mutex-timedlock.c: Likewise.
15892 * sysdeps/htl/pt-mutex-trylock.c: Likewise.
15893 * sysdeps/htl/pt-mutex-unlock.c: Likewise.
15894 * sysdeps/htl/pt-mutexattr-destroy.c: Likewise.
15895 * sysdeps/htl/pt-mutexattr-getprioceiling.c: Likewise.
15896 * sysdeps/htl/pt-mutexattr-getprotocol.c: Likewise.
15897 * sysdeps/htl/pt-mutexattr-getpshared.c: Likewise.
15898 * sysdeps/htl/pt-mutexattr-gettype.c: Likewise.
15899 * sysdeps/htl/pt-mutexattr-init.c: Likewise.
15900 * sysdeps/htl/pt-mutexattr-setprioceiling.c: Likewise.
15901 * sysdeps/htl/pt-mutexattr-setprotocol.c: Likewise.
15902 * sysdeps/htl/pt-mutexattr-setpshared.c: Likewise.
15903 * sysdeps/htl/pt-mutexattr-settype.c: Likewise.
15904 * sysdeps/htl/pt-mutexattr.c: Likewise.
15905 * sysdeps/htl/pt-once.c: Likewise.
15906 * sysdeps/htl/pt-rwlock-attr.c: Likewise.
15907 * sysdeps/htl/pt-rwlock-destroy.c: Likewise.
15908 * sysdeps/htl/pt-rwlock-init.c: Likewise.
15909 * sysdeps/htl/pt-rwlock-rdlock.c: Likewise.
15910 * sysdeps/htl/pt-rwlock-timedrdlock.c: Likewise.
15911 * sysdeps/htl/pt-rwlock-timedwrlock.c: Likewise.
15912 * sysdeps/htl/pt-rwlock-tryrdlock.c: Likewise.
15913 * sysdeps/htl/pt-rwlock-trywrlock.c: Likewise.
15914 * sysdeps/htl/pt-rwlock-unlock.c: Likewise.
15915 * sysdeps/htl/pt-rwlock-wrlock.c: Likewise.
15916 * sysdeps/htl/pt-rwlockattr-destroy.c: Likewise.
15917 * sysdeps/htl/pt-rwlockattr-getpshared.c: Likewise.
15918 * sysdeps/htl/pt-rwlockattr-init.c: Likewise.
15919 * sysdeps/htl/pt-rwlockattr-setpshared.c: Likewise.
15920 * sysdeps/htl/pt-setconcurrency.c: Likewise.
15921 * sysdeps/htl/pt-setschedparam.c: Likewise.
15922 * sysdeps/htl/pt-setschedprio.c: Likewise.
15923 * sysdeps/htl/pt-setspecific.c: Likewise.
15924 * sysdeps/htl/pt-spin.c: Likewise.
15925 * sysdeps/htl/pt-startup.c: Likewise.
15926 * sysdeps/htl/pthread.h: Likewise.
15927 * sysdeps/htl/sem-close.c: Likewise.
15928 * sysdeps/htl/sem-destroy.c: Likewise.
15929 * sysdeps/htl/sem-getvalue.c: Likewise.
15930 * sysdeps/htl/sem-init.c: Likewise.
15931 * sysdeps/htl/sem-open.c: Likewise.
15932 * sysdeps/htl/sem-post.c: Likewise.
15933 * sysdeps/htl/sem-timedwait.c: Likewise.
15934 * sysdeps/htl/sem-trywait.c: Likewise.
15935 * sysdeps/htl/sem-unlink.c: Likewise.
15936 * sysdeps/htl/sem-wait.c: Likewise.
15937 * sysdeps/hurd/htl/pt-kill.c: Likewise.
15938 * sysdeps/i386/htl/pt-machdep.h: Likewise.
15939 * sysdeps/mach/htl/pt-block.c: Likewise.
15940 * sysdeps/mach/htl/pt-spin.c: Likewise.
15941 * sysdeps/mach/htl/pt-stack-alloc.c: Likewise.
15942 * sysdeps/mach/htl/pt-thread-alloc.c: Likewise.
15943 * sysdeps/mach/htl/pt-thread-start.c: Likewise.
15944 * sysdeps/mach/htl/pt-thread-terminate.c: Likewise.
15945 * sysdeps/mach/htl/pt-timedblock.c: Likewise.
15946 * sysdeps/mach/htl/pt-wakeup.c: Likewise.
15947 * sysdeps/mach/hurd/htl/bits/pthread-np.h: Likewise.
15948 * sysdeps/mach/hurd/htl/bits/types/struct___pthread_mutex.h: Likewise.
15949 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c: Likewise.
15950 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c: Likewise.
15951 * sysdeps/mach/hurd/htl/pt-docancel.c: Likewise.
15952 * sysdeps/mach/hurd/htl/pt-hurd-cond-timedwait.c: Likewise.
15953 * sysdeps/mach/hurd/htl/pt-hurd-cond-wait.c: Likewise.
15954 * sysdeps/mach/hurd/htl/pt-mutex-consistent.c: Likewise.
15955 * sysdeps/mach/hurd/htl/pt-mutex-destroy.c: Likewise.
15956 * sysdeps/mach/hurd/htl/pt-mutex-getprioceiling.c: Likewise.
15957 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Likewise.
15958 * sysdeps/mach/hurd/htl/pt-mutex-lock.c: Likewise.
15959 * sysdeps/mach/hurd/htl/pt-mutex-setprioceiling.c: Likewise.
15960 * sysdeps/mach/hurd/htl/pt-mutex-timedlock.c: Likewise.
15961 * sysdeps/mach/hurd/htl/pt-mutex-transfer-np.c: Likewise.
15962 * sysdeps/mach/hurd/htl/pt-mutex-trylock.c: Likewise.
15963 * sysdeps/mach/hurd/htl/pt-mutex-unlock.c: Likewise.
15964 * sysdeps/mach/hurd/htl/pt-mutex.h: Likewise.
15965 * sysdeps/mach/hurd/htl/pt-mutexattr-destroy.c: Likewise.
15966 * sysdeps/mach/hurd/htl/pt-mutexattr-getprioceiling.c: Likewise.
15967 * sysdeps/mach/hurd/htl/pt-mutexattr-getprotocol.c: Likewise.
15968 * sysdeps/mach/hurd/htl/pt-mutexattr-getpshared.c: Likewise.
15969 * sysdeps/mach/hurd/htl/pt-mutexattr-getrobust.c: Likewise.
15970 * sysdeps/mach/hurd/htl/pt-mutexattr-gettype.c: Likewise.
15971 * sysdeps/mach/hurd/htl/pt-mutexattr-init.c: Likewise.
15972 * sysdeps/mach/hurd/htl/pt-mutexattr-setprioceiling.c: Likewise.
15973 * sysdeps/mach/hurd/htl/pt-mutexattr-setprotocol.c: Likewise.
15974 * sysdeps/mach/hurd/htl/pt-mutexattr-setpshared.c: Likewise.
15975 * sysdeps/mach/hurd/htl/pt-mutexattr-setrobust.c: Likewise.
15976 * sysdeps/mach/hurd/htl/pt-mutexattr-settype.c: Likewise.
15977 * sysdeps/mach/hurd/htl/pt-sigstate-destroy.c: Likewise.
15978 * sysdeps/mach/hurd/htl/pt-sigstate-init.c: Likewise.
15979 * sysdeps/mach/hurd/htl/pt-sigstate.c: Likewise.
15980 * sysdeps/mach/hurd/htl/pt-sysdep.c: Likewise.
15981 * sysdeps/mach/hurd/htl/pt-sysdep.h: Likewise.
15982 * sysdeps/mach/hurd/i386/htl/pt-machdep.c: Likewise.
15983 * sysdeps/mach/hurd/i386/htl/pt-setup.c: Likewise.
15985 * NEWS: Announce that glibc now builds unpatched on GNU/Hurd.
15986 * README: Remove the mention of out-of-tree patches needed for
15989 * sysdeps/mach/hurd/bits/stat.h [!__USE_MISC && __USE_ATFILE]
15990 (UTIME_NOW, UTIME_OMIT): Define macros.
15992 * htl/cthreads-compat.c (__cthread_detach): Call __pthread_detach
15993 instead of pthread_detach.
15994 (__cthread_fork): Call __pthread_create instead of pthread_create.
15995 (__cthread_keycreate): Call __pthread_key_create instead of
15996 pthread_key_create.
15997 (__cthread_getspecific): Call __pthread_getspecific instead of
15998 pthread_getspecific.
15999 (__cthread_setspecific): Call __pthread_setspecific instead of
16000 pthread_setspecific.
16001 * htl/pt-alloc.c (__pthread_alloc): Call __pthread_mutex_lock and
16002 __pthread_mutex_unlock instead of pthread_mutex_lock and
16003 pthread_mutex_unlock.
16004 * htl/pt-cleanup.c (__pthread_get_cleanup_stack): Rename to
16005 ___pthread_get_cleanup_stack.
16006 (__pthread_get_cleanup_stack): New strong alias.
16007 * htl/pt-create.c: Include <pthreadP.h>.
16008 (entry_point): Call __pthread_exit instead of pthread_exit.
16009 (pthread_create): Rename to __pthread_create.
16010 (pthread_create): New strong alias.
16011 * htl/pt-detach.c (pthread_detach): Rename to __pthread_detach.
16012 (pthread_detach): New strong alias.
16013 (__pthread_detach): Call __pthread_cond_broadcast instead of
16014 pthread_cond_broadcast.
16015 * htl/pt-exit.c: Include <pthreadP.h>.
16016 (__pthread_exit): Call __pthread_setcancelstate and
16017 ___pthread_get_cleanup_stack instead of pthread_setcancelstate and
16018 __pthread_get_cleanup_stack.
16019 * htl/pt-testcancel.c: Include <pthreadP.h>.
16020 (pthread_testcancel): Call __pthread_exit instead of pthread_exit.
16021 * sysdeps/htl/pt-attr-getstack.c: Include <pthreadP.h>
16022 (__pthread_attr_getstack): Call __pthread_attr_getstackaddr and
16023 __pthread_attr_getstacksize instead of pthread_attr_getstackaddr and
16024 pthread_attr_getstacksize.
16025 * sysdeps/htl/pt-attr-getstackaddr.c (pthread_attr_getstackaddr):
16026 Rename to __pthread_attr_getstackaddr.
16027 (pthread_attr_getstackaddr): New strong alias.
16028 * sysdeps/htl/pt-attr-getstacksize.c (pthread_attr_getstacksize):
16029 Rename to __pthread_attr_getstacksize.
16030 (pthread_attr_getstacksize): New strong alias.
16031 * sysdeps/htl/pt-attr-setstack.c: Include <pthreadP.h>.
16032 (pthread_attr_setstack): Rename to __pthread_attr_setstack.
16033 (pthread_attr_setstack): New strong alias.
16034 (__pthread_attr_setstack): Call __pthread_attr_getstacksize,
16035 __pthread_attr_setstacksize and __pthread_attr_setstackaddr instead of
16036 pthread_attr_getstacksize, pthread_attr_setstacksize and
16037 pthread_attr_setstackaddr.
16038 * sysdeps/htl/pt-attr-setstackaddr.c (pthread_attr_setstackaddr):
16039 Rename to __pthread_attr_setstackaddr.
16040 (pthread_attr_setstackaddr): New strong alias.
16041 * sysdeps/htl/pt-attr-setstacksize.c (pthread_attr_setstacksize):
16042 Rename to __pthread_attr_setstacksize.
16043 (pthread_attr_setstacksize): New strong alias.
16044 * sysdeps/htl/pt-cond-timedwait.c: Include <pthreadP.h>.
16045 (__pthread_cond_timedwait_internal): Use __pthread_exit instead of
16047 * sysdeps/htl/pt-key-create.c: Include <pthreadP.h>.
16048 (__pthread_key_create): New hidden def.
16049 * sysdeps/htl/pt-key.h: Include <pthreadP.h>.
16050 * sysdeps/htl/pthreadP.h (_pthread_mutex_init,
16051 __pthread_cond_broadcast, __pthread_create, __pthread_detach,
16052 __pthread_exit, __pthread_key_create, __pthread_getspecific,
16053 __pthread_setspecific, __pthread_setcancelstate,
16054 __pthread_attr_getstackaddr, __pthread_attr_setstackaddr,
16055 __pthread_attr_getstacksize, __pthread_attr_setstacksize,
16056 __pthread_attr_setstack, ___pthread_get_cleanup_stack): New
16058 (__pthread_key_create, _pthread_mutex_init): New hidden declarations.
16059 * sysdeps/mach/hurd/htl/pt-attr-setstackaddr.c
16060 (pthread_attr_setstackaddr): Rename to __pthread_attr_setstackaddr.
16061 (pthread_attr_setstackaddr): New strong alias.
16062 * sysdeps/mach/hurd/htl/pt-attr-setstacksize.c
16063 (pthread_attr_setstacksize): Rename to __pthread_attr_setstacksize.
16064 (pthread_attr_setstacksize): New strong alias.
16065 * sysdeps/mach/hurd/htl/pt-docancel.c: Include <pthreadP.h>.
16066 (call_exit): Call __pthread_exit instead of pthread_exit.
16067 * sysdeps/mach/hurd/htl/pt-mutex-init.c: Include <pthreadP.h>.
16068 (_pthread_mutex_init): New hidden definition.
16069 * sysdeps/mach/hurd/htl/pt-sysdep.c: Include <pthreadP.h>.
16070 (_init_routine): Call __pthread_attr_init and __pthread_attr_setstack
16071 instead of pthread_attr_init and pthread_attr_setstack.
16073 * hurd/hurdauth.c (_S_msg_add_auth): Call __vm_allocate and
16074 __vm_deallocate instead of vm_allocate and vm_deallocate.
16075 * hurd/hurdmsg.c (_S_msg_set_env_variable): Call __setenv instead of
16077 * hurd/hurdprio.c (_hurd_priority_which_map): Call __geteuid instead
16079 * hurd/path-lookup.c (file_name_path_scan): Call __strdup instead of
16081 * hurd/siginfo.c: Include <libioP.h>.
16082 (_hurd_siginfo_handler): Call _IO_puts instead of puts.
16083 * hurd/xattr.c (_hurd_xattr_get, _hurd_xattr_set): Call __munmap instead of
16085 * mach/devstream.c: Include <libioP.h>.
16086 (dealloc_ref): Call __mach_port_deallocate instead of
16087 mach_port_deallocate.
16088 (mach_open_devstream): Call _IO_fopencookie instead of fopencookie.
16089 Call __mach_port_deallocate instead of mach_port_deallocate.
16090 * stdlib/canonicalize.c (__realpath): Call __pathconf instead of
16092 * sysdeps/mach/hurd/ifreq.c (__ifreq): Call __munmap instead of
16094 * sysdeps/mach/hurd/ifreq.h (__if_freereq): Likewise.
16095 * sysdeps/mach/hurd/ptrace.c (ptrace): Call __kill instead of kill.
16096 * sysdeps/mach/hurd/sendfile64.c (sendfile64): Call __munmap instead
16098 * sysdeps/mach/hurd/socketpair.c (__socketpair): Call __close instead
16100 * sysdeps/posix/clock_getres.c (realtime_getres): Call __sysconf
16101 instead of sysconf.
16102 * sysdeps/pthread/timer_gettime.c (timer_gettime): Call
16103 __clock_gettime instead of clock_gettime.
16104 * sysdeps/pthread/timer_routines.c (thread_func): Likewise.
16105 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
16106 * sysdeps/unix/bsd/gtty.c (gtty): Call __ioctl instead of ioctl.
16107 * sysdeps/unix/bsd/stty.c (stty): Likewise.
16108 * sysdeps/unix/bsd/tcflow.c (tcflow): Call __tcgetattr instead of
16110 * sysdeps/unix/clock_nanosleep.c (__clock_nanosleep): Call
16111 __clock_gettime and __nanosleep instead of clock_gettime and
16113 * hurd/catch-signal.c (hurd_catch_signal): Rename to
16114 __hurd_catch_signal.
16115 (hurd_catch_signal): New strong alias.
16116 (hurd_safe_memset, hurd_safe_copyout, hurd_safe_copyin): Call
16117 __hurd_catch_signal instead of hurd_catch_signal.
16118 * hurd/exc2signal.c (_hurd_exception2signal): Add hidden def.
16119 * hurd/hurdexec.c (_hurd_init): Add hidden def.
16120 * hurd/hurdinit.c (_hurd_init): Add hidden def.
16121 * hurd/hurdsig.c: Include <mach/mig_support.h>.
16122 (_hurd_thread_sigstate): Add hidden def.
16123 (_hurd_internal_post_signal): Use __mutex_unlock instead of
16125 * hurd/intern-fd.c (_hurd_intern_fd): Add hidden def.
16126 * hurd/intr-msg.c (_hurd_intr_rpc_mach_msg): Add hidden def.
16127 * hurd/path-lookup.c (hurd_file_name_path_lookup): Rename to
16128 __hurd_file_name_path_lookup.
16129 (hurd_file_name_path_lookup): New strong alias.
16130 (file_name_path_lookup): Call __hurd_file_name_path_lookup instead of
16131 hurd_file_name_path_lookup.
16132 * mach/errstring.c (mach_error_type): Add hidden def.
16133 * mach/msg-destroy.c (__mach_msg_destroy): Add hidden def.
16134 * mach/mutex-init.c (__mutex_init): Add hidden def.
16135 * mach/spin-lock.c (__spin_lock_locked, __spin_lock, __spin_unlock,
16136 __spin_try_lock, __mutex_lock, __mutex_trylock): Add hidden defs.
16137 * mach/spin-solid.c (__spin_lock_solid): Add hidden def.
16138 * sysdeps/mach/hurd/getcwd.c
16139 (_hurd_canonicalize_directory_name_internal): Rename to
16140 __hurd_canonicalize_directory_name_internal.
16141 (_hurd_canonicalize_directory_name_internal): New strong alias.
16142 (__canonicalize_directory_name_internal, __getcwd): Call
16143 __hurd_canonicalize_directory_name_internal instead of
16144 _hurd_canonicalize_directory_name_internal.
16145 * sysdeps/mach/hurd/mig-reply.c: Include <mach/mig_support.h>.
16146 (__mig_get_reply_port, __mig_dealloc_reply_port, __mig_init): Add
16148 * sysdeps/hurd/include/hurd.h: New file.
16149 * sysdeps/hurd/include/hurd/fd.h: New file.
16150 * sysdeps/hurd/include/hurd/signal.h: New file.
16151 * sysdeps/mach/include/lock-intern.h: New file.
16152 * sysdeps/mach/include/mach.h: New file.
16153 * sysdeps/mach/include/mach/mig_support.h: New file.
16154 * sysdeps/mach/include/mach_error.h: New file.
16155 * sysdeps/hurd/include/hurd/signal.h (_hurd_raise_signal): Add hidden
16157 * hurd/hurd-raise.c (_hurd_raise_signal): Add hidden def.
16158 * hurd/Makefile ($(inlines:%=$(objpfx)%.c): Define
16159 _HEADER_H_HIDDEN_DEF macro.
16160 * sysdeps/hurd/include/hurd/fd.h (_hurd_fd_error,
16161 _hurd_fd_error_signal): Add hidden prototype.
16162 [_HURD_FD_H_HIDDEN_DEF] (_hurd_fd_error, _hurd_fd_error_signal): Add
16164 * libio/iolibio.h (_IO_puts): New hidden prototype.
16165 * libio/ioputs.c (_IO_puts): New hidden def.
16166 * sysdeps/mach/hurd/localplt.data: New file.
16168 2018-04-02 Agustina Arzille <avarzille@riseup.net>
16169 Amos Jeffries <squid3@treenet.co.nz>
16170 David Michael <fedora.dm0@gmail.com>
16171 Marco Gerards <marco@gnu.org>
16172 Marcus Brinkmann <marcus@gnu.org>
16173 Neal H. Walfield <neal@gnu.org>
16174 Pino Toscano <toscano.pino@tiscali.it>
16175 Richard Braun <rbraun@sceen.net>
16176 Roland McGrath <roland@gnu.org>
16177 Samuel Thibault <samuel.thibault@ens-lyon.org>
16178 Thomas DiModica <ricinwich@yahoo.com>
16179 Thomas Schwinge <tschwinge@gnu.org>
16181 * htl: New directory.
16182 * sysdeps/htl: New directory.
16183 * sysdeps/hurd/htl: New directory.
16184 * sysdeps/i386/htl: New directory.
16185 * sysdeps/mach/htl: New directory.
16186 * sysdeps/mach/hurd/htl: New directory.
16187 * sysdeps/mach/hurd/i386/htl: New directory.
16188 * nscd/Depend, resolv/Depend, rt/Depend: Add htl dependency.
16189 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/i386/htl imply.
16190 * sysdeps/mach/hurd/i386/libpthread.abilist: New file.
16192 2018-04-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
16194 * sysdeps/pthread/timer_routines.c (__timer_thread_start): Block all
16195 signals in thread created for runing timers.
16197 2018-04-01 Florian Weimer <fweimer@redhat.com>
16199 * support/support_format_addrinfo.c (support_format_addrinfo):
16200 Include unknown error number in formatted result.
16202 2018-03-29 Florian Weimer <fweimer@redhat.com>
16204 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c (do_test): Also
16207 2018-03-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16209 * sysdeps/unix/sysv/linux/arch-fork.h [__ASSUME_CLONE_BACKWARDS]
16210 (arch_fork): Issue INLINE_CLONE_SYSCALL if defined.
16211 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
16212 (__ASSUME_CLONE_BACKWARDS): Define.
16214 2018-03-27 Jesse Hathaway <jesse@mbuki-mvuki.org>
16217 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Return
16218 early when linux sentinel value is set.
16220 2018-03-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
16222 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_MEMLOCK): Define.
16224 2018-03-27 Andreas Schwab <schwab@suse.de>
16227 * resolv/res_send.c (__res_context_send): Return ENOMEM if
16228 allocation of private copy of nsaddr_list fails.
16230 2018-03-26 Joseph Myers <joseph@codesourcery.com>
16233 * sysdeps/unix/sysv/linux/generic/umount.c: Move to ....
16234 * sysdeps/unix/sysv/linux/umount.c: ... here.
16235 * sysdeps/unix/sysv/linux/arm/umount.c: Remove file.
16236 * sysdeps/unix/sysv/linux/hppa/umount.c: Likewise.
16237 * sysdeps/unix/sysv/linux/ia64/umount.c: Likewise.
16238 * sysdeps/unix/sysv/linux/mips/mips64/umount.c: Likewise.
16239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/umount.c: Likewise.
16240 * sysdeps/unix/sysv/linux/umount.S: Likewise.
16241 * sysdeps/unix/sysv/linux/x86_64/umount.c: Likewise.
16243 2018-03-26 Andreas Schwab <schwab@suse.de>
16245 * elf/elf.h (R_RISCV_BRANCH, R_RISCV_JAL, R_RISCV_CALL)
16246 (R_RISCV_CALL_PLT, R_RISCV_GOT_HI20, R_RISCV_TLS_GOT_HI20)
16247 (R_RISCV_TLS_GD_HI20, R_RISCV_PCREL_HI20, R_RISCV_PCREL_LO12_I)
16248 (R_RISCV_PCREL_LO12_S, R_RISCV_HI20, R_RISCV_LO12_I)
16249 (R_RISCV_LO12_S, R_RISCV_TPREL_HI20, R_RISCV_TPREL_LO12_I)
16250 (R_RISCV_TPREL_LO12_S, R_RISCV_TPREL_ADD, R_RISCV_ADD8)
16251 (R_RISCV_ADD16, R_RISCV_ADD32, R_RISCV_ADD64, R_RISCV_SUB8)
16252 (R_RISCV_SUB16, R_RISCV_SUB32, R_RISCV_SUB64)
16253 (R_RISCV_GNU_VTINHERIT, R_RISCV_GNU_VTENTRY, R_RISCV_ALIGN)
16254 (R_RISCV_RVC_BRANCH, R_RISCV_RVC_JUMP, R_RISCV_RVC_LUI)
16255 (R_RISCV_GPREL_I, R_RISCV_GPREL_S, R_RISCV_TPREL_I)
16256 (R_RISCV_TPREL_S, R_RISCV_RELAX, R_RISCV_SUB6, R_RISCV_SET6)
16257 (R_RISCV_SET8, R_RISCV_SET16, R_RISCV_SET32, R_RISCV_32_PCREL)
16258 (R_RISCV_NUM): Define.
16260 2018-03-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
16262 * include/errno.h [IS_IN(rtld) && !RTLD_PRIVATE_ERRNO]: Do not use the
16263 TLS declaration of errno.
16264 * sysdeps/generic/libc-start.h [!SHARED] (ARCH_SETUP_TLS): Define to
16266 * sysdeps/unix/sysv/linux/powerpc/libc-start.h [!SHARED]
16267 (ARCH_SETUP_TLS): Likewise.
16268 * sysdeps/mach/hurd/libc-start.h: New file copied from
16269 sysdeps/generic/libc-start.h, but define ARCH_SETUP_TLS to empty.
16270 * csu/libc-start.c [!SHARED] (LIBC_START_MAIN): Call ARCH_SETUP_TLS
16271 instead of __libc_setup_tls.
16272 * sysdeps/mach/hurd/i386/init-first.c [!SHARED] (init1): Call
16273 __libc_setup_tls before initializing libpthread and running _hurd_init
16274 which starts the signal thread.
16275 * sysdeps/generic/ldsodefs.h [SHARED] (__pthread_initialize_minimal):
16277 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16279 2018-03-24 H.J. Lu <hongjiu.lu@intel.com>
16282 * elf/Makefile (tests): Add $(tests-execstack-$(have-z-execstack))
16283 after it is defined.
16285 2018-03-23 Andrew Senkevich <andrew.senkevich@intel.com>
16286 Max Horn <max@quendi.de>
16290 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
16292 * string/test-memmove.c (do_test2): New testcase.
16294 2018-03-22 Joseph Myers <joseph@codesourcery.com>
16296 * sysdeps/generic/frame.h: Remove file.
16297 * sysdeps/arm/frame.h: Likewise.
16298 * sysdeps/hppa/frame.h: Likewise.
16299 * sysdeps/generic/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS): Remove
16301 (GET_FRAME): Likewise.
16302 (GET_STACK): Likewise.
16303 (CALL_SIGHANDLER): Likewise.
16304 * sysdeps/mach/hurd/i386/sigcontextinfo.h (SIGCONTEXT_EXTRA_ARGS):
16306 (GET_FRAME): Likewise.
16307 (GET_STACK): Likewise.
16308 (CALL_SIGHANDLER): Likewise.
16309 * sysdeps/unix/sysv/linux/alpha/sigcontextinfo.h
16310 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16311 (GET_FRAME): Likewise.
16312 (GET_STACK): Likewise.
16313 (CALL_SIGHANDLER): Likewise.
16314 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h
16315 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16316 (GET_FRAME): Likewise.
16317 (GET_STACK): Likewise.
16318 (ADVANCE_STACK_FRAME): Likewise.
16319 (CALL_SIGHANDLER): Likewise.
16320 * sysdeps/unix/sysv/linux/i386/sigcontextinfo.h
16321 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16322 (GET_FRAME): Likewise.
16323 (GET_STACK): Likewise.
16324 (CALL_SIGHANDLER): Likewise.
16325 * sysdeps/unix/sysv/linux/ia64/sigcontextinfo.h
16326 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16327 (GET_FRAME): Likewise.
16328 (GET_STACK): Likewise.
16329 (CALL_SIGHANDLER): Likewise.
16330 * sysdeps/unix/sysv/linux/m68k/sigcontextinfo.h
16331 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16332 (GET_FRAME): Likewise.
16333 (GET_STACK): Likewise.
16334 (CALL_SIGHANDLER): Likewise.
16335 * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
16336 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16337 (GET_FRAME): Likewise.
16338 (GET_STACK): Likewise.
16339 (CALL_SIGHANDLER): Likewise.
16340 * sysdeps/unix/sysv/linux/mips/sigcontextinfo.h
16341 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16342 (GET_FRAME): Likewise.
16343 (GET_STACK): Likewise.
16344 (CALL_SIGHANDLER): Likewise.
16345 * sysdeps/unix/sysv/linux/powerpc/sigcontextinfo.h
16346 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16347 (GET_FRAME): Likewise.
16348 (GET_STACK): Likewise.
16349 (CALL_SIGHANDLER): Likewise.
16350 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h
16351 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16352 (GET_FRAME): Likewise.
16353 (GET_STACK): Likewise.
16354 (CALL_SIGHANDLER): Likewise.
16355 * sysdeps/unix/sysv/linux/s390/sigcontextinfo.h
16356 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16357 (GET_FRAME): Likewise.
16358 (GET_STACK): Likewise.
16359 (CALL_SIGHANDLER): Likewise.
16360 * sysdeps/unix/sysv/linux/sh/sigcontextinfo.h
16361 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16362 (GET_FRAME): Likewise.
16363 (GET_STACK): Likewise.
16364 (CALL_SIGHANDLER): Likewise.
16365 * sysdeps/unix/sysv/linux/sparc/sparc32/sigcontextinfo.h
16366 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16367 (FIRST_FRAME_POINTER): Likewise.
16368 (ADVANCE_STACK_FRAME): Likewise.
16369 (GET_STACK): Likewise.
16370 (GET_FRAME): Likewise.
16371 (CALL_SIGHANDLER): Likewise.
16372 * sysdeps/unix/sysv/linux/sparc/sparc64/sigcontextinfo.h
16373 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16374 (ADVANCE_STACK_FRAME): Likewise.
16375 (GET_STACK): Likewise.
16376 (GET_FRAME): Likewise.
16377 (CALL_SIGHANDLER): Likewise.
16378 * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h
16379 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16380 (GET_FRAME): Likewise.
16381 (GET_STACK): Likewise.
16382 (CALL_SIGHANDLER): Likewise.
16383 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h
16384 (SIGCONTEXT_EXTRA_ARGS): Likewise.
16385 (GET_FRAME): Likewise.
16386 (GET_STACK): Likewise.
16387 (CALL_SIGHANDLER): Likewise.
16389 2018-03-21 Joseph Myers <joseph@codesourcery.com>
16391 * sysdeps/x86_64/backtrace.c: Move to ....
16392 * debug/backtrace.c: ... here.
16393 * sysdeps/aarch64/backtrace.c: Remove file.
16394 * sysdeps/alpha/backtrace.c: Likewise.
16395 * sysdeps/hppa/backtrace.c: Likewise.
16396 * sysdeps/ia64/backtrace.c: Likewise.
16397 * sysdeps/mips/backtrace.c: Likewise.
16398 * sysdeps/nios2/backtrace.c: Likewise.
16399 * sysdeps/riscv/backtrace.c: Likewise.
16400 * sysdeps/sh/backtrace.c: Likewise.
16401 * sysdeps/tile/backtrace.c: Likewise.
16403 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16406 * sysdeps/powerpc/bits/mathinline.h (fdim): Remove inline
16409 * sysdeps/sparc/fpu/bits/mathinline.h: Remove file.
16412 * stdlib/random_r.c (__random_r): Use unsigned arithmetic for
16413 possibly overflowing computations.
16415 2018-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
16417 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): Remove errno
16418 values from Linux-specific section now that it is in the GNU section.
16419 * sysdeps/gnu/errlist.c: Regenerate.
16421 2018-03-20 Joseph Myers <joseph@codesourcery.com>
16423 * math/Makefile (libm-narrow-fns): Add sub.
16424 (libm-test-funcs-narrow): Likewise.
16425 * math/Versions (GLIBC_2.28): Add narrowing subtract functions.
16426 * math/bits/mathcalls-narrow.h (sub): Use __MATHCALL_NARROW.
16427 * math/gen-auto-libm-tests.c (test_functions): Add sub.
16428 * math/math-narrow.h (CHECK_NARROW_SUB): New macro.
16429 (NARROW_SUB_ROUND_TO_ODD): Likewise.
16430 (NARROW_SUB_TRIVIAL): Likewise.
16431 * sysdeps/ieee754/float128/float128_private.h (__fsubl): New
16433 (__dsubl): Likewise.
16434 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fsub and
16436 (CFLAGS-nldbl-dsub.c): New variable.
16437 (CFLAGS-nldbl-fsub.c): Likewise.
16438 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
16440 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_dsubl): New
16442 * manual/arith.texi (Misc FP Arithmetic): Document fsub, fsubl,
16443 dsubl, fMsubfN, fMsubfNx, fMxsubfN and fMxsubfNx.
16444 * math/auto-libm-test-in: Add tests of sub.
16445 * math/auto-libm-test-out-narrow-sub: New generated file.
16446 * math/libm-test-narrow-sub.inc: New file.
16447 * sysdeps/i386/fpu/s_f32xsubf64.c: Likewise.
16448 * sysdeps/ieee754/dbl-64/s_f32xsubf64.c: Likewise.
16449 * sysdeps/ieee754/dbl-64/s_fsub.c: Likewise.
16450 * sysdeps/ieee754/float128/s_f32subf128.c: Likewise.
16451 * sysdeps/ieee754/float128/s_f64subf128.c: Likewise.
16452 * sysdeps/ieee754/float128/s_f64xsubf128.c: Likewise.
16453 * sysdeps/ieee754/ldbl-128/s_dsubl.c: Likewise.
16454 * sysdeps/ieee754/ldbl-128/s_f64xsubf128.c: Likewise.
16455 * sysdeps/ieee754/ldbl-128/s_fsubl.c: Likewise.
16456 * sysdeps/ieee754/ldbl-128ibm/s_dsubl.c: Likewise.
16457 * sysdeps/ieee754/ldbl-128ibm/s_fsubl.c: Likewise.
16458 * sysdeps/ieee754/ldbl-96/s_dsubl.c: Likewise.
16459 * sysdeps/ieee754/ldbl-96/s_fsubl.c: Likewise.
16460 * sysdeps/ieee754/ldbl-opt/nldbl-dsub.c: Likewise.
16461 * sysdeps/ieee754/ldbl-opt/nldbl-fsub.c: Likewise.
16462 * sysdeps/ieee754/soft-fp/s_dsubl.c: Likewise.
16463 * sysdeps/ieee754/soft-fp/s_fsub.c: Likewise.
16464 * sysdeps/ieee754/soft-fp/s_fsubl.c: Likewise.
16465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16466 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
16467 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16468 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16469 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16470 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16471 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16472 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16473 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16474 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16475 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16476 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16477 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16478 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
16481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16483 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
16484 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16485 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16486 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16487 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16488 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16489 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
16490 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
16491 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16492 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16494 2018-03-19 Joseph Myers <joseph@codesourcery.com>
16497 * elf/elf.h (SHT_X86_64_UNWIND): New macro.
16499 2018-03-19 Wilco Dijkstra <wdijkstr@arm.com>
16501 * benchtests/bench-timing.h (attribute_hidden): Undefine.
16503 2018-03-18 Richard Braun <rbraun@sceen.net>
16505 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Use a temporary
16508 2018-03-18 Agustina Arzille <avarzille@riseup.net>
16510 * sysdeps/mach/libc-lock.h (__libc_cleanup_frame): Define structure.
16511 (__libc_cleanup_fct): Define function.
16512 (__libc_cleanup_region_start, __libc_cleanup_region_end,
16513 __libc_cleanup_end): Rewrite implementation using
16514 __attribute__ ((__cleanup__)).
16515 (__libc_cleanup_push, __libc_cleanup_pop): New macros.
16516 * hurd/Makefile (routines): Add hurdlock.
16517 * hurd/Versions (GLIBC_PRIVATE): Added new entry to export the above
16519 (HURD_CTHREADS_0.3): Remove __libc_getspecific.
16520 * hurd/hurdpid.c: Include <lowlevellock.h>
16521 (_S_msg_proc_newids): Use lll_wait to synchronize.
16522 * hurd/hurdsig.c: (reauth_proc): Use __mutex_lock and __mutex_unlock.
16523 * hurd/setauth.c: Include <hurdlock.h>, use integer for synchronization.
16524 * mach/Makefile (lock-headers): Remove machine-lock.h.
16525 * mach/lock-intern.h: Include <lowlevellock.h> instead of
16527 (__spin_lock_t): New type.
16528 (__SPIN_LOCK_INITIALIZER): New macro.
16529 (__spin_lock, __spin_unlock, __spin_try_lock, __spin_lock_locked,
16530 __mutex_init, __mutex_lock_solid, __mutex_unlock_solid, __mutex_lock,
16531 __mutex_unlock, __mutex_trylock): Use lll to implement locks.
16532 * mach/mutex-init.c: Include <lowlevellock.h> instead of <cthreads.h>.
16533 (__mutex_init): Initialize with lll.
16534 * manual/errno.texi (EOWNERDEAD, ENOTRECOVERABLE): New errno values.
16535 * sysdeps/mach/Makefile: Add libmachuser as dependencies for libs
16537 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
16538 * sysdeps/mach/hurd/cthreads.c (__libc_getspecific): Remove function.
16539 * sysdeps/mach/hurd/bits/libc-lock.h: Remove file.
16540 * sysdeps/mach/hurd/setpgid.c: Include <lowlevellock.h>.
16541 (__setpgid): Use lll for synchronization.
16542 * sysdeps/mach/hurd/setsid.c: Likewise with __setsid.
16543 * sysdeps/mach/bits/libc-lock.h: Include <tls.h> and <lowlevellock.h>
16544 instead of <cthreads.h>.
16545 (_IO_lock_inexpensive): New macro
16546 (__libc_lock_recursive_t, __rtld_lock_recursive_t): New structures.
16547 (__libc_lock_self0): New declaration.
16548 (__libc_lock_owner_self): New macro.
16549 (__libc_key_t): Remove type.
16550 (_LIBC_LOCK_INITIALIZER): New macro.
16551 (__libc_lock_define_initialized, __libc_lock_init, __libc_lock_fini,
16552 __libc_lock_fini_recursive, __rtld_lock_fini_recursive,
16553 __libc_lock_lock, __libc_lock_trylock, __libc_lock_unlock,
16554 __libc_lock_define_initialized_recursive,
16555 __rtld_lock_define_initialized_recursive,
16556 __libc_lock_init_recursive, __libc_lock_trylock_recursive,
16557 __libc_lock_lock_recursive, __libc_lock_unlock_recursive,
16558 __rtld_lock_initialize, __rtld_lock_trylock_recursive,
16559 __rtld_lock_lock_recursive, __rtld_lock_unlock_recursive
16560 __libc_once_define, __libc_mutex_unlock): Reimplement with lll.
16561 (__libc_lock_define_recursive, __rtld_lock_define_recursive,
16562 _LIBC_LOCK_RECURSIVE_INITIALIZER, _RTLD_LOCK_RECURSIVE_INITIALIZER):
16564 Include <libc-lockP.h> to reimplement libc_key* with pthread_key*.
16565 * hurd/hurdlock.c: New file.
16566 * hurd/hurdlock.h: New file.
16567 * mach/lowlevellock.h: New file
16569 2018-03-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
16571 * sysdeps/mach/hurd/cthreads.c: Include <cthreads.h>.
16572 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ELOOP
16573 when opening a symlink with O_NOFOLLOW.
16574 * hurd/hurdlookup.c (__hurd_file_name_lookup): Do not append '/' to
16575 path when flags contains O_NOFOLLOW.
16576 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Return ENOTDIR
16577 if flags contains O_DIRECTORY and the result is a directory.
16578 * sysdeps/mach/hurd/i386/init-first.c (init): Also find ELF headers by
16579 oneself when the pointer given in D is nul (as set by ext2fs).
16580 * sysdeps/mach/hurd/mlockall.c: New file.
16581 * sysdeps/mach/hurd/munlockall.c: New file.
16583 2018-03-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
16585 * hurd/hurdsig.c: Include <pthread.h>.
16586 (_hurdsig_init): Call pthread_getattr_np and pthread_attr_getstack to
16587 get the signal thread stack layout.
16588 * hurd/Makefile (headers): Remove threadvar.h.
16589 (inline-headers): Remove threadvar.h.
16590 * hurd/Versions (GLIBC_2.0: Remove __hurd_sigthread_stack_base,
16591 __hurd_sigthread_stack_end, __hurd_sigthread_variables,
16592 __hurd_threadvar_max, __hurd_errno_location.
16593 (HURD_CTHREADS_0.3): Add pthread_getattr_np, pthread_attr_getstack.
16594 * hurd/hurd/signal.h: Do not include <hurd/threadvar.h>.
16595 (_hurd_self_sigstate): Use THREAD_SELF to get _hurd_sigstate.
16596 (_HURD_SIGNAL_H_EXTERN_INLINE): Use THREAD_SELF to get _hurd_sigstate,
16597 unless TLS is not initialized yet, in which case we do not need a
16598 critical section yet anyway.
16599 * hurd/hurd/threadvar.h: Include <tls.h>, do not include
16601 (__hurd_sigthread_variables, __hurd_threadvar_max): Remove variables
16603 (__hurd_threadvar_index): Remove enum.
16604 (_HURD_THREADVAR_H_EXTERN_INLINE): Remove macro.
16605 (__hurd_threadvar_location_from_sp,__hurd_threadvar_location): Remove
16607 (__hurd_reply_port0): New variable declaration.
16608 (__hurd_local_reply_port): New macro.
16609 * hurd/hurdsig.c (__hurd_sigthread_variables): Remove variable.
16610 (interrupted_reply_port_location): Add thread_t parameter. Use it
16611 with THREAD_TCB to access thread-local variables.
16612 (_hurdsig_abort_rpcs): Pass ss->thread to
16613 interrupted_reply_port_location.
16614 (_hurd_internal_post_signal): Likewise.
16615 (_hurdsig_init): Use presence of cthread_fork instead of
16616 __hurd_threadvar_stack_mask to start signal thread by hand.
16617 Remove signal thread threadvar initialization.
16618 * hurd/hurdstartup.c: Do not include <hurd/threadvar.h>
16619 * hurd/sigunwind.c: Include <hurd/threadvar.h>
16620 (_hurdsig_longjmp_from_handler): Use __hurd_local_reply_port instead
16622 * sysdeps/mach/hurd/Versions (libc.GLIBC_PRIVATE): Add
16624 (ld.GLIBC_2.0): Remove __hurd_sigthread_stack_base,
16625 __hurd_sigthread_stack_end, __hurd_sigthread_variables.
16626 (ld.GLIBC_PRIVATE): Add __libc_lock_self0.
16627 * sysdeps/mach/hurd/cthreads.c: Add __libc_lock_self0.
16628 * sysdeps/mach/hurd/dl-sysdep.c (errno, __hurd_sigthread_stack_base,
16629 __hurd_sigthread_stack_end, __hurd_sigthread_variables, threadvars,
16630 __hurd_threadvar_stack_offset, __hurd_threadvar_stack_mask): Do not
16632 * sysdeps/mach/hurd/errno-loc.c: Do not include <errno.h> and
16633 <hurd/threadvar.h>.
16634 [IS_IN(rtld)] (rtld_errno): New variable.
16635 [IS_IN(rtld)] (__errno_location): New weak function.
16636 [!IS_IN(rtld)]: Include "../../../csu/errno-loc.c".
16637 * sysdeps/mach/hurd/errno.c: Remove file.
16638 * sysdeps/mach/hurd/fork.c: Include <hurd/threadvar.h>
16639 (__fork): Remove THREADVAR_SPACE macro and its use.
16640 * sysdeps/mach/hurd/i386/init-first.c (__hurd_threadvar_max): Remove
16642 (init): Do not initialize threadvar.
16643 * sysdeps/mach/hurd/i386/libc.abilist (__hurd_threadvar_max): Remove
16645 * sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn): Use
16646 __hurd_local_reply_port instead of threadvar.
16647 * sysdeps/mach/hurd/i386/tls.h (tcbhead_t): Add reply_port and
16648 _hurd_sigstate fields.
16649 (HURD_DESC_TLS, __LIBC_NO_TLS, THREAD_TCB): New macro.
16650 * sysdeps/mach/hurd/i386/trampoline.c: Remove outdated comment.
16651 * sysdeps/mach/hurd/libc-lock.h: Do not include <hurd/threadvar.h>.
16652 (__libc_lock_owner_self): Use &__libc_lock_self0 and THREAD_SELF
16653 instead of threadvar.
16654 * sysdeps/mach/hurd/libc-tsd.h: Remove file.
16655 * sysdeps/mach/hurd/mig-reply.c (GETPORT, reply_port): Remove macros.
16656 (use_threadvar, global_reply_port): Remove variables.
16657 (__hurd_reply_port0): New variable.
16658 (__mig_get_reply_port): Use __hurd_local_reply_port and
16659 __hurd_reply_port0 instead of threadvar.
16660 (__mig_dealloc_reply_port): Likewise.
16661 (__mig_init): Do not initialize threadvar.
16662 * sysdeps/mach/hurd/profil.c: Fix comment.
16663 * hurd/Versions (HURD_CTHREADS_0.3): Rename weak refs cthread_fork,
16664 cthread_detach, pthread_getattr_np, pthread_attr_getstack,
16665 cthread_keycreate, cthread_getspecific, cthread_setspecific to
16666 __cthread_fork, __cthread_detach, __pthread_getattr_np,
16667 __pthread_attr_getstack, __cthread_keycreate, __cthread_getspecific,
16668 __cthread_setspecific.
16669 * hurd/hurdsig.c (_hurdsig_init): Use __cthread_fork,
16670 __cthread_detach, __pthread_getattr_np, __pthread_attr_getstack,
16671 __cthread_t instead of cthread_fork, cthread_detach,
16672 pthread_getattr_np, pthread_attr_getstack.
16673 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Rename to
16674 __cthread_keycreate.
16675 (cthread_getspecific): Rename to __cthread_getspecific.
16676 (cthread_setspecific): Rename to __cthread_setspecific.
16677 (__libc_getspecific): Use __cthread_getspecific instead of
16678 cthread_getspecific.
16679 * sysdeps/mach/hurd/libc-lock.h (__libc_key_create): Use
16680 __cthread_keycreate instead of cthread_keycreate.
16681 (__libc_setspecific): Use __cthread_setspecific instead of
16682 cthread_setspecific.
16683 * sysdeps/mach/libc-lock.h (__libc_key_create, __libc_setspecific):
16685 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Always include
16686 <dl-sysdep.h>. Test for value of RTLD_PRIVATE_ERRNO instead of
16687 testing whether it is defined.
16689 2018-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
16691 * sysdeps/generic/thread_state.h (MACHINE_NEW_THREAD_STATE_FLAVOR):
16693 * sysdeps/mach/thread_state.h (MACHINE_THREAD_STATE_FIX_NEW): New macro.
16694 * sysdeps/mach/i386/thread_state.h
16695 (MACHINE_NEW_THREAD_STATE_FLAVOR): New macro, defined to
16697 (MACHINE_THREAD_STATE_FLAVOR): Define to i386_REGS_SEGS_STATE instead of
16699 (MACHINE_THREAD_STATE_FIX_NEW): New macro, reads segments.
16701 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Use
16702 i386_REGS_SEGS_STATE instead of i386_THREAD_STATE.
16704 * sysdeps/mach/hurd/i386/tls.h (TCB_ALIGNMENT, HURD_SEL_LDT): New
16706 (_hurd_tls_fork): Add original thread parameter, Duplicate existing LDT
16707 descriptor instead of creating a new one.
16708 (_hurd_tls_new): New function, creates a new descriptor and updates tcb.
16710 * mach/setup-thread.c: Include <ldsodefs.h>.
16711 (__mach_setup_thread): Call _dl_allocate_tls, pass
16712 MACHINE_NEW_THREAD_STATE_FLAVOR to __thread_set_state instead of
16713 MACHINE_THREAD_STATE_FLAVOR, before getting
16714 MACHINE_THREAD_STATE_FLAVOR, calling _hurd_tls_new, and setting
16715 MACHINE_THREAD_STATE_FLAVOR with the result.
16716 * hurd/hurdfault.c (_hurdsig_fault_init): Call
16717 MACHINE_THREAD_STATE_FIX_NEW.
16718 * sysdeps/mach/hurd/fork.c (__fork): Call _hurd_tls_fork for sigthread
16719 too. Add original thread parameter.
16721 2018-03-16 Joseph Myers <joseph@codesourcery.com>
16723 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC] (__finite):
16724 Remove inline function.
16726 * sysdeps/i386/fpu/libm-test-ulps: Update.
16727 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
16729 2018-03-16 Wilco Dijkstra <wdijkstr@arm.com>
16731 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Revert previous
16734 2018-03-15 Joseph Myers <joseph@codesourcery.com>
16736 * sysdeps/x86/fpu/bits/mathinline.h [__FAST_MATH__]
16737 (__sincos_code): Remove define and undefine.
16738 [__FAST_MATH__] (__sincos): Remove inline function.
16739 [__FAST_MATH__] (__sincosf): Remove inline function.
16740 [__FAST_MATH__] (__sincosl): Remove inline function.
16741 (__atan2l): Remove inline functions.
16742 [!__GNUC_PREREQ (3, 4)] (__atan2_code): Remove macro.
16743 [!__GNUC_PREREQ (3, 4) && __FAST_MATH__] (atan2): Remove inline
16745 (floor): Remove inline function.
16747 [__FAST_MATH__] (__ldexp_code): Remove macro.
16748 [__FAST_MATH__] (ldexp): Remove inline function.
16749 [__FAST_MATH__ && __USE_ISOC99] (ldexpf): Likewise.
16750 [__FAST_MATH__ && __USE_ISOC99] (ldexpl): Likewise.
16751 [__FAST_MATH__ && __USE_ISOC99] (rint): Likewise.
16752 [__USE_ISOC99] (__lrint_code): Remove macro.
16753 [__USE_ISOC99] (__llrint_code): Likewise.
16754 [__USE_ISOC99] (lrintf): Remove inline function.
16755 [__USE_ISOC99] (lrint): Likewise.
16756 [__USE_ISOC99] (lrintl): Likewise.
16757 [__USE_ISOC99] (llrint): Likewise.
16758 [__USE_ISOC99] (llrintf): Likewise.
16759 [__USE_ISOC99] (llrintl): Likewise.
16761 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16763 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt): Remove.
16764 (__ieee754_sqrtf): Remove.
16765 * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Remove.
16766 (__ieee754_sqrtf): Remove.
16767 * sysdeps/generic/math-type-macros.h (M_SQRT): Use sqrt.
16768 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16769 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Remove.
16770 (__ieee754_sqrtf): Remove.
16771 * sysdeps/s390/fpu/bits/mathinline.h: Remove file.
16772 * sysdeps/sparc/fpu/bits/mathinline.h (sqrt) Remove.
16775 (__ieee754_sqrt): Remove.
16776 (__ieee754_sqrtf): Remove.
16777 (__ieee754_sqrtl): Remove.
16778 * sysdeps/m68k/m680x0/fpu/mathimpl.h (__ieee754_sqrt): Remove.
16779 * sysdeps/x86/fpu/math_private.h (__ieee754_sqrt): Remove.
16780 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Remove.
16781 (__ieee754_sqrtf): Remove.
16782 (__ieee754_sqrtl): Remove.
16784 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16786 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Use sqrt.
16787 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16788 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16789 * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_j0): Likewise.
16790 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Likewise.
16791 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
16792 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16793 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16795 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Likewise.
16796 * sysdeps/ieee754/flt-32/e_acoshf.c (__ieee754_acoshf): Likewise.
16797 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
16798 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16799 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
16800 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_j0f): Likewise.
16801 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
16802 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
16803 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
16804 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16805 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Likewise.
16806 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
16807 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Likewise.
16808 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl): Likewise.
16809 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Likewise.
16810 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16811 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
16812 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
16813 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__ieee754_asinhl): Likewise.
16814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Likewise.
16815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
16816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
16817 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Likewise.
16818 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Likewise.
16819 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (__ieee754_j0l): Likewise.
16820 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (__ieee754_j1l): Likewise
16821 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
16822 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
16823 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__ieee754_asinhl): Likewise.
16824 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Use sqrtl.
16825 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16826 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Likewise.
16827 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
16828 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
16829 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
16830 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16831 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__ieee754_asinhl): Likewise.
16832 * sysdeps/m68k/m680x0/fpu/e_pow.c (__ieee754_pow): Likewise.
16833 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
16834 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Likewise.
16836 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16838 * include/math.h (sqrt): Declare with asm redirect.
16841 (sqrtf128): Likewise.
16842 * Makeconfig: Add -fno-math-errno for libc/libm, but build testsuite,
16843 nonlib and libnldbl with -fmath-errno.
16844 * math/w_sqrt_compat.c: Define NO_MATH_REDIRECT.
16845 * math/w_sqrt_template.c: Likewise.
16846 * math/w_sqrtf_compat.c: Likewise.
16847 * math/w_sqrtl_compat.c: Likewise.
16848 * sysdeps/i386/fpu/w_sqrt.c: Likewise.
16849 * sysdeps/i386/fpu/w_sqrt_compat.c: Likewise.
16850 * sysdeps/generic/math-type-macros-float128.h: Remove math.h and
16853 2018-03-15 Wilco Dijkstra <wdijkstr@arm.com>
16855 * benchtests/Makefile: Define _ISOMAC.
16856 * benchtests/bench-strcoll.c: Add missing sys/stat.h include.
16857 * benchtests/bench-string.h: Define inhibit_loop_to_libcall macro.
16858 * benchtests/bench-strstr.c: Define empty libc_hidden_builtin_def.
16859 * benchtests/bench-strtok.c (oldstrtok): Use rawmemchr.
16860 * benchtests/bench-timing.h: Define attribute_hidden.
16862 2018-03-15 Siddhesh Poyarekar <siddhesh@sourceware.org>
16864 * sysdeps/aarch64/strncmp.S (strncmp): Use lsr instead of
16867 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16870 * localedata/locales/cs_CZ (mon): Rename to...
16872 (mon): Import from CLDR (genitive case).
16874 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16877 * localedata/locales/el_CY (abmon): Rename to...
16878 (ab_alt_mon): This.
16879 (abmon): Import from CLDR (abbreviated genitive case).
16880 * localedata/locales/el_GR (abmon): Rename to...
16881 (ab_alt_mon): This.
16882 (abmon): Import from CLDR (abbreviated genitive case).
16884 2018-03-15 Rafal Luzynski <digitalfreak@lingonborough.com>
16887 * localedata/locales/lt_LT (abmon): Synchronize with CLDR.
16889 2018-03-15 Robert Buj <robert.buj@gmail.com>
16892 * localedata/locales/ca_ES (abmon): Rename to...
16893 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
16894 (mon): Rename to...
16896 (abmon): Import from CLDR (genitive case, month names preceded by
16899 (abday): Synchronize with CLDR.
16900 (d_t_fmt): Likewise.
16904 (LC_TIME): Improve indentation.
16905 (LC_TELEPHONE): Likewise.
16906 (LC_NAME): Likewise.
16907 (LC_ADDRESS): Likewise.
16909 2018-03-14 Joseph Myers <joseph@codesourcery.com>
16911 * sysdeps/x86/fpu/bits/mathinline.h [!__GNUC_PREREQ (3, 4)]
16912 (lrintf): Remove definitions used only with old GCC.
16913 [!__GNUC_PREREQ (3, 4)] (lrint): Likewise.
16914 [!__GNUC_PREREQ (3, 4)] (llrintf): Likewise.
16915 [!__GNUC_PREREQ (3, 4)] (llrint): Likewise.
16916 [!__GNUC_PREREQ (3, 4)] (fmaxf): Likewise.
16917 [!__GNUC_PREREQ (3, 4)] (fmax): Likewise.
16918 [!__GNUC_PREREQ (3, 4)] (fminf): Likewise.
16919 [!__GNUC_PREREQ (3, 4)] (fmin): Likewise.
16920 [!__GNUC_PREREQ (3, 4)] (rint): Likewise.
16921 [!__GNUC_PREREQ (3, 4)] (rintf): Likewise.
16922 [!__GNUC_PREREQ (3, 4)] (nearbyint): Likewise.
16923 [!__GNUC_PREREQ (3, 4)] (nearbyintf): Likewise.
16924 [!__GNUC_PREREQ (3, 4)] (ceil): Likewise.
16925 [!__GNUC_PREREQ (3, 4)] (ceilf): Likewise.
16926 [!__GNUC_PREREQ (3, 4)] (floor): Likewise.
16927 [!__GNUC_PREREQ (3, 4)] (floorf): Likewise.
16928 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (tan): Likewise.
16929 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (fmod): Likewise.
16930 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (sin): Likewise.
16931 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (cos): Likewise.
16932 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log10): Likewise.
16933 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (asin): Likewise.
16934 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (acos): Likewise.
16935 [__FAST_MATH__ && !__GNUC_PREREQ (3, 4)] (atan): Likewise.
16936 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log1p): Likewise.
16937 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (logb): Likewise.
16938 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (log2): Likewise.
16939 [__FAST_MATH__ && !__GNUC_PREREQ (3, 5)] (drem): Likewise.
16940 [__FAST_MATH__] (__M_SQRT2): Remove macro.
16942 2018-03-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
16944 * sysdeps/aarch64/strncmp.S (strncmp): Use a separate shift
16945 instruction to unbreak builds with binutils 2.26 and older.
16947 2018-03-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
16949 * sysdeps/aarch64/strncmp.S (count): New macro.
16950 (strncmp): Store misaligned length in SRC1 in COUNT.
16951 (mutual_align): Adjust.
16952 (misaligned8): Load dword at a time when it is safe.
16954 2018-03-12 Zack Weinberg <zackw@panix.com>
16958 * libio/fileops.c (_IO_new_file_underflow): Return EOF immediately
16959 if the _IO_EOF_SEEN bit is already set; update commentary.
16960 * libio/oldfileops.c (_IO_old_file_underflow): Likewise.
16961 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
16963 * support/support_openpty.c, support/tty.h: New files.
16964 * support/Makefile (libsupport-routines): Add support_openpty.
16966 * libio/tst-fgetc-after-eof.c, wcsmbs/test-fgetwc-after-eof.c:
16968 * libio/Makefile (tests): Add tst-fgetc-after-eof.
16969 * wcsmbs/Makefile (tests): Add tst-fgetwc-after-eof.
16971 2018-03-12 Dmitry V. Levin <ldv@altlinux.org>
16973 * po/pt_BR.po: Update translations.
16975 2018-03-12 David Michael <fedora.dm0@gmail.com>
16977 * sysdeps/mach/hurd/reboot.c: Include <hurd/paths.h>
16978 (reboot): Lookup _SERVERS_STARTUP instead of calling proc_getmsgport to
16979 get a port to the startup server.
16981 2018-03-11 Zack Weinberg <zackw@panix.com>
16983 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Include math.h
16984 before nldbl-compat.h.
16986 2018-03-10 Zack Weinberg <zackw@panix.com>
16988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Don't include
16989 math.h or math_private.h.
16991 * sysdeps/alpha/fpu/s_isnan.c
16992 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c
16993 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c
16994 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c
16995 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c
16996 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c
16997 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c
16998 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c
16999 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c
17000 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c
17001 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c
17002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c:
17003 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c
17004 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c
17005 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c:
17006 Include math_private.h.
17008 * sysdeps/ieee754/ldbl-64-128/s_finitel.c
17009 * sysdeps/ieee754/ldbl-64-128/s_fpclassifyl.c
17010 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c
17011 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c
17012 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c
17013 * sysdeps/powerpc/power7/fpu/s_logb.c:
17014 Include math.h and math_private.h.
17016 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Wrap manual
17017 uses of $at in .set noat / .set at.
17019 2018-03-10 H.J. Lu <hongjiu.lu@intel.com>
17021 * include/setjmp.h (__libc_longjmp): Remove libc_hidden_proto.
17022 * setjmp/longjmp.c (__libc_longjmp): Remove libc_hidden_def.
17023 * sysdeps/s390/longjmp.c (__libc_longjmp): Likewise.
17024 * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S (__libc_longjmp):
17027 2018-03-09 Florian Weimer <fweimer@redhat.com>
17029 * malloc/malloc.c (prev_size, set_prev_size, prev_chunk): Fix typo
17032 2018-03-09 Aurelien Jarno <aurelien@aurel32.net>
17035 * sysdeps/unix/sysv/linux/sparc/sparc32/setcontext.S (__startcontext):
17036 Add nop before __startcontext, add explaining comments.
17038 2018-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17041 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Define
17043 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): Likewise.
17044 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c (__lll_lock_elision):
17045 Do not build hardware transactional code for __SPE__.
17046 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
17047 (__lll_trylock_elision): Likewise.
17048 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
17049 (__lll_unlock_elision): Likewise.
17051 * sysdeps/nptl/fork.c (ARCH_FORK): Replace by arch_fork.
17052 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: Remove file.
17053 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
17054 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: Likewise.
17055 * sysdeps/unix/sysv/linux/arm/arch-fork.h: Likewise.
17056 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: Likewise.
17057 * sysdeps/unix/sysv/linux/i386/arch-fork.h: Likewise.
17058 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: Likewise.
17059 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: Likewise.
17060 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: Likewise.
17061 * sysdeps/unix/sysv/linux/mips/arch-fork.h: Likewise.
17062 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: Likewise.
17063 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: Likewise.
17064 * sysdeps/unix/sysv/linux/s390/arch-fork.h: Likewise.
17065 * sysdeps/unix/sysv/linux/sh/arch-fork.h: Likewise.
17066 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: Likewise.
17067 * sysdeps/unix/sysv/linux/tile/arch-fork.h: Likewise.
17068 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: Likewise.
17069 * sysdeps/unix/sysv/linux/arch-fork.h (arch_fork): New function.
17070 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: New file.
17071 * sysdeps/unix/sysv/linux/riscv/kernel-features.h: Likewise.
17072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
17073 (__ASSUME_CLONE_BACKWARDS): Define.
17074 * sysdeps/unix/sysv/linux/createthread.c (ARCH_CLONE): Define to
17075 __clone2 if __NR_clone2 is defined.
17076 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
17077 (__ASSUME_CLONE_BACKWARDS): Likewise.
17078 * sysdeps/unix/sysv/linux/i386/kernel-features.h
17079 (__ASSUME_CLONE_BACKWARDS): Likewise.
17080 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17081 (__ASSUME_CLONE2): Likewise.
17082 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17083 (__ASSUME_CLONE_BACKWARDS3): Likewise.
17084 * sysdeps/unix/sysv/linux/kernel-features.h: Document possible clone
17085 variants and the define architecture can use.
17086 (__ASSUME_CLONE_DEFAULT): Define as default.
17087 * sysdeps/unix/sysv/linux/mips/kernel-features.h
17088 (__ASSUME_CLONE_BACKWARDS): Likewise.
17089 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17090 (__ASSUME_CLONE_BACKWARDS): Likewise.
17091 * sysdeps/unix/sysv/linux/s390/kernel-features.h
17092 (__ASSUME_CLONE_BACKWARDS2): Likewise.
17094 2018-03-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
17096 * sysdeps/aarch64/memcmp.S (more16): Fix loop16 branch target.
17098 * sysdeps/aarch64/memcmp.S: Widen comparison to 16 bytes at a
17101 * benchtests/bench-strncmp.c (test_main): Remove 0 length tests.
17102 (do_test_limit): Likewise.
17104 * benchtests/bench-strncmp.c (do_test_limit): Reallocate buffers
17105 for every implementation.
17106 (do_test): Likewise.
17108 * benchtests/bench-strncmp.c: Convert output to json.
17110 2018-03-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
17112 * io/futimens.c: Add missing start-of-file descriptive comment.
17113 * io/utime.c: Likewise.
17114 * misc/futimesat.c: Likewise.
17115 * misc/utimes.c: Likewise.
17116 * sysdeps/mach/hurd/futimesat.c: Likewise.
17117 * sysdeps/mach/hurd/utimes.c: Likewise.
17118 * sysdeps/posix/utime.c: Likewise.
17119 * sysdeps/posix/utimes.c: Likewise.
17120 * sysdeps/unix/sysv/linux/futimesat.c: Likewise.
17121 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
17122 * sysdeps/unix/sysv/linux/generic/utimes.c: Likewise.
17123 * sysdeps/unix/sysv/linux/utimes.c: Likewise.
17125 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17127 * sysdeps/mach/hurd/utime-helper.c (hurd_futimens): Rename function to
17129 * sysdeps/mach/hurd/utimes.c (__utimes): Update call accordingly.
17130 * sysdeps/mach/hurd/lutimes.c (__lutimes): Likewise.
17131 * sysdeps/mach/hurd/futimens.c: Include "utime-helper.c".
17132 (__futimens): Move implementation to...
17133 * sysdeps/mach/hurd/utime-helper.c (utime_ts_from_tspec,
17134 utime_tvalue_from_tspec): ... new helper functions.
17135 (hurd_futimens): New function.
17136 * sysdeps/mach/hurd/futimesat.c: New file.
17137 * sysdeps/mach/hurd/utimensat.c: New file.
17139 2018-03-05 Flávio Cruz <flaviocruz@gmail.com>
17141 * sysdeps/mach/hurd/bits/stat.h [__USE_ATFILE] (UTIME_NOW,
17142 UTIME_OMIT): New macros.
17143 * sysdeps/mach/hurd/futimens.c (__futimens): Try to use __file_utimens
17144 before reverting to converting time spec to time value and calling
17146 * sysdeps/mach/hurd/utime-helper.c: New file.
17147 * sysdeps/mach/hurd/futimes.c: Include "utime-helper.c".
17148 (__futimes): Try to use utime_ts_from_tval and __file_utimens before
17149 reverting to utime_tvalue_from_tval and __file_utimes.
17150 * sysdeps/mach/hurd/lutimes.c: Include "utime-helper.c".
17151 (__lutimes): Just call hurd_futimens after lookup.
17152 * sysdeps/mach/hurd/utimes.c: Likewise.
17154 2018-03-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
17156 * bits/sigaction.h: Add include guard.
17157 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h: Likewise.
17158 * sysdeps/unix/sysv/linux/bits/sigaction.h: Likewise.
17159 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Likewise.
17160 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h: Likewise.
17161 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h: Likewise.
17162 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h: Likewise.
17163 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Likewise.
17164 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h: Likewise.
17165 * hurd/hurd/signal.h: Include <bits/sigaction.h>.
17167 2018-03-05 Joseph Myers <joseph@codesourcery.com>
17169 * iconv/loop.c (UNICODE_TAG_HANDLER): Disable
17170 -Wmaybe-uninitialized for -Os.
17171 * sysdeps/s390/multiarch/8bit-generic.c (BODY): Add comment about
17174 2018-03-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17176 * bits/dirent.h (__INO_T_MATCHES_INO64_T): Define regardless whether
17177 __INO_T_MATCHES_INO64_T is defined.
17178 * sysdeps/unix/sysv/linux/bits/dirent.h: Likewise.
17179 * dirent/alphasort.c: Check _DIRENT_MATCHES_DIRENT64 value instead
17181 * dirent/alphasort64.c: Likewise.
17182 * dirent/scandir.c: Likewise.
17183 * dirent/scandir64-tail.c: Likewise.
17184 * dirent/scandir64.c: Likewise.
17185 * dirent/scandirat.c: Likewise.
17186 * dirent/scandirat64.c: Likewise.
17187 * dirent/versionsort.c: Likewise.
17188 * dirent/versionsort64.c: Likewise.
17189 * include/dirent.h: Likewise.
17191 * nptl/tst-cancel4-common.h (set_socket_buffer): New function.
17192 * nptl/tst-cancel4-common.c (do_test): Call set_socket_buffer
17193 for socketpair endpoint.
17194 * nptl/tst-cancel4.c (tf_send): Call set_socket_buffer and use
17195 WRITE_BUFFER_SIZE as buffer size for sending socket.
17196 (tf_sendto): Use SOCK_STREAM instead of SOCK_DGRAM and fix an
17197 issue on system where send is implemented with sendto syscall.
17198 * sysdeps/unix/sysv/linux/mips/mips64/Makefile [$(subdir) = socket]
17199 (CFLAGS-recv.c, CFLAGS-send.c): Remove rules.
17200 [$(subdir) = nptl] (CFLAGS-recv.c, CFLAGS-send.c): Likewise.
17201 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Remove file.
17204 * sysdeps/unix/sysv/linux/i386/Makefile (tests): Add tst-bz21269.
17205 * sysdeps/unix/sysv/linux/i386/sigaction.c (SET_SA_RESTORER): Clear
17206 sa_restorer for vDSO case.
17207 * sysdeps/unix/sysv/linux/i386/tst-bz21269.c: New file.
17209 2018-03-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
17211 * scripts/check-installed-headers.sh: Ignore Hurd and Mach headers.
17212 * hurd/hurd/id.h: Include <hurd/hurd_types.h>
17213 * hurd/hurd/ioctl.h: Include <mach/port.h>
17214 * hurd/hurd/lookup.h: Include <hurd/hurd_types.h>
17215 * mach/Makefile ($(objpfx)mach-shortcuts.h): Make it include
17216 <mach/mach_types.h> and <mach/message.h>.
17217 (headers): Move mach/param.h to bits/mach/param.h.
17218 * sysdeps/mach/i386/mach/param.h: Move file to ...
17219 * sysdeps/mach/i386/bits/mach/param.h: ... here. Update path in #error.
17220 * sysdeps/mach/hurd/bits/param.h: Include <bits/mach/param.h> instead
17222 * hurd/hurd/port.h: Do not include <hurd/signal.h>.
17223 * hurd/hurd/userlink.h [!defined __USE_EXTERN_INLINES ||
17224 !defined _LIBC || !IS_IN (libc)]: Do not include <hurd/signal.h>.
17225 * hurd/hurd/fd.h (_hurd_fd_error): Fix struct initializer to be
17226 trivial, for C++ conformity.
17227 * sysdeps/mach/hurd/dl-sysdep.c: Include <mach/machine/vm_param.h>.
17228 * mach/Machrules ($(patsubst %,$(objpfx)%.h,$(user-interfaces)):
17229 Process mig output through $(migheadersed).
17230 * hurd/Makefile (migheadersed): Define variable.
17231 * mach/mach/mig_support.h [defined __USE_GNU]: Do not #error out.
17232 * scripts/check-installed-headers.sh: Do not ignore Hurd and Mach
17234 * hurd/hurd.h: Include <bits/types/sigset_t.h>
17235 * hurd/hurd/fd.h: Include <sys/select.h> and <bits/types/sigset_t.h>
17236 (_hurd_fd_read, _hurd_fd_write): Use __loff_t instead of loff_t.
17237 * hurd/hurd/signal.h: Include <bits/types/stack_t.h> and
17238 <bits/types/sigset_t.h>.
17239 [!defined __USE_GNU]: Do not #error out.
17240 (struct hurd_sigstate): Use _NSIG instead of NSIG.
17241 * hurd/hurd/sigpreempt.h (__need_size_t): Define.
17242 Include <stddef.h> and <bits/types/sigset_t.h>
17243 (struct hurd_signal_preemptor, hurd_catch_signal): Use __sighandler_t
17244 instead of sighandler_t.
17245 * stdlib/errno.h (error_t): Move definition to...
17246 * bits/types/error_t.h: ... new header.
17247 * stdlib/Makefile (headers): Add bits/types/error_t.h.
17248 * sysdeps/mach/hurd/bits/errno.h (error_t): Move definition to...
17249 * sysdeps/mach/hurd/bits/types/error_t.h: ... new header.
17250 * sysdeps/mach/hurd/errnos.awk (error_t): Likewise.
17251 * hurd/hurd.h: Include <bits/types/error_t.h>
17252 * hurd/hurd/fd.h: Include <bits/types/error_t.h>
17253 * hurd/hurd/id.h: Include <errno.h> and <bits/types/error_t.h>
17254 * hurd/hurd/lookup.h: Include <errno.h> and <bits/types/error_t.h>
17255 * hurd/hurd/resource.h: Include <bits/types/error_t.h>
17256 * hurd/hurd/signal.h: Include <bits/types/error_t.h>
17257 * hurd/hurd/sigpreempt.h: Include <bits/types/error_t.h>
17258 * sysdeps/mach/hurd/futimens.c: New file.
17260 2018-03-03 Andreas Schwab <schwab@linux-m68k.org>
17263 * nss/nsswitch.h (DEFINE_DATABASE): Don't define __nss_*_database.
17264 * nss/nsswitch.c (DEFINE_DATABASE): Define __nss_*_database here.
17265 * nscd/gai.c (__nss_hosts_database): Readd definition.
17266 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
17267 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
17268 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
17270 2018-03-02 Joseph Myers <joseph@codesourcery.com>
17272 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Make always_inline.
17273 (ifunc_one): Likewise.
17275 2018-03-01 DJ Delorie <dj@delorie.com>
17278 * nscd/netgroupcache.c (addinnetgrX): Include trailing NUL in
17281 2018-03-01 Maciej W. Rozycki <macro@mips.com>
17283 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove
17284 `match_pid' parameter.
17285 (td_ta_thr_iter): Update accordingly.
17287 2018-03-01 Florian Weimer <fweimer@redhat.com>
17289 * nptl/Makefile (install-lib-ldscripts): Remove.
17290 (install): Remove rule.
17291 ($(inst_libdir)/libpthread.so): Likewise.
17293 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17296 * localedata/locales/an_ES: update month and day names,
17297 improve d_fmt, improve postal_fmt, add country_post,
17300 2018-03-01 Mike FABIAN <mfabian@redhat.com>
17302 * localedata/locales/bg_BG (LC_COLLATE): The comment mentioned
17303 Ukrainian instead of Bulgarian.
17305 2018-03-01 Florian Weimer <fweimer@redhat.com>
17307 * nptl/Makefile (libpthread.so): Drop libpthread_nonshared.a
17310 2018-03-01 Florian Weimer <fweimer@redhat.com>
17312 Move pthread_atfork to libc. Remove libpthread_nonshared.a.
17313 * nptl/Makefile (routines): Add pthread_atfork.
17314 (static-only-routines): Set to pthread_atfork.
17315 (libpthread-routines): Remove pthread_atfork.
17316 (libpthread-static-only-routines): Remove.
17317 (install): Update comment.
17318 (libpthread.so): Do not install libpthread_nonshared.a.
17319 (tests): Do not link with libpthread_nonshared.a.
17320 (generated): Remove libpthread_nonshared.a.
17321 * nptl/pthread_atfork.c (pthread_atfork): Turn into weak alias.
17322 * sysdeps/nptl/Makeconfig (shared-thread-library): Do not link
17323 with libpthread_nonshared.a.
17325 2018-02-28 Joseph Myers <joseph@codesourcery.com>
17328 * sysdeps/i386/fpu/fenv_private.h [!__x86_64__]
17329 (libc_feholdexcept_setroundf128): New macro.
17330 [!__x86_64__] (libc_feupdateenv_testf128): Likewise.
17333 * sysdeps/wordsize-32/strtoumax.c (strtoumax): Use
17335 * sysdeps/wordsize-64/strtoumax.c (strtoumax): Likewise.
17336 * include/inttypes.h: New file.
17338 2018-02-27 Joseph Myers <joseph@codesourcery.com>
17340 * locale/weightwc.h (findidx): Ignore -Wmaybe-uninitialized for
17341 -Os in two more places.
17343 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17345 See this bug https://sourceware.org/bugzilla/show_bug.cgi?id=22898
17346 * localedata/cmn_TW.UTF-8.in: Remove the lines which cannot
17347 be sorted correctly at the moment because of a bug.
17349 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17351 [BZ #22550] - es_ES locale (and other es_* locales): collation should
17352 treat ñ as a primary different character, sync the collation
17353 for Spanish with CLDR.
17354 [BZ #21547] - Tibetan script collation broken (Dzongkha and Tibetan).
17355 * localedata/Makefile: Add new test files.
17356 * localedata/lv_LV.UTF-8.in: Adapt test file to new collation order.
17357 * localedata/sv_SE.ISO-8859-1.in: Adapt test file to new
17359 * localedata/uk_UA.UTF-8.in: Adapt test file to new collation order.
17360 * localedata/am_ET.UTF-8.in: New test file.
17361 * localedata/az_AZ.UTF-8.in: Likewise.
17362 * localedata/be_BY.UTF-8.in: Likewise.
17363 * localedata/ber_DZ.UTF-8.in: Likewise.
17364 * localedata/ber_MA.UTF-8.in: Likewise.
17365 * localedata/bg_BG.UTF-8.in: Likewise.
17366 * localedata/br_FR.UTF-8.in: Likewise.
17367 * localedata/cmn_TW.UTF-8.in: Likewise.
17368 * localedata/crh_UA.UTF-8.in: Likewise.
17369 * localedata/csb_PL.UTF-8.in: Likewise.
17370 * localedata/cv_RU.UTF-8.in: Likewise.
17371 * localedata/cy_GB.UTF-8.in: Likewise.
17372 * localedata/dz_BT.UTF-8.in: Likewise.
17373 * localedata/eo.UTF-8.in: Likewise.
17374 * localedata/es_ES.UTF-8.in: Likewise.
17375 * localedata/fa_IR.UTF-8.in: Likewise.
17376 * localedata/fi_FI.UTF-8.in: Likewise.
17377 * localedata/fil_PH.UTF-8.in: Likewise.
17378 * localedata/fur_IT.UTF-8.in: Likewise.
17379 * localedata/gez_ER.UTF-8@abegede.in: Likewise.
17380 * localedata/ha_NG.UTF-8.in: Likewise.
17381 * localedata/ig_NG.UTF-8.in: Likewise.
17382 * localedata/ik_CA.UTF-8.in: Likewise.
17383 * localedata/kk_KZ.UTF-8.in: Likewise.
17384 * localedata/ku_TR.UTF-8.in: Likewise.
17385 * localedata/ky_KG.UTF-8.in: Likewise.
17386 * localedata/ln_CD.UTF-8.in: Likewise.
17387 * localedata/mi_NZ.UTF-8.in: Likewise.
17388 * localedata/ml_IN.UTF-8.in: Likewise.
17389 * localedata/mn_MN.UTF-8.in: Likewise.
17390 * localedata/mr_IN.UTF-8.in: Likewise.
17391 * localedata/mt_MT.UTF-8.in: Likewise.
17392 * localedata/nb_NO.UTF-8.in: Likewise.
17393 * localedata/om_KE.UTF-8.in: Likewise.
17394 * localedata/os_RU.UTF-8.in: Likewise.
17395 * localedata/ps_AF.UTF-8.in: Likewise.
17396 * localedata/ro_RO.UTF-8.in: Likewise.
17397 * localedata/ru_RU.UTF-8.in: Likewise.
17398 * localedata/sc_IT.UTF-8.in: Likewise.
17399 * localedata/se_NO.UTF-8.in: Likewise.
17400 * localedata/sq_AL.UTF-8.in: Likewise.
17401 * localedata/sv_SE.UTF-8.in: Likewise.
17402 * localedata/szl_PL.UTF-8.in: Likewise.
17403 * localedata/tg_TJ.UTF-8.in: Likewise.
17404 * localedata/tk_TM.UTF-8.in: Likewise.
17405 * localedata/tt_RU.UTF-8.in: Likewise.
17406 * localedata/tt_RU.UTF-8@iqtelif.in: Likewise.
17407 * localedata/ug_CN.UTF-8.in: Likewise.
17408 * localedata/uz_UZ.UTF-8.in: Likewise.
17409 * localedata/vi_VN.UTF-8.in: Likewise.
17410 * localedata/yi_US.UTF-8.in: Likewise.
17411 * localedata/yo_NG.UTF-8.in: Likewise.
17412 * localedata/zh_CN.UTF-8.in: Likewise.
17413 * localedata/locales/am_ET: Adapt collation rules to new iso14651_t1_common
17414 file and fix bugs in the collation.
17415 * localedata/locales/az_AZ: Likewise.
17416 * localedata/locales/be_BY: Likewise.
17417 * localedata/locales/ber_DZ: Likewise.
17418 * localedata/locales/ber_MA: Likewise.
17419 * localedata/locales/bg_BG: Likewise.
17420 * localedata/locales/br_FR: Likewise.
17421 * localedata/locales/br_FR@euro: Likewise.
17422 * localedata/locales/ca_ES: Likewise.
17423 * localedata/locales/cns11643_stroke: Likewise.
17424 * localedata/locales/crh_UA: Likewise.
17425 * localedata/locales/cs_CZ: Likewise.
17426 * localedata/locales/csb_PL: Likewise.
17427 * localedata/locales/cv_RU: Likewise.
17428 * localedata/locales/cy_GB: Likewise.
17429 * localedata/locales/da_DK: Likewise.
17430 * localedata/locales/dz_BT: Likewise.
17431 * localedata/locales/en_CA: Likewise.
17432 * localedata/locales/eo: Likewise.
17433 * localedata/locales/es_CU: Likewise.
17434 * localedata/locales/es_EC: Likewise.
17435 * localedata/locales/es_ES: Likewise.
17436 * localedata/locales/es_US: Likewise.
17437 * localedata/locales/et_EE: Likewise.
17438 * localedata/locales/fa_IR: Likewise.
17439 * localedata/locales/fi_FI: Likewise.
17440 * localedata/locales/fil_PH: Likewise.
17441 * localedata/locales/fur_IT: Likewise.
17442 * localedata/locales/gez_ER@abegede: Likewise.
17443 * localedata/locales/ha_NG: Likewise.
17444 * localedata/locales/hr_HR: Likewise.
17445 * localedata/locales/hsb_DE: Likewise.
17446 * localedata/locales/hu_HU: Likewise.
17447 * localedata/locales/ig_NG: Likewise.
17448 * localedata/locales/ik_CA: Likewise.
17449 * localedata/locales/is_IS: Likewise.
17450 * localedata/locales/iso14651_t1_pinyin: Likewise.
17451 * localedata/locales/kk_KZ: Likewise.
17452 * localedata/locales/ku_TR: Likewise.
17453 * localedata/locales/ky_KG: Likewise.
17454 * localedata/locales/ln_CD: Likewise.
17455 * localedata/locales/lt_LT: Likewise.
17456 * localedata/locales/lv_LV: Likewise.
17457 * localedata/locales/mi_NZ: Likewise.
17458 * localedata/locales/ml_IN: Likewise.
17459 * localedata/locales/mn_MN: Likewise.
17460 * localedata/locales/mr_IN: Likewise.
17461 * localedata/locales/mt_MT: Likewise.
17462 * localedata/locales/nb_NO: Likewise.
17463 * localedata/locales/om_KE: Likewise.
17464 * localedata/locales/os_RU: Likewise.
17465 * localedata/locales/pl_PL: Likewise.
17466 * localedata/locales/ps_AF: Likewise.
17467 * localedata/locales/ro_RO: Likewise.
17468 * localedata/locales/ru_RU: Likewise.
17469 * localedata/locales/ru_UA: Likewise.
17470 * localedata/locales/sc_IT: Likewise.
17471 * localedata/locales/se_NO: Likewise.
17472 * localedata/locales/si_LK: Likewise.
17473 * localedata/locales/sq_AL: Likewise.
17474 * localedata/locales/sv_FI: Likewise.
17475 * localedata/locales/sv_FI@euro: Likewise.
17476 * localedata/locales/sv_SE: Likewise.
17477 * localedata/locales/szl_PL: Likewise.
17478 * localedata/locales/tg_TJ: Likewise.
17479 * localedata/locales/ti_ER: Likewise.
17480 * localedata/locales/tk_TM: Likewise.
17481 * localedata/locales/tl_PH: Likewise.
17482 * localedata/locales/tr_TR: Likewise.
17483 * localedata/locales/tt_RU: Likewise.
17484 * localedata/locales/tt_RU@iqtelif: Likewise.
17485 * localedata/locales/ug_CN: Likewise.
17486 * localedata/locales/uk_UA: Likewise.
17487 * localedata/locales/uz_UZ: Likewise.
17488 * localedata/locales/uz_UZ@cyrillic: Likewise.
17489 * localedata/locales/vi_VN: Likewise.
17490 * localedata/locales/yi_US: Likewise.
17491 * localedata/locales/yo_NG: Likewise.
17493 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17495 * gen-locales.mk: Make test files which contain @ modifiers in their
17497 * localedata/gen-locale.sh: Likewise.
17499 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17501 * posix/tst-fnmatch.input: Fix results for range expressions
17503 * posix/tst-regexloc.c: Do not use a range expression for
17504 de_DE.ISO-8859-1 locale.
17506 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17508 * posix/bug-regex5.c: Fix test case because with the new
17509 iso14651_t1_common file, the da_DK locale now has 6 collating elements
17510 in the ISO-8859-1 range instead of 4 with the old iso14651_t1_common
17513 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17515 * localedata/da_DK.ISO-8859-1.in: In the new iso14651_t1_common file
17516 downloaded from ISO, the collation order of @-. and space has changed.
17517 Therefore, this test file needed to be adapted.
17518 * localedata/fr_CA.UTF-8.in: Likewise.
17519 * localedata/fr_FR.UTF-8.in: Likewise.
17520 * localedata/uk_UA.UTF-8.in: Likewise.
17522 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17524 * localedata/cs_CZ.UTF-8.in: adapt this test file to the collation
17525 order of ȥ in the new iso14651_t1_common file.
17526 * localedata/pl_PL.UTF-8.in: Likewise.
17528 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17530 * localedata/locales/iso14651_t1_common: Add sections for various
17531 scripts to the iso14651_t1_common file.
17533 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17535 * localedata/locales/iso14651_t1_common: Use the code point of a
17536 character in the fourth collation level instead of IGNORE for all
17537 entries which have IGNORE on all 4 levels.
17539 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17541 * localedata/locales/iso14651_t1_common: Add some convenient collation
17542 symbols like <AFTER-A>, <BEFORE-A> to make tailoring easier using
17543 rules similar to those in CLDR.
17545 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17547 * localedata/locales/iso14651_t1_common: The new version of this
17548 file downloaded from ISO contained several syntax errors which
17549 are fixed by this patch.
17551 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17553 * localedata/locales/iso14651_t1_common: replace all <U.....>
17554 with <U000.....> because glibc understands only 4 digit or 8 digit
17556 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17558 * localedata/locales/iso14651_t1_common: Necessary changes
17559 to make the file downloaded from ISO usable by glibc.
17561 2018-02-27 Mike FABIAN <mfabian@redhat.com>
17564 * localedata/locales/iso14651_t1_common: Update file to
17565 latest version from ISO (ISO14651_2016_TABLE1_en.txt).
17567 2018-02-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
17569 * sysdeps/pthread/timer_routines.c: Include <timer_routines.h> instead
17570 of <nptl/pthreadP.h>
17571 (thread_attr_compare): Move function to...
17572 [!defined DELAYTIMER_MAX] (DELAYTIMER_MAX): Define to INT_MAX.
17573 * sysdeps/nptl/timer_routines.h: ... new header.
17574 * sysdeps/mach/hurd/gai_misc.h: New file.
17576 2018-02-26 Joseph Myers <joseph@codesourcery.com>
17578 * string/strcoll_l.c: Include <libc-diag.h>.
17579 (STRCOLL): Ignore -Wmaybe-uninitialized for -Os around
17580 declarations of seq1 and seq2.
17583 * stdlib/atoi.c (atoi): Use libc_hidden_def.
17584 * include/stdlib.h [!_ISOMAC] (atoi): Use libc_hidden_proto.
17586 2018-02-26 Dmitry V. Levin <ldv@altlinux.org>
17590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (__ptrace_request): Add
17591 PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS, PTRACE_SETFPREGS,
17592 PTRACE_GETVRREGS, PTRACE_SETVRREGS, PTRACE_GETEVRREGS,
17593 PTRACE_SETEVRREGS, PTRACE_GETREGS64, PTRACE_SETREGS64,
17594 PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, PTRACE_GETVSRREGS,
17595 PTRACE_SETVSRREGS, and PTRACE_SINGLEBLOCK.
17597 2018-02-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17599 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Undefine Linux
17600 macros used in __ptrace_request.
17602 2018-02-23 H.J. Lu <hongjiu.lu@intel.com>
17605 * Makerules ($(common-objpfx)%.h): Pass -DGEN_AS_CONST_HEADERS
17607 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Include
17608 <tcb-offsets.h> only if GEN_AS_CONST_HEADERS isn't defined.
17609 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Don't include
17612 2018-02-23 Joseph Myers <joseph@codesourcery.com>
17615 * ctype/ctype.c (tolower): Use libc_hidden_def.
17616 (toupper): Likewise.
17617 * include/ctype.h [!_ISOMAC] (tolower): Use libc_hidden_proto.
17618 [!_ISOMAC] (toupper): Likewise.
17620 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17622 * localedata/Makefile: Remove --quiet argument when
17625 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17628 * localedata/locales/pt_BR (LC_TIME): use / instead of -
17630 * localedata/locales/pt_PT (LC_TIME): likewise
17632 2018-02-23 Mike FABIAN <mfabian@redhat.com>
17635 * localedata/locales/es_CL (LC_TIME): copy "es_BO".
17636 * localedata/locales/es_CU (LC_TIME): copy "es_BO".
17637 * localedata/locales/es_EC (LC_TIME): copy "es_BO".
17639 2018-02-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17641 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17643 * nptl/Makefile (routines): Remove unregister-atfork.
17644 * nptl/register-atfork.c (fork_handler_pool): Remove variable.
17645 (fork_handler_alloc): Remove function.
17646 (fork_handlers, fork_handler_init): New variables.
17647 (__fork_lock): Rename to atfork_lock.
17648 (__register_atfork, __unregister_atfork, libc_freeres_fn): Rewrite
17649 to use a dynamic array to add/remove atfork handlers.
17650 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17651 * sysdeps/nptl/fork.h (__fork_lock, __fork_handlers, __linkin_atfork):
17652 Remove declaration.
17653 (fork_handler): Remove next, refcntr, and need_signal member.
17654 (__run_fork_handler_type): New enum.
17655 (__run_fork_handlers): New prototype.
17656 * nptl/register-atfork.c: Remove file.
17657 * sysdeps/nptl/libc-lockP.h (__libc_atfork): Remove declaration.
17659 * sysdeps/nptl/nptl-signals.h: Move to ...
17660 * sysdeps/generic/internal-signals.h: ... here. Adjust internal
17662 * sysdeps/unix/sysv/linux/internal-signals.h: Add include guards.
17663 (__nptl_is_internal_signal): Rename to __is_internal_signal and remove
17664 unnecessary check for SIGTIMER.
17665 (__nptl_clear_internal_signals): Rename to __clear_internal_signals and
17666 remove unnecessary removal of SIGTIMER.
17667 * sysdeps/unix/sysv/linux/raise.c: Adjust nptl-signal.h to
17668 include-signals.h rename.
17669 * nptl/pthreadP.h: Likewise.
17670 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call
17671 __is_internal_signal instead of __nptl_is_internal_signal.
17673 2018-02-22 Andrew Waterman <andrew@sifive.com>
17676 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
17677 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
17678 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
17679 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.
17681 2018-02-22 DJ Delorie <dj@delorie.com>
17683 * sysdeps/riscv/tls-macros.h: Do not initialize $gp.
17685 2018-02-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
17687 * sysdeps/aarch64/strcmp.S (do_misaligned): Jump back to
17688 do_misaligned, not misaligned8.
17690 2018-02-22 Steve Ellcey <sellcey@cavium.com>
17692 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
17693 Add memcpy_thunderx2.
17694 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
17696 (__libc_ifunc_impl_list): Add __memcpy_thunderx2.
17697 * sysdeps/aarch64/multiarch/memcpy.c (libc_ifunc): Add IS_THUNDERX2
17698 and IS_THUNDERX2PA checks.
17699 * sysdeps/aarch64/multiarch/memcpy_thunderx.S (USE_THUNDERX2):
17700 Use macro to set name appropriately.
17701 (memcpy): Use USE_THUNDERX2 macro to modify prefetches.
17702 * sysdeps/aarch64/multiarch/memcpy_thunderx2.S: New file.
17703 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_THUNDERX2PA):
17705 (IS_THUNDERX2): New macro.
17707 2018-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
17709 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17711 2018-02-21 Zack Weinberg <zackw@panix.com>
17713 * libio/libio.h (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust):
17714 Define here, unconditionally.
17715 * libio/iolibio.h (_IO_pos_BAD): Don't define here.
17716 * libio/libioP.h: Remove #if 0 blocks.
17717 (_IO_pos_BAD, _IO_pos_0, _IO_pos_adjust): Don't define here.
17718 (_IO_va_start, COERCE_FILE, MAYBE_SET_EINVAL): Don't define.
17719 (CHECK_FILE): Don't use MAYBE_SET_EINVAL or COERCE_FILE. Fix style.
17721 * libio/clearerr.c, libio/fputc.c, libio/getchar.c:
17722 Assume weak_alias is always defined.
17724 * libio/fileops.c, libio/genops.c, libio/oldfileops.c
17725 * libio/oldpclose.c, libio/pclose.c, libio/wfileops.c:
17726 Remove #if 0 and #ifdef TODO blocks.
17727 Assume text_set_element is always defined.
17729 * libio/iofdopen.c, libio/iogetdelim.c, libio/oldiofdopen.c
17730 Use __set_errno (EINVAL) instead of MAYBE_SET_EINVAL.
17731 * libio/tst-mmap-eofsync.c: Make #if 1 block unconditional.
17733 * libio/libio.h (_IOS_ATEND, _IOS_APPEND, _IOS_TRUNC)
17734 (_IOS_NOCREATE, _IOS_NOREPLACE, _IOS_BIN, _OLD_STDIO_MAGIC)
17735 (_IO_SKIPWS, _IO_LEFT, _IO_RIGHT, _IO_INTERNAL, _IO_DEC)
17736 (_IO_OCT, _IO_HEX, _IO_SHOWBASE, _IO_SHOWPOINT, _IO_UPPERCASE)
17737 (_IO_SHOWPOS, _IO_SCIENTIFIC, _IO_FIXED, _IO_UNITBUF, _IO_STDIO)
17738 (_IO_DONT_CLOSE, _IO_BOOLALPHA, _IO_BAD_SEEN): Remove, unused.
17739 Reformat bit flags for _flags field to make occupancy clearer.
17741 * libio/bits/types/struct_FILE.h (_IO_EOF_SEEN, _IO_ERR_SEEN):
17742 Keep definitions consistent with those in libio/libio.h.
17744 * libio/libio.h (_IO_file_flags): Remove macro.
17745 All uses changed to _flags.
17747 * libio/libio.h (_IO_UNIFIED_JUMPTABLES, _STDIO_USES_IOSTREAM)
17748 (__HAVE_COLUMN, _IO_BE): Don't define.
17749 (_IO_peekc_unlocked, _IO_getwc_unlocked, _IO_putwc_unlocked)
17750 (_IO_fwide_maybe_incompatible): Use __glibc_unlikely.
17751 * libio/libioP.h (EOF): Don't define.
17752 * libio/iofdopen.c, libio/iofopen.c, libio/iopopen.c
17753 * libio/iovdprintf.c, libio/oldiofdopen.c, libio/oldiofopen.c
17754 * libio/oldiopopen.c, debug/vdprintf_chk.c: Remove #if block
17755 testing _IO_UNIFIED_JUMPTABLES.
17757 * libio/libio.h (_IO_FILE): Delete; all uses changed to FILE.
17758 (_IO_fpos_t): Delete; all uses changed to __fpos_t.
17759 (_IO_fpos64_t): Delete; all uses changed to __fpos64_t.
17760 (_IO_size_t): Delete; all uses changed to size_t.
17761 (_IO_ssize_t): Delete; all uses changed to ssize_t or __ssize_t.
17762 (_IO_off_t): Delete; all uses changed to off_t.
17763 (_IO_off64_t): Delete; all uses changed to off64_t.
17764 (_IO_pid_t): Delete; all uses changed to pid_t.
17765 (_IO_uid_t): Delete; all uses changed to uid_t.
17766 (_IO_wint_t): Delete; all uses changed to wint_t.
17767 (_IO_va_list): Delete; all uses changed to va_list or __gnuc_va_list.
17768 (_IO_BUFSIZ): Delete; all uses changed to BUFSIZ.
17769 (_IO_cookie_io_functions_t): Delete; all uses changed to
17770 cookie_io_functions_t.
17771 (__io_read_fn): Delete; all uses changed to cookie_read_function_t.
17772 (__io_write_fn): Delete; all uses changed to cookie_write_function_t.
17773 (__io_seek_fn): Delete; all uses changed to cookie_seek_function_t.
17774 (__io_close_fn): Delete: all uses changed to cookie_close_function_t.
17776 * libio/iofopncook.c: Remove unnecessary forward declarations.
17777 * libio/iolibio.h: Correct outdated commentary.
17778 * malloc/malloc.c (__malloc_stats): Remove unnecessary casts.
17779 * stdio-common/fxprintf.c (__fxprintf_nocancel):
17780 Remove unnecessary casts.
17781 * stdio-common/getline.c: Use _IO_getdelim directly.
17782 Don't redefine ssize_t.
17783 * stdio-common/printf_fp.c, stdio_common/printf_fphex.c
17784 * stdio-common/printf_size.c: Don't redefine size_t or FILE.
17785 Remove outdated comments.
17786 * stdio-common/vfscanf.c: Don't redefine va_list.
17788 * libio/iolibio.h, libio/libioP.h: Remove extern "C".
17789 * libio/libio.h: Remove __BEGIN_DECLS and __END_DECLS.
17790 Remove preprocessor conditionals on _LIBC and __USE_GNU,
17791 which are always true, and __cplusplus, which is always false.
17793 2018-02-21 Joseph Myers <joseph@codesourcery.com>
17797 * libio/fputc_u.c (fputc_unlocked): Use libc_hidden_def.
17798 * libio/putc_u.c (putc_unlocked): Rename to __putc_unlocked and
17799 define as weak alias of __putc_unlocked. Use libc_hidden_weak.
17800 * include/stdio.h [!_ISOMAC] (fputc_unlocked): Use
17802 [!_ISOMAC] (putc_unlocked): Likewise.
17803 [!_ISOMAC] (__putc_unlocked): Declare as hidden function, and
17804 define inline if [__USE_EXTERN_INLINES].
17805 * misc/syslog.c (__vsyslog_chk): Call __putc_unlocked instead of
17810 * libio/getc_u.c (getc_unlocked): Use libc_hidden_weak.
17811 * include/stdio.h [!_ISOMAC] (__getc_unlocked): Use
17812 attribute_hidden, and define inline if [__USE_EXTERN_INLINES].
17813 [!_ISOMAC] (getc_unlocked): Use libc_hidden_proto.
17814 * misc/getttyent.c (__getttyent): Call __getc_unlocked instead of
17816 * time/tzfile.c (__tzfile_read): Likewise.
17818 2018-02-21 Mike FABIAN <mfabian@redhat.com>
17821 * localedata/locales/et_EE (LC_COLLATE): add missing “reorder-end”
17823 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17825 * io/fcntl.h: Fix a typo in a comment.
17827 2018-02-21 Rical Jasan <ricaljasan@pacific.net>
17830 * include/features.h: Add _ISOC11_SOURCE to test for whether to
17831 define _DEFAULT_SOURCE.
17832 * manual/creature.texi (_DEFAULT_SOURCE): Improve documentation.
17834 2018-02-21 Florian Weimer <fweimer@redhat.com>
17837 * elf/cache.c (save_cache): Call fsync on temporary file before
17839 (save_aux_cache): Call fdatasync on temporary file before renaming
17842 2018-02-21 Florian Weimer <fweimer@redhat.com>
17845 * include/caller.h: Remove file.
17846 * elf/dl-caller.c: Likewise.
17847 * elf/Makefile (dl-routines): Remove dl-caller.
17848 (shared-only-routines): Do not add dl-caller.
17849 * elf/dl-load.c (_dl_map_object_from_fd): Do not call
17851 * elf/dl-open.c (struct dl_open_args): Remove caller_dl_open
17853 (dl_open_worker): Do not call __check_caller.
17854 (_dl_open): Do not set caller_dl_open member.
17855 * elf/rtld.c (_rtld_global_ro): Do not initialize
17856 _dl_check_caller member.
17857 * sysdeps/generic/ldsodefs.h (rtld_global): Remove
17858 _dl_check_caller member.
17859 (_dl_check_caller): Remove declaration.
17860 * sysdeps/unix/sysv/linux/dl-execstack.c
17861 (_dl_make_stack_executable): Do not call __check_caller.
17863 2018-02-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
17865 * sysdeps/mach/hurd/dl-sysdep.c (_dl_random): New variable.
17866 * sysdeps/mach/hurd/sysdep-cancel.h: New file.
17868 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17870 * manual/creature.texi (_ISOC99_SOURCE): Update the dated
17873 2018-02-20 Rical Jasan <ricaljasan@pacific.net>
17876 * manual/creature.texi (_POSIX_C_SOURCE): Document special values
17877 of 199606L, 200112L, and 200809L.
17878 (_XOPEN_SOURCE): Document special values of 600 and 700.
17879 (_ISOC11_SOURCE): Document macro.
17880 (_ATFILE_SOURCE): Likewise.
17881 (_FORTIFY_SOURCE): Likewise.
17883 2018-02-19 Joseph Myers <joseph@codesourcery.com>
17887 * libio/ferror_u.c (ferror_unlocked): Rename to __ferror_unlocked
17888 and define as weak alias of __ferror_unlocked. Use
17890 * include/stdio.h [!_ISOMAC] (ferror_unlocked): Use
17892 [!_ISOMAC] (__ferror_unlocked) New declaration, and inline
17893 function if [__USE_EXTERN_INLINES].
17894 * time/getdate.c (__getdate_r): Call __ferror_unlocked instead of
17897 2018-02-19 Rical Jasan <ricaljasan@pacific.net>
17900 * manual/filesys.texi (get_current_dir_name): Clarify behaviour.
17902 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17905 * posix/tst-glob_lstat_compat.c [__alpha__] (glob): Access
17906 the GLIBC_2.1 version.
17908 2018-02-18 Aurelien Jarno <aurelien@aurel32.net>
17911 * catgets/xopen-msg.awk: Ignore POT-Creation-Date line.
17912 * intl/Makefile ($(objpfx)tst-gettext-de.po): Generate
17913 intl/tst-gettext-de.po from po/de.po by removing the
17914 POT-Creation-Date line.
17915 ($(objpfx)msgs.h): Depend on $(objpfx)tst-gettext-de.po instead of
17917 * intl/tst-gettext.sh: Use ${objpfx}tst-gettext-de.po instead of
17920 2018-02-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
17922 * mach/Makefile (headers): Add mach/param.h.
17923 * sysdeps/mach/hurd/bits/param.h: Include <mach/param.h>.
17924 * sysdeps/mach/i386/mach/param.h: New file, defines EXEC_PAGESIZE
17925 * sysdeps/mach/hurd/ptsname.c: Include <sys/stat.h>.
17926 (__ptsname_r): Move implementation to...
17927 (__ptsname_internal): ... new function. Add filling the STP
17930 2018-02-17 John David Anglin <danglin@gcc.gnu.org>
17932 * sysdeps/hppa/fpu/libm-test-ulps (pow): Increase double and
17935 2018-02-16 Rical Jasan <ricaljasan@pacific.net>
17937 * manual/platform.texi (__riscv_flush_icache): Fix @deftypefun
17940 2018-02-16 Stefan Liebler <stli@linux.vnet.ibm.com>
17942 * nptl/Makefile (tst-mutex8-ENV): Delete.
17943 * nptl/tst-mutex8.c (check_type):
17944 Add runtime check if mutex will be elided.
17946 2018-02-15 Joseph Myers <joseph@codesourcery.com>
17950 * manual/install.texi (Configuring and compiling): Describe
17951 passing CC and CFLAGS on configure command line, not as
17952 environment variables. Use @code markup on those variables.
17953 Specify what options go in CC and what go in CFLAGS. Note the
17954 requirement to compile with optimization.
17955 * INSTALL: Regenerated.
17958 * sysdeps/hppa/bsd-setjmp.S: Include <sysdep.h>.
17959 (setjmp): Use HIDDEN_JUMPTARGET with __sigsetjmp.
17960 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Call
17961 __sigprocmask instead of sigprocmask.
17962 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext):
17964 * sysdeps/unix/sysv/linux/hppa/localplt.data: Remove entries for
17965 __sigsetjmp and sigprocmask.
17968 * include/argz.h (argz_next): Use libc_hidden_proto.
17969 (__argz_next): Likewise.
17970 * string-argz-next.c (__argz_next): Use libc_hidden_def.
17971 (argz_next): Use libc_hidden_weak.
17974 * include/sys/socket.h [!_ISOMAC] (__cmsg_nxthdr): Use
17976 * sysdeps/unix/sysv/linux/cmsg_nxthdr.c (__cmsg_nxthdr): Use
17980 * include/stdio.h [!_ISOMAC && IS_IN (libc)] (fputs): Use
17982 * libio/iofputs.c (fputs): Use libc_hidden_weak.
17986 * libio/feof_u.c (feof_unlocked): Rename to __feof_unlocked and
17987 define as weak alias of __feof_unlocked. Use libc_hidden_weak.
17988 * include/stdio.h (feof_unlocked): Use libc_hidden_proto.
17989 (__feof_unlocked): New declaration, and inline function if
17990 [__USE_EXTERN_INLINES].
17991 * iconv/gconv_conf.c (read_conf_file): Call __feof_unlocked
17992 instead of feof_unlocked.
17993 * intl/localealias.c [_LIBC] (FEOF): Likewise.
17994 * nss/nsswitch.c (nss_parse_file): Likewise.
17995 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area):
17997 * time/getdate.c (__getdate_r): Likewise.
17998 * sysdeps/posix/getaddrinfo.c [IS_IN (libc)] (feof_unlocked):
17999 Define as macro to call __feof_unlocked.
18001 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18003 * sysdeps/aarch64/fpu/fpu_control.h: Use <> in include.
18005 2018-02-15 Wilco Dijkstra <wdijkstr@arm.com>
18007 * math/Makefile: Remove mpexp.c and mplog.c
18008 * sysdeps/i386/fpu/mpexp.c: Delete file.
18009 * sysdeps/i386/fpu/mplog.c: Likewise.
18010 * sysdeps/ia64/fpu/mpexp.c: Likewise.
18011 * sysdeps/ia64/fpu/mplog.c: Likewise.
18012 * sysdeps/ieee754/dbl-64/e_exp.c: Remove mention of mpexp and mplog.
18013 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): Remove unused function.
18014 * sysdeps/ieee754/dbl-64/mpexp.c: Delete file.
18015 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
18016 * sysdeps/m68k/m680x0/fpu/mpexp.c: Likewise.
18017 * sysdeps/m68k/m680x0/fpu/mplog.c: Likewise.
18018 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove mpexp* and mplog*.
18019 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: Remove unused defines.
18020 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
18021 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
18022 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: Delete file.
18023 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
18024 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
18025 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: Likewise.
18026 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
18027 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
18029 2018-02-15 Stefan Liebler <stli@linux.vnet.ibm.com>
18031 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18033 2018-02-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18035 * sysdeps/sh/libm-test-ulps: Update.
18037 2018-02-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
18039 * sysdeps/powerpc/fpu/libm-test-ulps (pow): Increase double and
18042 2018-02-12 Zack Weinberg <zackw@panix.com>
18045 * posix/sys/types.h: Don't include sys/sysmacros.h.
18046 * misc/sys/sysmacros.h: Remove the conditional deprecation
18047 warnings for the macros defined by this header.
18049 2018-02-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
18051 * manual/probes.texi: Remove slowexp probes.
18052 * math/Makefile: Remove slowexp.
18053 * sysdeps/generic/math_private.h (__slowexp): Remove.
18054 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Remove __slowexp and
18055 document error bounds.
18056 * sysdeps/i386/fpu/slowexp.c: Remove.
18057 * sysdeps/ia64/fpu/slowexp.c: Remove.
18058 * sysdeps/ieee754/dbl-64/slowexp.c: Remove.
18059 * sysdeps/ieee754/dbl-64/uexp.h (err_0): Remove.
18060 * sysdeps/m68k/m680x0/fpu/slowexp.c: Remove.
18061 * sysdeps/powerpc/power4/fpu/Makefile (CPPFLAGS-slowexp.c): Remove.
18062 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowexp-fma.
18063 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Remove.
18064 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Remove.
18065 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Remove.
18066 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Remove.
18067 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Remove.
18068 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Remove.
18070 2018-02-12 Wilco Dijkstra <wdijkstr@arm.com>
18073 * sysdeps/ieee754/dbl-64/uexp.h (err_1): Remove.
18074 * benchtests/pow-inputs: Update comment for slow path cases.
18075 * manual/probes.texi (slowpow_p10): Delete removed probe.
18076 (slowpow_p10): Likewise.
18077 * math/Makefile: Remove halfulp.c and slowpow.c.
18078 * sysdeps/aarch64/libm-test-ulps: Set ULP of pow to 1.
18079 * sysdeps/generic/math_private.h (__exp1): Remove error argument.
18080 (__halfulp): Remove.
18081 (__slowpow): Remove.
18082 * sysdeps/i386/fpu/halfulp.c: Delete file.
18083 * sysdeps/i386/fpu/slowpow.c: Likewise.
18084 * sysdeps/ia64/fpu/halfulp.c: Likewise.
18085 * sysdeps/ia64/fpu/slowpow.c: Likewise.
18086 * sysdeps/ieee754/dbl-64/e_exp.c (__exp1): Remove error argument,
18087 improve comments and add error analysis.
18088 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Add error analysis.
18089 (power1): Remove function:
18090 (log1): Remove error argument, add error analysis.
18091 (my_log2): Remove function.
18092 * sysdeps/ieee754/dbl-64/halfulp.c: Delete file.
18093 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
18094 * sysdeps/m68k/m680x0/fpu/halfulp.c: Likewise.
18095 * sysdeps/m68k/m680x0/fpu/slowpow.c: Likewise.
18096 * sysdeps/powerpc/power4/fpu/Makefile: Remove CPPFLAGS-slowpow.c.
18097 * sysdeps/x86_64/fpu/libm-test-ulps: Set ULP of pow to 1.
18098 * sysdeps/x86_64/fpu/multiarch/Makefile: Remove slowpow-fma.c,
18099 slowpow-fma4.c, halfulp-fma.c, halfulp-fma4.c.
18100 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c (__slowpow): Remove define.
18101 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c (__slowpow): Likewise.
18102 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Delete file.
18103 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
18104 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
18105 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
18107 2018-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
18109 * nscd/connections.c (RWLOCK_INITIALIZER): Define to
18110 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP or
18112 2018-02-10 Dmitry V. Levin <ldv@altlinux.org>
18115 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_request):
18116 Remove arm-specific PTRACE_GET_THREAD_AREA, PTRACE_GETHBPREGS,
18117 and PTRACE_SETHBPREGS.
18119 2018-02-10 Zack Weinberg <zackw@panix.com>
18122 * malloc/malloc.c (__malloc_stats): Restore stderr->_flags2
18124 * malloc/tst-malloc-stats-cancellation.c: New test case.
18125 * malloc/Makefile: Add new test case.
18127 2018-02-10 Wilco Dijkstra <wdijkstr@arm.com>
18129 * sysdeps/aarch64/fpu/fpu_control.h: Add features.h to fix build error.
18131 2018-02-10 Joseph Myers <joseph@codesourcery.com>
18133 * math/Makefile (libm-narrow-fns): Add add.
18134 (libm-test-funcs-narrow): Likewise.
18135 * math/Versions (GLIBC_2.28): Add narrowing add functions.
18136 * math/bits/mathcalls-narrow.h (add): Use __MATHCALL_NARROW .
18137 * math/gen-auto-libm-tests.c (test_functions): Add add.
18138 * math/math-narrow.h (CHECK_NARROW_ADD): New macro.
18139 (NARROW_ADD_ROUND_TO_ODD): Likewise.
18140 (NARROW_ADD_TRIVIAL): Likewise.
18141 * sysdeps/ieee754/float128/float128_private.h (__faddl): New
18143 (__daddl): Likewise.
18144 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fadd and
18146 (CFLAGS-nldbl-dadd.c): New variable.
18147 (CFLAGS-nldbl-fadd.c): Likewise.
18148 * sysdeps/ieee754/ldbl-opt/Versions (GLIBC_2.28): Add
18150 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h (__nldbl_daddl): New
18152 * manual/arith.texi (Misc FP Arithmetic): Document fadd, faddl,
18153 daddl, fMaddfN, fMaddfNx, fMxaddfN and fMxaddfNx.
18154 * math/auto-libm-test-in: Add tests of add.
18155 * math/auto-libm-test-out-narrow-add: New generated file.
18156 * math/libm-test-narrow-add.inc: New file.
18157 * sysdeps/i386/fpu/s_f32xaddf64.c: Likewise.
18158 * sysdeps/ieee754/dbl-64/s_f32xaddf64.c: Likewise.
18159 * sysdeps/ieee754/dbl-64/s_fadd.c: Likewise.
18160 * sysdeps/ieee754/float128/s_f32addf128.c: Likewise.
18161 * sysdeps/ieee754/float128/s_f64addf128.c: Likewise.
18162 * sysdeps/ieee754/float128/s_f64xaddf128.c: Likewise.
18163 * sysdeps/ieee754/ldbl-128/s_daddl.c: Likewise.
18164 * sysdeps/ieee754/ldbl-128/s_f64xaddf128.c: Likewise.
18165 * sysdeps/ieee754/ldbl-128/s_faddl.c: Likewise.
18166 * sysdeps/ieee754/ldbl-128ibm/s_daddl.c: Likewise.
18167 * sysdeps/ieee754/ldbl-128ibm/s_faddl.c: Likewise.
18168 * sysdeps/ieee754/ldbl-96/s_daddl.c: Likewise.
18169 * sysdeps/ieee754/ldbl-96/s_faddl.c: Likewise.
18170 * sysdeps/ieee754/ldbl-opt/nldbl-dadd.c: Likewise.
18171 * sysdeps/ieee754/ldbl-opt/nldbl-fadd.c: Likewise.
18172 * sysdeps/ieee754/soft-fp/s_daddl.c: Likewise.
18173 * sysdeps/ieee754/soft-fp/s_fadd.c: Likewise.
18174 * sysdeps/ieee754/soft-fp/s_faddl.c: Likewise.
18175 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18176 * sysdeps/mach/hurd/i386/libm.abilist: Likewise.
18177 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
18178 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
18179 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
18180 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
18181 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
18182 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
18183 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
18184 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
18185 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
18186 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
18187 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
18188 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
18189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
18190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist: Likewise.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
18192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
18193 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
18194 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
18195 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
18196 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
18197 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
18198 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
18199 * sysdeps/unix/sysv/linux/tile/tilegx32/libm.abilist: Likewise.
18200 * sysdeps/unix/sysv/linux/tile/tilegx64/libm.abilist: Likewise.
18201 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
18202 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
18204 * sysdeps/powerpc/powerpc64le/Makefile [$(subdir) = math]
18205 (f128-pairs): New variable.
18206 [$(subdir) = math] ($(foreach suf,$(all-object-suffixes),$(foreach
18207 pair,$(f128-pairs),$(objpfx)test-$(pair)%$(suf)))): Add -mfloat128
18209 [$(subdir) = math] ($(foreach pair,$(f128-pairs),test-$(pair)%)):
18210 Also make tests add $(f128-loader-link) to gnulib-tests.
18212 2018-02-09 DJ Delorie <dj@redhat.com>
18215 * sysdeps/unix/sysv/linux/riscv/readelflib.c (process_elf_file): Use
18216 64-bit ELF type for 64-bit ELF objects.
18218 2018-02-09 Joseph Myers <joseph@codesourcery.com>
18220 * math/libm-test-driver.c (snan_tests_arg): New variable.
18221 * math/libm-test-support.h (snan_tests_arg): New declaration.
18222 * math/libm-test-support.c (enable_test): Check snan_tests_arg.
18224 * math/Makefile (test-type-pairs): New variable.
18225 (test-type-pairs-f64xf128-yes): Likewise.
18226 (tests): Add test-narrow-macros.
18227 (libm-test-funcs-narrow): New variable.
18228 (libm-test-c-narrow): Likewise.
18229 (generated): Add $(libm-test-c-narrow).
18230 (libm-tests-base-narrow): New variable.
18231 (libm-tests-narrow): Likewise.
18232 (libm-tests): Add $(libm-tests-narrow).
18233 (libm-tests-for-type): Handle $(libm-tests-narrow).
18234 (libm-test-c-narrow-obj): New variable.
18235 ($(libm-test-c-narrow-obj)): New rule.
18236 ($(foreach t,$(libm-tests-narrow),$(objpfx)$(t).c)): Likewise.
18237 ($(foreach f,$(libm-test-funcs-narrow),$(objpfx)$(o)-$(f).o)): Use
18238 $(o-iterator) to set dependencies and CFLAGS.
18239 * math/gen-auto-libm-tests.c: Document use for narrowing
18241 (output_for_one_input_case): Take argument NARROW.
18242 (generate_output): Likewise. Update call to
18243 output_for_one_input_case.
18244 (main): Take --narrow option. Update call to generate_output.
18245 * math/gen-libm-test.pl (_apply_lit): Take macro name as argument.
18246 (apply_lit): Update call to _apply_lit.
18247 (apply_arglit): New function.
18248 (parse_args): Handle "a" arguments.
18249 (parse_auto_input): Handle format names using ":".
18250 * math/README.libm-test: Document "a" parameter type.
18251 * math/libm-test-support.h (ARG_TYPE_MIN): New macro.
18252 (ARG_TYPE_TRUE_MIN): Likewise.
18253 (ARG_TYPE_MAX): Likwise.
18254 (ARG_MIN_EXP): Likewise.
18255 (ARG_MAX_EXP): Likewise.
18256 (ARG_MANT_DIG): Likewise.
18257 (TEST_COND_arg_ibm128): Likewise.
18258 (TEST_COND_ibm128_libgcc): Define conditional on [ARG_FLOAT].
18259 (TEST_COND_arg_fmt): New macro.
18260 (init_max_error): Update prototype.
18261 * math/libm-test-support.c (test_ibm128): New variable.
18262 (init_max_error): Take argument testing_ibm128 and set test_ibm128
18263 instead of using [TEST_COND_ibm128] conditional.
18264 (test_exceptions): Use test_ibm128 instead of TEST_COND_ibm128.
18265 * math/libm-test-driver.c (STR_ARG_FLOAT): New macro.
18266 [TEST_NARROW] (TEST_MSG): New definition.
18267 (arg_plus_zero): New macro.
18268 (arg_minus_zero): Likewise.
18269 (arg_plus_infty): Likewise.
18270 (arg_minus_infty): Likewise.
18271 (arg_qnan_value_pl): Likewise.
18272 (arg_qnan_value): Likewise.
18273 (arg_snan_value_pl): Likewise.
18274 (arg_snan_value): Likewise.
18275 (arg_max_value): Likewise.
18276 (arg_min_value): Likewise.
18277 (arg_min_subnorm_value): Likewise.
18278 [ARG_FLOAT] (struct test_aa_f_data): New struct type.
18279 (RUN_TEST_LOOP_aa_f): New macro.
18280 (TEST_SUFF): New macro.
18281 (TEST_SUFF_STR): Likewise.
18282 [!TEST_MATHVEC] (VEC_SUFF): Don't define.
18283 (TEST_COND_any_ibm128): New macro.
18284 (START): Use TEST_SUFF and TEST_SUFF_STR in initializer for
18285 this_func. Update call to init_max_error.
18286 * math/test-double.h (FUNC_NARROW_PREFIX): New macro.
18287 * math/test-float.h (FUNC_NARROW_PREFIX): Likewise.
18288 * math/test-float128.h (FUNC_NARROW_PREFIX): Likewise.
18289 * math/test-float32.h (FUNC_NARROW_PREFIX): Likewise.
18290 * math/test-float32x.h (FUNC_NARROW_PREFIX): Likewise.
18291 * math/test-float64.h (FUNC_NARROW_PREFIX): Likewise.
18292 * math/test-float64x.h (FUNC_NARROW_PREFIX): Likewise.
18293 * math/test-math-scalar.h (TEST_NARROW): Likewise.
18294 * math/test-math-vector.h (TEST_NARROW): Likewise.
18295 * math/test-arg-double.h: New file.
18296 * math/test-arg-float128.h: Likewise.
18297 * math/test-arg-float32x.h: Likewise.
18298 * math/test-arg-float64.h: Likewise.
18299 * math/test-arg-float64x.h: Likewise.
18300 * math/test-arg-ldouble.h: Likewise.
18301 * math/test-math-narrow.h: Likewise.
18302 * math/test-narrow-macros.c: Likewise.
18303 * sysdeps/ieee754/ldbl-opt/test-narrow-macros-ldbl-64.c: Likewise.
18304 * sysdeps/ieee754/ldbl-opt/Makefile (tests): Add
18305 test-narrow-macros-ldbl-64.
18306 (CFLAGS-test-narrow-macros-ldbl-64.c): New variable.
18308 * math/bits/mathcalls-narrow.h: New file.
18309 * include/bits/mathcalls-narrow.h: Likewise.
18310 * math/math-narrow.h: Likewise.
18311 * math/math.h (__MATHCALL_NARROW_ARGS_1): New macro.
18312 (__MATHCALL_NARROW_ARGS_2): Likewise.
18313 (__MATHCALL_NARROW_ARGS_3): Likewise.
18314 (__MATHCALL_NARROW_NORMAL): Likewise.
18315 (__MATHCALL_NARROW_REDIR): Likewise.
18316 (__MATHCALL_NARROW): Likewise.
18317 [__GLIBC_USE (IEC_60559_BFP_EXT)]: Repeatedly include
18318 <bits/mathcalls-narrow.h> with _Mret_, _Marg_ and __MATHCALL_NAME
18320 [__GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
18321 * math/Makefile (headers): Add bits/mathcalls-narrow.h.
18322 (libm-narrow-fns): New variable.
18323 (libm-narrow-types-basic): Likewise.
18324 (libm-narrow-types-ldouble-yes): Likewise.
18325 (libm-narrow-types-float128-yes): Likewise.
18326 (libm-narrow-types-float128-alias-yes): Likewise.
18327 (libm-narrow-types): Likewise.
18328 (libm-routines): Add narrowing functions.
18329 * sysdeps/i386/fpu/fenv_private.h [__x86_64__]
18330 (libc_feholdexcept_setroundf128): New macro.
18331 [__x86_64__] (libc_feupdateenv_testf128): Likewise.
18332 * sysdeps/ieee754/float128/float128_private.h: Include
18333 <math/math-narrow.h>.
18334 [libc_feholdexcept_setroundf128] (libc_feholdexcept_setroundl):
18335 Undefine and redefine.
18336 [libc_feupdateenv_testf128] (libc_feupdateenv_testl): Likewise.
18337 (libm_alias_float_ldouble): Undefine and redefine.
18338 (libm_alias_double_ldouble): Likewise.
18340 * math/Makefile [$(PERL) != no] (libm-test-incs): Remove variable.
18342 2018-02-09 Wilco Dijkstra <wdijkstr@arm.com>
18344 * sysdeps/aarch64/fpu/fpu_control.h: Use builtins for accessing
18347 2018-02-09 Rical Jasan <ricaljasan@pacific.net>
18349 * manual/creature.texi: Convert references to gcc.info to gcc.
18350 * manual/stdio.texi: Likewise.
18351 * manual/string.texi: Likewise.
18353 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18356 * posix/bits/types.h (__int_least8_t): New typedef.
18357 (__uint_least8_t): Likewise.
18358 (__int_least16_t): Likewise.
18359 (__uint_least16_t): Likewise.
18360 (__int_least32_t): Likewise.
18361 (__uint_least32_t): Likewise.
18362 (__int_least64_t): Likewise.
18363 (__uint_least64_t): Likewise.
18364 * sysdeps/generic/stdint.h (int_least8_t): Define using
18366 (int_least16_t): Define using __int_least16_t.
18367 (int_least32_t): Define using __int_least32_t.
18368 (int_least64_t): Define using __int_least64_t.
18369 (uint_least8_t): Define using __uint_least8_t.
18370 (uint_least16_t): Define using __uint_least16_t.
18371 (uint_least32_t): Define using __uint_least32_t.
18372 (uint_least64_t): Define using __uint_least64_t.
18373 * wcsmbs/uchar.h: Include <bits/types.h>.
18374 (char16_t): Define using __uint_least16_t conditional only on
18376 (char32_t): Define using __uint_least32_t conditional only on
18378 * wcsmbs/test-char-types.c: New file.
18379 * wcsmbs/Makefile (tests): Add test-char-types.
18381 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
18384 2018-02-07 Zack Weinberg <zackw@panix.com>
18386 * bits/_G_config.h: Move back to sysdeps/generic/_G_config.h.
18387 Delete all contents except for definitions of _G_HAVE_MMAP and
18388 _G_HAVE_MREMAP. Add commentary explaining those two symbols.
18389 * sysdeps/unix/sysv/linux/bits/_G_config.h: Move back to
18390 sysdeps/unix/sysv/linux/_G_config.h. Make same content
18393 * libio/libio.h: Don't include bits/_G_config.h here.
18394 Include stddef.h with __need_wchar_t defined. Include
18395 bits/types/__mbstate_t.h, bits/types/wint_t.h, and gconv.h.
18396 Define _IO_iconv_t here, directly.
18397 Don't define _IO_HAVE_ST_BLKSIZE.
18398 * libio/libioP.h: Include _G_config.h here. Move include of
18399 shlib-compat.h up with rest of includes. Simplify conditionals
18400 controlling definition of _IO_JUMPS_OFFSET.
18402 * csu/init.c: Remove always-true #if around entire file.
18403 Don't include stdio.h. Set _IO_stdin_used to hardwired
18404 constant 0x20001, and update commentary.
18405 * include/stdio.h, sysdeps/ieee754/ldbl-opt/nldbl-compat.h:
18406 Replace all uses of _G_va_list with __gnuc_va_list.
18407 * libio/filedoalloc.c: Use #if defined _STATBUF_ST_BLKSIZE
18408 instead of #if _IO_HAVE_ST_BLKSIZE.
18409 * libio/fileops.c: Test _G_HAVE_MREMAP with #if, not #ifdef.
18410 * libio/iofdopen.c, libio/iofopen.c: Test _G_HAVE_MMAP with #if,
18413 * libio/bits/libio.h: Move back to libio/libio.h and adjust
18414 multiple-include guard to match.
18415 Merge contents of libio/bits/libio-ldbl.h and include/libio.h
18417 Remove preprocessor conditionals that are always true and/or
18418 redundant to other preprocessor conditionals in the same nest.
18419 Include shlib-compat.h unconditionally.
18420 Error out if _LIBC is not defined, or if _ISOMAC is defined,
18421 or if _IO_MTSAFE_IO is defined but _IO_lock_t_defined is not
18422 defined after including stdio.h.
18423 Use __BEGIN_DECLS/__END_DECLS.
18425 * libio/bits/libio-ldbl.h, include/bits/libio.h: Delete file.
18426 * include/stdio.h, libio/iolibio.h, libio/libioP.h: Include
18427 libio.h as <libio/libio.h> rather than as <bits/libio.h>.
18429 2018-02-07 Zack Weinberg <zackw@panix.com>
18431 * libio/bits/types/__fpos_t.h, libio/bits/types/__fpos64_t.h:
18432 New single-type headers split from _G_config.h.
18433 * libio/bits/types/cookie_io_functions_t.h
18434 * libio/bits/types/struct_FILE.h
18435 New single-type headers split from libio.h.
18437 * libio/Makefile: Install the above new headers. Don't install
18438 libio.h, _G_config.h, bits/libio.h, bits/_G_config.h, or
18440 * libio/_G_config.h, libio/libio.h: Delete file.
18442 * libio/bits/libio.h: Remove improper-inclusion guard.
18443 Include stdio.h and don't repeat anything that it does.
18444 Define _IO_fpos_t as __fpos_t, _IO_fpos64_t as __fpos64_t,
18445 _IO_BUFSIZ as BUFSIZ, _IO_va_list as __gnuc_va_list,
18446 __io_read_fn as cookie_read_function_t,
18447 __io_write_fn as cookie_write_function_t,
18448 __io_seek_fn as cookie_seek_function_t,
18449 __io_close_fn as cookie_close_function_t,
18450 and _IO_cookie_io_functions_t as cookie_io_functions_t.
18451 Define _STDIO_USES_IOSTREAM, __HAVE_COLUMN, and _IO_file_flags
18452 here, in the "compatibility defines" section. Remove an #if 0
18453 block. Use the "body" macros from bits/types/struct_FILE.h to
18454 define _IO_getc_unlocked, _IO_putc_unlocked, _IO_feof_unlocked,
18455 and _IO_ferror_unlocked.
18456 Move prototypes of __uflow and __overflow...
18458 * libio/stdio.h: ...here. Don't include bits/libio.h.
18459 Don't define _STDIO_USES_IOSTREAM. Get __gnuc_va_list
18460 directly from stdarg.h. Include bits/types/__fpos_t.h,
18461 bits/types/__fpos64_t.h, bits/types/struct_FILE.h,
18462 and, when __USE_GNU, bits/types/cookie_io_functions_t.h.
18463 Use __gnuc_va_list, not _G_va_list; __fpos_t, not _G_fpos_t;
18464 __fpos64_t, not _G_fpos64_t; FILE, not struct _IO_FILE;
18465 cookie_io_functions_t, not _IO_cookie_io_functions_t;
18466 __ssize_t, not _IO_ssize_t. Unconditionally define
18467 BUFSIZ as 8192 and EOF as (-1).
18469 * libio/bits/stdio.h: Add multiple-include guard. Use the "body"
18470 macros from bits/types/struct_FILE.h instead of _IO_* macros
18471 from libio.h; use __gnuc_va_list instead of va_list and __ssize_t
18472 instead of _IO_ssize_t.
18473 * libio/bits/stdio2.h: Similarly.
18475 * libio/iolibio.h: Add multiple-include guard.
18476 Include bits/libio.h after stdio.h.
18477 * libio/libioP.h: Add multiple-include guard.
18478 Include stdio.h and bits/libio.h before iolibio.h.
18480 * include/bits/types/__fpos_t.h, include/bits/types/__fpos64_t.h
18481 * include/bits/types/cookie_io_functions_t.h
18482 * include/bits/types/struct_FILE.h: New wrappers.
18484 * bits/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h:
18485 Get definitions of _G_fpos_t and _G_fpos64_t from
18486 bits/types/__fpos_t.h and bits/types/__fpos64_t.h
18487 respectively. Remove improper-inclusion guards.
18489 * conform/data/stdio.h-data: Update expectations of va_list.
18490 * scripts/check-installed-headers.sh: Remove special case for
18491 libio.h and _G_config.h.
18493 2018-02-07 Joseph Myers <joseph@codesourcery.com>
18497 * include/sys/sysmacros.h [!_ISOMAC]
18498 (__SYSMACROS_NEED_IMPLEMENTATION): Define macro.
18499 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC]
18500 (_SYS_SYSMACROS_H_WRAPPER): Likewise.
18501 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_major): Use
18503 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_minor): Likewise.
18504 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (gnu_dev_makedev):
18506 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_DECL_TEMPL):
18507 Undefine and redefine to add use __gnu_dev_ prefix.
18508 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__SYSMACROS_IMPL_TEMPL):
18510 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_major): Declare
18511 and define as hidden inline function.
18512 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_minor):
18514 [!_SYS_SYSMACROS_H_WRAPPER && !_ISOMAC] (__gnu_dev_makedev):
18516 * misc/makedev.c (OUT_OF_LINE_IMPL_TEMPL): Use __gnu_dev_ prefix.
18517 (gnu_dev_major): Use weak_alias and libc_hidden_weak.
18518 (gnu_dev_minor): Likewise.
18519 (gnu_dev_makedev): Likewise.
18520 * csu/check_fds.c (check_one_fd): Use __gnu_dev_makedev instead of
18522 * posix/wordexp.c (exec_comm_child): Likewise.
18523 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Use __gnu_dev_minor
18524 instead of minor and __gnu_dev_major instead of major.
18525 * sysdeps/unix/sysv/linux/device-nrs.h (DEV_TTY_P): Use
18526 __gnu_dev_major instead of major.
18527 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Use
18528 __gnu_dev_major instead of gnu_dev_major and __gnu_dev_minor
18529 instead of gnu_dev_minor.
18530 * sysdeps/unix/sysv/linux/ptsname.c (MASTER_P): Likewise.
18531 (SLAVE_P): Likewise.
18532 (__ptsname_internal): Use __gnu_dev_minor instead of minor.
18533 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Use __gnu_dev_major
18537 * locale/weight.h (findidx): Disable -Wmaybe-uninitialized for -Os
18539 * locale/weightwc.h (findidx): Likewise.
18541 2018-02-07 Wilco Dijkstra <wdijkstr@arm.com>
18543 * manual/probes.texi (slowlog): Delete documentation of removed probe.
18544 (slowlog_inexact): Likewise
18545 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Remove slow paths.
18546 * sysdeps/ieee754/dbl-64/ulog.h: Remove unused declarations.
18548 2018-02-07 Igor Gnatenko <ignatenko@redhat.com>
18551 * sysdeps/unix/sysv/linux/bits/mman-shared.h (pkey_get): Add
18552 missing second underscore to parameter name.
18554 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18560 * bits/byteswap.h: Update file comment. Do not include
18561 <bits/byteswap-16.h>.
18562 (__bswap_constant_16): Cast result to __uint16_t. Use signed 0xff
18564 (__bswap_16): Define as inline function.
18565 (__bswap_constant_32): Reformat definition.
18566 (__bswap_32): Always define as inline function, not macro, using
18567 __uint32_t. Use __builtin_bswap32 if [__GNUC_PREREQ (4, 3)],
18568 otherwise __bswap_constant_32.
18569 (__bswap_constant_64): Reformat definition. Do not use
18570 __extension__ here.
18571 (__bswap_64): Always define as inline function, not macro. Use
18572 __extension__ on function definition. Use __builtin_bswap64 if
18573 [__GNUC_PREREQ (4, 3)], otherwise __bswap_constant_64.
18574 * string/test-endian-file-scope.c: New file.
18575 * string/test-endian-sign-conversion.c: Likewise.
18576 * string/Makefile (headers): Remove bits/byteswap-16.h.
18577 (tests): Add test-endian-file-scope and
18578 test-endian-sign-conversion.
18579 (CFLAGS-test-endian-sign-conversion.c): New variable.
18580 * bits/byteswap-16.h: Remove file.
18581 * sysdeps/ia64/bits/byteswap-16.h: Likewise.
18582 * sysdeps/ia64/bits/byteswap.h: Likewise.
18583 * sysdeps/m68k/bits/byteswap.h: Likewise.
18584 * sysdeps/s390/bits/byteswap-16.h: Likewise.
18585 * sysdeps/s390/bits/byteswap.h: Likewise.
18586 * sysdeps/tile/bits/byteswap.h: Likewise.
18587 * sysdeps/x86/bits/byteswap-16.h: Likewise.
18588 * sysdeps/x86/bits/byteswap.h: Likewise.
18591 * misc/sys/cdefs.h [!__GNUC__ && (__cplusplus || (__STDC_VERSION__
18592 && __STDC_VERSION__ >= 199901L))] (__inline): Define to inline.
18593 [!__GNUC_PREREQ (2,92) && __STDC_VERSION__ && __STDC_VERSION__ >=
18594 199901L] (__restrict): Define to restrict.
18597 * string/testcopy.c: Include <support/support.h>. Do not include
18598 <malloc.h>. Use <support/test-driver.c>.
18599 (main): Rename to do_test. Make static. Use xmalloc instead of
18603 * posix/bits/posix1_lim.h: Include <bits/wordsize.h>.
18604 [!SSIZE_MAX && !(__WORDSIZE == 64 || __WORDSIZE32_SIZE_ULONG)]
18605 (SSIZE_MAX): Define to INT_MAX.
18606 * posix/test-ssize-max.c: New file.
18607 * posix/Makefile (tests): Add test-ssize-max.
18610 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
18611 <support/support.h>. Do not include <malloc.h>.
18612 (query_auxv): Use xmalloc instead of malloc.
18615 * posix/sys/types.h (loff_t): Only define for [__USE_MISC].
18616 * sysdeps/unix/sysv/linux/sys/quota.h (dqoff): Use __loff_t
18619 2018-02-06 Florian Weimer <fweimer@redhat.com>
18622 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18623 Use scratch_buffer instead of extend_alloca.
18625 2018-02-06 Zack Weinberg <zackw@panix.com>
18627 * libio/stdio.h: Don't define getc or putc as macros.
18628 * libio/bits/stdio.h (getchar, putchar): Use getc and putc,
18629 not _IO_getc and _IO_putc.
18631 * stdio-common/tstgetln.c: Don't redefine FILE, va_list, or BUFSIZ.
18632 * stdio-common/tstgetln.c: Don't redefine ssize_t.
18634 2018-02-06 Joseph Myers <joseph@codesourcery.com>
18636 * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_KEY): New macro.
18637 (TCP_FASTOPEN_NO_COOKIE): Likewise.
18639 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_FREEBIND): New macro.
18642 * elf/elf.h (NT_PRFPREG): New macro.
18643 (NT_S390_VXRS_LOW): Likewise.
18644 (NT_S390_VXRS_HIGH): Likewise.
18645 (NT_S390_GS_CB): Likewise.
18646 (NT_S390_GS_BC): Likewise.
18647 (NT_S390_RI_CB): Likewise.
18649 * sysdeps/unix/sysv/linux/aarch64/bits/mman.h [__USE_MISC]
18650 (MAP_SYNC): New macro.
18651 * sysdeps/unix/sysv/linux/arm/bits/mman.h [__USE_MISC] (MAP_SYNC):
18653 * sysdeps/unix/sysv/linux/ia64/bits/mman.h [__USE_MISC]
18654 (MAP_SYNC): Likewise.
18655 * sysdeps/unix/sysv/linux/m68k/bits/mman.h [__USE_MISC]
18656 (MAP_SYNC): Likewise.
18657 * sysdeps/unix/sysv/linux/microblaze/bits/mman.h [__USE_MISC]
18658 (MAP_SYNC): Likewise.
18659 * sysdeps/unix/sysv/linux/nios2/bits/mman.h [__USE_MISC]
18660 (MAP_SYNC): Likewise.
18661 * sysdeps/unix/sysv/linux/riscv/bits/mman.h [__USE_MISC]
18662 (MAP_SYNC): Likewise.
18663 * sysdeps/unix/sysv/linux/s390/bits/mman.h [__USE_MISC]
18664 (MAP_SYNC): Likewise.
18665 * sysdeps/unix/sysv/linux/sh/bits/mman.h [__USE_MISC] (MAP_SYNC):
18667 * sysdeps/unix/sysv/linux/x86/bits/mman.h [__USE_MISC] (MAP_SYNC):
18670 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_MISC]
18671 (MAP_SHARED_VALIDATE): New macro.
18672 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
18673 (MAP_SHARED_VALIDATE): Likewise.
18675 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18677 * elf/dl-addr.c (determine_info): Use ADDRIDX with DT_GNU_HASH.
18678 * elf/dl-lookup.c (_dl_setup_hash): Likewise.
18679 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
18681 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18683 * elf/elf.h (DT_SYMTAB_SHNDX): New. Set to 34.
18684 (DT_NUM): Updated to 35.
18686 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18688 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
18689 __builtin_expect with __glibc_likely and __glibc_unlikely.
18690 (elf_machine_rela): Likewise.
18691 (elf_machine_lazy_rel): Likewise.
18693 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Replace
18696 __builtin_expect with __glibc_likely and __glibc_unlikely.
18697 (elf_machine_lazy_rel): Likewise.
18699 2018-02-05 H.J. Lu <hongjiu.lu@intel.com>
18702 * sysdeps/sparc/sparc32/start.S (_start): Check PIC instead of
18704 * sysdeps/sparc/sparc64/start.S (_start): Likewise.
18706 2018-02-05 Andreas Schwab <schwab@suse.de>
18709 * assert/assert-perr.c (__assert_perror_fail): Append %n to format
18712 2018-02-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
18714 * stdlib/test-atexit-race-common.c [!defined PTHREAD_STACK_MIN]: Do
18715 not check against PTHREAD_STACK_MIN.
18717 2018-02-02 Sean McKean <smckean83@gmail.com>
18720 * time/time.h (clock): Reference CLOCKS_PER_SEC in comment.
18722 2018-02-02 Florian Weimer <fweimer@redhat.com>
18725 * sysdeps/posix/preadv2.c (preadv2): Handle offset == -1.
18726 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
18727 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
18728 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likweise.
18729 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
18730 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
18731 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
18732 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likweise.
18733 * manual/llio.texi (Scatter-Gather): Mention offset -1.
18734 * misc/tst-preadvwritev-common.c (do_test_without_offset): New.
18735 * misc/tst-preadvwritev2.c (do_test): Call it.
18736 * misc/tst-preadvwritev64v2.c (do_test): Likewise.
18738 2018-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
18740 * sysdeps/aarch64/memcmp.S: Use L() macro for labels.
18742 * benchtests/bench-memcmp.c: Print json instead of plain text.
18744 * benchtests/bench-memcmp.c (do_test): Call realloc_buf for
18747 2018-02-01 Joseph Myers <joseph@codesourcery.com>
18749 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
18751 (s390_sthyi): New syscall.
18753 * sysdeps/generic/ldbl-classify-compat.h: New file.
18754 * sysdeps/arm/ldbl-classify-compat.h: Likewise.
18755 * sysdeps/m68k/coldfire/ldbl-classify-compat.h: Likewise.
18756 * sysdeps/microblaze/ldbl-classify-compat.h: Likewise.
18757 * sysdeps/mips/ldbl-classify-compat.h: Likewise.
18758 * sysdeps/nios2/ldbl-classify-compat.h: Likewise.
18759 * sysdeps/sh/ldbl-classify-compat.h: Likewise.
18760 * sysdeps/ieee754/dbl-64/s_finite.c: Include
18761 <ldbl-classify-compat.h>.
18762 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18763 * sysdeps/ieee754/dbl-64/s_isinf.c: Include
18764 <ldbl-classify-compat.h>.
18765 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18766 * sysdeps/ieee754/dbl-64/s_isnan.c: Include
18767 <ldbl-classify-compat.h>.
18768 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18769 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Include
18770 <ldbl-classify-compat.h>.
18771 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18772 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Include
18773 <ldbl-classify-compat.h>.
18774 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18775 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Include
18776 <ldbl-classify-compat.h>.
18777 [LDBL_CLASSIFY_COMPAT]: Test value, not whether defined.
18778 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): Remove macro.
18779 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
18780 * sysdeps/m68k/coldfire/math_private.h: Remove file.
18781 * sysdeps/microblaze/math_private.h: Likewise.
18782 * sysdeps/nios2/math_private.h: Likewise.
18783 * sysdeps/sh/math_private.h: Likewise.
18785 * sysdeps/m68k/coldfire/fpu/math_private.h: Move to ....
18786 * sysdeps/m68k/coldfire/math_private.h: ... here.
18787 * sysdeps/m68k/coldfire/nofpu/math_private.h: Remove file.
18788 * sysdeps/tile/math_private.h: Likewise.
18789 * sysdeps/microblaze/math_private.h (libc_feholdexcept_setround):
18791 * sysdeps/nios2/math_private.h (libc_feholdexcept_setround):
18794 * sysdeps/m68k/coldfire/nofpu/math_private.h (libc_fesetround):
18796 (libc_fetestexcept): Likewise.
18797 (libc_feupdateenv_test): Likewise.
18798 * sysdeps/microblaze/math_private.h (libc_fesetround): Likewise.
18799 (libc_fetestexcept): Likewise.
18800 (libc_feupdateenv_test): Likewise.
18801 * sysdeps/nios2/math_private.h (libc_fesetround): Likewise.
18802 (libc_fetestexcept): Likewise.
18803 (libc_feupdateenv_test): Likewise.
18804 * sysdeps/tile/math_private.h (libc_fesetround): Likewise.
18805 (libc_fetestexcept): Likewise.
18806 (libc_feupdateenv_test): Likewise.
18808 * sysdeps/generic/math_private.h
18809 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feholdexcept):
18810 New inline function.
18811 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feholdexcept):
18814 * include/fenv.h [!_ISOMAC && !FE_TONEAREST]: Give #error.
18815 [!_ISOMAC] (FE_HAVE_ROUNDING_MODES): New macro.
18816 * sysdeps/generic/math_private.h
18817 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fegetenv): New
18819 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fegetenv):
18821 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (fesetenv):
18823 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__fesetenv):
18825 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (feupdateenv):
18827 [!FE_HAVE_ROUNDING_MODES && FE_ALL_EXCEPT == 0] (__feupdateenv):
18829 [!FE_HAVE_ROUNDING_MODES] (fegetround): Likewise.
18830 [!FE_HAVE_ROUNDING_MODES] (__fegetround): Likewise.
18831 [!FE_HAVE_ROUNDING_MODES] (fesetround): Likewise.
18832 [!FE_HAVE_ROUNDING_MODES] (__fesetround): Likewise.
18833 * sysdeps/tile/math_private.h (fegetenv): Remove inline function.
18834 (__fegetenv): Likewise.
18835 (fesetenv): Likewise.
18836 (__fesetenv): Likewise.
18837 (feupdateenv): Likewise.
18838 (__feupdateenv): Likewise.
18839 (fegetround): Likewise.
18840 (__fegetround): Likewise.
18841 (fesetround): Likewise.
18842 (__fesetround): Likewise.
18844 * sysdeps/generic/math_private.h [FE_ALL_EXCEPT == 0]
18845 (feraiseexcept): New macro.
18846 [FE_ALL_EXCEPT == 0] (__feraiseexcept): Likewise.
18847 * sysdeps/m68k/coldfire/nofpu/math_private.h (feraiseexcept):
18849 (__feraiseexcept): Likewise.
18850 (feclearexcept): Likewise.
18851 * sysdeps/microblaze/math_private.h (feraiseexcept): Likewise.
18852 (__feraiseexcept): Likewise.
18853 (feclearexcept): Likewise.
18854 * sysdeps/nios2/math_private.h (feraiseexcept): Likewise.
18855 (__feraiseexcept): Likewise.
18856 (feclearexcept): Likewise.
18857 * sysdeps/tile/math_private.h (feraiseexcept): Likewise.
18858 (__feraiseexcept): Likewise.
18859 (feclearexcept): Likewise.
18860 (fetestexcept): Likewise.
18862 * sysdeps/m68k/coldfire/math-tests.h: New file.
18864 * sysdeps/m68k/fpu/bits/fenv.h: Move to ....
18865 * sysdeps/m68k/bits/fenv.h: ... here.
18866 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INEXACT): Do
18868 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DIVBYZERO):
18870 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UNDERFLOW):
18872 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_OVERFLOW):
18874 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_INVALID):
18876 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_ALL_EXCEPT):
18878 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__]
18879 (__FE_UNDEFINED): New enum constant.
18880 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_TOWARDZERO):
18882 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_DOWNWARD):
18884 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_UPWARD):
18886 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (fenv_t): Define
18887 to match generic bits/fenv.h.
18888 [!__HAVE_68881__ && !__HAVE_FPU__ && !__mcffpu__] (FE_NOMASK_ENV):
18891 * soft-fp/double.h (union _FP_UNION_D): Do not use attribute
18893 * soft-fp/extended.h (union _FP_UNION_E): Likewise.
18894 * soft-fp/half.h (union _FP_UNION_H): Likewise.
18895 * soft-fp/quad.h (union _FP_UNION_Q): Likewise.
18896 * soft-fp/single.h (union _FP_UNION_S): Likewise.
18898 2018-02-01 Carlos O'Donell <carlos@redhat.com>
18899 Ramin Seyed-Moussavi <lordrasmus@gmail.com>
18900 Joseph Myers <joseph@codesourcery.com>
18903 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <libc-diag.h>.
18904 (__log1p): Disable -Wmaybe-uninitialized for -Os around
18905 computation using c.
18906 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <libc-diag.h>.
18907 (__log1pf): Disable -Wmaybe-uninitialized for -Os around
18908 computation using c.
18910 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18912 * version.h (RELEASE): Set to "development".
18913 (VERSION): Set to "2.27.9000".
18914 * NEWS (2.28): New section.
18916 * version.h (RELEASE): Set to "stable".
18917 (VERSION): Set to "2.27".
18918 * include/features.h (__GLIBC_MINOR__): Set to 2.27.
18920 * NEWS: Add the list of bugs fixed in 2.27.
18922 2018-02-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
18924 * stdlib/test-atexit-race-common.c (do_test): Check stack size
18925 against PTHREAD_STACK_MIN.
18927 2018-02-01 Dmitry V. Levin <ldv@altlinux.org>
18929 * manual/contrib.texi (Palmer Dabbelt, Arjun Shankar, Florian Weimer):
18931 (Rafal Luzynski, Andreas Schwab): Update.
18933 2018-02-01 Rafal Luzynski <digitalfreak@lingonborough.com>
18936 * NEWS: List the languages which actually use the alternative
18937 months feature in this release. Also explain that "alt_mon" and
18938 "ab_alt_mon" are optional.
18940 2018-01-31 Il'ya Malakhov <ilmalakhov@yandex.ru>
18943 * crypt/badsalttest.c (do_test): Set cd.initialized to 0.
18945 2018-01-31 Dmitry V. Levin <ldv@altlinux.org>
18947 * manual/install.texi (Tools for Compilation): Update the newest
18948 versions of gcc, binutils, texinfo, gawk, bison, and sed.
18949 * INSTALL: Regenerated.
18951 2018-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
18953 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Use __glibc_likely
18954 instead of __builtin_expect.
18956 2018-01-30 Florian Weimer <fweimer@redhat.com>
18958 * nss/bug17079.c (do_test): Use nss_files only for reading passwd
18960 * nss/tst-nss-getpwent.c (do_test): Likewise.
18962 2018-01-30 Rafal Luzynski <digitalfreak@lingonborough.com>
18965 * localedata/locales/hr_HR (mon): Rename to...
18967 (mon): Import from CLDR (genitive case).
18968 (d_t_fmt): Update the comment.
18970 2018-01-29 Andreas Schwab <schwab@linux-m68k.org>
18972 * sysdeps/posix/fpathconf.c (__fpathconf): Verify the values of
18973 _POSIX_CHOWN_RESTRICTED, _POSIX_NO_TRUNC, _POSIX_VDISABLE.
18974 * sysdeps/posix/pathconf.c (__pathconf): Likewise.
18976 2018-01-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
18978 * mach/Versions: Fix version when __mach_host_self_ was added.
18979 * hurd/Versions: Fix version when _hurd_exec_paths was added.
18980 * sysdeps/mach/hurd/i386/ld.abilist: New file.
18981 * sysdeps/mach/hurd/i386/libBrokenLocale.abilist: New file.
18982 * sysdeps/mach/hurd/i386/libanl.abilist: New file.
18983 * sysdeps/mach/hurd/i386/libc.abilist: New file.
18984 * sysdeps/mach/hurd/i386/libcrypt.abilist: New file.
18985 * sysdeps/mach/hurd/i386/libdl.abilist: New file.
18986 * sysdeps/mach/hurd/i386/libm.abilist: New file.
18987 * sysdeps/mach/hurd/i386/libnsl.abilist: New file.
18988 * sysdeps/mach/hurd/i386/libresolv.abilist: New file.
18989 * sysdeps/mach/hurd/i386/librt.abilist: New file.
18990 * sysdeps/mach/hurd/i386/libutil.abilist: New file.
18991 * sysdeps/pthread/allocalim.h (__libc_use_alloca): Commute operands of
18992 || to respect codestyle.
18993 * libio/tst-memstream3.c (_FWRITE): Rename to FWRITE_FUNC.
18994 (do_test_bz20181): Rename accordingly.
18995 * malloc/malloc.c: Include <assert.h>.
18996 (assert): Do not define.
18997 [!defined NDEBUG] (__assert_fail): Define to __malloc_assert.
18998 * bits/fcntl.h: Fix comment for FREAD and FWRITE.
18999 * sysdeps/mach/hurd/bits/fcntl.h: Likewise.
19000 * sysdeps/mach/hurd/hp-timing.h: New file.
19001 * sysdeps/mach/hurd/i386/tlsdesc.sym: New file.
19003 2018-01-29 Darius Rad <darius@bluespec.com>
19005 * sysdeps/unix/sysv/linux/riscv/ipc_priv.h: New file.
19007 2018-01-29 Palmer Dabbelt <palmer@sifive.com>
19009 * sysdeps/init_array/crti.S (.section .init_array): Add
19010 PREINIT_FUNCTION when defined.
19011 * manual/math.texi: RISC-V supports _Float128 and _Float64x.
19012 * config.h.in: Regenerate.
19013 * manual/platform.texi: Add RISC-V documenation for
19014 __riscv_flush_icache.
19015 * sysdeps/riscv/__longjmp.S: New file.
19016 * sysdeps/riscv/backtrace.c: Likewise.
19017 * sysdeps/riscv/bits/endian.h: Likewise.
19018 * sysdeps/riscv/bits/setjmp.h: Likewise.
19019 * sysdeps/riscv/bits/wordsize.h: Likewise.
19020 * sysdeps/riscv/bsd-_setjmp.c: Likewise.
19021 * sysdeps/riscv/bsd-setjmp.c: Likewise.
19022 * sysdeps/riscv/dl-trampoline.S: Likewise.
19023 * sysdeps/riscv/gccframe.h: Likewise.
19024 * sysdeps/riscv/jmpbuf-offsets.h: Likewise.
19025 * sysdeps/riscv/jmpbuf-unwind.h: Likewise.
19026 * sysdeps/riscv/machine-gmon.h: Likewise.
19027 * sysdeps/riscv/memusage.h: Likewise.
19028 * sysdeps/riscv/setjmp.S: Likewise.
19029 * sysdeps/riscv/sys/asm.h: Likewise.
19030 * sysdeps/riscv/tls-macros.h: Likewise.
19031 * sysdeps/riscv/dl-tls.h: New file.
19032 * sysdeps/riscv/libc-tls.c: Likewise.
19033 * sysdeps/riscv/nptl/tcb-offsets.sym: Likewise.
19034 * sysdeps/riscv/nptl/tls.h: Likewise.
19035 * sysdeps/riscv/stackinfo.h: Likewise.
19036 * sysdeps/riscv/bits/fenv.h: New file.
19037 * sysdeps/riscv/e_sqrtl.c: Likewise.
19038 * sysdeps/riscv/fpu_control.h: Likewise.
19039 * sysdeps/riscv/math-tests.h: Likewise.
19040 * sysdeps/riscv/nofpu/Implies: Likewise.
19041 * sysdeps/riscv/sfp-machine.h: Likewise.
19042 * sysdeps/riscv/tininess.h: Likewise.
19043 * sysdeps/riscv/rv64/rvd/s_ceil.c: New file.
19044 * sysdeps/riscv/rv64/rvd/s_floor.c: Likewise.
19045 * sysdeps/riscv/rv64/rvd/s_llrint.c: Likewise.
19046 * sysdeps/riscv/rv64/rvd/s_llround.c: Likewise.
19047 * sysdeps/riscv/rv64/rvd/s_lrint.c: Likewise.
19048 * sysdeps/riscv/rv64/rvd/s_lround.c: Likewise.
19049 * sysdeps/riscv/rv64/rvd/s_nearbyint.c: Likewise.
19050 * sysdeps/riscv/rv64/rvd/s_rint.c: Likewise.
19051 * sysdeps/riscv/rv64/rvd/s_round.c: Likewise.
19052 * sysdeps/riscv/rv64/rvd/s_roundeven.c: Likewise.
19053 * sysdeps/riscv/rv64/rvd/s_trunc.c: Likewise.
19054 * sysdeps/riscv/rv64/rvf/s_llrintf.c: Likewise.
19055 * sysdeps/riscv/rv64/rvf/s_llroundf.c: Likewise.
19056 * sysdeps/riscv/rv64/rvf/s_lrintf.c: Likewise.
19057 * sysdeps/riscv/rv64/rvf/s_lroundf.c: Likewise.
19058 * sysdeps/riscv/rvd/e_sqrt.c: Likewise.
19059 * sysdeps/riscv/rvd/s_copysign.c: Likewise.
19060 * sysdeps/riscv/rvd/s_finite.c: Likewise.
19061 * sysdeps/riscv/rvd/s_fma.c: Likewise.
19062 * sysdeps/riscv/rvd/s_fmax.c: Likewise.
19063 * sysdeps/riscv/rvd/s_fmin.c: Likewise.
19064 * sysdeps/riscv/rvd/s_fpclassify.c: Likewise.
19065 * sysdeps/riscv/rvd/s_isinf.c: Likewise.
19066 * sysdeps/riscv/rvd/s_isnan.c: Likewise.
19067 * sysdeps/riscv/rvd/s_issignaling.c: Likewise.
19068 * sysdeps/riscv/rvf/e_sqrtf.c: Likewise.
19069 * sysdeps/riscv/rvf/fclrexcpt.c: Likewise.
19070 * sysdeps/riscv/rvf/fegetenv.c: Likewise.
19071 * sysdeps/riscv/rvf/fegetmode.c: Likewise.
19072 * sysdeps/riscv/rvf/fegetround.c: Likewise.
19073 * sysdeps/riscv/rvf/feholdexcpt.c: Likewise.
19074 * sysdeps/riscv/rvf/fesetenv.c: Likewise.
19075 * sysdeps/riscv/rvf/fesetexcept.c: Likewise.
19076 * sysdeps/riscv/rvf/fesetmode.c: Likewise.
19077 * sysdeps/riscv/rvf/fesetround.c: Likewise.
19078 * sysdeps/riscv/rvf/feupdateenv.c: Likewise.
19079 * sysdeps/riscv/rvf/fgetexcptflg.c: Likewise.
19080 * sysdeps/riscv/rvf/fraiseexcpt.c: Likewise.
19081 * sysdeps/riscv/rvf/fsetexcptflg.c: Likewise.
19082 * sysdeps/riscv/rvf/ftestexcept.c: Likewise.
19083 * sysdeps/riscv/rvf/get-rounding-mode.h: Likewise.
19084 * sysdeps/riscv/rvf/math_private.h: Likewise.
19085 * sysdeps/riscv/rvf/s_ceilf.c: Likewise.
19086 * sysdeps/riscv/rvf/s_copysignf.c: Likewise.
19087 * sysdeps/riscv/rvf/s_finitef.c: Likewise.
19088 * sysdeps/riscv/rvf/s_floorf.c: Likewise.
19089 * sysdeps/riscv/rvf/s_fmaf.c: Likewise.
19090 * sysdeps/riscv/rvf/s_fmaxf.c: Likewise.
19091 * sysdeps/riscv/rvf/s_fminf.c: Likewise.
19092 * sysdeps/riscv/rvf/s_fpclassifyf.c: Likewise.
19093 * sysdeps/riscv/rvf/s_isinff.c: Likewise.
19094 * sysdeps/riscv/rvf/s_isnanf.c: Likewise.
19095 * sysdeps/riscv/rvf/s_issignalingf.c: Likewise.
19096 * sysdeps/riscv/rvf/s_nearbyintf.c: Likewise.
19097 * sysdeps/riscv/rvf/s_rintf.c: Likewise.
19098 * sysdeps/riscv/rvf/s_roundevenf.c: Likewise.
19099 * sysdeps/riscv/rvf/s_roundf.c: Likewise.
19100 * sysdeps/riscv/rvf/s_truncf.c: Likewise.
19101 * sysdeps/riscv/nptl/bits/pthreadtypes-arch.h: New file.
19102 * sysdeps/riscv/nptl/bits/semaphore.h: Likewise.
19103 * sysdeps/riscv/nptl/libc-lowlevellock.c: Likewise.
19104 * sysdeps/unix/sysv/linux/riscv/atomic-machine.h: Likewise.
19105 * sysdeps/riscv/nptl/nptl-sysdep.S: New file.
19106 * sysdeps/unix/sysv/linux/riscv/arch-fork.h: Likewise.
19107 * sysdeps/unix/sysv/linux/riscv/clone.S: Likewise.
19108 * sysdeps/unix/sysv/linux/riscv/profil-counter.h: Likewise.
19109 * sysdeps/unix/sysv/linux/riscv/pt-vfork.S: Likewise.
19110 * sysdeps/unix/sysv/linux/riscv/syscall.c: Likewise.
19111 * sysdeps/unix/sysv/linux/riscv/sysdep.S: Likewise.
19112 * sysdeps/unix/sysv/linux/riscv/sysdep.h: Likewise.
19113 * sysdeps/unix/sysv/linux/riscv/vfork.S: Likewise.
19114 * sysdeps/riscv/nptl/pthread-offsets.h: New file.
19115 * sysdeps/riscv/nptl/pthreaddef.h: Likewise.
19116 * sysdeps/unix/sysv/linux/riscv/bits/fcntl.h: Likewise.
19117 * sysdeps/unix/sysv/linux/riscv/bits/mman.h: Likewise.
19118 * sysdeps/unix/sysv/linux/riscv/bits/sigcontext.h: Likewise.
19119 * sysdeps/unix/sysv/linux/riscv/dl-cache.h: Likewise.
19120 * sysdeps/unix/sysv/linux/riscv/flush-icache.c: Likewise.
19121 * sysdeps/unix/sysv/linux/riscv/getcontext.S: Likewise.
19122 * sysdeps/unix/sysv/linux/riscv/init-first.c: Likewise.
19123 * sysdeps/unix/sysv/linux/riscv/libc-vdso.h: Likewise.
19124 * sysdeps/unix/sysv/linux/riscv/makecontext.c: Likewise.
19125 * sysdeps/unix/sysv/linux/riscv/readelflib.c: Likewise.
19126 * sysdeps/unix/sysv/linux/riscv/register-dump.h: Likewise.
19127 * sysdeps/unix/sysv/linux/riscv/setcontext.S: Likewise.
19128 * sysdeps/unix/sysv/linux/riscv/sigcontextinfo.h: Likewise.
19129 * sysdeps/unix/sysv/linux/riscv/swapcontext.S: Likewise.
19130 * sysdeps/unix/sysv/linux/riscv/sys/cachectl.h: Likewise.
19131 * sysdeps/unix/sysv/linux/riscv/sys/procfs.h: Likewise.
19132 * sysdeps/unix/sysv/linux/riscv/sys/ucontext.h: Likewise.
19133 * sysdeps/unix/sysv/linux/riscv/sys/user.h: Likewise.
19134 * sysdeps/unix/sysv/linux/riscv/ucontext-macros.h: Likewise.
19135 * sysdeps/unix/sysv/linux/riscv/ucontext_i.sym: Likewise.
19136 * sysdeps/unix/sysv/linux/riscv/dl-static.c: New file.
19137 * sysdeps/unix/sysv/linux/riscv/ldconfig.h: Likewise.
19138 * sysdeps/unix/sysv/linux/riscv/ldsodefs.h: Likewise.
19139 * sysdeps/riscv/nofpu/libm-test-ulps: New file.
19140 * sysdeps/riscv/nofpu/libm-test-ulps-name: Likewise.
19141 * sysdeps/riscv/rv64/rvd/libm-test-ulps: Likewise.
19142 * sysdeps/riscv/rv64/rvd/libm-test-ulps-name: Likewise.
19143 * sysdeps/unix/sysv/linux/riscv/localplt.data: Likewise.
19144 * sysdeps/unix/sysv/linux/riscv/rv64/c++-types.data: Likewise.
19145 * sysdeps/unix/sysv/linux/riscv/rv64/ld.abilist: Likewise.
19146 * sysdeps/unix/sysv/linux/riscv/rv64/libanl.abilist: Likewise.
19147 * sysdeps/unix/sysv/linux/riscv/rv64/libc.abilist: Likewise.
19148 * sysdeps/unix/sysv/linux/riscv/rv64/libdl.abilist: Likewise.
19149 * sysdeps/unix/sysv/linux/riscv/rv64/libm.abilist: Likewise.
19150 * sysdeps/unix/sysv/linux/riscv/rv64/libnsl.abilist: Likewise.
19151 * sysdeps/unix/sysv/linux/riscv/rv64/librt.abilist: Likewise.
19152 * sysdeps/unix/sysv/linux/riscv/rv64/libutil.abilist: Likewise.
19153 * sysdeps/riscv/Implies: New file.
19154 * sysdeps/riscv/Makefile: Likewise.
19155 * sysdeps/riscv/configure: Likewise.
19156 * sysdeps/riscv/configure.ac: Likewise.
19157 * sysdeps/riscv/nptl/Makefile: Likewise.
19158 * sysdeps/riscv/preconfigure: Likewise.
19159 * sysdeps/riscv/rv64/Implies-after: Likewise.
19160 * sysdeps/riscv/rv64/rvd/Implies: Likewise.
19161 * sysdeps/riscv/rv64/rvf/Implies: Likewise.
19162 * sysdeps/unix/sysv/linux/riscv/Implies: Likewise.
19163 * sysdeps/unix/sysv/linux/riscv/Makefile: Likewise.
19164 * sysdeps/unix/sysv/linux/riscv/Versions: Likewise.
19165 * sysdeps/unix/sysv/linux/riscv/configure: Likewise.
19166 * sysdeps/unix/sysv/linux/riscv/configure.ac: Likewise.
19167 * sysdeps/unix/sysv/linux/riscv/ldd-rewrite.sed: Likewise.
19168 * sysdeps/unix/sysv/linux/riscv/rv64/Implies: Likewise.
19169 * sysdeps/unix/sysv/linux/riscv/rv64/Makefile: Likewise.
19170 * sysdeps/unix/sysv/linux/riscv/shlib-versions: Likewise.
19171 * scripts/build-many-glibcs.py (Context): Add RISC-V targets.
19172 (Config): Likewise.
19174 2018-01-29 Florian Weimer <fweimer@redhat.com>
19177 * include/rpcsvc/nislib.h (__nis_default_ttl): Add
19178 libnsl_hidden_proto.
19179 * include/rpcsvc/yp.h (yp_xdrall): Declare with
19180 libnsl_hidden_proto.
19181 * include/rpcsvc/ypclnt.h (yp_maplist): Likewise.
19182 * nis/Makefile (libnsl-routines): Add nss-default only for
19183 build-obsolete-nsl.
19184 * nis/nis_defaults.c (__nis_default_ttl): Add
19185 libnsl_hidden_nolink_def.
19186 * nis/rpcsvc/ypclnt.h (yp_maplist): Remove #ifdef'ed-out
19188 * nis/yp_xdr.c (xdr_ypall): Add libnsl_hidden_nolink_def.
19189 * nis/ypclnt.c (yp_maplist): Likewise.
19191 2018-01-29 Romain Naour <romain.naour@gmail.com> (tiny change)
19193 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
19194 (__ASSUME_COPY_FILE_RANGE) [__LINUX_KERNEL_VERSION < 0x040A00]: Undef.
19196 2018-01-29 Joseph Myers <joseph@codesourcery.com>
19198 * scripts/build-many-glibcs.py (Context.git_checkout): Use git
19199 clean -dxfq for git updates when replacing sources.
19201 * scripts/build-many-glibcs.py (Config.build_gcc): Use
19202 --disable-libcilkrts unconditionally, not just for the final GCC
19205 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
19208 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19211 * localedata/locales/lt_LT (alt_mon): Import from CLDR (nominative
19214 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19217 * localedata/locales/be_BY (mon): Rename to...
19218 (alt_mon): This, then synchronize with CLDR (nominative case).
19219 (abmon): Rename to...
19220 (ab_alt_mon): This, then synchronize with CLDR (nominative case).
19221 (mon): Import from CLDR (genitive case).
19223 * localedata/locales/be_BY@latin (mon): Rename to...
19225 (mon): Add, proper genitive forms provided by Viktar Siarheichyk.
19227 * localedata/locales/be_BY@latin (lang_name): Reworded to
19228 "biełaruskaja mova".
19230 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19233 * localedata/locales/el_CY (mon): Renamed to...
19235 (mon): Import from CLDR (genitive case).
19236 * localedata/locales/el_GR: Likewise.
19238 2018-01-29 Rafal Luzynski <digitalfreak@lingonborough.com>
19241 * localedata/locales/ru_RU (mon): Rename to...
19243 (abmon): Rename to...
19244 (ab_alt_mon): This.
19245 (mon): Import from CLDR (genitive case).
19246 (abmon): Copy from the old content except the 5th month which is
19247 now in the genitive case, even when abbreviated.
19248 * localedata/locales/ru_UA: Likewise.
19249 * time/tst-strptime.c (day_tests): Add an actual example of
19250 a difference between %b and %Ob in Russian.
19252 2018-01-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
19254 * sysdeps/mach/hurd/xmknodat.c: Include <sys/sysmacros.h>.
19255 * sysdeps/mach/hurd/profil.c: Reuse `a' variable instead of introducing
19257 * resolv/res-close.c: Include <stdlib.h>.
19258 * sysdeps/generic/not-cancel.h: Include <fcntl.h>, <unistd.h>,
19259 <sys/wait.h>, <time.h>, <sys/uio.h>.
19260 (NOT_CANCEL_H): Add inclusion guard.
19261 * sysdeps/generic/sigset-cvt-mask.h: Include <sigsetops.h>.
19262 * sysdeps/generic/sigsetops.h (__sigemptyset, __sigfillset,
19263 __sigandset, __sigorset, __sigaddset, __sigdelset): Make them really
19265 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start): Cast
19266 vm_address_t * to ElfW(Addr) * for dl_main parameter.
19267 * sysdeps/pthread/posix-timer.h (timer_ptr2id): Cast to timer_t
19269 * sysdeps/pthread/timer_create.c (timer_create): Do not use
19270 timer_ptr2id to cast struct timer_node * to void *.
19271 * scripts/build-many-glibcs.py [os == gnu] (build_gcc): Pass
19272 --disable-libcilkrts to gcc configure.
19273 (checkout_vcs): Add mig and gnumach repository URLs, run autoreconf,
19274 and make them the default for now.
19275 * sysdeps/mach/hurd/Makefile [$(subdir)==nis]: Add
19276 -DUSE_BINDINGDIR=1 to CFLAGS-ypclnt.c.
19277 * mach/Machrules (MIGFLAGS): Do not set -DMACH_IPC_COMPAT=0.
19278 * mach/mach/mach_traps.h: Drop comment about MACH_IPC_COMPAT.
19279 * sysdeps/mach/hurd/fork.c (__fork): Drop special casing
19281 * sysdeps/mach/hurd/dl-sysdep.c (_exit): Call LOSE and abort() if
19282 __task_terminate would ever return successfully.
19283 * sysdeps/mach/hurd/profil.c (special_profil_failure): Move variable
19285 * sysdeps/mach/pagecopy.h (PAGE_THRESHOLD): Rename to
19286 PAGE_COPY_THRESHOLD and set to benchmarked 16384.
19287 * sysdeps/mach/hurd/getresgid.c (__getresgid): Set result from
19288 critical section to make code simpler and avoid warning.
19289 * sysdeps/mach/hurd/getresuid.c (__getresuid): Set result from
19290 critical section to make code simpler and avoid warning.
19291 * sysdeps/mach/hurd/spawni.c (__spawni): Make relpath and abspath
19292 const char * instead of char *.
19293 * hurd/hurd/lookup.h (__hurd_file_name_lookup, hurd_file_name_lookup,
19294 __hurd_file_name_split, hurd_file_name_split,
19295 __hurd_directory_name_split, hurd_directory_name_split,
19296 __hurd_file_name_lookup_retry, hurd_file_name_lookup_retry,
19297 hurd_file_name_path_lookup): Make lookup function parameter take a
19298 const char *name instead of char *name.
19299 * hurd/hurdlookup.c (__hurd_file_name_lookup, __hurd_file_name_split,
19300 __hurd_directory_name_split): Likewise.
19301 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Likewise.
19302 * hurd/path-lookup.c (hurd_file_name_path_lookup): Likewise.
19303 * sysdeps/mach/hurd/check_native.c: New file.
19304 * sysdeps/mach/hurd/check_pf.c: New file.
19305 * nscd/gai.c (__getifaddrs): Define macro to getifaddrs.
19306 (__freeifaddrs): Define macro to freeifaddrs.
19307 * sysdeps/mach/hurd/libhurduser.abilist: New file.
19308 * sysdeps/mach/libmachuser.abilist: New file.
19309 * libio/tst-memstream3.c (FWRITE): Rename to _FWRITE.
19310 (do_test_bz20181): Rename accordingly.
19311 * libio/tst-wmemstream3.c (FWRITE): Rename accordingly.
19312 * io/tst-copy_file_range.c [!defined CLONE_NEWNS]: Do not include
19314 * hurd/hurd.h (__hurd_fail): Always declare function, and provide inline
19315 version only if __USE_EXTERN_INLINES is defined.
19316 * hurd/hurd/fd.h (_hurd_fd_error_signal, _hurd_fd_error, __hurd_dfail,
19317 __hurd_sockfail): Likewise.
19318 (_hurd_fd_get): Always declare functions, and provide inline versions
19319 only if __USE_EXTERN_INLINES and _LIBC are defined and IS_IN(libc).
19320 * hurd/hurd/port.h (_hurd_port_init, _hurd_port_locked_get,
19321 _hurd_port_get, _hurd_port_free, _hurd_port_locked_set,
19322 _hurd_port_set): Always declare functions, and provide inline versions
19323 only if __USE_EXTERN_INLINES and _LIBC are defined and
19325 * hurd/hurd/signal.h (_hurd_self_sigstate, _hurd_critical_section_lock,
19326 _hurd_critical_section_unlock): Likewise.
19327 * hurd/hurd/threadvar.h (__hurd_threadvar_location_from_sp,
19328 * __hurd_threadvar_location): Likewise.
19329 * hurd/hurd/userlink.h (_hurd_userlink_link, _hurd_userlink_unlink,
19330 _hurd_userlink_clear): Likewise.
19331 * mach/lock-intern.h (__spin_lock_init, __spin_lock, __mutex_lock,
19332 __mutex_unlock, __mutex_trylock): Always declare functions, and provide
19333 inline versions only if __USE_EXTERN_INLINES and _LIBC are defined.
19334 * mach/mach/mig_support.h (__mig_strncpy): Likewise.
19335 * sysdeps/generic/machine-lock.h (__spin_unlock, __spin_try_lock,
19336 __spin_lock_locked): Likewise.
19337 * sysdeps/mach/i386/machine-lock.h (__spin_unlock, __spin_try_lock,
19338 __spin_lock_locked): Likewise.
19339 * mach/spin-lock.c (__USE_EXTERN_INLINES): Define to 1.
19340 * hurd/Versions (libc: GLIBC_2.27): Add _hurd_fd_error_signal,
19341 _hurd_fd_error, __hurd_dfail, __hurd_sockfail, _hurd_port_locked_set,
19342 __hurd_threadvar_location_from_sp, __hurd_threadvar_location,
19343 _hurd_userlink_link, _hurd_userlink_unlink, _hurd_userlink_clear.
19344 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_CHOWN_RESTRICTED,
19345 _POSIX_NO_TRUNC): Define to 0.
19346 * sysdeps/pthread/allocalim.h [!defined PTHREAD_STACK_MIN]: Do not
19347 check size against PTHREAD_STACK_MIN.
19348 * hurd/hurd/signal.h [__USE_EXTERN_INLINES][_LIBC][IS_IN(libc) ||
19349 IS_IN(libpthread)]: Include <sigsetops.h>.
19350 * mach/Makefile (user-interfaces): Add mach/gnumach.
19351 * sysdeps/mach/configure.ac (mach_interface_list): Add gnumach.
19352 * sysdeps/mach/configure (mach_interface_list): Regenerate.
19353 * sysdeps/mach/hurd/bits/posix_opt.h (_POSIX_VDISABLE): Set to '\0'
19354 instead of invalid -1.
19355 * sysdeps/mach/hurd/net/ethernet.h: Include <stdint.h>.
19356 * sysdeps/mach/hurd/net/if_arp.h: Include <stdint.h>.
19357 * sysdeps/mach/hurd/net/if_ppp.h: Do not include non-existing
19360 2018-01-27 Thomas Schwinge <tschwinge@gnu.org>
19362 * hurd/fcntl-internal.h: New file.
19364 2018-01-27 James Clarke <jrtc27@jrtc27.com>
19366 * sysdeps/hppa/fpu/libm-test-ulps: Update.
19368 * sysdeps/alpha/fpu/libm-test-ulps: Update.
19370 2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
19373 * nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
19374 Build only shared objects.
19376 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19378 * README: Update for hppa.
19380 2018-01-26 Patrick McGehearty <patrick.mcgehearty@oracle.com>
19382 * sysdeps/sparc/fpu/libm-test-ulps: Update
19383 cpow, ctan, ctanh, j0, j1, y0, yn ulps.
19385 2018-01-26 Carlos O'Donell <carlos@redhat.com>
19389 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19392 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19393 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
19394 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
19395 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
19398 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
19401 * bits/types/__cancel_jmp_buf_tag.h: New file.
19402 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
19403 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
19404 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
19405 * nptl/Makefile (headers): Add
19406 bits/types/__cancel_jmp_buf_tag.h.
19407 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
19408 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
19409 * sysdeps/nptl/pthread.h: Include
19410 <bits/types/__cancel_jmp_buf_tag.h>.
19411 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
19413 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
19415 2018-01-25 Rafal Luzynski <digitalfreak@lingonborough.com>
19418 * localedata/locales/uk_UA (mon): Renamed to...
19420 (alt_digits): "0" removed and then renamed to...
19422 (date_fmt): Definition changed not to use the alternative
19425 2018-01-25 Palmer Dabbelt <palmer@sifive.com>
19427 * elf/cache.c (print_entry): Add FLAG_RISCV_FLOAT_ABI_SOFT and
19428 FLAG_RISCV_FLOAT_ABI_DOUBLE.
19429 * elf/elf.h (EF_RISCV_RVC): New define.
19430 (EF_RISCV_FLOAT_ABI): Likewise.
19431 (EF_RISCV_FLOAT_ABI_SOFT): Likewise.
19432 (EF_RISCV_FLOAT_ABI_SINGLE): Likewise.
19433 (EF_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19434 (EF_RISCV_FLOAT_ABI_QUAD): Likewise.
19435 * sysdeps/generic/ldconfig.h (FLAG_RISCV_FLOAT_ABI_SOFT): New
19437 (FLAG_RISCV_FLOAT_ABI_DOUBLE): Likewise.
19439 2018-01-25 Andreas Schwab <schwab@suse.de>
19441 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): Consistently put arguments in
19443 * sysdeps/gnu/configure: Regenerate.
19444 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
19445 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
19446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
19447 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
19448 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
19449 * sysdeps/unix/sysv/linux/tile/configure: Regenerate.
19450 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
19451 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
19453 2018-01-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
19455 * scripts/build-many-glibcs.py (checkout_vcs): Add hurd repository
19456 URL, and run autoconf, make it the default for now.
19458 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19460 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19461 soft-float ColdFire configuration.
19463 * sysdeps/unix/sysv/linux/m68k/localplt.data: Move to ....
19464 * sysdeps/unix/sysv/linux/m68k/m680x0/localplt.data: ... here.
19465 * sysdeps/unix/sysv/linux/m68k/coldfire/localplt.data: New file.
19467 * sysdeps/m68k/coldfire/nofpu/math_private.h: New file. Based on
19470 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: Move to
19472 * sysdeps/unix/sysv/linux/m68k/coldfire/fpu/jmp_buf-macros.h:
19474 * sysdeps/unix/sysv/linux/m68k/coldfire/nofpu/jmp_buf-macros.h:
19477 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Move to ....
19478 * sysdeps/unix/sysv/linux/m68k/m680x0/jmp_buf-macros.h: ... here.
19479 * sysdeps/unix/sysv/linux/m68k/coldfire/jmp_buf-macros.h: New
19482 2018-01-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
19485 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__glibc_reserved1):
19486 Rename to __reserved and add comment.
19487 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (__glibc_reserved1):
19488 Rename to __reserved.
19490 2018-01-24 Joseph Myers <joseph@codesourcery.com>
19492 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
19493 i686-gnu configurations.
19494 (Context.run_builds): Include mig, gnumach and hurd in components
19496 (Context.checkout): Add mig, gnumach and hurd to components.
19497 (Context.checkout_tar): Add URL mappings for mig, gnumach and
19499 (Context.bot_cycle): Check for changes to mig, gnumach and hurd.
19500 (Config.build): Install gnumach headers, build mig and install
19501 hurd headers for 'gnu' OS.
19502 (Config.install_gnumach_headers): New function.
19503 (Config.install_hurd_headers): Likewise.
19504 (Glibc.build_glibc): Do not use /usr for 'gnu' OS. Specifiy MIG
19505 when building for 'gnu' OS.
19507 2018-01-23 Tobias Klauser <tklauser@distanz.ch>
19509 * manual/tunables.texi (Hardware Capability Tunables): Fix
19512 2018-01-22 Rical Jasan <ricaljasan@pacific.net>
19514 * manual/locale.texi (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4)
19515 (ALTMON_5, ALTMON_6, ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10)
19516 (ALTMON_11, ALTMON_12): Improve documentation.
19517 * manual/time.texi (strftime): Likewise.
19519 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19522 * localedata/locales/pl_PL: Alternative month names added,
19523 primary month names are genitive now.
19524 * time/tst-strptime.c (day_tests): Actually use a genitive case
19525 of a month name in Polish language.
19527 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19530 * manual/locale.texi: Document ALTMON_1..12 constants for
19531 nl_langinfo. Specify when to use ALTMON instead of MON.
19532 * manual/time.texi (strftime, strptime): Document GNU extension
19533 permitting O modifier with %B and %b. Specify when to use
19536 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19539 * locale/C-time.c (_nl_C_LC_TIME): Add abbreviated alternative month
19540 names, define them as the same as abbreviated month names explicitly.
19541 * locale/categories.def (LC_TIME): Add ab_alt_mon and wide-ab_alt_mon.
19542 * locale/langinfo.h: (_NL_ABALTMON_1, _NL_ABALTMON_2, _NL_ABALTMON_3,
19543 _NL_ABALTMON_4, _NL_ABALTMON_5, _NL_ABALTMON_6, _NL_ABALTMON_7,
19544 _NL_ABALTMON_8, _NL_ABALTMON_9, _NL_ABALTMON_10, _NL_ABALTMON_11,
19545 _NL_ABALTMON_12, _NL_WABALTMON_1, _NL_WABALTMON_2, _NL_WABALTMON_3,
19546 _NL_WABALTMON_4, _NL_WABALTMON_5, _NL_WABALTMON_6, _NL_WABALTMON_7,
19547 _NL_WABALTMON_8, _NL_WABALTMON_9, _NL_WABALTMON_10, _NL_WABALTMON_11,
19548 _NL_WABALTMON_12): New enum constants.
19549 * locale/programs/ld-time.c (struct locale_time_t): Add ab_alt_mon,
19550 wab_alt_mon, and ab_alt_mon_defined members.
19551 (time_output): Output ab_alt_mon and wab_alt_mon members.
19552 (time_read): Read them, initialize them as copies of abmon and wabmon
19553 respectively if they are missing, initialize ab_alt_mon_defined.
19554 * locale/programs/locfile-kw.gperf (ab_alt_mon): Define.
19555 * locale/programs/locfile-kw.h: Regenerate.
19556 * locale/programs/locfile-token.h (tok_ab_alt_mon): New enum constant.
19557 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add es_ES.UTF-8
19559 * time/strftime_l.c (a_altmonth, aam_len): New macros.
19560 [!COMPILE_WIDE] (ABALTMON_1): New macro.
19561 (__strftime_internal): Handle %Ob and %Oh formats.
19562 * time/strptime_l.c [_LIBC] (ab_alt_month_name): New macro.
19563 (__strptime_internal): Handle %Ob and %Oh formats.
19564 * time/tst-strptime.c (day_tests): Add more tests to parse different
19565 forms of month names including the new %Ob format specifier.
19567 2018-01-22 Rafal Luzynski <digitalfreak@lingonborough.com>
19570 * locale/C-time.c (_nl_C_LC_TIME): Add alternative month names,
19571 define them as the same as primary full month names explicitly.
19572 * locale/categories.def (LC_TIME): Add alt_mon and wide-alt_mon.
19573 * locale/langinfo.h (__ALTMON_1, __ALTMON_2, __ALTMON_3, __ALTMON_4,
19574 __ALTMON_5, __ALTMON_6, __ALTMON_7, __ALTMON_8, __ALTMON_9, __ALTMON_10,
19575 __ALTMON_11, __ALTMON_12, _NL_WALTMON_1, _NL_WALTMON_2, _NL_WALTMON_3,
19576 _NL_WALTMON_4, _NL_WALTMON_5, _NL_WALTMON_6, _NL_WALTMON_7,
19577 _NL_WALTMON_8, _NL_WALTMON_9, _NL_WALTMON_10, _NL_WALTMON_11,
19578 _NL_WALTMON_12): New enum constants.
19579 [__USE_GNU] (ALTMON_1, ALTMON_2, ALTMON_3, ALTMON_4, ALTMON_5, ALTMON_6,
19580 ALTMON_7, ALTMON_8, ALTMON_9, ALTMON_10, ALTMON_11, ALTMON_12): New
19582 * locale/programs/ld-time.c (struct locale_time_t): Add alt_mon,
19583 walt_mon, and alt_mon_defined members.
19584 (time_output): Output alt_mon and walt_mon members.
19585 (time_read): Read them, initialize them as copies of mon and wmon
19586 respectively if they are missing, initialize alt_mon_defined.
19587 * locale/programs/locfile-kw.gperf (alt_mon): Define.
19588 * locale/programs/locfile-kw.h: Regenerate.
19589 * locale/programs/locfile-token.h (tok_alt_mon): New enum constant.
19590 * localedata/tst-langinfo.c (map): Add tests for the new constants
19591 ALTMON_1 .. ALTMON_12.
19592 * time/Makefile [$(run-built-tests) = yes] (LOCALES): Add fr_FR.UTF-8
19594 * time/strftime_l.c (f_altmonth): New macro.
19595 (__strftime_internal): Handle %OB format.
19596 * time/strptime_l.c [_LIBC] (alt_month_name): New macro.
19597 (__strptime_internal): Handle %OB format.
19598 * time/tst-strptime.c (day_tests): Add tests to parse different forms
19599 of month names including the new %OB format specifier.
19601 2018-01-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19604 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION_IMPL): Renamed
19605 from ABORT_TRANSACTION.
19606 (ABORT_TRANSACTION): Redirect to ABORT_TRANSACTION_IMPL.
19607 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION,
19608 ABORT_TRANSACTION_IMPL): Likewise.
19609 * sysdeps/unix/sysv/linux/powerpc/not-errno.h: New file. Reuse
19610 Linux code, but remove the code that aborts transactions.
19612 2018-01-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
19614 * sysdeps/generic/netinet/if_ether.h: Include <stdint.h>.
19616 2018-01-19 Rafal Luzynski <digitalfreak@lingonborough.com>
19618 * localedata/locales/gu_IN (LC_IDENTIFICATION): Fix an obvious typo
19619 in date: "2004-14-09" should be "2004-09-14".
19620 * localedata/locales/lo_LA: Fix an obvious typo in date in the header:
19621 "2003-15-09" should be "2003-09-15".
19623 2018-01-18 Arjun Shankar <arjun@redhat.com>
19629 * malloc/malloc.c (checked_request2size): call REQUEST_OUT_OF_RANGE
19631 (_int_memalign): check for integer overflow before calling
19633 * malloc/tst-malloc-too-large.c: New test.
19634 * malloc/Makefile: Add tst-malloc-too-large.
19636 2018-01-18 Rafal Luzynski <digitalfreak@lingonborough.com>
19638 * localedata/locales/bho_NP (LC_IDENTIFICATION): Fix an obvious typo
19639 in date: "2017-24-07" should be "2017-07-24".
19640 * localedata/locales/mai_IN: Likewise.
19641 * localedata/locales/mai_NP: Likewise.
19643 2018-01-17 Dmitry V. Levin <ldv@altlinux.org>
19645 * po/ru.po: Update translations.
19647 2018-01-17 Joseph Myers <joseph@codesourcery.com>
19650 * sysdeps/hppa/backtrace.c: New file.
19652 2018-01-17 H.J. Lu <hongjiu.lu@intel.com>
19655 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile): Properly
19656 align La_x86_64_retval to VEC_SIZE.
19658 2018-01-16 Joseph Myers <joseph@codesourcery.com>
19660 * sysdeps/x86_64/backtrace.c: Include <gnu/lib-names.h>.
19661 (init): Use LIBGCC_S_SO not hardcoded "libgcc_s.so.1".
19663 2018-01-16 Florian Weimer <fweimer@redhat.com>
19665 * nptl/Makefile [$(have-cxx-thread_local)] (tests-unsupported):
19666 Move tst-thread-exit-clobber ...
19667 [$(CXX)] (tests-unsupported): ... to here.
19669 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19671 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_SHA3): Define.
19672 (HWCAP_SM3, HWCAP_SM4, HWCAP_ASIMDDP, HWCAP_SHA512, HWCAP_SVE): Define.
19673 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19674 (_dl_aarch64_cap_flags): Update.
19675 (_DL_HWCAP_COUNT): Update.
19677 2018-01-16 Szabolcs Nagy <szabolcs.nagy@arm.com>
19679 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
19680 (_DL_HWCAP_LAST): Remove.
19681 (_DL_HWCAP_COUNT): Move to ...
19682 * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
19683 (_DL_HWCAP_COUNT): ... here.
19685 2018-01-16 Florian Weimer <fweimer@redhat.com>
19687 * nptl/Makefile (CFLAGS-tst-minstack-throw.o): Compile in C++11
19688 mode with GNU extensions.
19690 2018-01-15 Alan Hayward <alan.hayward@arm.com>
19692 * elf/elf.h (NT_ARM_SVE): Define.
19694 2018-01-15 Florian Weimer <fweimer@redhat.com>
19697 * nptl/tst-minstack-throw.cc: New file.
19698 * nptl/Makefile (tests): Add tst-minstack-throw.
19699 (LDLIBS-tst-minstack-throw): Link with libstdc++.
19700 [!CXX] (tests-unsupported): Add tst-minstack-throw.
19702 2018-01-15 Joseph Myers <joseph@codesourcery.com>
19704 * scripts/build-many-glibcs.py (Context.checkout): Default
19705 binutils version to 2.30 branch, MPFR version to 4.0.0 and MPC
19708 2018-01-13 Carlos O'Donell <carlos@redhat.com>
19711 * elf/elf.h (DF_1_STUB): Define.
19712 (DF_1_PIE): Define.
19714 2018-01-12 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19717 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S (__llround):
19718 Do not add 0.5 to integer or out-of-range arguments.
19720 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19722 * po/bg.po: Update translations.
19723 * po/cs.po: Likewise.
19724 * po/de.po: Likewise.
19725 * po/ko.po: Likewise.
19726 * po/pl.po: Likewise.
19727 * po/sv.po: Likewise.
19728 * po/uk.po: Likewise.
19729 * po/vi.po: Likewise.
19731 2018-01-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
19733 * aarch64/start.S (_start): Use __wrap_main.
19734 (__wrap_main): New local symbol.
19736 2018-01-12 Dmitry V. Levin <ldv@altlinux.org>
19740 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Fall back to
19741 generic_getcwd if the path returned by getcwd syscall is not absolute.
19742 * io/tst-getcwd-abspath.c: New test.
19743 * io/Makefile (tests): Add tst-getcwd-abspath.
19745 2018-01-12 Istvan Kurucsai <pistukem@gmail.com>
19747 * malloc/malloc.c (malloc_consolidate): Add size check.
19749 2018-01-12 Florian Weimer <fweimer@redhat.com>
19751 * support/write_message.c (write_message): Preserve errno.
19752 * support/check.c (print_failure): Likewise.
19753 * support/support_test_verify_impl.c (support_test_verify_impl):
19755 * support/support_test_compare_failure.c
19756 (support_test_compare_failure): Likewise.
19758 2018-01-12 Florian Weimer <fweimer@redhat.com>
19761 * nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
19762 Prevent installation of libnsl.so.
19763 (libnsl-inhibit-o): Do not build (or install) static libraries.
19765 2018-01-12 Egmont Koblinger <egmont@gmail.com>
19768 * localedata/locales/hu_HU (d_t_fmt): Avoid a leading space
19769 before the day number which may produce a double space.
19770 (date_fmt): Likewise.
19772 2018-01-12 Joseph Myers <joseph@codesourcery.com>
19774 * sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
19775 instead of fegetenv.
19777 2018-01-11 Joseph Myers <joseph@codesourcery.com>
19780 * sysdeps/generic/math_private.h (libc_feresetround_noex): Update
19781 comment to say exceptions are discarded.
19782 (libc_feholdsetround_noex_ctx): Use __feholdexcept instead of
19784 (SET_RESTORE_ROUND_NOEX): Update comment to say non-stop mode must
19787 2018-01-11 Florian Weimer <fweimer@redhat.com>
19789 * sysdeps/gnu/unwind-resume.c (__libgcc_s_init): Update comment
19792 2018-01-11 Florian Weimer <fweimer@redhat.com>
19795 * nptl/Makefile (tests): Add tst-minstack-cancel, tst-minstack-exit.
19796 * nptl/tst-minstack-cancel.c, nptl/tst-minstack-exit.c: New files.
19798 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19801 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Handle
19802 negative arguments in test for NaN or infinity argument.
19804 2018-01-10 Dmitry V. Levin <ldv@altlinux.org>
19806 * po/libc.pot: Regenerate.
19808 2018-01-10 Florian Weimer <fweimer@redhat.com>
19811 * sysdeps/nptl/unwind-forcedunwind.c (pthread_cancel_init): Open
19812 libgcc.so with RTLD_NOW, to avoid lazy binding during unwind.
19814 2018-01-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19816 * hurd/hurd/fd.h: Include <fcntl.h>
19817 (__hurd_at_flags): New function.
19818 * hurd/lookup-at.c (__file_name_lookup_at): Replace flag computation
19819 with call to __hurd_at_flags.
19820 * include/unistd.h (__faccessat, __faccessat_noerrno): Add declaration.
19821 * sysdeps/mach/hurd/access.c (access_common): Move implementation to
19823 (hurd_fail_seterrno, hurd_fail_noerrno): Move to sysdeps/mach/hurd/faccessat.c.
19824 (__access_noerrno): Use __faccessat_common instead of access_common.
19825 (__access): Likewise.
19826 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Replace implementation
19827 with a call to __faccessat.
19828 * sysdeps/mach/hurd/faccessat.c (faccessat): Rename into...
19829 (__faccessat_common): ... this. Move implementation of __access into it when
19830 AT_FLAGS does not contain AT_EACCESS. Make it call __hurd_at_flags, add
19831 reauthenticate_cwdir_at helper to implement AT mechanism.
19832 (__faccessat_noerrno): New function, just calls __faccessat_common.
19833 (__faccessat): New function, just calls __faccessat_common.
19834 (faccessat): Define weak alias.
19836 2018-01-10 Joseph Myers <joseph@codesourcery.com>
19839 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19840 (CFLAGS-s_fmaxmagl.c): New variable.
19841 [$(subdir) = math] (CFLAGS-s_fminmagl.c: Likewise.
19844 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Use unsigned
19845 long int for arguments of possibly overflowing addition or
19847 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
19849 2018-01-09 Joseph Myers <joseph@codesourcery.com>
19852 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19853 (CFLAGS-e_remainderl.c): New variable.
19856 * sysdeps/powerpc/nofpu/Makefile (CFLAGS-s_cacosl.c): New
19858 (CFLAGS-s_cacoshl.c): Likewise.
19859 (CFLAGS-s_casinhl.c): Likewise.
19860 (CFLAGS-s_catanl.c): Likewise.
19861 (CFLAGS-s_catanhl.c): Likewise.
19862 (CFLAGS-s_cexpl.c): Likewise.
19863 (CFLAGS-s_ccoshl.c): Add -fsignaling-nans.
19864 (CFLAGS-s_csinhl.c): Likewise.
19865 (CFLAGS-s_clogl.c): Likewise.
19866 (CFLAGS-s_clog10l.c): Likewise.
19867 (CFLAGS-s_csinl.c): Likewise.
19868 (CFLAGS-s_csqrtl.c): Likewise.
19870 2017-01-09 Emilio Pozuelo Monfort <pochu27@gmail.com>
19871 2017-01-09 Svante Signell <svante.signell@gmail.com>
19873 * hurd/hurdexec.c (_hurd_exec): Deprecate function.
19874 (_hurd_exec_paths): New function.
19875 * hurd/hurd.h (_hurd_exec): Deprecate function.
19876 (_hurd_exec_paths): Declare function.
19877 * hurd/Versions: Export _hurd_exec_paths.
19878 * sysdeps/mach/hurd/execve.c: Include <stdlib.h> and <stdio.h>
19879 (__execve): Use __getcwd to build absolute path, and use
19880 _hurd_exec_paths instead of _hurd_exec.
19881 * sysdeps/mach/hurd/spawni.c: Likewise.
19882 * sysdeps/mach/hurd/fexecve.c: Use _hurd_exec_paths instead of
19885 2018-01-08 Dmitry V. Levin <ldv@altlinux.org>
19887 * sysdeps/unix/sysv/linux/tst-ttyname.c (do_in_chroot_1): Skip the
19888 test instead of failing in case of ENOENT returned by posix_openpt.
19890 2018-01-08 Florian Weimer <fweimer@redhat.com>
19892 resolv: Support binary labels in test framework.
19893 * support/resolv_test.c (struct to_be_freed): Remove.
19894 (struct compressed_name): New.
19895 (allocate_compressed_name, ascii_tolower)
19896 (compare_compressed_name): New functions.
19897 (struct resolv_response_builder): Update type of
19898 compression_offsets for use with tsearch. Rempve to_be_freed.
19899 (response_push_pointer_to_free): Remove function.
19900 (resolv_response_add_name): Rewrite using struct compressed_name
19901 and tsearch instead of hsearch_r.
19902 (response_builder_allocate): Remove initialization of
19903 compression_offsets.
19904 (response_builder_free): Update for removal of to_be_freed. Use
19905 tdestroy instead of hdestroy_r.
19906 * resolv/Makefile (tests): Add tst-resolv-binary.
19907 (tst-resolv-binary): Link with -lresolv -lpthread.
19909 2018-01-08 Florian Weimer <fweimer@redhat.com>
19911 * support/check.h (TEST_COMPARE): Allow sign mismatch at compile
19912 time. Pass positive flag instead of negative flag to
19913 support_test_compare_failure.
19914 (support_test_compare_failure): Change negative parameter to
19916 * support/support_test_compare_failure.c (report)
19917 (support_test_compare_failure): Likewise.
19918 * support/tst-test_compare.c (return_ssize_t, return_int): New.
19919 (do_test): Check int/size_t, ssize_t/size_t comparisons.
19921 2018-01-08 Szabolcs Nagy <szabolcs.nagy@arm.com>
19924 * nptl/descr.h (stackblock, stackblock_size): Update comments.
19925 * nptl/allocatestack.c (allocate_stack): Add guardsize to stacksize.
19926 * nptl/nptl-init.c (__pthread_get_minstack): Remove guardsize from
19928 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
19930 2018-01-08 H.J. Lu <hongjiu.lu@intel.com>
19932 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
19933 Add s_sincosf-sse2 and s_sincosf-fma.
19934 (CFLAGS-s_sincosf-fma.c): New.
19935 * sysdeps/x86_64/fpu/multiarch/s_sincosf-fma.c: New file.
19936 * sysdeps/x86_64/fpu/multiarch/s_sincosf-sse2.S: Likewise.
19937 * sysdeps/x86_64/fpu/multiarch/s_sincosf.c: Likewise.
19938 * sysdeps/x86_64/fpu/s_sincosf.S: Don't add alias if
19939 __sincosf is defined.
19941 2018-01-08 Florian Weimer <fweimer@redhat.com>
19943 * nptl/tst-thread-exit-clobber.cc: New file.
19944 * nptl/Makefile (CFLAGS-tst-thread-exit-clobber.o): Compile in
19946 (LDLIBS-tst-thread-exit-clobber): Link with libstdc++.
19947 (tests): Add tst-thread-exit-clobber.
19948 [!CXX] (tests-unsupported): Add tst-thread-exit-clobber.
19950 2018-01-08 Florian Weimer <fweimer@redhat.com>
19952 * support/check.h (support_static_assert): Define.
19953 (TEST_COMPARE): Use it.
19955 2018-01-07 Aurelien Jarno <aurelien@aurel32.net>
19957 * sysdeps/unix/sysv/linux/getrlimit64 (getrlimit64)
19958 [!__RLIM_T_MATCHES_RLIM64_T]
19959 [!SHLIB_COMPAT (libc, GLIBC_2_1, GLIBC_2_2)]: Define as weak alias of
19960 __getrlimit64. Add libc_hidden_weak.
19962 2018-01-06 Palmer Dabbelt <palmer@sifive.com>
19964 * elf/elf.h (R_RISCV_NONE): New define.
19965 (R_RISCV_32): Likewise.
19966 (R_RISCV_64): Likewise.
19967 (R_RISCV_RELATIVE): Likewise.
19968 (R_RISCV_COPY): Likewise.
19969 (R_RISCV_JUMP_SLOT): Likewise.
19970 (R_RISCV_TLS_DTPMOD32): Likewise.
19971 (R_RISCV_TLS_DTPMOD64): Likewise.
19972 (R_RISCV_TLS_DTPREL32): Likewise.
19973 (R_RISCV_TLS_DTPREL64): Likewise.
19974 (R_RISCV_TLS_TPREL32): Likewise.
19975 (R_RISCV_TLS_TPREL64): Likewise.
19976 * Makerules (make-link-multidir): Make directories before linking into
19978 * sysdeps/unix/sysv/linux/dl-vdso.h (VDSO_NAME_LINUX_4_15): New
19980 (VDSO_HASH_LINUX_4_15): Likewise.
19981 * scripts/build-many-glibcs.py (class Glibc): Strip shared objects
19982 in subdirectories of lib.
19983 * nptl/Makefile (/librt.so): Always depend on
19984 "$(shared-thread-library)".
19986 2018-01-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
19988 * sysdeps/mach/hurd/i386/jmp_buf-macros.h: New file.
19989 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic) [NO_RTLD_HIDDEN]: Call
19990 JUMPTARGET (___tls_get_addr) instead of HIDDEN_JUMPTARGET
19992 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Likewise.
19993 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
19995 * posix/tst-glob_symlinks.c [!PATH_MAX]: Define PATH_MAX macro.
19996 * sysdeps/gnu/glob64.c (__glob): Define macro instead of glob macro.
19997 (__glob64): Define GLIBC_2_27 versioned symbol instead of glob64.
19998 * sysdeps/gnu/glob-lstat-compat.c: New file.
19999 * sysdeps/gnu/glob64-lstat-compat.c: New file.
20000 * sysdeps/posix/pwritev_common.c: Add PROT_READ to __mmap prot.
20002 2018-01-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20004 * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_reloc_overflow):
20005 Reserve 16 chars to reloc_addr before calling _itoa_word.
20007 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20010 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Translate
20011 old_rlimit from RLIM64_INFINITY to RLIM_INFINITY.
20013 * sysdeps/unix/sysv/linux/tst-rlimit-infinity.c: New file.
20014 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-rlimit-infinity.
20016 * resource/tst-getrlimit.c: Add copyright header.
20018 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20019 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20021 * sysdeps/unix/sysv/linux/getrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20022 define getrlimit and getrlimit64 as weak aliases of __getrlimit64.
20023 Define __GI_getrlimit64 as weak alias of __getrlimit64.
20024 [__RLIM_T_MATCHES_RLIM64_T]: Do not redefine SHLIB_COMPAT, use #elif
20026 * sysdeps/unix/sysv/linux/setrlimit64.c [USE_VERSIONED_RLIMIT]: Do not
20027 define setrlimit and setrlimit64 as weak aliases of __setrlimit64.
20028 * sysdeps/unix/sysv/linux/alpha/bits/resource.h (RLIM_INFINITY,
20029 RLIM64_INFINITY): Fix values to match the kernel ones.
20030 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Define
20031 USE_VERSIONED_RLIMIT. Rename __getrlimit64 into __old_getrlimit64 and
20032 provide it as getrlimit@@GLIBC_2_0 and getrlimit64@@GLIBC_2_1. Add a
20033 __getrlimit64 function and provide it as getrlimit@@GLIBC_2_27 and
20034 getrlimit64@@GLIBC_2_27.
20035 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto with setrlimit
20037 * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.27): Add
20038 getrlimit, setrlimit, getrlimit64 and setrlimit64.
20039 * sysdeps/unix/sysv/linux/alpha/Versions (libc): Add getrlimit,
20040 setrlimit, getrlimit64 and setrlimit64.
20042 2018-01-05 Aurelien Jarno <aurelien@aurel32.net>
20045 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: New file.
20046 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Ditto.
20048 2018-01-04 Joseph Myers <joseph@codesourcery.com>
20050 * malloc/tst-malloc-tcache-leak.c (TIMEOUT): Define to 50.
20051 * posix/tst-glob-tilde.c (TIMEOUT): Define to 200.
20052 * resolv/tst-resolv-res_ninit.c (TIMEOUT): Define to 50.
20054 2018-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20058 * sysdeps/alpha/fpu/s_trunc.c: Remove file.
20059 * sysdeps/alpha/fpu/s_truncf.c: Likewise.
20063 * sysdeps/alpha/fpu/s_ceil.c: Remove file.
20064 * sysdeps/alpha/fpu/s_ceilf.c: Likewise.
20065 * sysdeps/alpha/fpu/s_floor.c: Likewise.
20066 * sysdeps/alpha/fpu/s_floorf.c: Likewise.
20068 2018-01-04 Florian Weimer <fweimer@redhat.com>
20071 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
20072 Align the stack before calling exit.
20073 * stdlib/tst-makecontext-align.c: New file.
20074 * stdlib/Makefile (tests): Add tst-makecontext-align.
20076 2018-01-04 Florian Weimer <fweimer@redhat.com>
20078 Add support for calling dlvsym from libc.so.
20079 * include/dlfcn.h (__libc_dlvsym): Declare.
20080 * elf/Makefile (tests-static-internal): Add
20081 tst-libc_dlvsym-static.
20082 (tests-internal): Add tst-libc_dlvsym.
20083 (modules-names): Add tst-libc_dlvsym-dso.
20084 (tst-libc_dlvsym, tst-libc_dlvsym-static): Link with libdl.
20085 (tst-libc_dlvsym-dso.so): Link with libdl, libsupport.
20086 (tst-libc_dlvsym.out, tst-libc_dlvsym-static.out): The shared
20087 object tst-libc_dlvsym-dso.so needs to be built before running
20089 (tst-libc_dlvsym-static-ENV): Set LD_LIBRARY_PATH.
20090 * elf/Versions: Export __libc_dlvsym.
20091 * elf/dl-libc.c (struct do_dlvsym_args): New.
20092 (do_dlvsym, __libc_dlvsym): New functions.
20093 (struct dl_open_hook, _dl_open_hook): Add dlvsym member.
20094 (_dl_open_hook2): New variable.
20095 (__libc_register_dl_open_hook): Set it.
20096 * elf/tst-libc_dlvsym-dso.c: New file.
20097 * elf/tst-libc_dlvsym-static.c: Likewise.
20098 * elf/tst-libc_dlvsym.c: Likewise.
20099 * elf/tst-libc_dlvsym.h: Likewise.
20101 2018-01-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
20103 * support/support_enter_mount_namespace.c [!CLONE_NEWNS]: Do not
20104 include <sys/mount.h>.
20106 2018-01-02 Wilco Dijkstra <wdijkstr@arm.com>
20108 * math/math.h (math_errhandling): Set to 0 with __FAST_MATH__.
20109 Add __NO_MATH_ERRNO__ check.
20111 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20113 * sysdeps/mips/mips32/libm-test-ulps: Update.
20114 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
20116 2018-01-02 Florian Weimer <fweimer@redhat.com>
20118 * misc/tst-pselect.c: Add copyright header.
20120 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20122 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c: Fix a typo in the
20124 * sysdeps/unix/sysv/linux/alpha/setrlimit64.c: Fix a typo in the
20126 (settrlimit): Rename into setrlimit.
20127 (__sttrlimit): Rename into __setrlimit.
20129 * sysdeps/unix/sysv/linux/alpha/getrlimit64.c (__old_getrlimit64):
20130 Drop __RLIM_T_MATCHES_RLIM64_T conditional as __old_getrlimit64 is
20131 never defined in that case.
20133 2018-01-02 Joseph Myers <joseph@codesourcery.com>
20135 * sysdeps/powerpc/nofpu/libm-test-ulps: Update.
20137 * sysdeps/arm/libm-test-ulps: Update.
20139 * math/Makefile (run-regen-ulps): Add $(objpfx) to test name here.
20140 (regen-ulps): Use $(libm-tests) not $^ in shell loop.
20142 2018-01-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20144 * NEWS: Add cosf and sincosf to list of optimized functions.
20146 2018-01-02 Aurelien Jarno <aurelien@aurel32.net>
20149 * sysdeps/alpha/fpu/s_fmax.S: Remove file.
20150 * sysdeps/alpha/fpu/s_fmaxf.S: Likewise.
20151 * sysdeps/alpha/fpu/s_fmin.S: Likewise.
20152 * sysdeps/alpha/fpu/s_fminf.S: Likewise.
20154 2018-01-01 Dmitry V. Levin <ldv@altlinux.org>
20157 * sysdeps/unix/sysv/linux/arm/sys/ptrace.h: New file.
20159 * elf/dl-load.c (decompose_rpath): Check for rpath emptiness before
20160 making a copy of it.
20162 2018-01-01 Joseph Myers <joseph@codesourcery.com>
20164 * manual/texinfo.tex: Update to version 2017-12-26.21 with
20165 trailing whitespace removed.
20166 * scripts/config.guess: Update to version 2018-01-01.
20167 * scripts/config.sub: Update to version 2018-01-01.
20168 * scripts/move-if-change: Update from gnulib.
20170 * NEWS: Update copyright dates.
20171 * catgets/gencat.c (print_version): Likewise.
20172 * csu/version.c (banner): Likewise.
20173 * debug/catchsegv.sh: Likewise.
20174 * debug/pcprofiledump.c (print_version): Likewise.
20175 * debug/xtrace.sh (do_version): Likewise.
20176 * elf/ldconfig.c (print_version): Likewise.
20177 * elf/ldd.bash.in: Likewise.
20178 * elf/pldd.c (print_version): Likewise.
20179 * elf/sotruss.sh: Likewise.
20180 * elf/sprof.c (print_version): Likewise.
20181 * iconv/iconv_prog.c (print_version): Likewise.
20182 * iconv/iconvconfig.c (print_version): Likewise.
20183 * locale/programs/locale.c (print_version): Likewise.
20184 * locale/programs/localedef.c (print_version): Likewise.
20185 * login/programs/pt_chown.c (print_version): Likewise.
20186 * malloc/memusage.sh (do_version): Likewise.
20187 * malloc/memusagestat.c (print_version): Likewise.
20188 * malloc/mtrace.pl: Likewise.
20189 * manual/libc.texinfo: Likewise.
20190 * nptl/version.c (banner): Likewise.
20191 * nscd/nscd.c (print_version): Likewise.
20192 * nss/getent.c (print_version): Likewise.
20193 * nss/makedb.c (print_version): Likewise.
20194 * posix/getconf.c (main): Likewise.
20195 * scripts/test-installation.pl: Likewise.
20196 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
20198 * All files with FSF copyright notices: Update copyright dates
20199 using scripts/update-copyrights.
20200 * locale/programs/charmap-kw.h: Regenerated.
20201 * locale/programs/locfile-kw.h: Likewise.
20203 2017-12-31 Zack Weinberg <zackw@panix.com>
20205 * libio/bits/libio-ldbl.h: Correct check for improper
20206 inclusion. Add own multiple include guard.
20208 2017-12-30 Aurelien Jarno <aurelien@aurel32.net>
20209 Dmitry V. Levin <ldv@altlinux.org>
20213 * elf/dl-load.c (fillin_rpath): Check for empty tokens before dynamic
20214 string token expansion. Check for NULL pointer or empty string possibly
20215 returned by expand_dynamic_string_token.
20216 (decompose_rpath): Check for empty path after dynamic string
20219 2017-12-29 Dmitry V. Levin <ldv@altlinux.org>
20222 * sysdeps/unix/sysv/linux/x86/sys/ptrace.h: New file.
20224 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_request): Add comments
20225 about PTRACE_PEEKSIGINFO, PTRACE_GETSIGMASK, PTRACE_SETSIGMASK, and
20226 PTRACE_SECCOMP_GET_FILTER. Update comments about PTRACE_SINGLESTEP
20227 and PTRACE_SYSCALL.
20228 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
20229 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20230 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20231 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20232 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20233 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20235 * sysdeps/unix/sysv/linux/sys/ptrace.h: Include <bits/ptrace-shared.h>.
20236 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20237 __ptrace_peeksiginfo_flags, ptrace): Move to ...
20238 * sysdeps/unix/sysv/linux/bits/ptrace-shared.h: ... new file.
20239 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20240 bits/ptrace-shared.h.
20241 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Include
20242 <bits/ptrace-shared.h>.
20243 (__ptrace_setoptions, __ptrace_eventcodes, __ptrace_peeksiginfo_args,
20244 __ptrace_peeksiginfo_flags, ptrace): Remove.
20245 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
20246 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
20247 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
20248 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
20249 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
20251 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20254 * dirent/scandir-tail.c (SCANDIR_TAIL): Move __set_errno (0) at the
20255 end of the loop. Improve comments.
20257 2017-12-29 Zack Weinberg <zackw@panix.com>
20260 * manual/errno.texi (Checking for Errors): Explicitly say that errno
20261 might be set on success.
20263 2017-12-29 Aurelien Jarno <aurelien@aurel32.net>
20266 * malloc/tst-realloc.c (do_test): Remove the test checking that errno
20267 is unchanged on success.
20269 2017-12-27 Dmitry V. Levin <ldv@altlinux.org>
20271 * elf/dl-dst.h (DL_DST_COUNT): Remove is_path argument, all callers
20273 * elf/dl-load.c (is_dst, _dl_dst_count, _dl_dst_substitute,
20274 expand_dynamic_string_token): Likewise.
20275 * sysdeps/generic/ldsodefs.h (_dl_dst_count, _dl_dst_substitute): Remove
20278 * elf/dl-load.c (is_dst): Remove checks that is_path is set and name
20281 * elf/dl-load.c (_dl_dst_substitute): Remove checks that is_path
20282 is set and name contains ':', and all code depending on these checks.
20284 2017-12-24 Zack Weinberg <zackw@panix.com>
20286 * libio/libio.h, libio/_G_config.h: New stub headers which issue a
20287 deprecation warning and then include <bits/libio.h>, <bits/_G_config.h>
20289 * libio/libio.h: Rename the original version of this file to
20290 libio/bits/libio.h. Error out if not included by stdio.h or the
20292 * include/libio.h: Move to include/bits. Forward to libio/bits/libio.h.
20293 * sysdeps/generic/_G_config.h: Move to top-level bits/. Error out
20294 if not included by bits/libio.h or the stub _G_config.h.
20295 * sysdeps/unix/sysv/linux/_G_config.h: Move to
20296 sysdeps/unix/sysv/linux/bits. Error out if not included by
20297 bits/libio.h or the stub _G_config.h.
20298 * libio/stdio.h: Include bits/libio.h, not libio.h.
20299 * libio/Makefile: Install bits/libio.h and bits/_G_config.h as
20300 well as libio.h and _G_config.h.
20302 * csu/init.c, libio/fmemopen.c, libio/iolibio.h, libio/oldfmemopen.c
20303 * libio/strfile.h, stdio-common/vfscanf.c
20304 * sysdeps/pthread/flockfile.c, sysdeps/pthread/funlockfile.c
20305 Include stdio.h, not _G_config.h nor libio.h.
20306 * libio/iofgetpos.c: Also rename fgetpos64 out of the way.
20307 * libio/iofsetpos.c: Also rename fsetpos64 out of the way.
20309 * scripts/check-installed-headers.sh: Skip libio.h and _G_config.h.
20311 2017-12-23 Dmitry V. Levin <ldv@altlinux.org>
20314 * stdlib/getrandom.c (getrandom): Fix comment.
20315 * sysdeps/unix/sysv/linux/getrandom.c (getrandom): Likewise.
20317 2017-12-23 Aurelien Jarno <aurelien@aurel32.net>
20320 * manual/arith.texi (strtoul): Fix a typo.
20323 * manual/arith.texi (finite): Fix the description of the return
20326 2017-12-22 Eric Blake <ebb9@byu.net>
20328 Avoid gcc warnings on cygwin
20329 * posix/regex_internal.c (re_string_reconstruct) [!RE_ENABLE_I18N]:
20330 * posix/regexec.c (check_arrival_add_next_nodes) [!RE_ENABLE_I18N]:
20331 Avoid unused variable.
20333 2017-12-22 Florian Weimer <fweimer@redhat.com>
20335 * io/Makefile (routines): Add copy_file_range.
20336 (tests): Add tst-copy_file_range.
20337 (tests-static, tests-internal): Add tst-copy_file_range-compat.
20338 * io/Versions (GLIBC_2.27): Export copy_file_range.
20339 * io/copy_file_range-compat.c: New file.
20340 * io/copy_file_range.c: Likewise.
20341 * io/tst-copy_file_range-compat.c: Likewise.
20342 * io/tst-copy_file_range.c: Likewise.
20343 * manual/llio.texi (Copying File Data): New section.
20344 * posix/unistd.h [__USE_GNU] (copy_file_range): Declare.
20345 * support/Makefile (libsupport-routines): Add support-xfstat,
20346 xftruncate, xlseek.
20347 * support/support-xfstat.c: New file.
20348 * support/xftruncate.c: Likewise.
20349 * support/xlseek.c: Likewise.
20350 * support/xunistd.h (xfstat, xftruncate, xlseek): Declare.
20351 * sysdeps/unix/sysv/linux/**.abilist: Update.
20352 * sysdeps/unix/sysv/linux/copy_file_range.c: New file.
20354 2017-12-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
20356 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20357 disable-multi-arch variant to aarch64-linux-gnu.
20359 2017-12-20 Joseph Myers <joseph@codesourcery.com>
20361 * manual/texinfo.tex: Update to version 2017-12-18.20 with
20362 trailing whitespace removed.
20363 * scripts/config.guess: Update to version 2017-12-17.
20364 * scripts/config.sub: Update to version 2017-11-23.
20365 * scripts/install-sh: Update to version 2017-09-23.17.
20366 * scripts/move-if-change: Update to version 2017-09-13 06:45.
20368 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20370 * sysdeps/tile/__longjmp.S (__longjmp): Use lowercase instructions.
20371 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20372 * sysdeps/tile/_mcount.S (__mcount): Likewise.
20373 * sysdeps/tile/crti.S (_init, _fini): Likewise.
20374 * sysdeps/tile/crtn.S: Likewise.
20375 * sysdeps/tile/dl-start.S (_start): Likewise.
20376 * sysdeps/tile/dl-trampoline.S: Likewise.
20377 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
20378 * sysdeps/tile/start.S (_start): Likewise.
20379 * sysdeps/unix/sysv/linux/tile/clone.S (_clone): Likewise.
20380 * sysdeps/unix/sysv/linux/tile/getcontext.S (__getcontext): Likewise.
20381 * sysdeps/unix/sysv/linux/tile/ioctl.S (__ioctl): Likewise.
20382 * sysdeps/unix/sysv/linux/tile/setcontext.S (__setcontext): Likewise.
20383 * sysdeps/unix/sysv/linux/tile/swapcontext.S (__swapcontext): Likewise.
20384 * sysdeps/unix/sysv/linux/tile/syscall.S (syscall): Likewise.
20385 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Likewise.
20387 * stdlib/bug-getcontext.c (do_test): Remove tilepro mention in
20389 * sysdeps/tile/preconfigure: Remove tilegx folder.
20390 * sysdeps/tile/tilegx/Implies: Move definitions to ...
20391 * sysdeps/tile/Implies: ... here.
20392 * sysdeps/tile/tilegx/Makefile: Move rules to ...
20393 * sysdeps/tile/Makefile: ... here.
20394 * sysdeps/tile/tilegx/atomic-machine.h: Move definitions to ...
20395 * sysdeps/tile/atomic-machine.h: ... here. Add include guards.
20396 * sysdeps/tile/tilegx/bits/wordsize.h: Move to ...
20397 * sysdeps/tile/bits/wordsize.h: ... here.
20398 * sysdeps/tile/tilegx/*: Move to ...
20399 * sysdeps/tile/*: ... here.
20400 * sysdeps/tile/tilegx/tilegx32/Implies: Move to ...
20401 * sysdeps/tile/tilegx32/Implies: ... here.
20402 * sysdeps/tile/tilegx/tilegx64/Implies: Move to ...
20403 * sysdeps/tile/tilegx64/Implies: ... here.
20404 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile: Move definitions
20406 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
20407 * sysdeps/unix/sysv/linux/tile/tilegx/*: Move to ...
20408 * sysdeps/unix/sysv/linux/tile/*: ... here.
20409 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/*: Move to ...
20410 * sysdeps/unix/sysv/linux/tile/tilegx32/*: ... here.
20411 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/*: Move to ...
20412 * sysdeps/unix/sysv/linux/tile/tilegx64/*: ... here.
20414 * README: Remove tilepro-*-linux-gnu from supported architecture.
20415 * scripts/build-many-glibcs.py: Likewise.
20416 * sysdeps/tile/__tls_get_addr.S (__tls_get_addr): Likewise.
20417 * sysdeps/tile/crti.S (PREINIT_FUNCTION): Likewise.
20418 * sysdeps/tile/dl-machine.h (ELF_MACHINE_NAME,
20419 elf_machine_matches_host, elf_machine_dynamic,
20420 elf_machine_load_address, elf_machine_runtime_setup, reloc_howto
20421 howto, elf_machine_rela): Likewise.
20422 * sysdeps/tile/dl-start.S (_start): Likewise.
20423 * sysdeps/tile/memcmp.c (DBLALIGN, REVBYTES): Likewise.
20424 * sysdeps/tile/memcopy.h (MEMCPY_OK_FOR_FWD_MEMMOVE,
20425 MEMCPY_OK_FOR_FWD_MEMMOVE, op_t): Likewise.
20426 * sysdeps/tile/nptl/pthread_spin_lock.c (TNS, CMPTNS): Likewise.
20427 * sysdeps/tile/nptl/pthread_spin_trylock.c (TNS): Likewise.
20428 * sysdeps/tile/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
20430 * sysdeps/tile/nptl/tls.h (DB_THREAD_SELF): Likewise.
20431 * sysdeps/tile/preconfigure: Likewise.
20432 * sysdeps/tile/stackguard-macros.h (STACK_CHK_GUARD,
20433 POINTER_CHK_GUARD): Likewise.
20434 * sysdeps/tile/stackinfo.h (__stackinfo_sub): Likewise.
20435 * sysdeps/tile/start.S (_start): Likewise.
20436 * sysdeps/tile/tls-macros.h (TLS_GD_OFFSET, TLS_IE_OFFSET, _TLS_LE):
20438 * sysdeps/tile/sysdep.h (REGSIZE): Likewise.
20439 (LD, LD4U, ST, ST4, BNEZ, BEQZ, BEQZT, BGTZ, CMPEQI, CMPEQ, CMOVEQZ,
20441 * sysdeps/unix/sysv/linux/tile/bits/environments.h
20442 (__ILP32_OFF32_CFLAGS, __ILP32_OFFBIG_CFLAGS, __ILP32_OFF32_LDFLAGS,
20443 __ILP32_OFFBIG_LDFLAGS, __LP64_OFF64_CFLAGS, __LP64_OFF64_LDFLAGS):
20445 * sysdeps/tile/wordcopy.c (DBLALIGN): Likewise.
20446 * sysdeps/tile/tilepro/Implies: Remove file.
20447 * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
20448 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
20449 * sysdeps/tile/tilepro/memchr.c: Likewise.
20450 * sysdeps/tile/tilepro/memcpy.S: Likewise.
20451 * sysdeps/tile/tilepro/memset.c: Likewise.
20452 * sysdeps/tile/tilepro/memusage.h: Likewise.
20453 * sysdeps/tile/tilepro/rawmemchr.c: Likewise.
20454 * sysdeps/tile/tilepro/strchr.c: Likewise.
20455 * sysdeps/tile/tilepro/strchrnul.c: Likewise.
20456 * sysdeps/tile/tilepro/strlen.c: Likewise.
20457 * sysdeps/tile/tilepro/strrchr.c: Likewise.
20458 * sysdeps/unix/sysv/linux/tile/tilepro/Implies: Likewise.
20459 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: Likewise.
20460 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
20461 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
20462 * sysdeps/unix/sysv/linux/tile/tilepro/ldconfig.h: Likewise.
20463 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
20465 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: Likewise.
20466 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20467 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: Likewise.
20468 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: Likewise.
20469 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
20470 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: Likewise.
20471 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: Likewise.
20472 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: Likewise.
20473 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: Likewise.
20474 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: Likewise.
20475 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: Likewise.
20476 * sysdeps/unix/sysv/linux/tile/tilepro/register-dump.h: Likewise.
20477 * sysdeps/unix/sysv/linux/tile/sysconf.c (linux_sysconf): Remove
20478 tilepro mention in comment.
20480 * nptl/Makefile (libpthread-routines): Add pthread_join_common.
20481 * nptl/pthreadP.h (__pthread_timedjoin_ex): New prototype.
20482 * nptl/pthread_join_common.c: New file: common function used on
20483 pthread_join, pthread_timedjoin_np, pthread_tryjoin_np.
20484 * nptl/pthread_join.c (pthread_join): Use __pthread_timedjoin_ex.
20485 * nptl/pthread_tryjoin.c (pthread_tryjoin): Likewise.
20486 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
20487 (cleanup): Move definition to pthread_join_common.c.
20488 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (__lll_timedwait_tid):
20489 Remove superflous checks.
20490 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (__lll_timedwait_tid):
20493 2017-12-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
20495 * sysdeps/aarch64/libm-test-ulps: Update.
20497 2017-12-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20499 * sysdeps/aarch64/memset.S (MEMSET): Define.
20501 2017-12-20 Florian Weimer <fweimer@redhat.com>
20504 nptl: Provide full implementation of pthread_self in libc.so.
20505 * nptl/Makefile (routines): Add pthread_self.
20506 (libpthread-routines): Replace pthread_self with
20507 compat-pthread_self.
20508 * nptl/forward.c (pthread_self): Remove.
20509 * nptl/nptl-init.c (pthread_functions): Do not initialize
20511 * nptl/pthread_self.c (pthread_self): Remove weak alias.
20512 * nptl/compat-pthread_self.c: New file.
20513 * sysdeps/nptl/pthread-functions.h (struct pthread_functions):
20514 Remove ptr_pthread_self.
20516 2017-12-19 Arnold D. Robbins <arnold@skeeve.com>
20518 * posix/regcomp.c: Fix spelling in comments.
20519 * posix/regex.h: Likewise.
20520 * posix/regex_internal.c: Likewise.
20521 * posix/regexec.c: Likewise.
20523 2017-12-19 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
20526 * math/Makefile [C++] (tests): Add test for iseqsig.
20527 * math/math.h [C++] (iseqsig): New implementation, which does
20528 not rely on __MATH_TG/__builtin_types_compatible_p.
20529 * math/test-math-iseqsig.cc: New file.
20530 * sysdeps/powerpc/powerpc64le/Makefile
20531 (CFLAGS-test-math-iseqsig.cc): New variable.
20533 2017-12-19 Dmitry V. Levin <ldv@altlinux.org>
20535 * elf/dl-load.c (is_trusted_path): Remove.
20536 (fillin_rpath): Remove check_trusted argument and its use,
20537 all callers changed.
20539 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20542 * Makeconfig (link-pie-before-libc): Replace -pie with
20543 $(if $($(@F)-no-pie),$(no-pie-ldflag),-pie).
20544 * elf/Makefile (LDFLAGS-tst-dlopen-aout): Removed.
20545 (tst-dlopen-aout-no-pie): New.
20546 (LDFLAGS-tst-prelink): Removed.
20547 (tst-prelink-no-pie): New.
20548 (LDFLAGS-tst-main1): Removed.
20549 (tst-main1-no-pie): New.
20550 * gmon/Makefile (LDFLAGS-tst-gmon): Removed.
20551 (tst-gmon-no-pie): New.
20553 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20555 * manual/install.texi: Document that --enable-static-pie
20557 * INSTALL: Regenerated.
20559 2017-12-19 Bernd Edlinger <bernd.edlinger@hotmail.de>
20562 * sysdeps/ieee754/dbl-64/e_pow.c (checkint): Make m and n
20565 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20569 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20571 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20573 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20575 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20576 <errno.h>. Include "eexp.tbl".
20577 (half): New constant.
20579 (__ieee754_exp): Rewrite.
20580 (__slowexp): Remove prototype.
20581 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20582 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20583 * sysdeps/i386/fpu/slowexp.c: Likewise.
20584 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20585 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20586 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20587 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20588 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20589 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20590 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20592 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20593 (CPPFLAGS-slowexp.c): Remove variable.
20594 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20595 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20596 (CFLAGS-slowexp-fma.c): Remove variable.
20597 (CFLAGS-slowexp-fma4.c): Likewise.
20598 (CFLAGS-slowexp-avx.c): Likewise.
20599 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20601 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20602 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20603 * math/Makefile (type-double-routines): Remove slowexp.
20604 * manual/probes.texi (slowexp_p6): Remove.
20605 (slowexp_p32): Likewise.
20607 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20609 * lib/glob.c (glob): Use a 'char *', not a 'void *', in pointer
20612 * lib/glob.c (glob): Do not pass NULL to mempcpy.
20614 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20618 2017-12-19 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20620 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math-svid-compat.h> and
20621 <errno.h>. Include "eexp.tbl".
20622 (half): New constant.
20624 (__ieee754_exp): Rewrite.
20625 (__slowexp): Remove prototype.
20626 * sysdeps/ieee754/dbl-64/eexp.tbl: New file.
20627 * sysdeps/ieee754/dbl-64/slowexp.c: Remove file.
20628 * sysdeps/i386/fpu/slowexp.c: Likewise.
20629 * sysdeps/ia64/fpu/slowexp.c: Likewise.
20630 * sysdeps/m68k/m680x0/fpu/slowexp.c: Likewise.
20631 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: Likewise.
20632 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
20633 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
20634 * sysdeps/generic/math_private.h (__slowexp): Remove prototype.
20635 * sysdeps/ieee754/dbl-64/e_pow.c: Remove mention of slowexp.c in
20637 * sysdeps/powerpc/power4/fpu/Makefile [$(subdir) = math]
20638 (CPPFLAGS-slowexp.c): Remove variable.
20639 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
20640 Remove slowexp-fma, slowexp-fma4 and slowexp-avx.
20641 (CFLAGS-slowexp-fma.c): Remove variable.
20642 (CFLAGS-slowexp-fma4.c): Likewise.
20643 (CFLAGS-slowexp-avx.c): Likewise.
20644 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c (__slowexp): Do not
20646 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c (__slowexp): Likewise.
20647 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c (__slowexp): Likewise.
20648 * math/Makefile (type-double-routines): Remove slowexp.
20649 * manual/probes.texi (slowexp_p6): Remove.
20650 (slowexp_p32): Likewise.
20652 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20653 James Clarke <jrtc27@jrtc27.com>
20656 * sysdeps/ia64/memchr.S (__memchr): Avoid overflow in pointer
20659 2017-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20662 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Fix exit return
20665 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20668 * sysdeps/i386/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20669 * sysdeps/i386/nptl/tls.h (tcbhead_t): Add feature_1.
20670 * sysdeps/x86_64/nptl/tcb-offsets.sym (FEATURE_1_OFFSET): New.
20671 * sysdeps/x86_64/nptl/tls.h (tcbhead_t): Rename __glibc_unused1
20674 2017-12-19 H.J. Lu <hongjiu.lu@intel.com>
20677 * bits/types/__cancel_jmp_buf_tag.h: New file.
20678 * sysdeps/unix/sysv/linux/x86/bits/types/__cancel_jmp_buf_tag.h
20679 * sysdeps/unix/sysv/linux/x86/pthreaddef.h: Likewise.
20680 * sysdeps/unix/sysv/linux/x86/nptl/pthreadP.h: Likewise.
20681 * nptl/Makefile (headers): Add
20682 bits/types/__cancel_jmp_buf_tag.h.
20683 * nptl/descr.h [NEED_SAVED_MASK_IN_CANCEL_JMP_BUF]
20684 (pthread_unwind_buf): Add saved_mask to cancel_jmp_buf.
20685 * sysdeps/nptl/pthread.h: Include
20686 <bits/types/__cancel_jmp_buf_tag.h>.
20687 (__pthread_unwind_buf_t): Use struct __cancel_jmp_buf_tag with
20689 * sysdeps/unix/sysv/linux/hppa/pthread.h: Likewise.
20691 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20693 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
20694 --enable-static-pie variants to x86_64, x32 and i686.
20696 2017-12-19 Joseph Myers <joseph@codesourcery.com>
20699 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__m81_defun): Add
20700 argument for attrubutes. All callers changed.
20701 (__inline_mathop1): Likewise. All callers changed.
20702 (__inline_mathop): Likewise. All callers changed.
20703 [__USE_MISC] (scalbn): Use __inline_forward instead of
20704 __inline_forward_c.
20705 [__USE_ISOC99] (scalbln): Likewise.
20706 [__USE_ISOC99] (nearbyint): Likewise.
20707 [__USE_ISOC99] (lrint): Likewise.
20708 [__USE_MISC] (scalbnf): Likewise.
20709 [__USE_ISOC99] (scalblnf): Likewise.
20710 [__USE_ISOC99] (nearbyintf): Likewise.
20711 [__USE_ISOC99] (lrintf): Likewise.
20712 [__USE_MISC] (scalbnl): Likewise.
20713 [__USE_ISOC99] (scalblnl): Likewise.
20714 [__USE_ISOC99] (nearbyintl): Likewise.
20715 [__USE_ISOC99] (lrintl): Likewise.
20716 * sysdeps/m68k/m680x0/fpu/mathimpl.h: All callers of
20717 __inline_mathop and __m81_defun changed.
20719 * scripts/build-many-glibcs.py (Context.add_all_configs): Specify
20720 CPU or FPU for ARM hard-float configurations.
20722 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20724 * nptl/tst-attr3.c: Include <libc-diag.h>.
20725 (do_test) [__GNUC_PREREQ (7, 0)]: Ignore -Wrestrict for two tests.
20727 * posix/tst-glob_symlinks.c (do_test): Increase size of buf.
20729 * string/tester.c (test_strncat): Also disable -Warray-bounds
20730 warnings for two tests.
20732 2017-12-18 H.J. Lu <hongjiu.lu@intel.com>
20735 * Makeconfig (no-pie-ldflag): Set to -no-pie only if
20736 $(cc-pie-default) == yes.
20737 * config.make.in (cc-pie-default): New.
20738 * configure.ac (libc_cv_pie_default): Renamed to ...
20739 (libc_cv_cc_pie_default): This.
20740 (libc_cv_pie_default): Set to $libc_cv_cc_pie_default.
20741 * configure: Regenerated.
20743 2017-12-18 Florian Weimer <fweimer@redhat.com>
20746 ld.so: Harden dl-libc/libdl hooks.
20747 * sysdeps/generic/ldsodefs.h (_dl_init_all_dirs): Update comment.
20748 (rtld_active): New function.
20749 * dlfcn/dladdr.c (__dladdr): Call it.
20750 * dlfcn/dladdr1.c (__dladdr1): Likewise.
20751 * dlfcn/dlclose.c (__dlcose): Likewise.
20752 * dlfcn/dlerror.c (__dlerror): Likewise.
20753 * dlfcn/dlinfo.c (__dlinfo): Likewise.
20754 * dlfcn/dlmopen.c (__dlmopen): Likewise.
20755 * dlfcn/dlopen.c (__dlopen): Likewise.
20756 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
20757 * dlfcn/dlsym.c (__dlsym): Likewise.
20758 * dlfcn/dlvsym.c (__dlvsym): Likewise.
20759 * libio/vtables.c (_IO_vtable_check): Likewise.
20760 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym)
20761 (__libc_dlclose): Likewise.
20762 * elf/rtld.c (dl_main): Update comment on the _dl_init_all_dirs
20765 2017-12-18 Joseph Myers <joseph@codesourcery.com>
20768 * nscd/connections.c (handle_request) [SO_PEERCRED]: Use separate
20769 buffers for readlink input and output.
20771 2017-12-18 Sergei Trofimovich <slyfox@gentoo.org>
20774 * sysdeps/mips/setjmp_aux.c (__sigsetjmp_aux): Use
20775 inhibit_stack_protector.
20778 * sysdeps/mips/mips64/setjmp_aux.c (__sigsetjmp_aux): Use
20779 inhibit_stack_protector.
20781 2017-12-18 Dmitry V. Levin <ldv@altlinux.org>
20784 * elf/dl-load.c (_dl_init_paths): Remove _dl_dst_substitute preparatory
20785 code and invocation.
20787 2017-12-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
20789 * sysdeps/aarch64/start.S (_start): Handle PIC && !SHARED case.
20791 2017-12-16 Aurelien Jarno <aurelien@aurel32.net>
20794 * elf/ldconfig.c (main): Call setlocale to force LC_COLLATE to C.
20796 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20798 * sysdeps/s390/fpu/libm-test-ulps: Update.
20800 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20804 2017-12-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20806 * sysdeps/ieee754/flt-32/s_cosf.c: Move reduced() and
20807 constants to s_sincosf.h file.
20808 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
20809 * sysdeps/ieee754/flt-32/s_sincosf.c: New
20811 * sysdeps/ieee754/flt-32/s_sincosf.h:
20814 2017-12-12 Carlos O'Donell <carlos@redhat.com>
20817 * elf/tst-leaks1.c (do_test): Call one dlopen with $ORIGIN expansion
20820 2017-12-15 H.J. Lu <hongjiu.lu@intel.com>
20823 * INSTALL: Regenerated.
20824 * Makeconfig (real-static-start-installed-name): New.
20825 (pic-default): Updated for --enable-static-pie.
20826 (pie-default): New for --enable-static-pie.
20827 (default-pie-ldflag): Likewise.
20828 (+link-static-before-libc): Replace $(DEFAULT-LDFLAGS-$(@F))
20829 with $(if $($(@F)-no-pie),$(no-pie-ldflag),$(default-pie-ldflag)).
20830 Replace $(static-start-installed-name) with
20831 $(real-static-start-installed-name).
20832 (+prectorT): Updated for --enable-static-pie.
20833 (+postctorT): Likewise.
20834 (CFLAGS-.o): Add $(pie-default).
20835 (CFLAGS-.op): Likewise.
20836 * NEWS: Mention --enable-static-pie.
20837 * config.h.in (ENABLE_STATIC_PIE): New.
20838 * configure.ac (--enable-static-pie): New configure option.
20839 (have-no-dynamic-linker): New LIBC_CONFIG_VAR.
20840 (have-static-pie): Likewise.
20841 Enable static PIE if linker supports --no-dynamic-linker.
20842 (ENABLE_STATIC_PIE): New AC_DEFINE.
20843 (enable-static-pie): New LIBC_CONFIG_VAR.
20844 * configure: Regenerated.
20845 * csu/Makefile (omit-deps): Add r$(start-installed-name) and
20846 gr$(start-installed-name) for --enable-static-pie.
20847 (extra-objs): Likewise.
20848 (install-lib): Likewise.
20849 (extra-objs): Add static-reloc.o and static-reloc.os
20850 ($(objpfx)$(start-installed-name)): Also depend on
20851 $(objpfx)static-reloc.o.
20852 ($(objpfx)r$(start-installed-name)): New.
20853 ($(objpfx)g$(start-installed-name)): Also depend on
20854 $(objpfx)static-reloc.os.
20855 ($(objpfx)gr$(start-installed-name)): New.
20856 * csu/libc-start.c (LIBC_START_MAIN): Call _dl_relocate_static_pie
20858 * csu/libc-tls.c (__libc_setup_tls): Add main_map->l_addr to
20860 * csu/static-reloc.c: New file.
20861 * elf/Makefile (routines): Add dl-reloc-static-pie.
20862 (elide-routines.os): Likewise.
20863 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): Removed.
20864 (tst-tls1-static-non-pie-no-pie): New.
20865 * elf/dl-reloc-static-pie.c: New file.
20866 * elf/dl-support.c (_dl_get_dl_main_map): New function.
20867 * elf/dynamic-link.h (ELF_DURING_STARTUP): Also check
20868 STATIC_PIE_BOOTSTRAP.
20869 * elf/get-dynamic-info.h (elf_get_dynamic_info): Likewise.
20870 * gmon/Makefile (tests): Add tst-gmon-static-pie.
20871 (tests-static): Likewise.
20872 (DEFAULT-LDFLAGS-tst-gmon-static): Removed.
20873 (tst-gmon-static-no-pie): New.
20874 (CFLAGS-tst-gmon-static-pie.c): Likewise.
20875 (CRT-tst-gmon-static-pie): Likewise.
20876 (tst-gmon-static-pie-ENV): Likewise.
20877 (tests-special): Likewise.
20878 ($(objpfx)tst-gmon-static-pie.out): Likewise.
20879 (clean-tst-gmon-static-pie-data): Likewise.
20880 ($(objpfx)tst-gmon-static-pie-gprof.out): Likewise.
20881 * gmon/tst-gmon-static-pie.c: New file.
20882 * manual/install.texi: Document --enable-static-pie.
20883 * sysdeps/generic/ldsodefs.h (_dl_relocate_static_pie): New.
20884 (_dl_get_dl_main_map): Likewise.
20885 * sysdeps/i386/configure.ac: Check if linker supports static PIE.
20886 * sysdeps/x86_64/configure.ac: Likewise.
20887 * sysdeps/i386/configure: Regenerated.
20888 * sysdeps/x86_64/configure: Likewise.
20889 * sysdeps/mips/Makefile (ASFLAGS-.o): Add $(pie-default).
20890 (ASFLAGS-.op): Likewise.
20892 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20894 * io/Makefile (tst-open-tmpfile-ARGS): New variable.
20895 * posix/tst-mmap-offset.c (fname): Use /tmp.
20896 * stdlib/tst-setcontext3.sh (tempfile): Use ${objpfx}.
20898 2017-12-15 Steve Ellcey <sellcey@cavium.com>
20900 * nscd/dbg_log.c (dbg_log): Increase msg buffer size.
20902 2017-12-15 Thomas Schwinge <thomas@codesourcery.com>
20904 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno): Don't set
20907 2017-12-15 Joseph Myers <joseph@codesourcery.com>
20909 * scripts/build-many-glibcs.py (Context.add_all_configs): Use
20910 --with-float=hard for arm-linux-gnueabihf configurations.
20913 * po/Makefile (generated): Add $(ALL_LINGUAS:%=%.mo).
20914 (%.mo): Change to $(objpfx)%.mo. Use $(make-target-directory).
20915 ($(mo-installed)): Use $(objpfx)%.mo.
20916 (realclean): Remove rule.
20918 * po/Makefile (linguas): Remove rule and dependencies.
20919 (linguas.mo): Likewise.
20920 (.PHONY): Do not depend on linguas and linguas.mo.
20921 (podir): Remove variable.
20922 (pofiles): Likewise.
20923 [$(pofiles)] (%.po): Remove rule.
20925 * sysdeps/sparc/sparc32/Makefile
20926 ($(divrem:%=$(sysdep_dir)/sparc/sparc32/%.S)): Do not include
20927 start-of-line whitespace in argument of echo.
20928 * sysdeps/sparc/sparc32/divrem.m4: Avoid generating lines starting
20929 with whitespace. Generate __wrap_.udiv alias.
20930 * sysdeps/sparc/sparc32/rem.S: Regenerated.
20931 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
20932 * sysdeps/sparc/sparc32/udiv.S: Likewise.
20933 * sysdeps/sparc/sparc32/urem.S: Likewise.
20935 2017-12-15 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
20937 * sysdeps/powerpc/powerpc64/power8/strcpy.S: Use vectors
20938 for aligned inputs.
20940 2017-12-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
20942 * benchtests/bench-strcmp.c: Print output in JSON format.
20944 * elf/dl-tunables.list: Remove redundant SXID_ERASE.
20946 2017-12-14 Florian Weimer <fweimer@redhat.com>
20950 * elf/dl-load.c (_dl_init_paths): Compute number of components in
20951 the expanded path string.
20953 2017-12-14 Florian Weimer <fweimer@redhat.com>
20957 * elf/dl-load.c (system_dirs): Update comment.
20958 (nsystem_dirs_len): Use array_length.
20959 (_dl_init_paths): Use nsystem_dirs_len to compute the array size.
20961 2017-12-14 Florian Weimer <fweimer@redhat.com>
20963 Simplify compiling most of support/ outside of glibc.
20964 * support/check_addrinfo.c: Include <string.h>.
20965 * support/check_dns_packet.c: Likewise.
20966 * support/check_hostent.c: Likewise.
20967 * support/support_can_chroot.c: Include <support/xunistd.h>.
20968 * support/support_format_addrinfo.c: Include <stdlib.h>
20969 * support/support_format_dns_packet.c: Include <stdbool.h>.
20970 * support/support_format_hostent.c: Include <stdlib.h>.
20971 * support/support_format_netent.c: Likewise.
20972 * support/support_write_string.c: Include <support/xunistd.h>.
20973 * support/xdlfcn.c: Include <stddef.h>.
20975 2017-12-14 H.J. Lu <hongjiu.lu@intel.com>
20977 * sysdeps/x86_64/fpu/s_cosf.S: Removed.
20979 2017-12-14 Patrick McGehearty <patrick.mcgehearty@oracle.com>
20980 Adhemerval Zanella <adhemerval.zanella@linaro.org>
20982 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20983 (sysdeps_routines): Add memset-niagara7.
20984 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdes_rotuines):
20986 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara7.S: New
20988 * sysdeps/sparc/sparc64/multiarch/memset-niagara7.S: Likewise.
20989 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
20990 (__libc_ifunc_impl_list): Add __bzero_niagara7 and __memset_niagara7.
20991 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h (IFUNC_SELECTOR):
20992 Add niagara7 option.
20993 * NEWS: Mention sparc m7 optimized memcpy, mempcpy, memmove, and
20996 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
20997 (sysdeps_routines): Add memcpy-memmove-niagara7 and memmove-ultra1.
20998 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdeps_routines):
21000 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-memmove-niagara7.S:
21002 * sysdeps/sparc/sparc32/sparcv9/multiarch/memmove-ultra1.S: Likewise.
21003 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memmove.c: Likewise.
21004 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c
21005 (__libc_ifunc_impl_list): Add __memcpy_niagara7, __mempcpy_niagara7,
21006 and __memmove_niagara7.
21007 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h (IFUNC_SELECTOR):
21008 Add niagara7 option.
21009 * sysdeps/sparc/sparc64/multiarch/memmove.c: New file.
21010 * sysdeps/sparc/sparc64/multiarch/ifunc-memmove.h: Likewise.
21011 * sysdeps/sparc/sparc64/multiarch/memcpy-memmove-niagara7.S: Likewise.
21012 * sysdeps/sparc/sparc64/multiarch/memmove-ultra1.S: Likewise.
21013 * sysdeps/sparc/sparc64/multiarch/rtld-memmove.c: Likewise.
21015 2017-12-14 Jose E. Marchesi <jose.marchesi@oracle.com>
21017 * sysdeps/sparc/sparc32/sparcv9/memmove.S: New file.
21018 * sysdeps/sparc/sparc32/sparcv9/rtld-memmove.c: Likewise.
21019 * sysdeps/sparc/sparc64/memmove.S: Likewise.
21020 * sysdeps/sparc/sparc64/rtld-memmove.c: Likewise.
21022 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_ADP): Defined.
21023 * sysdeps/sparc/dl-procinfo.c: Added "adp" to the
21024 _dl_sparc_cap_flags array.
21025 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increment.
21027 2017-12-13 Siddhesh Poyarekar <siddhesh@sourceware.org>
21029 * sysdeps/aarch64/strcmp.S (misaligned8): Compare dword at a
21030 time whenever possible.
21032 2017-12-12 Carlos O'Donell <carlos@redhat.com>
21034 * elf/Makefile [$(nss-crypt)$(static-nss-crypt) == yesno]
21035 (CFLAGS-tst-linkall-static.c): Undefine USE_CRYPT first.
21037 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21039 * soft-fp/fmadf4.c: Move to ....
21040 * sysdeps/ieee754/soft-fp/s_fma.c: ... here.
21041 * soft-fp/fmasf4.c: Move to ....
21042 * sysdeps/ieee754/soft-fp/s_fmaf.c: ... here.
21043 * soft-fp/fmatf4.c: Move to ....
21044 * sysdeps/ieee754/soft-fp/s_fmal.c: ... here.
21045 * sysdeps/ieee754/soft-fp/Makefile: New file.
21046 * sysdeps/arm/preconfigure.ac: Define with_fp_cond.
21047 * sysdeps/arm/preconfigure: Regenerated.
21048 * sysdeps/arm/nofpu/Implies: New file.
21049 * sysdeps/arm/s_fma.c: Remove file.
21050 * sysdeps/arm/s_fmaf.c: Likewise.
21051 * sysdeps/m68k/coldfire/nofpu/Implies: New file.
21052 * sysdeps/m68k/coldfire/nofpu/s_fma.c: Remove file.
21053 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
21054 * sysdeps/microblaze/Implies: Add ieee754/soft-fp.
21055 * sysdeps/microblaze/s_fma.c: Remove file.
21056 * sysdeps/microblaze/s_fmaf.c: Likewise.
21057 * sysdeps/mips/mips32/nofpu/Implies: New file.
21058 * sysdeps/mips/mips64/n32/fpu/s_fma.c: Likewise.
21059 * sysdeps/mips/mips64/n32/nofpu/Implies: Likewise.
21060 * sysdeps/mips/mips64/n64/fpu/s_fma.c: Likewise.
21061 * sysdeps/mips/mips64/n64/nofpu/Implies: Likewise.
21062 * sysdeps/mips/ieee754/s_fma.c: Remove file.
21063 * sysdeps/mips/ieee754/s_fmaf.c: Likewise.
21064 * sysdeps/mips/ieee754/s_fmal.c: Update include for move of fmal
21066 * sysdeps/nios2/Implies: Add ieee754/soft-fp.
21067 * sysdeps/nios2/s_fma.c: Remove file.
21068 * sysdeps/nios2/s_fmaf.c: Likewise.
21069 * sysdeps/sh/nofpu/Implies: New file.
21070 * sysdeps/sh/s_fma.c: Remove file.
21071 * sysdeps/sh/s_fmaf.c: Likewise.
21072 * sysdeps/tile/Implies: Add ieee754/soft-fp.
21073 * sysdeps/tile/s_fma.c: Remove file.
21074 * sysdeps/tile/s_fmaf.c: Likewise.
21076 2017-12-12 H.J. Lu <hongjiu.lu@intel.com>
21078 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21079 Add s_cosf-sse2 and s_cosf-fma.
21080 (CFLAGS-s_cosf-fma.c): New.
21081 * sysdeps/x86_64/fpu/multiarch/s_cosf-fma.c: New file.
21082 * sysdeps/x86_64/fpu/multiarch/s_cosf-sse2.c: Likewise.
21083 * sysdeps/x86_64/fpu/multiarch/s_cosf.c: Likewise.
21085 2017-12-12 Steve Ellcey <sellcey@cavium.com>
21087 * nscd/nscd.h (init_traced_file): Change strncpy to memcpy.
21089 2017-12-12 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21091 * libio/Makefile (tests): Add tst-bz22415.
21092 (tst-bz22415-ENV): New rule.
21093 (generated): Add tst-bz22415.mtrace and tst-bz22415.check.
21094 (tests-special): Add tst-bz22415-mem.out.
21095 ($(objpfx)tst-bz22415-mem.out): New rule.
21096 * libio/fileops.c (_IO_new_file_seekoff): Call _IO_free_backup_area
21097 in case of a successful seek operation.
21098 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
21099 (_IO_wfile_overflow): Call _IO_free_wbackup_area in case a write
21100 buffer is required.
21101 * libio/tst-bz22415.c: New test.
21103 * sysdeps/ia64/fpu/libm-test-ulps: Update.
21105 2017-12-12 James Clarke <jrtc27@jrtc27.com>
21107 * sysdeps/unix/sysv/linux/ia64/ipc_priv.h: New file defining
21108 __IPC_64 to 0 to avoid IPC_64 being set.
21110 2017-12-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
21113 * math/bits/mathcalls.h (nextafter): Remove const.
21114 (nexttoward): Likewise.
21116 2017-12-12 Joseph Myers <joseph@codesourcery.com>
21118 * configure.ac (--with-fp): Remove configure option.
21119 (with_fp_cond): New variable.
21120 (libc_cv_with_fp): New configure test. Use this variable instead
21122 * configure: Regenerated.
21123 * config.make.in (with-fp): Use @libc_cv_with_fp@.
21124 * manual/install.texi (Configuring and compiling): Remove
21126 * INSTALL: Regenerated.
21127 * sysdeps/m68k/preconfigure (with_fp_cond): Define for ColdFire.
21128 * sysdeps/mips/preconfigure (with_fp_cond): Define.
21129 * sysdeps/powerpc/preconfigure (with_fp_cond): Define for 32-bit.
21130 * sysdeps/sh/preconfigure (with_fp_cond): Define.
21131 * scripts/build-many-glibcs.py (Context.add_all_configs): Do not
21132 use --without-fp to configure glibc.
21134 2017-12-12 Rical Jasan <ricaljasan@pacific.net>
21136 * manual/locale.texi (nl_langinfo): Fix a typo.
21138 2017-12-12 Aurelien Jarno <aurelien@aurel32.net>
21141 * manual/conf.texi (SC_SSIZE_MAX): Rename into _SC_SSIZE_MAX.
21143 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21145 * argp/Makefile (CFLAGS-argp-help.c): Replace = with +=.
21146 (CFLAGS-argp-parse.c): Likewise.
21147 (CFLAGS-argp-fmtstream.c): Likewise.
21148 * crypt/Makefile (CPPFLAGS-sha256-crypt.c): Likewise.
21149 (CPPFLAGS-sha512-crypt.c): Likewise.
21150 (CPPFLAGS-md5-crypt.c): Likewise.
21151 * debug/Makefile (CFLAGS-stack_chk_fail.c): Likewise.
21152 (CFLAGS-stack_chk_fail_local.c): Likewise.
21153 (CFLAGS-backtrace.c): Likewise.
21154 (CFLAGS-sprintf_chk.c): Likewise.
21155 (CFLAGS-snprintf_chk.c): Likewise.
21156 (CFLAGS-vsprintf_chk.c): Likewise.
21157 (CFLAGS-vsnprintf_chk.c): Likewise.
21158 (CFLAGS-asprintf_chk.c): Likewise.
21159 (CFLAGS-vasprintf_chk.c): Likewise.
21160 (CFLAGS-obprintf_chk.c): Likewise.
21161 (CFLAGS-dprintf_chk.c): Likewise.
21162 (CFLAGS-vdprintf_chk.c): Likewise.
21163 (CFLAGS-printf_chk.c): Likewise.
21164 (CFLAGS-fprintf_chk.c): Likewise.
21165 (CFLAGS-vprintf_chk.c): Likewise.
21166 (CFLAGS-vfprintf_chk.c): Likewise.
21167 (CFLAGS-gets_chk.c): Likewise.
21168 (CFLAGS-fgets_chk.c): Likewise.
21169 (CFLAGS-fgets_u_chk.c): Likewise.
21170 (CFLAGS-fread_chk.c): Likewise.
21171 (CFLAGS-fread_u_chk.c): Likewise.
21172 (CFLAGS-swprintf_chk.c): Likewise.
21173 (CFLAGS-vswprintf_chk.c): Likewise.
21174 (CFLAGS-wprintf_chk.c): Likewise.
21175 (CFLAGS-fwprintf_chk.c): Likewise.
21176 (CFLAGS-vwprintf_chk.c): Likewise.
21177 (CFLAGS-vfwprintf_chk.c): Likewise.
21178 (CFLAGS-fgetws_chk.c): Likewise.
21179 (CFLAGS-fgetws_u_chk.c): Likewise.
21180 (CFLAGS-read_chk.c): Likewise.
21181 (CFLAGS-pread_chk.c): Likewise.
21182 (CFLAGS-pread64_chk.c): Likewise.
21183 (CFLAGS-recv_chk.c): Likewise.
21184 (CFLAGS-recvfrom_chk.c): Likewise.
21185 (CFLAGS-tst-longjmp_chk.c): Likewise.
21186 (CPPFLAGS-tst-longjmp_chk.c): Likewise.
21187 (CFLAGS-tst-longjmp_chk2.c): Likewise.
21188 (CPPFLAGS-tst-longjmp_chk2.c): Likewise.
21189 (CFLAGS-tst-longjmp_chk3.c): Likewise.
21190 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
21191 (CFLAGS-tst-chk1.c): Likewise.
21192 (CFLAGS-tst-chk2.c): Likewise.
21193 (CFLAGS-tst-chk3.c): Likewise.
21194 (CFLAGS-tst-chk4.cc): Likewise.
21195 (CFLAGS-tst-chk5.cc): Likewise.
21196 (CFLAGS-tst-chk6.cc): Likewise.
21197 (CFLAGS-tst-lfschk1.c): Likewise.
21198 (CFLAGS-tst-lfschk2.c): Likewise.
21199 (CFLAGS-tst-lfschk3.c): Likewise.
21200 (CFLAGS-tst-lfschk4.cc): Likewise.
21201 (CFLAGS-tst-lfschk5.cc): Likewise.
21202 (CFLAGS-tst-lfschk6.cc): Likewise.
21203 (CFLAGS-tst-ssp-1.c): Likewise.
21204 * dirent/Makefile (CFLAGS-scandir.c): Likewise.
21205 (CFLAGS-scandir64.c): Likewise.
21206 (CFLAGS-scandir-tail.c): Likewise.
21207 (CFLAGS-scandir64-tail.c): Likewise.
21208 * elf/Makefile (CPPFLAGS-dl-tunables.c): Likewise.
21209 (CFLAGS-dl-tunables.c): Likewise.
21210 (CFLAGS-dl-runtime.c): Likewise.
21211 (CFLAGS-dl-lookup.c): Likewise.
21212 (CFLAGS-dl-iterate-phdr.c): Likewise.
21213 (CFLAGS-vismain.c): Likewise.
21214 (CFLAGS-tst-linkall-static.c): Likewise.
21215 (CFLAGS-tst-linkall-static.c): Likewise.
21216 (CPPFLAGS-dl-load.c): Likewise.
21217 (CFLAGS-ldconfig.c): Likewise.
21218 (CFLAGS-dl-cache.c): Likewise.
21219 (CFLAGS-cache.c): Likewise.
21220 (CFLAGS-rtld.c): Likewise.
21221 (CFLAGS-multiload.c): Likewise.
21222 (CFLAGS-filtmod1.c): Likewise.
21223 (CFLAGS-tst-align.c): Likewise.
21224 (CFLAGS-tst-align2.c): Likewise.
21225 (CFLAGS-tst-alignmod.c): Likewise.
21226 (CFLAGS-tst-alignmod2.c): Likewise.
21227 (CPPFLAGS-tst-execstack.c): Likewise.
21228 (CFLAGS-tst-ptrguard1-static.c): Likewise.
21229 (CFLAGS-tst-latepthreadmod.c): Likewise.
21230 * grp/Makefile (CFLAGS-getgrgid_r.c): Likewise.
21231 (CFLAGS-getgrnam_r.c): Likewise.
21232 (CFLAGS-getgrent_r.c): Likewise.
21233 (CFLAGS-getgrent.c): Likewise.
21234 (CFLAGS-fgetgrent.c): Likewise.
21235 (CFLAGS-fgetgrent_r.c): Likewise.
21236 (CFLAGS-putgrent.c): Likewise.
21237 (CFLAGS-initgroups.c): Likewise.
21238 (CFLAGS-getgrgid.c): Likewise.
21239 * gshadow/Makefile (CFLAGS-getsgent_r.c): Likewise.
21240 (CFLAGS-getsgent.c): Likewise.
21241 (CFLAGS-fgetsgent.c): Likewise.
21242 (CFLAGS-fgetsgent_r.c): Likewise.
21243 (CFLAGS-putsgent.c): Likewise.
21244 (CFLAGS-getsgnam.c): Likewise.
21245 (CFLAGS-getsgnam_r.c): Likewise.
21246 * iconv/Makefile (CFLAGS-iconv_prog.c): Likewise.
21247 (CFLAGS-iconv_charmap.c): Likewise.
21248 (CFLAGS-dummy-repertoire.c): Likewise.
21249 (CFLAGS-charmap.c): Likewise.
21250 (CFLAGS-linereader.c): Likewise.
21251 (CFLAGS-simple-hash.c): Likewise.
21252 (CFLAGS-gconv_conf.c): Likewise.
21253 (CFLAGS-iconvconfig.c): Likewise.
21254 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
21255 (CFLAGS-gethstbyad.c): Likewise.
21256 (CFLAGS-gethstbynm_r.c): Likewise.
21257 (CFLAGS-gethstbynm.c): Likewise.
21258 (CFLAGS-gethstbynm2_r.c): Likewise.
21259 (CFLAGS-gethstbynm2.c): Likewise.
21260 (CFLAGS-gethstent_r.c): Likewise.
21261 (CFLAGS-gethstent.c): Likewise.
21262 (CFLAGS-rcmd.c): Likewise.
21263 (CFLAGS-getnetbynm_r.c): Likewise.
21264 (CFLAGS-getnetbynm.c): Likewise.
21265 (CFLAGS-getnetbyad_r.c): Likewise.
21266 (CFLAGS-getnetbyad.c): Likewise.
21267 (CFLAGS-getnetent_r.c): Likewise.
21268 (CFLAGS-getnetent.c): Likewise.
21269 (CFLAGS-getaliasent_r.c): Likewise.
21270 (CFLAGS-getaliasent.c): Likewise.
21271 (CFLAGS-getrpcent_r.c): Likewise.
21272 (CFLAGS-getrpcent.c): Likewise.
21273 (CFLAGS-getservent_r.c): Likewise.
21274 (CFLAGS-getservent.c): Likewise.
21275 (CFLAGS-getprtent_r.c): Likewise.
21276 (CFLAGS-getprtent.c): Likewise.
21277 (CFLAGS-either_ntoh.c): Likewise.
21278 (CFLAGS-either_hton.c): Likewise.
21279 (CFLAGS-getnetgrent.c): Likewise.
21280 (CFLAGS-getnetgrent_r.c): Likewise.
21281 (CFLAGS-tst-checks-posix.c): Likewise.
21282 (CFLAGS-tst-sockaddr.c): Likewise.
21283 * intl/Makefile (CFLAGS-tst-gettext.c): Likewise.
21284 (CFLAGS-tst-translit.c): Likewise.
21285 (CFLAGS-tst-gettext2.c): Likewise.
21286 (CFLAGS-tst-codeset.c): Likewise.
21287 (CFLAGS-tst-gettext3.c): Likewise.
21288 (CFLAGS-tst-gettext4.c): Likewise.
21289 (CFLAGS-tst-gettext5.c): Likewise.
21290 (CFLAGS-tst-gettext6.c): Likewise.
21291 * io/Makefile (CFLAGS-open.c): Likewise.
21292 (CFLAGS-open64.c): Likewise.
21293 (CFLAGS-creat.c): Likewise.
21294 (CFLAGS-creat64.c): Likewise.
21295 (CFLAGS-fcntl.c): Likewise.
21296 (CFLAGS-poll.c): Likewise.
21297 (CFLAGS-ppoll.c): Likewise.
21298 (CFLAGS-lockf.c): Likewise.
21299 (CFLAGS-statfs.c): Likewise.
21300 (CFLAGS-fstatfs.c): Likewise.
21301 (CFLAGS-statvfs.c): Likewise.
21302 (CFLAGS-fstatvfs.c): Likewise.
21303 (CFLAGS-fts.c): Likewise.
21304 (CFLAGS-fts64.c): Likewise.
21305 (CFLAGS-ftw.c): Likewise.
21306 (CFLAGS-ftw64.c): Likewise.
21307 (CFLAGS-lockf.c): Likewise.
21308 (CFLAGS-posix_fallocate.c): Likewise.
21309 (CFLAGS-posix_fallocate64.c): Likewise.
21310 (CFLAGS-fallocate.c): Likewise.
21311 (CFLAGS-fallocate64.c): Likewise.
21312 (CFLAGS-read.c): Likewise.
21313 (CFLAGS-write.c): Likewise.
21314 (CFLAGS-test-stat.c): Likewise.
21315 (CFLAGS-test-lfs.c): Likewise.
21316 * libio/Makefile (CFLAGS-fileops.c): Likewise.
21317 (CFLAGS-fputc.c): Likewise.
21318 (CFLAGS-fputwc.c): Likewise.
21319 (CFLAGS-freopen64.c): Likewise.
21320 (CFLAGS-freopen.c): Likewise.
21321 (CFLAGS-fseek.c): Likewise.
21322 (CFLAGS-fseeko64.c): Likewise.
21323 (CFLAGS-fseeko.c): Likewise.
21324 (CFLAGS-ftello64.c): Likewise.
21325 (CFLAGS-ftello.c): Likewise.
21326 (CFLAGS-fwide.c): Likewise.
21327 (CFLAGS-genops.c): Likewise.
21328 (CFLAGS-getc.c): Likewise.
21329 (CFLAGS-getchar.c): Likewise.
21330 (CFLAGS-getwc.c): Likewise.
21331 (CFLAGS-getwchar.c): Likewise.
21332 (CFLAGS-iofclose.c): Likewise.
21333 (CFLAGS-iofflush.c): Likewise.
21334 (CFLAGS-iofgetpos64.c): Likewise.
21335 (CFLAGS-iofgetpos.c): Likewise.
21336 (CFLAGS-iofgets.c): Likewise.
21337 (CFLAGS-iofgetws.c): Likewise.
21338 (CFLAGS-iofputs.c): Likewise.
21339 (CFLAGS-iofputws.c): Likewise.
21340 (CFLAGS-iofread.c): Likewise.
21341 (CFLAGS-iofsetpos64.c): Likewise.
21342 (CFLAGS-iofsetpos.c): Likewise.
21343 (CFLAGS-ioftell.c): Likewise.
21344 (CFLAGS-iofwrite.c): Likewise.
21345 (CFLAGS-iogetdelim.c): Likewise.
21346 (CFLAGS-iogetline.c): Likewise.
21347 (CFLAGS-iogets.c): Likewise.
21348 (CFLAGS-iogetwline.c): Likewise.
21349 (CFLAGS-ioputs.c): Likewise.
21350 (CFLAGS-ioseekoff.c): Likewise.
21351 (CFLAGS-ioseekpos.c): Likewise.
21352 (CFLAGS-iosetbuffer.c): Likewise.
21353 (CFLAGS-iosetvbuf.c): Likewise.
21354 (CFLAGS-ioungetc.c): Likewise.
21355 (CFLAGS-ioungetwc.c): Likewise.
21356 (CFLAGS-oldfileops.c): Likewise.
21357 (CFLAGS-oldiofclose.c): Likewise.
21358 (CFLAGS-oldiofgetpos64.c): Likewise.
21359 (CFLAGS-oldiofgetpos.c): Likewise.
21360 (CFLAGS-oldiofsetpos64.c): Likewise.
21361 (CFLAGS-oldiofsetpos.c): Likewise.
21362 (CFLAGS-peekc.c): Likewise.
21363 (CFLAGS-putc.c): Likewise.
21364 (CFLAGS-putchar.c): Likewise.
21365 (CFLAGS-putwc.c): Likewise.
21366 (CFLAGS-putwchar.c): Likewise.
21367 (CFLAGS-rewind.c): Likewise.
21368 (CFLAGS-wfileops.c): Likewise.
21369 (CFLAGS-wgenops.c): Likewise.
21370 (CFLAGS-oldiofopen.c): Likewise.
21371 (CFLAGS-iofopen.c): Likewise.
21372 (CFLAGS-iofopen64.c): Likewise.
21373 (CFLAGS-oldtmpfile.c): Likewise.
21374 (CFLAGS-tst_putwc.c): Likewise.
21375 * locale/Makefile (CFLAGS-md5.c): Likewise.
21376 (CFLAGS-charmap.c): Likewise.
21377 (CFLAGS-locfile.c): Likewise.
21378 (CFLAGS-charmap-dir.c): Likewise.
21379 * login/Makefile (CFLAGS-grantpt.c): Likewise.
21380 (CFLAGS-getpt.c): Likewise.
21381 (CFLAGS-pt_chown.c): Likewise.
21382 * malloc/Makefile (CFLAGS-mcheck-init.c): Likewise.
21383 (CFLAGS-obstack.c): Likewise.
21384 * math/Makefile (CFLAGS-test-tgmath3.c): Likewise.
21385 (CFLAGS-test-double-vlen4-wrappers.c): Likewise.
21386 (CFLAGS-test-double-vlen8-wrappers.c): Likewise.
21387 (CFLAGS-test-float-vlen8-wrappers.c): Likewise.
21388 (CFLAGS-test-float-vlen16-wrappers.c): Likewise.
21389 (CFLAGS-test-tgmath.c): Likewise.
21390 (CFLAGS-test-tgmath2.c): Likewise.
21391 (CFLAGS-test-tgmath-ret.c): Likewise.
21392 (CFLAGS-test-powl.c): Likewise.
21393 (CFLAGS-test-snan.c): Likewise.
21394 (CFLAGS-test-signgam-finite.c): Likewise.
21395 (CFLAGS-test-signgam-finite-c99.c): Likewise.
21396 (CFLAGS-test-signgam-finite-c11.c): Likewise.
21397 (CFLAGS-test-signgam-uchar.c): Likewise.
21398 (CFLAGS-test-signgam-uchar-init.c): Likewise.
21399 (CFLAGS-test-signgam-uchar-static.c): Likewise.
21400 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
21401 (CFLAGS-test-signgam-uint.c): Likewise.
21402 (CFLAGS-test-signgam-uint-init.c): Likewise.
21403 (CFLAGS-test-signgam-uint-static.c): Likewise.
21404 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
21405 (CFLAGS-test-signgam-ullong.c): Likewise.
21406 (CFLAGS-test-signgam-ullong-init.c): Likewise.
21407 (CFLAGS-test-signgam-ullong-static.c): Likewise.
21408 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
21409 (CFLAGS-test-math-cxx11.cc): Likewise.
21410 (CFLAGS-test-math-isinff.cc): Likewise.
21411 (CFLAGS-test-math-iszero.cc): Likewise.
21412 (CFLAGS-test-math-issignaling.cc): Likewise.
21413 (CFLAGS-test-math-iscanonical.cc): Likewise.
21414 (CFLAGS-test-iszero-excess-precision.c): Likewise.
21415 (CFLAGS-test-iseqsig-excess-precision.c): Likewise.
21416 (CFLAGS-test-flt-eval-method.c): Likewise.
21417 (CFLAGS-test-fe-snans-always-signal.c): Likewise.
21418 (CFLAGS-test-finite-macros.c): Likewise.
21419 * misc/Makefile (CFLAGS-select.c): Likewise.
21420 (CFLAGS-tsearch.c): Likewise.
21421 (CFLAGS-lsearch.c): Likewise.
21422 (CFLAGS-pselect.c): Likewise.
21423 (CFLAGS-readv.c): Likewise.
21424 (CFLAGS-writev.c): Likewise.
21425 (CFLAGS-preadv.c): Likewise.
21426 (CFLAGS-preadv64.c): Likewise.
21427 (CFLAGS-pwritev.c): Likewise.
21428 (CFLAGS-pwritev64.c): Likewise.
21429 (CFLAGS-preadv2.c): Likewise.
21430 (CFLAGS-preadv64v2.c): Likewise.
21431 (CFLAGS-pwritev2.c): Likewise.
21432 (CFLAGS-pwritev64v2.c): Likewise.
21433 (CFLAGS-usleep.c): Likewise.
21434 (CFLAGS-syslog.c): Likewise.
21435 (CFLAGS-error.c): Likewise.
21436 (CFLAGS-getpass.c): Likewise.
21437 (CFLAGS-mkstemp.c): Likewise.
21438 (CFLAGS-mkstemp64.c): Likewise.
21439 (CFLAGS-getsysstats.c): Likewise.
21440 (CFLAGS-getusershell.c): Likewise.
21441 (CFLAGS-err.c): Likewise.
21442 (CFLAGS-tst-tsearch.c): Likewise.
21443 (CFLAGS-msync.c): Likewise.
21444 (CFLAGS-fdatasync.c): Likewise.
21445 (CFLAGS-fsync.c): Likewise.
21446 * nptl/Makefile (CFLAGS-nptl-init.c): Likewise.
21447 (CFLAGS-unwind.c): Likewise.
21448 (CFLAGS-unwind-forcedunwind.c): Likewise.
21449 (CFLAGS-pthread_cancel.c): Likewise.
21450 (CFLAGS-pthread_setcancelstate.c): Likewise.
21451 (CFLAGS-pthread_setcanceltype.c): Likewise.
21452 (CFLAGS-cancellation.c): Likewise.
21453 (CFLAGS-libc-cancellation.c): Likewise.
21454 (CFLAGS-pthread_exit.c): Likewise.
21455 (CFLAGS-forward.c): Likewise.
21456 (CFLAGS-pthread_testcancel.c): Likewise.
21457 (CFLAGS-pthread_join.c): Likewise.
21458 (CFLAGS-pthread_timedjoin.c): Likewise.
21459 (CFLAGS-pthread_once.c): Likewise.
21460 (CFLAGS-pthread_cond_wait.c): Likewise.
21461 (CFLAGS-sem_wait.c): Likewise.
21462 (CFLAGS-sem_timedwait.c): Likewise.
21463 (CFLAGS-fcntl.c): Likewise.
21464 (CFLAGS-lockf.c): Likewise.
21465 (CFLAGS-pread.c): Likewise.
21466 (CFLAGS-pread64.c): Likewise.
21467 (CFLAGS-pwrite.c): Likewise.
21468 (CFLAGS-pwrite64.c): Likewise.
21469 (CFLAGS-wait.c): Likewise.
21470 (CFLAGS-waitpid.c): Likewise.
21471 (CFLAGS-sigwait.c): Likewise.
21472 (CFLAGS-msgrcv.c): Likewise.
21473 (CFLAGS-msgsnd.c): Likewise.
21474 (CFLAGS-tcdrain.c): Likewise.
21475 (CFLAGS-open.c): Likewise.
21476 (CFLAGS-open64.c): Likewise.
21477 (CFLAGS-pause.c): Likewise.
21478 (CFLAGS-recv.c): Likewise.
21479 (CFLAGS-send.c): Likewise.
21480 (CFLAGS-accept.c): Likewise.
21481 (CFLAGS-sendto.c): Likewise.
21482 (CFLAGS-connect.c): Likewise.
21483 (CFLAGS-recvfrom.c): Likewise.
21484 (CFLAGS-recvmsg.c): Likewise.
21485 (CFLAGS-sendmsg.c): Likewise.
21486 (CFLAGS-close.c): Likewise.
21487 (CFLAGS-read.c): Likewise.
21488 (CFLAGS-write.c): Likewise.
21489 (CFLAGS-nanosleep.c): Likewise.
21490 (CFLAGS-sigsuspend.c): Likewise.
21491 (CFLAGS-msync.c): Likewise.
21492 (CFLAGS-fdatasync.c): Likewise.
21493 (CFLAGS-fsync.c): Likewise.
21494 (CFLAGS-pt-system.c): Likewise.
21495 (CFLAGS-tst-cleanup2.c): Likewise.
21496 (CFLAGS-tst-cleanupx2.c): Likewise.
21497 (CFLAGS-flockfile.c): Likewise.
21498 (CFLAGS-ftrylockfile.c): Likewise.
21499 (CFLAGS-funlockfile.c): Likewise.
21500 (CFLAGS-tst-initializers1.c): Likewise.
21501 (CFLAGS-tst-initializers1-c89.c): Likewise.
21502 (CFLAGS-tst-initializers1-c99.c): Likewise.
21503 (CFLAGS-tst-initializers1-c11.c): Likewise.
21504 (CFLAGS-tst-initializers1-gnu89.c): Likewise.
21505 (CFLAGS-tst-initializers1-gnu99.c): Likewise.
21506 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
21507 * nscd/Makefile (CFLAGS-nscd_getpw_r.c): Likewise.
21508 (CFLAGS-nscd_getgr_r.c): Likewise.
21509 (CFLAGS-nscd_gethst_r.c): Likewise.
21510 (CFLAGS-nscd_getai.c): Likewise.
21511 (CFLAGS-nscd_initgroups.c): Likewise.
21512 * posix/Makefile (CFLAGS-getaddrinfo.c): Likewise.
21513 (CFLAGS-pause.c): Likewise.
21514 (CFLAGS-pread.c): Likewise.
21515 (CFLAGS-pread64.c): Likewise.
21516 (CFLAGS-pwrite.c): Likewise.
21517 (CFLAGS-pwrite64.c): Likewise.
21518 (CFLAGS-sleep.c): Likewise.
21519 (CFLAGS-wait.c): Likewise.
21520 (CFLAGS-waitid.c): Likewise.
21521 (CFLAGS-waitpid.c): Likewise.
21522 (CFLAGS-getopt.c): Likewise.
21523 (CFLAGS-wordexp.c): Likewise.
21524 (CFLAGS-sysconf.c): Likewise.
21525 (CFLAGS-pathconf.c): Likewise.
21526 (CFLAGS-fpathconf.c): Likewise.
21527 (CFLAGS-spawn.c): Likewise.
21528 (CFLAGS-spawnp.c): Likewise.
21529 (CFLAGS-spawni.c): Likewise.
21530 (CFLAGS-glob.c): Likewise.
21531 (CFLAGS-glob64.c): Likewise.
21532 (CFLAGS-getconf.c): Likewise.
21533 (CFLAGS-nanosleep.c): Likewise.
21534 * pwd/Makefile (CFLAGS-getpwent_r.c): Likewise.
21535 (CFLAGS-getpwent.c): Likewise.
21536 (CFLAGS-getpw.c): Likewise.
21537 (CFLAGS-fgetpwent_r.c): Likewise.
21538 * resolv/Makefile (CFLAGS-res_hconf.c): Likewise.
21539 * rt/Makefile (CFLAGS-aio_suspend.c): Likewise.
21540 (CFLAGS-mq_timedreceive.c): Likewise.
21541 (CFLAGS-mq_timedsend.c): Likewise.
21542 (CFLAGS-clock_nanosleep.c): Likewise.
21543 (CFLAGS-librt-cancellation.c): Likewise.
21544 * shadow/Makefile (CFLAGS-getspent_r.c): Likewise.
21545 (CFLAGS-getspent.c): Likewise.
21546 (CFLAGS-fgetspent.c): Likewise.
21547 (CFLAGS-fgetspent_r.c): Likewise.
21548 (CFLAGS-putspent.c): Likewise.
21549 (CFLAGS-getspnam.c): Likewise.
21550 (CFLAGS-getspnam_r.c): Likewise.
21551 * signal/Makefile (CFLAGS-sigpause.c): Likewise.
21552 (CFLAGS-sigsuspend.c): Likewise.
21553 (CFLAGS-sigtimedwait.c): Likewise.
21554 (CFLAGS-sigwait.c): Likewise.
21555 (CFLAGS-sigwaitinfo.c): Likewise.
21556 (CFLAGS-sigreturn.c): Likewise.
21557 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
21558 (CFLAGS-vfwprintf.c): Likewise.
21559 (CFLAGS-tmpfile.c): Likewise.
21560 (CFLAGS-tmpfile64.c): Likewise.
21561 (CFLAGS-tempname.c): Likewise.
21562 (CFLAGS-psignal.c): Likewise.
21563 (CFLAGS-vprintf.c): Likewise.
21564 (CFLAGS-cuserid.c): Likewise.
21565 (CFLAGS-errlist.c): Likewise.
21566 (CFLAGS-siglist.c): Likewise.
21567 (CFLAGS-scanf15.c): Likewise.
21568 (CFLAGS-scanf17.c): Likewise.
21569 * stdlib/Makefile (CFLAGS-bsearch.c): Likewise.
21570 (CFLAGS-msort.c): Likewise.
21571 (CFLAGS-qsort.c): Likewise.
21572 (CFLAGS-system.c): Likewise.
21573 (CFLAGS-fmtmsg.c): Likewise.
21574 (CFLAGS-strfmon.c): Likewise.
21575 (CFLAGS-strfmon_l.c): Likewise.
21576 (CFLAGS-strfromd.c): Likewise.
21577 (CFLAGS-strfromf.c): Likewise.
21578 (CFLAGS-strfroml.c): Likewise.
21579 (CFLAGS-tst-bsearch.c): Likewise.
21580 (CFLAGS-tst-qsort.c): Likewise.
21581 (CFLAGS-tst-makecontext2.c): Likewise.
21582 * sunrpc/Makefile (CFLAGS-xbootparam_prot.c): Likewise.
21583 (CFLAGS-xnlm_prot.c): Likewise.
21584 (CFLAGS-xrstat.c): Likewise.
21585 (CFLAGS-xyppasswd.c): Likewise.
21586 (CFLAGS-xklm_prot.c): Likewise.
21587 (CFLAGS-xrex.c): Likewise.
21588 (CFLAGS-xsm_inter.c): Likewise.
21589 (CFLAGS-xmount.c): Likewise.
21590 (CFLAGS-xrusers.c): Likewise.
21591 (CFLAGS-xspray.c): Likewise.
21592 (CFLAGS-xnfs_prot.c): Likewise.
21593 (CFLAGS-xrquota.c): Likewise.
21594 (CFLAGS-xkey_prot.c): Likewise.
21595 (CFLAGS-auth_unix.c): Likewise.
21596 (CFLAGS-key_call.c): Likewise.
21597 (CFLAGS-pmap_rmt.c): Likewise.
21598 (CFLAGS-clnt_perr.c): Likewise.
21599 (CFLAGS-openchild.c): Likewise.
21600 * sysvipc/Makefile (CFLAGS-msgrcv.c): Likewise.
21601 (CFLAGS-msgsnd.c): Likewise.
21602 * termios/Makefile (CFLAGS-tcdrain.c): Likewise.
21603 * time/Makefile (CFLAGS-tzfile.c): Likewise.
21604 (CFLAGS-tzset.c): Likewise.
21605 (CFLAGS-getdate.c): Likewise.
21606 (CFLAGS-test_time.c): Likewise.
21607 (CPPFLAGS-tst-tzname.c): Likewise.
21608 * timezone/Makefile (CFLAGS-zdump.c): Likewise.
21609 (CFLAGS-zic.c): Likewise.
21610 * wcsmbs/Makefile (CFLAGS-wcwidth.c): Likewise.
21611 (CFLAGS-wcswidth.c): Likewise.
21612 (CFLAGS-wcstol.c): Likewise.
21613 (CFLAGS-wcstoul.c): Likewise.
21614 (CFLAGS-wcstoll.c): Likewise.
21615 (CFLAGS-wcstoull.c): Likewise.
21616 (CFLAGS-wcstod.c): Likewise.
21617 (CFLAGS-wcstold.c): Likewise.
21618 (CFLAGS-wcstof128.c): Likewise.
21619 (CFLAGS-wcstof.c): Likewise.
21620 (CFLAGS-wcstol_l.c): Likewise.
21621 (CFLAGS-wcstoul_l.c): Likewise.
21622 (CFLAGS-wcstoll_l.c): Likewise.
21623 (CFLAGS-wcstoull_l.c): Likewise.
21624 (CFLAGS-wcstod_l.c): Likewise.
21625 (CFLAGS-wcstold_l.c): Likewise.
21626 (CFLAGS-wcstof128_l.c): Likewise.
21627 (CFLAGS-wcstof_l.c): Likewise.
21628 (CPPFLAGS-tst-wchar-h.c): Likewise.
21629 (CPPFLAGS-wcstold_l.c): Likewise.
21631 2017-12-11 Paul A. Clarke <pc@us.ibm.com>
21633 * sysdeps/ieee754/flt-32/s_cosf.c: New implementation.
21635 2017-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21636 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21638 * manual/tunables.texi (Hardware Capability Tunables): Document
21639 glibc.tune.cached_memopt.
21640 * sysdeps/powerpc/cpu-features.c: New file.
21641 * sysdeps/powerpc/cpu-features.h: New file.
21642 * sysdeps/powerpc/dl-procinfo.c [!IS_IN(ldconfig)]: Add
21643 _dl_powerpc_cpu_features.
21644 * sysdeps/powerpc/dl-tunables.list: New file.
21645 * sysdeps/powerpc/ldsodefs.h: Include cpu-features.h.
21646 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
21647 (INIT_ARCH): Initialize use_aligned_memopt.
21648 * sysdeps/powerpc/powerpc64/dl-machine.h [defined(SHARED &&
21649 IS_IN(rtld))]: Restrict dl_platform_init availability and
21650 initialize CPU features used by tunables.
21651 * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines):
21652 Add memcpy-power8-cached.
21653 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add
21654 __memcpy_power8_cached.
21655 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
21656 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power8-cached.S:
21659 2017-12-11 H.J. Lu <hongjiu.lu@intel.com>
21661 * string/Makefile (CFLAGS-inl-tester.c): Replace = with +=.
21662 (CFLAGS-noinl-tester.c): Likewise.
21663 (CFLAGS-tst-strlen.c): Likewise.
21664 (CFLAGS-stratcliff.c): Likewise.
21665 (CFLAGS-test-ffs.c): Likewise.
21666 (CFLAGS-tst-inlcall.c): Likewise.
21667 (CFLAGS-tst-xbzero-opt.c): Likewise.
21668 (CFLAGS-memcpy.c): Likewise.
21669 (CFLAGS-wordcopy.c): Likewise.
21671 2017-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
21673 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_resolve):
21674 Store r15 on stack and add cfi rule.
21675 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
21678 2017-12-10 Aurelien Jarno <aurelien@aurel32.net>
21681 * elf/rtld.c (init_tls): Add missing new line to the _dl_fatal_printf
21684 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21686 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21687 Add s_sinf-sse2 and s_sinf-fma.
21688 (CFLAGS-s_sinf-fma.c): New.
21689 * sysdeps/x86_64/fpu/multiarch/s_sinf-fma.c: New file.
21690 * sysdeps/x86_64/fpu/multiarch/s_sinf-sse2.c: Likewise.
21691 * sysdeps/x86_64/fpu/multiarch/s_sinf.c: Likewise.
21693 2017-12-07 H.J. Lu <hongjiu.lu@intel.com>
21695 * sysdeps/x86_64/fpu/s_sinf.S: Removed.
21697 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21700 * math/s_ctan_template.c (M_DECL_FUNC (__ctan)): Set imaginary
21701 part of result to imaginary part of argument if it is zero and the
21702 real part of the argument is not finite.
21703 * math/s_ctanh_template.c (M_DECL_FUNC (__ctanh)): Set real part
21704 of result to real part of argument if it is zero and the imaginary
21705 part of the argument is not finite.
21707 2017-12-07 Mike FABIAN <mfabian@redhat.com>
21710 * localedata/Makefile: Add lt_LT.UTF-8 to test-input
21711 and to the list of locales to be built for testing.
21712 * localedata/lt_LT.UTF-8.in: New file for testing the collation.
21713 * localedata/locales/lt_LT (LC_COLLATE): Use “copy "iso14651_t1"”
21714 and build the collation rules upon that.
21716 2017-12-07 Joseph Myers <joseph@codesourcery.com>
21718 * bits/floatn-common.h (__HAVE_FLOAT32): Define to 1.
21719 * manual/math.texi (Mathematics): Document support for _Float32.
21720 * math/Makefile (test-types): Add float32.
21721 * math/Versions (GLIBC_2.27): Add _Float32 functions.
21722 * stdlib/Versions (GLIBC_2.27): Likewise.
21723 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21724 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21725 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21726 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21727 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21728 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21729 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21730 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21731 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21732 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21733 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21734 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21735 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21736 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21737 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21738 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21739 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21740 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21741 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21742 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21743 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21744 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21746 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21747 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21748 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21749 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21750 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21768 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21769 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21770 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21771 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21772 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21773 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21774 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21775 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21776 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21777 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21778 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21780 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21782 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21784 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21786 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21787 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21788 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21789 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21790 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21791 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21792 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21793 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21795 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21797 * stdlib/strtof.c: Include <bits/floatn.h>
21798 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32): Define
21799 and later undefine as macro. Define as weak alias if
21801 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32): Define
21802 and later undefine as macro. Define as weak alias if
21804 * stdlib/strtof_l.c: Include <bits/floatn.h>
21805 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strtof32_l): Define
21806 and later undefine as macro. Define as weak alias if
21808 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (wcstof32_l): Define
21809 and later undefine as macro. Define as weak alias if
21812 * stdlib/strfromf.c: Include <bits/floatn.h>.
21813 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32] (strfromf32): Define
21814 and later undefine as macro and define as weak alias.
21816 * math/test-float32.h: New file.
21818 * sysdeps/generic/libm-alias-float.h: Include <bits/floatn.h>.
21819 [__HAVE_FLOAT32 && !__HAVE_DISTINCT_FLOAT32]
21820 (libm_alias_float_other_r): Create f32 alias.
21821 (libm_alias_float_r): Use semicolon before call to
21822 libm_alias_float_other_r.
21824 * sysdeps/ia64/fpu/e_exp2f.S (__exp2f): Use exp2 not __exp2 as
21825 second argument to libm_alias_float_other.
21826 * sysdeps/ia64/fpu/e_log2f.S (__log2f): Use log2 not __log2 as
21827 second argument to libm_alias_float_other.
21828 * sysdeps/ia64/fpu/e_powf.S (__powf): Use pow not __pow as second
21829 argument to libm_alias_float_other.
21832 * math/s_cacosh_template.c (M_DECL_FUNC (__cacosh)): Use pi/2 for
21833 real part of result for argument 0 + i * NaN.
21834 * math/libm-test-cacosh.inc (cacosh_test_data): Update expected
21835 results for tests of 0 + i * NaN.
21837 2017-12-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21839 * sysdeps/alpha/fpu/libm-test-ulps: Update.
21841 2017-12-06 David S. Miller <davem@davemloft.net>
21843 * sysdeps/sparc/fpu/libm-test-ulps: Update
21844 exp_{downward,towardzero,upward} ulps.
21846 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21848 * sysdeps/ieee754/ldbl-96/e_j1l.c (qone): Don't make local
21851 * sysdeps/ieee754/ldbl-128/e_j0l.c (Y0_2N): Make const.
21853 * sysdeps/ieee754/ldbl-128/e_j1l.c (Y0_2N): Likewise.
21855 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c (Y0_2N): Likewise.
21857 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c (Y0_2N): Likewise.
21860 2017-12-06 Mike FABIAN <mfabian@redhat.com>
21863 * localedata/Makefile: Add hsb_DE.UTF-8 to test-input
21864 and to the list of locales to be built for testing.
21865 * localedata/hsb_DE.UTF-8.in: New file for testing the collation.
21866 * localedata/locales/hsb_DE (LC_COLLATE): Use “copy "iso14651_t1"”
21867 and build the collation rules upon that.
21869 2017-12-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21871 * NEWS: Add sinf to list of optimized functions.
21873 2017-12-06 Joseph Myers <joseph@codesourcery.com>
21875 * bits/floatn-common.h (__HAVE_FLOAT64): Define to 1.
21876 (__HAVE_FLOAT32X): Likewise.
21877 * manual/math.texi (Mathematics): Document support for _Float64
21879 * math/Makefile (test-types): Add float64 and float32x.
21880 * math/Versions (GLIBC_2.27): Add _Float64 and _Float32x
21882 * stdlib/Versions (GLIBC_2.27): Likewise.
21883 * wcsmbs/Versions (GLIBC_2.27): Likewise.
21884 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
21885 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
21886 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
21887 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
21888 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
21889 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
21890 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
21891 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
21892 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
21893 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
21894 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
21895 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
21896 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
21897 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
21898 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
21899 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
21900 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
21901 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
21902 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
21903 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
21904 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist:
21906 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
21907 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
21908 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
21909 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
21910 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
21911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
21913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
21915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
21917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
21919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
21921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist:
21923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
21925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
21927 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
21928 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
21929 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
21930 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
21931 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
21932 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
21933 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
21934 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
21935 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
21936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
21937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
21939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
21941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
21943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
21945 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
21946 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
21947 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
21948 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
21949 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
21950 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
21951 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
21952 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
21954 2017-12-05 Joseph Myers <joseph@codesourcery.com>
21956 * bits/floatn-common.h: Include <bits/long-double.h>.
21957 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21958 && __NO_LONG_DOUBLE_MATH] (__f64): Use suffix 'l'.
21959 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21960 && __NO_LONG_DOUBLE_MATH] (__CFLOAT64): Use _Complex long double.
21961 [__HAVE_FLOAT64 && (!__GNUC_PREREQ (7, 0) || defined __cplusplus)
21962 && __NO_LONG_DOUBLE_MATH] (_Float64): Use long double.
21963 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21964 (__builtin_huge_valf64): Use __builtin_huge_vall.
21965 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21966 (__builtin_inff64): Use __builtin_infl.
21967 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21968 (__builtin_nanf64): Use __builtin_nanl.
21969 [__HAVE_FLOAT64 && !__GNUC_PREREQ (7, 0) && __NO_LONG_DOUBLE_MATH]
21970 (__builtin_nansf64): Use __builtin_nansl.
21972 2017-12-05 Rogerio A. Cardoso <rcardoso@linux.vnet.ibm.com>
21973 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21974 Carlos O'Donnell <carlos@redhat.com>
21976 * elf/dl-tunables.list: Add elision parameters.
21977 * manual/tunables.texi: Add entries about elision tunable.
21978 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c:
21979 Add callback functions to dynamically enable/disable elision.
21980 Add multiple callbacks functions to set elision parameters.
21981 Deleted __libc_enable_secure check.
21982 * sysdeps/unix/sysv/linux/s390/elision-conf.c: Likewise.
21983 * sysdeps/unix/sysv/linux/x86/elision-conf.c: Likewise.
21984 * configure: Regenerated.
21985 * configure.ac: Option enable_lock_elision was deleted.
21986 * config.h.in: ENABLE_LOCK_ELISION flag was deleted.
21987 * config.make.in: Remove references to enable_lock_elision.
21988 * manual/install.texi: Elision configure option was removed.
21989 * INSTALL: Regenerated to remove enable_lock_elision.
21991 Disable elision so it can verify error case for destroying a mutex.
21992 * sysdeps/powerpc/nptl/elide.h:
21993 Cleanup ENABLE_LOCK_ELISION check.
21994 Deleted macros for the case when ENABLE_LOCK_ELISION was not defined.
21995 * sysdeps/s390/configure: Regenerated.
21996 * sysdeps/s390/configure.ac: Remove references to enable_lock_elision..
21997 * nptl/tst-mutex8.c:
21998 Deleted all #ifndef ENABLE_LOCK_ELISION from the test.
21999 * sysdeps/powerpc/powerpc32/sysdep.h:
22000 Deleted all ENABLE_LOCK_ELISION checks.
22001 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
22002 * sysdeps/powerpc/sysdep.h: Likewise.
22003 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
22004 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: Likewise.
22005 * sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
22006 * sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
22007 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
22008 * sysdeps/unix/sysv/linux/s390/Makefile: Remove references to
22009 enable-lock-elision.
22011 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22013 * stdlib/strtod.c: Include <bits/floatn.h>.
22014 (BUILD_DOUBLE): New macro.
22015 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22016 (strtof64): Define and later undefine as macro. Define as weak
22017 alias if [!USE_WIDE_CHAR].
22018 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22019 (wcstof64): Define and later undefine as macro. Define as weak
22020 alias if [USE_WIDE_CHAR].
22021 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22022 (strtof32x): Define and later undefine as macro. Define as weak
22023 alias if [!USE_WIDE_CHAR].
22024 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22025 (wcstof32x): Define and later undefine as macro. Define as weak
22026 alias if [USE_WIDE_CHAR].
22027 * stdlib/strtod_l.c: Include <bits/floatn.h>.
22028 (BUILD_DOUBLE): New macro.
22029 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22030 (strtof64_l): Define and later undefine as macro. Define as weak
22031 alias if [!USE_WIDE_CHAR].
22032 [BUILD_DOUBLE && __HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64]
22033 (wcstof64_l): Define and later undefine as macro. Define as weak
22034 alias if [USE_WIDE_CHAR].
22035 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22036 (strtof32x_l): Define and later undefine as macro. Define as weak
22037 alias if [!USE_WIDE_CHAR].
22038 [BUILD_DOUBLE && __HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X]
22039 (wcstof32x_l): Define and later undefine as macro. Define as weak
22040 alias if [USE_WIDE_CHAR].
22042 2017-12-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22044 * sysdeps/ieee754/flt-32/s_sinf.c (ones): Define as double.
22045 (reduced): Use ones as double instead of integer.
22047 2017-12-05 Szabolcs Nagy <szabolcs.nagy@arm.com>
22049 * sysdeps/ieee754/flt-32/s_sinf.c (sinf): Use isless.
22051 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22053 * stdlib/strfromd.c: Include <bits/floatn.h>.
22054 [__HAVE_FLOAT64 && !__HAVE_DISTINCT_FLOAT64] (strfromf64): Define
22055 and later undefine as macro and define as weak alias.
22056 [__HAVE_FLOAT32X && !__HAVE_DISTINCT_FLOAT32X] (strfromf32x):
22059 * math/test-float32x.h: New file.
22060 * math/test-float64.h: Likewise.
22062 * sysdeps/generic/libm-alias-double.h: Include <bits/floatn.h>.
22063 (libm_alias_double_other_r_f64): New macro.
22064 (libm_alias_double_other_r_f32x): Likewise.
22065 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22066 libm_alias_double_other_r_f32x.
22067 (libm_alias_double_r): Use semicolon before call to
22068 libm_alias_double_other_r.
22069 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Include
22071 (libm_alias_double_other_r_f64): New macro.
22072 (libm_alias_double_other_r_f32x): Likewise.
22073 (libm_alias_double_other_r): Use libm_alias_double_other_r_f64 and
22074 libm_alias_double_other_r_f32x.
22076 2017-12-05 H.J. Lu <hongjiu.lu@intel.com>
22078 * sysdeps/ieee754/flt-32/s_sinf.c (reduced): Replace long with
22080 (SINF_FUNC): Likewise. Replace floor with simple casts.
22082 2017-12-05 Mike FABIAN <mfabian@redhat.com>
22085 * localedata/Makefile: Add et_EE.UTF-8 to test-input
22086 and to the list of locales to be built for testing.
22087 * localedata/et_EE.UTF-8.in: New file for testing the collation.
22088 * localedata/locales/et_EE (LC_COLLATE): Use “copy "iso14651_t1"”
22089 and build the collation rules upon that.
22091 2017-12-05 Chris Metcalf <cmetcalf@mellanox.com>
22093 * sysdeps/tile/tilegx/string-endian.h (VECOP): Provide working
22094 replacements for __insn_xxx builtins for v1cmpeq, v1cmpltu,
22095 v1cmpne, v1add, v1shru, v1shl (register and immediate versions).
22096 * sysdeps/tile/tilegx/memchr.c (__memchr): Use VECOP function
22097 instead of __insn__xxx.
22098 * sysdeps/tile/tilegx/rawmemchr.c (__rawmemchr): Likewise.
22099 * sysdeps/tile/tilegx/strstr.c (strcasechr): Likewise.
22100 * sysdeps/tile/tilegx/strrchr.c (strrchr): Likewise.
22101 * sysdeps/tile/tilegx/strlen.c (strlen): Likewise.
22102 * sysdeps/tile/tilegx/strchrnul.c (__strchrnul): Likewise.
22103 * sysdeps/tile/tilegx/strchr.c (strchr): Likewise.
22105 2017-12-05 Florian Weimer <fweimer@redhat.com>
22107 Linux: Implement interfaces for memory protection keys
22108 * support/Makefile (libsupport-routines): Add xraise, xsigaction,
22110 * support/xsignal.h (xraise, xsignal, xsigaction): Declare.
22111 * support/xunistd.h (xsysconf): Declare.
22112 * support/xraise.c: New file.
22113 * support/xsigaction.c: Likewise.
22114 * support/xsignal.c: Likewise.
22115 * support/xsysconf.c: Likewise.
22116 * sysdeps/unix/sysv/linux/Makefile [misc] (routines): Add
22117 pkey_set, pkey_get, pkey_mprotect.
22118 [misc] (tests): Add tst-pkey.
22119 (tst-pkey): Link with -lpthread.
22120 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add pkey_alloc,
22121 pkey_free, pkey_set, pkey_get, pkey_mprotect.
22122 * sysdeps/unix/sysv/linux/bits/mman-linux.h (PKEY_DISABLE_ACCESS)
22123 (PKEY_DISABLE_WRITE): Define.
22124 (pkey_alloc, pkey_free, pkey_set, pkey_get, pkey_mprotect):
22126 * sysdeps/unix/sysv/linux/bits/siginfo-consts.h (SEGV_BNDERR)
22127 (SEGV_PKUERR): Add.
22128 * sysdeps/unix/sysv/linux/pkey_get.c: New file.
22129 * sysdeps/unix/sysv/linux/pkey_set.c: Likewise.
22130 * sysdeps/unix/sysv/linux/pkey_mprotect.c: Likewise.
22131 * sysdeps/unix/sysv/linux/syscalls.list (pkey_alloc, pkey_free):
22133 * sysdeps/unix/sysv/linux/tst-pkey.c: New file.
22134 * sysdeps/unix/sysv/linux/x86/arch-pkey.h: Likewise.
22135 * sysdeps/unix/sysv/linux/x86/pkey_get.c: Likewise.
22136 * sysdeps/unix/sysv/linux/x86/pkey_set.c: Likewise.
22137 * sysdeps/unix/sysv/linux/**.abilist: Update.
22139 2017-12-05 Florian Weimer <fweimer@redhat.com>
22141 * support/tst-test_compare.c (subprocess): Use long long instead
22142 of long argument for consistent type width across 32-bit and
22143 64-bit architectures.
22144 (do_test): Adjust expected output.
22146 2017-12-05 Joseph Myers <joseph@codesourcery.com>
22148 * sysdeps/powerpc/fpu/s_cosf.c: Include <libm-alias-float.h>.
22149 (cosf): Define using libm_alias_float.
22150 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-float.h>.
22151 (fabsf): Define using libm_alias_float.
22152 * sysdeps/powerpc/fpu/s_fmaf.S: Include <libm-alias-float.h>.
22153 (fmaf): Define using libm_alias_float.
22154 * sysdeps/powerpc/fpu/s_rintf.c: Include <libm-alias-float.h>.
22155 (rintf): Define using libm_alias_float.
22156 * sysdeps/powerpc/fpu/s_sinf.c: Include <libm-alias-float.h>.
22157 (sinf): Define using libm_alias_float.
22158 * sysdeps/powerpc/power5+/fpu/s_modff.c: Include
22159 <libm-alias-float.h>.
22160 (modff): Define using libm_alias_float.
22161 * sysdeps/powerpc/power7/fpu/s_logbf.c: Include
22162 <libm-alias-float.h>.
22163 (logbf): Define using libm_alias_float.
22164 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S: Include
22165 <libm-alias-float.h>.
22166 (ceilf): Define using libm_alias_float.
22167 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22168 <libm-alias-float.h>.
22169 (copysignf): Define using libm_alias_float.
22170 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Include
22171 <libm-alias-float.h>.
22172 (floorf): Define using libm_alias_float.
22173 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
22174 <libm-alias-float.h>.
22175 (llrintf): Define using libm_alias_float.
22176 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
22177 <libm-alias-float.h>.
22178 (llroundf): Define using libm_alias_float.
22179 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22180 <libm-alias-float.h>.
22181 (lrintf): Define using libm_alias_float.
22182 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22183 <libm-alias-float.h>.
22184 (lroundf): Define using libm_alias_float.
22185 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: Include
22186 <libm-alias-float.h>.
22187 (nearbyintf): Define using libm_alias_float.
22188 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Include
22189 <libm-alias-float.h>.
22190 (rintf): Define using libm_alias_float.
22191 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Include
22192 <libm-alias-float.h>.
22193 (roundf): Define using libm_alias_float.
22194 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Include
22195 <libm-alias-float.h>.
22196 (truncf): Define using libm_alias_float.
22197 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c:
22198 Include <libm-alias-float.h>.
22199 (ceilf): Define using libm_alias_float.
22200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c:
22201 Include <libm-alias-float.h>.
22202 (copysignf): Define using libm_alias_float.
22203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c:
22204 Include <libm-alias-float.h>.
22205 (floorf): Define using libm_alias_float.
22206 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c:
22207 Include <libm-alias-float.h>.
22208 (llrintf): Define using libm_alias_float.
22209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c:
22210 Include <libm-alias-float.h>.
22211 (llroundf): Define using libm_alias_float.
22212 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c:
22213 Include <libm-alias-float.h>.
22214 (logbf): Define using libm_alias_float.
22215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c:
22216 Include <libm-alias-float.h>.
22217 (lrintf): Define using libm_alias_float.
22218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c:
22219 Include <libm-alias-float.h>.
22220 (lroundf): Define using libm_alias_float.
22221 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c:
22222 Include <libm-alias-float.h>.
22223 (modff): Define using libm_alias_float.
22224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c:
22225 Include <libm-alias-float.h>.
22226 (roundf): Define using libm_alias_float.
22227 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c:
22228 Include <libm-alias-float.h>.
22229 (truncf): Define using libm_alias_float.
22230 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Include
22231 <libm-alias-float.h>.
22232 (llrintf): Define using libm_alias_float.
22233 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22234 <libm-alias-float.h>.
22235 (llroundf): Define using libm_alias_float.
22236 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceilf.S: Include
22237 <libm-alias-float.h>.
22238 (ceilf): Define using libm_alias_float.
22239 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floorf.S: Include
22240 <libm-alias-float.h>.
22241 (floorf): Define using libm_alias_float.
22242 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22243 <libm-alias-float.h>.
22244 (llroundf): Define using libm_alias_float.
22245 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22246 <libm-alias-float.h>.
22247 (lroundf): Define using libm_alias_float.
22248 * sysdeps/powerpc/powerpc32/power5+/fpu/s_roundf.S: Include
22249 <libm-alias-float.h>.
22250 (roundf): Define using libm_alias_float.
22251 * sysdeps/powerpc/powerpc32/power5+/fpu/s_truncf.S: Include
22252 <libm-alias-float.h>.
22253 (truncf): Define using libm_alias_float.
22254 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22255 <libm-alias-float.h>.
22256 (copysignf): Define using libm_alias_float.
22257 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Include
22258 <libm-alias-float.h>.
22259 (llrintf): Define using libm_alias_float.
22260 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22261 <libm-alias-float.h>.
22262 (llroundf): Define using libm_alias_float.
22263 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22264 <libm-alias-float.h>.
22265 (lrintf): Define using libm_alias_float.
22266 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22267 <libm-alias-float.h>.
22268 (lroundf): Define using libm_alias_float.
22269 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: Include
22270 <libm-alias-float.h>.
22271 (ceilf): Define using libm_alias_float.
22272 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: Include
22273 <libm-alias-float.h>.
22274 (copysignf): Define using libm_alias_float.
22275 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Include
22276 <libm-alias-float.h>.
22277 (cosf): Define using libm_alias_float.
22278 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: Include
22279 <libm-alias-float.h>.
22280 (floorf): Define using libm_alias_float.
22281 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: Include
22282 <libm-alias-float.h>.
22283 (llrintf): Define using libm_alias_float.
22284 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Include
22285 <libm-alias-float.h>.
22286 (llroundf): Define using libm_alias_float.
22287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: Include
22288 <libm-alias-float.h>.
22289 (logbf): Define using libm_alias_float.
22290 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c: Include
22291 <libm-alias-float.h>.
22292 (modff): Define using libm_alias_float.
22293 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: Include
22294 <libm-alias-float.h>.
22295 (roundf): Define using libm_alias_float.
22296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Include
22297 <libm-alias-float.h>.
22298 (sinf): Define using libm_alias_float.
22299 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: Include
22300 <libm-alias-float.h>.
22301 (truncf): Define using libm_alias_float.
22302 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Include
22303 <libm-alias-float.h>.
22304 (ceilf): Define using libm_alias_float.
22305 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22306 <libm-alias-float.h>.
22307 (copysignf): Define using libm_alias_float.
22308 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Include
22309 <libm-alias-float.h>.
22310 (floorf): Define using libm_alias_float.
22311 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22312 <libm-alias-float.h>.
22313 (llrintf): Define using libm_alias_float.
22314 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Include
22315 <libm-alias-float.h>.
22316 (llroundf): Define using libm_alias_float.
22317 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Include
22318 <libm-alias-float.h>.
22319 (nearbyintf): Define using libm_alias_float.
22320 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Include
22321 <libm-alias-float.h>.
22322 (rintf): Define using libm_alias_float.
22323 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Include
22324 <libm-alias-float.h>.
22325 (roundf): Define using libm_alias_float.
22326 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Include
22327 <libm-alias-float.h>.
22328 (truncf): Define using libm_alias_float.
22329 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Include
22330 <libm-alias-float.h>.
22331 (ceilf): Define using libm_alias_float.
22332 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Include
22333 <libm-alias-float.h>.
22334 (floorf): Define using libm_alias_float.
22335 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22336 <libm-alias-float.h>.
22337 (llroundf): Define using libm_alias_float.
22338 * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Include
22339 <libm-alias-float.h>.
22340 (roundf): Define using libm_alias_float.
22341 * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Include
22342 <libm-alias-float.h>.
22343 (truncf): Define using libm_alias_float.
22344 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22345 <libm-alias-float.h>.
22346 (copysignf): Define using libm_alias_float.
22347 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22348 <libm-alias-float.h>.
22349 (llrintf): Define using libm_alias_float.
22350 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22351 <libm-alias-float.h>.
22352 (llroundf): Define using libm_alias_float.
22353 * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Include
22354 <libm-alias-float.h>.
22355 (cosf): Define using libm_alias_float.
22356 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22357 <libm-alias-float.h>.
22358 (llrintf): Define using libm_alias_float.
22359 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22360 <libm-alias-float.h>.
22361 (llroundf): Define using libm_alias_float.
22362 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Include
22363 <libm-alias-float.h>.
22364 (sinf): Define using libm_alias_float.
22366 2017-12-04 Florian Weimer <fweimer@redhat.com>
22368 * support/check.h (TEST_COMPARE): Define.
22369 (support_test_compare_failure): Declare.
22370 * support/Makefile (libsupport-routines): Add
22371 support_test_compare_failure.
22372 (tests): Add tst-test_compare.
22373 * support /support_test_compare_failure.c: New file.
22374 * support/tst-test_compare.c: Likewise.
22376 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22379 * localedata/locales/tr_TR (LC_COLLATE): Base collation rules
22380 on iso14651_t1. A test file localedata/tr_TR.UTF-8.in is already
22381 available, this rewrite of the collation rules does reproduce
22382 the test file in the same order.
22384 2017-12-04 Mike FABIAN <mfabian@redhat.com>
22387 * localedata/locales/hr_HR (LC_TIME): Use two letters for the
22388 digraphs in the month and day names. Using single code points for
22389 digraphs is deprecated. While there are dedicated Unicode
22390 codepoints, for the digraphs, these are included for backwards
22391 compatibility and modern texts use a sequence of Basic Latin
22392 characters. See: https://www.unicode.org/faq/ligature_digraph.html
22393 This makes the month and day names agree exactly with CLDR now,
22394 CLDR does not use the single code points for the digraphs either.
22396 2017-12-04 Chris Metcalf <cmetcalf@mellanox.com>
22398 * sysdeps/tile/libm-test-ulps: Update ca{cos,sin,tan}{,h} ulps.
22400 2017-12-04 Joseph Myers <joseph@codesourcery.com>
22402 * sysdeps/ieee754/flt-32/s_sinf.c (SINF_FUNC): Use __floor instead
22405 2017-12-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
22407 * sysdeps/aarch64/multiarch/memcpy_generic.S (__GI_memcpy):
22408 Define only for libc.so.
22410 2017-12-04 Stefan Liebler <stli@linux.vnet.ibm.com>
22412 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22413 (INTERNAL_VSYSCALL_CALL, CLOBBER_0, CLOBBER_1, CLOBBER_2,
22414 CLOBBER_3, CLOBBER_4, CLOBBER_5, CLOBBER_6,
22415 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Remove.
22416 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
22418 2017-12-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22421 * sysdeps/ieee754/flt-32/s_sinf.c: New implementation.
22423 2017-12-02 John David Anglin <danglin@gcc.gnu.org>
22426 * sysdeps/hppa/crti.S: Declare PREINIT_FUNCTION weak_extern when
22427 PREINIT_FUNCTION_WEAK is nonzero.
22428 (gmon_initializer): New function. Put procedure label for it in
22429 .init_array section.
22430 (_init): Don't call PREINIT_FUNCTION.
22431 * sysdeps/hppa/crtn.S (__gmon_start__): Remove.
22432 * sysdeps/hppa/dl-lookupcfg.h (DL_FIXUP_MAKE_VALUE): Create null fixup
22433 value when map argument is null.
22435 * sysdeps/hppa/dl-fptr.c (elf_machine_resolve): Remove unnecessary
22436 depi instruction from PIC pc-relative sequence.
22437 * sysdeps/hppa/dl-fptr.h (ELF_MACHINE_LOAD_ADDRESS): Likewise.
22438 * sysdeps/hppa/dl-machine.h (elf_machine_dynamic): Likewise.
22439 (elf_machine_load_address): Likewise.
22440 (elf_machine_runtime_setup): Likewise.
22442 2017-12-02 Joseph Myers <joseph@codesourcery.com>
22444 * sysdeps/powerpc/power7/fpu/s_logb.c: Include
22445 <libm-alias-double.h>.
22446 (logb): Define using libm_alias_double.
22447 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Include
22448 <libm-alias-double.h>.
22449 (copysign): Define using libm_alias_double.
22450 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include
22451 <libm-alias-double.h>.
22452 (llrint): Define using libm_alias_double.
22453 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include
22454 <libm-alias-double.h>.
22455 (llround): Define using libm_alias_double.
22456 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Include
22457 <libm-alias-double.h>.
22458 (lrint): Define using libm_alias_double.
22459 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Include
22460 <libm-alias-double.h>.
22461 (lround): Define using libm_alias_double.
22462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
22463 Include <libm-alias-double.h>.
22464 (copysign): Define using libm_alias_double.
22465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c:
22466 Include <libm-alias-double.h>.
22467 (llrint): Define using libm_alias_double.
22468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c:
22469 Include <libm-alias-double.h>.
22470 (llround): Define using libm_alias_double.
22471 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: Include
22472 <libm-alias-double.h>.
22473 (logb): Define using libm_alias_double.
22474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c:
22475 Include <libm-alias-double.h>.
22476 (lrint): Define using libm_alias_double.
22477 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c:
22478 Include <libm-alias-double.h>.
22479 (lround): Define using libm_alias_double.
22480 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Include
22481 <libm-alias-double.h>.
22482 (llrint): Define using libm_alias_double.
22483 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Include
22484 <libm-alias-double.h>.
22485 (llround): Define using libm_alias_double.
22486 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Include
22487 <libm-alias-double.h>.
22488 (llround): Define using libm_alias_double.
22489 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Include
22490 <libm-alias-double.h>.
22491 (lround): Define using libm_alias_double.
22492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Include
22493 <libm-alias-double.h>.
22494 (copysign): Define using libm_alias_double.
22495 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Include
22496 <libm-alias-double.h>.
22497 (llrint): Define using libm_alias_double.
22498 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Include
22499 <libm-alias-double.h>.
22500 (llround): Define using libm_alias_double.
22501 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lrint.S: Include
22502 <libm-alias-double.h>.
22503 (lrint): Define using libm_alias_double.
22504 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Include
22505 <libm-alias-double.h>.
22506 (lround): Define using libm_alias_double.
22507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Include
22508 <libm-alias-double.h>.
22509 (copysign): Define using libm_alias_double.
22510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: Include
22511 <libm-alias-double.h>.
22512 (llrint): Define using libm_alias_double.
22514 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: Include
22515 <libm-alias-double.h>.
22516 (llround): Define using libm_alias_double.
22517 (lround): Likewise.
22518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: Include
22519 <libm-alias-double.h>.
22520 (logb): Define using libm_alias_double.
22521 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Include
22522 <libm-alias-double.h>.
22523 (copysign): Define using libm_alias_double.
22524 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Include
22525 <libm-alias-double.h>.
22526 (llrint): Define using libm_alias_double.
22528 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Include
22529 <libm-alias-double.h>.
22530 (llround): Define using libm_alias_double.
22531 (lround): Likewise.
22532 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Include
22533 <libm-alias-double.h>.
22534 (llround): Define using libm_alias_double.
22535 (lround): Likewise.
22536 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Include
22537 <libm-alias-double.h>.
22538 (copysign): Define using libm_alias_double.
22539 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Include
22540 <libm-alias-double.h>.
22541 (llrint): Define using libm_alias_double.
22543 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Include
22544 <libm-alias-double.h>.
22545 (llround): Define using libm_alias_double.
22546 (lround): Likewise.
22547 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Include
22548 <libm-alias-double.h>.
22549 (llrint): Define using libm_alias_double.
22551 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Include
22552 <libm-alias-double.h>.
22553 (llround): Define using libm_alias_double.
22554 (lround): Likewise.
22556 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
22559 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (lroundl): Do not define
22560 compat symbol based on llround.
22562 * sysdeps/powerpc/power7/fpu/s_logb.c
22563 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Define as compat
22564 symbol based on __logb, not on logb.
22565 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c
22566 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22567 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c
22568 [LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (logbl): Likewise.
22570 * sysdeps/powerpc/fpu/s_rint.c: Include <libm-alias-double.h>.
22571 (rint): Define using libm_alias_double.
22572 * sysdeps/powerpc/power5+/fpu/s_modf.c: Include
22573 <libm-alias-double.h>.
22574 (modf): Define using libm_alias_double.
22575 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S: Include
22576 <libm-alias-double.h>.
22577 (ceil): Define using libm_alias_double.
22578 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Include
22579 <libm-alias-double.h>.
22580 (floor): Define using libm_alias_double.
22581 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: Include
22582 <libm-alias-double.h>.
22583 (nearbyint): Define using libm_alias_double.
22584 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Include
22585 <libm-alias-double.h>.
22586 (rint): Define using libm_alias_double.
22587 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Include
22588 <libm-alias-double.h>.
22589 (round): Define using libm_alias_double.
22590 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Include
22591 <libm-alias-double.h>.
22592 (trunc): Define using libm_alias_double.
22593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: Include
22594 <libm-alias-double.h>.
22595 (ceil): Define using libm_alias_double.
22596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c:
22597 Include <libm-alias-double.h>.
22598 (floor): Define using libm_alias_double.
22599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: Include
22600 <libm-alias-double.h>.
22601 (modf): Define using libm_alias_double.
22602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c:
22603 Include <libm-alias-double.h>.
22604 (round): Define using libm_alias_double.
22605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c:
22606 Include <libm-alias-double.h>.
22607 (trunc): Define using libm_alias_double.
22608 * sysdeps/powerpc/powerpc32/power5+/fpu/s_ceil.S: Include
22609 <libm-alias-double.h>.
22610 (ceil): Define using libm_alias_double.
22611 * sysdeps/powerpc/powerpc32/power5+/fpu/s_floor.S: Include
22612 <libm-alias-double.h>.
22613 (floor): Define using libm_alias_double.
22614 * sysdeps/powerpc/powerpc32/power5+/fpu/s_round.S: Include
22615 <libm-alias-double.h>.
22616 (round): Define using libm_alias_double.
22617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_trunc.S: Include
22618 <libm-alias-double.h>.
22619 (trunc): Define using libm_alias_double.
22620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: Include
22621 <libm-alias-double.h>.
22622 (ceil): Define using libm_alias_double.
22623 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: Include
22624 <libm-alias-double.h>.
22625 (floor): Define using libm_alias_double.
22626 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Include
22627 <libm-alias-double.h>.
22628 (modf): Define using libm_alias_double.
22629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: Include
22630 <libm-alias-double.h>.
22631 (round): Define using libm_alias_double.
22632 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: Include
22633 <libm-alias-double.h>.
22634 (trunc): Define using libm_alias_double.
22635 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Include
22636 <libm-alias-double.h>.
22637 (ceil): Define using libm_alias_double.
22638 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Include
22639 <libm-alias-double.h>.
22640 (floor): Define using libm_alias_double.
22641 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Include
22642 <libm-alias-double.h>.
22643 (nearbyint): Define using libm_alias_double.
22644 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Include
22645 <libm-alias-double.h>.
22646 (rint): Define using libm_alias_double.
22647 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Include
22648 <libm-alias-double.h>.
22649 (round): Define using libm_alias_double.
22650 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Include
22651 <libm-alias-double.h>.
22652 (trunc): Define using libm_alias_double.
22653 * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Include
22654 <libm-alias-double.h>.
22655 (ceil): Define using libm_alias_double.
22656 * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Include
22657 <libm-alias-double.h>.
22658 (floor): Define using libm_alias_double.
22659 * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Include
22660 <libm-alias-double.h>.
22661 (round): Define using libm_alias_double.
22662 * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Include
22663 <libm-alias-double.h>.
22664 (trunc): Define using libm_alias_double.
22666 * sysdeps/powerpc/fpu/s_fabs.S: Include <libm-alias-double.h>.
22667 (fabs): Define using libm_alias_double.
22668 * sysdeps/powerpc/fpu/s_fma.S: Include <libm-alias-double.h>.
22669 (fma): Define using libm_alias_double.
22670 * sysdeps/powerpc/powerpc32/fpu/s_fabs.S: Remove file.
22671 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: Likewise.
22672 * sysdeps/powerpc/powerpc64/fpu/s_fabs.S: Likewise.
22673 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: Likewise.
22675 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22677 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Remove file.
22679 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC_DFLT,
22680 SPARC_ASM_IFUNC1, SPARC_ASM_IFUNC2, SET, SPARC_ASM_VIS2_IFUNC,
22681 SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
22683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Fix build
22684 due redirect macro.
22686 2017-12-01 Andreas Schwab <schwab@linux-m68k.org>
22688 * intl/Makefile ($(objpfx)plural.c): Add $(make-target-directory).
22690 2017-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22692 * sysdeps/sparc/sparc64/cpu_relax.c: New file.
22693 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.c: Likewise.
22694 * sysdeps/sparc/sparc64/cpu_relax.S: Remove file.
22695 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Likewise.
22697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22698 (libm-sysdep_routines): Add s_nearbyintf-generic and
22699 s_nearbyint-generic.
22700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-generic.S:
22702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.c: Likewise.
22703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-generic.S:
22705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.c:
22707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: Remove
22709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
22712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22713 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic.
22714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-generic.S: New
22716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.c: Likewise.
22717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-generic.S:
22719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.c: Likewise.
22720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Remove file.
22721 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22724 (libm-sysdep_routines): Add s_llrintf-generic and s_llrint-generic.
22725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-generic.S: New
22727 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.c: Likewise.
22728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-generic.S:
22730 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.c: Likewise.
22731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Remove file.
22732 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Likewise.
22734 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22735 (libm-sysdep_routines): Add s_fabsf-generic and s_fabs-generic.
22736 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-generic.S: New
22738 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.c: Likewise.
22739 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-generic.S:
22741 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.c: Likewise.
22742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Remove file.
22743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22745 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
22746 (sysdep_calls): New rule.
22747 (sysdep_routines): Use sysdep_calls as base.
22748 (libm-sysdep_routines): Add generic rule for symbols shared with
22749 libc. Add s_copysign-generic and s_copysign-generic objects.
22750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-generic.S:
22752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.c: Likewise.
22753 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-generic.S:
22755 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.c: Likewise.
22756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: Remove file.
22757 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: Likewise.
22759 2017-12-01 Mike FABIAN <mfabian@redhat.com>
22762 * localedata/Makefile: Add is_IS.UTF-8 to test-input and to
22763 the list of locales to be built for testing.
22764 * localedata/is_IS.UTF-8.in: New file.
22765 * localedata/locales/is_IS (LC_COLLATE): Base collation rules
22768 2017-12-01 Joseph Myers <joseph@codesourcery.com>
22770 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Include
22771 <libm-alias-float.h>.
22772 (fabsf): Define using libm_alias_float.
22774 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
22776 * sysdeps/mips/dl-machine.h (elf_machine_reloc): Expand MIN.
22778 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22780 * sysdeps/m68k/coldfire/fpu/s_fabsf.c: Include
22781 <libm-alias-float.h>.
22782 (fabsf): Define using libm_alias_float.
22783 * sysdeps/m68k/coldfire/fpu/s_lrintf.c: Include
22784 <libm-alias-float.h>.
22785 (lrintf): Define using libm_alias_float.
22786 * sysdeps/m68k/coldfire/fpu/s_rintf.c: Include
22787 <libm-alias-float.h>.
22788 (rintf): Define using libm_alias_float.
22790 * sysdeps/m68k/coldfire/fpu/s_fabs.c: Include
22791 <libm-alias-double.h>.
22792 (fabs): Define using libm_alias_double.
22793 * sysdeps/m68k/coldfire/fpu/s_lrint.c: Include
22794 <libm-alias-double.h>.
22795 (lrint): Define using libm_alias_double.
22796 * sysdeps/m68k/coldfire/fpu/s_rint.c: Include
22797 <libm-alias-double.h>.
22798 (rint): Define using libm_alias_double.
22800 * sysdeps/m68k/m680x0/fpu/s_atan_template.c: New file.
22801 * sysdeps/m68k/m680x0/fpu/s_ceil_template.c: Likewise.
22802 * sysdeps/m68k/m680x0/fpu/s_cos_template.c: Likewise.
22803 * sysdeps/m68k/m680x0/fpu/s_expm1_template.c: Likewise.
22804 * sysdeps/m68k/m680x0/fpu/s_fabs_template.c: Likewise.
22805 * sysdeps/m68k/m680x0/fpu/s_floor_template.c: Likewise.
22806 * sysdeps/m68k/m680x0/fpu/s_frexp_template.c: Likewise.
22807 * sysdeps/m68k/m680x0/fpu/s_lrint_template.c: Likewise.
22808 * sysdeps/m68k/m680x0/fpu/s_modf_template.c: Likewise.
22809 * sysdeps/m68k/m680x0/fpu/s_nearbyint_template.c: Likewise.
22810 * sysdeps/m68k/m680x0/fpu/s_remquo_template.c: Likewise.
22811 * sysdeps/m68k/m680x0/fpu/s_rint_template.c: Likewise.
22812 * sysdeps/m68k/m680x0/fpu/s_sin_template.c: Likewise.
22813 * sysdeps/m68k/m680x0/fpu/s_sincos_template.c: Likewise.
22814 * sysdeps/m68k/m680x0/fpu/s_tan_template.c: Likewise.
22815 * sysdeps/m68k/m680x0/fpu/s_tanh_template.c: Likewise.
22816 * sysdeps/m68k/m680x0/fpu/s_trunc_template.c: Likewise.
22817 * sysdeps/m68k/m680x0/fpu/s_atan.c: Reimplement to use
22819 * sysdeps/m68k/m680x0/fpu/s_atanf.c: Likewise.
22820 * sysdeps/m68k/m680x0/fpu/s_atanl.c: Likewise.
22821 * sysdeps/m68k/m680x0/fpu/s_ceil.c: Reimplement to use
22823 * sysdeps/m68k/m680x0/fpu/s_ceilf.c: Likewise.
22824 * sysdeps/m68k/m680x0/fpu/s_ceill.c: Likewise.
22825 * sysdeps/m68k/m680x0/fpu/s_cos.c: Reimplement to use
22827 * sysdeps/m68k/m680x0/fpu/s_cosf.c: Likewise.
22828 * sysdeps/m68k/m680x0/fpu/s_cosl.c: Likewise.
22829 * sysdeps/m68k/m680x0/fpu/s_expm1.c: Reimplement to use
22830 s_expm1_template.c.
22831 * sysdeps/m68k/m680x0/fpu/s_expm1f.c: Likewise.
22832 * sysdeps/m68k/m680x0/fpu/s_expm1l.c: Likewise.
22833 * sysdeps/m68k/m680x0/fpu/s_fabs.c: Reimplement to use
22835 * sysdeps/m68k/m680x0/fpu/s_fabsf.c: Likewise.
22836 * sysdeps/m68k/m680x0/fpu/s_fabsl.c: Likewise.
22837 * sysdeps/m68k/m680x0/fpu/s_floor.c: Reimplement to use
22838 s_floor_template.c.
22839 * sysdeps/m68k/m680x0/fpu/s_floorf.c: Likewise.
22840 * sysdeps/m68k/m680x0/fpu/s_floorl.c: Likewise.
22841 * sysdeps/m68k/m680x0/fpu/s_frexp.c: Reimplement to use
22842 s_frexp_template.c.
22843 * sysdeps/m68k/m680x0/fpu/s_frexpf.c: Likewise.
22844 * sysdeps/m68k/m680x0/fpu/s_lrint.c: Reimplement to use
22845 s_lrint_template.c.
22846 * sysdeps/m68k/m680x0/fpu/s_lrintf.c: Likewise.
22847 * sysdeps/m68k/m680x0/fpu/s_lrintl.c: Likewise.
22848 * sysdeps/m68k/m680x0/fpu/s_modf.c: Reimplement to use
22850 * sysdeps/m68k/m680x0/fpu/s_modff.c: Likewise.
22851 * sysdeps/m68k/m680x0/fpu/s_modfl.c: Likewise.
22852 * sysdeps/m68k/m680x0/fpu/s_nearbyint.c: Reimplement to use
22853 s_nearbyint_template.c.
22854 * sysdeps/m68k/m680x0/fpu/s_nearbyintf.c: Likewise.
22855 * sysdeps/m68k/m680x0/fpu/s_nearbyintl.c: Likewise.
22856 * sysdeps/m68k/m680x0/fpu/s_remquo.c: Reimplement to use
22857 s_remquo_template.c.
22858 * sysdeps/m68k/m680x0/fpu/s_remquof.c: Likewise.
22859 * sysdeps/m68k/m680x0/fpu/s_remquol.c: Likewise.
22860 * sysdeps/m68k/m680x0/fpu/s_rint.c: Reimplement to use
22862 * sysdeps/m68k/m680x0/fpu/s_rintf.c: Likewise.
22863 * sysdeps/m68k/m680x0/fpu/s_rintl.c: Likewise.
22864 * sysdeps/m68k/m680x0/fpu/s_sin.c: Reimplement to use
22866 * sysdeps/m68k/m680x0/fpu/s_sinf.c: Likewise.
22867 * sysdeps/m68k/m680x0/fpu/s_sinl.c: Likewise.
22868 * sysdeps/m68k/m680x0/fpu/s_sincos.c: Reimplement to use
22869 s_sincos_template.c.
22870 * sysdeps/m68k/m680x0/fpu/s_sincosf.c: Likewise.
22871 * sysdeps/m68k/m680x0/fpu/s_sincosl.c: Likewise.
22872 * sysdeps/m68k/m680x0/fpu/s_tan.c: Reimplement to use
22874 * sysdeps/m68k/m680x0/fpu/s_tanf.c: Likewise.
22875 * sysdeps/m68k/m680x0/fpu/s_tanl.c: Likewise.
22876 * sysdeps/m68k/m680x0/fpu/s_tanh.c: Reimplement to use
22878 * sysdeps/m68k/m680x0/fpu/s_tanhf.c: Likewise.
22879 * sysdeps/m68k/m680x0/fpu/s_tanhl.c: Likewise.
22880 * sysdeps/m68k/m680x0/fpu/s_trunc.c: Reimplement to use
22881 s_trunc_template.c.
22882 * sysdeps/m68k/m680x0/fpu/s_truncf.c: Likewise.
22883 * sysdeps/m68k/m680x0/fpu/s_truncl.c: Likewise.
22884 * sysdeps/m68k/m680x0/fpu/s_significand.c: Reimplement based on
22885 s_atan.c instead of including s_atan.c.
22886 * sysdeps/m68k/m680x0/fpu/s_significandf.c: Reimplement based on
22887 s_atanf.c instead of including s_atanf.c.
22888 * sysdeps/m68k/m680x0/fpu/s_significandl.c: Reimplement based on
22889 s_atanl.c instead of including s_atanl.c.
22890 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Include s_significand.c
22891 instead of s_atan.c.
22892 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Include s_significandf.c
22893 instead of s_atanf.c.
22894 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Include s_significandl.c
22895 instead of s_atanl.c.
22897 * scripts/update-copyrights: Do not handle intl/plural.c
22900 2017-11-30 Juro Bystricky <juro.bystricky@linux.intel.com>
22903 * configure.ac (BISON): Require to be present.
22904 * configure: Regenerated.
22905 * intl/Makefile (generated): Add plural.c.
22906 [$(BISON) != no]: Make code unconditional.
22907 (plural.c): Change rule to $(objpfx)plural.c.
22908 ($(objpfx)plural.o): Depend on $(objpfx)plural.c.
22909 * intl/plural.c: Remove.
22910 * manual/install.texi (Tools for Compilation): Document bison as
22912 * INSTALL: Regenerated.
22914 2017-11-30 Joseph Myers <joseph@codesourcery.com>
22916 * sysdeps/m68k/m680x0/fpu/s_llrint.c: Include
22917 <libm-alias-double.h>.
22918 (llrint): Define using libm_alias_double.
22919 * sysdeps/m68k/m680x0/fpu/s_llrintf.c: Include
22920 <libm-alias-float.h>.
22921 (llrintf): Define using libm_alias_float.
22922 * sysdeps/m68k/m680x0/fpu/s_llrintl.c: Include
22923 <libm-alias-ldouble.h>.
22924 (llrintl): Define using libm_alias_ldouble.
22926 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c (ccosh): Use
22927 declare_mgen_alias instead of weak_alias.
22928 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c (cexp): Likewise.
22929 * sysdeps/m68k/m680x0/fpu/s_csin_template.c (csin): Likewise.
22930 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c (csinh): Likewise.
22932 2017-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
22934 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22936 * sysdeps/sparc/sparc64/multiarch/add_n-generic.S: New file.
22937 * sysdeps/sparc/sparc64/multiarch/add_n.c: Likewise.
22938 * sysdeps/sparc/sparc64/multiarch/add_n.S: Remove file.
22940 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22941 Add submul_1-generic.
22942 * sysdeps/sparc/sparc64/multiarch/submul_1-generic.S: New file.
22943 * sysdeps/sparc/sparc64/multiarch/submul_1.c: Likewise.
22944 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Remove file.
22946 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22947 Add addmul_1-generic.
22948 * sysdeps/sparc/sparc64/multiarch/addmul_1-generic.S: New file.
22949 * sysdeps/sparc/sparc64/multiarch/addmul_1.c: Likewise.
22950 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Remove file.
22952 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22954 * sysdeps/sparc/sparc64/multiarch/sub_n-generic.S: New file.
22955 * sysdeps/sparc/sparc64/multiarch/sub_n.c: Likewise.
22956 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Remove file.
22958 * sysdeps/sparc/sparc64/multiarch/Makefile (sysdep_routines):
22960 * sysdeps/sparc/sparc64/multiarch/mul_1-generic.S: New file.
22961 * sysdeps/sparc/sparc64/multiarch/mul_1.c: Likewise.
22962 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Remove file.
22964 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22966 According to CLDR, collation rules for Serbian and Bosnian
22967 should be the same as for Croatian.
22970 * localedata/Makefile: Add sr_RS.UTF-8 and bs_BA.UTF-8 to test-input
22971 and to the list of locales to be built for testing.
22972 * localedata/bs_BA.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22973 * localedata/sr_RS.UTF-8.in: New file (same as hr_HR.UTF-8.in).
22974 * localedata/locales/bs_BA (LC_COLLATE): Use “copy "hr_HR"”.
22975 * localedata/locales/sr_RS (LC_COLLATE): Use “copy "hr_HR"”.
22977 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22979 * localedata/locales/hr_HR (LC_COLLATE): Fix collation
22980 to make test case pass.
22981 * localedata/hr_HR.UTF-8.in: Add more test strings.
22983 2017-11-30 Mike FABIAN <mfabian@redhat.com>
22985 * stdlib/tst-strfmon_l.c: Fix testcase. Needed because of [BZ #10580]
22987 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22989 * localedata/Makefile: Add hr_HR.UTF-8 to test-input and to
22990 the list of locales to built for testing.
22991 * localedata/hr_HR.UTF-8.in: New file.
22993 2017-11-30 Dragan Stanojević - Nevidljivi <invisible@hidden-city.net>
22996 * localedata/locales/hr_HR (LC_COLLATE): Base collation rules on
22998 * localedata/locales/hr_HR (LC_TIME): Sync month and day names with
22999 CLDR (except use ligatures for the digraphs, CLDR does not use
23000 the ligatures), add first_workday, some fixes in the date and time
23002 * localedata/locales/hr_HR (LC_CTYPE): Add transliteration rules
23004 * localedata/locales/hr_HR (LC_MONETARY): Change currency_symbol to
23005 lower case. p_cs_precedes and n_cs_precedes should be 0 instead of 1.
23006 Add int_p_cs_precedes and int_n_cs_precedes.
23007 * localedata/locales/hr_HR (LC_NUMERIC): Change thousands_sep to
23008 "<U202F>" (NARROW NO-BREAK SPACE) and grouping to 3;3 (Agrees with
23010 * localedata/locales/hr_HR (LC_TELEPHONE): Add tel_dom_fmt.
23011 * localedata/locales/hr_HR (LC_NAME): Add name_mr, name_mrs, and
23013 * localedata/locales/hr_HR (LC_ADDRESS): Add country_post, country_isbn,
23014 and lang_lib. Change postal_fmt.
23016 2017-11-30 H.J. Lu <hongjiu.lu@intel.com>
23018 * debug/longjmp_chk.c: Include <setjmpP.h> instead of
23020 * setjmp/longjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23021 (__libc_siglongjmp): Cast &env[0].__saved_mask to "sigset_t *".
23022 * setjmp/sigjmp.c: Include <setjmpP.h> instead of <setjmp.h>.
23023 (__sigjmp_save): Cast &env[0].__saved_mask to "sigset_t *".
23024 * sysdeps/generic/setjmpP.h: New file.
23025 * sysdeps/unix/sysv/linux/x86/jmp_buf-ssp.sym: Likewise.
23026 * sysdeps/unix/sysv/linux/x86/setjmpP.h: Likewise.
23027 * sysdeps/unix/sysv/linux/x86/tst-saved_mask-1.c: Likewise.
23028 * sysdeps/unix/sysv/linux/x86/Makefile (gen-as-const-headers):
23029 Add jmp_buf-ssp.sym.
23030 (tests): Add tst-saved_mask-1.
23032 2017-11-30 Arjun Shankar <arjun@redhat.com>
23036 * malloc/malloc.c (__libc_malloc): Use checked_request2size
23037 instead of request2size.
23039 2017-11-30 Joseph Myers <joseph@codesourcery.com>
23041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S
23042 (__lllrint): Remove alias.
23043 (lllrint): Likewise.
23044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S
23045 (__lllrintf): Likewise.
23046 (lllrintf): Likewise.
23048 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: Include
23049 <libm-alias-float.h>.
23050 (copysignf): Define using libm_alias_float.
23051 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Include
23052 <libm-alias-float.h>.
23053 (fabsf): Define using libm_alias_float.
23054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
23055 Include <libm-alias-float.h>.
23056 (copysignf): Define using libm_alias_float.
23057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Include
23058 <libm-alias-float.h>.
23059 (fabsf): Define using libm_alias_float.
23060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Include
23061 <libm-alias-float.h>.
23062 (fdimf): Define using libm_alias_float.
23063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Include
23064 <libm-alias-float.h>.
23065 (fmaf): Define using libm_alias_float.
23066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: Include
23067 <libm-alias-float.h>.
23068 (llrintf): Define using libm_alias_float.
23069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S:
23070 Include <libm-alias-float.h>.
23071 (nearbyintf): Define using libm_alias_float.
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Include
23073 <libm-alias-float.h>.
23074 (rintf): Define using libm_alias_float.
23075 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: Include
23076 <libm-alias-float.h>.
23077 (llrintf): Define using libm_alias_float.
23078 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: Include
23079 <libm-alias-float.h>.
23080 (lrintf): Define using libm_alias_float.
23081 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: Include
23082 <libm-alias-float.h>.
23083 (nearbyintf): Define using libm_alias_float.
23084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Include
23085 <libm-alias-float.h>.
23086 (rintf): Define using libm_alias_float.
23087 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Include
23088 <libm-alias-float.h>.
23089 (ceilf): Define using libm_alias_float.
23090 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Include
23091 <libm-alias-float.h>.
23092 (floorf): Define using libm_alias_float.
23093 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Include
23094 <libm-alias-float.h>.
23095 (fmaf): Define using libm_alias_float.
23096 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Include
23097 <libm-alias-float.h>.
23098 (lrintf): Define using libm_alias_float.
23099 (llrintf): Likewise.
23100 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Include
23101 <libm-alias-float.h>.
23102 (nearbyintf): Define using libm_alias_float.
23103 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Include
23104 <libm-alias-float.h>.
23105 (rintf): Define using libm_alias_float.
23106 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Include
23107 <libm-alias-float.h>.
23108 (truncf): Define using libm_alias_float.
23109 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: Include
23110 <libm-alias-float.h>.
23111 (copysignf): Define using libm_alias_float.
23112 * sysdeps/sparc/sparc64/fpu/s_fabsf.c: Include
23113 <libm-alias-float.h>.
23114 (fabsf): Define using libm_alias_float.
23115 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: Include
23116 <libm-alias-float.h>.
23117 (lrintf): Define using libm_alias_float.
23118 (llrintf): Likewise.
23119 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: Include
23120 <libm-alias-float.h>.
23121 (nearbyintf): Define using libm_alias_float.
23122 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Include
23123 <libm-alias-float.h>.
23124 (rintf): Define using libm_alias_float.
23126 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23128 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
23129 <libm-alias-double.h>.
23130 (copysign): Define using libm_alias_double.
23131 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include
23132 <libm-alias-double.h>.
23133 (fabs): Define using libm_alias_double.
23134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
23135 Include <libm-alias-double.h>.
23136 (copysign): Define using libm_alias_double.
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
23138 <libm-alias-double.h>.
23139 (fabs): Define using libm_alias_double.
23140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Include
23141 <libm-alias-double.h>.
23142 (fdim): Define using libm_alias_double.
23143 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Include
23144 <libm-alias-double.h>.
23145 (fma): Define using libm_alias_double.
23146 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Include
23147 <libm-alias-double.h>.
23148 (llrint): Define using libm_alias_double.
23149 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S:
23150 Include <libm-alias-double.h>.
23151 (nearbyint): Define using libm_alias_double.
23152 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Include
23153 <libm-alias-double.h>.
23154 (rint): Define using libm_alias_double.
23155 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23156 <libm-alias-double.h>.
23157 (fabs): Define using libm_alias_double.
23158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Include
23159 <libm-alias-double.h>.
23160 (llrint): Define using libm_alias_double.
23161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: Include
23162 <libm-alias-double.h>.
23163 (nearbyint): Define using libm_alias_double.
23164 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Include
23165 <libm-alias-double.h>.
23166 (rint): Define using libm_alias_double.
23167 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Include
23168 <libm-alias-double.h>.
23169 (ceil): Define using libm_alias_double.
23170 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Include
23171 <libm-alias-double.h>.
23172 (floor): Define using libm_alias_double.
23173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Include
23174 <libm-alias-double.h>.
23175 (fma): Define using libm_alias_double.
23176 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Include
23177 <libm-alias-double.h>.
23178 (lrint): Define using libm_alias_double.
23179 (llrint): Likewise.
23180 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Include
23181 <libm-alias-double.h>.
23182 (nearbyint): Define using libm_alias_double.
23183 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Include
23184 <libm-alias-double.h>.
23185 (rint): Define using libm_alias_double.
23186 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Include
23187 <libm-alias-double.h>.
23188 (trunc): Define using libm_alias_double.
23189 * sysdeps/sparc/sparc64/fpu/s_copysign.S: Include
23190 <libm-alias-double.h>.
23191 (copysign): Define using libm_alias_double.
23192 * sysdeps/sparc/sparc64/fpu/s_fabs.c: Include
23193 <libm-alias-double.h>.
23194 (fabs): Define using libm_alias_double.
23195 * sysdeps/sparc/sparc64/fpu/s_lrint.S: Include
23196 <libm-alias-double.h>.
23197 (lrint): Define using libm_alias_double.
23198 (llrint): Likewise.
23199 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: Include
23200 <libm-alias-double.h>.
23201 (nearbyint): Define using libm_alias_double.
23202 * sysdeps/sparc/sparc64/fpu/s_rint.S: Include
23203 <libm-alias-double.h>.
23204 (rint): Define using libm_alias_double.
23207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Include
23209 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
23211 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
23212 SPARC --disable-multi-arch glibc variants.
23214 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Include
23215 <libm-alias-float.h>.
23216 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23218 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Include
23219 <libm-alias-float.h>.
23220 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23222 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Include
23223 <libm-alias-float.h>.
23224 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23226 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Include
23227 <libm-alias-float.h>.
23228 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23230 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Include
23231 <libm-alias-float.h>.
23232 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Include
23235 <libm-alias-float.h>.
23236 (ceilf): Define using libm_alias_float.
23237 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Include
23238 <libm-alias-float.h>.
23239 (floorf): Define using libm_alias_float.
23240 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Include
23241 <libm-alias-float.h>.
23242 (fmaf): Define using libm_alias_float.
23243 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Include
23244 <libm-alias-float.h>.
23245 (nearbyintf): Define using libm_alias_float.
23246 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Include
23247 <libm-alias-float.h>.
23248 (rintf): Define using libm_alias_float.
23249 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Include
23250 <libm-alias-float.h>.
23251 (truncf): Define using libm_alias_float.
23252 * sysdeps/x86_64/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23253 (copysignf): Define using libm_alias_float.
23254 * sysdeps/x86_64/fpu/s_cosf.S: Include <libm-alias-float.h>.
23255 (cosf): Define using libm_alias_float.
23256 * sysdeps/x86_64/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23257 (fabsf): Define using libm_alias_float.
23258 * sysdeps/x86_64/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23259 (fmaxf): Define using libm_alias_float.
23260 * sysdeps/x86_64/fpu/s_fminf.S: Include <libm-alias-float.h>.
23261 (fminf): Define using libm_alias_float.
23262 * sysdeps/x86_64/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23263 (llrintf): Define using libm_alias_float.
23264 [!__ILP32__] (lrintf): Likewise.
23265 * sysdeps/x86_64/fpu/s_sincosf.S: Include <libm-alias-float.h>.
23266 (sincosf): Define using libm_alias_float.
23267 * sysdeps/x86_64/fpu/s_sinf.S: Include <libm-alias-float.h>.
23268 (sinf): Define using libm_alias_float.
23269 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23270 (lrintf): Define using libm_alias_float.
23272 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Include
23273 <libm-alias-double.h>.
23274 (atan): Define using libm_alias_double.
23275 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Include
23276 <libm-alias-double.h>.
23277 (ceil): Define using libm_alias_double.
23278 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Include
23279 <libm-alias-double.h>.
23280 (floor): Define using libm_alias_double.
23281 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Include
23282 <libm-alias-double.h>.
23283 (fma): Define using libm_alias_double.
23284 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Include
23285 <libm-alias-double.h>.
23286 (nearbyint): Define using libm_alias_double.
23287 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Include
23288 <libm-alias-double.h>.
23289 (rint): Define using libm_alias_double.
23290 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Include
23291 <libm-alias-double.h>.
23292 (sin): Define using libm_alias_double.
23294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Include
23295 <libm-alias-double.h>.
23296 (tan): Define using libm_alias_double.
23297 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Include
23298 <libm-alias-double.h>.
23299 (trunc): Define using libm_alias_double.
23300 * sysdeps/x86_64/fpu/s_copysign.S: Include <libm-alias-double.h>.
23301 (copysign): Define using libm_alias_double.
23302 * sysdeps/x86_64/fpu/s_fabs.c: Include <libm-alias-double.h>.
23303 (fabs): Define using libm_alias_double.
23304 * sysdeps/x86_64/fpu/s_fmax.S: Include <libm-alias-double.h>.
23305 (fmax): Define using libm_alias_double.
23306 * sysdeps/x86_64/fpu/s_fmin.S: Include <libm-alias-double.h>.
23307 (fmin): Define using libm_alias_double.
23308 * sysdeps/x86_64/fpu/s_llrint.S: Include <libm-alias-double.h>.
23309 (llrint): Define using libm_alias_double.
23310 [!__ILP32__] (lrint): Likewise.
23311 * sysdeps/x86_64/x32/fpu/s_lrint.S: Include <libm-alias-double.h>.
23312 (lrint): Define using libm_alias_double.
23314 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23317 (libm-sysdep_routines): Add s_rintf-generic and s_rint-generic
23319 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-generic.S: New file.
23320 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.c: Likewise.
23321 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-generic.S: Likewise.
23322 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.c: Likewise.
23323 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Remove file.
23324 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
23326 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23327 (libm-sysdep_routines): Add s_lrint-generic and s_lrintf-generic
23329 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-generic.S: New file.
23330 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.c: Likewise.
23331 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-generic.S: Likewise.
23332 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.c: Likewise.
23333 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Remove file.
23334 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
23336 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
23337 (libm-sysdep_routines): Add s_nearbyint-generic and
23338 s_nearbyintf-generic objects.
23339 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-generic.S: New file.
23340 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.c: Likewise.
23341 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-generic.S: Likewise.
23342 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.c: Likewise.
23343 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: Remove file.
23344 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: Likewise.
23346 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23347 Add s_finitef-generic and s_finite-generic objects.
23348 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-generic.S: New file.
23349 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.c: Likewise.
23350 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-generic.S: Likewise.
23351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.c: Likewise.
23352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Remove file.
23353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Remove file.
23355 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23356 Add s_isinff-generic and s_isinf-generic objects.
23357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-generic.S: New file.
23358 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.c: Likewise.
23359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-generic.S: Likewise.
23360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.c: Likewise.
23361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Remove file.
23362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
23364 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdeps_calls):
23365 Add s_isnanf-generic and s_isnan-generic objects.
23366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-generic.S: New file.
23367 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-generic.S: Likewise.
23368 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.c: Likewise.
23369 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.c: Likewise.
23370 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Remove file.
23371 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
23373 * sysdeps/sparc/sparc-ifunc.h (sparc_libm_ifunc_redirected): New
23375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile (sysdep_calls): New
23377 (sysdep_routines): Use sysdep_calls as base.
23378 (libm-sysdep_routines): Add generic rule for symbols shared with
23379 libc. Add s_signbit-generic and s_signbitf-generic objects.
23380 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.c: New file.
23381 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.c: Likewise.
23382 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-generic.S: Likewise.
23383 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-generic.S: Likewise.
23384 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Remove file.
23385 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
23387 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23389 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-float.h>.
23390 * sysdeps/ia64/fpu/e_acosf.S (acosf): Use libm_alias_float_other.
23391 * sysdeps/ia64/fpu/e_acoshf.S (acoshf): Likewise.
23392 * sysdeps/ia64/fpu/e_asinf.S (asinf): Likewise.
23393 * sysdeps/ia64/fpu/e_atan2f.S (atan2f): Likewise.
23394 * sysdeps/ia64/fpu/e_atanhf.S (atanhf): Likewise.
23395 * sysdeps/ia64/fpu/e_coshf.S (coshf): Likewise.
23396 * sysdeps/ia64/fpu/e_exp10f.S (exp10f): Likewise.
23397 * sysdeps/ia64/fpu/e_exp2f.S (exp2f): Likewise.
23398 * sysdeps/ia64/fpu/e_expf.S (expf): Likewise.
23399 * sysdeps/ia64/fpu/e_fmodf.S (fmodf): Likewise.
23400 * sysdeps/ia64/fpu/e_hypotf.S (hypotf): Likewise.
23401 * sysdeps/ia64/fpu/e_lgammaf_r.c (lgammaf_r): Define using
23402 libm_alias_float_r.
23403 * sysdeps/ia64/fpu/e_log2f.S (log2f): Use libm_alias_float_other.
23404 * sysdeps/ia64/fpu/e_logf.S (log10f): Likewise.
23406 * sysdeps/ia64/fpu/e_powf.S (powf): Likewise.
23407 * sysdeps/ia64/fpu/e_remainderf.S (remainderf): Likewise.
23408 * sysdeps/ia64/fpu/e_sinhf.S (sinhf): Likewise.
23409 * sysdeps/ia64/fpu/e_sqrtf.S (sqrtf): Likewise.
23410 * sysdeps/ia64/fpu/libm_sincosf.S (sincosf): Likewise.
23411 * sysdeps/ia64/fpu/s_asinhf.S (asinhf): Likewise.
23412 * sysdeps/ia64/fpu/s_atanf.S (atanf): Likewise.
23413 * sysdeps/ia64/fpu/s_cbrtf.S (cbrtf): Likewise.
23414 * sysdeps/ia64/fpu/s_ceilf.S (ceilf): Likewise.
23415 * sysdeps/ia64/fpu/s_copysign.S (copysignf): Define using
23417 * sysdeps/ia64/fpu/s_cosf.S (sinf): Use libm_alias_float_other.
23419 * sysdeps/ia64/fpu/s_erfcf.S (erfcf): Likewise.
23420 * sysdeps/ia64/fpu/s_erff.S (erff): Likewise.
23421 * sysdeps/ia64/fpu/s_expm1f.S (expm1f): Likewise.
23422 * sysdeps/ia64/fpu/s_fabsf.S (fabsf): Likewise.
23423 * sysdeps/ia64/fpu/s_fdimf.S (fdimf): Likewise.
23424 * sysdeps/ia64/fpu/s_floorf.S (floorf): Likewise.
23425 * sysdeps/ia64/fpu/s_fmaf.S (fmaf): Likewise.
23426 * sysdeps/ia64/fpu/s_fmaxf.S (fmaxf): Likewise.
23427 * sysdeps/ia64/fpu/s_frexpf.c (frexpf): Likewise.
23428 * sysdeps/ia64/fpu/s_ldexpf.c (ldexpf): Likewise.
23429 * sysdeps/ia64/fpu/s_log1pf.S (log1pf): Likewise.
23430 * sysdeps/ia64/fpu/s_logbf.S (logbf): Likewise.
23431 * sysdeps/ia64/fpu/s_modff.S (modff): Likewise.
23432 * sysdeps/ia64/fpu/s_nearbyintf.S (nearbyintf): Likewise.
23433 * sysdeps/ia64/fpu/s_nextafterf.S (nextafterf): Likewise.
23434 * sysdeps/ia64/fpu/s_rintf.S (rintf): Likewise.
23435 * sysdeps/ia64/fpu/s_roundf.S (roundf): Likewise.
23436 * sysdeps/ia64/fpu/s_scalblnf.c (scalblnf): Likewise.
23437 * sysdeps/ia64/fpu/s_scalbnf.c (scalbnf): Define using
23439 * sysdeps/ia64/fpu/s_tanf.S (tanf): Use libm_alias_float_other.
23440 * sysdeps/ia64/fpu/s_tanhf.S (tanhf): Likewise.
23441 * sysdeps/ia64/fpu/s_truncf.S (truncf): Likewise.
23442 * sysdeps/ia64/fpu/w_lgammaf_main.c
23443 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammaf): Likewise.
23444 * sysdeps/ia64/fpu/w_tgammaf_compat.S (tgammaf): Likewise.
23446 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23447 Alexandre Oliva <aoliva@redhat.com>
23450 * Makefile: add fr_CA.UTF-8 to test-input and LOCALES.
23451 * localedata/fr_CA.UTF-8.in: New file with test data for backward
23453 * localedata/fr_FR.UTF-8.in: Fix test data for forward accents
23455 * localedata/locales/cs_CZ (LC_COLLATE): Remove “define DIACRIT_FORWARD”
23456 * localedata/locales/de_DE (LC_COLLATE): Likewise.
23457 * localedata/locales/hu_HU (LC_COLLATE): Likewise.
23458 * localedata/locales/lb_LU (LC_COLLATE): Likewise.
23459 * localedata/locales/yuw_PG (LC_COLLATE): Likewise.
23460 * localedata/locales/fr_CA (LC_COLLATE): Add “define DIACRIT_BACKWARD”
23461 * localedata/locales/iso14651_t1_common: Use “ifdef DIACRIT_FORWARD”
23462 instead of “ifdef DIACRIT_BACKWARD”.
23464 2017-11-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23466 * config.h.in (HAVE_AS_VIS3_SUPPORT): Remove check for VIS3 support.
23467 * sysdeps/sparc/configure.ac (HAVE_AS_VIS3_SUPPORT): Likewise.
23468 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
23469 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c: Likewise.
23470 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: Likewise.
23471 * sysdeps//sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: Likewise.
23472 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
23473 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
23474 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
23475 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
23476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: Likewise.
23477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: Likewise.
23478 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
23479 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
23480 * sysdeps/sparc/sparc-ifunc.h [!HAVE_AS_VIS3_SUPPORT]
23481 (SPARC_ASM_VIS3_IFUNC, SPARC_ASM_VIS3_VIS2_IFUNC): Remove macros.
23482 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(have-as-vis3) != yes]
23483 (ASFLAGS.o, ASFLAGS-.os, ASFLAGS-.op, ASFLAGS-.oS): Remove rules.
23484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
23485 ($(have-as-vis3) == yes): Remove conditional.
23486 * sysdeps/sparc/sparc64/Makefile (($(have-as-vis3) == yes)):
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-generic.c: New
23490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-generic.c: New
23492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-generic.c: New
23494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-generic.c: New
23496 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-generic.c: New file.
23497 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-generic.c: New file.
23498 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-generic.c: New file.
23499 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-generic.c: New file.
23500 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-generic.c: New file.
23501 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-generic.c: New file.
23502 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-generic.c: New file.
23503 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-generic.c: New file.
23505 2017-11-29 Joseph Myers <joseph@codesourcery.com>
23507 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-double.h>.
23508 * sysdeps/ia64/fpu/e_acos.S (acos): Use libm_alias_double_other.
23509 * sysdeps/ia64/fpu/e_acosh.S (acosh): Likewise.
23510 * sysdeps/ia64/fpu/e_asin.S (asin): Likewise.
23511 * sysdeps/ia64/fpu/e_atan2.S (atan2): Likewise.
23512 * sysdeps/ia64/fpu/e_atanh.S (atanh): Likewise.
23513 * sysdeps/ia64/fpu/e_cosh.S (cosh): Likewise.
23514 * sysdeps/ia64/fpu/e_exp.S (exp): Likewise.
23515 * sysdeps/ia64/fpu/e_exp10.S (exp10): Likewise.
23516 * sysdeps/ia64/fpu/e_exp2.S (exp2): Likewise.
23517 * sysdeps/ia64/fpu/e_fmod.S (fmod): Likewise.
23518 * sysdeps/ia64/fpu/e_hypot.S (hypot): Likewise.
23519 * sysdeps/ia64/fpu/e_lgamma_r.c (lgamma_r): Define using
23520 libm_alias_double_r.
23521 * sysdeps/ia64/fpu/e_log.S (log10): Use libm_alias_double_other.
23523 * sysdeps/ia64/fpu/e_log2.S (log2): Likewise.
23524 * sysdeps/ia64/fpu/e_pow.S (pow): Likewise.
23525 * sysdeps/ia64/fpu/e_remainder.S (remainder): Likewise.
23526 * sysdeps/ia64/fpu/e_sinh.S (sinh): Likewise.
23527 * sysdeps/ia64/fpu/e_sqrt.S (sqrt): Likewise.
23528 * sysdeps/ia64/fpu/libm_sincos.S (sincos): Likewise.
23529 * sysdeps/ia64/fpu/s_asinh.S (asinh): Likewise.
23530 * sysdeps/ia64/fpu/s_atan.S (atan): Likewise.
23531 * sysdeps/ia64/fpu/s_cbrt.S (cbrt): Likewise.
23532 * sysdeps/ia64/fpu/s_ceil.S (ceil): Likewise.
23533 * sysdeps/ia64/fpu/s_copysign.S (copysign): Define using
23535 * sysdeps/ia64/fpu/s_cos.S (sin): Use libm_alias_double_other.
23537 * sysdeps/ia64/fpu/s_erf.S (erf): Likewise.
23538 * sysdeps/ia64/fpu/s_erfc.S (erfc): Likewise.
23539 * sysdeps/ia64/fpu/s_expm1.S (expm1): Likewise.
23540 * sysdeps/ia64/fpu/s_fabs.S (fabs): Likewise.
23541 * sysdeps/ia64/fpu/s_fdim.S (fdim): Likewise.
23542 * sysdeps/ia64/fpu/s_floor.S (floor): Likewise.
23543 * sysdeps/ia64/fpu/s_fma.S (fma): Likewise.
23544 * sysdeps/ia64/fpu/s_fmax.S (fmax): Likewise.
23545 * sysdeps/ia64/fpu/s_frexp.c (frexp): Likewise.
23546 * sysdeps/ia64/fpu/s_ldexp.c (ldexp): Likewise.
23547 * sysdeps/ia64/fpu/s_log1p.S (log1p): Likewise.
23548 * sysdeps/ia64/fpu/s_logb.S (logb): Likewise.
23549 * sysdeps/ia64/fpu/s_modf.S (modf): Likewise.
23550 * sysdeps/ia64/fpu/s_nearbyint.S (nearbyint): Likewise.
23551 * sysdeps/ia64/fpu/s_nextafter.S (nextafter): Likewise.
23552 * sysdeps/ia64/fpu/s_rint.S (rint): Likewise.
23553 * sysdeps/ia64/fpu/s_round.S (round): Likewise.
23554 * sysdeps/ia64/fpu/s_scalbn.c (scalbn): Define using
23556 * sysdeps/ia64/fpu/s_tan.S (tan): Use libm_alias_double_other.
23557 * sysdeps/ia64/fpu/s_tanh.S (tanh): Likewise.
23558 * sysdeps/ia64/fpu/s_trunc.S (trunc): Likewise.
23559 * sysdeps/ia64/fpu/w_lgamma_main.c
23560 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgamma): Likewise.
23561 * sysdeps/ia64/fpu/w_tgamma_compat.S (tgamma): Likewise.
23563 2017-11-28 John David Anglin <danglin@gcc.gnu.org>
23565 * sysdeps/hppa/start.S (_start): Check PIC instead of SHARED. Load
23566 address of $global$ into %dp register earlier. Use pc-relative
23567 instruction sequence for PIC case.
23569 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23571 * sysdeps/i386/fpu/s_asinhf.S: Include <libm-alias-float.h>.
23572 (asinhf): Define using libm_alias_float.
23573 * sysdeps/i386/fpu/s_atanf.S: Include <libm-alias-float.h>.
23574 (atanf): Define using libm_alias_float.
23575 * sysdeps/i386/fpu/s_cbrtf.S: Include <libm-alias-float.h>.
23576 (cbrtf): Define using libm_alias_float.
23577 * sysdeps/i386/fpu/s_ceilf.S: Include <libm-alias-float.h>.
23578 (ceilf): Define using libm_alias_float.
23579 * sysdeps/i386/fpu/s_copysignf.S: Include <libm-alias-float.h>.
23580 (copysignf): Define using libm_alias_float.
23581 * sysdeps/i386/fpu/s_expm1f.S: Include <libm-alias-float.h>.
23582 (expm1f): Define using libm_alias_float.
23583 * sysdeps/i386/fpu/s_fabsf.S: Include <libm-alias-float.h>.
23584 (fabsf): Define using libm_alias_float.
23585 * sysdeps/i386/fpu/s_floorf.S: Include <libm-alias-float.h>.
23586 (floorf): Define using libm_alias_float.
23587 * sysdeps/i386/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23588 (fmaxf): Define using libm_alias_float.
23589 * sysdeps/i386/fpu/s_fminf.S: Include <libm-alias-float.h>.
23590 (fminf): Define using libm_alias_float.
23591 * sysdeps/i386/fpu/s_frexpf.S: Include <libm-alias-float.h>.
23592 (frexpf): Define using libm_alias_float.
23593 * sysdeps/i386/fpu/s_llrintf.S: Include <libm-alias-float.h>.
23594 (llrintf): Define using libm_alias_float.
23595 * sysdeps/i386/fpu/s_logbf.S: Include <libm-alias-float.h>.
23596 (logbf): Define using libm_alias_float.
23597 * sysdeps/i386/fpu/s_lrintf.S: Include <libm-alias-float.h>.
23598 (lrintf): Define using libm_alias_float.
23599 * sysdeps/i386/fpu/s_nearbyintf.S: Include <libm-alias-float.h>.
23600 (nearbyintf): Define using libm_alias_float.
23601 * sysdeps/i386/fpu/s_remquof.S: Include <libm-alias-float.h>.
23602 (remquof): Define using libm_alias_float.
23603 * sysdeps/i386/fpu/s_rintf.S: Include <libm-alias-float.h>.
23604 (rintf): Define using libm_alias_float.
23605 * sysdeps/i386/fpu/s_truncf.S: Include <libm-alias-float.h>.
23606 (truncf): Define using libm_alias_float.
23607 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Include
23608 <libm-alias-float.h>.
23609 (exp2f): Define using libm_alias_float, or libm_alias_float_other
23611 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Include
23612 <libm-alias-float.h>.
23613 (expf): Define using libm_alias_float, or libm_alias_float_other
23615 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Include
23616 <libm-alias-float.h>.
23617 (log2f): Define using libm_alias_float, or libm_alias_float_other
23619 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Include
23620 <libm-alias-float.h>.
23621 (logf): Define using libm_alias_float, or libm_alias_float_other
23623 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Include
23624 <libm-alias-float.h>.
23625 (powf): Define using libm_alias_float, or libm_alias_float_other
23627 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Include
23628 <libm-alias-float.h>.
23629 (cosf): Define using libm_alias_float.
23630 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Include
23631 <libm-alias-float.h>.
23632 (sincosf): Define using libm_alias_float.
23633 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Include
23634 <libm-alias-float.h>.
23635 (sinf): Define using libm_alias_float.
23636 * sysdeps/i386/i686/fpu/s_fmaxf.S: Include <libm-alias-float.h>.
23637 (fmaxf): Define using libm_alias_float.
23638 * sysdeps/i386/i686/fpu/s_fminf.S: Include <libm-alias-float.h>.
23639 (fminf): Define using libm_alias_float.
23640 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
23641 <libm-alias-float.h>.
23642 (fmaf): Define using libm_alias_float.
23644 * sysdeps/i386/fpu/s_asinh.S: Include <libm-alias-double.h>.
23645 (asinh): Define using libm_alias_double.
23646 * sysdeps/i386/fpu/s_atan.S: Include <libm-alias-double.h>.
23647 (atan): Define using libm_alias_double.
23648 * sysdeps/i386/fpu/s_cbrt.S: Include <libm-alias-double.h>.
23649 (cbrt): Define using libm_alias_double.
23650 * sysdeps/i386/fpu/s_ceil.S: Include <libm-alias-double.h>.
23651 (ceil): Define using libm_alias_double.
23652 * sysdeps/i386/fpu/s_copysign.S: Include <libm-alias-double.h>.
23653 (copysign): Define using libm_alias_double.
23654 * sysdeps/i386/fpu/s_expm1.S: Include <libm-alias-double.h>.
23655 (expm1): Define using libm_alias_double.
23656 * sysdeps/i386/fpu/s_fabs.S: Include <libm-alias-double.h>.
23657 (fabs): Define using libm_alias_double.
23658 * sysdeps/i386/fpu/s_fdim.c: Include <libm-alias-double.h>.
23659 (fdim): Define using libm_alias_double.
23660 * sysdeps/i386/fpu/s_floor.S: Include <libm-alias-double.h>.
23661 (floor): Define using libm_alias_double.
23662 * sysdeps/i386/fpu/s_fmax.S: Include <libm-alias-double.h>.
23663 (fmax): Define using libm_alias_double.
23664 * sysdeps/i386/fpu/s_fmin.S: Include <libm-alias-double.h>.
23665 (fmin): Define using libm_alias_double.
23666 * sysdeps/i386/fpu/s_frexp.S: Include <libm-alias-double.h>.
23667 (frexp): Define using libm_alias_double.
23668 * sysdeps/i386/fpu/s_llrint.S: Include <libm-alias-double.h>.
23669 (llrint): Define using libm_alias_double.
23670 * sysdeps/i386/fpu/s_logb.S: Include <libm-alias-double.h>.
23671 (logb): Define using libm_alias_double.
23672 * sysdeps/i386/fpu/s_lrint.S: Include <libm-alias-double.h>.
23673 (lrint): Define using libm_alias_double.
23674 * sysdeps/i386/fpu/s_nearbyint.S: Include <libm-alias-double.h>.
23675 (nearbyint): Define using libm_alias_double.
23676 * sysdeps/i386/fpu/s_remquo.S: Include <libm-alias-double.h>.
23677 (remquo): Define using libm_alias_double.
23678 * sysdeps/i386/fpu/s_rint.S: Include <libm-alias-double.h>.
23679 (rint): Define using libm_alias_double.
23680 * sysdeps/i386/fpu/s_trunc.S: Include <libm-alias-double.h>.
23681 (trunc): Define using libm_alias_double.
23682 * sysdeps/i386/i686/fpu/s_fmax.S: Include <libm-alias-double.h>.
23683 (fmax): Define using libm_alias_double.
23684 * sysdeps/i386/i686/fpu/s_fmin.S: Include <libm-alias-double.h>.
23685 (fmin): Define using libm_alias_double.
23686 * sysdeps/i386/i686/multiarch/s_fma.c: Include <libm-alias-double.h>.
23687 (fma): Define using libm_alias_double.
23689 2017-11-28 H.J. Lu <hongjiu.lu@intel.com>
23692 * elf/dl-hwcaps.c (ROUND): Removed.
23693 (_dl_important_hwcaps): Replace ROUND with ELF_NOTE_DESC_OFFSET
23694 and ELF_NOTE_NEXT_OFFSET.
23695 * elf/dl-load.c (ROUND): Removed.
23696 (open_verify): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23697 * elf/readelflib.c (ROUND): Removed.
23698 (process_elf_file): Replace ROUND with ELF_NOTE_NEXT_OFFSET.
23699 * include/elf.h [!_ISOMAC]: Include <libc-pointer-arith.h>.
23700 [!_ISOMAC] (ELF_NOTE_DESC_OFFSET): New.
23701 [!_ISOMAC] (ELF_NOTE_NEXT_OFFSET): Likewise.
23703 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23705 * sysdeps/s390/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23706 [!__fmaf] (fmaf): Define using libm_alias_float.
23708 * sysdeps/s390/fpu/s_fma.c: Include <libm-alias-double.h>.
23709 [!__fma] (fma): Define using libm_alias_double.
23710 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: Remove.
23712 2017-11-28 Mike FABIAN <mfabian@redhat.com>
23715 * localedata/locales/cs_CZ (LC_COLLATE): Use “copy "iso14651_t1"”
23716 and implement the collation rules for cs from CLDR on top of that.
23717 * Makefile: Add cs_CZ.UTF-8 to test-input.
23718 * cs_CZ.UTF-8.in: New file with test data to test the Czech sorting.
23720 2017-11-28 Siddhesh Poyarekar <siddhesh@sourceware.org>
23722 * localedata/Makefile (LOCALES): Remove duplicate cs_CZ.UTF-8.
23724 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23725 Icarus Sparry <icarus.w.sparry@intel.com>
23727 * benchtests/Makefile:Add BENCHSET to allow subsets of
23728 benchmarks to be run.
23729 * benchtests/README: Add documentation for: Running subsets of
23732 2017-11-28 Victor Rodriguez <victor.rodriguez.bahena@intel.com>
23734 * benchtests/scripts/benchout.schema.json: Fix regex to accept a wider
23735 range of tests names.
23737 * benchtests/scripts/benchout.schema.json: Add throughput as accepted
23738 result from property and remove "max", min" and "mean" from
23739 required properties based on benchtests/bench-skeleton.c.
23741 2017-11-28 Florian Weimer <fweimer@redhat.com>
23744 Turn posix/tst-getaddrinfo4, posix/tst-getaddrinfo5 into xtests
23745 due to Internet requirement.
23746 * posix/Makefile (tests): Remove tst-getaddrinfo4,
23748 (xtests): Add tst-getaddrinfo4, tst-getaddrinfo5.
23750 2017-11-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23752 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23753 [$(subdir) = string] (sysdep_routines): Add memset-ultra1.
23754 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23755 (sysdep_routines): Add memset-ultra1.
23756 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-ultra1.S: New
23758 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.c: Likewise.
23759 * sysdeps/sparc/sparc32/sparcv9/multiarch/bzero.c: Likewise.
23760 * sysdeps/sparc/sparc64/multiarch/ifunc-memset.h: Likewise.
23761 * sysdeps/sparc/sparc64/multiarch/memset-ultra1.S: Likewise.
23762 * sysdeps/sparc/sparc64/multiarch/memset.c: Likewise.
23763 * sysdeps/sparc/sparc64/multiarch/bzero.c: Likewise.
23764 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset.S: Remove file.
23765 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23767 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-ultra1.S: New
23769 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.c: Likewise.
23770 * sysdeps/sparc/sparc32/sparcv9/multiarch/mempcpy.c: Likewise.
23771 * sysdeps/sparc/sparc64/multiarch/ifunc-memcpy.h: Likewise.
23772 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra1.S: Likewise.
23773 * sysdeps/sparc/sparc64/multiarch/memcpy.c: Likewise.
23774 * sysdeps/sparc/sparc64/multiarch/mempcpy.c: Likewise.
23775 * sysdeps/sparc/sparc-ifunc.h (sparc_libc_ifunc_redirected): New
23777 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile
23778 [$(subdir) = string] (sysdep_routines): Add memcpy-ultra1.
23779 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = string]
23780 (sysdep_routines): Add memcpy-ultra1.
23781 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Remove file.
23782 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy.S: Likewise.
23784 2017-11-28 Joseph Myers <joseph@codesourcery.com>
23786 * sysdeps/alpha/fpu/cfloat-compat.h: Include <libm-alias-float.h>.
23787 (cfloat_versions): Take function argument without trailing 'f'.
23788 Call libm_alias_float_other.
23789 * sysdeps/alpha/fpu/cabsf.c: Update call to cfloat_versions.
23790 * sysdeps/alpha/fpu/cargf.c: Likewise.
23791 * sysdeps/alpha/fpu/cimagf.c: Likewise.
23792 * sysdeps/alpha/fpu/conjf.c: Likewise.
23793 * sysdeps/alpha/fpu/crealf.c: Likewise.
23794 * sysdeps/alpha/fpu/s_cacosf.c: Likewise.
23795 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
23796 * sysdeps/alpha/fpu/s_casinf.c: Likewise.
23797 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
23798 * sysdeps/alpha/fpu/s_catanf.c: Likewise.
23799 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
23800 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
23801 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
23802 * sysdeps/alpha/fpu/s_cexpf.c: Likewise.
23803 * sysdeps/alpha/fpu/s_clogf.c: Likewise.
23804 * sysdeps/alpha/fpu/s_cpowf.c: Likewise.
23805 * sysdeps/alpha/fpu/s_cprojf.c: Likewise.
23806 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
23807 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
23808 * sysdeps/alpha/fpu/s_csqrtf.c: Likewise.
23809 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
23810 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
23811 * sysdeps/alpha/fpu/s_clog10f.c: Include <libm-alias-float.h>.
23812 (clog10f): Use libm_alias_float_other.
23813 * sysdeps/alpha/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23814 (ceilf): Define using libm_alias_float.
23815 * sysdeps/alpha/fpu/s_copysignf.c: Include <libm-alias-float.h>.
23816 (copysignf): Define using libm_alias_float.
23817 * sysdeps/alpha/fpu/s_fabsf.c: Include <libm-alias-float.h>.
23818 (fabsf): Define using libm_alias_float.
23819 * sysdeps/alpha/fpu/s_floorf.c: Include <libm-alias-float.h>.
23820 (floorf): Define using libm_alias_float.
23821 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-float.h>.
23822 (fmaxf): Define using libm_alias_float.
23823 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-float.h>.
23824 (fminf): Define using libm_alias_float.
23825 * sysdeps/alpha/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23826 (lrintf): Define using libm_alias_float.
23827 (llrintf): Likewise.
23828 * sysdeps/alpha/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23829 (lroundf): Define using libm_alias_float.
23830 (llroundf): Likewise.
23831 * sysdeps/alpha/fpu/s_rintf.c: Include <libm-alias-float.h>.
23832 (rintf): Define using libm_alias_float.
23833 * sysdeps/alpha/fpu/s_truncf.c: Include <libm-alias-float.h>.
23834 (truncf): Define using libm_alias_float.
23836 * sysdeps/aarch64/fpu/s_ceilf.c: Include <libm-alias-float.h>.
23837 (ceilf): Define using libm_alias_float.
23838 * sysdeps/aarch64/fpu/s_floorf.c: Include <libm-alias-float.h>.
23839 (floorf): Define using libm_alias_float.
23840 * sysdeps/aarch64/fpu/s_fmaf.c: Include <libm-alias-float.h>.
23841 (fmaf): Define using libm_alias_float.
23842 * sysdeps/aarch64/fpu/s_fmaxf.c: Include <libm-alias-float.h>.
23843 (fmaxf): Define using libm_alias_float.
23844 * sysdeps/aarch64/fpu/s_fminf.c: Include <libm-alias-float.h>.
23845 (fminf): Define using libm_alias_float.
23846 * sysdeps/aarch64/fpu/s_llrintf.c: Include <libm-alias-float.h>.
23847 (llrintf): Define using libm_alias_float.
23848 * sysdeps/aarch64/fpu/s_llroundf.c: Include <libm-alias-float.h>.
23849 (llroundf): Define using libm_alias_float.
23850 * sysdeps/aarch64/fpu/s_lrintf.c: Include <libm-alias-float.h>.
23851 (lrintf): Define using libm_alias_float.
23852 * sysdeps/aarch64/fpu/s_lroundf.c: Include <libm-alias-float.h>.
23853 (lroundf): Define using libm_alias_float.
23854 * sysdeps/aarch64/fpu/s_nearbyintf.c: Include
23855 <libm-alias-float.h>.
23856 (nearbyintf): Define using libm_alias_float.
23857 * sysdeps/aarch64/fpu/s_rintf.c: Include <libm-alias-float.h>.
23858 (rintf): Define using libm_alias_float.
23859 * sysdeps/aarch64/fpu/s_roundf.c: Include <libm-alias-float.h>.
23860 (roundf): Define using libm_alias_float.
23861 * sysdeps/aarch64/fpu/s_truncf.c: Include <libm-alias-float.h>.
23862 (truncf): Define using libm_alias_float.
23864 * sysdeps/alpha/fpu/s_ceil.c: Include <libm-alias-double.h>.
23865 (ceil): Define using libm_alias_double.
23866 * sysdeps/alpha/fpu/s_copysign.c: Include <libm-alias-double.h>.
23867 (copysign): Define using libm_alias_double.
23868 * sysdeps/alpha/fpu/s_fabs.c: Include <libm-alias-double.h>.
23869 (fabs): Define using libm_alias_double.
23870 * sysdeps/alpha/fpu/s_floor.c: Include <libm-alias-double.h>.
23871 (floor): Define using libm_alias_double.
23872 * sysdeps/alpha/fpu/s_fmax.S: Include <libm-alias-double.h>.
23873 (fmax): Define using libm_alias_double.
23874 * sysdeps/alpha/fpu/s_fmin.S: Include <libm-alias-double.h>.
23875 (fmin): Define using libm_alias_double.
23876 * sysdeps/alpha/fpu/s_lrint.c: Include <libm-alias-double.h>.
23877 (lrint): Define using libm_alias_double.
23878 (llrint): Likewise.
23879 * sysdeps/alpha/fpu/s_lround.c: Include <libm-alias-double.h>.
23880 (lround): Define using libm_alias_double.
23881 (llround): Likewise.
23882 * sysdeps/alpha/fpu/s_rint.c: Include <libm-alias-double.h>.
23883 (rint): Define using libm_alias_double.
23884 * sysdeps/alpha/fpu/s_trunc.c: Include <libm-alias-double.h>.
23885 (trunc): Define using libm_alias_double.
23887 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
23888 (libm_alias_double_r): Add semicolon after weak_alias call.
23890 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23892 * sysdeps/aarch64/fpu/s_ceil.c: Include <libm-alias-double.h>.
23893 (ceil): Define using libm_alias_double.
23894 * sysdeps/aarch64/fpu/s_floor.c: Include <libm-alias-double.h>.
23895 (floor): Define using libm_alias_double.
23896 * sysdeps/aarch64/fpu/s_fma.c: Include <libm-alias-double.h>.
23897 (fma): Define using libm_alias_double.
23898 * sysdeps/aarch64/fpu/s_fmax.c: Include <libm-alias-double.h>.
23899 (fmax): Define using libm_alias_double.
23900 * sysdeps/aarch64/fpu/s_fmin.c: Include <libm-alias-double.h>.
23901 (fmin): Define using libm_alias_double.
23902 * sysdeps/aarch64/fpu/s_llrint.c: Include <libm-alias-double.h>.
23903 (llrint): Define using libm_alias_double.
23904 * sysdeps/aarch64/fpu/s_llround.c: Include <libm-alias-double.h>.
23905 (llround): Define using libm_alias_double.
23906 * sysdeps/aarch64/fpu/s_lrint.c: Include <libm-alias-double.h>.
23907 (lrint): Define using libm_alias_double.
23908 * sysdeps/aarch64/fpu/s_lround.c: Include <libm-alias-double.h>.
23909 (lround): Define using libm_alias_double.
23910 * sysdeps/aarch64/fpu/s_nearbyint.c: Include <libm-alias-double.h>.
23911 (nearbyint): Define using libm_alias_double.
23912 * sysdeps/aarch64/fpu/s_rint.c: Include <libm-alias-double.h>.
23913 (rint): Define using libm_alias_double.
23914 * sysdeps/aarch64/fpu/s_round.c: Include <libm-alias-double.h>.
23915 (round): Define using libm_alias_double.
23916 * sysdeps/aarch64/fpu/s_trunc.c: Include <libm-alias-double.h>.
23917 (trunc): Define using libm_alias_double.
23919 2017-11-27 Florian Weimer <fweimer@redhat.com>
23921 * sysdeps/unix/sysv/linux/mlock2.c: New file.
23922 * sysdeps/unix/sysv/linux/tst-mlock2.c: Likewise.
23923 * sysdeps/unix/sysv/linux/Makefile (routines): Add mlock2.
23924 (tests): Add tst-mlock2.
23925 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Export mlock2.
23926 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_MLOCK2)
23927 [__LINUX_KERNEL_VERSION >= 4.4]: Define.
23928 * sysdeps/unix/sysv/linux/libc**.abilist: Update.
23929 * manual/memory.texi (Page Lock Functions): Move @end deftypefun
23930 for mlock. Document mlock2.
23932 2017-11-27 Joseph Myers <joseph@codesourcery.com>
23934 * sysdeps/ia64/Makeconfig (float64x-alias-fcts): New variable.
23935 * sysdeps/ieee754/float128/Makeconfig (float64x-alias-fcts):
23937 * sysdeps/ieee754/ldbl-128/Makeconfig (float64x-alias-fcts):
23939 * sysdeps/x86/Makeconfig: New file.
23940 * bits/floatn-common.h (__HAVE_FLOAT64X): Remove macro.
23941 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23942 * bits/floatn.h (__HAVE_FLOAT64X): New macro.
23943 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23944 * sysdeps/ia64/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23945 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23946 * sysdeps/ieee754/ldbl-128/bits/floatn.h (__HAVE_FLOAT64X):
23948 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23949 * sysdeps/mips/ieee754/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23950 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23951 * sysdeps/powerpc/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23952 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23953 * sysdeps/x86/bits/floatn.h (__HAVE_FLOAT64X): Likewise.
23954 (__HAVE_FLOAT64X_LONG_DOUBLE): Likewise.
23955 * manual/math.texi (Mathematics): Document support for _Float64x.
23956 * math/Versions (GLIBC_2.27): Add _Float64x functions.
23957 * stdlib/Versions (GLIBC_2.27): Likewise.
23958 * wcsmbs/Versions (GLIBC_2.27): Likewise.
23959 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
23960 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23961 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23962 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23963 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23964 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23965 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23966 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23967 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23968 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23969 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
23972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23974 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23975 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23976 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23977 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23978 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23979 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23980 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23981 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23982 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23983 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23984 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23985 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23986 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
23987 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
23989 2017-11-27 Andreas Schwab <schwab@suse.de>
23991 * elf/Makefile (dl-routines): Add dl-sort-maps.
23992 * elf/dl-sort-maps.c: New file.
23993 * sysdeps/generic/ldsodefs.h (_dl_sort_fini): Don't declare.
23994 (_dl_sort_maps): Declare.
23995 * elf/dl-fini.c (_dl_sort_fini): Remove.
23996 (_dl_fini): Use _dl_sort_maps instead of _dl_sort_fini.
23997 * elf/dl-close.c (_dl_close_worker): Likewise.
23998 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_sort_maps instead of
24000 * elf/dl-open.c (dl_open_worker): Likewise.
24002 2017-11-24 Joseph Myers <joseph@codesourcery.com>
24004 * sysdeps/ieee754/float128/s_fromfpf128.c (fromfpf128): Define
24005 using libm_alias_float128.
24006 * sysdeps/ieee754/float128/s_fromfpxf128.c (fromfpxf128):
24008 * sysdeps/ieee754/float128/s_setpayloadf128.c (setpayloadf128):
24010 * sysdeps/ieee754/float128/s_setpayloadsigf128.c
24011 (setpayloadsigf128): Likewise.
24012 * sysdeps/ieee754/float128/s_ufromfpf128.c (ufromfpf128):
24014 * sysdeps/ieee754/float128/s_ufromfpxf128.c (ufromfpxf128):
24017 * sysdeps/powerpc/powerpc64le/Makefile ($(foreach
24018 suf,$(all-object-suffixes),$(objpfx)test-float64x%$(suf))): Add
24019 -mfloat128 to CFLAGS.
24021 suf,$(all-object-suffixes),$(objpfx)test-ifloat64x%$(suf))):
24023 (CFLAGS-libm-test-support-float64x.c): New variable.
24024 ($(objpfx)test-float64x% $(objpfx)test-ifloat64x%): Add
24025 $(f128-loader-link) to gnulib-tests.
24027 * sysdeps/generic/libm-alias-float128.h: Include <bits/floatn.h>.
24028 (libm_alias_float128_other_r): If
24029 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE], define f64x
24031 (libm_alias_float128_r): Add semicolon after weak_alias call.
24032 * sysdeps/generic/libm-alias-ldouble.h
24033 (libm_alias_ldouble_other_r_f128): New macro.
24034 (libm_alias_ldouble_other_r_f64x): Likewise.
24035 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24036 and libm_alias_ldouble_other_r_f64x.
24037 (libm_alias_ldouble_r): Add semicolon after weak_alias call.
24038 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
24039 (libm_alias_ldouble_other_r_f128): New macro.
24040 (libm_alias_ldouble_other_r_f64x): Likewise.
24041 (libm_alias_ldouble_other_r): Use libm_alias_ldouble_other_r_f128
24042 and libm_alias_ldouble_other_r_f64x.
24044 * stdlib/strfroml.c: Always include <stdlib.h>.
24045 [__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x): Define and later
24046 undefine as macro and define as weak alias.
24047 * sysdeps/ieee754/float128/strfromf128.c: Include <bits/floatn.h>.
24048 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE]: Include
24050 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strfromf64x):
24051 Define and later undefine as macro and define as weak alias.
24053 * stdlib/strtold.c [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24054 Define and later undefine as macro. Define as weak alias if
24056 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x): Define and later
24057 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24058 * sysdeps/ieee754/float128/strtof128.c: Include <bits/floatn.h>.
24059 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x):
24060 Define and later undefine as macro. Define as weak alias if
24062 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x):
24063 Define and later undefine as macro. Define as weak alias if
24065 * sysdeps/ieee754/float128/strtof128_l.c
24066 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l):
24067 Define and later undefine as macro. Define as weak alias if
24069 [__HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l):
24070 Define and later undefine as macro. Define as weak alias if
24072 * sysdeps/ieee754/ldbl-128/strtold_l.c
24073 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24074 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24075 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24076 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24077 * sysdeps/ieee754/ldbl-64-128/strtold_l.c
24078 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24079 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24080 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24081 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24082 * sysdeps/ieee754/ldbl-96/strtold_l.c
24083 [__HAVE_FLOAT64X_LONG_DOUBLE] (strtof64x_l): Define and later
24084 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
24085 [__HAVE_FLOAT64X_LONG_DOUBLE] (wcstof64x_l): Define and later
24086 undefine as macro. Define as weak alias if [USE_WIDE_CHAR].
24088 * math/test-float64x.h: New file.
24089 * math/Makefile (type-float64x-yes): New variable.
24090 (test-types): Add $(type-float64x-$(float64x-alias-fcts)).
24092 * sysdeps/generic/math_private.h (min_of_type_f): Make into a
24093 function-like macro.
24094 (min_of_type_): Likewise.
24095 (min_of_type_l): Likewise.
24096 (min_of_type_f128): Likewise.
24097 (min_of_type): Pass () as last argument of __MATH_TG.
24099 * stdlib/tst-strtod-round-skeleton.c
24100 (__STDC_WANT_IEC_60559_TYPES_EXT__): Define before including
24103 * math/gen-tgmath-tests.py (Type.init_types): Pass suffix argument
24104 for combinations of long double with _Float64 and _Float64x.
24106 * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf16): New macro.
24107 (__DECL_SIMD_cosf32): Likewise.
24108 (__DECL_SIMD_cosf64): Likewise.
24109 (__DECL_SIMD_cosf32x): Likewise.
24110 (__DECL_SIMD_cosf64x): Likewise.
24111 (__DECL_SIMD_cosf128x): Likewise.
24112 (__DECL_SIMD_sinf16): Likewise.
24113 (__DECL_SIMD_sinf32): Likewise.
24114 (__DECL_SIMD_sinf64): Likewise.
24115 (__DECL_SIMD_sinf32x): Likewise.
24116 (__DECL_SIMD_sinf64x): Likewise.
24117 (__DECL_SIMD_sinf128x): Likewise.
24118 (__DECL_SIMD_sincosf16): Likewise.
24119 (__DECL_SIMD_sincosf32): Likewise.
24120 (__DECL_SIMD_sincosf64): Likewise.
24121 (__DECL_SIMD_sincosf32x): Likewise.
24122 (__DECL_SIMD_sincosf64x): Likewise.
24123 (__DECL_SIMD_sincosf128x): Likewise.
24124 (__DECL_SIMD_logf16): Likewise.
24125 (__DECL_SIMD_logf32): Likewise.
24126 (__DECL_SIMD_logf64): Likewise.
24127 (__DECL_SIMD_logf32x): Likewise.
24128 (__DECL_SIMD_logf64x): Likewise.
24129 (__DECL_SIMD_logf128x): Likewise.
24130 (__DECL_SIMD_expf16): Likewise.
24131 (__DECL_SIMD_expf32): Likewise.
24132 (__DECL_SIMD_expf64): Likewise.
24133 (__DECL_SIMD_expf32x): Likewise.
24134 (__DECL_SIMD_expf64x): Likewise.
24135 (__DECL_SIMD_expf128x): Likewise.
24136 (__DECL_SIMD_powf16): Likewise.
24137 (__DECL_SIMD_powf32): Likewise.
24138 (__DECL_SIMD_powf64): Likewise.
24139 (__DECL_SIMD_powf32x): Likewise.
24140 (__DECL_SIMD_powf64x): Likewise.
24141 (__DECL_SIMD_powf128x): Likewise.
24143 * stdlib/Versions (libc): Move entries for wcstof128 and
24144 wcstof128_l to ....
24145 * wcsmbs/Versions (libc): ... here.
24146 Include <float128-abi.h>.
24148 2017-11-24 Florian Weimer <fweimer@redhat.com>
24150 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24151 bits/mman-shared.h.
24152 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Include
24153 <bits/mman-shared.h>.
24154 (MFD_CLOEXEC, MFD_ALLOW_SEALING, MFD_HUGETLB, memfd_create): Move
24156 * sysdeps/unix/sysv/linux/bits/mman-shared.h: ... this new file.
24157 Add #ifndef guard for the MFD_* constants based on MFD_CLOEXEC.
24158 * sysdeps/unix/sysv/linux/hppa/bits/mman.h: Include
24159 <bits/mman-shared.h>.
24161 2017-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24164 * sysdeps/posix/preadv_common.c (PREADV): Use mmap/munmap instead of
24165 posix_memalign/free.
24166 * sysdeps/posix/pwritev_common.c (PWRITEV): Likewise.
24168 2017-11-22 Mike FABIAN <mfabian@redhat.com>
24171 * localedata/locales/pl_PL (LC_COLLATE): Use “copy "iso14651_t1"”
24172 and implement the collation rules for pl from CLDR on top of that.
24173 * Makefile: Add pl_PL.UTF-8 to test-input and to the list
24174 of locales to be built for testing.
24175 * pl_PL.UTF-8.in: New file with test data to test the Polish sorting.
24177 2017-11-23 Joseph Myers <joseph@codesourcery.com>
24179 * sysdeps/ia64/fpu/libm-symbols.h: Include <libm-alias-ldouble.h>.
24180 * sysdeps/ia64/fpu/e_acoshl.S (acoshl): Use
24181 libm_alias_ldouble_other.
24182 * sysdeps/ia64/fpu/e_acosl.S (acosl): Likewise.
24183 * sysdeps/ia64/fpu/e_asinl.S (asinl): Likewise.
24184 * sysdeps/ia64/fpu/e_atanhl.S (atanhl): Likewise.
24185 * sysdeps/ia64/fpu/e_coshl.S (coshl): Likewise.
24186 * sysdeps/ia64/fpu/e_exp10l.S (exp10l): Likewise.
24187 * sysdeps/ia64/fpu/e_exp2l.S (exp2l): Likewise.
24188 * sysdeps/ia64/fpu/e_fmodl.S (fmodl): Likewise.
24189 * sysdeps/ia64/fpu/e_hypotl.S (hypotl): Likewise.
24190 * sysdeps/ia64/fpu/e_lgammal_r.c (lgammal_r): Define using
24191 libm_alias_ldouble_r.
24192 * sysdeps/ia64/fpu/e_log2l.S (log2l): Use
24193 libm_alias_ldouble_other.
24194 * sysdeps/ia64/fpu/e_logl.S (logl): Likewise.
24195 (log10l): Likewise.
24196 * sysdeps/ia64/fpu/e_powl.S (powl): Likewise.
24197 * sysdeps/ia64/fpu/e_remainderl.S (remainderl): Likewise.
24198 * sysdeps/ia64/fpu/e_sinhl.S (sinhl): Likewise.
24199 * sysdeps/ia64/fpu/e_sqrtl.S (sqrtl): Likewise.
24200 * sysdeps/ia64/fpu/libm_sincosl.S (sincosl): Likewise.
24201 * sysdeps/ia64/fpu/s_asinhl.S (asinhl): Likewise.
24202 * sysdeps/ia64/fpu/s_atanl.S (atanl): Likewise.
24203 (atan2l): Likewise.
24204 * sysdeps/ia64/fpu/s_cbrtl.S (cbrtl): Likewise.
24205 * sysdeps/ia64/fpu/s_ceill.S (ceill): Likewise.
24206 * sysdeps/ia64/fpu/s_copysign.S (copysignl): Define using
24207 libm_alias_ldouble.
24208 * sysdeps/ia64/fpu/s_cosl.S (sinl): Use libm_alias_ldouble_other.
24210 * sysdeps/ia64/fpu/s_erfcl.S (erfcl): Likewise.
24211 * sysdeps/ia64/fpu/s_erfl.S (erfl): Likewise.
24212 * sysdeps/ia64/fpu/s_expm1l.S (expm1l): Likewise.
24214 * sysdeps/ia64/fpu/s_fabsl.S (fabsl): Likewise.
24215 * sysdeps/ia64/fpu/s_fdiml.S (fdiml): Likewise.
24216 * sysdeps/ia64/fpu/s_floorl.S (floorl): Likewise.
24217 * sysdeps/ia64/fpu/s_fmal.S (fmal): Likewise.
24218 * sysdeps/ia64/fpu/s_fmaxl.S (fmaxl): Likewise.
24219 * sysdeps/ia64/fpu/s_frexpl.c (frexpl): Likewise.
24220 * sysdeps/ia64/fpu/s_ldexpl.c (ldexpl): Likewise.
24221 * sysdeps/ia64/fpu/s_log1pl.S (log1pl): Likewise.
24222 * sysdeps/ia64/fpu/s_logbl.S (logbl): Likewise.
24223 * sysdeps/ia64/fpu/s_modfl.S (modfl): Likewise.
24224 * sysdeps/ia64/fpu/s_nearbyintl.S (nearbyintl): Define using
24225 libm_alias_ldouble.
24226 * sysdeps/ia64/fpu/s_nextafterl.S (nextafterl): Use
24227 libm_alias_ldouble_other.
24228 * sysdeps/ia64/fpu/s_rintl.S (rintl): Likewise.
24229 * sysdeps/ia64/fpu/s_roundl.S (roundl): Likewise.
24230 * sysdeps/ia64/fpu/s_scalbnl.c (scalbnl): Define using
24231 libm_alias_ldouble.
24232 * sysdeps/ia64/fpu/s_tanhl.S (tanhl): Use
24233 libm_alias_ldouble_other.
24234 * sysdeps/ia64/fpu/s_tanl.S (tanl): Likewise.
24235 * sysdeps/ia64/fpu/s_truncl.S (truncl): Likewise.
24236 * sysdeps/ia64/fpu/w_lgammal_main.c
24237 [BUILD_LGAMMA && !USE_AS_COMPAT] (lgammal): Likewise.
24238 * sysdeps/ia64/fpu/w_tgammal_compat.S (tgammal): Likewise.
24240 2017-11-23 Florian Weimer <fweimer@redhat.com>
24242 * malloc/malloc.c (tcache_thread_shutdown): Rename from
24243 tcache_thread_freeres. Define for USE_TCACHE and !USE_TCACHE
24244 alike. Remove freeres marker.
24245 * malloc/arena.c (arena_thread_freeres): Call
24246 tcache_thread_shutdown.
24248 2017-11-23 Florian Weimer <fweimer@redhat.com>
24251 Export nscd hash function as __nss_hash.
24252 * include/nss.h (__nss_hash): Declare.
24253 * nis/nis_hash.c (__nis_hash): Call __nss_hash. Turn into compat
24255 * nscd/Makefile (aux, nscd-modules): Remove nscd_hash.
24256 * nscd/cache.c (cache_search, cache_add): Call __nss_hash instead
24258 * nscd/nscd_helper.c (__nscd_cache_search): Likewise.
24259 * nscd/nscd_hash.h, nscd/nscd_hash.c: Remove files.
24260 * nss/Makefiles (routines): Add nss_hash.
24261 * nss/Versions (GLIBC_PRIVATE): Export __nss_hash.
24262 * nss/nss_hash.c: Rename from nis/nis_hash.c.
24263 (__nss_hash): Rename from __nis_hash. Define hidden alias.
24264 * nis/rpcsvc/nislib.h (__nis_hash): Remove declaration.
24266 2017-11-23 Florian Weimer <fweimer@redhat.com>
24269 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Retry on EINTR.
24270 Return error code, not -1.
24271 * signal/tst-sigwait-eintr.c: New file.
24272 * signal/Makefile (tests): Add tst-sigwait-eintr.
24274 2017-11-23 Florian Weimer <fweimer@redhat.com>
24276 Linux: Add memfd_create system call wrapper
24277 * sysdeps/unix/sysv/linux/Makefile [misc] (tests): Add
24279 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_GNU]
24280 (MFD_CLOEXEC, MFD_ALLOW_SEALING): Define.
24281 [__USE_GNU] (memfd_create): Declare.
24282 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.27): Add memfd_create.
24283 * sysdeps/unix/sysv/linux/syscalls.list (memfd_create): Add.
24284 * sysdeps/unix/sysv/linux/tst-memfd_create.c: New file.
24285 * sysdeps/unix/sysv/linux/**.abilist: Update.
24286 * manual/llio.texi (Memory-mapped I/O): Document memfd_create.
24288 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24290 * localedata/gen-locale.sh: Fix typo in variable name.
24292 * resolv/res_debug.c (p_secstodate): Condition definition on
24293 [SHLIB_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]. Define
24294 directly as __p_secstodate, and as a compat symbol. Do not use
24295 libresolv_hidden_def.
24296 * resolv/resolv.h (p_secstodate): Remove macro and function
24298 * resolv/ns_print.c (ns_sprintrrf): Print times with %lu, not
24299 using p_secstodate.
24300 * include/resolv.h (__p_secstodate): Do not use
24301 libresolv_hidden_proto.
24302 * resolv/Makefile (tests): Move tst-p_secstodate to ....
24303 (tests-internal): ... here.
24304 * resolv/tst-p_secstodate.c: Include <shlib-compat.h>. Condition
24305 all contents on [TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)]
24306 and declare and use __p_secstodate and use compat_symbol_reference
24308 [!TEST_COMPAT (libresolv, GLIBC_2_0, GLIBC_2_27)] (do_test): Add
24309 implementation returning 77.
24312 * resolv/res_debug.c: Include <libc-diag.h>.
24313 (p_secstodate): Assert time_t at least as wide as u_long. On
24314 overflow, use integer seconds since the epoch as output, or use
24315 "<overflow>" as output and set errno to EOVERFLOW if integer
24316 seconds since the epoch would be 14 or more characters.
24317 (p_secstodate) [__GNUC_PREREQ (7, 0)]: Disable -Wformat-overflow=
24319 * resolv/tst-p_secstodate.c: New file.
24320 * resolv/Makefile (tests): Add tst-p_secstodate.
24321 ($(objpfx)tst-p_secstodate): Depend on $(objpfx)libresolv.so.
24323 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Remove file.
24324 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
24325 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c: Likewise.
24327 2017-11-22 Paul Eggert <eggert@cs.ucla.edu>
24329 * posix/regcomp.c (init_word_char): Add comments.
24331 2017-11-22 Joseph Myers <joseph@codesourcery.com>
24334 * sysdeps/unix/getlogin_r.c (__getlogin_r): Use __strnlen not
24335 strlen to compute length of ut_user and set trailing NUL byte of
24338 2017-11-21 Mike FABIAN <mfabian@redhat.com>
24341 * localedata/locales/lv_LV (LC_COLLATE): Fix collation by
24342 using “copy "iso14651_t1"” and then implementing the
24343 collation rules for lv from CLDR on top of that.
24344 * Makefile: Add lv_LV.UTF-8 to test-input and to the list
24345 of locales to be built for testing.
24346 * lv_LV.UTF-8.in: New file with test data to test the Latvian
24349 2017-11-21 Joseph Myers <joseph@codesourcery.com>
24351 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24352 [__USE_MISC] (MADV_SPACEAVAIL): Remove macro.
24353 [__USE_MISC] (MADV_VPS_PURGE): Likewise.
24354 [__USE_MISC] (MADV_VPS_INHERIT): Likewise.
24355 [__USE_MISC] (MADV_HWPOISON): New macro.
24356 [__USE_MISC] (MADV_SOFT_OFFLINE): Likewise.
24358 2017-11-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24360 * nptl/pthreadP.h (ASSERT_PTHREAD_INTERNAL_SIZE): Add workarond for
24361 -Wmissing-braces on GCC 4.9.
24363 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24365 * sysdeps/s390/s390-64/start.S (_start): Add cfi information for r14.
24366 * sysdeps/s390/s390-32/start.S (_start): Likewise
24367 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S
24368 (thread_start): Likewise.
24369 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S
24370 (thread_start): Likewise.
24371 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S
24372 (__makecontext_ret): Likewise.
24373 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
24374 (__makecontext_ret): Likewise.
24376 2017-11-21 Stefan Liebler <stli@linux.vnet.ibm.com>
24378 * include/wchar.h (__wcsnlen, __wcscat, __wcsncpy, __wcpncpy,
24379 __wcschrnul): Remove attribute_hidden.
24381 2017-11-20 Paul Eggert <eggert@cs.ucla.edu>
24383 regex: don't assume uint64_t or uint32_t
24384 This avoids -Werror=overflow errors for 32-bit systems in
24385 the 64-bit case. Problem reported by Joseph Myers in:
24386 https://sourceware.org/ml/libc-alpha/2017-11/msg00694.html
24387 Also, when this code is used in Gnulib it ports to platforms
24388 that lack uint64_t and uint32_t. The C standard doesn't guarantee
24389 them, and on some 32-bit compilers there is no uint64_t.
24390 Problem reported by Gianluigi Tiesi in:
24391 http://lists.gnu.org/archive/html/bug-gnulib/2012-03/msg00154.html
24392 * posix/regcomp.c (init_word_char): Don't assume that the types
24393 uint64_t and uint32_t exist. Adapted from Gnulib patch
24394 2012-05-27T06:40:00!eggert@cs.ucla.edu. See:
24395 https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=252b52457da7887667c036d18cc5169777615bb0
24397 2017-11-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
24399 * sysdeps/aarch64/memset-reg.h: New file.
24400 * sysdeps/aarch64/memset.S: Use it.
24401 (__memset): Rename to MEMSET macro.
24402 [ZVA_MACRO]: Use zva_macro.
24403 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines):
24404 Add memset_generic and memset_falkor.
24405 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
24406 (__libc_ifunc_impl_list): Add memset ifuncs.
24407 * sysdeps/aarch64/multiarch/init-arch.h (INIT_ARCH): New
24408 local variable zva_size.
24409 * sysdeps/aarch64/multiarch/memset.c: New file.
24410 * sysdeps/aarch64/multiarch/memset_generic.S: New file.
24411 * sysdeps/aarch64/multiarch/memset_falkor.S: New file.
24412 * sysdeps/aarch64/multiarch/rtld-memset.S: New file.
24413 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
24414 (DCZID_DZP_MASK): New macro.
24415 (DCZID_BS_MASK): Likewise.
24416 (init_cpu_features): Read and set zva_size.
24417 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h
24418 (struct cpu_features): New member zva_size.
24420 * benchtests/bench-memcpy-walk.c (START_SIZE): Set to 128.
24421 * benchtests/bench-memmove-walk.c (START_SIZE): Likewise.
24422 * benchtests/bench-memset-walk.c (START_SIZE): Likewise.
24424 * benchtests/bench-memcpy-walk.c (do_one_test): Copy only
24425 backwards. Fix timing computation.
24426 * benchtests/bench-memmove-walk.c (do_one_test): Likewise.
24427 * benchtests/bench-memset-walk.c (do_one_test): Walk backwards
24428 on memset by N at a time. Fix timing computation.
24430 2017-11-20 Florian Weimer <fweimer@redhat.com>
24432 * manual/llio.texi (Memory-mapped I/O): Document MAP_HUGETLB,
24433 MADV_HUGEPAGE, MADV_NOHUGEPAGE.
24435 2017-11-19 Florian Weimer <fweimer@redhat.com>
24437 manual: Document mprotect
24438 * manual/memory.texi (Memory Protection): New section.
24439 * manual/llio.texi (Memory-mapped I/O): Remove duplicate
24440 documentation of PROT_* flags and reference the Memory Protection
24443 2017-11-19 Florian Weimer <fweimer@redhat.com>
24445 * manual/llio.texi (I/O Primitives): Move preadv, preadv64,
24446 pwritev, pwritev64, preadv2, preadv64v2, pwritev2, pwritev64v2 ...
24447 (Scatter-Gather): ... to here. Remove misleading comment.
24449 2017-11-18 Christian Brauner <christian.brauner@ubuntu.com>
24451 * support/support_become_root.c (setup_uid_gid_mapping): Fix comment
24454 * support/support_become_root.c (setup_uid_gid_mapping): Don't fail
24455 when /proc/<pid>/setgroups does not exist.
24457 2017-11-18 Florian Weimer <fweimer@redhat.com>
24459 * sysdeps/unix/sysv/linux/tst-ttyname.c
24460 (become_root_in_mount_ns): Remove.
24461 (do_in_chroot_1): Call support_enter_mount_namespace.
24462 (do_in_chroot_2): Likewise.
24463 (do_test): Call support_become_root early.
24465 2017-11-18 Florian Weimer <fweimer@redhat.com>
24467 * support/namespace.h (support_enter_mount_namespace): Declare.
24468 * support/support_enter_mount_namespace.c: New file.
24469 * support/Makefile (libsupport-routines): Add
24470 support_enter_mount_namespace.
24472 2017-11-18 Florian Weimer <fweimer@redhat.com>
24474 * support/temp_file.c (support_create_temp_directory): Use
24475 test_dir and do not rely on the presence of the XXXXXX suffix.
24476 * support/temp_file.h (support_create_temp_directory): Update
24478 * support/tst-xreadlink.c (do_test): Adjust.
24479 * support/support_chroot.c (support_chroot_create): Likewise.
24481 2017-11-17 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24483 * sysdeps/powerpc/bits/hwcap.h (PPC_FEATURE2_HTM_NO_SUSPEND): New
24485 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add
24488 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24490 * sysdeps/x86_64/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24491 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24492 * sysdeps/x86_64/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24493 (ceill): Define using libm_alias_ldouble.
24494 * sysdeps/x86_64/fpu/s_copysignl.S: Include
24495 <libm-alias-ldouble.h>.
24496 (copysignl): Define using libm_alias_ldouble.
24497 * sysdeps/x86_64/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24498 (fabsl): Define using libm_alias_ldouble.
24499 * sysdeps/x86_64/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24500 (floorl): Define using libm_alias_ldouble.
24501 * sysdeps/x86_64/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24502 (fmaxl): Define using libm_alias_ldouble.
24503 * sysdeps/x86_64/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24504 (fminl): Define using libm_alias_ldouble.
24505 * sysdeps/x86_64/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24506 (llrintl): Define using libm_alias_ldouble.
24507 (lrintl): Likewise.
24508 * sysdeps/x86_64/fpu/s_nearbyintl.S: Include
24509 <libm-alias-ldouble.h>.
24510 (nearbyintl): Define using libm_alias_ldouble.
24511 * sysdeps/x86_64/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24512 (truncl): Define using libm_alias_ldouble.
24513 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Include
24514 <libm-alias-ldouble.h>.
24515 (lrintl): Define using libm_alias_ldouble.
24517 * sysdeps/i386/fpu/e_expl.S: Include <libm-alias-ldouble.h>.
24518 [USE_AS_EXPM1L] (expm1l): Define using libm_alias_ldouble.
24519 * sysdeps/i386/fpu/s_asinhl.S: Include <libm-alias-ldouble.h>.
24520 (asinhl): Define using libm_alias_ldouble.
24521 * sysdeps/i386/fpu/s_atanl.c: Include <libm-alias-ldouble.h>.
24522 (atanl): Define using libm_alias_ldouble.
24523 * sysdeps/i386/fpu/s_cbrtl.S: Include <libm-alias-ldouble.h>.
24524 (cbrtl): Define using libm_alias_ldouble.
24525 * sysdeps/i386/fpu/s_ceill.S: Include <libm-alias-ldouble.h>.
24526 (ceill): Define using libm_alias_ldouble.
24527 * sysdeps/i386/fpu/s_copysignl.S: Include <libm-alias-ldouble.h>.
24528 (copysignl): Define using libm_alias_ldouble.
24529 * sysdeps/i386/fpu/s_fabsl.S: Include <libm-alias-ldouble.h>.
24530 (fabsl): Define using libm_alias_ldouble.
24531 * sysdeps/i386/fpu/s_floorl.S: Include <libm-alias-ldouble.h>.
24532 (floorl): Define using libm_alias_ldouble.
24533 * sysdeps/i386/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24534 (fmaxl): Define using libm_alias_ldouble.
24535 * sysdeps/i386/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24536 (fminl): Define using libm_alias_ldouble.
24537 * sysdeps/i386/fpu/s_frexpl.S: Include <libm-alias-ldouble.h>.
24538 (frexpl): Define using libm_alias_ldouble.
24539 * sysdeps/i386/fpu/s_llrintl.S: Include <libm-alias-ldouble.h>.
24540 (llrintl): Define using libm_alias_ldouble.
24541 * sysdeps/i386/fpu/s_logbl.c: Include <libm-alias-ldouble.h>.
24542 (logbl): Define using libm_alias_ldouble.
24543 * sysdeps/i386/fpu/s_lrintl.S: Include <libm-alias-ldouble.h>.
24544 (lrintl): Define using libm_alias_ldouble.
24545 * sysdeps/i386/fpu/s_nearbyintl.S: Include <libm-alias-ldouble.h>.
24546 (nearbyintl): Define using libm_alias_ldouble.
24547 * sysdeps/i386/fpu/s_nextafterl.c: Include <libm-alias-ldouble.h>.
24548 (nextafterl): Define using libm_alias_ldouble.
24549 * sysdeps/i386/fpu/s_remquol.S: Include <libm-alias-ldouble.h>.
24550 (remquol): Define using libm_alias_ldouble.
24551 * sysdeps/i386/fpu/s_rintl.c: Include <libm-alias-ldouble.h>.
24552 (rintl): Define using libm_alias_ldouble.
24553 * sysdeps/i386/fpu/s_truncl.S: Include <libm-alias-ldouble.h>.
24554 (truncl): Define using libm_alias_ldouble.
24555 * sysdeps/i386/i686/fpu/s_fmaxl.S: Include <libm-alias-ldouble.h>.
24556 (fmaxl): Define using libm_alias_ldouble.
24557 * sysdeps/i386/i686/fpu/s_fminl.S: Include <libm-alias-ldouble.h>.
24558 (fminl): Define using libm_alias_ldouble.
24560 * bits/floatn-common.h [!__ASSEMBLER]: Disable everything related
24561 to C syntax instead of availability and properties of types.
24562 * bits/floatn.h [!__ASSEMBLER]: Likewise.
24563 * sysdeps/ia64/bits/floatn.h [!__ASSEMBLER]: Likewise.
24564 * sysdeps/ieee754/ldbl-128/bits/floatn.h [!__ASSEMBLER]: Likewise.
24565 * sysdeps/mips/ieee754/bits/floatn.h [!__ASSEMBLER]: Likewise.
24566 * sysdeps/powerpc/bits/floatn.h [!__ASSEMBLER]: Likewise.
24567 * sysdeps/x86/bits/floatn.h [!__ASSEMBLER]: Likewise.
24569 2017-11-17 Florian Weimer <fweimer@redhat.com>
24571 support_become_root: Enable file creation in namespaces.
24572 * support/support_become_root.c (setup_mapping): New function.
24573 (support_become_root): Call it.
24575 2017-11-17 Joseph Myers <joseph@codesourcery.com>
24577 * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_DCPOP): New
24580 2017-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24582 * sysdeps/aarch64/fpu/Makefile (CFLAGS-s_fmax.c, CFLAGS-s_fmaxf.c,
24583 CFLAGS-s_fmin.c, CFLAGS-s_fminf.c): New rule: add -ffinite-math-only.
24585 2017-11-16 Joseph Myers <joseph@codesourcery.com>
24587 * sysdeps/unix/sysv/linux/net/if_arp.h (ARPHRD_RAWIP): New macro.
24589 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
24592 2017-11-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
24594 * INSTALL: Fix botched up regeneration.
24596 * NEWS: Update sourceare link to https.
24597 * configure.ac: Likewise.
24598 * crypt/md5test-giant.c: Likewise.
24599 * dlfcn/bug-atexit1.c: Likewise.
24600 * dlfcn/bug-atexit2.c: Likewise.
24601 * localedata/README: Likewise.
24602 * malloc/tst-mallocfork.c: Likewise.
24603 * manual/install.texi: Likewise.
24604 * nptl/tst-pthread-getattr.c: Likewise.
24605 * stdio-common/tst-fgets.c: Likewise.
24606 * stdio-common/tst-fwrite.c: Likewise.
24607 * sunrpc/Makefile: Likewise.
24608 * sysdeps/arm/armv7/multiarch/memcpy_impl.S: Likewise.
24609 * wcsmbs/tst-mbrtowc2.c: Likewise.
24610 * configure: Regenerate.
24611 * INSTALL: Regenerate.
24613 2017-11-15 Martin Sebor <msebor@redhat.com>
24615 * misc/sys/cdefs.h (__attribute_nonstring__): New macro.
24616 * sysdeps/gnu/bits/utmp.h (struct utmp): Use it.
24617 * sysdeps/unix/sysv/linux/s390/bits/utmp.h (struct utmp): Same.
24619 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24622 * sysdeps/unix/sysv/linux/tst-ttyname.c: New file.
24623 * sysdeps/unix/sysv/linux/Makefile: Add tst-ttyname to tests.
24626 * sysdeps/unix/sysv/linux/ttyname.c (ttyname):
24627 Defer is_pty check until end of the function.
24628 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
24631 * sysdeps/unix/sysv/linux/ttyname.h (is_mytty): New function.
24632 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Call is_mytty.
24633 (ttyname): Likewise.
24634 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
24635 (__ttyname_r): Likewise.
24637 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Change return type from
24640 * sysdeps/unix/sysv/linux/ttyname.h (is_pty): Update doc reference.
24642 * manual/terminal.texi (Is It a Terminal):
24643 Mention ENODEV for ttyname and ttyname_r.
24645 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24647 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_ZEROCOPY): New enum
24648 constant and macro.
24650 * sysdeps/unix/sysv/linux/bits/mman-linux.h
24651 [__USE_MISC] (MADV_WIPEONFORK): New macro.
24652 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24653 * sysdeps/unix/sysv/linux/hppa/bits/mman.h
24654 [__USE_MISC] (MADV_WIPEONFORK): Likewise.
24655 [__USE_MISC] (MADV_KEEPONFORK): Likewise.
24657 2017-11-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24659 * signal/sigrelse.c (sigrelse): Optimize implementation.
24661 * sysdeps/posix/sigpause.c (do_sigpause): Remove.
24662 (__sigpause): Rely on __sigsuspend to implement single thread
24663 optimization. Add LIBC_CANCEL_HANDLED for cancellation marking.
24665 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24667 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
24668 kernel version to 4.14.
24670 2017-11-15 Steve Ellcey <sellcey@cavium.com>
24673 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex):
24674 Check if ifname is too long.
24676 2017-11-15 Luke Shumaker <lukeshu@parabola.nu>
24678 * sysdeps/unix/sysv/linux/epoll_wait.c: Include <sysdep-cancel.h>.
24680 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24682 * localedata/locales/ka_GE (LC_MESSAGES): Add “X” back to yesexpr,
24683 was accidentally lost.
24685 2017-11-15 Mike FABIAN <mfabian@redhat.com>
24687 * localedata/locales/az_IR: Add standard copyright header.
24689 2017-11-15 Florian Weimer <fweimer@redhat.com>
24692 * malloc/malloc.c (__malloc_info): Count all heaps in an arena,
24693 not just the top one. Output a new "subheaps" statistic.
24695 2017-11-15 Florian Weimer <fweimer@redhat.com>
24698 * malloc/malloc.c (__malloc_info): Obtain arena heap statistics
24699 under the per-arena lock.
24700 * malloc/Makefile (tests): Add tst-malloc_info.
24701 (tst-malloc_info): Link with libpthread.
24702 * malloc/tst-malloc_info.c: New file.
24704 2017-11-15 Joseph Myers <joseph@codesourcery.com>
24707 * math/tgmath.h (__HAVE_BUILTIN_TGMATH): New macro.
24708 [__HAVE_BUILTIN_TGMATH] (__TG_F16_ARG): Likewise.
24709 [__HAVE_BUILTIN_TGMATH] (__TG_F32_ARG): Likewise.
24710 [__HAVE_BUILTIN_TGMATH] (__TG_F64_ARG): Likewise.
24711 [__HAVE_BUILTIN_TGMATH] (__TG_F128_ARG): Likewise.
24712 [__HAVE_BUILTIN_TGMATH] (__TG_F32X_ARG): Likewise.
24713 [__HAVE_BUILTIN_TGMATH] (__TG_F64X_ARG): Likewise.
24714 [__HAVE_BUILTIN_TGMATH] (__TG_F128X_ARG): Likewise.
24715 [__HAVE_BUILTIN_TGMATH] (__TGMATH_FUNCS): Likewise.
24716 [__HAVE_BUILTIN_TGMATH] (__TGMATH_RCFUNCS): Likewise.
24717 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1): Likewise.
24718 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2): Likewise.
24719 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2STD): Likewise.
24720 [__HAVE_BUILTIN_TGMATH] (__TGMATH_3): Likewise.
24721 [__HAVE_BUILTIN_TGMATH] (__TGMATH_1C): Likewise.
24722 [__HAVE_BUILTIN_TGMATH] (__TGMATH_2C): Likewise.
24723 (__tgml): Make conditional on [!__HAVE_BUILTIN_TGMATH].
24724 (__floating_type): Likewise.
24725 (__real_integer_type): Likewise.
24726 (__complex_integer_type): Likewise.
24727 (__expr_is_real): Likewise.
24728 (__tgmath_real_type_sub): Likewise.
24729 (__tgmath_real_type): Likewise.
24730 (__tgmath_complex_type_sub): Likewise.
24731 (__tgmath_complex_type): Likewise.
24732 (__TGMATH_F128): Likewise.
24733 (__TGMATH_CF128): Likewise.
24734 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_ONLY): Define using
24736 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
24737 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_ONLY):
24739 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_FIRST_REAL_STD_ONLY):
24741 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_ONLY): Likewise.
24742 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
24743 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
24744 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY):
24746 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_REAL_ONLY): Likewise.
24747 [__HAVE_BUILTIN_TGMATH] (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY):
24749 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG): Likewise.
24750 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_IMAG): Likewise.
24751 [__HAVE_BUILTIN_TGMATH] (__TGMATH_UNARY_REAL_IMAG_RET_REAL):
24753 [__HAVE_BUILTIN_TGMATH] (__TGMATH_BINARY_REAL_IMAG): Likewise.
24754 (__TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME): New macro.
24755 (carg): Use __TGMATH_UNARY_REAL_IMAG_RET_REAL_SAME.
24759 2017-11-14 Joseph Myers <joseph@codesourcery.com>
24761 * string/tester.c (test_stpncpy): Disable -Wstringop-truncation
24762 for stpncpy calls for GCC 8.
24763 (test_strncat): Disable -Wstringop-truncation warning for strncat
24764 calls for GCC 8. Disable -Wstringop-overflow= warning for one
24765 strncat call for GCC 7.
24766 (test_strncpy): Disable -Wstringop-truncation warning for strncpy
24768 (test_memcmp): Use memcpy instead of strncpy for calls not copying
24771 * string/bug-strncat1.c: Include <libc-diag.h>.
24772 (main): Disable -Wstringop-truncation for strncat call for GCC 8.
24774 2017-11-13 Claude Paroz <claude@2xlibre.net>
24777 * localedata/locales/aa_DJ: Improved readibility by replacing
24778 <Uxxxx> sequences in the ASCII printable range by their ASCII
24779 character equivalents.
24780 * localedata/locales/aa_ER: Likewise.
24781 * localedata/locales/aa_ER@saaho: Likewise.
24782 * localedata/locales/aa_ET: Likewise.
24783 * localedata/locales/af_ZA: Likewise.
24784 * localedata/locales/agr_PE: Likewise.
24785 * localedata/locales/ak_GH: Likewise.
24786 * localedata/locales/am_ET: Likewise.
24787 * localedata/locales/anp_IN: Likewise.
24788 * localedata/locales/ar_AE: Likewise.
24789 * localedata/locales/ar_BH: Likewise.
24790 * localedata/locales/ar_DZ: Likewise.
24791 * localedata/locales/ar_EG: Likewise.
24792 * localedata/locales/ar_IN: Likewise.
24793 * localedata/locales/ar_IQ: Likewise.
24794 * localedata/locales/ar_JO: Likewise.
24795 * localedata/locales/ar_KW: Likewise.
24796 * localedata/locales/ar_LB: Likewise.
24797 * localedata/locales/ar_LY: Likewise.
24798 * localedata/locales/ar_MA: Likewise.
24799 * localedata/locales/ar_OM: Likewise.
24800 * localedata/locales/ar_QA: Likewise.
24801 * localedata/locales/ar_SA: Likewise.
24802 * localedata/locales/ar_SD: Likewise.
24803 * localedata/locales/ar_SS: Likewise.
24804 * localedata/locales/ar_SY: Likewise.
24805 * localedata/locales/ar_TN: Likewise.
24806 * localedata/locales/ar_YE: Likewise.
24807 * localedata/locales/as_IN: Likewise.
24808 * localedata/locales/ast_ES: Likewise.
24809 * localedata/locales/ayc_PE: Likewise.
24810 * localedata/locales/az_AZ: Likewise.
24811 * localedata/locales/az_IR: Likewise.
24812 * localedata/locales/be_BY: Likewise.
24813 * localedata/locales/be_BY@latin: Likewise.
24814 * localedata/locales/bem_ZM: Likewise.
24815 * localedata/locales/ber_DZ: Likewise.
24816 * localedata/locales/ber_MA: Likewise.
24817 * localedata/locales/bg_BG: Likewise.
24818 * localedata/locales/bhb_IN: Likewise.
24819 * localedata/locales/bho_IN: Likewise.
24820 * localedata/locales/bi_VU: Likewise.
24821 * localedata/locales/bn_BD: Likewise.
24822 * localedata/locales/bn_IN: Likewise.
24823 * localedata/locales/bo_CN: Likewise.
24824 * localedata/locales/bo_IN: Likewise.
24825 * localedata/locales/br_FR: Likewise.
24826 * localedata/locales/brx_IN: Likewise.
24827 * localedata/locales/bs_BA: Likewise.
24828 * localedata/locales/byn_ER: Likewise.
24829 * localedata/locales/ca_AD: Likewise.
24830 * localedata/locales/ca_ES: Likewise.
24831 * localedata/locales/ca_FR: Likewise.
24832 * localedata/locales/ca_IT: Likewise.
24833 * localedata/locales/ce_RU: Likewise.
24834 * localedata/locales/chr_US: Likewise.
24835 * localedata/locales/cmn_TW: Likewise.
24836 * localedata/locales/crh_UA: Likewise.
24837 * localedata/locales/cs_CZ: Likewise.
24838 * localedata/locales/csb_PL: Likewise.
24839 * localedata/locales/cv_RU: Likewise.
24840 * localedata/locales/cy_GB: Likewise.
24841 * localedata/locales/da_DK: Likewise.
24842 * localedata/locales/de_AT: Likewise.
24843 * localedata/locales/de_BE: Likewise.
24844 * localedata/locales/de_CH: Likewise.
24845 * localedata/locales/de_DE: Likewise.
24846 * localedata/locales/de_IT: Likewise.
24847 * localedata/locales/de_LI: Likewise.
24848 * localedata/locales/de_LU: Likewise.
24849 * localedata/locales/doi_IN: Likewise.
24850 * localedata/locales/dv_MV: Likewise.
24851 * localedata/locales/dz_BT: Likewise.
24852 * localedata/locales/el_CY: Likewise.
24853 * localedata/locales/el_GR: Likewise.
24854 * localedata/locales/en_AG: Likewise.
24855 * localedata/locales/en_AU: Likewise.
24856 * localedata/locales/en_BW: Likewise.
24857 * localedata/locales/en_CA: Likewise.
24858 * localedata/locales/en_DK: Likewise.
24859 * localedata/locales/en_GB: Likewise.
24860 * localedata/locales/en_HK: Likewise.
24861 * localedata/locales/en_IE: Likewise.
24862 * localedata/locales/en_IL: Likewise.
24863 * localedata/locales/en_IN: Likewise.
24864 * localedata/locales/en_NG: Likewise.
24865 * localedata/locales/en_NZ: Likewise.
24866 * localedata/locales/en_PH: Likewise.
24867 * localedata/locales/en_SG: Likewise.
24868 * localedata/locales/en_US: Likewise.
24869 * localedata/locales/en_ZA: Likewise.
24870 * localedata/locales/en_ZM: Likewise.
24871 * localedata/locales/en_ZW: Likewise.
24872 * localedata/locales/eo: Likewise.
24873 * localedata/locales/es_AR: Likewise.
24874 * localedata/locales/es_BO: Likewise.
24875 * localedata/locales/es_CL: Likewise.
24876 * localedata/locales/es_CO: Likewise.
24877 * localedata/locales/es_CR: Likewise.
24878 * localedata/locales/es_CU: Likewise.
24879 * localedata/locales/es_DO: Likewise.
24880 * localedata/locales/es_EC: Likewise.
24881 * localedata/locales/es_ES: Likewise.
24882 * localedata/locales/es_GT: Likewise.
24883 * localedata/locales/es_HN: Likewise.
24884 * localedata/locales/es_MX: Likewise.
24885 * localedata/locales/es_NI: Likewise.
24886 * localedata/locales/es_PA: Likewise.
24887 * localedata/locales/es_PE: Likewise.
24888 * localedata/locales/es_PR: Likewise.
24889 * localedata/locales/es_PY: Likewise.
24890 * localedata/locales/es_SV: Likewise.
24891 * localedata/locales/es_US: Likewise.
24892 * localedata/locales/es_UY: Likewise.
24893 * localedata/locales/es_VE: Likewise.
24894 * localedata/locales/et_EE: Likewise.
24895 * localedata/locales/eu_ES: Likewise.
24896 * localedata/locales/eu_ES@euro: Likewise.
24897 * localedata/locales/fa_IR: Likewise.
24898 * localedata/locales/ff_SN: Likewise.
24899 * localedata/locales/fi_FI: Likewise.
24900 * localedata/locales/fil_PH: Likewise.
24901 * localedata/locales/fo_FO: Likewise.
24902 * localedata/locales/fr_BE: Likewise.
24903 * localedata/locales/fr_CA: Likewise.
24904 * localedata/locales/fr_CH: Likewise.
24905 * localedata/locales/fr_FR: Likewise.
24906 * localedata/locales/fr_LU: Likewise.
24907 * localedata/locales/fur_IT: Likewise.
24908 * localedata/locales/fy_DE: Likewise.
24909 * localedata/locales/fy_NL: Likewise.
24910 * localedata/locales/ga_IE: Likewise.
24911 * localedata/locales/gd_GB: Likewise.
24912 * localedata/locales/gez_ER: Likewise.
24913 * localedata/locales/gez_ET: Likewise.
24914 * localedata/locales/gl_ES: Likewise.
24915 * localedata/locales/gu_IN: Likewise.
24916 * localedata/locales/gv_GB: Likewise.
24917 * localedata/locales/ha_NG: Likewise.
24918 * localedata/locales/hak_TW: Likewise.
24919 * localedata/locales/he_IL: Likewise.
24920 * localedata/locales/hi_IN: Likewise.
24921 * localedata/locales/hif_FJ: Likewise.
24922 * localedata/locales/hne_IN: Likewise.
24923 * localedata/locales/hr_HR: Likewise.
24924 * localedata/locales/hsb_DE: Likewise.
24925 * localedata/locales/ht_HT: Likewise.
24926 * localedata/locales/hu_HU: Likewise.
24927 * localedata/locales/hy_AM: Likewise.
24928 * localedata/locales/i18n: Likewise.
24929 * localedata/locales/ia_FR: Likewise.
24930 * localedata/locales/id_ID: Likewise.
24931 * localedata/locales/ig_NG: Likewise.
24932 * localedata/locales/ik_CA: Likewise.
24933 * localedata/locales/is_IS: Likewise.
24934 * localedata/locales/it_CH: Likewise.
24935 * localedata/locales/it_IT: Likewise.
24936 * localedata/locales/iu_CA: Likewise.
24937 * localedata/locales/ja_JP: Likewise.
24938 * localedata/locales/ka_GE: Likewise.
24939 * localedata/locales/kk_KZ: Likewise.
24940 * localedata/locales/kl_GL: Likewise.
24941 * localedata/locales/kn_IN: Likewise.
24942 * localedata/locales/ko_KR: Likewise.
24943 * localedata/locales/kok_IN: Likewise.
24944 * localedata/locales/ks_IN: Likewise.
24945 * localedata/locales/ks_IN@devanagari: Likewise.
24946 * localedata/locales/ku_TR: Likewise.
24947 * localedata/locales/kw_GB: Likewise.
24948 * localedata/locales/ky_KG: Likewise.
24949 * localedata/locales/lb_LU: Likewise.
24950 * localedata/locales/lg_UG: Likewise.
24951 * localedata/locales/li_BE: Likewise.
24952 * localedata/locales/li_NL: Likewise.
24953 * localedata/locales/lij_IT: Likewise.
24954 * localedata/locales/ln_CD: Likewise.
24955 * localedata/locales/lo_LA: Likewise.
24956 * localedata/locales/lt_LT: Likewise.
24957 * localedata/locales/lv_LV: Likewise.
24958 * localedata/locales/lzh_TW: Likewise.
24959 * localedata/locales/mag_IN: Likewise.
24960 * localedata/locales/mai_IN: Likewise.
24961 * localedata/locales/mg_MG: Likewise.
24962 * localedata/locales/mhr_RU: Likewise.
24963 * localedata/locales/mi_NZ: Likewise.
24964 * localedata/locales/mk_MK: Likewise.
24965 * localedata/locales/ml_IN: Likewise.
24966 * localedata/locales/mn_MN: Likewise.
24967 * localedata/locales/mni_IN: Likewise.
24968 * localedata/locales/mr_IN: Likewise.
24969 * localedata/locales/ms_MY: Likewise.
24970 * localedata/locales/mt_MT: Likewise.
24971 * localedata/locales/my_MM: Likewise.
24972 * localedata/locales/nan_TW: Likewise.
24973 * localedata/locales/nan_TW@latin: Likewise.
24974 * localedata/locales/nb_NO: Likewise.
24975 * localedata/locales/nds_DE: Likewise.
24976 * localedata/locales/nds_NL: Likewise.
24977 * localedata/locales/ne_NP: Likewise.
24978 * localedata/locales/nhn_MX: Likewise.
24979 * localedata/locales/niu_NU: Likewise.
24980 * localedata/locales/niu_NZ: Likewise.
24981 * localedata/locales/nl_AW: Likewise.
24982 * localedata/locales/nl_BE: Likewise.
24983 * localedata/locales/nl_NL: Likewise.
24984 * localedata/locales/nn_NO: Likewise.
24985 * localedata/locales/nr_ZA: Likewise.
24986 * localedata/locales/nso_ZA: Likewise.
24987 * localedata/locales/oc_FR: Likewise.
24988 * localedata/locales/om_ET: Likewise.
24989 * localedata/locales/om_KE: Likewise.
24990 * localedata/locales/or_IN: Likewise.
24991 * localedata/locales/os_RU: Likewise.
24992 * localedata/locales/pa_IN: Likewise.
24993 * localedata/locales/pa_PK: Likewise.
24994 * localedata/locales/pap_AW: Likewise.
24995 * localedata/locales/pap_CW: Likewise.
24996 * localedata/locales/pl_PL: Likewise.
24997 * localedata/locales/ps_AF: Likewise.
24998 * localedata/locales/pt_BR: Likewise.
24999 * localedata/locales/pt_PT: Likewise.
25000 * localedata/locales/quz_PE: Likewise.
25001 * localedata/locales/raj_IN: Likewise.
25002 * localedata/locales/ro_RO: Likewise.
25003 * localedata/locales/ru_RU: Likewise.
25004 * localedata/locales/ru_UA: Likewise.
25005 * localedata/locales/rw_RW: Likewise.
25006 * localedata/locales/sa_IN: Likewise.
25007 * localedata/locales/sat_IN: Likewise.
25008 * localedata/locales/sc_IT: Likewise.
25009 * localedata/locales/sd_IN: Likewise.
25010 * localedata/locales/sd_IN@devanagari: Likewise.
25011 * localedata/locales/se_NO: Likewise.
25012 * localedata/locales/sgs_LT: Likewise.
25013 * localedata/locales/shs_CA: Likewise.
25014 * localedata/locales/si_LK: Likewise.
25015 * localedata/locales/sid_ET: Likewise.
25016 * localedata/locales/sk_SK: Likewise.
25017 * localedata/locales/sl_SI: Likewise.
25018 * localedata/locales/sm_WS: Likewise.
25019 * localedata/locales/so_DJ: Likewise.
25020 * localedata/locales/so_ET: Likewise.
25021 * localedata/locales/so_KE: Likewise.
25022 * localedata/locales/so_SO: Likewise.
25023 * localedata/locales/sq_AL: Likewise.
25024 * localedata/locales/sq_MK: Likewise.
25025 * localedata/locales/sr_ME: Likewise.
25026 * localedata/locales/sr_RS: Likewise.
25027 * localedata/locales/sr_RS@latin: Likewise.
25028 * localedata/locales/ss_ZA: Likewise.
25029 * localedata/locales/st_ZA: Likewise.
25030 * localedata/locales/sv_FI: Likewise.
25031 * localedata/locales/sv_SE: Likewise.
25032 * localedata/locales/sw_KE: Likewise.
25033 * localedata/locales/sw_TZ: Likewise.
25034 * localedata/locales/szl_PL: Likewise.
25035 * localedata/locales/ta_IN: Likewise.
25036 * localedata/locales/ta_LK: Likewise.
25037 * localedata/locales/tcy_IN: Likewise.
25038 * localedata/locales/te_IN: Likewise.
25039 * localedata/locales/tg_TJ: Likewise.
25040 * localedata/locales/th_TH: Likewise.
25041 * localedata/locales/the_NP: Likewise.
25042 * localedata/locales/ti_ER: Likewise.
25043 * localedata/locales/ti_ET: Likewise.
25044 * localedata/locales/tig_ER: Likewise.
25045 * localedata/locales/tk_TM: Likewise.
25046 * localedata/locales/tl_PH: Likewise.
25047 * localedata/locales/tn_ZA: Likewise.
25048 * localedata/locales/to_TO: Likewise.
25049 * localedata/locales/tpi_PG: Likewise.
25050 * localedata/locales/tr_CY: Likewise.
25051 * localedata/locales/tr_TR: Likewise.
25052 * localedata/locales/ts_ZA: Likewise.
25053 * localedata/locales/tt_RU: Likewise.
25054 * localedata/locales/tt_RU@iqtelif: Likewise.
25055 * localedata/locales/ug_CN: Likewise.
25056 * localedata/locales/uk_UA: Likewise.
25057 * localedata/locales/unm_US: Likewise.
25058 * localedata/locales/ur_IN: Likewise.
25059 * localedata/locales/ur_PK: Likewise.
25060 * localedata/locales/uz_UZ: Likewise.
25061 * localedata/locales/uz_UZ@cyrillic: Likewise.
25062 * localedata/locales/ve_ZA: Likewise.
25063 * localedata/locales/vi_VN: Likewise.
25064 * localedata/locales/wa_BE: Likewise.
25065 * localedata/locales/wae_CH: Likewise.
25066 * localedata/locales/wal_ET: Likewise.
25067 * localedata/locales/wo_SN: Likewise.
25068 * localedata/locales/xh_ZA: Likewise.
25069 * localedata/locales/yi_US: Likewise.
25070 * localedata/locales/yo_NG: Likewise.
25071 * localedata/locales/yue_HK: Likewise.
25072 * localedata/locales/yuw_PG: Likewise.
25073 * localedata/locales/zh_CN: Likewise.
25074 * localedata/locales/zh_HK: Likewise.
25075 * localedata/locales/zh_SG: Likewise.
25076 * localedata/locales/zh_TW: Likewise.
25077 * localedata/locales/zu_ZA: Likewise.
25079 2017-11-13 Florian Weimer <fweimer@redhat.com>
25081 * support/next_to_fault.h, support/next_to_fault.c: New files.
25082 * support/Makefile (libsupport-routines): Add next_to_fault.
25083 * resolv/tst-inet_pton.c (struct next_to_fault)
25084 (next_to_fault_allocate, next_to_fault_free): Remove.
25085 (run_one_test): Switch to <support/next_to_fault.h> interfaces.
25087 2017-11-13 H.J. Lu <hongjiu.lu@intel.com>
25089 * elf/dl-support.c: Include <dl-procruntime.c>.
25090 * include/link.h: Include <link_map.h>.
25091 * sysdeps/generic/dl-procruntime.c: New file.
25092 * sysdeps/generic/link_map.h: Likewise.
25093 * sysdeps/generic/ldsodefs.h: Include <dl-procruntime.c> in
25094 the writable ld.so namespace.
25096 2017-11-12 Paul Eggert <eggert@cs.ucla.edu>
25098 timezone: pacify GCC -Wstringop-truncation
25099 Problem reported by Martin Sebor in:
25100 https://sourceware.org/ml/libc-alpha/2017-11/msg00336.html
25101 * timezone/zic.c (writezone): Use memcpy, not strncpy.
25103 2017-11-12 Florian Weimer <fweimer@redhat.com>
25105 * support/Makefile (libsupport-routines): Add xreadlink, xstrndup,
25107 (tests): Add tst-xreadlink.
25108 * support/support.h (xstrndup): Declare.
25109 * support/xunistd.h (xunlink, xreadlink): Declare.
25110 * support/temp_file.h (support_create_temp_directory): Declare.
25111 * support/temp_file.c (support_create_temp_directory): New function.
25112 * support/support_chroot.c (support_chroot_create): Use it.
25113 * support/xreadlink.c: New file.
25114 * support/xstrndup.c: Likewise.
25115 * support/xunlink.c: Likewise.
25116 * support/tst-xreadlink.c: Likewise.
25118 2017-11-11 John David Anglin <danglin@gcc.gnu.org>
25120 * sysdeps/hppa/fpu/libm-test-ulps: Update clog10_downward ulps.
25122 2017-11-11 Florian Weimer <fweimer@redhat.com>
25126 * resolv/res_comp.c (printable_string, binary_hnok)
25127 (binary_leading_dash): New functions.
25128 (res_hnok): Reimplement using these functions and ns_name_pton.
25129 (res_ownok): Likewise.
25130 (res_mailok): Reimplement using printable_string, ns_name_pton and
25132 (res_dnok): Reimplement using printable_string and ns_name_pton.
25133 * resolv/tst-res_hnok.c (tests): Add additional tests.
25134 (LETTERDIGITS, PRINTABLE): Define.
25135 (do_test): Adjust one_char results.
25137 2017-11-11 Florian Weimer <fweimer@redhat.com>
25140 * resolv/ns_name.c (ns_name_pton): Treat trailing backslash as error.
25141 * resolv/tst-ns_name_pton.c (tests): Add trailing backslash tests.
25143 2017-11-11 Florian Weimer <fweimer@redhat.com>
25145 * resolv/tst-ns_name_pton.c: New file.
25146 * resolv/Makefile (tests): Add tst-ns_name_pton.
25147 (tst-ns_name_pton): Link against libresolv.
25149 2017-11-11 Florian Weimer <fweimer@redhat.com>
25151 * resolv/tst-res_hnok.c: New file.
25152 * resolv/Makefile (tests): Add tst-res_hnok.
25153 (tst-res_hnok): Link against libresolv.
25155 2017-11-11 Florian Weimer <fweimer@redhat.com>
25157 * resolv/tst-resolv-network.c: Use test framework instead explicit
25160 2017-11-09 H.J. Lu <hongjiu.lu@intel.com>
25162 * include/setjmp.h [!_ISOMAC]: Include <stddef.h> and
25163 <jmp_buf-macros.h>.
25164 [!_ISOMAC] (STR_HELPER): New.
25165 [!_ISOMAC] (STR): Likewise.
25166 [!_ISOMAC] (TEST_SIZE): Likewise.
25167 [!_ISOMAC] (TEST_ALIGN): Likewise.
25168 [!_ISOMAC] (TEST_OFFSET): Likewise.
25169 [!_ISOMAC] Add _Static_assert to check sizes, alignments and
25170 field offsets of jmp_buf as well as sigjmp_buf.
25171 * sysdeps/unix/sysv/linux/aarch64/jmp_buf-macros.h: Likewise.
25172 * sysdeps/unix/sysv/linux/alpha/jmp_buf-macros.h: Likewise.
25173 * sysdeps/unix/sysv/linux/arm/jmp_buf-macros.h: Likewise.
25174 * sysdeps/unix/sysv/linux/hppa/jmp_buf-macros.h: Likewise.
25175 * sysdeps/unix/sysv/linux/i386/jmp_buf-macros.h: Likewise.
25176 * sysdeps/unix/sysv/linux/ia64/jmp_buf-macros.h: Likewise.
25177 * sysdeps/unix/sysv/linux/m68k/jmp_buf-macros.h: Likewise.
25178 * sysdeps/unix/sysv/linux/microblaze/jmp_buf-macros.h: Likewise.
25179 * sysdeps/unix/sysv/linux/mips/mips32/jmp_buf-macros.h: Likewise.
25180 * sysdeps/unix/sysv/linux/mips/mips64/n32/jmp_buf-macros.h:
25182 * sysdeps/unix/sysv/linux/mips/mips64/n64/jmp_buf-macros.h:
25184 * sysdeps/unix/sysv/linux/nios2/jmp_buf-macros.h: Likewise.
25185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/jmp_buf-macros.h:
25187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/jmp_buf-macros.h:
25189 * sysdeps/unix/sysv/linux/s390/s390-32/jmp_buf-macros.h: Likewise.
25190 * sysdeps/unix/sysv/linux/s390/s390-64/jmp_buf-macros.h: Likewise.
25191 * sysdeps/unix/sysv/linux/sh/jmp_buf-macros.h: Likewise.
25192 * sysdeps/unix/sysv/linux/sparc/sparc32/jmp_buf-macros.h: Likewise.
25193 * sysdeps/unix/sysv/linux/sparc/sparc64/jmp_buf-macros.h: Likewise.
25194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/jmp_buf-macros.h:
25196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/jmp_buf-macros.h:
25198 * sysdeps/unix/sysv/linux/tile/tilepro/jmp_buf-macros.h: Likewise.
25199 * sysdeps/unix/sysv/linux/x86_64/64/jmp_buf-macros.h: Likewise.
25200 * sysdeps/unix/sysv/linux/x86_64/x32/jmp_buf-macros.h: Likewise.
25202 2017-11-07 Joseph Myers <joseph@codesourcery.com>
25205 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25206 && __HAVE_FLOAT32] (FLT32_MANT_DIG): New macro.
25207 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25208 && __HAVE_FLOAT32] (FLT32_DECIMAL_DIG): Likewise.
25209 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25210 && __HAVE_FLOAT32] (FLT32_DIG): Likewise.
25211 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25212 && __HAVE_FLOAT32] (FLT32_MIN_EXP): Likewise.
25213 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25214 && __HAVE_FLOAT32] (FLT32_MIN_10_EXP): Likewise.
25215 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25216 && __HAVE_FLOAT32] (FLT32_MAX_EXP): Likewise.
25217 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25218 && __HAVE_FLOAT32] (FLT32_MAX_10_EXP): Likewise.
25219 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25220 && __HAVE_FLOAT32] (FLT32_MAX): Likewise.
25221 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25222 && __HAVE_FLOAT32] (FLT32_EPSILON): Likewise.
25223 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25224 && __HAVE_FLOAT32] (FLT32_MIN): Likewise.
25225 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25226 && __HAVE_FLOAT32] (FLT32_TRUE_MIN): Likewise.
25227 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25228 && __HAVE_FLOAT64] (FLT64_MANT_DIG): Likewise.
25229 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25230 && __HAVE_FLOAT64] (FLT64_DECIMAL_DIG): Likewise.
25231 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25232 && __HAVE_FLOAT64] (FLT64_DIG): Likewise.
25233 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25234 && __HAVE_FLOAT64] (FLT64_MIN_EXP): Likewise.
25235 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25236 && __HAVE_FLOAT64] (FLT64_MIN_10_EXP): Likewise.
25237 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25238 && __HAVE_FLOAT64] (FLT64_MAX_EXP): Likewise.
25239 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25240 && __HAVE_FLOAT64] (FLT64_MAX_10_EXP): Likewise.
25241 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25242 && __HAVE_FLOAT64] (FLT64_MAX): Likewise.
25243 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25244 && __HAVE_FLOAT64] (FLT64_EPSILON): Likewise.
25245 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25246 && __HAVE_FLOAT64] (FLT64_MIN): Likewise.
25247 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25248 && __HAVE_FLOAT64] (FLT64_TRUE_MIN): Likewise.
25249 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25250 && __HAVE_FLOAT32X] (FLT32X_MANT_DIG): Likewise.
25251 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25252 && __HAVE_FLOAT32X] (FLT32X_DECIMAL_DIG): Likewise.
25253 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25254 && __HAVE_FLOAT32X] (FLT32X_DIG): Likewise.
25255 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25256 && __HAVE_FLOAT32X] (FLT32X_MIN_EXP): Likewise.
25257 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25258 && __HAVE_FLOAT32X] (FLT32X_MIN_10_EXP): Likewise.
25259 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25260 && __HAVE_FLOAT32X] (FLT32X_MAX_EXP): Likewise.
25261 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25262 && __HAVE_FLOAT32X] (FLT32X_MAX_10_EXP): Likewise.
25263 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25264 && __HAVE_FLOAT32X] (FLT32X_MAX): Likewise.
25265 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25266 && __HAVE_FLOAT32X] (FLT32X_EPSILON): Likewise.
25267 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25268 && __HAVE_FLOAT32X] (FLT32X_MIN): Likewise.
25269 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25270 && __HAVE_FLOAT32X] (FLT32X_TRUE_MIN): Likewise.
25271 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25272 && __HAVE_FLOAT64X] (FLT64X_MANT_DIG): Likewise.
25273 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25274 && __HAVE_FLOAT64X] (FLT64X_DECIMAL_DIG): Likewise.
25275 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25276 && __HAVE_FLOAT64X] (FLT64X_DIG): Likewise.
25277 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25278 && __HAVE_FLOAT64X] (FLT64X_MIN_EXP): Likewise.
25279 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25280 && __HAVE_FLOAT64X] (FLT64X_MIN_10_EXP): Likewise.
25281 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25282 && __HAVE_FLOAT64X] (FLT64X_MAX_EXP): Likewise.
25283 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25284 && __HAVE_FLOAT64X] (FLT64X_MAX_10_EXP): Likewise.
25285 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25286 && __HAVE_FLOAT64X] (FLT64X_MAX): Likewise.
25287 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25288 && __HAVE_FLOAT64X] (FLT64X_EPSILON): Likewise.
25289 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25290 && __HAVE_FLOAT64X] (FLT64X_MIN): Likewise.
25291 [!__GNUC_PREREQ (7, 0) && __GLIBC_USE (IEC_60559_TYPES_EXT)
25292 && __HAVE_FLOAT64X] (FLT64X_TRUE_MIN): Likewise.
25294 * stdlib/tst-strtod.h (F16): New macro.
25300 (IF_FLOAT16): Likewise.
25301 (IF_FLOAT32): Likewise.
25302 (IF_FLOAT64): Likewise.
25303 (IF_FLOAT32X): Likewise.
25304 (IF_FLOAT64X): Likewise.
25305 (IF_FLOAT128X): Likewise.
25306 (GEN_TEST_STRTOD_FOREACH): Conditionally call macros for _Float16,
25307 _Float32, _Float64, _Float32x, _Float64x and _Float128x.
25308 (STRTOD_TEST_FOREACH): Likewise.
25309 * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f32): New macro.
25310 (CHOOSE_f64): Likewise.
25311 (CHOOSE_f32x): Likewise.
25312 (CHOOSE_f64x): Likewise.
25314 2017-11-07 Andreas Schwab <schwab@suse.de>
25316 * nptl/Makefile (tests-internal): Remove tst-typesizes.
25318 2017-11-07 Mike FABIAN <mfabian@redhat.com>
25321 * localedata/locales/mfe_MU (LC_TIME): Fix wrong d_fmt, / needs
25323 * localedata/locales/miq_NI (LC_TIME): Fix wrong d_fmt, / needs
25326 2017-11-07 Claude Paroz <claude@2xlibre.net>
25329 * localedata/locales/an_ES (LC_TIME): Fix wrong d_fmt, / needs
25331 * localedata/locales/kab_DZ (LC_TIME): Fix wrong d_fmt, / needs
25333 * localedata/locales/om_ET (LC_TIME): Fix wrong d_fmt, / needs
25336 2017-11-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25339 * nptl/allocatestack.c (allocate_stack): Check if
25340 __PTHREAD_MUTEX_HAVE_PREV is non-zero, instead if
25341 __PTHREAD_MUTEX_HAVE_PREV is defined.
25342 * nptl/descr.h (pthread): Likewise.
25343 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
25345 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
25346 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
25347 * sysdeps/nptl/pthread.h (PTHREAD_MUTEX_INITIALIZER): Likewise.
25348 * sysdeps/nptl/bits/thread-shared-types.h
25349 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25351 (__pthread_internal_list): Check __PTHREAD_MUTEX_USE_UNION instead
25352 of __WORDSIZE for internal layout.
25353 (__pthread_mutex_s): Check __PTHREAD_MUTEX_NUSERS_AFTER_KIND instead
25354 of __WORDSIZE for internal __nusers layout and __PTHREAD_MUTEX_USE_UNION
25355 instead of __WORDSIZE whether to use an union for __spins and __list
25357 (__PTHREAD_MUTEX_HAVE_PREV): Define also for __PTHREAD_MUTEX_USE_UNION
25359 * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h
25360 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION): New
25362 * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h
25363 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25365 * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
25366 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25368 * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
25369 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25371 * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h
25372 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25374 * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h
25375 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25377 * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h
25378 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25380 * sysdeps/mips/nptl/bits/pthreadtypes-arch.h
25381 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25383 * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h
25384 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25386 * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h
25387 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25389 * sysdeps/s390/nptl/bits/pthreadtypes-arch.h
25390 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25392 * sysdeps/sh/nptl/bits/pthreadtypes-arch.h
25393 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25395 * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h
25396 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25398 * sysdeps/tile/nptl/bits/pthreadtypes-arch.h
25399 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25401 * sysdeps/x86/nptl/bits/pthreadtypes-arch.h
25402 (__PTHREAD_MUTEX_NUSERS_AFTER_KIND, __PTHREAD_MUTEX_USE_UNION):
25405 * nptl/pthreadP.h (ASSERT_TYPE_SIZE, ASSERT_PTHREAD_INTERNAL_SIZE):
25407 * nptl/pthread_attr_init.c (__pthread_mutex_init): Add build time
25408 checks for expected input type size.
25409 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
25410 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25412 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25413 * nptl/pthread_condattr_init.c (__pthread_condattr_init): Likewise.
25414 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
25415 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likewise.
25416 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
25417 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init): Likewise.
25418 * nptl/sem_init.c (__new_sem_init, __old_sem_init): Likewise
25419 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Remove
25420 superflous runtime assert check.
25421 * nptl/pthread_attr_getaffinity.c (__pthread_attr_getaffinity_new):
25423 * nptl/pthread_attr_getdetachstate.c (__pthread_attr_getdetachstate):
25425 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
25427 * nptl/pthread_attr_getinheritsched.c (__pthread_attr_getinheritsched):
25429 * nptl/pthread_attr_getschedparam.c (__pthread_attr_getschedparam):
25431 * nptl/pthread_attr_getschedpolicy.c (__pthread_attr_getschedpolicy):
25433 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope): Likewise.
25434 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack): Likewise.
25435 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
25437 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
25439 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25441 * nptl/pthread_attr_setdetachstate.c (__pthread_attr_setdetachstate):
25443 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
25445 * nptl/pthread_attr_setinheritsched.c
25446 (__pthread_attr_setinheritsched): Likewise.
25447 * nptl/pthread_attr_setschedparam.c (__pthread_attr_setschedparam):
25449 * nptl/pthread_attr_setschedpolicy.c (__pthread_attr_setschedpolicy):
25451 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope): Likewise.
25452 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack,
25453 __old_pthread_attr_setstack): Likewise.
25454 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
25456 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
25458 * nptl/pthread_getattr_default_np.c (pthread_getattr_default_np):
25460 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
25461 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25463 * nptl/tst-typesizes.c: Remove file.
25465 * nptl/pthreadP.h (ASSERT_PTHREAD_STRING,
25466 ASSERT_PTHREAD_INTERNAL_OFFSET): New macro.
25467 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Add build time
25468 checks for internal pthread_mutex_t offsets.
25469 * sysdeps/aarch64/nptl/pthread-offsets.h
25470 (__PTHREAD_MUTEX_NUSERS_OFFSET, __PTHREAD_MUTEX_KIND_OFFSET,
25471 __PTHREAD_MUTEX_SPINS_OFFSET, __PTHREAD_MUTEX_ELISION_OFFSET,
25472 __PTHREAD_MUTEX_LIST_OFFSET): New macro.
25473 * sysdeps/alpha/nptl/pthread-offsets.h: Likewise.
25474 * sysdeps/arm/nptl/pthread-offsets.h: Likewise.
25475 * sysdeps/hppa/nptl/pthread-offsets.h: Likewise.
25476 * sysdeps/i386/nptl/pthread-offsets.h: Likewise.
25477 * sysdeps/ia64/nptl/pthread-offsets.h: Likewise.
25478 * sysdeps/m68k/nptl/pthread-offsets.h: Likewise.
25479 * sysdeps/microblaze/nptl/pthread-offsets.h: Likewise.
25480 * sysdeps/mips/nptl/pthread-offsets.h: Likewise.
25481 * sysdeps/nios2/nptl/pthread-offsets.h: Likewise.
25482 * sysdeps/powerpc/nptl/pthread-offsets.h: Likewise.
25483 * sysdeps/s390/nptl/pthread-offsets.h: Likewise.
25484 * sysdeps/sh/nptl/pthread-offsets.h: Likewise.
25485 * sysdeps/sparc/nptl/pthread-offsets.h: Likewise.
25486 * sysdeps/tile/nptl/pthread-offsets.h: Likewise.
25487 * sysdeps/x86_64/nptl/pthread-offsets.h: Likewise.
25489 2017-11-07 Florian Weimer <fweimer@redhat.com>
25491 * bits/mman-linux.h: Move ...
25492 * sysdeps/unix/sysv/linux/bits/mman-linux.h: ... here. Update
25494 * sysdeps/unix/sysv/linux/bits/Makefile (sysdep_headers): Remove
25497 2017-11-07 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
25499 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S (STRNLEN):
25500 Redefine STRNLEN as __strnlen_power8.
25502 2017-11-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
25504 * signal/sighold.c (sighold): Optimize implementation.
25506 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Asssume
25507 __NR_rt_sigqueueinfo.
25509 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
25511 * sysdeps/unix/sysv/linux/sigtimedwait.c: Simplify includes and
25512 assume __NR_rt_sigtimedwait.
25513 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Call __sigtimedwait
25514 and add LIBC_CANCEL_HANDLED for cancellation marking.
25515 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
25517 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25518 (sysdeps_routines): Add memchr_noneon.
25519 * sysdeps/arm/armv7/multiarch/ifunc-memchr.h: New file.
25520 * sysdeps/arm/armv7/multiarch/memchr_noneon.S: Likewise.
25521 * sysdeps/arm/armv7/multiarch/rtld-memchr.S: Likewise.
25522 * sysdeps/arm/armv7/multiarch/memchr.S: Remove file.
25523 * sysdeps/arm/armv7/multiarch/memchr.c: New file.
25524 * sysdeps/arm/armv7/multiarch/memchr_impl.S: Move to ...
25525 * sysdeps/arm/armv7/multiarch/memchr_neon.S: ... here.
25527 * sysdeps/arm/arm-ifunc.h: New file.
25528 * sysdeps/arm/armv7/multiarch/ifunc-memcpy.h: Likewise.
25529 * sysdeps/arm/armv7/multiarch/memcpy.c: Likewise.
25530 * sysdeps/arm/armv7/multiarch/memcpy_arm.S: Likewise.
25531 * sysdeps/arm/armv7/multiarch/rtld-memcpy.S: Likewise.
25532 * sysdeps/arm/armv7/multiarch/memcpy_neon.S [!__ARM_NEON__]
25533 (__memcpy_neon): Avoid create hidden alias.
25534 * sysdeps/arm/armv7/multiarch/memcpy_vfp.S [!__ARM_NEON_]
25535 (__memcpy_vfp): Likewise.
25536 * sysdeps/arm/armv7/multiarch/Makefile [$(subdir) = string]
25537 (sysdep_routines): Add memcpy_arm.
25538 * sysdeps/arm/armv7/multiarch/memcpy.S: Remove file.
25540 2017-11-06 H.J. Lu <hongjiu.lu@intel.com>
25543 * Makerules (make-link-multidir): New.
25544 * config.make.in (multidir): New.
25545 * configure.ac (libc_cv_multidir): New. AC_SUBST.
25546 * configure: Regenerated.
25547 * csu/Makefile [$(multidir) != .](multilib-extra-objs): New.
25548 [$(multidir) != .](extra-objs): Add $(multilib-extra-objs).
25549 [$(multidir) != .]($(addprefix $(objpfx)$(multidir)/, $(install-lib))):
25552 2017-11-06 Joseph Myers <joseph@codesourcery.com>
25555 * sysdeps/powerpc/bits/floatn.h: Include <bits/long-double.h>.
25556 [__NO_LONG_DOUBLE_MATH] (__HAVE_FLOAT128): Define to 0.
25558 2017-11-04 Mike FABIAN <mfabian@redhat.com>
25560 * localedata/locales/tpi_PG (LC_TIME): Fix wrong d_fmt, / needs
25563 2017-11-04 Florian Weimer <fweimer@redhat.com>
25565 * manual/llio.texi (Open-time Flags): Document O_TMPFILE.
25567 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25569 * math/math.h [__HAVE_DISTINCT_FLOAT16
25570 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25571 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25572 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25573 [__NO_LONG_DOUBLE_MATH && __HAVE_DISTINCT_FLOAT128]: Likewise.
25574 [__HAVE_DISTINCT_FLOAT128 && !__HAVE_GENERIC_SELECTION
25575 && __HAVE_FLOATN_NOT_TYPEDEF]: Likewise.
25576 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25577 (__MATH_TG_F32): New macro.
25578 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25579 (__MATH_TG_F64X): Likewise.
25580 [__HAVE_DISTINCT_FLOAT128 && __HAVE_GENERIC_SELECTION]
25581 (__MATH_TG): Use __MATH_TG_F32 and __MATH_TG_F64X.
25583 2017-11-03 Dmitry V. Levin <ldv@altlinux.org>
25585 * po/de.po: Update translations.
25586 * po/ru.po: Likewise.
25588 2017-11-03 Florian Weimer <fweimer@redhat.com>
25590 * manual/filesys.texi (Hard Links): Document linkat.
25592 2017-11-03 Joseph Myers <joseph@codesourcery.com>
25594 * math/tgmath.h [__HAVE_DISTINCT_FLOAT16
25595 || __HAVE_DISTINCT_FLOAT32 || __HAVE_DISTINCT_FLOAT64
25596 || __HAVE_DISTINCT_FLOAT32X || __HAVE_DISTINCT_FLOAT64X
25597 || __HAVE_DISTINCT_FLOAT128X]: Use #error.
25598 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25599 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25600 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_F128): Handle _Float64x
25601 the same as _Float128.
25602 [__HAVE_DISTINCT_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)
25603 && __HAVE_FLOAT64X && !__HAVE_FLOAT64X_LONG_DOUBLE
25604 && __HAVE_FLOATN_NOT_TYPEDEF] (__TGMATH_CF128): Likewise.
25607 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof16):
25609 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof32):
25611 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (strtof64):
25613 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25614 (strtof32x): Likewise.
25615 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25616 (strtof64x): Likewise.
25617 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25618 (strtof128x): Likewise.
25619 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25620 (strfromf16): Likewise.
25621 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25622 (strfromf32): Likewise.
25623 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25624 (strfromf64): Likewise.
25625 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25626 (strfromf32x): Likewise.
25627 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25628 (strfromf64x): Likewise.
25629 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25630 (strfromf128x): Likewise.
25631 [__USE_GNU && __HAVE_FLOAT16] (strtof16_l): Likewise.
25632 [__USE_GNU && __HAVE_FLOAT32] (strtof32_l): Likewise.
25633 [__USE_GNU && __HAVE_FLOAT64] (strtof64_l): Likewise.
25634 [__USE_GNU && __HAVE_FLOAT32X] (strtof32x_l): Likewise.
25635 [__USE_GNU && __HAVE_FLOAT64X] (strtof64x_l): Likewise.
25636 [__USE_GNU && __HAVE_FLOAT128X] (strtof128x_l): Likewise.
25638 2017-11-03 Richard Henderson <rth@twiddle.net>
25640 * sysdeps/unix/sysv/linux/aarch64/sysconf.c: New file.
25642 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25644 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Optimize.
25646 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25648 * sysdeps/arm/dl-machine.h (elf_machine_runtime_setup): Remove
25649 DT_TLSDESC_GOT initialization.
25650 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_lazy_resolver): Remove.
25651 (_dl_tlsdesc_resolve_hold): Likewise.
25652 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_lazy_resolver): Remove.
25653 (_dl_tlsdesc_resolve_hold): Likewise.
25654 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_lazy_resolver_fixup): Remove.
25655 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25657 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25659 * sysdeps/arm/dl-machine.h (elf_machine_rel): Remove volatile.
25661 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25664 * sysdeps/arm/dl-machine.h (elf_machine_lazy_rel): Do symbol binding
25665 non-lazily for R_ARM_TLS_DESC.
25667 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25670 * sysdeps/arm/dl-machine.h (elf_machine_rela): Remove the
25671 R_ARM_TLS_DESC case.
25672 (elf_machine_lazy_rel): Remove the prelink check.
25674 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25676 * sysdeps/aarch64/dl-machine.h (elf_machine_runtime_setup): Remove
25677 DT_TLSDESC_GOT initialization.
25678 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Remove.
25679 (_dl_tlsdesc_resolve_rela): Likewise.
25680 (_dl_tlsdesc_resolve_hold): Likewise.
25681 (_dl_tlsdesc_undefweak): Remove ldar.
25682 (_dl_tlsdesc_dynamic): Likewise.
25683 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Remove.
25684 (_dl_tlsdesc_resolve_rela): Likewise.
25685 (_dl_tlsdesc_resolve_hold): Likewise.
25686 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Remove.
25687 (_dl_tlsdesc_resolve_hold_fixup): Likewise.
25688 (_dl_tlsdesc_resolve_rela): Likewise.
25689 (_dl_tlsdesc_resolve_hold): Likewise.
25691 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25693 * sysdeps/aarch64/dl-machine.h (elf_machine_lazy_rel): Do symbol
25694 binding and initialization non-lazily for R_AARCH64_TLSDESC.
25696 2017-11-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
25698 * elf/tlsdeschtab.h (_dl_tls_resolve_early_return_p): Mark unused.
25699 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
25701 2017-11-02 Joseph Myers <joseph@codesourcery.com>
25703 * wcsmbs/wchar.h [__HAVE_FLOAT16 && __USE_GNU] (wcstof16):
25705 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32): Likewise.
25706 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64): Likewise.
25707 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x): Likewise.
25708 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x): Likewise.
25709 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x): Likewise.
25710 [__HAVE_FLOAT16 && __USE_GNU] (wcstof16_l): Likewise.
25711 [__HAVE_FLOAT32 && __USE_GNU] (wcstof32_l): Likewise.
25712 [__HAVE_FLOAT64 && __USE_GNU] (wcstof64_l): Likewise.
25713 [__HAVE_FLOAT32X && __USE_GNU] (wcstof32x_l): Likewise.
25714 [__HAVE_FLOAT64X && __USE_GNU] (wcstof64x_l): Likewise.
25715 [__HAVE_FLOAT128X && __USE_GNU] (wcstof128x_l): Likewise.
25717 2017-11-02 Mike FABIAN <mfabian@redhat.com>
25720 * localedata/locales/tpi_PG (LC_TIME): Fix syntax error.
25721 * localedata/locales/tpi_PG: Add standard header.
25723 2017-11-02 Florian Weimer <fweimer@redhat.com>
25725 test-errno-linux: quotactl can fail with EPERM in containers.
25726 * sysdeps/unix/sysv/linux/test-errno-linux.c
25727 (LIST, LIST_FORWARD): New macros.
25728 (check_error_in_list): New function.
25729 (test_wrp_rv): Accept list of permitted error codes.
25730 (test_wrp_rv2): Remove.
25731 (test_wrp): Call test_wrp_rv with list of error codes.
25732 (test_wrp2): Accept list of error codes.
25733 (do_test): Adjust. Allow EPERM for quotactl.
25735 2017-11-02 Florian Weimer <fweimer@redhat.com>
25737 * stdio-common/bug16.c (do_test): Use array_length.
25738 * stdio-common/errlist.c (_sys_nerr): Likewise.
25739 * stdio-common/printf_fp.c (PRINTF_FP_FETCH): Likewise.
25740 * stdio-common/printf_fphex.c (__printf_fphex): Use array_end.
25741 * stdio-common/psiginfo.c (psiginfo): Use array_length.
25742 * stdio-common/test-vfprintf.c (nlocs): Remove definition.
25743 (do_test): Use array_length.
25744 * stdio-common/tst-fphex.c (do_test): Use array_end, array_length.
25745 * stdio-common/tst-long-dbl-fphex.c (do_test): Use array_length.
25746 * stdio-common/tst-printf-round.c (do_test): Likewise.
25747 * stdio-common/tst-swprintf.c (nbuf): Remove definition.
25748 (CHECK): Use array_length.
25749 * stdio-common/tstdiomisc.c (t3, F): Likewise.
25750 * stdio-common/tstscanf.c (main): Likewise.
25751 * stdio-common/vfprintf.c (process_string_arg): Likewise.
25753 2017-11-02 Florian Weimer <fweimer@redhat.com>
25755 Add array_length and array_end macros.
25756 * include/array_length.h: New file.
25758 2017-11-02 Florian Weimer <fweimer@redhat.com>
25761 * posix/tst-glob-tilde.c (do_noescape): New variable.
25762 (one_test): Process it.
25763 (do_test): Set do_noescape. Add unescaping test case.
25765 2017-11-01 Joseph Myers <joseph@codesourcery.com>
25768 [(__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC))
25769 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Include <bits/cmathcalls.h>
25770 with appropriate macros defined and undefined.
25771 [(__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC))
25772 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25773 [(__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC))
25774 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25775 [(__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC))
25776 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25777 [(__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC))
25778 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25779 [(__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC))
25780 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Likewise.
25783 [(__HAVE_DISTINCT_FLOAT128 || (__HAVE_FLOAT128 && !LIBC))
25784 && __GLIBC_USE (IEC_60559_TYPES_EXT)]: Move conditional code after
25785 that for long double. Do not condition define and undefine of
25786 _Mdouble_complex_ on [__CFLOAT128].
25788 2017-11-01 H.J. Lu <hongjiu.lu@intel.com>
25790 * sysdeps/i386/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25791 of <sysdeps/generic/sysdep.h>.
25792 (ALIGNARG): Removed.
25793 (ASM_SIZE_DIRECTIVE): Likewise.
25796 (ENTRY_CHK): Likewise.
25797 (END_CHK): Likewise.
25798 (syscall_error): Likewise.
25799 (mcount): Likewise.
25800 (PSEUDO_END): Likewise.
25802 (atom_text_section): Likewise.
25803 * sysdeps/x86/sysdep.h: New file.
25804 * sysdeps/x86_64/sysdep.h: Include <sysdeps/x86/sysdep.h> instead
25805 of <sysdeps/generic/sysdep.h>.
25806 (ALIGNARG): Removed.
25807 (ASM_SIZE_DIRECTIVE): Likewise.
25810 (ENTRY_CHK): Likewise.
25811 (END_CHK): Likewise.
25812 (syscall_error): Likewise.
25813 (mcount): Likewise.
25814 (PSEUDO_END): Likewise.
25816 (atom_text_section): Likewise.
25818 2017-10-31 Rafal Luzynski <digitalfreak@lingonborough.com>
25820 * localedata/unicode-gen/gen_unicode_ctype.py (output_head):
25821 category of LC_CTYPE set to "i18n:2012".
25822 * localedata/locales/i18n_ctype: Regenerate.
25824 2017-10-31 Yury Norov <ynorov@caviumnetworks.com>
25826 * sysdeps/unix/sysv/linux/sigprocmask.c: Remove useless #ifdefs.
25827 * sysdeps/unix/sysv/linux/sigtimedwait.c: Likewise.
25828 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
25829 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
25831 * sysdeps/unix/sysv/linux/ia64/sigpending.c: Remove file.
25832 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c: Likewise.
25833 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Likewise.
25834 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Likewise.
25836 2017-10-31 Joseph Myers <joseph@codesourcery.com>
25839 [__HAVE_FLOAT16 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF16):
25841 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF32):
25843 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF64):
25845 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25846 (CMPLXF32X): Likewise.
25847 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25848 (CMPLXF64X): Likewise.
25849 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
25850 (CMPLXF128X): Likewise.
25853 [__FLT_EVAL_METHOD__ == 0 || __FLT_EVAL_METHOD__ == 32]
25854 (__MATH_EVAL_FMT2): Define to add 0.0f.
25856 2017-10-31 Alan Modra <amodra@gmail.com>
25858 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: Don't
25860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: Likewise.
25861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: Likewise.
25862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: Likewise.
25863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
25864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: Likewise.
25865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: Likewise.
25869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
25872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: Likewise.
25874 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: Likewise.
25876 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Likewise.
25877 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
25878 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: Likewise.
25879 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Likewise.
25880 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
25881 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
25882 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
25883 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
25884 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
25885 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
25886 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
25887 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
25888 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S: Likewise.
25889 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Likewise.
25890 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
25891 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
25892 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
25893 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
25894 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Likewise.
25895 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
25896 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
25897 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Likewise.
25898 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: Likewise.
25899 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
25900 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Likewise.
25901 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Likewise.
25902 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
25903 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
25904 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
25905 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
25906 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
25907 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Likewise.
25908 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25909 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
25910 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
25911 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S: Likewise.
25912 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Likewise.
25913 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
25914 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
25915 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
25916 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
25917 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
25918 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25919 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25920 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
25921 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
25922 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
25923 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
25924 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: Likewise.
25925 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
25926 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: Likewise.
25927 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S: Likewise.
25928 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Likewise.
25930 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: Don't
25931 include sysdep.h and math_ldbl_opt.h.
25933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: Don't
25934 include sysdep.h and math_ldbl_opt.h. Include shlib-compat.h.
25935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: Likewise.
25936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: Likewise.
25937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: Likewise.
25938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: Likewise.
25939 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: Likewise.
25940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: Likewise.
25941 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: Likewise.
25942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: Likewise.
25943 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: Likewise.
25944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: Likewise.
25945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: Likewise.
25946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: Likewise.
25947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: Likewise.
25948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: Likewise.
25949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: Likewise.
25950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: Likewise.
25951 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: Likewise.
25952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: Likewise.
25953 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: Likewise.
25954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: Likewise.
25955 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: Likewise.
25956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: Likewise.
25957 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: Likewise.
25958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: Likewise.
25960 2017-10-31 Alan Modra <amodra@gmail.com>
25962 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: Include
25963 string/strncase_l.c, not string/strncase.c.
25964 (USE_IN_EXTENDED_LOCALE_MODEL): Don't define.
25965 (libc_hidden_def): Redefine.
25967 2017-10-31 Alan Modra <amodra@gmail.com>
25969 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S:
25970 (__STRCMP, STRCMP, __strcasecmp_l): Define.
25971 (__strcasecmp): Don't define.
25973 2017-10-31 Alan Modra <amodra@gmail.com>
25975 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: Wrap in
25977 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
25978 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
25979 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
25981 2017-10-31 Alan Modra <amodra@gmail.com>
25983 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Don't define
25986 2017-10-31 Alan Modra <amodra@gmail.com>
25988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S (hidden_def):
25989 Redefine only when SHARED.
25991 2017-10-30 Joseph Myers <joseph@codesourcery.com>
25993 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
25994 Include <bits/math-finite.h> with appropriate macros defined and
25996 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
25997 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
25998 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
25999 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26000 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26002 * math/math.h [!_Mfloat_] (_Mfloat_): Do not define.
26003 [!_Mlong_double_] (_Mlong_double_): Likewise.
26004 [!_Mfloat16_] (_Mfloat16_): Likewise.
26005 [!_Mfloat32_] (_Mfloat32_): Likewise.
26006 [!_Mfloat64_] (_Mfloat64_): Likewise.
26007 [!_Mfloat128_] (_Mfloat128_): Likewise.
26008 [!_Mfloat32x_] (_Mfloat32x_): Likewise.
26009 [!_Mfloat64x_] (_Mfloat64x_): Likewise.
26010 [!_Mfloat128x_] (_Mfloat128x_): Likewise.
26011 (_Mdouble_): Define without indirection through those macros.
26012 * math/complex.h [!_Mfloat_] (_Mfloat_): Do not define.
26013 [!_Mfloat128_] (_Mfloat128_): Likewise.
26014 [_Mlong_double_] (_Mlong_double_): Likewise.
26015 (_Mdouble_): Define without indirection through those macros.
26016 * math/Makefile [$(long-double-fcts) != yes] (math-CPPFLAGS): Do
26017 not add -D_Mlong_double_=double.
26018 * include/math.h [_ISOMAC] (_Mlong_double_): Do not undefine.
26019 * math/test-signgam-finite-c99.c (_Mlong_double_): Likewise.
26021 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26023 * sysdeps/x86/libc-start.c: Add /* !SHARED */.
26025 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26027 * sysdeps/x86/libc-start.c: Reformat.
26029 2017-10-30 H.J. Lu <hongjiu.lu@intel.com>
26032 * sysdeps/i386/i586/strcpy.S (STRCPY): Use conditional branches.
26033 (1): Renamed to ...
26036 (L(Src2)): Likewise.
26037 (L(1)): Renamed to ...
26040 2017-10-30 Joseph Myers <joseph@codesourcery.com>
26042 * math/math.h [__HAVE_FLOAT16 && __USE_GNU] (M_Ef16): New macro.
26043 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG2Ef16): Likewise.
26044 [__HAVE_FLOAT16 && __USE_GNU] (M_LOG10Ef16): Likewise.
26045 [__HAVE_FLOAT16 && __USE_GNU] (M_LN2f16): Likewise.
26046 [__HAVE_FLOAT16 && __USE_GNU] (M_LN10f16): Likewise.
26047 [__HAVE_FLOAT16 && __USE_GNU] (M_PIf16): Likewise.
26048 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_2f16): Likewise.
26049 [__HAVE_FLOAT16 && __USE_GNU] (M_PI_4f16): Likewise.
26050 [__HAVE_FLOAT16 && __USE_GNU] (M_1_PIf16): Likewise.
26051 [__HAVE_FLOAT16 && __USE_GNU] (M_2_PIf16): Likewise.
26052 [__HAVE_FLOAT16 && __USE_GNU] (M_2_SQRTPIf16): Likewise.
26053 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT2f16): Likewise.
26054 [__HAVE_FLOAT16 && __USE_GNU] (M_SQRT1_2f16): Likewise.
26055 [__HAVE_FLOAT32 && __USE_GNU] (M_Ef32): Likewise.
26056 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG2Ef32): Likewise.
26057 [__HAVE_FLOAT32 && __USE_GNU] (M_LOG10Ef32): Likewise.
26058 [__HAVE_FLOAT32 && __USE_GNU] (M_LN2f32): Likewise.
26059 [__HAVE_FLOAT32 && __USE_GNU] (M_LN10f32): Likewise.
26060 [__HAVE_FLOAT32 && __USE_GNU] (M_PIf32): Likewise.
26061 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_2f32): Likewise.
26062 [__HAVE_FLOAT32 && __USE_GNU] (M_PI_4f32): Likewise.
26063 [__HAVE_FLOAT32 && __USE_GNU] (M_1_PIf32): Likewise.
26064 [__HAVE_FLOAT32 && __USE_GNU] (M_2_PIf32): Likewise.
26065 [__HAVE_FLOAT32 && __USE_GNU] (M_2_SQRTPIf32): Likewise.
26066 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT2f32): Likewise.
26067 [__HAVE_FLOAT32 && __USE_GNU] (M_SQRT1_2f32): Likewise.
26068 [__HAVE_FLOAT64 && __USE_GNU] (M_Ef64): Likewise.
26069 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG2Ef64): Likewise.
26070 [__HAVE_FLOAT64 && __USE_GNU] (M_LOG10Ef64): Likewise.
26071 [__HAVE_FLOAT64 && __USE_GNU] (M_LN2f64): Likewise.
26072 [__HAVE_FLOAT64 && __USE_GNU] (M_LN10f64): Likewise.
26073 [__HAVE_FLOAT64 && __USE_GNU] (M_PIf64): Likewise.
26074 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_2f64): Likewise.
26075 [__HAVE_FLOAT64 && __USE_GNU] (M_PI_4f64): Likewise.
26076 [__HAVE_FLOAT64 && __USE_GNU] (M_1_PIf64): Likewise.
26077 [__HAVE_FLOAT64 && __USE_GNU] (M_2_PIf64): Likewise.
26078 [__HAVE_FLOAT64 && __USE_GNU] (M_2_SQRTPIf64): Likewise.
26079 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT2f64): Likewise.
26080 [__HAVE_FLOAT64 && __USE_GNU] (M_SQRT1_2f64): Likewise.
26081 [__HAVE_FLOAT32X && __USE_GNU] (M_Ef32x): Likewise.
26082 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG2Ef32x): Likewise.
26083 [__HAVE_FLOAT32X && __USE_GNU] (M_LOG10Ef32x): Likewise.
26084 [__HAVE_FLOAT32X && __USE_GNU] (M_LN2f32x): Likewise.
26085 [__HAVE_FLOAT32X && __USE_GNU] (M_LN10f32x): Likewise.
26086 [__HAVE_FLOAT32X && __USE_GNU] (M_PIf32x): Likewise.
26087 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_2f32x): Likewise.
26088 [__HAVE_FLOAT32X && __USE_GNU] (M_PI_4f32x): Likewise.
26089 [__HAVE_FLOAT32X && __USE_GNU] (M_1_PIf32x): Likewise.
26090 [__HAVE_FLOAT32X && __USE_GNU] (M_2_PIf32x): Likewise.
26091 [__HAVE_FLOAT32X && __USE_GNU] (M_2_SQRTPIf32x): Likewise.
26092 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT2f32x): Likewise.
26093 [__HAVE_FLOAT32X && __USE_GNU] (M_SQRT1_2f32x): Likewise.
26094 [__HAVE_FLOAT64X && __USE_GNU] (M_Ef64x): Likewise.
26095 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG2Ef64x): Likewise.
26096 [__HAVE_FLOAT64X && __USE_GNU] (M_LOG10Ef64x): Likewise.
26097 [__HAVE_FLOAT64X && __USE_GNU] (M_LN2f64x): Likewise.
26098 [__HAVE_FLOAT64X && __USE_GNU] (M_LN10f64x): Likewise.
26099 [__HAVE_FLOAT64X && __USE_GNU] (M_PIf64x): Likewise.
26100 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_2f64x): Likewise.
26101 [__HAVE_FLOAT64X && __USE_GNU] (M_PI_4f64x): Likewise.
26102 [__HAVE_FLOAT64X && __USE_GNU] (M_1_PIf64x): Likewise.
26103 [__HAVE_FLOAT64X && __USE_GNU] (M_2_PIf64x): Likewise.
26104 [__HAVE_FLOAT64X && __USE_GNU] (M_2_SQRTPIf64x): Likewise.
26105 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT2f64x): Likewise.
26106 [__HAVE_FLOAT64X && __USE_GNU] (M_SQRT1_2f64x): Likewise.
26107 [__HAVE_FLOAT128X && __USE_GNU]: Use #error.
26109 2017-10-30 Florian Weimer <fweimer@redhat.com>
26111 * elf/ldconfig.c (search_dir): Assume that _DIRENT_HAVE_D_TYPE is
26113 * io/tst-mkdirat.c (do_test): Likewise.
26114 * io/tst-mkfifoat.c (do_test): Likewise.
26115 * io/tst-mknodat.c (do_test): Likewise.
26116 * locale/programs/charmap-dir.c (charmap_readdir): Likewise.
26117 * locale/programs/locale.c (select_dirs): Likewise.
26118 * locale/programs/locarchive.c (add_locales_to_archive): Likewise.
26119 * posix/bug-glob2.c (my_readdir): Likewise.
26120 * posix/tst-dir.c (main): Likewise.
26121 * posix/tst-glob_lstat_compat.c (my_readdir): Likewise.
26122 * posix/tst-gnuglob-skeleton.c (my_readdir): Likewise.
26124 2017-10-30 Florian Weimer <fweimer@redhat.com>
26126 * string/strings.h (ffsl, ffsll): Declare under __USE_MISC, not
26129 2017-10-30 Florian Weimer <fweimer@redhat.com>
26131 * posix/tst-gnuglob-skeleton.c: Renamed from tst-gnuglob.c.
26132 Convert to support/test-driver.c.
26133 (GLOB_FUNC, GLOB_TYPE, GLOBFREE_FUNC, DIRENT_STRUCT, STAT_STRUCT):
26134 New macro parameters.
26135 (PRINTF): Remove macro. Use test_verbose conditionals instead.
26136 * posix/tst-gnuglob.c: New file.
26137 * posix/tst-gnuglob64.c: Likewise.
26138 * posix/Makefile (tests): Add tst-gnuglob64.
26140 2017-10-30 Michal Ostrowski <ostrowski.michal@gmail.com>
26143 * localedata/locales/csb_PL (LC_TIME): Fix “abmon” for March
26144 and use a better translation for March in “mon”.
26145 * localedata/locales/csb_PL: Use more ASCII to improve the
26146 readability of the source.
26148 2017-10-30 Mike FABIAN <mfabian@redhat.com>
26151 * localedata/locales/km_KH: Use ASCII as much
26152 as possible for better readability of the source and
26153 remove useless comments.
26154 * localedata/locales/km_KH (LC_TIME): Remove era stuff, it
26155 was commented out and apparently wrong anyway because it was
26156 using Lao characters. If Buddhist era should be used
26157 for km_KH, a native speaker should write the correct formaat
26159 * localedata/locales/km_KH (LC_TIME): Add first_weekday 1
26160 (According to CLDR, the first weekday for Cambodia is Sunday).
26161 * localedata/locales/km_KH (LC_NAME): Remove name_mr and name_mrs
26162 (These were using Lao characters which must be wrong. If we get
26163 the correct data from a native speaker, we could add it back, until
26164 then it is better not to have name_mr and name_mrs at all than
26167 2017-10-27 Rafal Luzynski <digitalfreak@lingonborough.com>
26169 * locale/loadlocale.c: Correct size of
26170 _nl_value_type_LC_<category> arrays.
26172 2017-10-27 Joseph Myers <joseph@codesourcery.com>
26174 * math/math.h [__HAVE_DISTINCT_FLOAT16 || (__HAVE_FLOAT16 && !_LIBC)]:
26175 Include <bits/mathcalls-helper-functions.h> and <bits/mathcalls.h>
26176 with appropriate macros defined and undefined.
26177 [__HAVE_DISTINCT_FLOAT32 || (__HAVE_FLOAT32 && !_LIBC)]: Likewise.
26178 [__HAVE_DISTINCT_FLOAT64 || (__HAVE_FLOAT64 && !_LIBC)]: Likewise.
26179 [__HAVE_DISTINCT_FLOAT32X || (__HAVE_FLOAT32X && !_LIBC)]: Likewise.
26180 [__HAVE_DISTINCT_FLOAT64X || (__HAVE_FLOAT64X && !_LIBC)]: Likewise.
26181 [__HAVE_DISTINCT_FLOAT128X || (__HAVE_FLOAT128X && !_LIBC)]: Likewise.
26183 2017-10-27 H.J. Lu <hongjiu.lu@intel.com>
26185 * sysdeps/i386/fpu/libm-test-ulps: Regenerated for GCC 7 with
26188 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26190 * localedata/locales/tt_RU (LC_MESSAGES): Start yesstr and nostr
26191 with lowercase letters to make it agree with CLDR.
26193 2017-10-27 Mike FABIAN <mfabian@redhat.com>
26196 * localedata/locales/doi_IN (LC_MESSAGES): Match only for the
26197 first letters of yesstr and nostr in yesexpr and noexpr,
26198 not for the full words.
26199 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26200 * localedata/locales/kok_IN (LC_MESSAGES): Likewise.
26201 * localedata/locales/mr_IN (LC_MESSAGES): Likewise.
26202 * localedata/locales/sat_IN (LC_MESSAGES): Likewise.
26203 * localedata/locales/km_KH (LC_MESSAGES): Match also for the
26204 first letters of yesstr and nostr in yesexpr and noexpr,
26205 until now only English was matched in yesexpr and noexpr.
26206 * localedata/locales/tl_PH (LC_MESSAGES): Use “copy "fil_PH"”
26207 instead of “copy "en_US"”. CLDR has yesstr and nostr data for
26208 fil but not for tl. As tl and fil are very similar, using fil
26209 is probably better than using English.
26211 2017-10-27 Thierry Vignaud <thierry.vignaud@gmail.com>
26214 * localedata/locales/br_FR (LC_MESSAGES): Use all lowercase
26215 in yesstr and nostr.
26217 2017-10-26 Joseph Myers <joseph@codesourcery.com>
26219 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26220 (IEC_60559_TYPES_EXT)] (SNANF16): New macro.
26221 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32):
26223 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64):
26225 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF32X):
26227 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)] (SNANF64X):
26229 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26230 (SNANF128X): Likewise.
26232 * math/math.h [__HAVE_FLOAT16 && __GLIBC_USE
26233 (IEC_60559_TYPES_EXT)] (HUGE_VAL_F16): New macro.
26234 [__HAVE_FLOAT32 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26235 (HUGE_VAL_F32): Likewise.
26236 [__HAVE_FLOAT64 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26237 (HUGE_VAL_F64): Likewise.
26238 [__HAVE_FLOAT32X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26239 (HUGE_VAL_F32X): Likewise.
26240 [__HAVE_FLOAT64X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26241 (HUGE_VAL_F64X): Likewise.
26242 [__HAVE_FLOAT128X && __GLIBC_USE (IEC_60559_TYPES_EXT)]
26243 (HUGE_VAL_F128X): Likewise.
26245 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26247 * localedata/locales/br_FR (LC_IDENTIFICATON): Add
26248 Thierry Vignaud <thierry.vignaud@gmail.com> as the contact
26249 for the br_FR locale.
26251 2017-10-26 Thierry Vignaud <thierry.vignaud@gmail.com>
26254 * localedata/locales/br_FR (LC_MESSAGES): Fix nostr.
26256 2017-10-25 Carlos O'Donell <carlos@redhat.com>
26258 * locale/programs/record-status.h: Define globals, and function
26259 prototypes. Move function bodies...
26260 * locale/programs/record-status.c: ... to here. New file.
26261 * iconv/Makefile (iconv_prog-modules): Add record-status.
26262 * locale/Makefile (lib-modules): Likewise.
26263 * iconv/iconv_prog.c: Remove verbose.
26264 * iconv/iconv_prog.h: Include record-status.h (defines verbose).
26265 * locale/programs/charmap.c (charmap_read): If warn_ascii is true then
26266 record a warning about ASCII compatibility.
26267 * locale/programs/ld-monetary.c (monetary_finish): If
26268 warn_int_curr_symbol is true then record a warning about the symbol
26269 not being in our ISO 4217 list.
26270 * locale/programs/locale.c: Include record-status.h. Remove verbose.
26271 * locale/programs/localedef.c: Include ctype.h. Remove delcaration of
26272 verbose, recorded_warning_count, recorded_error_count, and be_quiet.
26273 (OPT_NO_WARN): Define.
26274 (OPT_WARN): Define.
26275 (options): Add entry for --no-warnings, and --warnings.
26276 (set_warnings): New function to enable/disable warnings.
26277 (parse_opt): Call set_warnings for OPT_NO_WARN and OPT_WARN.
26278 * locale/programs/localedef.h: Remove warn_int_curr_symbol.
26279 * localedata/gen-locale.sh: Default flags to `--quiet -c'.
26280 Add `--no-warnings=ascii' to locales using SHIFT_JIS or SHIFT_JIXX0213.
26281 Pass flags to generate_locale.
26282 (generate_locale): Accept new flag argument and pass it to localedef
26284 * localedata/Makefile (INSTALL-SUPPORTED-LOCALES): Use
26285 --no-warnings=ascii for SHIFT_JIS and SHIFT_JISX0213 charmaps.
26287 * localedata/Makefile (test-input-data): Use full file name.
26288 * localedata/da_DK.in: Rename to...
26289 * localedata/da_DK.ISO-8859-1.in: ...this.
26290 * localedata/de_DE.in: Rename to...
26291 * localedata/de_DE.ISO-8859-1.in: ...this.
26292 * localedata/en_US.in: Rename to...
26293 * localedata/en_US.ISO-8859-1.in: ...this.
26294 * localedata/fr_FR.in: Rename to...
26295 * localedata/fr_FR.UTF-8.in: ... this.
26296 * localedata/hr_HR.in: Rename to...
26297 * localedata/hr_HR.ISO-8859-2.in: ...this.
26298 * localedata/hu_HU.in: Rename to...
26299 * localedata/hu_HU.UTF-8.in: ...this.
26300 * localedata/si_LK.in: Rename to...
26301 * localedata/si_LK.UTF-8.in: ...this.
26302 * localedata/sv_SE.in: Rename to...
26303 * localedata/sv_SE.ISO-8859-1.in: ...this.
26304 * localedata/tr_TR.in: Rename to...
26305 * localedata/tr_TR.UTF-8.in: ...this.
26306 * localedata/uk_UA.in: Rename to...
26307 * localedata/uk_UA.UTF-8.in: ...this.
26308 * localedata/sort-test.sh: Test file is locale name with the
26311 * localedata/unicode-gen/Makefile (check_i18n): Rename to
26312 check_i18n_ctype. Depend on i18n_ctype-report. Check i18n_ctype-report
26314 * localedata/locales/i18n_ctype: Regenerate.
26315 * localedata/locales/tr_TR: Likewise.
26316 * localedata/locales/translit_circle: Likewise.
26317 * localedata/locales/translit_cjk_compat: Likewise.
26318 * localedata/locales/translit_combining: Likewise.
26319 * localedata/locales/translit_compat: Likewise.
26320 * localedata/locales/translit_font: Likewise.
26321 * localedata/locales/translit_fraction: Likewise.
26323 2017-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26325 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Replace
26326 lxvd2x/stxvd2x with lvx/stvx.
26327 * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
26329 2017-10-25 H.J. Lu <hongjiu.lu@intel.com>
26331 * include/alloc_buffer.h: Replace "if if " with "if " in
26333 * sysdeps/mips/memcpy.S: Likkewise.
26334 * sysdeps/mips/memset.S: Likewise.
26335 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
26337 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S:
26339 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S:
26342 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26345 * localedata/locales/cmn_TW (LC_MESSAGES): Add fullwidth yYnN to
26346 yesexpr and noexpr.
26347 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26348 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26349 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26350 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26351 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26352 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26353 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26355 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26357 * localedata/locales/am_ET (LC_MESSAGES): Sync with CLDR.
26358 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26359 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26360 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26361 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26362 * localedata/locales/mfe_MU (LC_MESSAGES): Likewise.
26363 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26364 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26365 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26366 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26367 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26368 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26370 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26372 * localedata/locales/aa_ET (LC_MESSAGES): Use ASCII as much
26373 as possible for better readability of the source.
26374 * localedata/locales/af_ZA (LC_MESSAGES): Likewise.
26375 * localedata/locales/ak_GH (LC_MESSAGES): Likewise.
26376 * localedata/locales/am_ET (LC_MESSAGES): Likewise.
26377 * localedata/locales/anp_IN (LC_MESSAGES): Likewise.
26378 * localedata/locales/ar_EG (LC_MESSAGES): Likewise.
26379 * localedata/locales/as_IN (LC_MESSAGES): Likewise.
26380 * localedata/locales/ast_ES (LC_MESSAGES): Likewise.
26381 * localedata/locales/ayc_PE (LC_MESSAGES): Likewise.
26382 * localedata/locales/az_AZ (LC_MESSAGES): Likewise.
26383 * localedata/locales/az_IR (LC_MESSAGES): Likewise.
26384 * localedata/locales/be_BY (LC_MESSAGES): Likewise.
26385 * localedata/locales/be_BY@latin (LC_MESSAGES): Likewise.
26386 * localedata/locales/bem_ZM (LC_MESSAGES): Likewise.
26387 * localedata/locales/ber_MA (LC_MESSAGES): Likewise.
26388 * localedata/locales/bg_BG (LC_MESSAGES): Likewise.
26389 * localedata/locales/bhb_IN (LC_MESSAGES): Likewise.
26390 * localedata/locales/bi_VU (LC_MESSAGES): Likewise.
26391 * localedata/locales/bo_CN (LC_MESSAGES): Likewise.
26392 * localedata/locales/br_FR (LC_MESSAGES): Likewise.
26393 * localedata/locales/bs_BA (LC_MESSAGES): Likewise.
26394 * localedata/locales/ca_ES (LC_MESSAGES): Likewise.
26395 * localedata/locales/ce_RU (LC_MESSAGES): Likewise.
26396 * localedata/locales/crh_UA (LC_MESSAGES): Likewise.
26397 * localedata/locales/cs_CZ (LC_MESSAGES): Likewise.
26398 * localedata/locales/csb_PL (LC_MESSAGES): Likewise.
26399 * localedata/locales/cv_RU (LC_MESSAGES): Likewise.
26400 * localedata/locales/cy_GB (LC_MESSAGES): Likewise.
26401 * localedata/locales/da_DK (LC_MESSAGES): Likewise.
26402 * localedata/locales/de_DE (LC_MESSAGES): Likewise.
26403 * localedata/locales/dv_MV (LC_MESSAGES): Likewise.
26404 * localedata/locales/dz_BT (LC_MESSAGES): Likewise.
26405 * localedata/locales/el_GR (LC_MESSAGES): Likewise.
26406 * localedata/locales/en_CA (LC_MESSAGES): Likewise.
26407 * localedata/locales/en_US (LC_MESSAGES): Likewise.
26408 * localedata/locales/es_ES (LC_MESSAGES): Likewise.
26409 * localedata/locales/et_EE (LC_MESSAGES): Likewise.
26410 * localedata/locales/eu_ES (LC_MESSAGES): Likewise.
26411 * localedata/locales/fa_IR (LC_MESSAGES): Likewise.
26412 * localedata/locales/ff_SN (LC_MESSAGES): Likewise.
26413 * localedata/locales/fi_FI (LC_MESSAGES): Likewise.
26414 * localedata/locales/fil_PH (LC_MESSAGES): Likewise.
26415 * localedata/locales/fo_FO (LC_MESSAGES): Likewise.
26416 * localedata/locales/fr_BE (LC_MESSAGES): Likewise.
26417 * localedata/locales/fr_CH (LC_MESSAGES): Likewise.
26418 * localedata/locales/fr_FR (LC_MESSAGES): Likewise.
26419 * localedata/locales/fr_LU (LC_MESSAGES): Likewise.
26420 * localedata/locales/fur_IT (LC_MESSAGES): Likewise.
26421 * localedata/locales/fy_DE (LC_MESSAGES): Likewise.
26422 * localedata/locales/ga_IE (LC_MESSAGES): Likewise.
26423 * localedata/locales/gd_GB (LC_MESSAGES): Likewise.
26424 * localedata/locales/gl_ES (LC_MESSAGES): Likewise.
26425 * localedata/locales/gu_IN (LC_MESSAGES): Likewise.
26426 * localedata/locales/gv_GB (LC_MESSAGES): Likewise.
26427 * localedata/locales/ha_NG (LC_MESSAGES): Likewise.
26428 * localedata/locales/hak_TW (LC_MESSAGES): Likewise.
26429 * localedata/locales/he_IL (LC_MESSAGES): Likewise.
26430 * localedata/locales/hif_FJ (LC_MESSAGES): Likewise.
26431 * localedata/locales/hne_IN (LC_MESSAGES): Likewise.
26432 * localedata/locales/hr_HR (LC_MESSAGES): Likewise.
26433 * localedata/locales/hsb_DE (LC_MESSAGES): Likewise.
26434 * localedata/locales/ht_HT (LC_MESSAGES): Likewise.
26435 * localedata/locales/hu_HU (LC_MESSAGES): Likewise.
26436 * localedata/locales/hy_AM (LC_MESSAGES): Likewise.
26437 * localedata/locales/ia_FR (LC_MESSAGES): Likewise.
26438 * localedata/locales/id_ID (LC_MESSAGES): Likewise.
26439 * localedata/locales/ig_NG (LC_MESSAGES): Likewise.
26440 * localedata/locales/ik_CA (LC_MESSAGES): Likewise.
26441 * localedata/locales/is_IS (LC_MESSAGES): Likewise.
26442 * localedata/locales/it_CH (LC_MESSAGES): Likewise.
26443 * localedata/locales/it_IT (LC_MESSAGES): Likewise.
26444 * localedata/locales/iu_CA (LC_MESSAGES): Likewise.
26445 * localedata/locales/ja_JP (LC_MESSAGES): Likewise.
26446 * localedata/locales/kk_KZ (LC_MESSAGES): Likewise.
26447 * localedata/locales/kl_GL (LC_MESSAGES): Likewise.
26448 * localedata/locales/ko_KR (LC_MESSAGES): Likewise.
26449 * localedata/locales/ks_IN (LC_MESSAGES): Likewise.
26450 * localedata/locales/ku_TR (LC_MESSAGES): Likewise.
26451 * localedata/locales/kw_GB (LC_MESSAGES): Likewise.
26452 * localedata/locales/ky_KG (LC_MESSAGES): Likewise.
26453 * localedata/locales/lb_LU (LC_MESSAGES): Likewise.
26454 * localedata/locales/lg_UG (LC_MESSAGES): Likewise.
26455 * localedata/locales/li_NL (LC_MESSAGES): Likewise.
26456 * localedata/locales/lij_IT (LC_MESSAGES): Likewise.
26457 * localedata/locales/ln_CD (LC_MESSAGES): Likewise.
26458 * localedata/locales/lo_LA (LC_MESSAGES): Likewise.
26459 * localedata/locales/lt_LT (LC_MESSAGES): Likewise.
26460 * localedata/locales/lv_LV (LC_MESSAGES): Likewise.
26461 * localedata/locales/lzh_TW (LC_MESSAGES): Likewise.
26462 * localedata/locales/mg_MG (LC_MESSAGES): Likewise.
26463 * localedata/locales/mhr_RU (LC_MESSAGES): Likewise.
26464 * localedata/locales/mi_NZ (LC_MESSAGES): Likewise.
26465 * localedata/locales/mk_MK (LC_MESSAGES): Likewise.
26466 * localedata/locales/ml_IN (LC_MESSAGES): Likewise.
26467 * localedata/locales/mn_MN (LC_MESSAGES): Likewise.
26468 * localedata/locales/ms_MY (LC_MESSAGES): Likewise.
26469 * localedata/locales/mt_MT (LC_MESSAGES): Likewise.
26470 * localedata/locales/my_MM (LC_MESSAGES): Likewise.
26471 * localedata/locales/nan_TW (LC_MESSAGES): Likewise.
26472 * localedata/locales/nan_TW@latin (LC_MESSAGES): Likewise.
26473 * localedata/locales/nb_NO (LC_MESSAGES): Likewise.
26474 * localedata/locales/nds_DE (LC_MESSAGES): Likewise.
26475 * localedata/locales/nds_NL (LC_MESSAGES): Likewise.
26476 * localedata/locales/ne_NP (LC_MESSAGES): Likewise.
26477 * localedata/locales/nhn_MX (LC_MESSAGES): Likewise.
26478 * localedata/locales/niu_NU (LC_MESSAGES): Likewise.
26479 * localedata/locales/nl_NL (LC_MESSAGES): Likewise.
26480 * localedata/locales/nn_NO (LC_MESSAGES): Likewise.
26481 * localedata/locales/nr_ZA (LC_MESSAGES): Likewise.
26482 * localedata/locales/nso_ZA (LC_MESSAGES): Likewise.
26483 * localedata/locales/oc_FR (LC_MESSAGES): Likewise.
26484 * localedata/locales/om_ET (LC_MESSAGES): Likewise.
26485 * localedata/locales/or_IN (LC_MESSAGES): Likewise.
26486 * localedata/locales/os_RU (LC_MESSAGES): Likewise.
26487 * localedata/locales/pa_IN (LC_MESSAGES): Likewise.
26488 * localedata/locales/pa_PK (LC_MESSAGES): Likewise.
26489 * localedata/locales/pap_AW (LC_MESSAGES): Likewise.
26490 * localedata/locales/pap_CW (LC_MESSAGES): Likewise.
26491 * localedata/locales/pl_PL (LC_MESSAGES): Likewise.
26492 * localedata/locales/ps_AF (LC_MESSAGES): Likewise.
26493 * localedata/locales/pt_BR (LC_MESSAGES): Likewise.
26494 * localedata/locales/quz_PE (LC_MESSAGES): Likewise.
26495 * localedata/locales/raj_IN (LC_MESSAGES): Likewise.
26496 * localedata/locales/ro_RO (LC_MESSAGES): Likewise.
26497 * localedata/locales/ru_RU (LC_MESSAGES): Likewise.
26498 * localedata/locales/ru_UA (LC_MESSAGES): Likewise.
26499 * localedata/locales/rw_RW (LC_MESSAGES): Likewise.
26500 * localedata/locales/sa_IN (LC_MESSAGES): Likewise.
26501 * localedata/locales/sc_IT (LC_MESSAGES): Likewise.
26502 * localedata/locales/sd_IN@devanagari (LC_MESSAGES): Likewise.
26503 * localedata/locales/se_NO (LC_MESSAGES): Likewise.
26504 * localedata/locales/sgs_LT (LC_MESSAGES): Likewise.
26505 * localedata/locales/si_LK (LC_MESSAGES): Likewise.
26506 * localedata/locales/sk_SK (LC_MESSAGES): Likewise.
26507 * localedata/locales/sl_SI (LC_MESSAGES): Likewise.
26508 * localedata/locales/sm_WS (LC_MESSAGES): Likewise.
26509 * localedata/locales/so_DJ (LC_MESSAGES): Likewise.
26510 * localedata/locales/sq_AL (LC_MESSAGES): Likewise.
26511 * localedata/locales/sr_RS (LC_MESSAGES): Likewise.
26512 * localedata/locales/sr_RS@latin (LC_MESSAGES): Likewise.
26513 * localedata/locales/ss_ZA (LC_MESSAGES): Likewise.
26514 * localedata/locales/st_ZA (LC_MESSAGES): Likewise.
26515 * localedata/locales/sv_SE (LC_MESSAGES): Likewise.
26516 * localedata/locales/sw_KE (LC_MESSAGES): Likewise.
26517 * localedata/locales/szl_PL (LC_MESSAGES): Likewise.
26518 * localedata/locales/tcy_IN (LC_MESSAGES): Likewise.
26519 * localedata/locales/tg_TJ (LC_MESSAGES): Likewise.
26520 * localedata/locales/th_TH (LC_MESSAGES): Likewise.
26521 * localedata/locales/the_NP (LC_MESSAGES): Likewise.
26522 * localedata/locales/ti_ER (LC_MESSAGES): Likewise.
26523 * localedata/locales/tk_TM (LC_MESSAGES): Likewise.
26524 * localedata/locales/tn_ZA (LC_MESSAGES): Likewise.
26525 * localedata/locales/to_TO (LC_MESSAGES): Likewise.
26526 * localedata/locales/tr_TR (LC_MESSAGES): Likewise.
26527 * localedata/locales/ts_ZA (LC_MESSAGES): Likewise.
26528 * localedata/locales/tt_RU (LC_MESSAGES): Likewise.
26529 * localedata/locales/tt_RU@iqtelif (LC_MESSAGES): Likewise.
26530 * localedata/locales/uk_UA (LC_MESSAGES): Likewise.
26531 * localedata/locales/unm_US (LC_MESSAGES): Likewise.
26532 * localedata/locales/ur_IN (LC_MESSAGES): Likewise.
26533 * localedata/locales/ur_PK (LC_MESSAGES): Likewise.
26534 * localedata/locales/uz_UZ (LC_MESSAGES): Likewise.
26535 * localedata/locales/uz_UZ@cyrillic (LC_MESSAGES): Likewise.
26536 * localedata/locales/ve_ZA (LC_MESSAGES): Likewise.
26537 * localedata/locales/vi_VN (LC_MESSAGES): Likewise.
26538 * localedata/locales/wa_BE (LC_MESSAGES): Likewise.
26539 * localedata/locales/wo_SN (LC_MESSAGES): Likewise.
26540 * localedata/locales/xh_ZA (LC_MESSAGES): Likewise.
26541 * localedata/locales/yi_US (LC_MESSAGES): Likewise.
26542 * localedata/locales/yo_NG (LC_MESSAGES): Likewise.
26543 * localedata/locales/yue_HK (LC_MESSAGES): Likewise.
26544 * localedata/locales/zh_CN (LC_MESSAGES): Likewise.
26545 * localedata/locales/zh_HK (LC_MESSAGES): Likewise.
26546 * localedata/locales/zh_TW (LC_MESSAGES): Likewise.
26547 * localedata/locales/zu_ZA (LC_MESSAGES): Likewise.
26549 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26551 * localedata/locales/brx_IN (LC_MESSAGES): Fix yesexpr and noexpr
26552 (Use first letters of yesstr and nostr correctly instead of using
26555 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26557 * localedata/locales/ta_IN (LC_MESSAGES): Fix yesexpr and noexpr
26558 (Use first letters of yesstr and nostr correctly).
26560 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26562 * localedata/locales/hi_IN (LC_MESSAGES): In yesexpr and noexpr,
26563 also check for the first characters of yesstr and nostr.
26564 * localedata/locales/kn_IN (LC_MESSAGES): Likewise.
26565 * localedata/locales/ks_IN@devanagari (LC_MESSAGES): Likewise.
26567 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26569 * localedata/locales/cmn_TW (LC_MESSAGES): In yesexpr and noexpr,
26570 also check for Chinese characters.
26572 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26574 * localedata/locales/chr_US (LC_MESSAGES): In yesexpr and noexpr,
26575 match also for the contents of yesstr and nostr. As the first letter
26576 of yesstr and nostr is equal, checking only for the first letter
26579 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26581 * localedata/locales/ber_DZ (LC_MESSAGES): Use copy "kab_DZ",
26582 it is the same according to Belkacem Mohammed <belkacem77@gmail.com>.
26584 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26586 * localedata/locales/kab_DZ (LC_IDENTIFICATION): Add e-mail
26587 of main contributor.
26589 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26591 * localedata/locales/zh_SG (LC_MESSAGES): Use copy "zh_CN"
26592 instead of using English.
26594 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26596 * localedata/locales/ug_CN (LC_MESSAGES): Fix noexpr and yesexpr
26597 by including the first letters of nostr and yesexpr in the regexp.
26598 Also make it more readable by using ASCII where possible.
26600 2017-10-25 Mike FABIAN <mfabian@redhat.com>
26602 * localedata/locales/te_IN (LC_MESSAGES): Fix noexpr by including
26603 the first letter of nostr in the regexp. It agrees with CLDR now.
26604 Also make it more readable by using ASCII where possible.
26606 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26608 * localedata/locales/km_KH (LC_MESSAGES): Fix yestr and nostr.
26609 The yesstr and nostr apparently came from CLDR. And CLDR has a bug there:
26610 these strings contain a U+17D6 (which somewhat looks like a colon)
26611 instead of a real colon to separate the full words for “yes”
26612 and “no” from the single letter responses.
26614 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26616 * localedata/locales/ka_GE (LC_MESSAGES): Fix yesexp to make
26617 it agree with CLDR (include the first letter of yesstr).
26618 Also make it more readable by using ASCII where possible.
26620 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26622 * localedata/locales/mr_IN (LC_MESSAGES): Fix yesstr and nostr
26623 and improve yesexpr and noexpr. The yesstr and nostr apparently
26624 came from CLDR. And CLDR has a bug there: these strings contain
26625 a U+0903 (which looks like a colon) instead of a real colon
26626 to separate the full words for “yes” and “no” from the single
26629 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26631 * localedata/locales/bn_BD (LC_MESSAGES): Use only the first
26632 letters of the full yesstr and nostr in yesexpr and noexpr.
26634 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26636 * localedata/locales/an_ES (LC_MESSAGES): Add yesstr and nostr.
26637 * localedata/locales/an_ES (LC_ADDRESS): Add lang_term and lang_lib.
26638 * localedata/locales/an_ES: Make source more readable by using ASCII
26641 2017-10-24 Mike FABIAN <mfabian@redhat.com>
26644 * localedata/locales/yuw_PG: New file.
26645 * localedata/SUPPORTED: Add yuw_PG/UTF-8.
26646 * locale/iso-639.def: Add Yau (Uruwa).
26648 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26650 * malloc/malloc.c (_int_malloc): Add SINGLE_THREAD_P path.
26652 2017-10-23 Wilco Dijkstra <wdijkstr@arm.com>
26654 * malloc/malloc.c (__libc_malloc): Add SINGLE_THREAD_P path.
26655 (__libc_realloc): Likewise.
26656 (_mid_memalign): Likewise.
26657 (__libc_calloc): Likewise.
26659 2017-10-23 Mike FABIAN <mfabian@redhat.com>
26661 * localedata/locales/tpi_PG (LC_MESSAGES): Fix yesexpr and noexpr
26662 by adding the generic +1 and -0 as in all other locales.
26663 * localedata/locales/tpi_PG (LC_TIME): Fix some typos in the month and
26664 day names and make it more readable by using ASCII where possible.
26666 2017-10-24 Joseph Myers <joseph@codesourcery.com>
26668 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h
26669 (FIX_COMPARE_INVALID): Define to 0 if [__GNUC_PREREQ (8, 0)].
26671 2017-10-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26673 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Use 0 instead of
26674 WNOHANG in waitpid call.
26676 2017-10-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
26678 * manual/conf.texi (_SC_LEVEL1_DCACHE_LINESIZE,
26679 _SC_LEVEL1_ICACHE_LINESIZE): Document aarch64 caveat.
26681 * manual/conf.texi (_SC_LEVEL1_ICACHE_SIZE,
26682 _SC_LEVEL1_ICACHE_ASSOC, _SC_LEVEL1_ICACHE_LINESIZE,
26683 _SC_LEVEL1_DCACHE_SIZE, _SC_LEVEL1_DCACHE_ASSOC,
26684 _SC_LEVEL1_DCACHE_LINESIZE, _SC_LEVEL2_CACHE_SIZE,
26685 _SC_LEVEL2_CACHE_ASSOC, _SC_LEVEL2_CACHE_LINESIZE,
26686 _SC_LEVEL3_CACHE_SIZE, _SC_LEVEL3_CACHE_ASSOC,
26687 _SC_LEVEL3_CACHE_LINESIZE, _SC_LEVEL4_CACHE_SIZE,
26688 _SC_LEVEL4_CACHE_ASSOC, _SC_LEVEL4_CACHE_LINESIZE): New
26691 2017-10-23 Michael Collison <michael.collison@arm.com>
26693 * sysdeps/aarch64/fpu/e_sqrt.c (ieee754_sqrt): Replace asm statements
26694 with __builtin_sqrt.
26695 * sysdeps/aarch64/fpu/e_sqrtf.c (ieee754_sqrtf): Replace asm statements
26696 with __builtin_sqrtf.
26697 * sysdeps/aarch64/fpu/s_ceil.c (__ceil): Replace asm statements
26698 with __builtin_ceil.
26699 * sysdeps/aarch64/fpu/s_ceilf.c (__ceilf): Replace asm statements
26700 with __builtin_ceilf.
26701 * sysdeps/aarch64/fpu/s_floor.c (__floor): Replace asm statements
26702 with __builtin_floor.
26703 * sysdeps/aarch64/fpu/s_floorf.c (__floorf): Replace asm statements
26704 with __builtin_floorf.
26705 * sysdeps/aarch64/fpu/s_fma.c (__fma): Replace asm statements
26706 with __builtin_fma.
26707 * sysdeps/aarch64/fpu/s_fmaf.c (__fmaf): Replace asm statements
26708 with __builtin_fmaf.
26709 * sysdeps/aarch64/fpu/s_fmax.c (__fmax): Replace asm statements
26710 with __builtin_fmax.
26711 * sysdeps/aarch64/fpu/s_fmaxf.c (__fmaxf): Replace asm statements
26712 with __builtin_fmaxf.
26713 * sysdeps/aarch64/fpu/s_fmin.c (__fmin): Replace asm statements
26714 with __builtin_fmin.
26715 * sysdeps/aarch64/fpu/s_fminf.c (__fminf): Replace asm statements
26716 with __builtin_fminf.
26717 * sysdeps/aarch64/fpu/s_frint.c: Delete file.
26718 * sysdeps/aarch64/fpu/s_frintf.c: Delete file.
26719 * sysdeps/aarch64/fpu/s_llrint.c (__llrint): Replace asm statements
26720 with builtin_rint and conversion to int.
26721 * sysdeps/aarch64/fpu/s_llrintf.c (__llrintf): Likewise.
26722 * sysdeps/aarch64/fpu/s_llround.c (__llround): Replace asm statements
26723 with builtin_llround.
26724 * sysdeps/aarch64/fpu/s_llroundf.c (__llroundf): Likewise.
26725 * sysdeps/aarch64/fpu/s_lrint.c (__lrint): Replace asm statements
26726 with builtin_rint and conversion to long int.
26727 * sysdeps/aarch64/fpu/s_lrintf.c (__lrintf): Likewise.
26728 * sysdeps/aarch64/fpu/s_lround.c (__lround): Replace asm statements
26729 with builtin_lround.
26730 * sysdeps/aarch64/fpu/s_lroundf.c (__lroundf): Replace asm statements
26731 with builtin_lroundf.
26732 * sysdeps/aarch64/fpu/s_nearbyint.c (__nearbyint): Replace asm
26733 statements with __builtin_nearbyint.
26734 * sysdeps/aarch64/fpu/s_nearbyintf.c (__nearbyintf): Replace asm
26735 statements with __builtin_nearbyintf.
26736 * sysdeps/aarch64/fpu/s_rint.c (__rint): Replace asm statements
26737 with __builtin_rint.
26738 * sysdeps/aarch64/fpu/s_rintf.c (__rintf): Replace asm statements
26739 with __builtin_rintf.
26740 * sysdeps/aarch64/fpu/s_round.c (__round): Replace asm statements
26741 with __builtin_round.
26742 * sysdeps/aarch64/fpu/s_roundf.c (__roundf): Replace asm statements
26743 with __builtin_roundf.
26744 * sysdeps/aarch64/fpu/s_trunc.c (__trunc): Replace asm statements
26745 with __builtin_trunc.
26746 * sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
26747 with __builtin_truncf.
26748 * sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
26749 and s_l[l]round[f].c too.
26751 2017-10-23 Alan Modra <amodra@gmail.com>
26753 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Move LR cfi.
26754 Adjust stack after restoring regs. Add missing LR cfi_restore.
26756 2017-10-23 Alan Modra <amodra@gmail.com>
26758 * sysdeps/powerpc/powerpc64/power7/strncpy.S: Decrease FRAMESIZE.
26759 Move LR save and frame setup/teardown and LR restore to
26760 immediately around memset call. Provide cfi.
26762 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26764 * sysdeps/i386/fpu/e_powf.S: Removed.
26765 * sysdeps/i386/fpu/e_powf_log2_data.c: Likewise.
26766 * sysdeps/i386/fpu/w_powf.c: Likewise.
26767 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_powf.c.
26768 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26769 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26771 (CFLAGS-e_powf-sse2.c): New.
26772 * sysdeps/i386/i686/fpu/multiarch/e_powf-sse2.c: New file.
26773 * sysdeps/i386/i686/fpu/multiarch/e_powf.c: Likewise.
26775 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26777 * sysdeps/i386/fpu/e_log2f.S: Removed.
26778 * sysdeps/i386/fpu/e_log2f_data.c: Likewise.
26779 * sysdeps/i386/fpu/w_log2f.c: Likewise.
26780 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_log2f.c.
26781 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26782 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26784 (CFLAGS-e_log2f-sse2.c): New.
26785 * sysdeps/i386/i686/fpu/multiarch/e_log2f-sse2.c: New file.
26786 * sysdeps/i386/i686/fpu/multiarch/e_log2f.c: Likewise.
26788 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26790 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26792 (CFLAGS-e_powf-fma.c): New.
26793 * sysdeps/x86_64/fpu/multiarch/e_powf-fma.c: New file.
26794 * sysdeps/x86_64/fpu/multiarch/e_powf.c: Likewise.
26796 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26798 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26800 (CFLAGS-e_log2f-fma.c): New.
26801 * sysdeps/x86_64/fpu/multiarch/e_log2f-fma.c: New file.
26802 * sysdeps/x86_64/fpu/multiarch/e_log2f.c: Likewise.
26804 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26806 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26808 (CFLAGS-e_logf-fma.c): New.
26809 * sysdeps/x86_64/fpu/multiarch/e_logf-fma.c: New file.
26810 * sysdeps/x86_64/fpu/multiarch/e_logf.c: Likewise.
26812 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26814 * sysdeps/i386/fpu/e_logf.S: Removed.
26815 * sysdeps/i386/fpu/e_logf_data.c: Likewise.
26816 * sysdeps/i386/fpu/w_logf.c: Likewise.
26817 * sysdeps/i386/i686/fpu/e_logf.S: Likewise.
26818 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_logf.c.
26819 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26820 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26822 (CFLAGS-e_logf-sse2.c): New.
26823 * sysdeps/i386/i686/fpu/multiarch/e_logf-sse2.c: New file.
26824 * sysdeps/i386/i686/fpu/multiarch/e_logf.c: Likewise.
26826 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26828 * sysdeps/i386/fpu/e_exp2f.S: Removed.
26829 * sysdeps/i386/fpu/w_exp2f.c: Likewise.
26830 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_exp2f.c.
26831 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26832 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26834 (CFLAGS-e_exp2f-sse2.c): New.
26835 * sysdeps/i386/i686/fpu/multiarch/e_exp2f-sse2.c: New file.
26836 * sysdeps/i386/i686/fpu/multiarch/e_exp2f.c: Likewise.
26838 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26840 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26842 (CFLAGS-e_exp2f-fma.c): New.
26843 * sysdeps/x86_64/fpu/multiarch/e_exp2f-fma.c: New file.
26844 * sysdeps/x86_64/fpu/multiarch/e_exp2f.c: Likewise.
26846 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26848 * sysdeps/i386/fpu/e_exp2f_data.c: Removed.
26849 * sysdeps/i386/fpu/e_expf.S: Likewise.
26850 * sysdeps/i386/fpu/math_errf.c: Likewise.
26851 * sysdeps/i386/fpu/w_expf.c: Likewise.
26852 * sysdeps/i386/i686/fpu/multiarch/e_expf-ia32.S: Likewise.
26853 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26854 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: Likewise.
26855 * sysdeps/i386/fpu/libm-test-ulps: Updated for generic e_expf.c.
26856 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
26857 * sysdeps/i386/i686/fpu/multiarch/Makefile (libm-sysdep_routines):
26858 Remove e_expf-ia32.
26859 (CFLAGS-e_expf-sse2.c): New.
26860 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.c: New file.
26861 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Rewritten.
26863 2017-10-22 H.J. Lu <hongjiu.lu@intel.com>
26865 * sysdeps/x86_64/fpu/e_expf.S: Removed.
26866 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: Likewise.
26867 * sysdeps/x86_64/fpu/w_expf.c: Likewise.
26868 * sysdeps/x86_64/fpu/libm-test-ulps: Updated for generic
26870 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_expf-fma.c):
26872 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.c: New file.
26873 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
26875 (__redirect_expf): This.
26876 (SYMBOL_NAME): Changed to expf.
26877 (__ieee754_expf): Renamed to ...
26879 (__GI___expf): This.
26880 (__ieee754_expf): Add strong_alias.
26881 (__expf_finite): Likewise.
26883 Include <sysdeps/ieee754/flt-32/e_expf.c>.
26885 2017-10-22 Paul Eggert <eggert@cs.ucla.edu>
26888 * posix/glob.c (__glob): Fix buffer overflow during GLOB_TILDE
26891 2017-10-21 Florian Weimer <fweimer@redhat.com>
26893 * posix/Makefile (tests): Add tst-glob-tilde.
26894 (tests-special): Add tst-glob-tilde-mem.out
26895 (tst-glob-tilde-ENV): Set MALLOC_TRACE.
26896 (tst-glob-tilde-mem.out): Add mtrace check.
26897 * posix/tst-glob-tilde.c: New file.
26899 2017-10-20 Joseph Myers <joseph@codesourcery.com>
26901 * bits/floatn-common.h: New file.
26902 * math/Makefile (headers): Add bits/floatn-common.h.
26903 * bits/floatn.h: Include <bits/floatn-common.h>.
26904 * sysdeps/ia64/bits/floatn.h: Likewise.
26905 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
26906 * sysdeps/mips/ieee754/bits/floatn.h: Likewise.
26907 * sysdeps/powerpc/bits/floatn.h: Likewise.
26908 * sysdeps/x86/bits/floatn.h: Likewise.
26910 2017-10-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26912 * configure.ac (libc_cv_gcc_incompatbile_alias): New define:
26913 indicates whether compiler emits an warning for alias for
26914 functions with incompatible types.
26917 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Handle the case where
26918 the auxiliary process is terminated by a signal before calling _exit
26921 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
26924 * sysdeps/x86/cpu-features-offsets.sym (XSAVE_STATE_SIZE_OFFSET):
26926 * sysdeps/x86/cpu-features.c: Include <libc-pointer-arith.h>.
26927 (get_common_indeces): Set xsave_state_size, xsave_state_full_size
26928 and bit_arch_XSAVEC_Usable if needed.
26929 (init_cpu_features): Remove bit_arch_Use_dl_runtime_resolve_slow
26930 and bit_arch_Use_dl_runtime_resolve_opt.
26931 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
26933 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
26934 (bit_arch_Prefer_No_AVX512): Updated.
26935 (bit_arch_MathVec_Prefer_No_AVX512): Likewise.
26936 (bit_arch_XSAVEC_Usable): New.
26937 (STATE_SAVE_OFFSET): Likewise.
26938 (STATE_SAVE_MASK): Likewise.
26939 [__ASSEMBLER__]: Include <cpu-features-offsets.h>.
26940 (cpu_features): Add xsave_state_size and xsave_state_full_size.
26941 (index_arch_Use_dl_runtime_resolve_opt): Removed.
26942 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
26943 (index_arch_XSAVEC_Usable): New.
26944 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
26945 Support XSAVEC_Usable. Remove Use_dl_runtime_resolve_slow.
26946 * sysdeps/x86_64/Makefile (tst-x86_64-1-ENV): New if tunables
26948 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup):
26949 Replace _dl_runtime_resolve_sse, _dl_runtime_resolve_avx,
26950 _dl_runtime_resolve_avx_slow, _dl_runtime_resolve_avx_opt,
26951 _dl_runtime_resolve_avx512 and _dl_runtime_resolve_avx512_opt
26952 with _dl_runtime_resolve_fxsave, _dl_runtime_resolve_xsave and
26953 _dl_runtime_resolve_xsavec.
26954 * sysdeps/x86_64/dl-trampoline.S (DL_RUNTIME_UNALIGNED_VEC_SIZE):
26956 (DL_RUNTIME_RESOLVE_REALIGN_STACK): Check STATE_SAVE_ALIGNMENT
26957 instead of VEC_SIZE.
26958 (REGISTER_SAVE_BND0): Removed.
26959 (REGISTER_SAVE_BND1): Likewise.
26960 (REGISTER_SAVE_BND3): Likewise.
26961 (REGISTER_SAVE_RAX): Always defined to 0.
26963 (_dl_runtime_resolve_avx): Likewise.
26964 (_dl_runtime_resolve_avx_slow): Likewise.
26965 (_dl_runtime_resolve_avx_opt): Likewise.
26966 (_dl_runtime_resolve_avx512): Likewise.
26967 (_dl_runtime_resolve_avx512_opt): Likewise.
26968 (_dl_runtime_resolve_sse): Likewise.
26969 (_dl_runtime_resolve_sse_vex): Likewise.
26971 (_dl_runtime_resolve_fxsave): Likewise.
26972 (USE_XSAVE): Likewise.
26973 (_dl_runtime_resolve_xsave): Likewise.
26974 (USE_XSAVEC): Likewise.
26975 (_dl_runtime_resolve_xsavec): Likewise.
26976 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx512):
26978 (_dl_runtime_resolve_avx512_opt): Likewise.
26979 (_dl_runtime_resolve_avx): Likewise.
26980 (_dl_runtime_resolve_avx_opt): Likewise.
26981 (_dl_runtime_resolve_sse): Likewise.
26982 (_dl_runtime_resolve_sse_vex): Likewise.
26983 (_dl_runtime_resolve_fxsave): New.
26984 (_dl_runtime_resolve_xsave): Likewise.
26985 (_dl_runtime_resolve_xsavec): Likewise.
26987 2017-10-20 Paul Eggert <eggert@cs.ucla.edu>
26991 * posix/glob.c (__glob): Fix one-byte overflow.
26993 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26995 * malloc/malloc.c (sysdep-cancel.h): Add include.
26997 2017-10-20 Wilco Dijkstra <wdijkstr@arm.com>
26999 * malloc/malloc.c (_int_free): Add SINGLE_THREAD_P fast paths.
27001 2017-10-20 Will Hawkins <hawkinsw@borlaugic.com>
27003 * resolv/Makefile [$(build-shared)$(have-thread-library) == yesyes]
27004 (tests): Remove $(objpfx)ga_test depdendency.
27005 * resolv/ga_test.c: Remove file.
27007 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27010 * localedata/SUPPORTED: Add kab_DZ/UTF-8.
27011 * localedata/locales/kab_DZ: New file.
27013 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27015 * sysdeps/m68k/dl-machine.h (elf_machine_load_address): Use
27016 _dl_relocate_static_pie instead of _dl_start to compute load
27017 address in static PIE.
27019 2017-10-20 H.J. Lu <hongjiu.lu@intel.com>
27021 * sysdeps/m68k/start.S (_start): Check PIC instead of SHARED.
27023 2017-10-20 Mike FABIAN <mfabian@redhat.com>
27026 * localedata/SUPPORTED: Add shn_MM/UTF-8.
27027 * localedata/locales/shn_MM: New file.
27029 2017-10-20 Florian Weimer <fweimer@redhat.com>
27032 sysconf: Fix missing definition of UIO_MAXIOV on Linux.
27033 * sysdeps/posix/sysconf.c: Include <sys/uio.h>.
27034 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sysconf-iov_max.
27035 (tst-sysconf-iov_max): Link with tst-sysconf-iov_max-uapi.o.
27036 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max.c: New file.
27037 * sysdeps/unix/sysv/linux/tst-sysconf-iov_max-uapi.c: Likewise.
27039 2017-10-19 H.J. Lu <hongjiu.lu@intel.com>
27041 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
27043 2017-10-19 Joseph Myers <joseph@codesourcery.com>
27045 * sysdeps/mips/ieee754/bits/floatn.h: New file.
27048 * sysdeps/mips/bits/long-double.h: Move to ....
27049 * sysdeps/mips/ieee754/bits/long-double.h: ... here.
27051 2017-10-19 Wilco Dijkstra <wdijkstr@arm.com>
27053 * malloc/malloc.c (_int_free): Fix deadlock bug in consistency check.
27055 2017-10-19 Valery Reznic <valery_reznic@yahoo.com>
27056 H.J. Lu <hongjiu.lu@intel.com>
27059 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
27060 GLRO(dl_platform) to NULL.
27061 * sysdeps/x86_64/Makefile (tests): Add tst-platform-1.
27062 (modules-names): Add tst-platformmod-1 and
27063 x86_64/tst-platformmod-2.
27064 (CFLAGS-tst-platform-1.c): New.
27065 (CFLAGS-tst-platformmod-1.c): Likewise.
27066 (CFLAGS-tst-platformmod-2.c): Likewise.
27067 (LDFLAGS-tst-platformmod-2.so): Likewise.
27068 ($(objpfx)tst-platform-1): Likewise.
27069 ($(objpfx)tst-platform-1.out): Likewise.
27070 (tst-platform-1-ENV): Likewise.
27071 ($(objpfx)x86_64/tst-platformmod-2.os): Likewise.
27072 * sysdeps/x86_64/tst-platform-1.c: New file.
27073 * sysdeps/x86_64/tst-platformmod-1.c: Likewise.
27074 * sysdeps/x86_64/tst-platformmod-2.c: Likewise.
27076 2017-10-19 Mike FABIAN <mfabian@redhat.com>
27079 * locale/iso-639.def: Add Karbi.
27080 * localedata/SUPPORTED: Add mjw_IN/UTF-8.
27081 * localedata/locales/mjw_IN: New file.
27083 2017-10-18 Joseph Myers <joseph@codesourcery.com>
27085 * sysdeps/ieee754/ldbl-128/Makeconfig: New file.
27086 * sysdeps/ieee754/ldbl-128/bits/floatn.h: Likewise.
27087 * sysdeps/ieee754/ldbl-128/float128-abi.h: Likewise.
27088 * sysdeps/generic/libm-alias-ldouble.h: Include <bits/floatn.h>.
27089 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27090 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27091 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Include
27093 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128]
27094 (libm_alias_ldouble_other_r): Also create _Float128 alias.
27095 * manual/math.texi (Mathematics): Document additional architecture
27096 support for _Float128.
27097 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Update.
27098 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
27099 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
27100 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
27101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
27102 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
27103 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
27104 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
27105 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
27106 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
27107 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
27108 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
27109 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
27110 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
27111 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
27113 2017-10-18 Renlin Li <renlin.li@arm.com>
27115 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address): Use
27116 _DYNAMIC symbol to calculate load address.
27118 2017-10-18 Paul A. Clarke <pc@us.ibm.com>
27120 * sysdeps/powerpc/fpu/fenv_private.h (_FPU_MASK_TRAPS_RN):
27121 (_FPU_MASK_FRAC_INEX_RET_CC): Fix masks to more properly handle
27123 (_FPU_MASK_RN): Expand _FPU_MASK_RN to 64bit hex.
27124 (_FPU_MASK_NOT_RN_NI): Treat bit 52 (left-to-right) as reserved.
27126 2017-10-18 Mike FABIAN <mfabian@redhat.com>
27129 * localedata/locales/pl_PL (LC_MONETARY): Use U+202F as mon_thousands_sep
27130 and improve readability by using more ASCII.
27131 * localedata/locales/pl_PL (LC_NUMERIC): Use U+202F as thousands_sep
27132 and improve readability by using more ASCII.
27134 2017-10-18 Wilco Dijkstra <wdijkstr@arm.com>
27136 * malloc/malloc.c (malloc_state): Use int for have_fastchunks since
27137 not all targets support atomics on bool.
27139 2017-10-17 Joseph Myers <joseph@codesourcery.com>
27141 * include/float.h [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 &&
27142 __GLIBC_USE (IEC_60559_TYPES_EXT)] (FLT128_MAX): Define using
27144 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27145 (IEC_60559_TYPES_EXT)] (FLT128_EPSILON): Likewise.
27146 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27147 (IEC_60559_TYPES_EXT)] (FLT128_MIN): Likewise.
27148 [!__GNUC_PREREQ (7, 0) && __HAVE_FLOAT128 && __GLIBC_USE
27149 (IEC_60559_TYPES_EXT)] (FLT128_TRUE_MIN): Likewise.
27151 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27153 * bits/uio-ext.h (RWF_HIPRI, RWF_DSYNC, RWF_SYNC, RWF_NOWAIT): New
27156 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27159 * malloc/arena.c (ptmalloc_init): Call malloc_init_state.
27160 * malloc/malloc.c (do_check_free_chunk): Fix build bug.
27161 (do_check_remalloced_chunk): Fix build bug.
27162 (do_check_malloc_state): Add assert that checks arena->top.
27163 (malloc_consolidate): Remove initialization.
27164 (int_mallinfo): Remove call to malloc_consolidate.
27165 (__libc_mallopt): Clarify why malloc_consolidate is needed.
27167 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27169 * malloc/malloc.c (FASTCHUNKS_BIT): Remove.
27170 (have_fastchunks): Remove.
27171 (clear_fastchunks): Remove.
27172 (set_fastchunks): Remove.
27173 (malloc_state): Add have_fastchunks.
27174 (malloc_init_state): Use have_fastchunks.
27175 (do_check_malloc_state): Remove incorrect invariant checks.
27176 (_int_malloc): Use have_fastchunks.
27177 (_int_free): Likewise.
27178 (malloc_consolidate): Likewise.
27180 2017-10-17 Wilco Dijkstra <wdijkstr@arm.com>
27182 * malloc/malloc.c (tcache_put): Inline.
27183 (tcache_get): Inline.
27185 2017-10-17 Jordi Mallach <jordi@gnu.org>
27187 Aurelien Jarno <aurelien@aurel32.net>
27189 * localedata/locales/ca_ES@valencia: New file.
27190 * localedata/SUPPORTED: Add ca_ES@valencia/UTF-8.
27192 2017-10-17 Romain Naour <romain.naour@gmail.com> (tiny change)
27195 * math/math.h: Let signbit use the builtin in C++ mode with gcc
27198 2017-10-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27200 * scripts/build-many-glibcs.py (Context.add_all_configs):
27201 Add arm-linux-gnueabihf multiarch extra_glibcs.
27203 * sysdeps/generic/ifunc-init.h: New file.
27204 * sysdeps/x86/init-arch.h: Use generic ifunc-init.h.
27206 2017-10-17 Mike FABIAN <mfabian@redhat.com>
27209 * localedata/locales/el_GR: Set n_cs_precedes to 0.
27210 * localedata/locales/el_CY: copy "el_GR" because it is identical.
27211 * stdlib/tst-strfmon_l.c: adapt test case.
27213 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27215 * sysdeps/generic/float128-abi.h: New file.
27216 * sysdeps/ieee754/float128/Versions (FLOAT128_VERSION): Move
27217 non-__prefixed symbols to ....
27218 * math/Versions: ... here. Include <float128-abi.h>.
27219 * stdlib/Versions ... and here. Include <float128-abi.h>
27221 2017-10-16 Florian Weimer <fweimer@redhat.com>
27223 * version.h (VERSION): Switch to ".9000" as the development
27226 2017-10-16 Florian Weimer <fweimer@redhat.com>
27229 * malloc/mcheck-init.c (__malloc_initialize_hook): Use
27230 compat_symbol_reference to access non-default version.
27232 2017-10-16 Florian Weimer <fweimer@redhat.com>
27234 * malloc/Makefile (others-extras): Set to mcheck-init.o.
27236 2017-10-16 Carlos O'Donell <carlos@redhat.com>
27238 * include/shlib-compat.h (compat_symbol_reference): Update
27241 2017-10-16 Joseph Myers <joseph@codesourcery.com>
27243 * math/Makefile (test-types): Add
27244 $(type-float128-$(float128-alias-fcts)).
27245 * math/test-float128.h (TYPE_STR): Define conditional on
27246 [FLT128_MANT_DIG == LDBL_MANT_DIG].
27247 (ULP_IDX): Likewise.
27248 (ULP_I_IDX): Likewise.
27250 * stdlib/strtold.c: Include <bits/floatn.h>
27251 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128): Define
27252 and later undefine as macro. Define as weak alias if
27254 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128): Define
27255 and later undefine as macro. Define as weak alias if
27257 * sysdeps/ieee754/ldbl-128/strtold_l.c [__HAVE_FLOAT128 &&
27258 !__HAVE_DISTINCT_FLOAT128] (strtof128_l): Define and later
27259 undefine as macro. Define as weak alias if [!USE_WIDE_CHAR].
27260 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27261 Define and later undefine as macro. Define as weak alias if
27263 * sysdeps/ieee754/ldbl-64-128/strtold_l.c: Include
27265 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strtof128_l):
27266 Define and later undefine as macro. Define as weak alias if
27268 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (wcstof128_l):
27269 Define and later undefine as macro. Define as weak alias if
27272 2017-10-15 Carlos O'Donell <carlos@redhat.com>
27274 * localedata/collate-test.c (allocate_arrays): Don't use \n in
27275 record_verbose messages.
27277 2017-10-15 H.J. Lu <hongjiu.lu@intel.com>
27280 * malloc/hooks.c (realloc_check): Use DIAG_IGNORE_NEEDS_COMMENT
27281 to silence -O3 -Wall warning with GCC 7.
27283 2017-10-14 H.J. Lu <hongjiu.lu@intel.com>
27285 * Makeconfig (+link-static-before-libc): Use the first of
27286 $(CRT-$(@F)) and $(csu-objpfx)$(static-start-installed-name).
27287 * gmon/Makefile (tests): Add tst-gmon-static.
27288 (tests-static): Likewise.
27289 (CFLAGS-tst-gmon-static.c): New.
27290 (CRT-tst-gmon-static): Likewise.
27291 (DEFAULT-LDFLAGS-tst-gmon-static): Likewise.
27292 (tst-gmon-static-ENV): Likewise.
27293 (tests-special): Likewise.
27294 ($(objpfx)tst-gmon-static.out): Likewise.
27295 (clean-tst-gmon-static-data): Likewise.
27296 ($(objpfx)tst-gmon-static-gprof.out): Likewise.
27297 * gmon/tst-gmon-static-gprof.sh: New file.
27298 * gmon/tst-gmon-static.c: Likewise.
27300 2017-10-13 Carlos O'Donell <carlos@redhat.com>
27303 * locale/programs/linereader.c (get_string): Don't warn on
27304 non-symbolic character.
27307 * locale/programs/ld-monetary.c (monetary_finish): Allow ""
27311 * locale/programs/record-status.h: New file
27312 * locale/programs/locale.c: Add comment.
27313 * locale/programs/charmap-dir.c: Don't include error.h.
27314 (charmap_opendir): Use record_error.
27315 * locale/programs/charmap.c: Don't include error.h.
27316 (charmap_read): Use record_error, and record_warning.
27317 (parse_charmap): Likewise.
27318 * locale/programs/ld-address.c: Don't include error.h.
27319 (address_finish): Use record_error, and record_warning.
27320 * locale/programs/ld-collate.c: Don't include error.h.
27321 (collate_finish): Use record_error, and record_error_at_line.
27322 * locale/programs/ld-ctype.c (ctype_finish): Use record_error.
27323 (ctype_class_new): Likewise.
27324 (ctype_map_new): Likewise.
27325 (set_one_default): Likewise.
27326 (set_class_defaults): Likewise.
27327 (translit_flatten): Likewise.
27328 (allocate_arrays): Use record_error, and record_verbose.
27329 * locale/programs/ld-identification.c: Don't include error.h.
27330 (indentation_finish): Use record_error and record_warning.
27331 * locale/programs/ld-measurement.c: Don't include error.h.
27332 (measurement_finish): Use record_error.
27333 * locale/programs/ld-messages.c
27334 (message_finish): Likewise.
27335 * locale/programs/ld-monetary.c
27336 (monetary_finish): Likewise.
27337 * locale/programs/ld-name.c (name_finish): Use record_error
27338 and record_warning.
27339 * locale/programs/ld-numeric.c
27340 (numeric_finish): Use record_error.
27341 * locale/programs/ld-paper.c: Don't include error.h.
27342 (paper_finish): Use record_error.
27343 * locale/programs/ld-telephone.c: Don't include error.h.
27344 (telephone_finish): Use record_error.
27345 * locale/programs/ld-time.c (time_finish): Likewise.
27346 * locale/programs/linereader.h (lr_error): Make inline func.
27347 * locale/programs/localedef.c: Define recorded_warning_count,
27348 and recorded_error_count.
27349 (main): Use record_error. Use recorded_error_count and
27350 recorded_warning_count to issue correct error returns.
27351 (add_to_readlist): Use record_error.
27352 (find_locale): Likewise.
27353 (load_locale): Likewise.
27354 * locale/programs/localedef.h: Remove be_quiet
27355 and WITH_CUR_LOCALE.
27356 * locale/programs/locarchive.c (compare_from_file): Use
27358 * locale/programs/locfile.c (write_locale_data): Use
27360 * locale/programs/repertoire.c: Dont include error.h.
27361 (repertoire_complain): Use record_error.
27362 * localedata/tst-fmon.sh: Expect failures from localedef.
27363 * localedata/tst-locale.sh: Likewise.
27364 * localedata/gen-locale.sh: Expect failures from SHIFT_JIS.
27366 * localedata/unicode-gen/Makefile (GENERATED): Use i18n_ctype.
27367 (REPORTS): Likewise.
27369 (i18n): Rename to...
27370 (i18n_ctype): ...this.
27371 (i18n-report): Rename to...
27372 (i18n_ctype-report): ...this.
27373 * localedata/locales/i18n_ctype: Regenerate.
27374 * localedata/locales/i18n: copy i18n_ctype.
27376 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27378 * stdlib/strfroml.c: Include <bits/floatn.h>.
27379 [__HAVE_FLOAT128 && !__HAVE_DISTINCT_FLOAT128] (strfromf128):
27380 Define before include of <stdlib.h> and undefine afterwards, then
27381 define as weak alias.
27383 * sysdeps/ieee754/ldbl-64-128/s_nextafterl.c (weak_alias):
27384 Undefine and restore default definition. Use
27385 libm_alias_ldouble_other.
27387 2017-10-13 Peter Zelezny <peter.zelezny@dektech.com.au>
27390 * nptl/allocatestack.c (__nptl_setxid_error): Preserve error code
27393 2017-10-13 James Clarke <jrtc27@jrtc27.com>
27395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27396 Assign sym_map to be map for local symbols, as TLS relocations
27397 use sym_map to determine whether the symbol is defined and to
27398 extract the TLS information.
27399 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27400 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27402 2017-10-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27405 * sysdeps/powerpc/fpu/math_private.h (math_opt_barrier):
27406 (math_force_eval): Add powerpc version.
27409 * stdio-common/tst-printf.c (fp_test): Add tests for DBL_MAX and
27411 (do_test): Likewise.
27412 * stdio-common/tst-printf.sh: Likewise.
27413 * sysdeps/powerpc/powerpc64/power7/add_n.S: Invert the initial
27414 ifdef clause in order to set the carry bit right. Replace r0 by
27415 0 without changing the behavior.
27417 2017-10-13 Joseph Myers <joseph@codesourcery.com>
27419 * sysdeps/sparc/sparc32/fpu/s_fabsl.c: Include
27420 <libm-alias-ldouble.h>.
27421 (fabsl): Define using libm_alias_ldouble.
27422 * sysdeps/sparc/sparc64/fpu/s_fabsl.c: Include
27423 <libm-alias-ldouble.h>.
27424 (fabsl): Define using libm_alias_ldouble.
27426 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]:
27427 Remove conditional code.
27429 * sysdeps/ieee754/ldbl-opt/s_clog10l.c (__clog10l__internal):
27430 Rename to __clog10_internal_l.
27431 (__clog10_internal_l): Define aliases using
27432 libm_alias_ldouble_other instead of using libm_alias_ldouble_other
27435 2017-10-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27437 * benchtests/Makefile (bench-math): Add sinf, cosf and sincosf.
27438 * benchtests/sincosf-inputs: New file.
27439 * benchtests/cosf-inputs: New file.
27440 * benchtests/sinf-inputs: New file.
27442 2017-10-12 Szabolcs Nagy <szabolcs.nagy@arm.com>
27444 * posix/tst-spawn.c (do_test): Wait for both children.
27446 2017-10-12 H.J. Lu <hongjiu.lu@intel.com>
27449 * gmon/Makefile [$(have-fpie)$(build-shared) == yesyes] (tests,
27450 tests-pie): Add tst-gmon-pie.
27451 (CFLAGS-tst-gmon-pie.c): New.
27452 (CRT-tst-gmon-pie): Likewise.
27453 (tst-gmon-pie-ENV): Likewise.
27454 [$(have-fpie)$(build-shared) == yesyes] (tests-special): Likewise.
27455 ($(objpfx)tst-gmon-pie.out): Likewise.
27456 (clean-tst-gmon-pie-data): Likewise.
27457 ($(objpfx)tst-gmon-pie-gprof.out): Likewise.
27458 * gmon/gmon.c [PIC]: Include <link.h>.
27459 [PIC] (callback): New function.
27460 (write_hist): Add an argument for load address. Subtract load
27462 (write_call_graph): Likewise.
27463 (write_gmon): Call __dl_iterate_phdr to get load address, pass
27464 it to write_hist and write_call_graph.
27465 * gmon/tst-gmon-pie.c: New file.
27467 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27469 * math/Makefile (test-types-basic): New variable.
27470 (test-types): Likewise.
27471 (libm-test-support): Use $(test-types) instead of $(types).
27472 (libm-tests-base-normal): Likewise.
27473 (libm-tests-base-finite): Likewise.
27474 (libm-tests-base-inline): Likewise.
27475 (generated): Likewise.
27476 ($(objpfx)libm-test-support-$(t).c): Likewise.
27477 (libm-tests-for-type iterator): Likewise.
27478 (libm-test-support iterator): Likewise.
27479 * math/libm-test-support.c (ulp_i_idx): Use ULP_I_IDX.
27480 (ulp_idx): Use ULP_IDX.
27481 * math/test-ldouble.h: Include <float.h>.
27482 (TYPE_STR): Define conditional on [LDBL_MANT_DIG == DBL_MANT_DIG].
27483 (ULP_IDX): New macro.
27484 (ULP_I_IDX): Likewise.
27485 * math/test-double.h (ULP_IDX): Likewise.
27486 (ULP_I_IDX): Likewise.
27487 * math/test-float.h (ULP_IDX): Likewise.
27488 (ULP_I_IDX): Likewise.
27489 * math/test-float128.h (ULP_IDX): Likewise.
27490 (ULP_I_IDX): Likewise.
27492 2017-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27494 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Remove file.
27495 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
27496 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
27497 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Likewise.
27498 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
27499 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: Likewise.
27500 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: Likewise.
27501 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
27502 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
27503 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
27504 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: Likewise.
27505 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
27506 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
27507 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
27508 (SINGLE_THREAD_BY_GLOBAL): Define.
27509 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27511 * sysdeps/unix/sysv/linux/alpha/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27513 * sysdeps/unix/sysv/linux/arm/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27515 * sysdeps/unix/sysv/linux/hppa/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27517 * sysdeps/unix/sysv/linux/microblaze/sysdep.h
27518 (SINGLE_THREAD_BY_GLOBAL): Likewise.
27519 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SINGLE_THREAD_BY_GLOBAL):
27522 2017-10-11 Andreas Schwab <schwab@suse.de>
27524 * nis/Makefile (aux): Remove.
27525 * nscd/Makefile (aux): Add nscd_hash.
27526 (nscd-modules): Likewise.
27527 ($(objpfx)nscd): Don't depend on libnsl.
27528 * nscd/nscd_hash.c: New file.
27529 * nscd/nscd_hash.h: Likewise.
27530 * nscd/cache.c: Include "nscd_hash.h" instead of <rpcsvc/nis.h>.
27531 (cache_search, cache_add): Use __nscd_hash instead of __nis_hash.
27532 * nscd/nscd_helper.c: Include <sys/param.h> and "nscd_hash.h"
27533 instead of <nis/rpcsvc/nis.h>.
27534 (__nscd_cache_search): Use __nscd_hash instead of __nis_hash.
27536 2017-10-11 Florian Weimer <fweimer@redhat.com>
27539 Avoid large NSS buffers with many addresses, aliases.
27540 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Rewrite
27541 using dynarrays and struct alloc_buffer.
27542 * nss/Makefile (tests): Add tst-nss-files-hosts-multi.
27543 (tst-nss-files-hosts-multi): Link with -ldl.
27544 * nss/tst-nss-files-hosts-multi.c: New file.
27546 2017-10-11 Florian Weimer <fweimer@redhat.com>
27549 * nss/nss_files/files-hosts.c (gethostbyname3_multi): Use struct
27550 scratch_buffer. Eliminate gotos.
27552 2017-10-11 Joseph Myers <joseph@codesourcery.com>
27554 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Use
27555 libm_alias_ldouble_other.
27556 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (weak_alias): Do not
27557 undefine and redefine.
27558 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
27559 (exp10l): Do not define here.
27560 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c [BUILD_LGAMMA]
27561 (weak_alias): Undefine and redefine.
27562 [BUILD_LGAMMA]: Use libm_alias_ldouble_other.
27563 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
27564 [LIBM_SVID_COMPAT] (weak_alias): Undefine and redefine here.
27565 [LIBM_SVID_COMPAT]: Use libm_alias_ldouble_other.
27567 * soft-fp/fmadf4.c: Include <libm-alias-double.h>.
27568 [!__fma] (fma): Define using libm_alias_double.
27569 * soft-fp/fmasf4.c: Include <libm-alias-float.h>.
27570 [!__fmaf] (fmaf): Define using libm_alias_float.
27571 * soft-fp/fmatf4.c: Include <libm-alias-ldouble.h>.
27572 (fmal): Define using libm_alias_ldouble.
27574 2017-10-10 Joseph Myers <joseph@codesourcery.com>
27576 * sysdeps/generic/libm-alias-double.h (libm_alias_double_other_r):
27578 (libm_alias_double_other): Likewise.
27579 (libm_alias_double_r): Use libm_alias_double_other_r.
27580 * sysdeps/generic/libm-alias-float.h (libm_alias_float_other_r):
27582 (libm_alias_float_other): Likewise.
27583 (libm_alias_float_r): Use libm_alias_float_other_r.
27584 * sysdeps/generic/libm-alias-float128.h
27585 (libm_alias_float128_other_r): New macro.
27586 (libm_alias_float128_other): Likewise.
27587 (libm_alias_float128_r): Use libm_alias_float128_other_r.
27588 * sysdeps/generic/libm-alias-ldouble.h
27589 (libm_alias_ldouble_other_r): New macro.
27590 (libm_alias_ldouble_other): Likewise.
27591 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27592 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h
27593 (libm_alias_double_other_r): New macro.
27594 (libm_alias_double_other): Likewise.
27595 (libm_alias_double_r): Use libm_alias_double_other_r.
27596 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h
27597 (libm_alias_ldouble_other_r): New macro.
27598 (libm_alias_ldouble_other): Likewise.
27599 (libm_alias_ldouble_r): Use libm_alias_ldouble_other_r.
27600 * math/w_lgamma_main.c: Include <libm-alias-double.h>.
27601 [!USE_AS_COMPAT]: Use libm_alias_double_other.
27602 * math/w_lgammaf_main.c: Include <libm-alias-float.h>.
27603 [!USE_AS_COMPAT]: Use libm_alias_float_other.
27604 * math/w_lgammal_main.c: Include <libm-alias-ldouble.h>.
27605 [!USE_AS_COMPAT]: Use libm_alias_ldouble_other.
27606 * math/w_exp2f.c: Use libm_alias_float_other.
27607 * math/w_expf.c: Likewise.
27608 * math/w_log2f.c: Likewise.
27609 * math/w_logf.c: Likewise.
27610 * math/w_powf.c: Likewise.
27611 * sysdeps/ieee754/flt-32/e_exp2f.c: Include <libm-alias-float.h>.
27612 [!__exp2f]: Use libm_alias_float_other.
27613 * sysdeps/ieee754/flt-32/e_expf.c: Include <libm-alias-float.h>.
27614 [!__expf]: Use libm_alias_float_other.
27615 * sysdeps/ieee754/flt-32/e_log2f.c: Include <libm-alias-float.h>.
27616 [!__log2f]: Use libm_alias_float_other.
27617 * sysdeps/ieee754/flt-32/e_logf.c: Include <libm-alias-float.h>.
27618 [!__logf]: Use libm_alias_float_other.
27619 * sysdeps/ieee754/flt-32/e_powf.c: Include <libm-alias-float.h>.
27620 [!__powf]: Use libm_alias_float_other.
27622 2017-10-10 Florian Weimer <fweimer@redhat.com>
27624 * nss/nss_files/files-hosts.c (gethostbyname3_multi): New
27626 (_nss_files_gethostbyname3_r): Call it.
27628 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27630 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias]: Give
27631 error. Remove default definition of declare_mgen_alias.
27632 [!declare_mgen_alias_r]: Likewise.
27633 * sysdeps/generic/math-type-macros-double.h
27634 [!declare_mgen_alias_r] (declare_mgen_alias_r): New macro.
27635 * sysdeps/generic/math-type-macros-float.h [!declare_mgen_alias_r]
27636 (declare_mgen_alias_r): Likewise.
27637 * sysdeps/generic/math-type-macros-float128.h
27638 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27639 * sysdeps/generic/math-type-macros-ldouble.h
27640 [!declare_mgen_alias_r] (declare_mgen_alias_r): Likewise.
27641 * math/w_lgamma_r_template.c (declare_mgen_alias_r_x): Remove
27643 (declare_mgen_alias_r_s): Likewise.
27644 (declare_mgen_alias_r): Likewise.
27645 * math/w_lgamma_r_compat.c: Include <libm-alias-double.h>.
27646 (lgamma_r): Define using libm_alias_double_r.
27647 * math/w_lgammaf_r_compat.c: Include <libm-alias-float.h>.
27648 (lgammaf_r): Define using libm_alias_float_r.
27649 * math/w_lgammal_r_compat.c: Include <libm-alias-ldouble.h>.
27650 (lgammal_r): Define using libm_alias_ldouble_r.
27651 * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: Remove file.
27652 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
27654 2017-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27656 * lib/glob.c (__glob_pattern_type): Remove now-spurious
27657 extern declaration.
27659 2017-10-09 Joseph Myers <joseph@codesourcery.com>
27661 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Remove file.
27663 2017-10-09 Jonathan Wakely <jwakely@redhat.com>
27666 * include/features.h [__cplusplus >= 201703] (__USE_ISOC11): Define.
27667 [__cplusplus >= 201103] (__USE_ISOC99): Define.
27668 * math/Makefile (test-math-cxx11): New test.
27669 * math/test-math-cxx11.cc: New file.
27671 2017-10-08 Christian Brauner <christian.brauner@ubuntu.com>
27673 * login/openpty.c (openpty): Close slave pty file descriptor on error.
27675 * login/openpty.c (openpty): If defined, use the TIOCGPTPEER ioctl()
27676 call to allocate the slave pty file descriptor.
27678 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27680 * sysdeps/ieee754/ldbl-128/s_fma.c: Include <libm-alias-double.h>.
27681 [!__fma] (fma): Define using libm_alias_double.
27682 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <libm-alias-double.h>.
27683 [!__fma] (fma): Define using libm_alias_double.
27685 * sysdeps/ieee754/float128/float128_private.h: Include
27686 <libm-alias-ldouble.h> and <libm-alias-float128.h>.
27687 (libm_alias_ldouble_r): Undefine and redefine.
27688 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include
27689 <libm-alias-ldouble.h>.
27690 (asinhl): Define using libm_alias_ldouble.
27691 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include
27692 <libm-alias-ldouble.h>.
27693 (atanl): Define using libm_alias_ldouble.
27694 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Include
27695 <libm-alias-ldouble.h>.
27696 (cbrtl): Define using libm_alias_ldouble.
27697 * sysdeps/ieee754/ldbl-128/s_ceill.c: Include
27698 <libm-alias-ldouble.h>.
27699 (ceill): Define using libm_alias_ldouble.
27700 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Include
27701 <libm-alias-ldouble.h>.
27702 (copysignl): Define using libm_alias_ldouble.
27703 * sysdeps/ieee754/ldbl-128/s_cosl.c: Include
27704 <libm-alias-ldouble.h>.
27705 (cosl): Define using libm_alias_ldouble.
27706 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include
27707 <libm-alias-ldouble.h>.
27708 (erfl): Define using libm_alias_ldouble.
27710 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include
27711 <libm-alias-ldouble.h>.
27712 (expm1l): Define using libm_alias_ldouble.
27713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Include
27714 <libm-alias-ldouble.h>.
27715 (fabsl): Define using libm_alias_ldouble.
27716 * sysdeps/ieee754/ldbl-128/s_floorl.c: Include
27717 <libm-alias-ldouble.h>.
27718 (floorl): Define using libm_alias_ldouble.
27719 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include
27720 <libm-alias-ldouble.h>.
27721 (fmal): Define using libm_alias_ldouble.
27722 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Include
27723 <libm-alias-ldouble.h>.
27724 (frexpl): Define using libm_alias_ldouble.
27725 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (fromfpl): Define using
27726 libm_alias_ldouble.
27727 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Include
27728 <libm-alias-ldouble.h>.
27729 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (fromfpxl): Define using
27730 libm_alias_ldouble.
27731 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Include
27732 <libm-alias-ldouble.h>.
27733 (getpayloadl): Define using libm_alias_ldouble.
27734 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include
27735 <libm-alias-ldouble.h>.
27736 (llrintl): Define using libm_alias_ldouble.
27737 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include
27738 <libm-alias-ldouble.h>.
27739 (llroundl): Define using libm_alias_ldouble.
27740 * sysdeps/ieee754/ldbl-128/s_logbl.c: Include
27741 <libm-alias-ldouble.h>.
27742 (logbl): Define using libm_alias_ldouble.
27743 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include
27744 <libm-alias-ldouble.h>.
27745 (lrintl): Define using libm_alias_ldouble.
27746 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include
27747 <libm-alias-ldouble.h>.
27748 (lroundl): Define using libm_alias_ldouble.
27749 * sysdeps/ieee754/ldbl-128/s_modfl.c: Include
27750 <libm-alias-ldouble.h>.
27751 (modfl): Define using libm_alias_ldouble.
27752 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Include
27753 <libm-alias-ldouble.h>.
27754 (nearbyintl): Define using libm_alias_ldouble.
27755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include
27756 <libm-alias-ldouble.h>.
27757 (nextafterl): Define using libm_alias_ldouble.
27758 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Include
27759 <libm-alias-ldouble.h>.
27760 (nextupl): Define using libm_alias_ldouble.
27761 * sysdeps/ieee754/ldbl-128/s_remquol.c: Include
27762 <libm-alias-ldouble.h>.
27763 (remquol): Define using libm_alias_ldouble.
27764 * sysdeps/ieee754/ldbl-128/s_rintl.c: Include
27765 <libm-alias-ldouble.h>.
27766 (rintl): Define using libm_alias_ldouble.
27767 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Include
27768 <libm-alias-ldouble.h>.
27769 (roundevenl): Define using libm_alias_ldouble.
27770 * sysdeps/ieee754/ldbl-128/s_roundl.c: Include
27771 <libm-alias-ldouble.h>.
27772 (roundl): Define using libm_alias_ldouble.
27773 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (setpayloadl): Define
27774 using libm_alias_ldouble.
27775 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Include
27776 <libm-alias-ldouble.h>.
27777 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (setpayloadsigl):
27778 Define using libm_alias_ldouble.
27779 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include
27780 <libm-alias-ldouble.h>.
27781 (sincosl): Define using libm_alias_ldouble.
27782 * sysdeps/ieee754/ldbl-128/s_sinl.c: Include
27783 <libm-alias-ldouble.h>.
27784 (sinl): Define using libm_alias_ldouble.
27785 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include
27786 <libm-alias-ldouble.h>.
27787 (tanhl): Define using libm_alias_ldouble.
27788 * sysdeps/ieee754/ldbl-128/s_tanl.c: Include
27789 <libm-alias-ldouble.h>.
27790 (tanl): Define using libm_alias_ldouble.
27791 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
27792 <libm-alias-ldouble.h>.
27793 (totalorderl): Define using libm_alias_ldouble.
27794 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
27795 <libm-alias-ldouble.h>.
27796 (totalordermagl): Define using libm_alias_ldouble.
27797 * sysdeps/ieee754/ldbl-128/s_truncl.c: Include
27798 <libm-alias-ldouble.h>.
27799 (truncl): Define using libm_alias_ldouble.
27800 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (ufromfpl): Define using
27801 libm_alias_ldouble.
27802 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (ufromfpxl): Define using
27803 libm_alias_ldouble.
27804 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Include
27805 <libm-alias-ldouble.h>.
27806 (weak_alias): Do not undefine and redefine.
27807 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27808 (copysignl): Define with long_double_symbol only if [IS_IN
27810 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Include
27811 <libm-alias-ldouble.h>.
27812 (weak_alias): Do not undefine and redefine.
27813 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27814 (frexpl): Define with long_double_symbol only if [IS_IN (libc)].
27815 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Include
27816 <libm-alias-ldouble.h>.
27817 (weak_alias): Do not undefine and redefine.
27818 [IS_IN (libc)] (libm_alias_ldouble): Undefine and redefine.
27819 (modfl): Define with long_double_symbol only if [IS_IN (libc)].
27820 * sysdeps/ieee754/ldbl-64-128/s_asinhl.c: Remove file.
27821 * sysdeps/ieee754/ldbl-64-128/s_atanl.c: Likewise.
27822 * sysdeps/ieee754/ldbl-64-128/s_cbrtl.c: Likewise.
27823 * sysdeps/ieee754/ldbl-64-128/s_ceill.c: Likewise.
27824 * sysdeps/ieee754/ldbl-64-128/s_cosl.c: Likewise.
27825 * sysdeps/ieee754/ldbl-64-128/s_erfl.c: Likewise.
27826 * sysdeps/ieee754/ldbl-64-128/s_expm1l.c: Likewise.
27827 * sysdeps/ieee754/ldbl-64-128/s_fabsl.c: Likewise.
27828 * sysdeps/ieee754/ldbl-64-128/s_floorl.c: Likewise.
27829 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: Likewise.
27830 * sysdeps/ieee754/ldbl-64-128/s_llrintl.c: Likewise.
27831 * sysdeps/ieee754/ldbl-64-128/s_llroundl.c: Likewise.
27832 * sysdeps/ieee754/ldbl-64-128/s_logbl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-64-128/s_lrintl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-64-128/s_lroundl.c: Likewise.
27835 * sysdeps/ieee754/ldbl-64-128/s_nearbyintl.c: Likewise.
27836 * sysdeps/ieee754/ldbl-64-128/s_remquol.c: Likewise.
27837 * sysdeps/ieee754/ldbl-64-128/s_rintl.c: Likewise.
27838 * sysdeps/ieee754/ldbl-64-128/s_roundl.c: Likewise.
27839 * sysdeps/ieee754/ldbl-64-128/s_sincosl.c: Likewise.
27840 * sysdeps/ieee754/ldbl-64-128/s_sinl.c: Likewise.
27841 * sysdeps/ieee754/ldbl-64-128/s_tanhl.c: Likewise.
27842 * sysdeps/ieee754/ldbl-64-128/s_tanl.c: Likewise.
27843 * sysdeps/ieee754/ldbl-64-128/s_truncl.c: Likewise.
27845 2017-10-06 Carlos O'Donell <carlos@redhat.com>
27848 * malloc/malloc.c (tcache_shutting_down): Use bool type.
27849 (tcache_thread_freeres): Set tcache_shutting_down before
27850 freeing the tcache.
27851 * malloc/Makefile (tests): Add tst-malloc-tcache-leak.
27852 * malloc/tst-malloc-tcache-leak.c: New file.
27854 2017-10-06 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
27856 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: Revert
27857 back to powerpc32 file.
27858 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
27859 (memrchr): Add __memrchr_power8 to ifunc list.
27860 * sysdeps/powerpc/powerpc64/power8/memrchr.S: Mask
27861 extra bytes for unaligned inputs.
27863 2017-10-06 Joseph Myers <joseph@codesourcery.com>
27865 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: Remove file.
27866 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c: Likewise.
27867 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c: Likewise.
27868 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
27869 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
27871 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27873 * sysdeps/arm/libm-test-ulps: Update.
27875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include
27876 <libm-alias-ldouble.h>.
27877 (asinhl): Define using libm_alias_ldouble.
27878 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Include
27879 <libm-alias-ldouble.h>.
27880 (cbrtl): Define using libm_alias_ldouble.
27881 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Include
27882 <libm-alias-ldouble.h>.
27883 (copysignl): Define using libm_alias_ldouble.
27884 * sysdeps/ieee754/ldbl-96/s_cosl.c: Include
27885 <libm-alias-ldouble.h>.
27886 (cosl): Define using libm_alias_ldouble.
27887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include
27888 <libm-alias-ldouble.h>.
27889 (erfl): Define using libm_alias_ldouble.
27891 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include
27892 <libm-alias-ldouble.h>.
27893 (fmal): Define using libm_alias_ldouble.
27894 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Include
27895 <libm-alias-ldouble.h>.
27896 (frexpl): Define using libm_alias_ldouble.
27897 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (fromfpl): Define using
27898 libm_alias_ldouble.
27899 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Include
27900 <libm-alias-ldouble.h>.
27901 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (fromfpxl): Define using
27902 libm_alias_ldouble.
27903 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Include
27904 <libm-alias-ldouble.h>.
27905 (getpayloadl): Define using libm_alias_ldouble.
27906 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include
27907 <libm-alias-ldouble.h>.
27908 (llrintl): Define using libm_alias_ldouble.
27909 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include
27910 <libm-alias-ldouble.h>.
27911 (llroundl): Define using libm_alias_ldouble.
27912 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include
27913 <libm-alias-ldouble.h>.
27914 (lrintl): Define using libm_alias_ldouble.
27915 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include
27916 <libm-alias-ldouble.h>.
27917 (lroundl): Define using libm_alias_ldouble.
27918 * sysdeps/ieee754/ldbl-96/s_modfl.c: Include
27919 <libm-alias-ldouble.h>.
27920 (modfl): Define using libm_alias_ldouble.
27921 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Include
27922 <libm-alias-ldouble.h>.
27923 (nextupl): Define using libm_alias_ldouble.
27924 * sysdeps/ieee754/ldbl-96/s_remquol.c: Include
27925 <libm-alias-ldouble.h>.
27926 (remquol): Define using libm_alias_ldouble.
27927 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Include
27928 <libm-alias-ldouble.h>.
27929 (roundevenl): Define using libm_alias_ldouble.
27930 * sysdeps/ieee754/ldbl-96/s_roundl.c: Include
27931 <libm-alias-ldouble.h>.
27932 (roundl): Define using libm_alias_ldouble.
27933 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (setpayloadl): Define
27934 using libm_alias_ldouble.
27935 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Include
27936 <libm-alias-ldouble.h>.
27937 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Include
27938 <libm-alias-ldouble.h>.
27939 (setpayloadsigl): Define using libm_alias_ldouble.
27940 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include
27941 <libm-alias-ldouble.h>.
27942 (sincosl): Define using libm_alias_ldouble.
27943 * sysdeps/ieee754/ldbl-96/s_sinl.c: Include
27944 <libm-alias-ldouble.h>.
27945 (sinl): Define using libm_alias_ldouble.
27946 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include
27947 <libm-alias-ldouble.h>.
27948 (tanhl): Define using libm_alias_ldouble.
27949 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include
27950 <libm-alias-ldouble.h>.
27951 (tanl): Define using libm_alias_ldouble.
27952 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
27953 <libm-alias-ldouble.h>.
27954 (totalorderl): Define using libm_alias_ldouble.
27955 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
27956 <libm-alias-ldouble.h>.
27957 (totalordermagl): Define using libm_alias_ldouble.
27958 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (ufromfpl): Define using
27959 libm_alias_ldouble.
27960 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (ufromfpxl): Define using
27961 libm_alias_ldouble.
27963 2017-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
27965 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
27967 * sysdeps/aarch64/multiarch/ifunc-impl-list.c
27968 (__libc_ifunc_impl_list): Likewise.
27969 * sysdeps/aarch64/multiarch/memmove.c: Likewise.
27970 * sysdeps/aarch64/multiarch/memmove_falkor.S: New file.
27972 * benchtests/bench-memmove-walk.c: New file.
27973 * benchtests/Makefile (string-benchset): Add it.
27975 * benchtests/bench-memset-walk.c: New file.
27976 * benchtests/Makefile (string-benchset): Add it.
27978 * benchtests/bench-memcpy-walk.c: New file.
27979 * benchtests/Makefile (string-benchset): Add it.
27981 2017-10-05 Florian Weimer <fweimer@redhat.com>
27983 nscd: Eliminate compilation time dependency in the build output.
27984 * nscd/nscd_stat.c (STATDATA_VERSION)
27985 (STATDATA_VERSION_SELINUX_FLAG, STATDATA_VERSION_FLAGS)
27986 (STATDATA_VERSION_FULL): New macro definitions.
27987 (compilation): Remove.
27988 (struct statdata): Adjust version member.
27989 (send_stats): Set version from STATDATA_VERSION_FULL.
27990 (receive_print_stats): Verify version against STATDATA_VERSION_FULL.
27992 2017-10-05 Joseph Myers <joseph@codesourcery.com>
27994 * configure.ac (--enable-add-ons): Remove option.
27995 (machine): Do not mention add-ons in comment.
27996 (LIBC_PRECONFIGURE): Likewise.
27997 (add_ons): Remove variable and sanity checks and logic to locate
27999 (add_ons_automatic): Remove variable.
28000 (configured_add_ons): Likewise.
28001 (add_ons_sfx): Likewise.
28002 (add_ons_pfx): Likewise.
28003 (add_on_subdirs): Likewise.
28004 (sysnames_add_ons): Likewise. Remove loop over add-ons and
28005 consideration of add-ons in Implies handling.
28006 (sysdeps_add_ons): Likewise.
28007 * configure: Regenerated.
28008 * libidn/configure.ac: Remove.
28009 * libidn/configure: Likewise.
28010 * sysdeps/unix/inet/configure.ac: New file.
28011 * sysdeps/unix/inet/configure: New generated file.
28012 * sysdeps/unix/inet/Subdirs: Add libidn.
28013 * Makeconfig (sysdeps-srcdirs): Remove variable.
28014 (+sysdep_dirs): Do not include $(sysdeps-srcdirs).
28015 ($(common-objpfx)config.status): Do not depend on add-on files.
28016 ($(common-objpfx)shlib-versions.v.i): Do not mention add-ons in
28018 (all-subdirs): Do not include $(add-on-subdirs).
28019 * Makefile (dist-prepare): Do not use $(sysdeps-add-ons).
28020 * config.make.in (add-ons): Remove variable.
28021 (add-on-subdirs): Likewise.
28022 (sysdeps-add-ons): Likewise.
28023 * manual/Makefile (add-chapters): Remove.
28024 ($(objpfx)texis): Do not depend on $(add-chapters).
28025 (nonexamples): Do not handle $(add-chapters).
28026 (examples): Do not handle $(add-ons).
28027 (chapters.% top-menu.%): Do not pass '$(add-chapters)' to
28029 * manual/install.texi (Installation): Do not mention add-ons.
28030 (--enable-add-ons): Do not document configure option.
28031 * INSTALL: Regenerated.
28032 * manual/libc-texinfo.sh: Do not handle $2 add-ons argument.
28033 * manual/maint.texi (Hierarchy Conventions): Do not mention
28035 * scripts/build-many-glibcs.py (Glibc.build_glibc): Do not use
28037 * scripts/gen-sorted.awk: Do not handle Subdirs files from
28039 * scripts/test-installation.pl: Do not handle glibc-compat add-on.
28040 * sysdeps/nptl/Makeconfig: Do not mention add-ons in comment.
28042 2017-10-05 Andreas Schwab <schwab@suse.de>
28045 * libio/genops.c (_IO_list_all_stamp): Delete. All uses removed.
28046 (_IO_flush_all_lockp): Always lock list_all_lock.
28047 (_IO_flush_all_linebuffered): Likewise.
28048 (_IO_unbuffer_all): Likewise.
28050 2017-10-05 Florian Weimer <fweimer@redhat.com>
28053 Do not flush stdio streams on abort.
28054 * stdlib/abort.c (fflush): Remove macro definition.
28055 (abort): Remove stages related to stdio flushing.
28057 2017-10-05 Florian Weimer <fweimer@redhat.com>
28059 * gmon/Makefile (CFLAGS-tst-gmon.c): Add -fno-omit-frame-pointer.
28061 2017-10-05 Stefan Liebler <stli@linux.vnet.ibm.com>
28063 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
28065 2017-10-05 Florian Weimer <fweimer@redhat.com>
28067 * support/support_format_hostent.c (support_format_hostent): Add
28068 more error information for NETDB_INTERNAL.
28070 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28072 * config.h.in (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New.
28073 * include/libc-symbols.h (__hidden_proto_hiddenattr): Add check
28074 for PIC and NO_HIDDEN_EXTERN_FUNC_IN_PIE.
28075 * sysdeps/i386/configure.ac (NO_HIDDEN_EXTERN_FUNC_IN_PIE): New
28076 AC_DEFINE if multi-arch is enabled.
28077 * sysdeps/i386/configure: Regenerated.
28079 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28081 * Makeconfig (+link-static-before-libc): Use
28082 $(DEFAULT-LDFLAGS-$(@F)).
28083 * elf/Makefile (CRT-tst-tls1-static-non-pie): New.
28084 (LDFLAGS-tst-tls1-static-non-pie): Renamed to ...
28085 (DEFAULT-LDFLAGS-tst-tls1-static-non-pie): This.
28087 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28089 * elf/Makefile (tests): Add tst-main1.
28090 (modules-names): Add tst-main1mod.
28091 ($(objpfx)tst-main1): New.
28092 (CRT-tst-main1): Likewise.
28093 (LDFLAGS-tst-main1): Likewise.
28094 (LDLIBS-tst-main1): Likewise.
28095 (tst-main1mod.so-no-z-defs): Likewise.
28096 * elf/tst-main1.c: New file.
28097 * elf/tst-main1mod.c: Likewise.
28099 2017-10-04 H.J. Lu <hongjiu.lu@intel.com>
28101 * math/test-math-iscanonical.cc (do_test): Return errors != 0.
28103 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28105 * sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
28106 (fma): Define using libm_alias_double.
28107 * sysdeps/ieee754/ldbl-opt/s_fma.c: Remove file.
28108 * sysdeps/sparc/sparc32/fpu/s_fma.c: Do not include
28110 (fmal): Do not define as compat symbol here.
28111 * sysdeps/alpha/fpu/s_fma.c: New file.
28113 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28115 * sysdeps/aarch64/dl-machine.h (elf_machine_rela): Expand MIN.
28117 2017-10-04 Joseph Myers <joseph@codesourcery.com>
28120 * sysdeps/sparc/sparc32/fpu/s_copysign.S: Include
28122 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28124 * sysdeps/sparc/sparc32/fpu/s_fabs.S: Include <math_ldbl_opt.h>.
28125 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28126 * sysdeps/sparc/sparc32/fpu/s_fma.c: Include <math_ldbl_opt.h>.
28127 (fmal): Define as compat symbol at version GLIBC_2_1 for libm.
28128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
28129 Include <math_ldbl_opt.h>
28130 (copysignl): Define as compat symbol at version GLIBC_2_0 for libm
28132 (compat_symbol): Undefine and redefine.
28133 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Include
28135 (fabsl): Define as compat symbol at version GLIBC_2_0 for libm.
28136 (compat_symbol): Undefine and redefine.
28137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c
28138 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h>.
28139 [HAVE_AS_VIS3_SUPPORT] (fmal): Define as compat symbol at version
28140 GLIBC_2_1 for libm.
28141 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Add
28142 GLIBC_2.0 copysignl symbol.
28143 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
28144 GLIBC_2.0 copysignl and fabsl and GLIBC_2.1 fmal symbols.
28146 * sysdeps/alpha/fpu/s_nearbyint.c: Remove file.
28148 2017-10-04 Florian Weimer <fweimer@redhat.com>
28150 * scripts/check-local-headers.sh: Ignore nspr4 header file
28151 directory in addition to nspr.
28153 2017-10-04 Guido Trentalancia <guido@trentalancia.net>
28156 * configure.ac (--enable-nss-crypt): Use NSPR include directory.
28157 * configure: Regenerate.
28158 * crypt/Makefile (nss-cpp-flags): New variable.
28159 (CPPFLAGS-sha256-crypt.c, CPPFLAGS-sha512-crypt.c)
28160 (CPPFLAGS-md5-crypt.c): Use it.
28161 * scripts/check-local-headers.sh: Ignore nspr header file
28164 2017-10-04 Andreas Schwab <schwab@suse.de>
28166 * nis/Makefile (services): Remove compat.
28167 (libnss_compat-routines, libnss_compat-inhibit-o): Don't define.
28168 ($(objpfx)libnss_compat.so): Remove rule.
28169 * nis/Versions (libnss_compat): Remove.
28170 * nss/Makefile (services): Add compat.
28171 (libnss_compat-routines, libnss_compat-inhibit-o): Define.
28172 * nss/Versions (libnss_compat): Define.
28173 * nss/nss_compat/compat-grp.c: Moved here from nis/nss_compat.
28174 Don't include <rpc/types.h>. Replace bool_t by bool.
28175 * nss/nss_compat/compat-initgroups.c: Likewise.
28176 * nss/nss_compat/compat-pwd.c: Likewise. Include "nisdomain.h"
28177 instead of <rpcsrv/ypclnt.h>.
28178 (getpwent_next_nss_netgr): Use __nss_get_default_domain instead of
28179 yp_get_default_domain.
28180 * nss/nss_compat/compat-pwd.c: Likewise.
28181 (getspent_next_nss_netgr): Use __nss_get_default_domain instead of
28182 yp_get_default_domain.
28183 * nss/nss_compat/nisdomain.c: New file.
28184 * nss/nss_compat/nisdomain.h: Likewise.
28186 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28189 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Fix x == 0 case.
28190 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
28192 2017-10-04 Szabolcs Nagy <szabolcs.nagy@arm.com>
28195 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10): Use fabs.
28196 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2): Likewise.
28198 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28200 * sysdeps/i386/start.S: Replace "leal main@GOT(%ebx), %eax" with
28201 "movl main@GOTOFF(%ebx), %eax".
28203 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28205 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Don't
28206 allow undefined _DYNAMIC in PIE libc.a.
28207 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
28210 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28212 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Don't
28215 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28217 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Don't
28220 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28222 * math/test-math-iscanonical.cc (error): Replace bool with int.
28224 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28226 * sysdeps/ieee754/dbl-64/s_modf.c: Include <libm-alias-double.h>.
28227 (modf): Define using libm_alias_double, only if [!__modf].
28228 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Include
28229 <libm-alias-double.h>.
28230 (modf): Define using libm_alias_double, only if [!__modf].
28231 * sysdeps/ieee754/ldbl-opt/s_modf.c (modfl): Only define libc
28232 compat symbol here.
28233 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c
28234 (weak_alias): Do not undefine and redefine.
28235 (strong_alias): Likewise.
28236 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c
28237 (weak_alias): Likewise.
28238 (strong_alias): Likewise.
28240 * sysdeps/ieee754/dbl-64/s_logb.c: Include <libm-alias-double.h>.
28241 (logb): Define using libm_alias_double, only if [!__logb].
28242 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Include
28243 <libm-alias-double.h>.
28244 (logb): Define using libm_alias_double, only if [!__logb].
28245 * sysdeps/ieee754/ldbl-opt/s_logb.c: Remove file.
28246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c
28247 (weak_alias): Do not undefine and redefine.
28248 (strong_alias): Likewise.
28249 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c
28250 (weak_alias): Likewise.
28251 (strong_alias): Likewise.
28253 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28255 * sysdeps/unix/sysv/linux/tile/sysdep.h (SYSCALL_ERROR_NAME):
28256 Check SHARED instead PIC.
28258 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28260 * sysdeps/ieee754/dbl-64/s_fmaf.c: Include <libm-alias-float.h>.
28261 [!__fmaf] (fmaf): Define using libm_alias_float.
28263 * sysdeps/ieee754/dbl-64/s_frexp.c: Include <libm-alias-double.h>.
28264 (frexp): Define using libm_alias_double.
28265 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Include
28266 <libm-alias-double.h>.
28267 (frexp): Define using libm_alias_double.
28268 * sysdeps/ieee754/ldbl-opt/s_frexp.c (frexpl): Only define libc
28269 compat symbol here.
28271 2017-10-03 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
28274 * math/math.h: Trivial fix for unbalanced parentheses in comment.
28275 * math/Makefile [CXX] (tests): Add test-math-iscanonical.cc.
28276 (CFLAGS-test-math-iscanonical.cc): New variable.
28277 * math/test-math-iscanonical.cc: New file.
28278 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (iscanonical):
28279 Provide a C++ implementation based on function overloading,
28280 rather than using __MATH_TG, which uses C-only builtins.
28281 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h (iscanonical):
28283 * sysdeps/powerpc/powerpc64le/Makefile
28284 (CFLAGS-test-math-iscanonical.cc): New variable.
28286 2017-10-03 Joseph Myers <joseph@codesourcery.com>
28288 * sysdeps/ieee754/dbl-64/s_ceil.c: Include <libm-alias-double.h>.
28289 (ceil): Define using libm_alias_double.
28290 * sysdeps/ieee754/dbl-64/s_floor.c: Include <libm-alias-double.h>.
28291 (floor): Define using libm_alias_double.
28292 * sysdeps/ieee754/dbl-64/s_llround.c: Include
28293 <libm-alias-double.h>.
28294 (llround): Define using libm_alias_double.
28295 * sysdeps/ieee754/dbl-64/s_lround.c: Include
28296 <libm-alias-double.h>.
28297 (lround): Define using libm_alias_double.
28298 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Include
28299 <libm-alias-double.h>.
28300 (nearbyint): Define using libm_alias_double.
28301 * sysdeps/ieee754/dbl-64/s_remquo.c: Include
28302 <libm-alias-double.h>.
28303 (remquo): Define using libm_alias_double.
28304 * sysdeps/ieee754/dbl-64/s_rint.c: Include <libm-alias-double.h>.
28305 (rint): Define using libm_alias_double.
28306 * sysdeps/ieee754/dbl-64/s_round.c: Include <libm-alias-double.h>.
28307 (round): Define using libm_alias_double.
28308 * sysdeps/ieee754/dbl-64/s_trunc.c: Include <libm-alias-double.h>.
28309 (trunc): Define using libm_alias_double.
28310 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Include
28311 <libm-alias-double.h>.
28312 (ceil): Define using libm_alias_double.
28313 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Include
28314 <libm-alias-double.h>.
28315 (floor): Define using libm_alias_double.
28316 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: Include
28317 <libm-alias-double.h>.
28318 (llround): Define using libm_alias_double.
28319 [_LP64] (lround): Likewise.
28320 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include
28321 <libm-alias-double.h>.
28322 [!_LP64] (lround): Define using libm_alias_double.
28323 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Include
28324 <libm-alias-double.h>.
28325 (nearbyint): Define using libm_alias_double.
28326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Include
28327 <libm-alias-double.h>.
28328 (remquo): Define using libm_alias_double.
28329 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Include
28330 <libm-alias-double.h>.
28331 (rint): Define using libm_alias_double.
28332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Include
28333 <libm-alias-double.h>.
28334 (round): Define using libm_alias_double.
28335 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Include
28336 <libm-alias-double.h>.
28337 (trunc): Define using libm_alias_double.
28338 * sysdeps/ieee754/ldbl-opt/s_ceil.c: Remove file.
28339 * sysdeps/ieee754/ldbl-opt/s_floor.c: Likewise.
28340 * sysdeps/ieee754/ldbl-opt/s_llround.c: Likewise.
28341 * sysdeps/ieee754/ldbl-opt/s_lround.c: Likewise.
28342 * sysdeps/ieee754/ldbl-opt/s_nearbyint.c: Likewise.
28343 * sysdeps/ieee754/ldbl-opt/s_remquo.c: Likewise.
28344 * sysdeps/ieee754/ldbl-opt/s_rint.c: Likewise.
28345 * sysdeps/ieee754/ldbl-opt/s_round.c: Likewise.
28346 * sysdeps/ieee754/ldbl-opt/s_trunc.c: Likewise.
28348 2017-10-03 Szabolcs Nagy <szabolcs.nagy@arm.com>
28350 * math/w_remainder.c: New file.
28351 * math/w_remainderf.c: New file.
28352 * math/w_remainderl.c: New file.
28354 2017-10-03 H.J. Lu <hongjiu.lu@intel.com>
28356 * elf/rtld.c (BOOTSTRAP_MAP): New.
28357 (RESOLVE_MAP): Replace (&bootstrap_map) with BOOTSTRAP_MAP.
28358 * sysdeps/hppa/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28360 * sysdeps/ia64/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28362 * sysdeps/mips/dl-machine.h (ELF_MACHINE_BEFORE_RTLD_RELOC):
28365 2017-10-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
28367 * include/libc-symbols.h [NO_RTLD_HIDDEN] (rtld_hidden_proto,
28368 rtld_hidden_tls_proto, rtld_hidden_def, rtld_hidden_weak,
28369 rtld_hidden_rtld_hidden_ver, data_def, rtld_hidden_data_weak,
28370 rtld_hidden_data_ver): Define to empty.
28371 * include/assert.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__assert_fail,
28372 __assert_perror_fail): Likewise.
28373 * include/dirent.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28374 (__rewinddir): Likewise.
28375 * include/libc-internal.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28376 (__profile_frequency): Likewise.
28377 * include/setjmp.h (__sigsetjmp): Likewise.
28378 * include/signal.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__sigaction,
28379 __libc_sigaction): Likewise.
28380 * include/stdlib.h [NO_RTLD_HIDDEN] (unsetenv, __strtoul_internal): Do
28381 not set hidden attribute.
28382 * include/string.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__stpcpy, __strdup,
28383 __strerror_t, __strsep_g, memchr, memcmp, memcpy, memmove, memset,
28384 rawmemchr, stpcpy, strchr, strcmp, strlen, strnlen, strsep): Likewise.
28385 * include/sys/stat.h [IS_IN(rtld) && NO_RTLD_HIDDEN] (__fxstat,
28386 __fxstat64, __lxstat, __lxstat64, __xstat, __xstat64,
28387 __fxstatat64): Likewise.
28388 * include/sys/utsname.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28389 (__uname): Likewise.
28390 * include/sysdeps/generic/_itoa.h [IS_IN(rtld) && NO_RTLD_HIDDEN]
28391 (_itoa_upper_digits, _itoa_lower_digits): Likewise.
28392 * sysdeps/mach/hurd/configure.ac (NO_HIDDEN): Do not set.
28393 (NO_RTLD_HIDDEN): Set.
28394 * sysdeps/mach/hurd/configure: Refresh.
28395 * config.h.in: Refresh.
28397 2017-10-02 Joseph Myers <joseph@codesourcery.com>
28399 * sysdeps/ieee754/dbl-64/s_atan.c: Include <libm-alias-double.h>.
28400 (atan): Define using libm_alias_double.
28401 * sysdeps/ieee754/dbl-64/s_tan.c: Include <libm-alias-double.h>.
28402 (tan): Define using libm_alias_double.
28403 * sysdeps/ieee754/ldbl-opt/s_atan.c: Remove file.
28404 * sysdeps/ieee754/ldbl-opt/s_tan.c: Likewise.
28406 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Rename to __atan and
28407 define as weak alias of __atan. Do not define any aliases if
28409 [NO_LONG_DOUBLE] (__atanl): Define as strong alias of __atan.
28410 [NO_LONG_DOUBLE] (atanl): Define as weak alias of __atanl.
28411 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Rename to __tan and define
28412 as weak alias of __tan. Do not define any aliases if [__tan].
28413 [NO_LONG_DOUBLE] (__tanl): Define as strong alias of __tan.
28414 [NO_LONG_DOUBLE] (tanl): Define as weak alias of __tanl.
28415 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c (atan): Rename to
28417 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c (atan): Likewise.
28418 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c (atan): Likewise.
28419 * sysdeps/x86_64/fpu/multiarch/s_atan.c (atan): Rename to __atan
28420 and define as weak alias of __atan.
28421 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c (tan): Rename to
28423 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c (tan): Likewise.
28424 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (tan): Likewise.
28425 * sysdeps/x86_64/fpu/multiarch/s_tan.c (tan): Rename to __tan and
28426 define as weak alias of __tan.
28428 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28430 * math/w_lgamma.c: New file.
28431 * math/w_lgammaf.c: New file.
28432 * math/w_lgammal.c: New file.
28434 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28436 * sysdeps/ieee754/flt-32/e_log2f.c (__log2f): Define without wrapper.
28437 * sysdeps/ieee754/flt-32/e_logf.c (__logf): Likewise
28438 * sysdeps/ieee754/flt-32/e_powf.c (__powf): Likewise
28439 * sysdeps/ieee754/flt-32/w_log2f.c: New file.
28440 * sysdeps/ieee754/flt-32/w_logf.c: New file.
28441 * sysdeps/ieee754/flt-32/w_powf.c: New file.
28442 * sysdeps/i386/fpu/w_log2f.c: New file.
28443 * sysdeps/i386/fpu/w_logf.c: New file.
28444 * sysdeps/i386/fpu/w_powf.c: New file.
28445 * sysdeps/m68k/m680x0/fpu/w_log2f.c: New file.
28446 * sysdeps/m68k/m680x0/fpu/w_logf.c: New file.
28447 * sysdeps/m68k/m680x0/fpu/w_powf.c: New file.
28449 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28450 H.J. Lu <hongjiu.lu@intel.com>
28452 * sysdeps/ieee754/flt-32/e_exp2f.c (__exp2f): Define without wrapper.
28453 * sysdeps/ieee754/flt-32/e_expf.c (__expf): Likewise
28454 * sysdeps/ieee754/flt-32/w_exp2f.c: New file.
28455 * sysdeps/ieee754/flt-32/w_expf.c: New file.
28456 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Update for
28458 * sysdeps/powerpc/powerpc64/fpu/multiarch/w_expf.c: New file.
28459 * sysdeps/powerpc/powerpc64/power8/fpu/w_expf.c: New file.
28460 * sysdeps/m68k/m680x0/fpu/w_exp2f.c: New file.
28461 * sysdeps/m68k/m680x0/fpu/w_expf.c: New file.
28462 * sysdeps/i386/fpu/w_exp2f.c: New file.
28463 * sysdeps/i386/fpu/w_expf.c: New file.
28464 * sysdeps/i386/i686/fpu/multiarch/w_expf.c: New file.
28465 * sysdeps/x86_64/fpu/w_expf.c: New file.
28467 2017-10-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
28469 * math/Versions (logf): New libm symbol at GLIBC_2.27.
28472 * math/w_log2f.c: New file.
28473 * math/w_logf.c: New file.
28474 * math/w_powf.c: New file.
28475 * math/w_log2f_compat.c (__log2f_compat): For compat symbol only.
28476 * math/w_logf_compat.c (__logf_compat): Likewise.
28477 * math/w_powf_compat.c (__powf_compat): Likewise.
28478 * sysdeps/ia64/fpu/e_log2f.S: Add versioned symbols.
28479 * sysdeps/ia64/fpu/e_logf.S: Likewise.
28480 * sysdeps/ia64/fpu/e_powf.S: Likewise.
28481 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
28482 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
28483 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
28484 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
28485 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
28486 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
28487 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
28488 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
28489 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
28490 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
28491 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
28492 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
28493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
28495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
28497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
28499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
28501 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
28502 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
28503 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
28504 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
28505 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
28506 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
28508 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
28510 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
28511 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
28512 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
28514 2017-10-02 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28516 * sysdeps/powerpc/powerpc64/multiarch/Makefile
28517 (sysdep_routines): Add memrchr_power8.
28518 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28519 (memrchr): Add __memrchr_power8 to list of memrchr functions.
28520 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power8.S:
28522 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c
28523 (memrchr): Add __memrchr_power8 to ifunc list.
28524 * sysdeps/powerpc/powerpc64/power8/memrchr.S: New file.
28526 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28529 * sysdeps/unix/sysv/linux/posix_fadvise64.c
28530 (__posix_fadvise64_l64): Add Add libc_hidden_proto and
28532 * sysdeps/unix/sysv/linux/posix_fallocate64.c
28533 (__posix_fallocate64_l64): Likewise.
28535 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28538 * sysdeps/unix/sysv/linux/sched_setaffinity.c
28539 (__sched_setaffinity_new): Add libc_hidden_proto and
28542 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28545 * include/glob.h (__glob64): Add libc_hidden_proto.
28546 * sysdeps/unix/sysv/linux/glob64.c (__glob64): Add
28549 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28552 * sysdeps/unix/sysv/linux/getrlimit64.c (__new_getrlimit): Add
28555 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28558 * stdlib/exit.h (__new_exitfn): Add attribute_hidden.
28560 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28563 * mon/gmon.c (__moncontrol): Add libc_hidden_proto and
28566 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28569 * csu/version.c (__libc_print_version): Add attribute_hidden.
28571 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28574 * include/libc-internal.h (__init_misc): Add attribute_hidden.
28576 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28579 * include/fpu_control.h (__setfpucw): Add attribute_hidden.
28581 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28584 * nscd/nscd_helper.c (__nis_hash): New prototype.
28586 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28589 * include/termios.h (__tcgetattr): Add libc_hidden_proto.
28590 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Add
28592 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
28593 * termios/tcgetattr.c (__tcgetattr): Likewise.
28595 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28598 * include/sys/resource.h (__setrlimit): Add libc_hidden_proto.
28599 * resource/setrlimit.c (__setrlimit): Add libc_hidden_def.
28600 * sysdeps/mach/hurd/setrlimit.c (__setrlimit): Likewise.
28601 * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Likewise.
28602 * sysdeps/unix/sysv/linux/setrlimit64.c (__GI___setrlimit): New.
28604 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28607 * include/monetary.h (__vstrfmon_l): Add attribute_hidden.
28609 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28612 * include/sched.h (__sched_setparam): Add libc_hidden_proto.
28613 * posix/sched_setp.c (__sched_setparam): Add libc_hidden_def.
28615 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28618 * intl/hash-string.h (__hash_string): Add attribute_hidden.
28620 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28623 * include/mntent.h (__hasmntopt): Add libc_hidden_proto.
28624 * misc/mntent_r.c (__hasmntopt): Add libc_hidden_def.
28626 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28629 * include/ifreq.h: New file.
28630 * sysdeps/generic/ifreq.h (__if_nextreq): Removed.
28631 (__ifreq): Likewise.
28632 * sysdeps/mach/hurd/ifreq.h (__if_nextreq): Removed.
28633 (__ifreq): Likewise.
28635 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28638 * include/idna.h: New file.
28639 * inet/getnameinfo.c: Include <idna.h> instead of
28641 (__idna_to_unicode_lzlz): Removed.
28642 * sysdeps/posix/getaddrinfo.c: Include <idna.h> instead of
28644 (__idna_to_ascii_lz): Removed.
28645 (__idna_to_unicode_lzlz): Likewise.
28647 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28650 * include/plural-exp.h: New file.
28651 * intl/plural-exp.c: Include <plural-exp.h> instead of
28654 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28657 * sysdeps/unix/sysv/linux/getsourcefilter.c: Include
28658 "getsourcefilter.h".
28659 * sysdeps/unix/sysv/linux/getsourcefilter.h: New file.
28660 * sysdeps/unix/sysv/linux/setsourcefilter.c: Include
28661 "getsourcefilter.h".
28662 (__get_sol): Removed.
28664 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28667 * elf/dl-iteratephdr.c (hidden_proto (__dl_iterate_phdr)): Moved
28669 * include/link.h (hidden_proto (__dl_iterate_phdr)): Here.
28671 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28674 * sysdeps/unix/sysv/linux/getpt.c (__bsd_getpt): Add
28677 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28680 * libio/iolibio.h (__fopen_maybe_mmap): Add attribute_hidden.
28682 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28685 * include/search.h (__tdestroy): Add libc_hidden_proto.
28686 * misc/tsearch.c (__tdestroy): Add libc_hidden_def.
28688 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28691 * include/assert.h (__assert_fail_base): Add attribute_hidden.
28693 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28696 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h (__sysinfo): Add
28699 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28702 * include/signal.h (__kill): Add libc_hidden_proto.
28703 (__sigblock): Likewise.
28704 (__sigprocmask): Likewise.
28705 (__sigaltstack): Likewise.
28706 * signal/kill.c (__kill): Add libc_hidden_def.
28707 * signal/sigblock.c (__sigblock): Likewise.
28708 * signal/sigprocmask.c (__sigprocmask): Likewise.
28709 * sysdeps/mach/hurd/kill.c (__kill): Likewise.
28710 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
28711 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
28712 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
28713 * sysdeps/unix/sysv/linux/alpha/sigprocmask.c (__sigprocmask):
28715 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
28717 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
28718 (__sigprocmask): Likewise.
28719 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask):
28721 * /sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
28722 (__sigprocmask): Likewise.
28723 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
28726 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28729 * include/string.h (__strsep): Add libc_hidden_proto.
28730 * string/strsep.c (__strsep): Add libc_hidden_def.
28732 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28735 * posix/spawn_int.h (__posix_spawn_file_actions_realloc): Add
28737 (__spawni): Likewise.
28739 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28742 * include/sys/mman.h (__mremap): Add libc_hidden_proto.
28743 * sysdeps/unix/sysv/linux/m68k/mremap.S (__mremap): Add
28746 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28749 * include/malloc.h (__malloc_check_init): Add attribute_hidden.
28751 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28754 * include/sys/ioctl.h (__ioctl): Add libc_hidden_proto.
28755 * misc/ioctl.c (__ioctl): Add libc_hidden_def.
28756 * sysdeps/mach/hurd/ioctl.c (__ioctl): Likewise.
28757 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Likewise.
28758 * sysdeps/unix/sysv/linux/mips/mips64/n64/ioctl.S (__ioctl):
28760 * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
28761 * sysdeps/unix/sysv/linux/tile/tilegx/ioctl.S (__ioctl): Likewise.
28763 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28766 * intl/gettextP.h (__dcngettext): Add attribute_hidden.
28767 (__dcigettext): Likewise.
28769 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28772 * include/sys/sysinfo.h (__get_nprocs_conf): Add
28774 (__get_nprocs): Likewise.
28775 (__get_phys_pages): Likewise.
28776 (__get_avphys_pages): Likewise.
28777 (__get_child_max): Add attribute_hidden.
28778 * misc/getsysstats.c (__get_nprocs_conf): Add libc_hidden_def.
28779 (__get_nprocs): Likewise.
28780 (__get_phys_pages): Likewise.
28781 (__get_avphys_pages): Likewise.
28782 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Add
28784 (__get_nprocs): Likewise.
28785 (__get_phys_pages): Likewise.
28786 (__get_avphys_pages): Likewise.
28787 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Add
28789 (__get_nprocs_conf): Likewise.
28790 (__get_phys_pages): Likewise.
28791 (__get_avphys_pages): Likewise.
28793 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28796 * sysdeps/unix/sysv/linux/netlinkaccess.h (__netlink_open): Add
28798 (__netlink_close): Likewise.
28799 (__netlink_free_handle): Likewise.
28800 (__netlink_request): Likewise.
28802 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28805 * include/rpc/rpc.h (__rpc_thread_variables): Add
28807 (__rpc_thread_svc_cleanup): Likewise.
28808 (__rpc_thread_clnt_cleanup): Likewise.
28809 (__rpc_thread_key_cleanup): Likewise.
28811 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28814 * include/sys/uio.h (__readv): Add libc_hidden_proto.
28815 (__writev): Likewise.
28816 * misc/readv.c (__readv): Add libc_hidden_def.
28817 * misc/writev.c (__writev): Likewise.
28818 * sysdeps/posix/readv.c (__readv): Likewise.
28819 * sysdeps/posix/writev.c (__writev): Likewise.
28820 * sysdeps/unix/sysv/linux/readv.c: Include <sys/uio.h>.
28821 (__readv): Likewise.
28822 * sysdeps/unix/sysv/linux/writev.c: Include <sys/uio.h>.
28823 (__writev): Likewise.
28825 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28828 * include/regex.h (__re_compile_fastmap): Add attribute_hidden.
28829 (__regcomp): Add libc_hidden_proto.
28830 (__regexec): Likewise.
28831 (__regfree): Likewise.
28832 * posix/regcomp.c (__regcomp): Add libc_hidden_def.
28833 (__regfree): Likewise.
28834 * posix/regexec.c (__regexec): Likewise.
28836 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28839 * include/utmp.h (__updwtmp): Add libc_hidden_proto.
28840 (__getutent): Likewise.
28841 (__getutid): Likewise.
28842 (__getutline): Likewise.
28843 (__pututline): Likewise.
28844 (__getutent_r): Likewise.
28845 (__getutid_r): Likewise.
28846 (__getutline_r): Likewise.
28847 (__utmpname): Add attribute_hidden.
28848 (__setutent): Likewise.
28849 (__endutent): Likewise.
28850 * login/getutent.c (__getutent): Add libc_hidden_def.
28851 * login/getutent_r.c (__getutent_r): Likewise.
28852 (__pututline): Likewise.
28853 * login/getutid.c (__getutid): Likewise.
28854 * login/getutid_r.c (__getutid_r): Likewise.
28855 * login/getutline.c (__getutline): Likewise.
28856 * login/getutline_r.c (__getutline_r): Likewise.
28857 * login/updwtmp.c (__updwtmp): Likewise.
28859 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28862 * include/dirent.h (__opendir): Always add attribute_hidden.
28863 (__fdopendir): Likewise.
28864 (__closedir): Likewise.
28865 (__readdir): Likewise.
28866 (__readdir64): Add libc_hidden_proto.
28867 * sysdeps/mach/hurd/readdir64.c (__readdir64): Add libc_hidden_def.
28868 * sysdeps/unix/sysv/linux/i386/readdir64.c (__readdir64): Likewise.
28869 * sysdeps/unix/sysv/linux/readdir64.c (__readdir64): Likewise.
28870 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c (__GI___readdir64):
28873 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28876 * include/aliases.h (__getaliasbyname_r): Add attribute_hidden.
28877 * include/netdb.h (__gethostbyaddr_r): Likewise.
28878 (__gethostbyname_r): Likewise.
28879 (__gethostbyname2_r): Likewise.
28880 (__getnetbyaddr_r): Likewise.
28881 (__getnetbyname_r): Likewise.
28882 (__getservbyname_r): Likewise.
28883 (__getservbyport_r): Likewise.
28884 (__getprotobyname_r): Likewise.
28885 (__getprotobynumber_r): Likewise.
28886 (__getnetgrent_r): Likewise.
28887 * include/rpc/netdb.h (__getrpcbyname_r): Likewise.
28888 (__getrpcbynumber_r): Likewise.
28889 * nss/getXXbyYY.c (INTERNAL (REENTRANT_NAME)): Likewise.
28891 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28894 * include/stdio.h (__fcloseall): Add attribute_hidden.
28895 (__getline): Likewise.
28896 (__path_search): Likewise.
28897 (__gen_tempname): Likewise.
28898 (__libc_message): Likewise.
28899 (__flockfile): Likewise.
28900 (__funlockfile): Likewise.
28901 (__fxprintf): Likewise.
28902 (__fxprintf_nocancel): Likewise.
28904 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28907 * include/gshadow.h (__fgetsgent_r): Add attribute_hidden.
28908 (__sgetsgent_r): Likewise.
28910 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28913 * include/sys/statfs.h (__fstatfs): Add attribute_hidden.
28914 (__statfs64): Likewise.
28915 (__fstatfs64): Likewise.
28916 * include/sys/statvfs.h (__statvfs64): Likewise.
28917 (__fstatvfs64): Likewise.
28918 * sysdeps/unix/sysv/linux/pathconf.h (__statfs_link_max): Likewise.
28919 (__statfs_filesize_max): Likewise.
28920 (__statfs_symlinks): Likewise.
28921 (__statfs_chown_restricted): Likewise.
28923 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28926 * include/time.h (__tzstring): Add attribute_hidden.
28927 (__tzfile_read): Likewise.
28928 (__tzfile_compute): Likewise.
28929 (__tzfile_default): Likewise.
28930 (__tzset_parse_tz): Likewise.
28931 (__offtime): Likewise.
28932 (__asctime_r): Likewise.
28933 (__tzset): Likewise.
28934 (__tz_convert): Likewise.
28935 (__getdate_r): Likewise.
28936 (__getclktck): Likewise.
28938 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28941 * nscd/nscd-client.h (__nscd_get_map_ref): Add attribute_hidden.
28942 (__nscd_unmap): Likewise.
28943 (__nscd_cache_search): Likewise.
28944 (__nscd_get_nl_timestamp): Likewise.
28945 (__nscd_getpwnam_r): Likewise.
28946 (__nscd_getpwuid_r): Likewise.
28947 (__nscd_getgrnam_r): Likewise.
28948 (__nscd_getgrgid_r): Likewise.
28949 (__nscd_gethostbyname_r): Likewise.
28950 (__nscd_gethostbyname2_r): Likewise.
28951 (__nscd_gethostbyaddr_r): Likewise.
28952 (__nscd_getai): Likewise.
28953 (__nscd_getgrouplist): Likewise.
28954 (__nscd_getservbyname_r): Likewise.
28955 (__nscd_getservbyport_r): Likewise.
28956 (__nscd_innetgr): Likewise.
28957 (__nscd_setnetgrent): Likewise.
28959 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28962 * include/gmp.h: Declare internal functions only if _ISOMAC is
28964 (__mpn_extract_double): Add attribute_hidden.
28965 (__mpn_extract_long_double): Likewise.
28966 (__mpn_extract_float128): Likewise.
28967 (__mpn_construct_float): Likewise.
28968 (__mpn_construct_double): Likewise.
28969 (__mpn_construct_long_double): Likewise.
28970 (__mpn_construct_float128): Likewise.
28971 (mpn_add_1): Likewise.
28972 (mpn_addmul_1): Likewise.
28973 (mpn_add_n): Likewise.
28974 (mpn_cmp): Likewise.
28975 (mpn_divrem): Likewise.
28976 (mpn_lshift): Likewise.
28977 (mpn_mul): Likewise.
28978 (mpn_mul_1): Likewise.
28979 (mpn_rshift): Likewise.
28980 (mpn_sub_1): Likewise.
28981 (mpn_submul_1): Likewise.
28982 (mpn_sub_n): Likewise.
28984 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
28987 * include/wchar.h (__wcsnlen): Add attribute_hidden.
28988 (__wcscat): Likewise.
28989 (__btowc): Likewise.
28990 (__wcrtomb): Likewise.
28991 (__mbsrtowcs): Likewise.
28992 (__wcsrtombs): Likewise.
28993 (__mbsnrtowcs): Likewise.
28994 (__wcsnrtombs): Likewise.
28995 (__wcsncpy): Likewise.
28996 (__wcpncpy): Likewise.
28997 (__wmemcpy): Likewise.
28998 (__wmempcpy): Likewise.
28999 (__wmemmove): Likewise.
29000 (__wcschrnul): Likewise.
29001 (__vfwscanf): Likewise.
29002 (__vswprintf): Likewise.
29003 (__fwprintf): Likewise.
29004 (__vfwprintf): Likewise.
29006 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29009 * include/grp.h (__fgetgrent_r): Add attribute_hidden.
29010 (__getgrgid_r): Likewise.
29011 (__getgrnam_r): Likewise.
29012 * include/pwd.h (__getpwuid_r): Likewise.
29013 (__getpwnam_r): Likewise.
29014 (__fgetpwent_r): Likewise.
29015 * include/shadow.h (__getspnam_r): Likewise.
29016 (__sgetspent_r): Likewise.
29017 (__fgetspent_r): Likewise.
29019 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29022 * include/unistd.h (__access): Add attribute_hidden.
29023 (__lseek64): Likewise.
29024 (__libc_pread64): Likewise.
29025 (__pipe2): Likewise.
29026 (__sleep): Likewise.
29027 (__chdir): Likewise.
29028 (__fchdir): Likewise.
29029 (__getcwd): Likewise.
29030 (__rmdir): Likewise.
29031 (__execvpe): Likewise.
29032 (__execve): Likewise.
29033 (__setsid): Likewise.
29034 (__getuid): Likewise.
29035 (__geteuid): Likewise.
29036 (__getgid): Likewise.
29037 (__getegid): Likewise.
29038 (__getgroups): Likewise.
29039 (__group_member): Likewise.
29040 (__ttyname_r): Likewise.
29041 (__isatty): Likewise.
29042 (__readlink): Likewise.
29043 (__unlink): Likewise.
29044 (__gethostname): Likewise.
29045 (__profil): Likewise.
29046 (__getdtablesize): Likewise.
29048 (__ftruncate): Likewise.
29049 (__ftruncate64): Likewise.
29051 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29054 * argp/argp-fmtstream.c: Include <argp-fmtstream.h>.
29055 * argp/argp-fs-xinl.c: Likewise.
29056 * argp/argp-help.c: Include <argp.h> and <argp-fmtstream.h>.
29057 * argp/argp-parse.c: Include <argp.h>.
29058 * argp/argp-xinl.c: Likewise.
29059 * include/argp-fmtstream.h: New file.
29060 * include/argp.h (__argp_error): Add attribute_hidden.
29061 (__argp_failure): Likewise.
29062 (__argp_input): Likewise.
29063 (__argp_state_help): Likewise.
29065 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29068 * include/wchar.h (____wcstof_l_internal): New prototype.
29069 (____wcstod_l_internal): Likewise.
29070 (____wcstold_l_internal): Likewise.
29071 (____wcstol_l_internal): Likewise.
29072 (____wcstoul_l_internal): Likewise.
29073 (____wcstoll_l_internal): Likewise.
29074 (____wcstoull_l_internal): Likewise.
29075 (____wcstof128_l_internal): Likewise.
29076 * sysdeps/ieee754/float128/wcstof128.c
29077 (____wcstof128_l_internal): Removed.
29078 * sysdeps/ieee754/float128/wcstof128_l.c
29079 (____wcstof128_l_internal): Likewise.
29080 * wcsmbs/wcstod.c (____wcstod_l_internal): Likewise.
29081 * wcsmbs/wcstod_l.c (____wcstod_l_internal): Likewise.
29082 * wcsmbs/wcstof.c (____wcstof_l_internal): Likewise.
29083 * wcsmbs/wcstof_l.c (____wcstof_l_internal): Likewise.
29084 * wcsmbs/wcstol_l.c (____wcstol_l_internal): Likewise.
29085 * wcsmbs/wcstold.c (____wcstold_l_internal): Likewise.
29086 * wcsmbs/wcstold_l.c (____wcstold_l_internal): Likewise.
29087 * wcsmbs/wcstoll_l.c (____wcstoll_l_internal): Likewise.
29088 * wcsmbs/wcstoul_l.c (____wcstoul_l_internal): Likewise.
29089 * wcsmbs/wcstoull_l.c (____wcstoull_l_internal): Likewise.
29091 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29094 * sysdeps/unix/sysv/linux/fstatvfs.c: Include "internal_statvfs.h"
29095 instead of <sys/statvfs.h>.
29096 (__internal_statvfs): Removed.
29097 * sysdeps/unix/sysv/linux/fstatvfs64.c Include "internal_statvfs.h"
29098 instead of <sys/statvfs.h>.
29099 (__internal_statvfs64): Removed.
29100 * sysdeps/unix/sysv/linux/internal_statvfs.c: Include
29101 "internal_statvfs.h" instead of <sys/statvfs.h>.
29102 * sysdeps/unix/sysv/linux/internal_statvfs.h: New file.
29103 * sysdeps/unix/sysv/linux/statvfs.c Include "internal_statvfs.h"
29104 instead of <sys/statvfs.h>.
29105 (__internal_statvfs): Removed.
29106 * sysdeps/unix/sysv/linux/statvfs64.c Include "internal_statvfs.h"
29107 instead of <sys/statvfs.h>.
29108 (__internal_statvfs64): Removed.
29110 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29113 * iconv/gconv_int.h (__gconv_open): Add attribute_hidden.
29114 (__gconv_close): Likewise.
29115 (__gconv): Likewise.
29116 (__gconv_find_transform): Likewise.
29117 (__gconv_lookup_cache): Likewise.
29118 (__gconv_compare_alias_cache): Likewise.
29119 (__gconv_load_cache): Likewise.
29120 (__gconv_get_path): Likewise.
29121 (__gconv_close_transform): Likewise.
29122 (__gconv_release_cache): Likewise.
29123 (__gconv_find_shlib): Likewise.
29124 (__gconv_release_shlib): Likewise.
29125 (__gconv_get_builtin_trans): Likewise.
29126 (__gconv_compare_alias): Likewise.
29127 * include/dlfcn.h (_dlerror_run): Likewise.
29128 * include/stdio.h (__fortify_fail_abort): Likewise.
29129 * include/time.h (__tz_compute): Likewise.
29130 (__strptime_internal): Likewise.
29131 * intl/gettextP.h (_nl_find_domain): Likewise.
29132 (_nl_load_domain): Likewise.
29133 (_nl_find_msg): Likewise.
29134 * intl/plural-exp.h (FREE_EXPRESSION): Likewise.
29135 (EXTRACT_PLURAL_EXPRESSION): Likewise.
29136 * locale/coll-lookup.h (__collidx_table_lookup): Likewise.
29137 * resolv/gai_misc.h (__gai_enqueue_request): Likewise.
29138 (__gai_find_request): Likewise.
29139 (__gai_remove_request): Likewise.
29140 (__gai_notify): Likewise.
29141 (__gai_notify_only): Likewise.
29142 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
29143 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
29144 (_dl_non_dynamic_init): Likewise.
29145 (_dl_aux_init): Likewise.
29146 * sysdeps/i386/machine-gmon.h (mcount_internal): Likewise.
29147 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
29149 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv): Likewise.
29150 (__wcsmbs_clone_conv): Likewise.
29151 (__wcsmbs_named_conv): Likewise.
29153 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29156 * include/stdlib.h (__random): Add attribute_hidden.
29157 (__random_r): Likewise.
29158 (__srandom_r): Likewise.
29159 (__initstate_r): Likewise.
29160 (__setstate_r): Likewise.
29161 (__erand48_r): Likewise.
29162 (__nrand48_r): Likewise.
29163 (__jrand48_r): Likewise.
29164 (__srand48_r): Likewise.
29165 (__seed48_r): Likewise.
29166 (__lcong48_r): Likewise.
29167 (__drand48_iterate): Likewise.
29168 (__setenv): Likewise.
29169 (__unsetenv): Likewise.
29170 (__clearenv): Likewise.
29171 (__ptsname_r): Likewise.
29172 (__posix_openpt): Likewise.
29173 (__add_to_environ): Likewise.
29174 (__realpath): Add libc_hidden_proto.
29175 (__ecvt_r): Likewise.
29176 (__fcvt_r): Likewise.
29177 (__qecvt_r): Likewise.
29178 (__qfcvt_r): Likewise.
29179 * misc/efgcvt_r.c (cvt_symbol_1): Add libc_hidden_def (local).
29180 * stdlib/canonicalize.c (__realpath): Add libc_hidden_def.
29182 2017-10-01 H.J. Lu <hongjiu.lu@intel.com>
29185 * include/stdlib.h (__ptsname_internal): Add attribute_hidden.
29186 * include/time.h (__mktime_internal): Likewise.
29187 * libio/iolibio.h (__fopen_internal): Likewise.
29189 2017-10-01 John David Anglin <danglin@gcc.gnu.org>
29191 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Save return
29193 * sysdeps/unix/sysv/linux/hppa/setcontext.S (__setcontext): Likewise.
29194 Correct offset used to restore PIC register.
29196 2017-09-30 John David Anglin <danglin@gcc.gnu.org>
29199 * sysdeps/unix/sysv/linux/hppa/getcontext.S (__getcontext): Use PIC
29200 code to load address of __getcontext_ret when generating PIC code.
29202 2017-09-30 H.J. Lu <hongjiu.lu@intel.com>
29204 * elf/Makefile (tests-static-internal): Add
29205 tst-tls1-static-non-pie.
29206 (LDFLAGS-tst-tls1-static-non-pie): New.
29207 * elf/tst-tls1-static-non-pie.c: New file.
29209 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29211 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <libm-alias-double.h>.
29212 (asinh): Define using libm_alias_double.
29213 * sysdeps/ieee754/dbl-64/s_cbrt.c: Include <libm-alias-double.h>.
29214 (cbrt): Define using libm_alias_double.
29215 * sysdeps/ieee754/dbl-64/s_copysign.c: Include
29216 <libm-alias-double.h>.
29217 (copysign): Define using libm_alias_double.
29218 * sysdeps/ieee754/dbl-64/s_erf.c: Include <libm-alias-double.h>.
29219 (erf): Define using libm_alias_double.
29221 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <libm-alias-double.h>.
29222 (expm1): Define using libm_alias_double.
29223 * sysdeps/ieee754/dbl-64/s_fabs.c: Include <libm-alias-double.h>.
29224 (fabs): Define using libm_alias_double.
29225 * sysdeps/ieee754/dbl-64/s_fromfp.c (fromfp): Define using
29227 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Include
29228 <libm-alias-double.h>.
29229 * sysdeps/ieee754/dbl-64/s_fromfpx.c (fromfpx): Define using
29231 * sysdeps/ieee754/dbl-64/s_getpayload.c: Include
29232 <libm-alias-double.h>.
29233 (getpayload): Define using libm_alias_double.
29234 * sysdeps/ieee754/dbl-64/s_llrint.c: Include
29235 <libm-alias-double.h>.
29236 (llrint): Define using libm_alias_double.
29237 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <libm-alias-double.h>.
29238 (lrint): Define using libm_alias_double.
29239 * sysdeps/ieee754/dbl-64/s_nextup.c: Include
29240 <libm-alias-double.h>.
29241 (nextup): Define using libm_alias_double.
29242 * sysdeps/ieee754/dbl-64/s_roundeven.c: Include
29243 <libm-alias-double.h>.
29244 (roundeven): Define using libm_alias_double.
29245 * sysdeps/ieee754/dbl-64/s_setpayload.c (setpayload): Define using
29247 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Include
29248 <libm-alias-double.h>.
29249 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (setpayloadsig): Define
29250 using libm_alias_double.
29251 * sysdeps/ieee754/dbl-64/s_sin.c: Include <libm-alias-double.h>.
29252 (cos): Define using libm_alias_double.
29254 * sysdeps/ieee754/dbl-64/s_sincos.c: Include
29255 <libm-alias-double.h>.
29256 (sincos): Define using libm_alias_double.
29257 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <libm-alias-double.h>.
29258 (tanh): Define using libm_alias_double.
29259 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
29260 <libm-alias-double.h>.
29261 (totalorder): Define using libm_alias_double.
29262 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
29263 <libm-alias-double.h>.
29264 (totalordermag): Define using libm_alias_double.
29265 * sysdeps/ieee754/dbl-64/s_ufromfp.c (ufromfp): Define using
29267 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (ufromfpx): Define using
29269 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Include
29270 <libm-alias-double.h>.
29271 (getpayload): Define using libm_alias_double.
29272 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Include
29273 <libm-alias-double.h>.
29274 (roundeven): Define using libm_alias_double.
29275 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c: Include
29276 <libm-alias-double.h>.
29277 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
29278 <libm-alias-double.h>.
29279 (totalorder): Define using libm_alias_double.
29280 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
29281 <libm-alias-double.h>.
29282 (totalordermag): Define using libm_alias_double.
29283 * sysdeps/ieee754/ldbl-opt/s_copysign.c (copysignl): Only define
29284 libc compat symbol here.
29285 * sysdeps/ieee754/ldbl-opt/s_asinh.c: Remove file.
29286 * sysdeps/ieee754/ldbl-opt/s_cbrt.c: Likewise.
29287 * sysdeps/ieee754/ldbl-opt/s_erf.c: Likewise.
29288 * sysdeps/ieee754/ldbl-opt/s_expm1.c: Likewise.
29289 * sysdeps/ieee754/ldbl-opt/s_fabs.c: Likewise.
29290 * sysdeps/ieee754/ldbl-opt/s_llrint.c: Likewise.
29291 * sysdeps/ieee754/ldbl-opt/s_lrint.c: Likewise.
29292 * sysdeps/ieee754/ldbl-opt/s_sin.c: Likewise.
29293 * sysdeps/ieee754/ldbl-opt/s_sincos.c: Likewise.
29294 * sysdeps/ieee754/ldbl-opt/s_tanh.c: Likewise.
29296 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29298 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Use
29299 _dl_relocate_static_pie instead of _dl_start to compute load
29300 address in static PIE. Return 0 if _DYNAMIC is undefined for
29303 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29305 * sysdeps/mips/dl-machine.h (elf_machine_dynamic): Return 0 if
29306 _DYNAMIC is undefined for static executable.
29308 2017-09-29 H.J. Lu <hongjiu.lu@intel.com>
29310 * sysdeps/arm/start.S (_start): Check PIC instead of SHARED.
29312 2017-09-29 Joseph Myers <joseph@codesourcery.com>
29314 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29316 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29318 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
29319 (__ieee754_lgamma_r): Use fabs rather than __fabs.
29320 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
29321 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
29322 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
29323 (__ieee754_lgammaf_r): Use fabsf rather than __fabsf.
29324 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
29325 * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
29326 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c
29327 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29328 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
29329 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
29330 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29331 (__ieee754_lgammal_r): Use fabsl rather than __fabsl.
29332 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
29333 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
29334 * sysdeps/powerpc/nofpu/Makefile: Add -fno-builtin-fabsl for BZ #29253.
29336 2017-09-29 Wilco Dijkstra <wdijkstr@arm.com>
29338 * math/bits/cmathcalls.h (cimag): Remove inline.
29339 (creal): Remove inline.
29340 (conj): Remove inline.
29342 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29344 * math/Makefile (type-float-routines): Add e_powf_log2_data.
29345 * sysdeps/ieee754/flt-32/e_powf.c: New implementation.
29346 * sysdeps/ieee754/flt-32/e_powf_log2_data.c: New file.
29347 * sysdeps/ieee754/flt-32/math_config.h (__powf_log2_data): Define.
29348 (issignalingf_inline): Likewise.
29349 (POWF_LOG2_TABLE_BITS): Likewise.
29350 (POWF_LOG2_POLY_ORDER): Likewise.
29351 (POWF_SCALE_BITS): Likewise.
29352 (POWF_SCALE): Likewise.
29353 * sysdeps/i386/fpu/e_powf_log2_data.c: New file.
29354 * sysdeps/ia64/fpu/e_powf_log2_data.c: New file.
29355 * sysdeps/m68k/m680x0/fpu/e_powf_log2_data.c: New file.
29357 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29359 * math/Makefile (type-float-routines): Add e_log2f_data.
29360 * sysdeps/ieee754/flt-32/e_log2f.c: New implementation.
29361 * sysdeps/ieee754/flt-32/e_log2f_data.c: New file.
29362 * sysdeps/ieee754/flt-32/math_config.h (__log2f_data): Define.
29363 (LOG2F_TABLE_BITS, LOG2F_POLY_ORDER): Define.
29364 * sysdeps/i386/fpu/e_log2f_data.c: New file.
29365 * sysdeps/ia64/fpu/e_log2f_data.c: New file.
29366 * sysdeps/m68k/m680x0/fpu/e_log2f_data.c: New file.
29368 2017-09-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
29370 * math/Makefile (type-float-routines): Add e_logf_data.
29371 * sysdeps/ieee754/flt-32/e_logf.c: New implementation.
29372 * sysdeps/ieee754/flt-32/e_logf_data.c: New file.
29373 * sysdeps/ieee754/flt-32/math_config.h (__logf_data): Define.
29374 (LOGF_TABLE_BITS, LOGF_POLY_ORDER): Define.
29375 * sysdeps/i386/fpu/e_logf_data.c: New file.
29376 * sysdeps/ia64/fpu/e_logf_data.c: New file.
29377 * sysdeps/m68k/m680x0/fpu/e_logf_data.c: New file.
29379 2017-09-28 H.J. Lu <hongjiu.lu@intel.com>
29381 * sysdeps/i386/dl-machine.h (elf_machine_load_address): Allow
29382 undefined _DYNAMIC in PIE libc.a.
29383 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address):
29386 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29388 * sysdeps/alpha/fpu/bits/mathinline.h: Delete file.
29389 * sysdeps/ia64/fpu/bits/mathinline.h: Delete file.
29390 * sysdeps/m68k/coldfire/fpu/bits/mathinline.h: Delete file.
29391 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: (__signbitf): Remove.
29392 (__signbit): Remove.
29393 (__signbitl): Remove.
29394 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Remove.
29395 (__signbit): Remove.
29396 (__signbitl): Remove.
29397 * sysdeps/s390/fpu/bits/mathinline.h: (__signbitf): Remove.
29398 (__signbit): Remove.
29399 (__signbitl): Remove.
29400 * sysdeps/sparc/fpu/bits/mathinline.h (__signbitf): Remove.
29401 (__signbit): Remove.
29402 (__signbitl): Remove.
29403 * sysdeps/tile/bits/mathinline.h: Delete file.
29404 * sysdeps/x86/fpu/bits/mathinline.h (__signbitf): Remove.
29405 (__signbit): Remove.
29406 (__signbitl): Remove.
29408 2017-09-28 Wilco Dijkstra <wdijkstr@arm.com>
29410 * math/math.h: Improve handling of C99 isgreater macros.
29411 * sysdeps/alpha/fpu/bits/mathinline.h: Remove isgreater macros.
29412 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h: Likewise.
29413 * sysdeps/powerpc/bits/mathinline.h: Likewise.
29414 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29415 * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
29417 2017-09-28 Szabolcs Nagy <szabolcs.nagy@arm.com>
29419 * sysdeps/aarch64/libm-test-ulps: Update.
29421 2017-09-28 Joseph Myers <joseph@codesourcery.com>
29424 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
29425 math_opt_barrier on argument when doing arithmetic on it.
29426 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
29427 Likewise. Use math_force_eval not math_opt_barrier after
29429 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Use
29430 math_opt_barrier on argument when doing arithmetic on it.
29431 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
29434 2017-09-27 H.J. Lu <hongjiu.lu@intel.com>
29436 * sysdeps/unix/sysv/linux/ifaddrs.c (__getifaddrs): Add
29438 (__freeifaddrs): Likewise.
29440 2017-09-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
29442 * include/dirent.h (__dirfd): New declaration.
29443 * dirent/dirfd.c (dirfd): Rename to __dirfd, and redefine as weak
29445 * sysdeps/posix/dirfd/dirfd.c (dirfd): Likewise.
29446 * sysdeps/mach/hurd/dirfd.c (dirfd): Likewise.
29447 * io/ftw.c (open_dir_stream, ftw_dir): Use __dirfd instead of dirfd.
29448 * include/unistd.h (__revoke): New declaration.
29449 * misc/revoke.c (revoke): Rename to __revoke, and redefine as weak
29451 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
29452 * sysdeps/unix/bsd/unlockpt.c (unlockpt): Use __revoke instead of
29454 * include/dirent.h (__seekdir): New declaration.
29455 * sysdeps/mach/hurd/seekdir.c (seekdir): Rename to __seekdir and
29456 redefine as weak alias.
29457 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Use __seekdir instead
29459 * include/ifaddrs.h (__getifaddrs, __freeifaddrs): New declarations,
29460 and use libc_hidden_def on them.
29461 * inet/ifaddrs.c (__getifaddrs, __freeifaddrs): Use libc_hidden_def on
29463 * sysdeps/gnu/ifaddrs.c (__getifaddrs, __freeifaddrs): Likewise.
29464 * inet/check_pf.c (__check_pf): Use __getifaddrs and __freeifaddrs
29465 instead of getifaddrs and freeifaddrs.
29467 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29470 * dlfcn/modatexit.c (foo): Remove __dso_handle check.
29471 * dlfcn/modcxaatexit.c: Include <dso_handle.h>.
29472 (__dso_handle): Remove declaration.
29473 * dlfcn/tstatexit.c (__dso_handle): Removed.
29474 (main): Don't check __dso_handle.
29475 * dlfcn/tstcxaatexit.c (__dso_handle): Removed.
29476 (main): Don't check __dso_handle.
29477 * include/dso_handle.h: New file.
29478 * malloc/mtrace.c: Include <dso_handle.h>.
29479 (mtrace): Pass __dso_handle directly.
29480 * nptl/pthread_atfork.c: Include <dso_handle.h>.
29481 (__dso_handle): Remove declaration.
29482 (__pthread_atfork): Pass __dso_handle directly.
29483 * nptl/tst-atfork2mod.c: Include <dso_handle.h>.
29484 (__dso_handle): Removed.
29485 * posix/wordexp-test.c: Include <dso_handle.h>.
29486 (__dso_handle): Remove declaration.
29487 (__app_register_atfork): Pass __dso_handle directly.
29488 * stdlib/at_quick_exit.c: Include <dso_handle.h>.
29489 (__dso_handle): Remove declaration.
29490 (at_quick_exit): Pass __dso_handle directly.
29491 * stdlib/atexit.c: Include <dso_handle.h>.
29492 (__dso_handle): Remove declaration.
29493 (atexit): Pass __dso_handle directly.
29494 * stdlib/tst-tls-atexit-lib.c: Include <dso_handle.h>.
29495 (__dso_handle): Removed.
29497 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29499 * sysdeps/unix/make-syscalls.sh: Use __ifunc to define symbols
29502 2017-09-26 Alexey Makhalov <amakhalov@vmware.com>
29504 * elf/dl-tunables.c (do_tunable_update_val): Range checking fix.
29505 * scripts/gen-tunables.awk: Set unspecified minval and/or maxval
29506 values to correct default value for given type.
29508 2017-09-26 H.J. Lu <hongjiu.lu@intel.com>
29511 * elf/Makefile (tests): Add tst-debug1.
29512 ($(objpfx)tst-debug1): New.
29513 ($(objpfx)tst-debug1.out): Likewise.
29514 ($(objpfx)tst-debug1mod1.so): Likewise.
29515 * elf/dl-load.c (_dl_map_object_from_fd): Skip PT_DYNAMIC segment
29516 with p_filesz == 0.
29517 * elf/tst-debug1.c: New file.
29519 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29521 * sysdeps/sparc/sparc-ifunc.h [!__ASSEMBLER__] (sparc_libm_ifunc):
29522 Define using __ifunc.
29524 2017-09-26 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29526 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerate expf() and
29529 2017-09-26 Joseph Myers <joseph@codesourcery.com>
29532 * sysdeps/ia64/stackinfo.h (DEFAULT_STACK_PERMS): Likewise.
29534 2017-09-26 Florian Weimer <fweimer@redhat.com>
29536 * resolv/Makefile (tests-internal): Fix typo in comment.
29538 2017-09-26 Florian Weimer <fweimer@redhat.com>
29540 * resolv/nss_dns/dns-host.c: Fix typo in comment.
29542 2017-09-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
29544 * lib/malloc/scratch_buffer.h (struct scratch_buffer):
29545 Use an union instead of a max_align_t array for __space,
29546 so that __space is the same size on all platforms.
29547 * malloc/scratch_buffer_grow_preserve.c
29548 (__libc_scratch_buffer_grow_preserve): Likewise.
29551 * include/gnu-versions.h (_GNU_GLOB_INTERFACE_VERSION): Increase
29553 * posix/Makefile (routines): Add glob-lstat-compat and
29554 glob64-lstat-compat.
29555 * posix/Versions (GLIBC_2.27, glob, glob64): Add symbol version.
29556 * posix/glob-lstat-compat.c: New file.
29557 * posix/glob64-lstat-compat.c: Likewise.
29558 * posix/tst-glob_lstat_compat.c: Likewise.
29559 * sysdeps/unix/sysv/linux/glob-lstat-compat.c: Likewise.
29560 * sysdeps/unix/sysv/linux/alpha/glob-lstat-compat.c: Likewise.
29561 * sysdeps/unix/sysv/linux/glob64-lstat-compat.c: Likewise.
29562 * sysdeps/unix/sysv/linux/s390/s390-32/glob64-lstat-compat.c:
29564 * sysdeps/unix/sysv/linux/alpha/glob.c: Remove file.
29565 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
29566 * posix/glob.c (glob_lstat): New function.
29567 (glob): Rename to __glob and add versioned symbol to 2.27.
29568 (glob_in_dir): Use glob_lstat.
29569 * posix/glob64.c (glob64): Add GLOB_ATTRIBUTE.
29570 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
29571 * sysdeps/unix/sysv/linux/glob.c (glob): Add versioned symbol for
29573 * sysdeps/unix/sysv/linux/glob64.c (glob64): Likewise.
29574 * sysdeps/unix/sysv/linux/oldglob.c (GLOB_NO_LSTAT): Define.
29575 * sysdeps/unix/sysv/linux/alpha/oldglob.c (__old_glob): Do not use
29576 gl_lstat on glob call.
29577 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add GLIBC_2.27 glob
29578 and glob64 symbols.
29579 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
29580 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
29581 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
29582 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
29583 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
29584 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
29585 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
29586 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
29587 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
29588 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
29589 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
29590 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
29591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
29593 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
29594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
29595 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
29596 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
29597 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
29598 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
29599 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
29600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
29601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
29602 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
29603 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
29604 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
29606 2017-09-25 H.J. Lu <hongjiu.lu@intel.com>
29608 * configure.ac (AS): Require binutils 2.25 or later.
29609 * configure: Regenerated.
29611 2017-09-25 Paul Pluzhnikov <ppluzhnikov@google.com>
29614 * stdlib/test-atexit-race-common.c (do_test): Minimize required
29617 2017-09-25 DJ Delorie <dj@redhat.com>
29620 * nscd/netgroupcache.c (addinnetgrX): Release read lock after
29623 2017-09-25 Stefan Liebler <stli@linux.vnet.ibm.com>
29625 * sysdeps/ieee754/dbl-64/sincos32.h
29626 [SINCCOS32_H]: Remove define.
29627 [SINCOS32_H]: Define.
29629 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29631 * math/Versions (expf): New libm symbol at GLIBC_2.27.
29633 * math/w_exp2f.c: New file.
29634 * math/w_expf.c: New file.
29635 * math/w_exp2f_compat.c (__exp2f_compat): For compat symbol only.
29636 * math/w_expf_compat.c (__expf_compat): Likewise.
29637 * sysdeps/ia64/fpu/e_exp2f.S: Add versioned symbols.
29638 * sysdeps/ia64/fpu/e_expf.S: Likewise.
29639 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Update.
29640 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
29641 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
29642 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
29643 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
29644 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
29645 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
29646 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
29647 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
29648 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
29649 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
29650 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
29651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
29653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
29655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
29657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
29659 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
29660 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
29661 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
29662 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
29663 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
29664 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
29666 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
29668 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
29669 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
29670 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
29672 2017-09-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
29674 * math/Makefile (type-float-routines): Add math_errf and e_exp2f_data.
29675 * sysdeps/aarch64/fpu/math_private.h (TOINT_INTRINSICS): Define.
29676 (roundtoint, converttoint): Likewise.
29677 * sysdeps/ieee754/flt-32/e_expf.c: New implementation.
29678 * sysdeps/ieee754/flt-32/e_exp2f.c: New implementation.
29679 * sysdeps/ieee754/flt-32/e_exp2f_data.c: New file.
29680 * sysdeps/ieee754/flt-32/math_config.h: New file.
29681 * sysdeps/ieee754/flt-32/math_errf.c: New file.
29682 * sysdeps/ieee754/flt-32/t_exp2f.h: Remove.
29683 * sysdeps/i386/fpu/e_exp2f_data.c: New file.
29684 * sysdeps/i386/fpu/math_errf.c: New file.
29685 * sysdeps/ia64/fpu/e_exp2f_data.c: New file.
29686 * sysdeps/ia64/fpu/math_errf.c: New file.
29687 * sysdeps/m68k/m680x0/fpu/e_exp2f_data.c: New file.
29688 * sysdeps/m68k/m680x0/fpu/math_errf.c: New file.
29690 2017-09-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
29692 * sysdeps/mach/hurd/dl-sysdep.c (check_no_hidden): New macro.
29693 (__open, __close, __libc_read, __libc_write, __writev, __libc_lseek64,
29694 __mmap, __fxstat64, __xstat64, __access, __access_noerrno, __getpid,
29695 __getcwd, __sbrk, __strtoul_internal, _exit, abort): Use check_no_hidden
29696 to make sure that these symbols are defined.
29697 * sysdeps/mach/hurd/bits/socket.h: Include <bits/wordsize.h> instead
29699 (__need_NULL): Do not define.
29700 (__ss_aligntype): Use __WORDSIZE instead of ULONG_MAX to determine
29702 [!__USE_MISC] (pseudo_AF_XTP, pseudo_AF_RTIP, pseudo_AF_PIP,
29703 CMGROUP_MAX, cmsgcred): Do not define.
29704 (CMSG_FIRSTHDR, __cmsg_nxthdr): Use (struct cmsghdr *) 0 instead of
29706 * bits/socket.h: Likewise.
29707 * sysdeps/unix/clock_gettime.c (realtime_gettime, __clock_gettime): Use
29708 __gettimeofday instead of gettimeofday.
29709 * sysdeps/unix/clock_settime.c (__clock_settime): Use __settimeofday
29710 instead of settimeofday.
29712 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29714 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <libm-alias-float.h>.
29715 (asinhf): Define using libm_alias_float.
29716 * sysdeps/ieee754/flt-32/s_atanf.c: Include <libm-alias-float.h>.
29717 (atanf): Define using libm_alias_float.
29718 * sysdeps/ieee754/flt-32/s_cbrtf.c: Include <libm-alias-float.h>.
29719 (cbrtf): Define using libm_alias_float.
29720 * sysdeps/ieee754/flt-32/s_ceilf.c: Include <libm-alias-float.h>.
29721 (ceilf): Define using libm_alias_float.
29722 * sysdeps/ieee754/flt-32/s_copysignf.c: Include
29723 <libm-alias-float.h>.
29724 (copysignf): Define using libm_alias_float.
29725 * sysdeps/ieee754/flt-32/s_cosf.c: Include <libm-alias-float.h>.
29726 (cosf): Define using libm_alias_float.
29727 * sysdeps/ieee754/flt-32/s_erff.c: Include <libm-alias-float.h>.
29728 (erff): Define using libm_alias_float.
29730 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <libm-alias-float.h>.
29731 (expm1f): Define using libm_alias_float.
29732 * sysdeps/ieee754/flt-32/s_fabsf.c: Include <libm-alias-float.h>.
29733 (fabsf): Define using libm_alias_float.
29734 * sysdeps/ieee754/flt-32/s_floorf.c: Include <libm-alias-float.h>.
29735 (floorf): Define using libm_alias_float.
29736 * sysdeps/ieee754/flt-32/s_frexpf.c: Include <libm-alias-float.h>.
29737 (frexpf): Define using libm_alias_float.
29738 * sysdeps/ieee754/flt-32/s_fromfpf.c (fromfpf): Define using
29740 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Include
29741 <libm-alias-float.h>.
29742 * sysdeps/ieee754/flt-32/s_fromfpxf.c (fromfpxf): Define using
29744 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Include
29745 <libm-alias-float.h>.
29746 (getpayloadf): Define using libm_alias_float.
29747 * sysdeps/ieee754/flt-32/s_llrintf.c: Include
29748 <libm-alias-float.h>.
29749 (llrintf): Define using libm_alias_float.
29750 * sysdeps/ieee754/flt-32/s_llroundf.c: Include
29751 <libm-alias-float.h>.
29752 (llroundf): Define using libm_alias_float.
29753 * sysdeps/ieee754/flt-32/s_logbf.c: Include <libm-alias-float.h>.
29754 (logbf): Define using libm_alias_float.
29755 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <libm-alias-float.h>.
29756 (lrintf): Define using libm_alias_float.
29757 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <libm-alias-float.h>.
29758 (lroundf): Define using libm_alias_float.
29759 * sysdeps/ieee754/flt-32/s_modff.c: Include <libm-alias-float.h>.
29760 (modff): Define using libm_alias_float.
29761 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Include
29762 <libm-alias-float.h>.
29763 (nearbyintf): Define using libm_alias_float.
29764 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include
29765 <libm-alias-float.h>.
29766 (nextafterf): Define using libm_alias_float.
29767 * sysdeps/ieee754/flt-32/s_nextupf.c: Include
29768 <libm-alias-float.h>.
29769 (nextupf): Define using libm_alias_float.
29770 * sysdeps/ieee754/flt-32/s_remquof.c: Include
29771 <libm-alias-float.h>.
29772 (remquof): Define using libm_alias_float.
29773 * sysdeps/ieee754/flt-32/s_rintf.c: Include <libm-alias-float.h>.
29774 (rintf): Define using libm_alias_float.
29775 * sysdeps/ieee754/flt-32/s_roundevenf.c: Include
29776 <libm-alias-float.h>.
29777 (roundevenf): Define using libm_alias_float.
29778 * sysdeps/ieee754/flt-32/s_roundf.c: Include <libm-alias-float.h>.
29779 (roundf): Define using libm_alias_float.
29780 * sysdeps/ieee754/flt-32/s_setpayloadf.c (setpayloadf): Define
29781 using libm_alias_float.
29782 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Include
29783 <libm-alias-float.h>.
29784 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (setpayloadsigf):
29785 Define using libm_alias_float.
29786 * sysdeps/ieee754/flt-32/s_sincosf.c: Include
29787 <libm-alias-float.h>.
29788 (sincosf): Define using libm_alias_float.
29789 * sysdeps/ieee754/flt-32/s_sinf.c: Include <libm-alias-float.h>.
29790 (sinf): Define using libm_alias_float.
29791 * sysdeps/ieee754/flt-32/s_tanf.c: Include <libm-alias-float.h>.
29792 (tanf): Define using libm_alias_float.
29793 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <libm-alias-float.h>.
29794 (tanhf): Define using libm_alias_float.
29795 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
29796 <libm-alias-float.h>.
29797 (totalorderf): Define using libm_alias_float.
29798 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
29799 <libm-alias-float.h>.
29800 (totalordermagf): Define using libm_alias_float.
29801 * sysdeps/ieee754/flt-32/s_truncf.c: Include <libm-alias-float.h>.
29802 (truncf): Define using libm_alias_float.
29803 * sysdeps/ieee754/flt-32/s_ufromfpf.c (ufromfpf): Define using
29805 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (ufromfpxf): Define using
29808 2017-09-22 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29811 math/math.h: Let fpclassify use the builtin in C++ mode, even
29812 when optimazing for size.
29814 2017-09-22 Joseph Myers <joseph@codesourcery.com>
29816 * csu/Makefile (generated): Do not add version-info.h.
29817 (before-compile): Likewise.
29818 (all-Banner-files): Remove variable.
29819 ($(objpfx)version-info.h): Remove rule.
29820 * csu/version.c (banner): Do not include "version-info.h".
29821 * libidn/Banner: Remove.
29822 * manual/contrib.texi (Simon Josefsson): New entry.
29824 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29826 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
29827 Remove conditionals on LDBL_MANT_DIG.
29828 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c
29829 (__ieee754_lgammal_r): Likewise.
29831 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29833 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Remove definitions of
29835 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Remove definitions of
29836 _Float128 and L(). Replace _Float128 with long double and L(x)
29837 with xL, throughout the file.
29838 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29839 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29840 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29841 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29843 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Include tables from
29846 sysdeps/ieee754/ldbl-128ibm.
29847 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Copy contents from the
29848 equivalent implementation in sysdeps/ieee754/ldbl-128/ instead
29849 of including it. Keep _Float128 and L() intact. These will be
29850 reviewed by a separate patch.
29851 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
29852 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
29853 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
29854 * sysdeps/ieee754/ldbl-128ibm/t_expl.h: Likewise.
29856 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c
29859 (__finitef128): Define to __redirect___finitef128.
29860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c
29861 (__isinff128): Define to __redirect___isinff128.
29862 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c
29863 (__isnanf128): Define to __redirect___isnanf128.
29865 2017-09-21 Gabriel F. T. Gomes <gabriel@inconstante.eti.br>
29867 * sysdeps/powerpc/powerpc64le/Makefile
29868 (CFLAGS-tst-strtod-nan-locale.c): New variable.
29869 (CFLAGS-tst-wcstod-nan-locale.c): New variable.
29871 2017-09-21 Paul Pluzhnikov <ppluzhnikov@google.com>
29872 Carlos O'Donell <carlos@redhat.com>
29875 * stdlib/Makefile (tests): Add test-dlclose-exit-race.
29876 * stdlib/test-dlclose-exit-race.c: New file.
29877 * stdlib/test-dlclose-exit-race-helper.c: New file.
29878 * stdlib/exit.c (__run_exit_handlers): Mark slot as free.
29880 2017-09-21 Joseph Myers <joseph@codesourcery.com>
29882 * crypt/Banner: Remove file.
29883 * nptl/Banner: Likewise.
29884 * resolv/Banner: Likewise.
29885 * soft-fp/Banner: Likewise.
29886 * nptl/Makefile ($(objpfx)banner.h): Remove rule.
29887 ($(objpfx)version.d): Remove dependency on banner.h.
29888 ($(objpfx)version.os): Likewise.
29889 * nptl/version.c (banner): Do not include banner.h.
29890 * manual/contrib.texi: Update entries for Richard Henderson, Jakub
29891 Jelinek and BIND code.
29893 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29894 Carlos O'Donell <carlos@redhat.com>
29896 * support/xdlfcn.h: New file.
29897 * support/xdlfcn.c: New file.
29898 * support/Makefile (libsupport-routines): Add xdlfcn.
29899 * stdlib/tst-tls-atexit.c: Use xdlopen, xdlsym, xdlclose.
29901 2017-09-20 Joseph Myers <joseph@codesourcery.com>
29904 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
29905 Add s_trunc-c, s_truncf-c, s_trunc-sse4_1 and s_truncf-sse4_1.
29906 * sysdeps/x86_64/fpu/multiarch/s_trunc-c.c: New file.
29907 * sysdeps/x86_64/fpu/multiarch/s_trunc-sse4_1.S: Likewise.
29908 * sysdeps/x86_64/fpu/multiarch/s_trunc.c: Likewise.
29909 * sysdeps/x86_64/fpu/multiarch/s_truncf-c.c: Likewise.
29910 * sysdeps/x86_64/fpu/multiarch/s_truncf-sse4_1.S: Likewise.
29911 * sysdeps/x86_64/fpu/multiarch/s_truncf.c: Likewise.
29913 2017-09-20 Paul Pluzhnikov <ppluzhnikov@google.com>
29914 Ricky Zhou <rickyz@google.com>
29915 Anoop V Chakkalakkal <anoop.vijayan@in.ibm.com>
29918 * stdlib/cxa_atexit.c (__internal_atexit): Use __exit_funcs_lock.
29920 (__new_exitfn): Fail registration when we finished at_exit processing.
29921 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
29922 * stdlib/on_exit.c (__on_exit): Likewise.
29923 * stdlib/exit.c (__exit_funcs_done): New variable.
29924 (__run_exit_handlers): Use __exit_funcs_lock.
29925 * stdlib/exit.h (__exit_funcs_lock, __exit_funcs_done): New
29927 * stdlib/Makefile (test-atexit-race, test-quick_at_exit-race)
29928 (test-cxa_atexit-race, test-on_exit-race): New tests.
29929 * stdlib/test-atexit-race-common.c: New file.
29930 * stdlib/test-atexit-race.c: New file.
29931 * stdlib/test-at_quick_exit-race.c: New file.
29932 * stdlib/test-cxa_atexit-race.c: New file.
29933 * stdlib/test-on_exit-race.c: New file.
29935 2017-09-20 Szabolcs Nagy <szabolcs.nagy@arm.com>
29937 * benchtests/Makefile: Add exp2f and log2f benchmarks.
29938 * benchtests/exp2f-inputs: Copy of expf-inputs.
29939 * benchtests/log2f-inputs: Copy of logf-inputs.
29941 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29943 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]:
29944 Explicitly take address of first element of array arguments in
29945 call to INLINE_SYSCALL.
29947 2017-09-19 Andreas Schwab <schwab@suse.de>
29950 * sysdeps/unix/sysv/linux/fexecve.c (fexecve) [__NR_execveat]: Try
29952 [!__ASSUME_EXECVEAT]: Fall back to /proc if execveat is
29954 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EXECVEAT)
29955 [__LINUX_KERNEL_VERSION >= 0x031300]: Define.
29956 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
29957 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040200]: Undef.
29958 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29959 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29960 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
29961 (__ASSUME_EXECVEAT) [__LINUX_KERNEL_VERSION < 0x040000]: Undef.
29962 * posix/Makefile (tests): Add tst-fexecve.
29963 * posix/tst-fexecve.c: New file.
29965 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29967 * benchtests/Makefile: Add logf benchmark.
29968 * benchtests/logf-inputs: Add reduced trace from wrf_r.
29970 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29972 * benchtests/Makefile: Add expf benchmark.
29973 * benchtests/expf-inputs: Add reduced trace from wrf_r.
29975 2017-09-19 Wilco Dijkstra <wdijkstr@arm.com>
29977 * csu/Makefile: Add -funwind-tables to libc-start.c.
29978 * debug/Makefile: Add -funwind-tables to backtrace.c.
29979 * sysdeps/aarch64/Makefile: Remove CFLAGS-backtrace.c.
29980 * sysdeps/arm/Makefile: Likewise.
29981 * sysdeps/i386/Makefile: Likewise.
29982 * sysdeps/m68k/Makefile: Likewise.
29983 * sysdeps/mips/Makefile: Likewise.
29984 * sysdeps/nios2/Makefile: Likewise.
29985 * sysdeps/sh/Makefile: Likewise.
29986 * sysdeps/sparc/Makefile: Likewise.
29988 2017-09-19 Joseph Myers <joseph@codesourcery.com>
29990 * benchtests/Makefile (bench-math): Add trunc and truncf.
29991 (CFLAGS-bench-trunc.c): New variable.
29992 (CFLAGS-bench-truncf.c): Likewise.
29993 * benchtests/trunc-inputs: New file.
29994 * benchtests/truncf-inputs: Likewise.
29996 2017-09-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29998 * sysdeps/powerpc/powerpc64/power8/memset.S: Avoid misaligned stores.
30000 2017-09-18 Joseph Myers <joseph@codesourcery.com>
30002 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT &&
30003 !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)] (weak_alias): Undefine and
30005 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_1)]
30006 (exp10l): Define as weak alias.
30007 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c [LIBM_SVID_COMPAT
30008 && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)] (weak_alias): Undefine
30010 [LIBM_SVID_COMPAT && !LONG_DOUBLE_COMPAT (libm, GLIBC_2_0)]
30011 (remainderl): Define as weak alias.
30013 * math/s_fmal.c: Include <libm-alias-ldouble.h>.
30014 (fmal): Define using libm_alias_ldouble.
30015 * math/w_acoshl_compat.c: Include <libm-alias-ldouble.h>.
30016 (acoshl): Define using libm_alias_ldouble.
30017 * math/w_acosl_compat.c: Include <libm-alias-ldouble.h>.
30018 (acosl): Define using libm_alias_ldouble.
30019 * math/w_asinl_compat.c: Include <libm-alias-ldouble.h>.
30020 (asinl): Define using libm_alias_ldouble.
30021 * math/w_atan2l_compat.c: Include <libm-alias-ldouble.h>.
30022 (atan2l): Define using libm_alias_ldouble.
30023 * math/w_atanhl_compat.c: Include <libm-alias-ldouble.h>.
30024 (atanhl): Define using libm_alias_ldouble.
30025 * math/w_coshl_compat.c: Include <libm-alias-ldouble.h>.
30026 (coshl): Define using libm_alias_ldouble.
30027 * math/w_exp10l_compat.c: Include <libm-alias-ldouble.h>.
30028 (exp10l): Define using libm_alias_ldouble.
30029 * math/w_exp2l_compat.c: Include <libm-alias-ldouble.h>.
30030 (exp2l): Define using libm_alias_ldouble.
30031 * math/w_expl_compat.c: Include <libm-alias-ldouble.h>.
30032 (expl): Define using libm_alias_ldouble.
30033 * math/w_fmodl_compat.c: Include <libm-alias-ldouble.h>.
30034 (fmodl): Define using libm_alias_ldouble.
30035 * math/w_hypotl_compat.c: Include <libm-alias-ldouble.h>.
30036 (hypotl): Define using libm_alias_ldouble.
30037 * math/w_j0l_compat.c: Include <libm-alias-ldouble.h>.
30038 (j0l): Define using libm_alias_ldouble.
30040 * math/w_j1l_compat.c: Include <libm-alias-ldouble.h>.
30041 (j1l): Define using libm_alias_ldouble.
30043 * math/w_jnl_compat.c: Include <libm-alias-ldouble.h>.
30044 (jnl): Define using libm_alias_ldouble.
30046 * math/w_log10l_compat.c: Include <libm-alias-ldouble.h>.
30047 (log10l): Define using libm_alias_ldouble.
30048 * math/w_log2l_compat.c: Include <libm-alias-ldouble.h>.
30049 (log2l): Define using libm_alias_ldouble.
30050 * math/w_logl_compat.c: Include <libm-alias-ldouble.h>.
30051 (logl): Define using libm_alias_ldouble.
30052 * math/w_powl_compat.c: Include <libm-alias-ldouble.h>.
30053 (powl): Define using libm_alias_ldouble.
30054 * math/w_remainderl_compat.c: Include <libm-alias-ldouble.h>.
30055 (remainderl): Define using libm_alias_ldouble.
30056 * math/w_sinhl_compat.c: Include <libm-alias-ldouble.h>.
30057 (sinhl): Define using libm_alias_ldouble.
30058 * math/w_sqrtl_compat.c: Include <libm-alias-ldouble.h>.
30059 (sqrtl): Define using libm_alias_ldouble.
30060 * math/w_tgammal_compat.c: Include <libm-alias-ldouble.h>.
30061 (tgammal): Define using libm_alias_ldouble.
30062 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c [LIBM_SVID_COMPAT]
30063 (exp10l): Do not use long_double_symbol here.
30064 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c
30065 [LIBM_SVID_COMPAT] (remainderl): Likewise.
30066 * sysdeps/ieee754/ldbl-opt/s_fmal.c: Remove.
30067 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
30068 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
30069 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
30070 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
30071 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
30072 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
30073 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30074 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
30075 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
30076 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
30077 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
30078 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
30079 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
30080 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
30081 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
30082 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
30083 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
30084 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
30085 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
30087 2017-09-18 Wang Boshi <wangboshi@huawei.com> (tiny change)
30089 * sysdeps/aarch64/start.S: Use MOVL instead of literal pools.
30090 * sysdeps/aarch64/sysdep.h (MOVL): Add MOVL macro.
30092 2017-09-17 Samuel Thibault <samuel.thibault@ens-lyon.org>
30094 * io/read.c (read): Add libc_hidden_weak.
30095 * sysdeps/mach/hurd/read.c (read): Likewise.
30096 * io/write.c (write): Likewise.
30097 * sysdeps/mach/hurd/write.c (write): Likewise.
30098 * io/pread64.c (__pread64): Likewise.
30099 * sysdeps/mach/hurd/pread64.c (__pread64): Likewise.
30100 * posix/pread64.c (__pread64): Add libc_hidden_def.
30102 2017-09-16 Siddhesh Poyarekar <siddhesh@sourceware.org>
30104 * benchtests/scripts/compare_strings.py: New option -g.
30105 (draw_graph): Print a message that a graph is being generated.
30106 (process_results): Generate graph only if -g is passed.
30107 (main): Process option -g.
30109 * benchtests/scripts/compare_strings.py (process_results):
30110 Better spacing for output.
30112 * benchtests/scripts/compare_strings.py: Use argparse.
30113 * benchtests/README: Document existence of compare_strings.py.
30115 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30117 * math/s_fma.c: Include <libm-alias-double.h>.
30118 (fma): Define using libm_alias_double.
30119 * math/s_nextafter.c: Include <libm-alias-double.h>.
30120 (nextafter): Define using libm_alias_double.
30121 * math/w_acos_compat.c: Include <libm-alias-double.h>.
30122 (acos): Define using libm_alias_double.
30123 * math/w_acosh_compat.c: Include <libm-alias-double.h>.
30124 (aocsh): Define using libm_alias_double.
30125 * math/w_asin_compat.c: Include <libm-alias-double.h>.
30126 (asin): Define using libm_alias_double.
30127 * math/w_atan2_compat.c: Include <libm-alias-double.h>.
30128 (atan2): Define using libm_alias_double.
30129 * math/w_atanh_compat.c: Include <libm-alias-double.h>.
30130 (atanh): Define using libm_alias_double.
30131 * math/w_cosh_compat.c: Include <libm-alias-double.h>.
30132 (cosh): Define using libm_alias_double.
30133 * math/w_exp10_compat.c: Include <libm-alias-double.h>.
30134 (exp10): Define using libm_alias_double.
30135 * math/w_exp2_compat.c: Include <libm-alias-double.h>.
30136 (exp2): Define using libm_alias_double.
30137 * math/w_exp_compat.c: Include <libm-alias-double.h>.
30138 (exp): Define using libm_alias_double.
30139 * math/w_fmod_compat.c: Include <libm-alias-double.h>.
30140 (fmod): Define using libm_alias_double.
30141 * math/w_hypot_compat.c: Include <libm-alias-double.h>.
30142 (hypot): Define using libm_alias_double.
30143 * math/w_j0_compat.c: Include <libm-alias-double.h>.
30144 (j0): Define using libm_alias_double.
30146 * math/w_j1_compat.c: Include <libm-alias-double.h>.
30147 (j1): Define using libm_alias_double.
30149 * math/w_jn_compat.c: Include <libm-alias-double.h>.
30150 (jn): Define using libm_alias_double.
30152 * math/w_log10_compat.c: Include <libm-alias-double.h>.
30153 (log10): Define using libm_alias_double.
30154 * math/w_log2_compat.c: Include <libm-alias-double.h>.
30155 (log2): Define using libm_alias_double.
30156 * math/w_log_compat.c: Include <libm-alias-double.h>.
30157 (log): Define using libm_alias_double.
30158 * math/w_pow_compat.c: Include <libm-alias-double.h>.
30159 (pow): Define using libm_alias_double.
30160 * math/w_remainder_compat.c: Include <libm-alias-double.h>.
30161 (remainder): Define using libm_alias_double.
30162 * math/w_sinh_compat.c: Include <libm-alias-double.h>.
30163 (sinh): Define using libm_alias_double.
30164 * math/w_sqrt_compat.c: Include <libm-alias-double.h>.
30165 (sqrt): Define using libm_alias_double.
30166 * math/w_tgamma_compat.c: Include <libm-alias-double.h>.
30167 (tgamma): Define using libm_alias_double.
30168 * sysdeps/ieee754/ldbl-opt/s_nextafter.c [LONG_DOUBLE_COMPAT(libm,
30169 GLIBC_2_0)] (nextafterl): Do not define compat symbol here.
30170 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c
30171 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_1)] (exp10l): Likewise.
30172 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c
30173 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (remainderl): Likewise.
30174 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Remove.
30175 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
30176 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
30177 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
30178 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
30179 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
30180 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
30181 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
30182 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
30183 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
30184 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
30185 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
30186 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
30187 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
30188 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
30189 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
30190 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
30191 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
30192 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
30194 * math/e_acoshl.c: Remove.
30195 * math/e_acosl.c: Likewise.
30196 * math/e_asinl.c: Likewise.
30197 * math/e_atan2l.c: Likewise.
30198 * math/e_atanhl.c: Likewise.
30199 * math/e_coshl.c: Likewise.
30200 * math/e_expl.c: Likewise.
30201 * math/e_fmodl.c: Likewise.
30202 * math/e_gammal_r.c: Likewise.
30203 * math/e_hypotl.c: Likewise.
30204 * math/e_j0l.c: Likewise.
30205 * math/e_j1l.c: Likewise.
30206 * math/e_jnl.c: Likewise.
30207 * math/e_lgammal_r.c: Likewise.
30208 * math/e_log10l.c: Likewise.
30209 * math/e_log2l.c: Likewise.
30210 * math/e_logl.c: Likewise.
30211 * math/e_powl.c: Likewise.
30212 * math/e_rem_pio2l.c: Likewise.
30213 * math/e_sinhl.c: Likewise.
30214 * math/e_sqrtf128.c: Likewise.
30215 * math/e_sqrtl.c: Likewise.
30216 * math/k_cosl.c: Likewise.
30217 * math/k_sinl.c: Likewise.
30218 * math/k_tanl.c: Likewise.
30219 * math/s_asinhl.c: Likewise.
30220 * math/s_atanl.c: Likewise.
30221 * math/s_cbrtl.c: Likewise.
30222 * math/s_erfl.c: Likewise.
30223 * math/s_expm1l.c: Likewise.
30224 * math/s_log1pl.c: Likewise.
30225 * math/s_tanhl.c: Likewise.
30227 2017-09-15 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
30230 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile:
30231 [$(subdir) = math] (sysdep_calls): New variable. Has the
30232 previous contents of sysdep_routines, but re-sorted..
30233 [$(subdir) = math] (sysdep_routines): Re-use the contents from
30235 [$(subdir) = math] (libm-sysdep_routines): Remove the functions
30236 defined in sysdep_calls and replace by the respective m_* names.
30237 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S:
30238 (compat_symbol): Undefine to avoid duplicated compat symbols in
30241 2017-09-15 Joseph Myers <joseph@codesourcery.com>
30243 * math/s_fmaf.c: Include <libm-alias-float.h>.
30244 (fmaf): Define using libm_alias_float.
30245 * math/w_acosf_compat.c: Include <libm-alias-float.h>.
30246 (acosf): Define using libm_alias_float.
30247 * math/w_acoshf_compat.c: Include <libm-alias-float.h>.
30248 (acoshf): Define using libm_alias_float.
30249 * math/w_asinf_compat.c: Include <libm-alias-float.h>.
30250 (asinf): Define using libm_alias_float.
30251 * math/w_atan2f_compat.c: Include <libm-alias-float.h>.
30252 (atan2f): Define using libm_alias_float.
30253 * math/w_atanhf_compat.c: Include <libm-alias-float.h>.
30254 (atanhf): Define using libm_alias_float.
30255 * math/w_coshf_compat.c: Include <libm-alias-float.h>.
30256 (coshf): Define using libm_alias_float.
30257 * math/w_exp10f_compat.c: Include <libm-alias-float.h>.
30258 (exp10f): Define using libm_alias_float.
30259 * math/w_fmodf_compat.c: Include <libm-alias-float.h>.
30260 (fmodf): Define using libm_alias_float.
30261 * math/w_hypotf_compat.c: Include <libm-alias-float.h>.
30262 (hypotf): Define using libm_alias_float.
30263 * math/w_j0f_compat.c: Include <libm-alias-float.h>.
30264 (j0f): Define using libm_alias_float.
30266 * math/w_j1f_compat.c: Include <libm-alias-float.h>.
30267 (j1f): Define using libm_alias_float.
30269 * math/w_jnf_compat.c: Include <libm-alias-float.h>.
30270 (jnf): Define using libm_alias_float.
30272 * math/w_log10f_compat.c: Include <libm-alias-float.h>.
30273 (log10f): Define using libm_alias_float.
30274 * math/w_log2f_compat.c: Include <libm-alias-float.h>.
30275 (log2f): Define using libm_alias_float.
30276 * math/w_logf_compat.c: Include <libm-alias-float.h>.
30277 (logf): Define using libm_alias_float.
30278 * math/w_powf_compat.c: Include <libm-alias-float.h>.
30279 (powf): Define using libm_alias_float.
30280 * math/w_remainderf_compat.c: Include <libm-alias-float.h>.
30281 (remainderf): Define using libm_alias_float.
30282 * math/w_sinhf_compat.c: Include <libm-alias-float.h>.
30283 (sinhf): Define using libm_alias_float.
30284 * math/w_sqrtf_compat.c: Include <libm-alias-float.h>.
30285 (sqrtf): Define using libm_alias_float.
30286 * math/w_tgammaf_compat.c: Include <libm-alias-float.h>.
30287 (tgammaf): Define using libm_alias_float.
30289 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30291 * include/math.h (roundeven): Change hidden_proto call to
30293 * math/w_j0_compat.c (j0): Rename to __j0 and define as weak
30295 [NO_LONG_DOUBLE] (__j0l): New strong alias.
30296 (y0): Rename to __y0 and define as weak alias.
30297 [NO_LONG_DOUBLE] (__y0l): New strong alias.
30298 * math/w_j0f_compat.c (j0f): Rename to __j0f and define as weak
30300 (y0f): Rename to __y0f and define as weak alias.
30301 * math/w_j1_compat.c (j1): Rename to __j1 and define as weak
30303 [NO_LONG_DOUBLE] (__j1l): New strong alias.
30304 (y1): Rename to __y1 and define as weak alias.
30305 [NO_LONG_DOUBLE] (__y1l): New strong alias.
30306 * math/w_j1f_compat.c (j1f): Rename to __j1f and define as weak
30308 (y1f): Rename to __y1f and define as weak alias.
30309 * math/w_jn_compat.c (jn): Rename to __jn and define as weak
30311 [NO_LONG_DOUBLE] (__jnl): New strong alias.
30312 (yn): Rename to __yn and define as weak alias.
30313 [NO_LONG_DOUBLE] (__ynl): New strong alias.
30314 * math/w_jnf_compat.c (jnf): Rename to __jnf and define as weak
30316 (ynf): Rename to __ynf and define as weak alias.
30317 * sysdeps/ieee754/dbl-64/s_fromfp.c (FUNC): Define to __fromfp.
30318 (fromfp): Define as weak alias.
30319 [NO_LONG_DOUBLE] (__fromfpl): New strong alias.
30320 * sysdeps/ieee754/dbl-64/s_fromfpx.c (FUNC): Define to __fromfpx.
30321 (fromfpx): Define as weak alias.
30322 [NO_LONG_DOUBLE] (__fromfpxl): New strong alias.
30323 * sysdeps/ieee754/dbl-64/s_getpayload.c (getpayload): Rename to
30324 __getpayload and define as weak alias.
30325 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30326 * sysdeps/ieee754/dbl-64/s_roundeven.c (roundeven): Rename to
30327 __roundeven and define as weak alias.
30328 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30329 * sysdeps/ieee754/dbl-64/s_setpayload.c (FUNC): Define to
30331 (setpayload): Define as weak alias.
30332 [NO_LONG_DOUBLE] (__setpayloadl): New strong alias.
30333 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c (FUNC): Define to
30335 (setpayloadsig): Define as weak alias.
30336 [NO_LONG_DOUBLE] (__setpayloadsigl): New strong alias.
30337 * sysdeps/ieee754/dbl-64/s_totalorder.c (totalorder): Rename to
30338 __totalorder and define as weak alias.
30339 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30340 * sysdeps/ieee754/dbl-64/s_totalordermag.c (totalordermag): Rename
30341 to __totalordermag and define as weak alias.
30342 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30343 * sysdeps/ieee754/dbl-64/s_ufromfp.c (FUNC): Define to __ufromfp.
30344 (ufromfp): Define as weak alias.
30345 [NO_LONG_DOUBLE] (__ufromfpl): New strong alias.
30346 * sysdeps/ieee754/dbl-64/s_ufromfpx.c (FUNC): Define to
30348 (ufromfpx): Define as weak alias.
30349 [NO_LONG_DOUBLE] (__ufromfpxl): New strong alias.
30350 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c (getpayload):
30351 Rename to __getpayload and define as weak alias.
30352 [NO_LONG_DOUBLE] (__getpayloadl): New strong alias.
30353 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c (roundeven):
30354 Rename to __roundeven and define as weak alias.
30355 [NO_LONG_DOUBLE] (__roundevenl): New strong alias.
30356 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c (totalorder):
30357 Rename to __totalorder and define as weak alias.
30358 [NO_LONG_DOUBLE] (__totalorderl): New strong alias.
30359 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c
30360 (totalordermag): Rename to __totalordermag and define as weak
30362 [NO_LONG_DOUBLE] (__totalordermagl): New strong alias.
30363 * sysdeps/ieee754/float128/float128_private.h (__getpayloadl): New
30365 (__roundevenl): Likewise.
30366 (__totalorderl): Likewise.
30367 (__totalordermagl): Likewise
30368 * sysdeps/ieee754/float128/s_fromfpf128.c (FUNC): Define to
30370 (fromfpf128): Define as weak alias.
30371 * sysdeps/ieee754/float128/s_fromfpxf128.c (FUNC): Define to
30373 (fromfpxf128): Define as weak alias.
30374 * sysdeps/ieee754/float128/s_setpayloadf128.c (FUNC): Define to
30376 (setpayloadf128): Define as weak alias.
30377 * sysdeps/ieee754/float128/s_setpayloadsigf128.c (FUNC): Define to
30378 __setpayloadsigf128.
30379 (setpayloadsigf128): Define as weak alias.
30380 * sysdeps/ieee754/float128/s_ufromfpf128.c (FUNC): Define to
30382 (ufromfpf128): Define as weak alias.
30383 * sysdeps/ieee754/float128/s_ufromfpxf128.c (FUNC): Define to
30385 (ufromfpxf128): Define as weak alias.
30386 * sysdeps/ieee754/flt-32/s_fromfpf.c (FUNC): Define to __fromfpf.
30387 (fromfpf): Define as weak alias.
30388 * sysdeps/ieee754/flt-32/s_fromfpxf.c (FUNC): Define to
30390 (fromfpxf): Define as weak alias.
30391 * sysdeps/ieee754/flt-32/s_getpayloadf.c (getpayloadf): Rename to
30392 __getpayloadf and define as weak alias.
30393 * sysdeps/ieee754/flt-32/s_roundevenf.c (roundevenf): Rename to
30394 __roundevenf and define as weak alias.
30395 * sysdeps/ieee754/flt-32/s_setpayloadf.c (FUNC): Define to
30397 (setpayloadf): Define as weak alias.
30398 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c (FUNC): Define to
30400 (setpayloadsigf): Define as weak alias.
30401 * sysdeps/ieee754/flt-32/s_totalorderf.c (totalorderf): Rename to
30402 __totalorderf and define as weak alias.
30403 * sysdeps/ieee754/flt-32/s_totalordermagf.c (totalordermagf):
30404 Rename to __totalordermagf and define as weak alias.
30405 * sysdeps/ieee754/flt-32/s_ufromfpf.c (FUNC): Define to
30407 (ufromfpf): Define as weak alias.
30408 * sysdeps/ieee754/flt-32/s_ufromfpxf.c (FUNC): Define to
30410 (ufromfpxf): Define as weak alias.
30411 * sysdeps/ieee754/ldbl-128/s_fromfpl.c (FUNC): Define to
30413 (fromfpl): Define as weak alias.
30414 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c (FUNC): Define to
30416 (fromfpxl): Define as weak alias.
30417 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Rename
30418 to __getpayloadl and define as weak alias.
30419 * sysdeps/ieee754/ldbl-128/s_roundevenl.c (roundevenl): Rename to
30420 __roundevenl and define as weak alias.
30421 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c (FUNC): Define to
30423 (setpayloadl): Define as weak alias.
30424 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c (FUNC): Define to
30426 (setpayloadsigl): Define as weak alias.
30427 * sysdeps/ieee754/ldbl-128/s_totalorderl.c (totalorderl): Rename
30428 to __totalorderl and define as weak alias.
30429 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c (totalordermagl):
30430 Rename to __totalordermagl and define as weak alias.
30431 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c (FUNC): Define to
30433 (ufromfpl): Define as weak alias.
30434 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c (FUNC): Define to
30436 (ufromfpxl): Define as weak alias.
30437 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c (FUNC): Define to
30439 (fromfpl): Define as weak alias.
30440 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c (FUNC): Define to
30442 (fromfpxl): Define as weak alias.
30443 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c (getpayloadl):
30444 Rename to __getpayloadl and define as weak alias.
30445 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c (roundevenl): Rename
30446 to __roundevenl and define as weak alias. Call __roundeven
30447 instead of roundeven.
30448 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c (FUNC): Define to
30450 (setpayloadl): Define as weak alias.
30451 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c (FUNC): Define to
30453 (setpayloadsigl): Define as weak alias.
30454 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c (totalorderl):
30455 Rename to __totalorderl and define as weak alias.
30456 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c (totalordermagl):
30457 Rename to __totalordermagl and define as weak alias.
30458 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c (FUNC): Define to
30460 (ufromfpl): Define as weak alias.
30461 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c (FUNC): Define to
30463 (ufromfpxl): Define as weak alias.
30464 * sysdeps/ieee754/ldbl-96/s_fromfpl.c (FUNC): Define to
30466 (fromfpl): Define as weak alias.
30467 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c (FUNC): Define to
30469 (fromfpxl): Define as weak alias.
30470 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c (getpayloadl): Rename to
30471 __getpayloadl and define as weak alias.
30472 * sysdeps/ieee754/ldbl-96/s_roundevenl.c (roundevenl): Rename to
30473 __roundevenl and define as weak alias.
30474 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c (FUNC): Define to
30476 (setpayloadl): Define as weak alias.
30477 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c (FUNC): Define to
30479 (setpayloadsigl): Define as weak alias.
30480 * sysdeps/ieee754/ldbl-96/s_totalorderl.c (totalorderl): Rename to
30481 __totalorderl and define as weak alias.
30482 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c (totalordermagl):
30483 Rename to __totalordermagl and define as weak alias.
30484 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c (FUNC): Define to
30486 (ufromfpl): Define as weak alias.
30487 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c (FUNC): Define to
30489 (ufromfpxl): Define as weak alias.
30491 2017-09-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
30493 * benchtests/bench-string.h (realloc_bufs): New function.
30494 (test_init): Call it.
30495 * benchtests/bench-memset-large.c (do_test): Likewise.
30496 * benchtests/bench-memset.c (do_test): Likewise.
30498 * benchtests/bench-memset-large.c: Print output in JSON
30500 * benchtests/bench-memset.c: Likewise.
30502 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30505 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Add IBM858 and ibm858.c.
30506 * iconvdata/Makefile: Add IBM858.
30507 * iconvdata/gconv-modules: Likewise.
30508 * iconvdata/tst-tables.sh: Likewise.
30509 * iconvdata/ibm858.c: New file.
30510 * localedata/charmaps/IBM858: Likewise.
30512 2017-09-14 Akhilesh Kumar <akhilesh.k@samsung.com>
30515 * locales/niu_NZ (LC_TIME): copy "niu_NU".
30516 * locales/niu_NZ (LC_MESSAGES): copy "niu_NU".
30518 2017-09-14 Mike FABIAN <mfabian@redhat.com>
30521 * localedata/locales/az_AZ(LC_TELEPHONE): Fix int_select
30522 and add tel_int_fmt.
30524 2017-09-14 Joseph Myers <joseph@codesourcery.com>
30526 * sysdeps/generic/libm-alias-float128.h: New file.
30527 * sysdeps/generic/math-type-macros-float128.h: Include
30528 <libm-alias-float128.h>.
30529 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30531 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30533 * sysdeps/generic/libm-alias-ldouble.h: New file.
30534 * sysdeps/ieee754/ldbl-opt/libm-alias-ldouble.h: Likewise.
30535 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Remove.
30536 * sysdeps/generic/math-type-macros-ldouble.h: Include
30537 <libm-alias-ldouble.h>.
30538 [!declare_mgen_alias] (declare_mgen_alias): Define to use
30539 libm_alias_ldouble.
30541 2017-09-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
30543 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Move to...
30544 * math/w_exp_compat.c: ... here.
30545 * sysdeps/ieee754/flt-32/w_expf_compat.c: Move to...
30546 * math/w_expf_compat.c: ... here.
30547 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Move to...
30548 * math/w_expl_compat.c: ... here.
30549 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Remove.
30550 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Remove.
30551 * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Use the new path.
30552 * sysdeps/ieee754/ldbl-opt/w_expl_compat.c: Likewise.
30554 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30556 * math/w_scalbln_template.c (strong_alias): Do not undefine and
30558 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (declare_mgen_alias): Remove
30560 (ldexpl): Only define as compat symbol for libc, not libm.
30561 (scalbnl): Define as compat symbol for libc here.
30562 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (declare_mgen_alias): Only
30563 define for [IS_IN (libc)].
30564 (__ldexpl_2): Remove alias.
30565 (ldexpl): Only define with long_double_symbol if [IS_IN (libc)].
30566 (scalbnl): Likewise. Use __wrap_scalbnl not __ldexpl_2 as base
30567 name in long_double_symbol call.
30568 * sysdeps/ieee754/ldbl-opt/s_log1p.c: Remove file.
30569 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
30570 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
30571 * sysdeps/ieee754/ldbl-opt/w_log1p.c: Likewise.
30572 * sysdeps/ieee754/ldbl-opt/w_scalbln.c (declare_mgen_alias):
30574 [IS_IN (libc) && LONG_DOUBLE_COMPAT (libc, GLIBC_2_1)] (scalblnl):
30575 Define as compat symbol.
30577 2017-09-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30579 * sysdeps/unix/sysv/linux/s390/s390-32/oldglob.c: New file.
30580 * sysdeps/unix/sysv/linux/alpha/Makefile
30581 [$(subdir) = csu] (sysdep_routines): Remove rule.
30583 2017-09-13 Joseph Myers <joseph@codesourcery.com>
30585 * sysdeps/generic/libm-alias-double.h: New file.
30586 * sysdeps/ieee754/ldbl-opt/libm-alias-double.h: Likewise.
30587 * sysdeps/generic/math-type-macros-double.h: Include
30588 <libm-alias-double.h>.
30589 [declare_mgen_alias] (declare_mgen_alias): Define to use
30591 * sysdeps/generic/math-type-macros.h [!M_LIBM_NEED_COMPAT]
30592 (M_LIBM_NEED_COMPAT): Remove macro.
30593 [!M_LIBM_NEED_COMPAT] (declare_mgen_libm_compat): Likewise.
30594 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Remove.
30595 * math/cabs_template.c [M_LIBM_NEED_COMPAT]: Remove conditional
30597 * math/carg_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30598 * math/cimag_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30599 * math/conj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30600 * math/creal_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30601 * math/s_cacos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30602 * math/s_cacosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30603 * math/s_casin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30604 * math/s_casinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30605 * math/s_catan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30606 * math/s_catanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30607 * math/s_ccos_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30608 * math/s_ccosh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30609 * math/s_cexp_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30610 * math/s_clog10_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30611 * math/s_clog_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30612 * math/s_cpow_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30613 * math/s_cproj_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30614 * math/s_csin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30615 * math/s_csinh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30616 * math/s_csqrt_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30617 * math/s_ctan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30618 * math/s_ctanh_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30619 * math/s_fdim_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30620 * math/s_fmax_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30621 * math/s_fmin_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30622 * math/s_nan_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30623 * math/w_ilogb_template.c [M_LIBM_NEED_COMPAT]: Likewise.
30624 * sysdeps/ieee754/ldbl-opt/s_clog10.c: New file.
30625 * sysdeps/ieee754/ldbl-opt/s_ldexp.c (M_LIBM_NEED_COMPAT): Remove
30627 (declare_mgen_alias): New macro.
30628 * sysdeps/ieee754/ldbl-opt/w_log1p.c: New file.
30629 * sysdeps/ieee754/ldbl-opt/w_scalbln.c: Likewise.
30630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c
30631 (M_LIBM_NEED_COMPAT): Remove macro.
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c
30633 [HAVE_AS_VIS3_SUPPORT]: Include <math_ldbl_opt.h> and
30634 <first-versions.h>.
30635 [HAVE_AS_VIS3_SUPPORT && LONG_DOUBLE_COMPAT (libm,
30636 FIRST_VERSION_libm_fdiml)]: Define fdiml as compat symbol.
30638 2017-09-12 Joseph Myers <joseph@codesourcery.com>
30640 * sysdeps/generic/math-type-macros.h [!declare_mgen_alias_2]
30641 (declare_mgen_alias_2): Remove.
30642 * sysdeps/generic/math-type-macros-double.h
30643 [NO_LONG_DOUBLE && !declare_mgen_alias_2] (declare_mgen_alias_2):
30645 * math/s_ldexp_template.c (M_SUF (__wrap_scalbn)): Define strong
30647 (ldexp): Define with declare_mgen_alias.
30648 (scalbn): Likewise.
30650 2017-09-12 Steve Ellcey <sellcey@cavium.com>
30652 * grp/initgroups.c: Include config.h.
30653 (DEFAULT_CONFIG): New macro.
30654 (internal_getgrouplist): Use DEFAULT_CONFIG.
30655 * nscd/initgrcache.c (addinitgroupsX): Likewise.
30656 * nss/nsswitch.c (__nss_disable_nscd): Likewise.
30657 (DEFAULT_DEFCONFIG): New macro.
30658 (__nss_database_lookup): Use DEFAULT_DEFCONFIG.
30659 * nss/grp-lookup.c: Include config.h
30660 (DEFAULT_CONFIG): Set definition based on LINK_OBSOLETE_NSL.
30661 * nss/pwd-lookup.c (DEFAULT_CONFIG): Likewise.
30662 * nss/spwd-lookup.c (DEFAULT_CONFIG): Likewise.
30663 * manual/nss.texi: Update default values section.
30665 2017-09-12 H.J. Lu <hongjiu.lu@intel.com>
30668 * sysdeps/x86/cpu-features.h (bit_arch_MathVec_Prefer_No_AVX512):
30670 (index_arch_MathVec_Prefer_No_AVX512): Likewise.
30671 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
30672 Handle MathVec_Prefer_No_AVX512.
30673 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h
30674 (IFUNC_SELECTOR): Return AVX2 version if MathVec_Prefer_No_AVX512
30677 2017-09-12 Samuel Thibault <samuel.thibault@ens-lyon.org>
30679 * posix/sched_primax.c (__sched_get_priority_max): Add
30681 * posix/sched_primin.c (__sched_get_priority_min): Likewise.
30682 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
30683 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
30684 * sysdeps/mach/hurd/mprotect.c (__mprotect): Likewise.
30685 * sysdeps/mach/hurd/munmap.c (__munmap): Likewise.
30686 * sysdeps/mach/hurd/dl-sysdep.c (__GI___getpid,
30687 __GI___strtoul_internal, __GI_____strtoul_internal, __GI___chk_fail,
30688 __GI___fortify_fail, __GI___assert_fail, __GI___assert_perror_fail):
30691 2017-09-11 Joseph Myers <joseph@codesourcery.com>
30693 * sysdeps/generic/libm-alias-float.h: New file.
30694 * sysdeps/generic/math-type-macros-float.h: Include
30695 <libm-alias-float.h>.
30696 [!declare_mgen_alias] (declare_mgen_alias): Define macro.
30698 2017-09-11 H.J. Lu <hongjiu.lu@intel.com>
30701 * sysdeps/x86/cpu-features.c (init_cpu_features): Initialize
30702 GLRO(dl_hwcap) to HWCAP_X86_64 for x86-64.
30703 * sysdeps/x86/dl-hwcap.h (HWCAP_COUNT): Updated.
30704 (HWCAP_IMPORTANT): Likewise.
30705 (HWCAP_X86_64): New enum.
30706 (HWCAP_X86_AVX512_1): Updated.
30707 * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): Add "x86_64".
30708 * sysdeps/x86_64/Makefile (tests): Add tst-x86_64-1.
30709 (modules-names): Add x86_64/tst-x86_64mod-1.
30710 (LDFLAGS-tst-x86_64mod-1.so): New.
30711 ($(objpfx)tst-x86_64-1): Likewise.
30712 ($(objpfx)x86_64/tst-x86_64mod-1.os): Likewise.
30713 (tst-x86_64-1-clean): Likewise.
30714 * sysdeps/x86_64/tst-x86_64-1.c: New file.
30715 * sysdeps/x86_64/tst-x86_64mod-1.c: Likewise.
30717 2017-09-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
30719 * po/sv.po: Update translations.
30720 * po/fr.po: Likewise.
30722 2017-09-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
30724 * sunrpc/tst-udp-timeout.c (test_udp_server): Increase timeout to 2.5
30726 * sunrpc/tst-udp-nonblocking.c (do_test): Increase timeout to 0.75
30728 * elf/rtld-Rules: Fix $(error) use.
30730 2017-09-09 Mike FABIAN <mfabian@redhat.com>
30733 * libio/tst-widetext.input: Change “Bengali” to “Bangla”.
30734 * locale/iso-639.def: Change “Bengali” to “Bangla”.
30735 * localedata/locales/bn_BD: “Bengali” was still used in some
30736 comments. Change it to “Bangla”.
30738 2017-09-08 Markus Trippelsdorf <markus@trippelsdorf.de>
30740 * sysdeps/x86_64/fpu/libm-test-ulps: Update for AMD Ryzen.
30742 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30744 * manual/tunables.texi (glibc.tune.cpu): Add thunderx2t99 and
30745 thunderx2t99p1 to list of cpu names.
30746 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
30747 Add thunderx2t99 and thunderx2t99p1 entries to cpu_list.
30749 2017-09-08 Steve Ellcey <sellcey@cavium.com>
30751 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (get_midr_from_mcpu):
30752 Use strcmp instead of tunable_is_name.
30754 2017-09-08 Joseph Myers <joseph@codesourcery.com>
30756 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30757 (F_GET_RW_HINT): New macro.
30758 [__USE_GNU] (F_SET_RW_HINT): Likewise.
30759 [__USE_GNU] (F_GET_FILE_RW_HINT): Likewise.
30760 [__USE_GNU] (F_SET_FILE_RW_HINT): Likewise.
30761 [__USE_GNU] (RWF_WRITE_LIFE_NOT_SET): Likewise.
30762 [__USE_GNU] (RWH_WRITE_LIFE_NONE): Likewise.
30763 [__USE_GNU] (RWH_WRITE_LIFE_SHORT): Likewise.
30764 [__USE_GNU] (RWH_WRITE_LIFE_MEDIUM): Likewise.
30765 [__USE_GNU] (RWH_WRITE_LIFE_LONG): Likewise.
30766 [__USE_GNU] (RWH_WRITE_LIFE_EXTREME): Likewise.
30768 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
30769 (F_ADD_SEALS): New macro.
30770 [__USE_GNU] (F_GET_SEALS): Likewise.
30771 [__USE_GNU] (F_SEAL_SEAL): Likewise.
30772 [__USE_GNU] (F_SEAL_SHRINK): Likewise.
30773 [__USE_GNU] (F_SEAL_GROW): Likewise.
30774 [__USE_GNU] (F_SEAL_WRITE): Likewise.
30776 2017-09-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30778 * posix/glob_internal.h (GLOBPAT_NONE, GLOBPAT_SPECIAL)
30779 (GLOBPAT_BACKSLASH, GLOBPAT_BRACKET): New constants.
30780 * posix/glob_internal.h (__glob_pattern_type):
30781 * posix/glob.c (glob):
30782 * posix/glob_pattern_p.c (__glob_pattern_p):
30785 * sysdeps/unix/sysv/linux/arm/glob64.c: Remove file.
30786 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30787 * sysdeps/unix/sysv/linux/m68k/glob64.c: Likewise.
30788 * sysdeps/unix/sysv/linux/mips/mips64/n64/glob64.c: Likewise.
30789 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/glob64.c: Likewise.
30791 * sysdeps/unix/sysv/linux/sparc/sparc32/glob64.c: Likewise.
30792 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Likewise.
30793 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30794 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30795 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30796 * sysdeps/wordsize-64/glob.c: Likewise.
30797 * sysdeps/wordsize-64/glob64.c: Likewise.
30798 * sysdeps/wordsize-64/globfree.c: Likewise.
30799 * sysdeps/wordsize-64/globfree64.c: Likewise.
30800 * sysdeps/unix/sysv/linux/glob.c: New file.
30801 * sysdeps/unix/sysv/linux/glob64.c: Likewise.
30802 * sysdeps/unix/sysv/linux/globfree.c: Likewise.
30803 * sysdeps/unix/sysv/linux/globfree64.c: Likewise.
30804 * sysdeps/unix/sysv/linux/s390/s390-32/glob64.c: Likewise.
30805 * sysdeps/unix/sysv/linux/oldglob.c [SHLIB_COMPAT]: Also
30806 adds !GLOB_NO_OLD_VERSION as an extra condition.
30807 * sysdeps/unix/sysv/linux/i386/alphasort64.c: Include olddirent.h
30808 using relative path instead of absolute one.
30809 * sysdeps/unix/sysv/linux/i386/getdents64.c: Likewise.
30810 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
30811 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
30812 * sysdeps/unix/sysv/linux/i386/versionsort64.c: Likewise.
30813 * sysdeps/unix/sysv/linux/i386/olddirent.h: Move to ...
30814 * sysdeps/unix/sysv/linux//olddirent.h: ... here.
30817 * posix/glob.c (GET_LOGIN_NAME_MAX): Remove.
30818 (glob): Use the same scratch buffer for both getlogin_r and
30819 getpwnam_r. Don’t require preallocation of the login name. This
30820 simplifies storage allocation, and corrects the handling of
30824 * posix/glob.c (glob): Port recent patches to platforms
30825 lacking getpwnam_r.
30826 (glob): Fix longstanding misuse of errno after getpwnam_r, which
30827 returns an error number rather than setting errno.
30829 * include/scratch_buffer.h (scratch_buffer): Use a C99 align method
30830 instead of GCC extension.
30831 * malloc/scratch_buffer_grow.c [!_LIBC]: Include libc-config.h.
30832 * malloc/scratch_buffer_grow_preserve.c [!_LIBC]: Likewise.
30833 * malloc/scratch_buffer_set_array_size.c [!_LIBC]: Likewise.
30837 * posix/Makefile (tests): Remove bug-glob1 and tst-glob_symlinks.
30838 * posix/bug-glob1.c: Remove file.
30839 * posix/tst-glob_symlinks.c: New file.
30840 * posix/glob.c (__lstat64): New macro.
30841 (is_dir): New function.
30842 (glob, glob_in_dir): Match symlinks even if they are dangling.
30843 (link_stat, link_exists_p): Remove. All uses removed.
30847 * posix/glob.c (struct readdir_result): Remove skip_entry member.
30848 (readdir_result_skip_entry, D_INO_TO_RESULT): Remove.
30853 * posix/Makefile (routines): Add globfree, globfree64, and
30855 * posix/flexmember.h: New file.
30856 * posix/glob_internal.h: Likewise.
30857 * posix/glob_pattern_p.c: Likewise.
30858 * posix/globfree.c: Likewise.
30859 * posix/globfree64.c: Likewise.
30860 * sysdeps/gnu/globfree64.c: Likewise.
30861 * sysdeps/unix/sysv/linux/alpha/globfree.c: Likewise.
30862 * sysdeps/unix/sysv/linux/mips/mips64/n64/globfree64.c: Likewise.
30863 * sysdeps/unix/sysv/linux/oldglob.c: Likewise.
30864 * sysdeps/unix/sysv/linux/wordsize-64/globfree64.c: Likewise.
30865 * sysdeps/unix/sysv/linux/x86_64/x32/globfree.c: Likewise.
30866 * sysdeps/wordsize-64/globfree.c: Likewise.
30867 * sysdeps/wordsize-64/globfree64.c: Likewise.
30868 * posix/glob.c (HAVE_CONFIG_H): Use !_LIBC instead.
30869 [NDEBUG): Remove comments.
30870 (GLOB_ONLY_P, _AMIGA, VMS): Remove define.
30871 (dirent_type): New type. Use uint_fast8_t not
30872 uint8_t, as C99 does not require uint8_t.
30873 (DT_UNKNOWN, DT_DIR, DT_LNK): New macros.
30874 (struct readdir_result): Use dirent_type. Do not define skip_entry
30875 unless it is needed; this saves a byte on platforms lacking d_ino.
30876 (readdir_result_type, readdir_result_skip_entry):
30877 New functions, replacing ...
30878 (readdir_result_might_be_symlink, readdir_result_might_be_dir):
30879 these functions, which were removed. This makes the callers
30880 easier to read. All callers changed.
30881 (D_INO_TO_RESULT): Now empty if there is no d_ino.
30882 (size_add_wrapv, glob_use_alloca): New static functions.
30883 (glob, glob_in_dir): Check for size_t overflow in several places,
30884 and fix some size_t checks that were not quite right.
30885 Remove old code using SHELL since Bash no longer
30887 (glob, prefix_array): Separate MS code better.
30888 (glob_in_dir): Remove old Amiga and VMS code.
30889 (globfree, __glob_pattern_type, __glob_pattern_p): Move to
30891 (glob_in_dir): Do not rely on undefined behavior in accessing
30892 struct members beyond their bounds. Use a flexible array member
30894 (link_stat): Rename from link_exists2_p and return -1/0 instead of
30895 0/1. Caller changed.
30896 (glob): Fix memory leaks.
30897 * posix/glob64 (globfree64): Move to separate file.
30898 * sysdeps/gnu/glob64.c (NO_GLOB_PATTERN_P): Remove define.
30899 (globfree64): Remove hidden alias.
30900 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add
30902 * sysdeps/unix/sysv/linux/alpha/glob.c (__new_globfree): Move to
30904 * sysdeps/unix/sysv/linux/i386/glob64.c (NO_GLOB_PATTERN_P): Remove
30906 Move compat code to separate file.
30907 * sysdeps/wordsize-64/glob.c (globfree): Move definitions to
30910 2017-09-07 H.J. Lu <hongjiu.lu@intel.com>
30912 * resolv/tst-resolv-qtypes.c (domain): Changed to
30913 "const char domain[] =".
30915 2017-09-07 Joseph Myers <joseph@codesourcery.com>
30917 * scripts/build-many-glibcs.py (Context.checkout): Default MPFR
30920 * sysdeps/gnu/netinet/tcp.h (TCP_ULP): New macro.
30921 (TCP_MD5SIG_EXT): Likewise.
30922 (TCP_MD5SIG_FLAG_PREFIX): Likewise.
30923 (struct tcp_md5sig): Replace __tcpm_pad1 by tcpm_flags and
30924 tcpm_prefixlen. Rename __tcpm_pad2 to __tcpm_pad.
30926 * sysdeps/unix/sysv/linux/bits/socket.h (SOL_TLS): New macro.
30928 2017-09-07 Mike FABIAN <mfabian@redhat.com>
30930 * localedata/locales/om_ET (LC_TIME): use ASCII for better readability.
30932 2017-09-07 Akhilesh Kumar <akhilesh.k@samsung.com>
30935 * localedata/locales/om_KE (LC_TIME): copy "om_ET".
30937 2017-09-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
30939 * hurd/get-host.c (_hurd_get_host_config): Also check that more == 0
30940 before assuming that the file is empty. Avoid testing buffer content
30943 2017-09-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
30946 * sysdeps/i386/i686/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30948 * sysdeps/x86_64/multiarch/stpcpy.c (_HAVE_STRING_ARCH_stpcpy):
30950 * sysdeps/x86_64/multiarch/strcspn.c (_HAVE_STRING_ARCH_strcspn):
30952 * sysdeps/x86_64/multiarch/strncat.c (_HAVE_STRING_ARCH_strncat):
30954 * sysdeps/x86_64/multiarch/strncpy.c (_HAVE_STRING_ARCH_strncpy):
30956 * sysdeps/x86_64/multiarch/strpbrk.c (_HAVE_STRING_ARCH_strpbrk):
30958 * sysdeps/x86_64/multiarch/strspn.c (_HAVE_STRING_ARCH_strspn):
30961 2017-09-06 Florian Weimer <fweimer@redhat.com>
30963 * malloc/dynarray_emplace_enlarge.c
30964 (__libc_dynarray_emplace_enlarge): Add missing else.
30966 2017-09-06 Florian Weimer <fweimer@redhat.com>
30969 * resolv/resolv_conf.c (__resolv_conf_attach): Do not free conf in
30970 case of failure to obtain the global conf object.
30972 2017-09-06 Florian Weimer <fweimer@redhat.com>
30975 * resolv/res_init.c (res_vinit_1): Avoid memory leak in case of
30976 dynarray allocation failure.
30978 2017-09-06 Florian Weimer <fweimer@redhat.com>
30980 Remove dead PTR IPv4-to-IPv6 mapping code from nss_dns.
30981 * resolv/nss_dns/dns-host.c (getanswer_r): Remove dead code.
30982 * resolv/tst-res_use_inet6.c (response_ptr_v4, response_ptr_v6):
30984 (response): Call them. Add 'p', '6' flag processing.
30985 (test_reverse): New function.
30986 (test_get2_any): Call it.
30987 (test_no_inet6): Add 'p' test.
30988 (test_inet6): Likewise.
30990 2017-09-06 Florian Weimer <fweimer@redhat.com>
30992 Enhance tst-res_use_inet6 to test IPv4-to-IPv6 address mapping.
30993 * resolv/tst-res_use_inet6.c (response): Process flags embedded in
30995 (test_gai): Adjust query names. Add additional tests.
30996 (test_get2_any, test_get2_no_inet6, test_get2_inet6): Split from
30997 test_get2. Adjust query names. Add additional tests.
30998 (test_no_inet6): New function, extracted from threadfunc.
30999 (threadfunc): Call test_get2_any, test_get2_inet6, test_no_inet6.
31000 Add additional tests.
31002 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31005 * localedata/unicode-gen/utf8_gen.py: Set the width for
31006 characters with Prepended_Concatenation_Mark property to 1
31007 * localedata/charmaps/UTF-8: Updated using the improved script.
31009 2017-09-06 Mike FABIAN <mfabian@redhat.com>
31012 * localedata/unicode-gen/utf8_gen.py: Improve the script to
31013 use the range notation for all ranges of neighbouring characters
31014 with the same width.
31016 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31018 * sysdeps/generic/math-type-macros-double.h: Include
31019 <math-svid-compat.h>.
31020 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31021 * sysdeps/generic/math-type-macros-float.h: Include
31022 <math-svid-compat.h>.
31023 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31024 * sysdeps/generic/math-type-macros-ldouble.h: Include
31025 <math-svid-compat.h>.
31026 (__USE_WRAPPER_TEMPLATE): Define to !LIBM_SVID_COMPAT.
31027 * math/lgamma-compat.h (BUILD_LGAMMA): Include LIBM_SVID_COMPAT
31029 * math/w_acos_compat.c: Condition contents on [LIBM_SVID_COMPAT].
31030 * math/w_acosf_compat.c: Likewise.
31031 * math/w_acosh_compat.c: Likewise.
31032 * math/w_acoshf_compat.c: Likewise.
31033 * math/w_acoshl_compat.c: Likewise.
31034 * math/w_acosl_compat.c: Likewise.
31035 * math/w_asin_compat.c: Likewise.
31036 * math/w_asinf_compat.c: Likewise.
31037 * math/w_asinl_compat.c: Likewise.
31038 * math/w_atan2_compat.c: Likewise.
31039 * math/w_atan2f_compat.c: Likewise.
31040 * math/w_atan2l_compat.c: Likewise.
31041 * math/w_atanh_compat.c: Likewise.
31042 * math/w_atanhf_compat.c: Likewise.
31043 * math/w_atanhl_compat.c: Likewise.
31044 * math/w_cosh_compat.c: Likewise.
31045 * math/w_coshf_compat.c: Likewise.
31046 * math/w_coshl_compat.c: Likewise.
31047 * math/w_exp10_compat.c: Likewise.
31048 * math/w_exp10f_compat.c: Likewise.
31049 * math/w_exp10l_compat.c: Likewise.
31050 * math/w_exp2_compat.c: Likewise.
31051 * math/w_exp2f_compat.c: Likewise.
31052 * math/w_exp2l_compat.c: Likewise.
31053 * math/w_fmod_compat.c: Likewise.
31054 * math/w_fmodf_compat.c: Likewise.
31055 * math/w_fmodl_compat.c: Likewise.
31056 * math/w_hypot_compat.c: Likewise.
31057 * math/w_hypotf_compat.c: Likewise.
31058 * math/w_hypotl_compat.c: Likewise.
31059 * math/w_j0_compat.c: Likewise.
31060 * math/w_j0f_compat.c: Likewise.
31061 * math/w_j0l_compat.c: Likewise.
31062 * math/w_j1_compat.c: Likewise.
31063 * math/w_j1f_compat.c: Likewise.
31064 * math/w_j1l_compat.c: Likewise.
31065 * math/w_jn_compat.c: Likewise.
31066 * math/w_jnf_compat.c: Likewise.
31067 * math/w_jnl_compat.c: Likewise.
31068 * math/w_lgamma_r_compat.c: Likewise.
31069 * math/w_lgammaf_r_compat.c: Likewise.
31070 * math/w_lgammal_r_compat.c: Likewise.
31071 * math/w_log10_compat.c: Likewise.
31072 * math/w_log10f_compat.c: Likewise.
31073 * math/w_log10l_compat.c: Likewise.
31074 * math/w_log2_compat.c: Likewise.
31075 * math/w_log2f_compat.c: Likewise.
31076 * math/w_log2l_compat.c: Likewise.
31077 * math/w_log_compat.c: Likewise.
31078 * math/w_logf_compat.c: Likewise.
31079 * math/w_logl_compat.c: Likewise.
31080 * math/w_pow_compat.c: Likewise.
31081 * math/w_powf_compat.c: Likewise.
31082 * math/w_powl_compat.c: Likewise.
31083 * math/w_remainder_compat.c: Likewise.
31084 * math/w_remainderf_compat.c: Likewise.
31085 * math/w_remainderl_compat.c: Likewise.
31086 * math/w_sinh_compat.c: Likewise.
31087 * math/w_sinhf_compat.c: Likewise.
31088 * math/w_sinhl_compat.c: Likewise.
31089 * math/w_sqrt_compat.c: Likewise.
31090 * math/w_sqrtf_compat.c: Likewise.
31091 * math/w_sqrtl_compat.c: Likewise.
31092 * math/w_tgamma_compat.c: Likewise.
31093 * math/w_tgammaf_compat.c: Likewise.
31094 * math/w_tgammal_compat.c: Likewise.
31095 * math/w_scalb_compat.c (sysv_scalb): Condition definition on
31096 [LIBM_SVID_COMPAT].
31097 (__scalb): Condition call to sysv_scalb on [LIBM_SVID_COMPAT].
31098 * math/w_scalbf_compat.c (sysv_scalbf): Condition definition on
31099 [LIBM_SVID_COMPAT].
31100 (__scalbf): Condition call to sysv_scalbf on [LIBM_SVID_COMPAT].
31101 * math/w_scalbl_compat.c (sysv_scalbl): Condition definition on
31102 [LIBM_SVID_COMPAT].
31103 (__scalbl): Condition call to sysv_scalbl on [LIBM_SVID_COMPAT].
31104 * sysdeps/i386/fpu/w_sqrt.c: New file.
31105 * sysdeps/ia64/fpu/w_acos.c: Likewise.
31106 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
31107 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
31108 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
31109 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
31110 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
31111 * sysdeps/ia64/fpu/w_asin.c: Likewise.
31112 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
31113 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
31114 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
31115 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
31116 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
31117 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
31118 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
31119 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
31120 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
31121 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
31122 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
31123 * sysdeps/ia64/fpu/w_exp.c: Likewise.
31124 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
31125 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
31126 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
31127 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
31128 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
31129 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
31130 * sysdeps/ia64/fpu/w_expf.c: Likewise.
31131 * sysdeps/ia64/fpu/w_expl.c: Likewise.
31132 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
31133 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
31134 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
31135 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
31136 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
31137 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
31138 * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
31139 * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
31140 * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
31141 * sysdeps/ia64/fpu/w_log.c: Likewise.
31142 * sysdeps/ia64/fpu/w_log10.c: Likewise.
31143 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
31144 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
31145 * sysdeps/ia64/fpu/w_log2.c: Likewise.
31146 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
31147 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
31148 * sysdeps/ia64/fpu/w_logf.c: Likewise.
31149 * sysdeps/ia64/fpu/w_logl.c: Likewise.
31150 * sysdeps/ia64/fpu/w_pow.c: Likewise.
31151 * sysdeps/ia64/fpu/w_powf.c: Likewise.
31152 * sysdeps/ia64/fpu/w_powl.c: Likewise.
31153 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
31154 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
31155 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
31156 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
31157 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
31158 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
31159 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
31160 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
31161 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
31162 * sysdeps/ia64/fpu/w_tgamma.c: Likewise.
31163 * sysdeps/ia64/fpu/w_tgammaf.c: Likewise.
31164 * sysdeps/ia64/fpu/w_tgammal.c: Likewise.
31165 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Condition contents on
31166 [LIBM_SVID_COMPAT].
31167 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
31168 * sysdeps/ieee754/k_standard.c: Likewise.
31169 * sysdeps/ieee754/k_standardf.c: Likewise.
31170 * sysdeps/ieee754/k_standardl.c: Likewise.
31171 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
31172 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
31173 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
31174 * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: Condition
31175 long_double_symbol call on [LIBM_SVID_COMPAT].
31176 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
31177 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
31178 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
31179 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
31180 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
31181 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
31182 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
31183 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
31184 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
31185 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
31186 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
31187 * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
31188 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
31189 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
31190 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
31191 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
31192 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
31193 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
31194 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
31195 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
31196 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Condition
31197 long_double_symbol and compat_symbol calls on [LIBM_SVID_COMPAT].
31199 2017-09-05 Steve Ellcey <sellcey@cavium.com>
31201 * include/shlib-compat.h (TEST_COMPAT): New Macro.
31202 * malloc/tst-mallocstate.c: Convert from test-skeleton
31203 to test-driver. Ifdef code using TEST_COMPAT macro.
31204 * math/test-matherr-2.c: Ifdef test using TEST_COMPAT macro.
31205 * math/test-matherr.c: Likewise.
31207 2017-09-05 Joseph Myers <joseph@codesourcery.com>
31210 * debug/pcprofiledump.c (main): Use byte-swapped mask when
31211 comparing word with byte-swapped constant.
31213 2017-09-05 Chris Leonard <cjlhomeaddress@gmail.com>
31216 * locale/iso-639.def: add Miskito.
31217 * localedata/SUPPORTED: Add miq_NI/UTF-8.
31218 * localedata/locales/miq_NI: New file.
31220 2017-09-04 H.J. Lu <hongjiu.lu@intel.com>
31223 * include/sys/stat.h (__chmod): Add libc_hidden_proto.
31224 (__mkdir): Likewise.
31225 * io/chmod.c (__chmod): Add libc_hidden_def.
31226 * io/mkdir.c (__mkdir): Likewise.
31227 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
31228 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
31229 * sysdeps/unix/sysv/linux/generic/chmod.c (__chmod): Likewise.
31230 * sysdeps/unix/sysv/linux/generic/mkdir.c (__mkdir): Likewise.
31232 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31234 * sysdeps/unix/sysv/linux/syscall-names.list: Update kernel
31238 * math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
31239 (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
31241 2017-09-04 Florian Weimer <fweimer@redhat.com>
31243 * math/math.h: Issue warning if log is defined.
31245 2017-09-04 Joseph Myers <joseph@codesourcery.com>
31247 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
31248 kernel version to 4.13.
31250 2017-09-03 Samuel Thibault <samuel.thibault@ens-lyon.org>
31252 * sysdeps/generic/sigsetops.h: Remove spurious #endif.
31253 (__sigismember, __sigaddset, __sigdelset): Fix referencing set
31255 * sysdeps/mach/hurd/bits/socket.h: Include <sys/types.h> instead of
31256 just <bits/types.h>.
31257 * sysdeps/posix/preadv2.c: Use off_t instead of OFF_T.
31258 * sysdeps/posix/preadv64v2.c: Use off64_t instead of OFF_T.
31259 * sysdeps/posix/pwritev2.c: Use off_t instead of OFF_T.
31260 * sysdeps/posix/pwritev64v2.c: Use off64_t instead of OFF_T.
31261 * misc/preadv2.c: Include <errno.h>.
31262 * misc/preadv64v2.c: Include <errno.h>.
31263 * misc/pwritev2.c: Include <errno.h>.
31264 * misc/pwritev64v2.c: Include <errno.h>.
31265 * sysdeps/posix/preadv2.c: Include <errno.h>.
31266 * sysdeps/posix/preadv64v2.c: Include <errno.h>.
31267 Fix <unistd.h> inclusion.
31268 * sysdeps/posix/pwritev2.c: Include <errno.h>.
31269 * sysdeps/posix/pwritev64v2.c: Include <errno.h>.
31270 * sysdeps/mach/hurd/dl-sysdep.c (__access_noerrno, __sbrk,
31271 __strtoul_internal): New functions.
31272 * sysdeps/posix/pause.c: Include <sigsetops.h>.
31273 * sysdeps/posix/system.c: Include <sigsetops.h>.
31274 * sysdeps/mach/hurd/i386/Makefile
31275 [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
31276 [$(subdir) = csu] (sysdep-only-routines): Likewise.
31277 [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
31278 * sysdeps/x86/fpu/include/bits/fenv.h [NO_HIDDEN]: Redirect
31279 __feraiseexcept_renamed to feraiseexcept instead of
31280 __GI_feraiseexcept.
31281 * sysdeps/mach/hurd/i386/Implies: Add mach/hurd/x86.
31282 * sysdeps/mach/hurd/x86/dl-sysdep.c: New file.
31283 * misc/tst-preadvwritev2-common.c (RWF_HIPRI, RWF_DSYNC, RWF_SYNC,
31284 RWF_NOWAIT): Define to 0 if undefined already.
31285 (do_test_with_invalid_flags): Set invalid_flag to 2 if RWF_SUPPORTED
31287 * resolv/tst-resolv-res_init-skeleton.c (run_res_init)
31288 [!CLONE_NEWUTS]: Fail as unsupported if hostname is not NULL.
31290 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31292 * manual/math.texi (pow10): Do not document.
31293 (pow10f): Likewise.
31294 (pow10l): Likewise.
31295 * math/bits/mathcalls.h [__USE_GNU] (pow10): Do not declare.
31296 * math/bits/math-finite.h [__USE_GNU] (pow10): Likewise.
31297 * math/libm-test-exp10.inc (pow10_test): Remove.
31298 (do_test): Do not call pow10.
31299 * math/w_exp10_compat.c (pow10): Make into compat symbol.
31300 [NO_LONG_DOUBLE] (pow10l): Likewise.
31301 * math/w_exp10f_compat.c (pow10f): Likewise.
31302 * math/w_exp10l_compat.c (pow10l): Likewise.
31303 * sysdeps/ia64/fpu/e_exp10.S: Include <shlib-compat.h>.
31304 (pow10): Make into compat symbol.
31305 * sysdeps/ia64/fpu/e_exp10f.S: Include <shlib-compat.h>.
31306 (pow10f): Make into compat symbol.
31307 * sysdeps/ia64/fpu/e_exp10l.S: Include <shlib-compat.h>.
31308 (pow10l): Make into compat symbol.
31309 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove
31311 (CFLAGS-nldbl-pow10.c): Remove variable..
31312 * sysdeps/ieee754/ldbl-opt/nldbl-pow10.c: Remove file.
31313 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c (pow10l): Condition on
31314 [SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_27)].
31315 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c (compat_symbol):
31316 Undefine and redefine.
31317 (pow10l): Make into compat symbol.
31318 * sysdeps/aarch64/libm-test-ulps: Remove pow10 ulps.
31319 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
31320 * sysdeps/arm/libm-test-ulps: Likewise.
31321 * sysdeps/hppa/fpu/libm-test-ulps: Likewise.
31322 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
31323 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
31324 * sysdeps/microblaze/libm-test-ulps: Likewise.
31325 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
31326 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31327 * sysdeps/nios2/libm-test-ulps: Likewise.
31328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
31329 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
31330 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
31331 * sysdeps/sh/libm-test-ulps: Likewise.
31332 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
31333 * sysdeps/tile/libm-test-ulps: Likewise.
31334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31336 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31338 * stdlib/tst-atexit-common.c (crumbs): Ensure correct size.
31340 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31342 * posix/tst-regex.c (do_test): Replace "../ChangeLog.8" with
31343 "../ChangeLog.old/ChangeLog.8".
31344 * posix/tst-regex2.c (do_test): Replace "../ChangeLog.14" with
31345 "../ChangeLog.old/ChangeLog.14".
31347 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31349 * manual/contrib.texi: Credit Ulrich Drepper for the POSIX
31352 2017-09-01 Joseph Myers <joseph@codesourcery.com>
31354 * sysdeps/unix/sysv/linux/gentempfd.c: Include <string.h>.
31356 2017-09-01 H.J. Lu <hongjiu.lu@intel.com>
31358 * csu/version.c (banner): Remove "by Roland McGrath et al.".
31359 * nptl/Banner: Remove "by Ulrich Drepper et al.".
31361 2017-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
31363 * stdlib/tst-atexit-common.c (do_test): Test support for at least
31364 32 atexit handlers.
31366 2017-09-01 Zack Weinberg <zackw@panix.com>
31368 * math/math.h (HUGE_VAL): Improve commentary.
31370 2017-09-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31371 Andreas Schwab <schwab@suse.de>
31374 * include/stdio.h (__gen_tempfd): New function.
31375 * stdio-common/Makefile (routines): Add gentempfd.
31376 * stdio-common/gentempfd.c: New file.
31377 * sysdeps/unix/sysv/linux/gentempfd.c: Likewise.
31378 * stdio-common/tmpfile.c (tmpfile): First try to use a system specific
31379 unnamed file first.
31381 2017-09-01 Florian Weimer <fweimer@redhat.com>
31385 * sysdeps/posix/getaddrinfo.c (gethosts): Look at NSS function
31386 result to determine success or failure, not the errno value.
31387 * nss/Makefile (tests): Add tst-nss-files-hosts-erange.
31388 (tst-nss-files-hosts-erange): Link with -ldl.
31389 * nss/tst-nss-files-hosts-erange.c: New file.
31390 * nss/tst-resolv-basic.c (response): Handle nodata.example.
31391 (do_test): Add NO_DATA tests.
31392 * resolv/tst-resolv-basic.c (test_nodata_nxdomain): New function.
31393 (do_test): Call it.
31395 2017-09-01 Florian Weimer <fweimer@redhat.com>
31398 * sysdeps/posix/getaddrinfo.c (gaih_inet): Report EAI_NODATA error
31399 coming from gethostbyname2_r.
31401 2017-09-01 Florian Weimer <fweimer@redhat.com>
31403 * support/namespace.h (struct support_chroot_configuration): Add
31405 (struct support_chroot): Add path_hosts, path_host_conf.
31406 * support/support_chroot.c (write_file): New function.
31407 (support_chroot_create): Call it to process /etc/resolv.conf,
31408 /etc/hosts, /etc/host.conf.
31409 (support_chroot_free): Update.
31411 2017-09-01 Florian Weimer <fweimer@redhat.com>
31413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use h_errno if
31414 status indicates it is set.
31416 2017-09-01 Florian Weimer <fweimer@redhat.com>
31419 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make reporting of NSS
31420 function lookup failures more reliable.
31422 2017-09-01 Florian Weimer <fweimer@redhat.com>
31424 * sysdeps/posix/getaddrinfo.c (gethosts): Use h_errno directly.
31425 (getcanonname): Likewise.
31426 (gaih_inet): Likewise.
31428 2017-09-01 Florian Weimer <fweimer@redhat.com>
31430 * sysdeps/posix/getaddrinfo.c (gethosts): Use errno directly.
31431 (getcanonname): Likewise.
31432 (gaih_inet): Likewise.
31434 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31435 Richard Henderson <rth@twiddle.net>
31437 * sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
31438 * sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
31439 * sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
31440 (IREG_SIZE, OREG_SIZE): New macros.
31441 * sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
31442 (IREG_SIZE, OREG_SIZE): New macros.
31443 * sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
31444 (IREG_SIZE): New macro.
31445 * sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
31446 (IREG_SIZE): New macro.
31447 * sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
31449 (IREG_SIZE, OREG_SIZE): Initialize if not already set.
31450 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31451 (__CONCATX): Handle exceptions correctly on large values that may
31453 * sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
31454 Initialize if not already set.
31455 (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
31457 2017-08-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
31459 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): Remove macro.
31460 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (NO_CANCELLATION):
31462 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (NO_CANCELLATION):
31464 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (NO_CANCELLATION):
31466 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (NO_CANCELLATION):
31468 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (NO_CANCELLATION):
31470 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (NO_CANCELLATION):
31472 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (NO_CANCELLATION):
31474 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h
31475 (NO_CANCELLATION): Likewise.
31476 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (NO_CANCELLATION):
31478 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (NO_CANCELLATION):
31480 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h (NO_CANCELLATION):
31482 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h
31483 (NO_CANCELLATION): Likewise.
31484 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h
31485 (NO_CANCELLATION): Likewise.
31486 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (NO_CANCELLATION):
31488 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h (NO_CANCELLATION):
31490 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (NO_CANCELLATION):
31492 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (NO_CANCELLATION):
31494 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): Add
31496 * sysdeps/unix/sysv/linux/fcntl.c (__fcntl_nocancel): Define only
31497 for !IS_IN (rtld) and remove NO_CANCELLATION usage.
31499 2017-08-31 Steve Ellcey <sellcey@cavium.com>
31501 * sysdeps/aarch64/dl-irel.h: (elf_ifunc_invoke): Change argument type
31504 2017-08-31 Florian Weimer <fweimer@redhat.com>
31506 * include/libc-symbols.h (internal_function): Remove.
31508 2017-08-31 Florian Weimer <fweimer@redhat.com>
31510 * stdlib/fmtmsg.c (internal_addseverity): Remove
31513 2017-08-31 Florian Weimer <fweimer@redhat.com>
31515 * stdio-common/printf_fp.c (group_number): Remove
31517 * stdio-common/vfprintf.c (buffered_vfprintf): Likewise.
31519 2017-08-31 Florian Weimer <fweimer@redhat.com>
31521 * posix/fnmatch.c (internal_function): Remove definition.
31522 * posix/fnmatch_loop.c (FCT, EXT, END): Remove internal_function.
31523 * posix/regcomp.c (peek_token, init_word_char)
31524 (duplicate_node_closure, fetch_token, peek_token)
31525 (peek_token_bracket, build_range_exp, build_collating_symbol):
31527 * posix/regex_internal.c (re_string_construct_common)
31528 (create_ci_newstate, create_cd_newstate, re_string_allocate)
31529 (re_string_construct, re_string_realloc_buffers, build_wcs_buffer)
31530 (build_wcs_upper_buffer, re_string_skip_chars, build_upper_buffer)
31531 (re_string_translate_buffer, re_string_reconstruct)
31532 (re_string_peek_byte_case, re_string_fetch_byte_case)
31533 (re_string_destruct, re_string_context_at, re_node_set_alloc)
31534 (re_node_set_init_1, re_node_set_init_2, re_node_set_init_copy)
31535 (re_node_set_add_intersect, re_node_set_init_union)
31536 (re_node_set_merge, re_node_set_insert, re_node_set_insert_last)
31537 (re_node_set_compare, re_node_set_contains, re_node_set_remove_at)
31538 (re_dfa_add_node, calc_state_hash, re_acquire_state)
31539 (re_acquire_state_context): Likewise.
31540 * posix/regex_internal.h (internal_function): Remove definition.
31541 (re_string_realloc_buffers, build_wcs_buffer)
31542 (build_wcs_upper_buffer, build_upper_buffer)
31543 (re_string_translate_buffer, re_string_context_at)
31544 (re_string_char_size_at, re_string_wchar_at)
31545 (re_string_elem_size_at): Likewise.
31546 * posix/regexec.c (match_ctx_init, match_ctx_clean)
31547 (match_ctx_free, match_ctx_add_entry, search_cur_bkref_entry)
31548 (match_ctx_add_subtop, match_ctx_add_sublast, sift_ctx_init)
31549 (re_search_internal, re_search_2_stub, re_search_stub)
31550 (re_copy_regs, prune_impossible_nodes, check_matching)
31551 (check_halt_state_context, update_regs, push_fail_stack, set_regs)
31552 (free_fail_stack_return, sift_states_iter_mb)
31553 (sift_states_backward, build_sifted_states)
31554 (update_cur_sifted_state, add_epsilon_src_nodes, check_dst_limits)
31555 (check_dst_limits_calc_pos_1, check_dst_limits_calc_pos)
31556 (check_subexp_limits, sift_states_bkref, merge_state_array)
31557 (find_recover_state, transit_state, merge_state_with_log)
31558 (check_subexp_matching_top, transit_state_sb, transit_state_sb)
31559 (transit_state_mb, transit_state_bkref, get_subexp)
31560 (get_subexp_sub, find_subexp_node, check_arrival)
31561 (check_arrival_add_next_nodes, check_arrival_expand_ecl)
31562 (check_arrival_expand_ecl_sub, expand_bkref_cache, build_trtable)
31563 (check_node_accept_bytes, find_collation_sequence_value)
31564 (group_nodes_into_DFAstates, check_node_accept, extend_buffers)
31565 (acquire_init_state_context, check_halt_node_context)
31566 (proceed_next_node, pop_fail_stack, clean_state_log_if_needed)
31567 (sub_epsilon_src_nodes): Likewise.
31568 * posix/spawn_int.h (__spawn_valid_fd): Likewise.
31569 * posix/spawn_valid_fd (__spawn_valid_fd): Likewise.
31570 * posix/wordexp.c (parse_dollars, parse_backtick, parse_dquote)
31571 (eval_expr, w_addmem, w_addstr, w_addword, parse_backslash)
31572 (parse_qtd_backslash, parse_tilde, do_parse_glob, parse_glob)
31573 (parse_squote, eval_expr_val, eval_expr_multdiv, parse_arith)
31574 (exec_comm_child, exec_comm, parse_comm, parse_param): Likewise.
31575 * sysdeps/posix/ttyname.c (getttyname): Likewise.
31576 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
31577 * sysdeps/unix/sysv/linux/preadv.c (__atomic_preadv_replacement)
31578 (PREADV): Likewise.
31579 * sysdeps/unix/sysv/linux/preadv64.c (__atomic_preadv64_replacement)
31580 (PREADV): Likewise.
31581 * sysdeps/unix/sysv/linux/pwritev.c (__atomic_pwritev_replacement)
31582 (PWRITEV): Likewise.
31583 * sysdeps/unix/sysv/linux/pwritev64.c (__atomic_pwritev64_replacement)
31584 (PWRITEV): Likewise.
31585 * sysdeps/unix/sysv/linux/ttyname.c (getttyname): Likewise.
31586 * sysdeps/unix/sysv/linux/ttyname_r.c (getttyname_r): Likewise.
31588 2017-08-31 Florian Weimer <fweimer@redhat.com>
31590 * nptl/allocatestack.c (change_stack_perm, __deallocate_stack)
31591 (setxid_mark_thread, setxid_unmark_thread, setxid_signal_thread):
31592 Remove internal_function.
31593 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31594 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.
31595 * nptl/pthreadP.h (__find_in_stack_list, __free_tcb)
31596 (__deallocate_stack, __libc_pthread_init)
31597 (__pthread_mutex_cond_lock, __pthread_mutex_cond_lock_adjust)
31598 (__pthread_mutex_unlock_usercnt, __pthread_disable_asynccancel)
31599 (__libc_disable_asynccancel, __librt_disable_asynccancel):
31601 * nptl/pthread_create.c (__find_in_stack_list, __free_tcb): Likewise.
31602 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Likewise.
31603 * nptl/pthread_mutex_lock.c (__pthread_mutex_cond_lock_adjust):
31605 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full)
31606 (__pthread_mutex_unlock_usercnt): Likewise.
31608 2017-08-31 Florian Weimer <fweimer@redhat.com>
31610 * io/fts.c (fts_alloc, fts_build, fts_lfree, fts_load)
31611 (fts_maxarglen, fts_padjust, fts_palloc, fts_sort, fts_stat)
31612 (fts_safe_changedir): Remove internal_function.
31613 * io/ftw.c (internal_function): Remove definition.
31614 (ftw_dir, process_entry, ftw_startup): Remove internal_function.
31616 2017-08-31 Florian Weimer <fweimer@redhat.com>
31618 * inet/deadline.c (__deadline_current_time)
31619 (__deadline_from_timeval, __deadline_to_ms): Remove
31621 * inet/getnameinfo.c (nrl_domainname): Likewise.
31622 * inet/getnetgrent_r.c (__internal_setnetgrent_reuse): Likewise.
31623 * inet/inet6_option.c (add_pad): Likewise.
31624 * inet/net-internal.h (__deadline_current_time)
31625 (__deadline_from_timeval, __deadline_to_ms): Likewise.
31626 * inet/rcmd.c (__checkhost_sa, __icheckuser): Likewise.
31627 * sysdeps/mach/hurd/if_index.c (__protocol_available): Likewise.
31628 * sysdeps/unix/sysv/linux/ifaddrs.c (map_newlink): Likewise.
31630 2017-08-31 Joseph Myers <joseph@codesourcery.com>
31632 * math/math.h [__USE_ISOC99] (NAN): Define directly here. Do not
31633 include <bits/nan.h>.
31634 * math/Makefile (headers): Remove bits/nan.h.
31635 * bits/nan.h: Remove.
31636 * sysdeps/ieee754/bits/nan.h: Likewise.
31637 * sysdeps/mips/bits/nan.h: Likewise.
31639 * math/math.h [__USE_ISOC99] (INFINITY): Define directly here. Do
31640 not include <bits/inf.h>.
31641 * math/Makefile (headers): Remove bits/inf.h.
31642 * bits/inf.h: Remove.
31643 * sysdeps/ieee754/bits/inf.h: Likewise.
31645 * math/math.h: Do not include bits/huge_val.h, bits/huge_valf.h,
31646 bits/huge_vall.h or bits/huge_val_flt128.h.
31647 (HUGE_VAL): Define directly here.
31648 [__USE_ISOC99] (HUGE_VALF): Likewise.
31649 [__USE_ISOC99] (HUGE_VALL): Likewise.
31650 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
31651 (HUGE_VAL_F128): Likewise.
31652 * math/Makefile (headers): Remove bits/huge_val.h,
31653 bits/huge_valf.h, bits/huge_vall.h and bits/huge_val_flt128.h.
31654 * bits/huge_val.h: Remove.
31655 * bits/huge_val_flt128.h: Likewise.
31656 * bits/huge_valf.h: Likewise.
31657 * bits/huge_vall.h: Likewise.
31658 * sysdeps/ia64/bits/huge_vall.h: Likewise.
31659 * sysdeps/ieee754/bits/huge_val.h: Likewise.
31660 * sysdeps/ieee754/bits/huge_valf.h: Likewise.
31661 * sysdeps/m68k/m680x0/bits/huge_vall.h: Likewise.
31662 * sysdeps/sh/bits/huge_val.h: Likewise.
31663 * sysdeps/sparc/bits/huge_vall.h: Likewise.
31664 * sysdeps/x86/bits/huge_vall.h: Likewise.
31666 2017-08-31 Florian Weimer <fweimer@redhat.com>
31668 * elf/dl-addr-obj.c (_dl_addr_inside_object): Remove
31670 * elf/dl-cache.c (_dl_cache_libcmp, _dl_load_cache_lookup):
31672 * elf/dl-debug.c (_dl_debug_initialize): Likewise.
31673 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
31674 * elf/dl-environ.c (_dl_next_ld_env_entry): Likewise.
31675 * elf/dl-execstack.c (_dl_make_stack_executable): Likewise.
31676 * elf/dl-fini.c (_dl_sort_fini): Likewise.
31677 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
31678 * elf/dl-libc.c (dlerror_run): Likewise.
31679 * elf/dl-load.c (add_name_to_object, decompose_rpath)
31680 (_dl_init_paths, _dl_map_object, _dl_rtld_di_serinfo): Likewise.
31681 * elf/dl-lookup.c (add_dependency, _dl_debug_bindings)
31682 (_dl_lookup_symbol_x, _dl_setup_hash, _dl_debug_bindings):
31684 * elf/dl-misc.c (_dl_sysdep_read_whole_file, _dl_name_match_p)
31685 (_dl_higher_prime_number, _dl_strtoul): Likewise.
31686 * elf/dl-object.c (_dl_add_to_namespace_list, _dl_new_object): Likewise.
31687 * elf/dl-profile.c (_dl_start_profile): Likewise.
31688 * elf/dl-reloc.c (_dl_try_allocate_static_tls)
31689 (_dl_allocate_static_tls, _dl_protect_relro, _dl_reloc_bad_type):
31691 * elf/dl-support.c (_dl_aux_init, _dl_non_dynamic_init): Likewise.
31692 * elf/dl-sym.c (_dl_tls_symaddr, do_sym): Likewise.
31693 * elf/dl-sysdep.c (_dl_sysdep_start_cleanup, _dl_show_auxv): Likewise.
31694 * elf/dl-tls.c (_dl_next_tls_modid, _dl_count_modids)
31695 (_dl_determine_tlsoffset, allocate_dtv, _dl_get_tls_static_info)
31696 (_dl_allocate_tls_storage): Likewise.
31697 * elf/dl-version.c (match_symbol, _dl_check_map_versions)
31698 (_dl_check_all_versions): Likewise.
31699 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
31700 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Likewise.
31701 * elf/tst-_dl_addr_inside_object.c (_dl_addr_inside_object): Likewise.
31702 * sysdeps/aarch64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31703 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Likewise.
31704 * sysdeps/arm/dl-lookupcfg.h (_dl_unmap): Likewise.
31705 * sysdeps/arm/dl-machine.h (elf_machine_load_address): Remove
31706 internal_function from __dl_start.
31707 * sysdeps/arm/dl-tlsdesc.h (_dl_unmap): Remove internal_function.
31708 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
31709 * sysdeps/generic/ldsodefs.h (_dl_name_match_p)
31710 (_dl_higher_prime_number, _dl_strtoul, _dl_map_object)
31711 (_dl_map_object_deps, _dl_setup_hash, _dl_rtld_di_serinfo)
31712 (_dl_lookup_symbol_x, _dl_add_to_namespace_list, _dl_new_object)
31713 (_dl_protect_relro, _dl_reloc_bad_type, _dl_check_all_versions)
31714 (_dl_check_map_versions, _dl_sort_fini, _dl_debug_initialize)
31715 (_dl_init_paths, _dl_start_profile, _dl_show_auxv)
31716 (_dl_next_ld_env_entry, _dl_important_hwcaps)
31717 (_dl_load_cache_lookup, _dl_sysdep_read_whole_file)
31718 (_dl_sysdep_start_cleanup, _dl_next_tls_modid, _dl_count_modids)
31719 (_dl_determine_tlsoffset, _dl_get_tls_static_info)
31720 (_dl_allocate_static_tls, _dl_allocate_tls_storage)
31721 (_dl_addr_inside_object, _dl_non_dynamic_init, _dl_aux_init):
31723 (struct rtld_global_ro): Remove internal_function from the
31724 _dl_lookup_symbol_x member.
31725 (_dl_symbol_value): Remove. No longer defined anywhere.
31726 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Remove
31728 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31729 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
31730 * sysdeps/mach/hurd/dl-sysdep.c (_dl_show_auxv): Likewise.
31731 * sysdeps/nios2/dl-init.c (_dl_nios2_get_gp_value): Likewise.
31732 * sysdeps/tile/dl-lookupcfg.h (_dl_unmap): Likewise.
31733 * sysdeps/tile/dl-machine.h (_dl_after_load): Likewise.
31734 * sysdeps/tile/dl-runtime.c (_dl_after_load, _dl_unmap): Likewise.
31735 * sysdeps/unix/sysv/linux/dl-vdso.c (_dl_vdso_vsym): Likewise.
31736 * sysdeps/unix/sysv/linux/dl-vdso.h (_dl_vdso_vsym): Likewise.
31737 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
31738 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic): Likewise.
31739 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
31741 2017-08-31 Florian Weimer <fweimer@redhat.com>
31743 * gmon/gmon.c (write_hist, write_call_graph, write_bb_counts):
31744 Remove internal_function.
31745 * sysdeps/arm/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31747 * sysdeps/sparc/machine-gmon.h (mcount_internal, _MCOUNT_DECL):
31750 2017-08-31 Florian Weimer <fweimer@redhat.com>
31752 * dlfcn/dlerror.c (_dlerror_run): Remove internal_function.
31753 * elf/dl-sym.c (_dl_vsym, _dl_sym): Likewise.
31754 * include/dlfcn.h (_dl_sym, _dl_vsym, _dlerror_run): Likewise.
31756 2017-08-31 Florian Weimer <fweimer@redhat.com>
31758 * resolv/gai_misc.c (__gai_find_request, __gai_remove_request)
31759 (__gai_enqueue_request): Remove internal_function.
31760 * resolv/gai_misc.h (__gai_enqueue_request, __gai_find_request)
31761 (__gai_remove_request, __gai_notify, __gai_notify_only)
31762 (__gai_sigqueue): Likewise.
31763 * resolv/gai_notify.c (__gai_notify_only, __gai_notify): Likewise.
31764 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
31765 * resolv/inet_ntop.c (inet_ntop4, inet_ntop6): Likewise.
31766 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31769 2017-08-31 Florian Weimer <fweimer@redhat.com>
31771 * dirent/scandir-tail.c (SCANDIR_TAIL): Remove internal_function.
31772 * include/dirent.h (__opendirat, __getdents, __getdents64)
31773 (__alloc_dir, __scandir_tail, __scandir64_tail): Likewise.
31774 * sysdeps/posix/opendir.c (__opendirat, __alloc_dir): Likewise.
31775 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
31776 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_getdents64):
31778 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Likewise.
31780 2017-08-31 Florian Weimer <fweimer@redhat.com>
31782 * sysdeps/unix/sysv/linux/getcwd.c (generic_getcwd): Remove
31784 (GETCWD_RETURN_TYPE): Likewise.
31786 2017-08-31 Florian Weimer <fweimer@redhat.com>
31788 * include/time.h (__tz_compute, __strptime_internal): Remove
31790 * time/strptime_l.c (__strptime_internal): Likewise.
31791 * time/tzset.c (compute_change, update_vars, __tz_compute): Likewise.
31793 2017-08-31 Florian Weimer <fweimer@redhat.com>
31795 * iconv/gconv.c (__gconv): Remove internal_function.
31796 * iconv/gconv_builtin.c (__gconv_get_builtin_trans): Likewise.
31797 * iconv/gconv_cache.c (__gconv_load_cache, find_module_idx)
31798 (find_module, __gconv_compare_alias_cache, __gconv_lookup_cache)
31799 (__gconv_release_cache): Likewise.
31800 * iconv/gconv_close.c (__gconv_close): Likewise.
31801 * iconv/gconv_conf.c (detect_conflict, insert_module, add_module)
31802 (read_conf_file, __gconv_get_path): Likewise.
31803 * iconv/gconv_db.c (derivation_lookup, add_derivation)
31804 (__gconv_release_step, gen_steps, increment_counter)
31805 (find_derivation, __gconv_compare_alias, __gconv_find_transform)
31806 (__gconv_close_transform, free_modules_db): Likewise.
31807 * iconv/gconv_dl.c (__gconv_find_shlib, __gconv_release_shlib):
31809 * iconv/gconv_int.h (__gconv_open, __gconv_close, __gconv)
31810 (__gconv_find_transform, __gconv_lookup_cache)
31811 (__gconv_release_step, __gconv_load_cache, __gconv_get_path)
31812 (__gconv_close_transform, __gconv_release_cache)
31813 (__gconv_loaded_object, __gconv_release_shlib)
31814 (__gconv_compare_alias): Likewise.
31815 * iconv/gconv_open.c (__gconv_open): Likewise.
31816 * iconv/iconv_prog.c (print_known_names, add_known_names): Likewise.
31817 * iconv/iconvconfig.c (add_module): Likewise.
31818 * intl/dcigettext.c (plural_lookup, guess_category_value)
31819 (category_to_name, get_output_charset, _nl_find_msg): Likewise.
31820 * intl/eval-plural.h (plural_eval): Likewise.
31821 * intl/finddomain.c (_nl_find_domain): Likewise.
31822 * intl/gettextP.h (_nl_unload_domain, _nl_find_domain)
31823 (_nl_load_domain, _nl_find_msg): Likewise.
31824 (internal_function): Remove definition.
31825 * intl/loadinfo.h (internal_function): Likewise.
31826 * intl/loadmsgcat.c (_nl_load_domain, _nl_unload_domain): Remove
31828 * intl/localealias.c (internal_function): Remove definition.
31829 (read_alias_file): Remove internal_function.
31830 * intl/plural-exp.c (EXTRACT_PLURAL_EXPRESSION): Likewise.
31831 * intl/plural-exp.h (internal_function): Remove definition.
31832 (FREE_EXPRESSION, EXTRACT_PLURAL_EXPRESSION): Remove
31834 * intl/plural.c: Regenerate.
31835 * intl/plural.y (FREE_EXPRESSION): Remove internal_function.
31836 * locale/coll-lookup.c (__collidx_table_lookup)
31837 (__collseq_table_lookup): Likewise.
31838 * locale/coll-lookup.h (__collidx_table_lookup)
31839 (__collseq_table_lookup): Likewise.
31840 * locale/findlocale.c (_nl_find_locale, _nl_remove_locale): Likewise.
31841 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
31842 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale)
31843 (_nl_unload_locale): Likewise.
31844 * locale/localeinfo.h (struct __locale_data): Remove
31845 internal_function from cleanup member.
31846 (_nl_find_locale, _nl_load_locale, _nl_unload_locale)
31847 (_nl_remove_locale, _nl_load_locale_from_archive)
31848 (_nl_intern_locale_data, _nl_get_era_entry, _nl_select_era_entry)
31849 (_nl_get_alt_digit, _nl_get_walt_digit, _nl_parse_alt_digit)
31850 (_nl_cleanup_time): Remove internal_function.
31851 * time/alt_digit.c (_nl_get_alt_digit, _nl_get_walt_digit)
31852 (_nl_parse_alt_digit): Likewise.
31853 * time/era.c (_nl_init_era_entries, _nl_get_era_entry)
31854 (_nl_select_era_entry): Likewise.
31855 * time/lc-time-cleanup.c (_nl_cleanup_time): Likewise.
31856 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31857 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31858 * wcsmbs/wcsmbsload.h (__wcsmbs_load_conv, __wcsmbs_clone_conv)
31859 (__wcsmbs_named_conv, _nl_cleanup_ctype): Likewise.
31861 2017-08-31 Florian Weimer <fweimer@redhat.com>
31863 * rt/aio_sigqueue.c (__aio_sigqueue): Remove internal_function.
31864 * sysdeps/generic/aio_misc.h (__aio_sigqueue): Likewise.
31865 * sysdeps/pthread/aio_misc.c (__aio_free_request, __aio_find_req)
31866 (__aio_find_req_fd, __aio_remove_request, __aio_enqueue_request):
31868 * sysdeps/pthread/aio_misc.h (__aio_enqueue_request)
31869 (__aio_find_req, __aio_find_req_fd, __aio_free_request)
31870 (__aio_notify, __aio_notify_only, __aio_sigqueue): Likewise.
31871 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
31873 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Likewise.
31875 2017-08-31 Florian Weimer <fweimer@redhat.com>
31877 * misc/getttyent.c (skip, value): Remove internal_function.
31878 * misc/syslog.c (openlog_internal): Likewise.
31879 * misc/tsearch.c (trecurse, tdestroy_recurse): Likewise.
31881 2017-08-31 Florian Weimer <fweimer@redhat.com>
31883 * include/nss.h (__nss_valid_field, __nss_valid_list_field)
31884 (__nss_rewrite_field): Remove internal_function.
31885 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
31886 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
31887 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
31888 * nss/nsswitch.c (nss_parse_file, nss_getline)
31889 (nss_parse_service_list, nss_new_service): Likewise.
31890 * nss/rewrite_field.c (__nss_rewrite_field): Likewise.
31891 * nss/valid_field.c (__nss_valid_field): Likewise.
31892 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
31894 2017-08-31 Florian Weimer <fweimer@redhat.com>
31896 * malloc/arena.c (__malloc_fork_lock_parent)
31897 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child)
31898 (next_env_entry, new_heap, heap_trim, arena_get2): Remove
31899 internal_function from defintions.
31900 * malloc/hooks.c (mem2mem_check, mem2chunk_check): Likewise.
31901 * malloc/malloc-internal.h (__malloc_fork_lock_parent)
31902 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Remove
31903 internal_function from declarations.
31904 * malloc/malloc.c (internal_function): Do not define.
31905 (mem2mem_check): Remove internal_function from declaration.
31906 (munmap_chunk, mremap_chunk): Remove internal_function.
31907 * malloc/mtrace.c (tr_where): Likewise.
31909 2017-08-31 Florian Weimer <fweimer@redhat.com>
31911 * include/rpc/pmap_clnt.h (__get_socket): Remove
31913 * sunrpc/auth_des.c (synchronize): Likewise.
31914 * sunrpc/auth_unix.c (marshal_new_auth): Likewise.
31915 * sunrpc/clnt_perr.c (auth_errmsg): Likewise.
31916 * sunrpc/des_impl.c (des_encrypt, des_set_key): Likewise.
31917 * sunrpc/key_call.c (key_call_keyenvoy, key_call_socket)
31918 (key_call): Likewise.
31919 * sunrpc/pm_getport.c (__get_socket): Likewise.
31920 * sunrpc/pmap_rmt.c (getbroadcastnets): Likewise.
31921 * sunrpc/svc_unix.c (makefd_xprt): Likewise.
31922 * sunrpc/svc_tcp.c (makefd_xprt): Likewise.
31923 * sunrpc/svcauth_des.c (cache_init, cache_spot, cache_ref)
31924 (invalidate): Likewise.
31925 * sunrpc/xcrypt.c (hexval, hex2bin, bin2hex): Likewise.
31926 * sunrpc/xdr_rec.c (fix_buf_size, skip_input_bytes, flush_out)
31927 (set_input_fragment, get_input_bytes): Likewise.
31929 2017-08-31 Florian Weimer <fweimer@redhat.com>
31931 * malloc/malloc.c (_int_free): Remove locked variable and related
31934 2017-08-31 H.J. Lu <hongjiu.lu@intel.com>
31937 * Makerules (build-module-helper-objlist): Filter out
31938 $(elf-objpfx)sofini.os.
31939 (build-shlib-objlist): Append $(elf-objpfx)sofini.os if it is
31942 2017-08-31 Florian Weimer <fweimer@redhat.com>
31944 * libio/fcloseall.c: Assume weak_alias is defined.
31945 * libio/feof.c: Likewise.
31946 * libio/fileno.c: Likewise.
31947 * libio/fileops.c: Assume _LIBC, errno, __set_errno are defined.
31948 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
31950 (_IO_file_open): Call __open directly.
31951 (_IO_new_file_sync): Assume ESPIPE is defined.
31952 (_IO_file_seekoff_maybe_mmap): Call __read directly.
31953 (_IO_new_file_write): Call __write directly.
31954 * libio/ftello.c (__ftello): Assume EIO, EOVERFLOW are defined.
31955 * libio/ftello64.c (__ftello64): Assume EIO is defined.
31956 * libio/genops.c: Assume _LIBC is defined.
31957 (save_for_backup): Remove internal_function.
31958 * libio/getc.c: Assume weak_alias is defined.
31959 * libio/getwc.c: Likewise.
31960 * libio/iofclose.c: Assume _LIBC is defined.
31961 * libio/iofdopen.c: Likewise.
31962 (_IO_fcntl): Remove macro definition.
31963 (_IO_new_fdopen): Assume F_GETFL, F_SETFL, O_ACCMODE are defined.
31964 Call __fcntl directly.
31965 * libio/iofflush.c: Assume weak_alias is defined.
31966 * libio/iofgetpos.c (_IO_new_fgetpos): Assume EIO, EOVERFLOW are
31968 * libio/iofgetpos64.c (_IO_new_fgetpos64): Assume EIO is defined.
31969 * libio/iofgets.c: Likewise.
31970 * libio/iofopen.c: Assume _LIBC is defined.
31971 * libio/iofopen64.c: Assume _LIBC, weak_alias are defined.
31972 * libio/iofputs.c: Assume weak_alias is defined.
31973 * libio/iofread.c: Likewise.
31974 * libio/iofsetpos.c (_IO_new_fsetpos): Assume EIO is defined.
31975 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
31976 * libio/ioftell.c: Assume weak_alias is defined.
31977 (_IO_ftell): Assume EIO, EOVERFLOW are defined.
31978 * libio/iofwide.c: Assume _LIBC is defined.
31979 (_IO_fwide): Drop SHARED conditional because it is implied by
31981 * libio/iofwrite.c: Assume weak_alias is defined.
31982 * libio/iogetdelim.c: Likewise.
31983 * libio/iogets.c: Assume _LIBC, weak_alias are defined.
31984 * libio/iogetwline.c (wmemcpy): Remove macro definition.
31985 (_IO_getwline): Call __wmemcpy directly.
31986 * libio/iopopen.c: Assume _LIBC is defined.
31987 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
31988 (_IO_close): Remove macro definitions.
31989 (_IO_new_proc_open): Call __fork, __dup2, __close_nocancel, execl,
31991 (_IO_new_proc_close): Call __close_nocancel, __waitpid_nocancel
31993 * libio/ioputs.c: Assume weak_alias is defined.
31994 * libio/ioseekoff.c: Assume errno, __set_errno are defined.
31995 * libio/iosetbuffer.c: Assume weak_alias is defined.
31996 * libio/iosetvbuf.c: Likewise.
31997 * libio/ioungetc.c: Likewise.
31998 * libio/libioP.h: Assume _LIBC, __GLIBC__, libc_hidden_proto,
31999 libc_hidden_def, libc_hidden_weak, NULL are defined.
32000 (mmap, munmap, ftruncate, OS_FSTAT): Remove macro definitions.
32001 * libio/oldfilepos.c: Assume _LIBC, errno, __set_errno are
32003 (_POSIX_SOURCE, open, lseek, read, write): Remove macro
32005 (_IO_old_file_init_internal): Drop SHARED conditional because it
32006 is implied by SHLIB_COMPAT.
32007 (_IO_old_file_fopen): Call __open directly.
32008 (_IO_old_file_sync): Assume ESPIPE is defined.
32009 (_IO_old_file_write): Call __write directly.
32010 * libio/oldfdopen.c (_IO_fcntl): Remove macro definition.
32011 (_IO_old_fdopen): Assume F_GETFL, O_ACCMODE, F_SETFL are defined.
32012 Call __fcntl directly.
32013 * libio/oldiofgetpos.c: Assume weak_alias is defined.
32014 (_IO_old_fgetpos): Assume EIO is defined.
32015 * libio/oldiofgetpos64.c: Assume weak_alias is defined.
32016 (_IO_old_fgetpos64): Assume EIO is defined.
32017 * libio/oldiofsetpos.c: Assume weak_alias is defined.
32018 (_IO_old_fsetpos): Assume EIO is defined.
32019 * libio/oldiofsetpos64.c: Assume weak_alias is defined.
32020 (_IO_old_fsetpos64): Assume EIO is defined.
32021 * libio/oldiopopen.c: Assume _LIBC is defined.
32022 (_POSIX_SOURCE, _IO_fork, _IO_dup2, _IO_waitpid, _IO_execl)
32023 (_IO_close): Remove macro definitions.
32024 (_IO_old_proc_open): Call __pipe, __close, __dup2, execl, _exit
32026 (_IO_old_proc_close): Call __close, __waitpid directly.
32027 * libio/put.c: Assume weak_alias is defined.
32028 * libio/stdfiles.c: Assume _LIBC is defined.
32029 * libio/stdio.c: Likewise.
32030 * libio/wfileops.c: Likewise.
32031 (_IO_wfile_sync): Assume ESPIPE is defined.
32032 * libio/wgenops.c: Assume _LIBC is defined.
32033 (save_for_wbackup): Remove internal_function.
32035 2017-08-31 Florian Weimer <fweimer@redhat.com>
32037 * malloc/malloc.c (top_check): Change return type to void. Remove
32039 * malloc/hooks.c (top_check): Likewise.
32040 (malloc_check, realloc_check, memalign_check): Adjust.
32042 2017-08-30 Joseph Myers <joseph@codesourcery.com>
32045 * sysdeps/arm/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32046 * sysdeps/generic/sys/ucontext.h: Add comment about use of struct
32047 sigcontext and namespace requirements.
32048 * sysdeps/i386/sys/ucontext.h: Do not include <bits/sigcontext.h>.
32049 * sysdeps/m68k/sys/ucontext.h: Likewise.
32050 * sysdeps/mips/sys/ucontext.h: Likewise. Include <bits/types.h>.
32051 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
32052 <bits/sigcontext.h>.
32053 (__ctx): Define earlier.
32054 (mcontext_t): Define structure contents rather than using struct
32056 * sysdeps/unix/sysv/linux/aarch64/ucontext_i.sym (oEXTENSION): Use
32057 __glibc_reserved1 instead of __reserved.
32058 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
32059 <bits/sigcontext.h>.
32060 (__ctx): Define earlier.
32061 (mcontext_t): Define structure contents rather than using struct
32063 * sysdeps/unix/sysv/linux/alpha/ucontext-offsets.sym: Use
32064 mcontext_t instead of struct sigcontext.
32065 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
32066 <bits/sigcontext.h>.
32067 (__ctx): Define earlier.
32068 (mcontext_t): Define structure contents rather than using struct
32070 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
32071 <bits/sigcontext.h>.
32072 (__ctx): Define earlier.
32073 (mcontext_t): Define structure contents rather than using struct
32075 * sysdeps/unix/sysv/linux/ia64/makecontext.c (__makecontext): Use
32076 mcontext_t instead of struct sigcontext.
32077 * sysdeps/unix/sysv/linux/ia64/sigcontext-offsets.sym: Use
32078 mcontext_t instead of struct sigcontext.
32079 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
32080 <bits/sigcontext.h>.
32081 (__ctx): New macro.
32082 (struct __ia64_fpreg_mcontext): New type.
32083 (mcontext_t): Define structure contents rather than using struct
32085 (_SC_GR0_OFFSET): Use mcontext_t instead of struct sigcontext.
32086 (uc_sigmask): Define using __ctx.
32087 (uc_stack): Likewise.
32088 * sysdeps/unix/sysv/linux/ia64/sys/procfs.h: Include
32089 <bits/sigcontext.h>.
32090 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32091 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
32092 <bits/sigcontext.h>.
32093 * sysdeps/unix/sysv/linux/microblaze/sys/ucontext.h: New file.
32094 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
32095 <bits/sigcontext.h>.
32096 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
32097 <bits/sigcontext.h>.
32098 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
32099 <bits/sigcontext.h>.
32100 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
32101 <bits/sigcontext.h>.
32102 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
32103 <bits/sigcontext.h>.
32104 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
32105 <bits/sigcontext.h>.
32106 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
32107 <bits/sigcontext.h>.
32108 (__ctx): Define earlier.
32109 (mcontext_t): Define structure contents rather than using struct
32111 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
32112 <bits/sigcontext.h>. Include <bits/types.h>.
32113 * conform/Makefile (test-xfail-XPG42/signal.h/conform): Remove.
32114 (test-xfail-XPG42/sys/wait.h/conform): Likewise.
32115 (test-xfail-XPG42/ucontext.h/conform): Likewise.
32116 (test-xfail-UNIX98/signal.h/conform): Likewise.
32117 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
32118 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
32119 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
32120 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
32121 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
32122 (test-xfail-POSIX2008/signal.h/conform): Likewise.
32123 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
32124 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
32125 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
32127 2017-08-30 Florian Weimer <fweimer@redhat.com>
32129 * malloc/dynarray_emplace_enlarge.c
32130 (__libc_dynarray_emplace_enlarge): Set errno on overflow.
32131 * malloc/dynarray_resize.c (__libc_dynarray_resize): Likewise.
32132 * malloc/tst-dynarray.c (test_long_overflow): New function.
32133 (do_test): Call it.
32135 2017-08-30 Florian Weimer <fweimer@redhat.com>
32137 * malloc/malloc.c (ARENA_CORRUPTION_BIT, arena_is_corrupt)
32138 (set_arena_corrupt): Remove definitions.
32139 (mtrim): Do not check for corrupt arena.
32140 * malloc/arena.c (arena_lock, reused_arena, arena_get_retry):
32143 2017-08-30 Florian Weimer <fweimer@redhat.com>
32146 * malloc/arena.c (TUNABLE_CALLBACK set_mallopt_check): Do not set
32148 (ptmalloc_init): Do not set or use check_action.
32149 * malloc/hooks.c (malloc_check_get_size, realloc_check): Adjust
32150 call to malloc_printerr. Remove return statement.
32151 (free_check): Likewise. Remove arena unlock.
32152 (top_check): Update comment. Adjust call to malloc_printerr.
32153 Remove heap repair code.
32154 * malloc/malloc.c (unlink): Adjust calls to malloc_printerr.
32155 (DEFAULT_CHECK_ACTION, check_action): Remove definitions.
32156 (sysmalloc): Adjust call to malloc_printerr.
32157 (munmap_chunk, __libc_realloc): Likewise. Remove return
32159 (_int_malloc, int_realloc): Likewise. Remove errstr variable.
32160 Remove errout label and corresponding gotos.
32161 (_int_free): Likewise. Remove arena unlock.
32162 (do_set_mallopt_check): Do not set check_action.
32163 (malloc_printerr): Adjust parameter list. Do not mark arena as
32165 * manual/memory.texi (Malloc Tunable Parameters): Remove TODO
32167 * manual/probes.texi (Memory Allocation Probes): Remove
32168 memory_mallopt_check_action.
32170 2017-08-30 Steve Ellcey <sellcey@cavium.com>
32172 * sysdeps/unix/sysv/linux/aarch64/makecontext.c (__makecontext):
32173 Use pointer to uint64_t instead of long int for sp.
32175 2017-08-30 Florian Weimer <fweimer@redhat.com>
32178 * malloc/malloc.c (malloc_printerr): Always terminate the process,
32179 without printing a backtrace. Do not leak any information in the
32181 * manual/memory.texi (Heap Consistency Checking): Update.
32182 * manual/tunables.texi (Memory Allocation Tunables): Likewise.
32184 2017-08-30 Florian Weimer <fweimer@redhat.com>
32186 Do not scale NPTL tests with available number of CPUs.
32187 * nptl/tst-cond16.c (count): Set to constant value of 8.
32188 * nptl/tst-cond18.c (count): Likewise.
32190 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32193 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h (__inline_functions):
32194 Define to take a second argument that is a macro that
32195 concatentates a suffix, not the suffix itself.
32196 (__CONCAT_d): New macro.
32197 (__CONCAT_f): Likewise.
32198 (__CONCAT_l): Likewise.
32200 2017-08-29 Paul Pluzhnikov <ppluzhnikov@google.com>
32202 * stdlib/tst-atexit-common.c (do_test): Test handler inheritance
32205 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32206 Aurelien Jarno <aurelien@aurel32.net>
32207 Maciej W. Rozycki <macro@imgtec.com>
32210 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Makefile
32211 [subdir = misc] (sysdep_routines): Remove `mips16-syscall5',
32212 `mips16-syscall6' and `mips16-syscall7'.
32213 (CFLAGS-mips16-syscall5.c, CFLAGS-mips16-syscall6.c)
32214 (CFLAGS-mips16-syscall7.c): Remove.
32215 * sysdeps/unix/sysv/linux/mips/mips32/mips16/Versions (libc):
32216 Remove `__mips16_syscall5', `__mips16_syscall6' and
32217 `__mips16_syscall7'.
32218 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall0.c
32219 (__mips16_syscall0): Rename `__mips16_syscall_return' to
32220 `__mips_syscall_return'.
32221 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall1.c
32222 (__mips16_syscall1): Likewise.
32223 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall2.c
32224 (__mips16_syscall2): Likewise.
32225 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall3.c
32226 (__mips16_syscall3): Likewise.
32227 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall4.c
32228 (__mips16_syscall4): Likewise.
32229 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall5.c:
32231 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall6.c:
32233 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall7.c:
32235 * sysdeps/unix/sysv/linux/mips/mips32/mips16/mips16-syscall.h
32236 (__mips16_syscall5): Expand to `__mips_syscall5' rather than
32237 `__mips16_syscall5'. Remove prototype.
32238 (__mips16_syscall6): Expand to `__mips_syscall6' rather than
32239 `__mips16_syscall6'. Remove prototype.
32240 (__mips16_syscall7): Expand to `__mips_syscall7' rather than
32241 `__mips16_syscall7'. Remove prototype.
32242 (__nomips16, __mips16_syscall_return): Move to...
32243 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h
32244 (__nomips16, __mips_syscall_return): ... here.
32245 [__mips16] (INTERNAL_SYSCALL_NCS): Rename
32246 `__mips16_syscall_return' to `__mips_syscall_return'.
32247 [__mips16] (INTERNAL_SYSCALL_MIPS16): Pass `number' to
32248 `internal_syscall##nr'.
32249 [!__mips16] (INTERNAL_SYSCALL): Pass `SYS_ify (name)' to
32250 `internal_syscall##nr'.
32251 (FORCE_FRAME_POINTER): Remove.
32252 (__mips_syscall5): New prototype.
32253 (internal_syscall5): Rewrite to call `__mips_syscall5'.
32254 (__mips_syscall6): New prototype.
32255 (internal_syscall6): Rewrite to call `__mips_syscall6'.
32256 (__mips_syscall7): New prototype.
32257 (internal_syscall7): Rewrite to call `__mips_syscall7'.
32258 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall5.S: New file.
32259 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall6.S: New file.
32260 * sysdeps/unix/sysv/linux/mips/mips32/mips-syscall7.S: New file.
32261 * sysdeps/unix/sysv/linux/mips/mips32/Makefile [subdir = misc]
32262 (sysdep_routines): Add libc-do-syscall.
32263 * sysdeps/unix/sysv/linux/mips/mips32/Versions (libc): Add
32264 `__mips_syscall5', `__mips_syscall6' and `__mips_syscall7'.
32266 2017-08-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32269 * nptl/allocatestack.c [_STACK_GROWS_DOWN] (setup_stack_prot):
32270 Set to use !NEED_SEPARATE_REGISTER_STACK as well.
32271 (advise_stack_range): New function.
32272 * nptl/pthread_create.c (START_THREAD_DEFN): Move logic to mark
32273 stack non required to advise_stack_range at allocatestack.c
32275 2017-08-29 Szabolcs Nagy <szabolcs.nagy@arm.com>
32277 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Use __uint64_t.
32279 2017-08-29 Florian Weimer <fweimer@redhat.com>
32282 * iconv/gconv_db.c (gen_steps): Decrement step_cnt after resetting
32283 __end_fct. Mangle __end_fct after setting it to NULL.
32284 * iconv/Makefile (tests): Add tst-gconv-init-failure.
32285 (modules-names, modules-names-tests): Add
32286 tst-gconv-init-failure-mod.
32287 (gconv-modules): New target.
32288 (tst-gconv-init-failure-mod.so): Link against libsupport.
32289 (tst-gconv-init-failure): Depend on gconv-modules,
32290 tst-gconv-init-failure-mod.so.
32291 * iconv/tst-gconv-init-failure-mod.c: New file.
32292 * iconv/tst-gconv-init-failure.c: Likewise.
32293 * iconv/test-gconv-modules: Likewise.
32295 2017-08-29 Florian Weimer <fweimer@redhat.com>
32298 * iconv/gconv_db.c (free_derivation): Remove redundant
32300 (gen_steps): Unconditionally mangle __btowc_fct after
32302 (increment_counter): Likewise. Do not call init_fct for internal
32305 2017-08-29 Joseph Myers <joseph@codesourcery.com>
32308 * math/math.h [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32309 (_MSUF_): Remove macro.
32310 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (_MSUFTO_):
32312 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0]
32313 (__REDIRFROM_X): New macro.
32314 [__FINITE_MATH_ONLY__ && __FINITE_MATH_ONLY__ > 0] (__REDIRTO_X):
32316 * math/bits/math-finite.h (__REDIRFROM_X): Remove macro.
32317 (__REDIRTO_X): Likewise.
32318 (__MATH_REDIRCALL): Do not pass _MSUF_ or _MSUFTO_ macro
32320 (__MATH_REDIRCALL_2): Likewise.
32321 (__MATH_REDIRCALL_INTERNAL): Likewise.
32322 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32323 (__REDIRFROM (gamma, , _MSUF_)): Likweise.
32324 (__REDIRFROM (__gamma, _r_finite, _MSUF_)): Likewise.
32325 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32326 * math/test-finite-macros.c: New file.
32327 * math/Makefile (tests): Add test-finite-macros.
32328 (CFLAGS-test-finite-macros.c): New variable.
32330 2017-08-29 Patsy Franklin <pfrankli@redhat.com>
32331 Jeff Law <law@redhat.com>
32334 Mangle NULL pointers in iconv/gconv.
32335 * iconv/gconv_cache.c (find_module): Demangle init_fct before
32336 checking for NULL. Mangle __btowc_fct if init_fct is non-NULL.
32337 * iconv/gconv_db.c (free_derivation): Check that __shlib_handle
32338 is non-NULL before demangling the end_fct. Check for NULL
32339 end_fct after demangling.
32340 (__gconv_release_step): Demangle the end_fct before checking
32341 it for NULL. Remove assert on __shlibc_handle != NULL.
32342 (gen_steps): Don't check btowc_fct for NULL before mangling.
32343 Demangle init_fct before checking for NULL.
32344 (increment_counter): Likewise.
32345 * gconv_dl.c (__gconv_find_shlib): Don't check init_fct or
32346 end_fct for NULL before mangling.
32347 * wcsmbs/btowc.c (__btowc): Demangle btowc_fct before checking
32350 2017-08-29 Akhilesh Kumar <akhilesh.k@samsung.com>
32353 * locale/iso-639.def: add Morisyen.
32355 2017-08-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32358 * math/math.h [defined __cplusplus && defined __SUPPORT_SNAN__]
32359 (iszero): New C++ implementation that does not use
32360 fpclassify/__MATH_TG/__builtin_types_compatible_p, when
32361 signaling nans are enabled, since __builtin_types_compatible_p
32362 is a C-only feature.
32363 * math/test-math-iszero.cc: When __HAVE_DISTINCT_FLOAT128 is
32364 defined, include ieee754_float128.h for access to the union and
32365 member ieee854_float128.ieee.
32366 [__HAVE_DISTINCT_FLOAT128] (do_test): Call check_float128.
32367 [__HAVE_DISTINCT_FLOAT128] (check_float128): New function.
32368 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32369 (CXXFLAGS-test-math-iszero.cc): Add -mfloat128 to the build
32370 options of test-math-zero on powerpc64le.
32372 2017-08-28 H.J. Lu <hongjiu.lu@intel.com>
32374 * sysdeps/x86_64/fpu/multiarch/e_expf.c (__redirect_ieee754_expf):
32375 Change double to float.
32377 2017-08-28 Joseph Myers <joseph@codesourcery.com>
32379 * math/math-svid-compat.h [!__ASSEMBLER__]: Make code
32381 * sysdeps/ieee754/s_lib_version.c [!defined SHARED]: Remove
32382 conditional code; define contents only for [LIBM_SVID_COMPAT].
32384 2017-08-28 Florian Weimer <fweimer@redhat.com>
32386 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-options)
32387 (abi-lp64_be-options): Remove.
32388 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-options)
32389 (abi-hard-options): Likewise.
32390 * sysdeps/unix/sysv/linux/mips/Makefile(abi-o32_soft-options)
32391 (abi-o32_hard-options, abi-o32_soft_2008-options)
32392 (abi-o32_hard_2008-options, abi-n32_soft-options)
32393 (abi-n32_hard-options, abi-n32_soft_2008-options)
32394 (abi-n32_hard_2008-options, abi-n64_soft-options)
32395 (abi-n64_hard-options, abi-n64_soft_2008-options)
32396 (abi-n64_hard_2008-options): Likewise.
32397 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-32-options)
32398 (abi-64-v1-options, abi-64-v2-options): Likewise.
32399 * sysdeps/unix/sysv/linux/s390/Makefile (abi-32-options)
32400 (abi-64-options): Likewise.
32401 * sysdeps/unix/sysv/linux/sparc/Makefile (abi-32-options)
32402 (abi-64-options): Likewise.
32403 * sysdeps/unix/sysv/linux/tile/tilegx/Makefile (abi-32-options)
32404 (abi-64-options): Likewise.
32405 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-options)
32406 (abi-64-options, abi-x32-options): Likewise.
32408 2017-08-28 Florian Weimer <fweimer@redhat.com>
32410 Store supported list of SYS_* system calls in the source tree.
32411 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = misc]
32412 (bits/syscall.h): Generate from list file.
32413 [$(subdir) = misc] (before-compile): Add bits/syscall.h.
32414 [$(subdir) = misc] (tests): Add tst-syscall-list.
32415 [$(subdir) = misc] (tests-special): Add tst-syscall-list.out
32416 [$(subdir) = misc] (tst-syscall-list-macros.list)
32417 [$(subdir) = misc] (tst-syscall-list-nr.list)
32418 (tst-syscall-list-sys.list): Helper targets for new
32419 tst-syscall-list test.
32420 [$(subdir) = misc] (tst-syscall-list.out): Run test script
32421 tst-syscall-list.sh.
32422 [$(subdir) = misc] (bits/syscall%h, bits/syscall%d): Remove
32423 target. Do not include bits/syscall.d.
32424 [$(subdir) = misc] (generated): Do not update.
32425 * sysdeps/unix/sysv/linux/syscall-names.list: New file.
32426 * sysdeps/unix/sysv/linux/gen-syscall-h.awk: Likewise.
32427 * sysdeps/unix/sysv/linux/filter-nr-syscalls.awk: Likewise.
32428 * sysdeps/unix/sysv/linux/tst-syscall-list.sh: Likewise.
32430 2017-08-27 Paul Pluzhnikov <ppluzhnikov@google.com>
32432 * stdlib/Makefile (tst-atexit, tst-at_quick_exit): New tests.
32433 (tst-cxa_atexit, tst-on_exit): Likewise.
32434 * stdlib/Makefile (tests): Add tst-atexit, tst-at_quick_exit,
32435 tst-cxa_atexit, and tst-on_exit.
32436 * stdlib/tst-atexit-common.c: New file.
32437 * stdlib/tst-atexit.c: New file.
32438 * stdlib/tst-at_quick_exit.c: New file.
32439 * stdlib/tst-cxa_atexit.c: New file.
32440 * stdlib/tst-on_exit.c: New file.
32442 2017-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
32444 * sysdeps/mach/hurd/bits/sysmacros.h: New file.
32445 * mach/stack_chk_fail_local.c: New file.
32446 * hurd/stack_chk_fail_local.c: New file.
32447 * mach/Machrules ($(interface-library)-routines): Add
32448 stack_chk_fail_local.
32449 * mach/Makefile (CFLAGS-mach_init.o, CFLAGS-RPC_vm_statistics.o,
32450 CFLAGS-RPC_vm_map.o, CFLAGS-RPC_vm_protect.o,
32451 CFLAGS-RPC_i386_set_gdt.o, CFLAGS-RPC_i386_set_ldt.o,
32452 CFLAGS-RPC_task_get_special_port.o): Add $(no-stack-protector).
32453 * hurd/Makefile (CFLAGS-hurdstartup.o,
32454 CFLAGS-RPC_exec_startup_get_info.o): Add $(no-stack-protector).
32456 2017-08-25 H.J. Lu <hongjiu.lu@intel.com>
32458 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
32459 (index_cpu_*, index_arch_*): Removed.
32461 2017-08-25 Szabolcs Nagy <szabolcs.nagy@arm.com>
32463 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (elf_greg_t):
32464 Use uint64_t instead of unsigned long.
32466 2017-08-25 Joseph Myers <joseph@codesourcery.com>
32468 * math/tgmath.h [__HAVE_FLOAT128]: Change conditional to
32469 [__HAVE_DISTINCT_FLOAT128].
32471 * math/math.h (_MSUFTO_): Define and undefine for each inclusion
32472 of <bits/math-finite.h>.
32473 (__MATH_DECLARING_LDOUBLE): Do not define and undefine for each
32474 inclusion of <bits/math-finite.h>.
32475 * math/bits/math-finite.h (__REDIRTO_X): Do not define
32476 conditionally on [__MATH_DECLARING_LDOUBLE && defined
32477 __NO_LONG_DOUBLE_MATH].
32478 (__MATH_REDIRCALL): Use _MSUFTO_ in __REDIRTO call.
32479 (__MATH_REDIRCALL_2): Likewise.
32480 (__MATH_REDIRCALL_INTERNAL): Likewise.
32481 (__REDIRFROM (lgamma, , _MSUF_)): Likewise.
32482 (__REDIRFROM (gamma, , _MSUF_)): Likewise.
32483 (__REDIRFROM (tgamma, , _MSUF_)): Likewise.
32485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
32487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
32489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
32491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
32493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
32495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
32497 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
32498 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
32499 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
32500 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
32501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
32502 (libm-sysdep-routines): Remove w_sqrt_compat-power5,
32503 w_sqrt_compat-ppc32, w_sqrtf_compat-power5 and
32504 w_sqrtf_compat-ppc32.
32506 2017-08-24 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32508 * math/math.h [defined __cplusplus] (issignaling): In the long
32509 double case, call __issignalingl only if __NO_LONG_DOUBLE_MATH
32510 is not defined. Call __issignaling, otherwise.
32512 2017-08-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32514 * sysdeps/unix/make-syscalls.sh: Remove cancellable tagging for
32515 syscall definitions and replace __builtin_expect with __glibc_likely.
32516 * sysdeps/unix/syscall-template.S: Update comment about cancellable
32518 (SYSCALL_CANCELLABLE): Removedefinition
32519 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h (PSEUDO): Remove
32521 (PSEUDO_END): Likewise.
32522 [IS_IN (libpthread)] (CENABLE): Likewise.
32523 [IS_IN (libpthread)] (CDISABLE): Likewise.
32524 [IS_IN (libc)] (CENABLE): Likewise.
32525 [IS_IN (libc)] (CENABLE): Likewise.
32526 [IS_IN (librt)] (CDISABLE): Likewise.
32527 [IS_IN (librt)] (CDISABLE): Likewise.
32528 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32529 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h (PSEUDO): Remove
32531 (PSEUDO_END): Likewise.
32532 [IS_IN (libpthread)] (__local_enable_asynccancel): Likewise.
32533 [IS_IN (libpthread)] (__local_disable_asynccancel): Likewise.
32534 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32535 [IS_IN (libc)] (__local_enable_asynccancel): Likewise.
32536 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32537 [IS_IN (librt)] (__local_disable_asynccancel): Likewise.
32538 (CENABLE): Likewise.
32539 (CDISABLE): Likewise.
32540 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32541 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h (PSEUDO): Remove
32543 (PSEUDO_END): Likewise.
32544 [IS_IN (libpthread)] (CENABLE): Likewise.
32545 [IS_IN (libpthread)] (CDISABLE): Likewise.
32546 [IS_IN (libc)] (CENABLE): Likewise.
32547 [IS_IN (libc)] (CENABLE): Likewise.
32548 [IS_IN (librt)] (CDISABLE): Likewise.
32549 [IS_IN (librt)] (CDISABLE): Likewise.
32550 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32551 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h (PSEUDO): Remove
32553 (PSEUDO_END): Likewise.
32554 [IS_IN (libpthread)] (CENABLE): Likewise.
32555 [IS_IN (libpthread)] (CDISABLE): Likewise.
32556 [IS_IN (libc)] (CENABLE): Likewise.
32557 [IS_IN (libc)] (CENABLE): Likewise.
32558 [IS_IN (librt)] (CDISABLE): Likewise.
32559 [IS_IN (librt)] (CDISABLE): Likewise.
32560 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32561 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h (PSEUDO): Remove
32563 (PSEUDO_END): Likewise.
32564 [IS_IN (libpthread)] (CENABLE): Likewise.
32565 [IS_IN (libpthread)] (CDISABLE): Likewise.
32566 [IS_IN (libc)] (CENABLE): Likewise.
32567 [IS_IN (libc)] (CENABLE): Likewise.
32568 [IS_IN (librt)] (CDISABLE): Likewise.
32569 [IS_IN (librt)] (CDISABLE): Likewise.
32570 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32571 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Remove
32573 (PSEUDO_END): Likewise.
32574 [IS_IN (libpthread)] (CENABLE): Likewise.
32575 [IS_IN (libpthread)] (CDISABLE): Likewise.
32576 [IS_IN (libc)] (CENABLE): Likewise.
32577 [IS_IN (libc)] (CENABLE): Likewise.
32578 [IS_IN (librt)] (CDISABLE): Likewise.
32579 [IS_IN (librt)] (CDISABLE): Likewise.
32580 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32581 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h (PSEUDO): Remove
32583 (PSEUDO_END): Likewise.
32584 [IS_IN (libpthread)] (CENABLE): Likewise.
32585 [IS_IN (libpthread)] (CDISABLE): Likewise.
32586 [IS_IN (libc)] (CENABLE): Likewise.
32587 [IS_IN (libc)] (CENABLE): Likewise.
32588 [IS_IN (librt)] (CDISABLE): Likewise.
32589 [IS_IN (librt)] (CDISABLE): Likewise.
32590 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32591 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h (PSEUDO): Remove
32593 (PSEUDO_END): Likewise.
32594 [IS_IN (libpthread)] (CENABLE): Likewise.
32595 [IS_IN (libpthread)] (CDISABLE): Likewise.
32596 [IS_IN (libc)] (CENABLE): Likewise.
32597 [IS_IN (libc)] (CENABLE): Likewise.
32598 [IS_IN (librt)] (CDISABLE): Likewise.
32599 [IS_IN (librt)] (CDISABLE): Likewise.
32600 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32601 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h (PSEUDO):
32603 (PSEUDO_END): Likewise.
32604 [IS_IN (libpthread)] (CENABLE): Likewise.
32605 [IS_IN (libpthread)] (CDISABLE): Likewise.
32606 [IS_IN (libc)] (CENABLE): Likewise.
32607 [IS_IN (libc)] (CENABLE): Likewise.
32608 [IS_IN (librt)] (CDISABLE): Likewise.
32609 [IS_IN (librt)] (CDISABLE): Likewise.
32610 (SINGLE_THREAD_P): Likewise.
32611 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h (PSEUDO): Remove
32613 (PSEUDO_END): Likewise.
32614 [IS_IN (libpthread)] (CENABLE): Likewise.
32615 [IS_IN (libpthread)] (CDISABLE): Likewise.
32616 [IS_IN (libc)] (CENABLE): Likewise.
32617 [IS_IN (libc)] (CENABLE): Likewise.
32618 [IS_IN (librt)] (CDISABLE): Likewise.
32619 [IS_IN (librt)] (CDISABLE): Likewise.
32620 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32621 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h (PSEUDO): Remove
32623 (PSEUDO_END): Likewise.
32624 [IS_IN (libpthread)] (CENABLE): Likewise.
32625 [IS_IN (libpthread)] (CDISABLE): Likewise.
32626 [IS_IN (libc)] (CENABLE): Likewise.
32627 [IS_IN (libc)] (CENABLE): Likewise.
32628 [IS_IN (librt)] (CDISABLE): Likewise.
32629 [IS_IN (librt)] (CDISABLE): Likewise.
32630 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32631 * sysdeps/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Remove file.
32632 * sysdeps/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
32633 * sysdeps/unix/sysv/linux/powerpc/sysdep-cancel.h: New file.
32634 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h (PSEUDO): Remove
32636 (PSEUDO_END): Likewise.
32637 [IS_IN (libpthread)] (CENABLE): Likewise.
32638 [IS_IN (libpthread)] (CDISABLE): Likewise.
32639 [IS_IN (libc)] (CENABLE): Likewise.
32640 [IS_IN (libc)] (CENABLE): Likewise.
32641 [IS_IN (librt)] (CDISABLE): Likewise.
32642 [IS_IN (librt)] (CDISABLE): Likewise.
32643 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32644 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h (PSEUDO): Remove
32646 (PSEUDO_END): Likewise.
32647 [IS_IN (libpthread)] (CENABLE): Likewise.
32648 [IS_IN (libpthread)] (CDISABLE): Likewise.
32649 [IS_IN (libc)] (CENABLE): Likewise.
32650 [IS_IN (libc)] (CENABLE): Likewise.
32651 [IS_IN (librt)] (CDISABLE): Likewise.
32652 [IS_IN (librt)] (CDISABLE): Likewise.
32653 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32654 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h (PSEUDO): Remove
32656 (PSEUDO_END): Likewise.
32657 [IS_IN (libpthread)] (CENABLE): Likewise.
32658 [IS_IN (libpthread)] (CDISABLE): Likewise.
32659 [IS_IN (libc)] (CENABLE): Likewise.
32660 [IS_IN (libc)] (CENABLE): Likewise.
32661 [IS_IN (librt)] (CDISABLE): Likewise.
32662 [IS_IN (librt)] (CDISABLE): Likewise.
32663 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Remove file.
32665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
32666 * sysdeps/unix/sysv/linux/sparc/sysdep-cancel.h: New file.
32667 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h (PSEUDO): Remove
32669 (PSEUDO_END): Likewise.
32670 [IS_IN (libpthread)] (CENABLE): Likewise.
32671 [IS_IN (libpthread)] (CDISABLE): Likewise.
32672 [IS_IN (libc)] (CENABLE): Likewise.
32673 [IS_IN (libc)] (CENABLE): Likewise.
32674 [IS_IN (librt)] (CDISABLE): Likewise.
32675 [IS_IN (librt)] (CDISABLE): Likewise.
32676 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32677 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h (PSEUDO): Remove
32679 (PSEUDO_END): Likewise.
32680 [IS_IN (libpthread)] (CENABLE): Likewise.
32681 [IS_IN (libpthread)] (CDISABLE): Likewise.
32682 [IS_IN (libc)] (CENABLE): Likewise.
32683 [IS_IN (libc)] (CENABLE): Likewise.
32684 [IS_IN (librt)] (CDISABLE): Likewise.
32685 [IS_IN (librt)] (CDISABLE): Likewise.
32686 [__ASSEMBLER__] (SINGLE_THREAD_P): Likewise.
32688 2017-08-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
32690 * sysdeps/ieee754/dbl-64/Makefile: Don't override CFLAGS.
32692 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32694 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32696 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32699 * string/stratcliff.c (do_test): Declare size, nchars, inner,
32700 middle and outer with size_t instead of int. Repleace %d and
32701 %Zd with %zu in printf. Update "MAX (0, nchars - 128)" and
32702 "MAX (outer, nchars - 64)" to support unsigned outer and
32703 nchars. Also exit loop when outer == 0.
32705 2017-08-23 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32707 * include/fcntl.h (__fcntl_nocancel): Remove definition.
32708 * include/signal.h (__sigsuspend_nocancel): Likewise.
32709 * include/time.h (__nanosleep_nocancel): Likewise.
32710 * sysdeps/generic/not-cancel.h (__fcntl_nocancel): New macro.
32711 * login/utmp_file.c: Include non cancellable syscall header.
32712 * sysdeps/unix/sysv/linux/not-cancel.h (__fcntl_nocancel): New
32715 2017-08-23 H.J. Lu <hongjiu.lu@intel.com>
32717 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Replace AVX512F
32718 .byte sequences with AVX512F instructions.
32719 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Likewise.
32720 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
32721 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
32722 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S:
32724 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
32727 2017-08-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
32728 Steve Ellcey <sellcey@cavium.com>
32730 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic):
32731 Use PTR_REG macro in cmp instruction.
32733 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32735 * include/libc-symbols.h: [!defined HAVE_GCC_IFUNC] (__ifunc):
32736 Change the return type of the ifunc resolver to match the return
32737 type of the target function.
32739 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32741 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pread64): Remove.
32742 (preadv64): Likewise.
32743 (pwrite64(: Likewise.
32744 (pwritev64): Likewise.
32746 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
32747 (INTERNAL_SYSCALL_NCS_TYPES): Remove define.
32748 (LOAD_ARGS_0): Likewise.
32749 (LOAD_ARGS_1): Likewise.
32750 (LOAD_ARGS_2): Likewise.
32751 (LOAD_ARGS_3): Likewise.
32752 (LOAD_ARGS_4): Likewise.
32753 (LOAD_ARGS_5): Likewise.
32754 (LOAD_ARGS_6): Likewise.
32755 (LOAD_REGS_0): Likewise.
32756 (LOAD_REGS_1): Likewise.
32757 (LOAD_REGS_2): Likewise.
32758 (LOAD_REGS_3): Likewise.
32759 (LOAD_REGS_4): Likewise.
32760 (LOAD_REGS_5): Likewise.
32761 (LOAD_REGS_6): Likewise.
32762 (ASM_ARGS_0): Likewise.
32763 (ASM_ARGS_1): Likewise.
32764 (ASM_ARGS_2): Likewise.
32765 (ASM_ARGS_3): Likewise.
32766 (ASM_ARGS_4): Likewise.
32767 (ASM_ARGS_5): Likewise.
32768 (ASM_ARGS_6): Likewise.
32769 (LOAD_ARGS_TYPES_1): Likewise.
32770 (LOAD_ARGS_TYPES_2): Likewise.
32771 (LOAD_ARGS_TYPES_3): Likewise.
32772 (LOAD_ARGS_TYPES_4): Likewise.
32773 (LOAD_ARGS_TYPES_5): Likewise.
32774 (LOAD_ARGS_TYPES_6): Likewise.
32775 (LOAD_REGS_TYPES_1): Likewise.
32776 (LOAD_REGS_TYPES_2): Likewise.
32777 (LOAD_REGS_TYPES_3): Likewise.
32778 (LOAD_REGS_TYPES_4): Likewise.
32779 (LOAD_REGS_TYPES_5): Likewise.
32780 (LOAD_REGS_TYPES_6): Likewise.
32781 (TYPEFY): New define.
32782 (ARGIFY): Likewise.
32783 (internal_syscall0): Likewise.
32784 (internal_syscall1): Likewise.
32785 (internal_syscall2): Likewise.
32786 (internal_syscall3): Likewise.
32787 (internal_syscall4): Likewise.
32788 (internal_syscall5): Likewise.
32789 (internal_syscall6): Likewise.
32790 * sysdeps/unix/sysv/linux/x86_64/x32/times.c
32791 (INTERNAL_SYSCALL_NCS): Remove define.
32792 (internal_syscall1): Add define.
32794 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32796 * math/w_remainder_compat.c: Remove duplicate inclusion of
32797 math-svid-compat.h.
32798 * math/w_remainderf_compat.c: Likewise.
32799 * math/w_remainderl_compat.c: Likewise.
32801 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32805 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32808 * math/tgmath.h (__floating_type): Simplify definitions.
32809 (__real_integer_type): New macro.
32810 (__complex_integer_type): Likewise.
32811 (__expr_is_real): Likewise.
32812 (__tgmath_real_type_sub): Update comment to describe handling of
32814 (__tgmath_complex_type_sub): New macro.
32815 (__tgmath_complex_type): Likewise.
32816 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
32817 (__TGMATH_CF128): Use __expr_is_real.
32818 (__TGMATH_UNARY_REAL_IMAG): Use __tgmath_complex_type and
32820 (__TGMATH_BINARY_REAL_IMAG): Likewise.
32821 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __expr_is_real.
32822 * math/gen-tgmath-tests.py (Type.create_type): Create complex
32825 2017-08-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32827 * sysdeps/generic/not-cancel.h (sigsuspend_not_cancel): Remove
32829 * sysdeps/mach/hurd/sigsuspend.c (sigsuspend_not_cancel): Remove
32831 * sysdeps/unix/sysv/linux/not-cancel.h (sigsuspend_not_cancel):
32834 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock): Replace
32835 nanosleep_not_cancel with __nanosleep_nocancel.
32836 * sysdeps/generic/not-cancel.h (nanosleep_not_cancel): Remove macro.
32837 (__nanosleep_nocancel): New macro.
32838 * sysdeps/unix/sysv/linux/nanosleep.c (__nanosleep_nocancel): New
32840 * sysdeps/unix/sysv/linux/not-cancel.h (nanosleep_not_cancel): Remove
32842 (__nanosleep_nocancel): New prototype.
32844 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Replace
32845 pause_not_cancel with __pause_nocancel.
32846 * sysdeps/generic/not-cancel.h (pause_not_cancel): Remove macro.
32847 (__pause_nocancel): New macro.
32848 * sysdeps/unix/sysv/linux/not-cancel.h (pause_not_cancel): Remove
32850 (__pause_nocancel): New prototype.
32851 * sysdeps/unix/sysv/linux/pause.c (__pause_nocancel): New function.
32853 2017-08-22 Martin Sebor <msebor@redhat.com>
32855 * include/libc-symbols.h (__ifunc_resolver): Declare resolver
32856 to return a pointer to the same type as the target function.
32858 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32862 * include/printf.h (__printf_fphex): Add attribute_hidden.
32863 (__guess_grouping): New prototype.
32864 * stdio-common/printf_fp.c (__guess_grouping): Removed.
32865 * stdio-common/reg-printf.c (__register_printf_specifier): Add
32866 libc_hidden_proto and libc_hidden_def.
32867 * stdlib/strfmon_l.c (__guess_grouping): Removed.
32868 (__vstrfmon_l): Remove the third argument passed to
32871 2017-08-22 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
32873 * math/math.h [defined __cplusplus] (issignaling): Provide a C++
32874 definition for issignaling that does not rely on __MATH_TG,
32875 since __MATH_TG uses __builtin_types_compatible_p, which is only
32876 available in C mode.
32877 (CFLAGS-test-math-issignaling.cc): New variable.
32878 * math/Makefile [CXX] (tests): Add test-math-issignaling.
32879 * math/test-math-issignaling.cc: New test for C++ implementation
32880 of type-generic issignaling.
32881 * sysdeps/powerpc/powerpc64le/Makefile [subdir == math]
32882 (CXXFLAGS-test-math-issignaling.cc): Add -mfloat128 to the build
32883 options of test-math-issignaling on powerpc64le.
32885 2017-08-22 H.J. Lu <hongjiu.lu@intel.com>
32887 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32889 (hidden_proto): Likewise.
32890 (hidden_tls_proto): Likewise.
32891 (__hidden_proto): Likewise.
32893 2017-08-22 Florian Weimer <fweimer@redhat.com>
32895 math: Statically link tests of internal functionality.
32896 * math/Makefile (tests): Remove atest-exp, atest-sincos,
32898 (tests-static): Add atest-exp, atest-sincos, atest-exp2.
32899 (gmp-objs): Remove assignment.
32900 (atest-exp, atest-sincos, atest-exp2): Remove targets.
32902 2017-08-22 Joseph Myers <joseph@codesourcery.com>
32905 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Remove file
32907 * sysdeps/unix/sysv/linux/sparc/sparc32/bits/long-double.h:
32909 * sysdeps/unix/sysv/linux/sparc/sparc64/bits/long-double.h:
32912 * assert/Makefile [$(have-cxx-thread_local)]: Move conditional
32913 variable definitions above inclusion of ../Rules.
32915 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32917 * sysdeps/ieee754/k_standard.c (__kernel_standard): Add default
32918 case calling __builtin_unreachable.
32920 2017-08-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
32922 * libio/ioopen.c (_IO_waitpid): Replace waitpid_not_cancel with
32923 __waitpid_nocancel.
32924 * sysdeps/generic/not-cancel.h (waitpid_not_cancel): Remove macro.
32925 (__waitpid_nocancel): New macro.
32926 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel): Remove
32928 (__waitpid_nocancel): Replace macro with a function.
32929 * sysdeps/unix/sysv/linux/waitpid.c (__waitpid_nocancel): New
32932 * login/utmp_file.c (timeout_handler): Replace fcntl_not_cancel with
32934 * sysdeps/generic/not-cancel.h (fcntl_not_cancel): Remove macro.
32935 * sysdeps/unix/sysv/linux/not-cancel.h (fcntl_not_cancel): Likewise.
32937 * gmon/gmon.c (write_hist): Replace writev_not_cancel_no_status with
32938 __writev_nocancel_nostatus.
32939 (write_call_graph): Likewise.
32940 (write_bb_counts): Likewise.
32941 * resolv/herror.c (herror): Likewise.
32942 * sysdeps/generic/not-cancel.h (writev_not_cancel_no_status): Remove
32944 (__writev_nocancel_nostatus): New macro.
32945 * sysdeps/unix/sysv/linux/not-cancel.h (writev_not_cancel_no_status):
32947 (__writev_nocancel_nostatus): New function.
32949 2017-08-21 Joseph Myers <joseph@codesourcery.com>
32952 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
32954 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
32956 (hidden_proto): Likewise.
32957 (hidden_tls_proto): Likewise.
32958 (__hidden_proto): Likewise.
32961 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Remove file.
32962 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
32963 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
32965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
32967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
32969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
32971 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S : Likewise.
32972 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
32973 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
32974 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
32975 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
32976 GLIBC_2.0 sqrtl symbol.
32978 * math/math.h [__USE_MISC] (_LIB_VERSION_TYPE): Remove.
32979 [__USE_MISC] (_LIB_VERSION): Likewise.
32980 [__USE_MISC] (struct exception): Likewise.
32981 [__USE_MISC] (matherr): Likewise.
32982 [__USE_MISC] (DOMAIN): Likewise.
32983 [__USE_MISC] (SING): Likewise.
32984 [__USE_MISC] (OVERFLOW): Likewise.
32985 [__USE_MISC] (UNDERFLOW): Likewise.
32986 [__USE_MISC] (TLOSS): Likewise.
32987 [__USE_MISC] (PLOSS): Likewise.
32988 [__USE_MISC] (HUGE): Likewise.
32989 [__USE_XOPEN] (MAXFLOAT): Define even if [__USE_MISC].
32990 * math/math-svid-compat.h: New file.
32991 * conform/linknamespace.pl (@whitelist): Remove matherr, matherrf
32993 * include/math.h [!_ISOMAC] (__matherr): Remove.
32994 * manual/arith.texi (FP Exceptions): Do not document matherr.
32995 * math/Makefile (tests): Change test-matherr to test-matherr-3.
32996 (tests-internal): New variable.
32997 (install-lib): Do not add libieee.a.
32998 (non-lib.a): Likewise.
32999 (extra-objs): Do not add libieee.a and ieee-math.o.
33000 (CPPFLAGS-s_lib_version.c): Remove variable.
33001 ($(objpfx)libieee.a): Remove rule.
33002 ($(addprefix $(objpfx), $(tests-internal)): Depend on $(libm).
33003 * math/ieee-math.c: Remove.
33004 * math/libm-test-support.c (matherr): Remove.
33005 * math/test-matherr.c: Use <support/test-driver.c>. Add copyright
33006 and license notices. Include <math-svid-compat.h> and
33008 (matherr): Undefine as macro. Use compat_symbol_reference.
33009 (_LIB_VERSION): Likewise.
33010 * math/test-matherr-2.c: New file.
33011 * math/test-matherr-3.c: Likewise.
33012 * sysdeps/generic/math_private.h (__kernel_standard): Remove
33014 (__kernel_standard_f): Likewise.
33015 (__kernel_standard_l): Likewise.
33016 * sysdeps/ieee754/s_lib_version.c: Do not include <math.h> or
33017 <math_private.h>. Include <math-svid-compat.h>.
33018 (_LIB_VERSION): Undefine as macro.
33019 (_LIB_VERSION_INTERNAL): Always initialize to _POSIX_. Define
33020 only if [LIBM_SVID_COMPAT || !defined SHARED]. If
33021 [LIBM_SVID_COMPAT], use compat_symbol.
33022 * sysdeps/ieee754/s_matherr.c: Do not include <math.h> or
33023 <math_private.h>. Include <math-svid-compat.h>.
33024 (matherr): Undefine as macro.
33025 (__matherr): Define only if [LIBM_SVID_COMPAT]. Use
33027 * sysdeps/ia64/fpu/libm_error.c: Include <math-svid-compat.h>.
33028 [_LIBC && LIBM_SVID_COMPAT] (matherrf): Use
33029 compat_symbol_reference.
33030 [_LIBC && LIBM_SVID_COMPAT] (matherrl): Likewise.
33031 [_LIBC && !LIBM_SVID_COMPAT] (matherrf): Define as macro.
33032 [_LIBC && !LIBM_SVID_COMPAT] (matherrl): Likewise.
33033 * sysdeps/ia64/fpu/libm_support.h: Include <math-svid-compat.h>.
33034 (MATHERR_D): Remove declaration.
33035 [!_LIBC] (_LIB_VERSION_TYPE): Likewise
33036 [!LIBM_BUILD] (_LIB_VERSIONIMF): Likewise.
33037 [LIBM_BUILD] (pmatherrf): Likewise.
33038 [LIBM_BUILD] (pmatherr): Likewise.
33039 [LIBM_BUILD] (pmatherrl): Likewise.
33040 (DOMAIN): Likewise.
33042 (OVERFLOW): Likewise.
33043 (UNDERFLOW): Likewise.
33046 * sysdeps/ia64/fpu/s_matherrf.c: Include <math-svid-compat.h>.
33047 (__matherrf): Define only if [LIBM_SVID_COMPAT]. Use
33049 * sysdeps/ia64/fpu/s_matherrl.c: Include <math-svid-compat.h>.
33050 (__matherrl): Define only if [LIBM_SVID_COMPAT]. Use
33052 * math/lgamma-compat.h: Include <math-svid-compat.h>.
33053 * math/w_acos_compat.c: Likewise.
33054 * math/w_acosf_compat.c: Likewise.
33055 * math/w_acosh_compat.c: Likewise.
33056 * math/w_acoshf_compat.c: Likewise.
33057 * math/w_acoshl_compat.c: Likewise.
33058 * math/w_acosl_compat.c: Likewise.
33059 * math/w_asin_compat.c: Likewise.
33060 * math/w_asinf_compat.c: Likewise.
33061 * math/w_asinl_compat.c: Likewise.
33062 * math/w_atan2_compat.c: Likewise.
33063 * math/w_atan2f_compat.c: Likewise.
33064 * math/w_atan2l_compat.c: Likewise.
33065 * math/w_atanh_compat.c: Likewise.
33066 * math/w_atanhf_compat.c: Likewise.
33067 * math/w_atanhl_compat.c: Likewise.
33068 * math/w_cosh_compat.c: Likewise.
33069 * math/w_coshf_compat.c: Likewise.
33070 * math/w_coshl_compat.c: Likewise.
33071 * math/w_exp10_compat.c: Likewise.
33072 * math/w_exp10f_compat.c: Likewise.
33073 * math/w_exp10l_compat.c: Likewise.
33074 * math/w_exp2_compat.c: Likewise.
33075 * math/w_exp2f_compat.c: Likewise.
33076 * math/w_exp2l_compat.c: Likewise.
33077 * math/w_fmod_compat.c: Likewise.
33078 * math/w_fmodf_compat.c: Likewise.
33079 * math/w_fmodl_compat.c: Likewise.
33080 * math/w_hypot_compat.c: Likewise.
33081 * math/w_hypotf_compat.c: Likewise.
33082 * math/w_hypotl_compat.c: Likewise.
33083 * math/w_j0_compat.c: Likewise.
33084 * math/w_j0f_compat.c: Likewise.
33085 * math/w_j0l_compat.c: Likewise.
33086 * math/w_j1_compat.c: Likewise.
33087 * math/w_j1f_compat.c: Likewise.
33088 * math/w_j1l_compat.c: Likewise.
33089 * math/w_jn_compat.c: Likewise.
33090 * math/w_jnf_compat.c: Likewise.
33091 * math/w_jnl_compat.c: Likewise.
33092 * math/w_lgamma_main.c: Likewise.
33093 * math/w_lgamma_r_compat.c: Likewise.
33094 * math/w_lgammaf_main.c: Likewise.
33095 * math/w_lgammaf_r_compat.c: Likewise.
33096 * math/w_lgammal_main.c: Likewise.
33097 * math/w_lgammal_r_compat.c: Likewise.
33098 * math/w_log10_compat.c: Likewise.
33099 * math/w_log10f_compat.c: Likewise.
33100 * math/w_log10l_compat.c: Likewise.
33101 * math/w_log2_compat.c: Likewise.
33102 * math/w_log2f_compat.c: Likewise.
33103 * math/w_log2l_compat.c: Likewise.
33104 * math/w_log_compat.c: Likewise.
33105 * math/w_logf_compat.c: Likewise.
33106 * math/w_logl_compat.c: Likewise.
33107 * math/w_pow_compat.c: Likewise.
33108 * math/w_powf_compat.c: Likewise.
33109 * math/w_powl_compat.c: Likewise.
33110 * math/w_remainder_compat.c: Likewise.
33111 * math/w_remainderf_compat.c: Likewise.
33112 * math/w_remainderl_compat.c: Likewise.
33113 * math/w_scalb_compat.c: Likewise.
33114 * math/w_scalbf_compat.c: Likewise.
33115 * math/w_scalbl_compat.c: Likewise.
33116 * math/w_sinh_compat.c: Likewise.
33117 * math/w_sinhf_compat.c: Likewise.
33118 * math/w_sinhl_compat.c: Likewise.
33119 * math/w_sqrt_compat.c: Likewise.
33120 * math/w_sqrtf_compat.c: Likewise.
33121 * math/w_sqrtl_compat.c: Likewise.
33122 * math/w_tgamma_compat.c: Likewise.
33123 * math/w_tgammaf_compat.c: Likewise.
33124 * math/w_tgammal_compat.c: Likewise.
33125 * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
33126 * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
33127 * sysdeps/ieee754/k_standard.c: Likewise.
33128 * sysdeps/ieee754/k_standardf.c: Likewise.
33129 * sysdeps/ieee754/k_standardl.c: Likewise.
33130 * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
33131 * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
33132 * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
33133 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
33134 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
33135 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
33136 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
33137 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
33138 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
33141 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
33143 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
33144 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
33145 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
33146 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
33148 2017-08-21 Florian Weimer <fweimer@redhat.com>
33151 Do not compile benchmark helper objects with -DMODULE_NAME=libc.
33152 * benchtests/Makefile (others-extras): Set to $(bench-extra-objs).
33153 Move before inclusion of ../Rules.
33155 2017-08-21 Florian Weimer <fweimer@redhat.com>
33158 * assert/assert.h (assert): Use static_cast (bool) for C++.
33159 Use the ternary operator in the warning branch for GNU C.
33160 * assert/Makefile (tests): Add tst-assert-c++, tst-assert-g++.
33161 (CFLAGS-tst-assert-c++.o): Compile in C++11 mode.
33162 (CFLAGS-tst-assert-g++.o): Compile in GnU C++11 mode.
33163 (LDLIBS-tst-assert-c++, LDLIBS-tst-assert-g++): Link with libstdc++.
33164 * assert/tst-assert-c++.cc, assert/tst-assert-g++.cc: New files.
33166 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33169 * sysdeps/unix/sysv/linux/x86_64/init-first.c
33170 (__syscall_clock_gettime): Add attribute_hidden.
33171 * sysdeps/unix/sysv/linux/x86_64/makecontext.c
33172 (__start_context): Likewise.
33174 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33176 * include/libc-symbols.h (__hidden_proto_hiddenattr): New for
33178 (hidden_proto): Likewise.
33179 (hidden_tls_proto): Likewise.
33180 (__hidden_proto): Likewise.
33182 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33184 * include/libc-symbols.h (attribute_hidden): Enable hidden
33185 visibility in libc.a compiled with PIE.
33187 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33190 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (VDSO_SYMBOL(getcpu)):
33191 Add attribute_hidden.
33193 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33196 * Makerules (all-nonlib): Add $(others-extras).
33197 * catgets/Makefile (others-extras): New.
33198 * elf/Makefile (others-extras): Likewise.
33199 * nss/Makefile (others-extras): Likewise.
33201 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33204 * csu/libc-start.c (__libc_multiple_libcs): Removed.
33205 * elf/dl-open.c: Include <libc-internal.h>.
33206 (__libc_multiple_libcs): Removed.
33207 * elf/dl-sysdep.c: Include <libc-internal.h> instead of
33209 * include/libc-internal.h (__libc_multiple_libcs): New.
33210 * misc/sbrk.c: Include <libc-internal.h>.
33211 (__libc_multiple_libcs): Removed.
33213 2017-08-21 H.J. Lu <hongjiu.lu@intel.com>
33216 * grp/initgroups.c (__nss_group_database): Removed.
33217 (__nss_initgroups_database): Likewise.
33218 * nscd/gai.c (__nss_hosts_database): Likewise.
33219 * nss/XXX-lookup.c (DATABASE_NAME_SYMBOL): Likewise.
33220 * posix/tst-rfc3484-2.c (__nss_hosts_database): Likewise.
33221 * posix/tst-rfc3484-3.c (__nss_hosts_database): Likewise.
33222 * posix/tst-rfc3484.c (__nss_hosts_database): Likewise.
33223 * sysdeps/posix/getaddrinfo.c (__nss_hosts_database): Likewise.
33224 * nss/getXXent.c (INTERNAL (REENTRANT_GETNAME)): Add
33226 * nss/nsswitch.c (__nss_database_custom): Define only if
33227 USE_NSCD is defined.
33228 (__nss_configure_lookup): Use __nss_database_custom only if
33229 USE_NSCD is defined.
33230 * nss/nsswitch.h (__nss_database_custom): Declare only if
33231 USE_NSCD is defined. Add attribute_hidden.
33232 (__nss_setent): Add attribute_hidden.
33233 (__nss_endent): Likewise.
33234 (__nss_getent_r): Likewise.
33235 (__nss_getent): Likewise.
33236 (DEFINE_DATABASE): Declare __nss_##arg##_database.
33238 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33241 * sysdeps/unix/sysv/linux/i386/glob64.c (__old_glob64): Add
33242 libc_hidden_proto and libc_hidden_def.
33244 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33247 * sysdeps/unix/sysv/linux/i386/olddirent.h (__old_readdir64):
33248 Add libc_hidden_proto.
33249 * sysdeps/unix/sysv/linux/i386/readdir64.c (__old_readdir64):
33250 Add libc_hidden_def.
33252 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33255 * gmon/Makefile (routines): Remove bb_init_func and
33257 (elide-routines.os): Removed.
33258 * gmon/bb_exit_func.c: Likewise.
33259 * gmon/bb_init_func.c: Likewise.
33260 * include/sys/gmon.h (__bb): Likewise.
33261 (__bb_init_func): Likewise.
33262 (__bb_exit_func): Likewise.
33263 * sysdeps/alpha/bb_init_func.S: Likewise.
33265 2017-08-20 H.J. Lu <hongjiu.lu@intel.com>
33267 * debug/longjmp_chk.c (____longjmp_chk): Moved to ...
33268 * include/setjmp.h (____longjmp_chk): Here. Add
33271 2017-08-19 H.J. Lu <hongjiu.lu@intel.com>
33274 * sysdeps/x86_64/multiarch/strcspn-c.c (STRCSPN_SSE2): Add
33276 (__strspn_sse2): Likewise.
33278 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33280 * sysdeps/generic/not-cancel.h (close_not_cancel): Remove macro.
33281 (close_not_cancel_no_status): Likewise.
33282 (__close_nocancel): New macro.
33283 (__close_nocancel_nostatus): Likewise.
33284 * sysdeps/unix/sysv/linux/not-cancel.h (__close_nocancel): Remove
33286 (close_not_cancel): Likewise.
33287 (close_not_cancel_no_status): Likewise.
33288 (__close_nocancel): New prototype.
33289 (__close_nocancel_nostatus): New function.
33290 * sysdeps/unix/sysv/linux/close.c (__close_nocancel): New function.
33291 * catgets/open_catalog.c (__open_catalog): Replace
33292 close_not_cancel{_no_status) with __close_nocancel{_nostatus}.
33293 * gmon/gmon.c (write_gmon): Likewise.
33294 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
33295 * intl/loadmsgcat.c (close): Likewise.
33296 * io/ftw.c (open_dir_stream): Likewise.
33297 (ftw_startup): Likewise.
33298 * libio/fileops.c (_IO_file_open): Likewise.
33299 (_IO_file_close_mmap): Likewise.
33300 (_IO_file_close): Likewise.
33301 * libio/iopopen.c (_IO_dup2): Likewise.
33302 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33303 * locale/loadlocale.c (_nl_load_locale): Likewise.
33304 * login/utmp_file.c (pututline_file): Likewise.
33305 (endutent_file): Likewise.
33306 * misc/daemon.c (daemon): Likewise.
33307 * nscd/nscd_getai.c (__nscd_getai): Likewise.
33308 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
33309 * nscd/nscd_gethst_r.c (nscd_gethst_r): Likewise.
33310 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
33311 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33312 * nscd/nscd_helper.c (open_socket): Likewise.
33313 (__nscd_open_socket): Likewise.
33314 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
33315 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Likewise.
33316 (__nscd_innetgr): Likewise.
33317 * nss/nss_db/db-open.c (internal_setent): Likewise.
33318 * resolv/res-close.c (__res_iclose): Likewise.
33319 * sunrpc/pm_getmaps.c (pmap_getmaps): Likewise.
33320 * sysdeps/posix/closedir.c (__closedir): Likewise.
33321 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
33322 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33323 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33324 (opendir_tail): Likewise.
33325 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33326 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Likewise.
33327 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
33328 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
33329 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33330 (gethostid): Likewise.
33331 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33332 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33334 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33335 * sysdeps/unix/sysv/linux/grantpt.c (close_all_fds): Likewise.
33336 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33337 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33339 * sysdeps/unix/sysv/linux/if_index.c (__if_nametoindex): Likewise.
33340 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps): Likewise.
33341 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33343 * sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink): Likewise.
33344 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33346 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33348 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33349 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33350 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33353 * sysdeps/generic/not-cancel.h (openat_not_cancel): Remove macro.
33354 (openat_not_cancel_3): Likewise.
33355 (openat64_not_cancel_3): Likewise).
33356 (openat_not_cancel_3): Likewise).
33357 * sysdeps/unix/sysv/linux/not-cancel.h (openat_not_cancel): Remove
33359 (openat_not_cancel_3): Likewise.
33360 (openat64_not_cancel): Likewise.
33361 (openat64_not_cancel_3): Likewise.
33362 * sysdeps/unix/sysv/linux/openat.c (__openat_nocancel): New function.
33363 * sysdeps/unix/sysv/linux/openat64.c (__openat64_nocancel): Likewise.
33364 * io/ftw.c (open_dir_stream): Replace openat{64}_not_cancel{_3} with
33365 __open{64}_nocancel.
33366 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33367 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
33368 * sysdeps/posix/opendir.c (__opendirat): Likewise.
33370 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33373 * include/argz.h (__argz_create_sep): New function prototype.
33374 (__argz_append): Likewise.
33375 (__argz_add): Likewise.
33376 (__argz_add_sep): Likewise.
33377 (__argz_delete): Likewise.
33378 (__argz_insert): Likewise.
33379 (__argz_replace): Likewise.
33380 * string/argz.h (__argz_create_sep): Removed.
33381 (__argz_append): Likewise.
33382 (__argz_add): Likewise.
33383 (__argz_add_sep): Likewise.
33384 (__argz_delete): Likewise.
33385 (__argz_insert): Likewise.
33386 (__argz_replace): Likewise.
33388 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33390 * elf/elf.h (NT_GNU_PROPERTY_TYPE_0): New.
33391 (NOTE_GNU_PROPERTY_SECTION_NAME): Likewise.
33392 (GNU_PROPERTY_STACK_SIZE): Likewie.
33393 (GNU_PROPERTY_NO_COPY_ON_PROTECTED): Likewie.
33394 (GNU_PROPERTY_LOPROC): Likewise.
33395 (GNU_PROPERTY_HIPROC): Likewise.
33396 (GNU_PROPERTY_LOUSER): Likewise.
33397 (GNU_PROPERTY_HIUSER): Likewise.
33398 (GNU_PROPERTY_X86_ISA_1_USED): Likwise.
33399 (GNU_PROPERTY_X86_ISA_1_NEEDED): Likwise.
33400 (GNU_PROPERTY_X86_FEATURE_1_AND): Likwise.
33401 (GNU_PROPERTY_X86_ISA_1_486): Likwise.
33402 (GNU_PROPERTY_X86_ISA_1_586): Likwise.
33403 (GNU_PROPERTY_X86_ISA_1_686): Likwise.
33404 (GNU_PROPERTY_X86_ISA_1_SSE): Likwise.
33405 (GNU_PROPERTY_X86_ISA_1_SSE2): Likwise.
33406 (GNU_PROPERTY_X86_ISA_1_SSE3): Likwise.
33407 (GNU_PROPERTY_X86_ISA_1_SSSE3): Likwise.
33408 (GNU_PROPERTY_X86_ISA_1_SSE4_1): Likwise.
33409 (GNU_PROPERTY_X86_ISA_1_SSE4_2): Likwise.
33410 (GNU_PROPERTY_X86_ISA_1_AVX): Likwise.
33411 (GNU_PROPERTY_X86_ISA_1_AVX2): Likwise.
33412 (GNU_PROPERTY_X86_ISA_1_AVX512F): Likwise.
33413 (GNU_PROPERTY_X86_ISA_1_AVX512CD): Likwise.
33414 (GNU_PROPERTY_X86_ISA_1_AVX512ER): Likwise.
33415 (GNU_PROPERTY_X86_ISA_1_AVX512PF): Likwise.
33416 (GNU_PROPERTY_X86_ISA_1_AVX512VL): Likwise.
33417 (GNU_PROPERTY_X86_ISA_1_AVX512DQ): Likwise.
33418 (GNU_PROPERTY_X86_ISA_1_AVX512BW): Likwise.
33419 (GNU_PROPERTY_X86_FEATURE_1_IBT): Likwise.
33420 (GNU_PROPERTY_X86_FEATURE_1_SHSTK): Likwise.
33422 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33424 * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): Define to 0, if
33427 2017-08-18 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33430 * math/math.h (isinf): Check if in C or C++ mode before using
33431 __builtin_types_compatible_p, since this is a C mode feature.
33433 2017-08-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33435 * sysdeps/generic/not-cancel.h (write_not_cancel): Remove macro.
33436 (__write_nocancel): New macro.
33437 * sysdeps/unix/sysv/linux/not-cancel.h (__write_nocancel):
33438 Rewrite as a function prototype.
33439 (write_not_cancel): Remove macro.
33440 * sysdeps/unix/sysv/linux/write.c (__write_nocancel): New function.
33441 * gmon/gmon.c (ERR): Replace write_not_cancel with __write_nocancel.
33442 (write_gmon): Likewise.
33443 * libio/fileops.c (_IO_new_file_write): Likewise.
33444 * login/utmp_file.c (pututline_file): Likewise.
33445 (updwtmp_file): Likewise.
33446 * stdio-common/psiginfo.c (psiginfo): Likewise.
33447 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33448 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33449 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33451 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33454 * sysdeps/generic/not-cancel.h (read_not_cancel): Remove macro.
33455 (__read_nocancel): New macro.
33456 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33458 * sysdeps/unix/sysv/linux/not-cancel.h (__read_nocancel): Remove
33460 (__read_nocancel): New prototype.
33461 * sysdeps/unix/sysv/linux/read.c (__read_nocancel): New function.
33462 * catgets/open_catalog.c (__open_catalog): Replace read_not_cancel
33463 with __read_nocancel.
33464 * intl/loadmsgcat.c (read): Likewise.
33465 * libio/fileops.c (_IO_file_read): Likewise.
33466 * locale/loadlocale.c (_nl_load_locale): Likewise.
33467 * login/utmp_file.c (getutent_r_file): Likewise.
33468 (internal_getut_r): Likewise.
33469 (getutline_r_file): Likewise.
33470 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33471 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
33472 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33473 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33475 * sysdeps/unix/sysv/linux/getsysstats.c (next_line): Likewise.
33476 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33477 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33479 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33481 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33483 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33485 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33487 2017-08-18 H.J. Lu <hongjiu.lu@intel.com>
33490 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h
33491 (IFUNC_SELECTOR): Don't use the AVX2 version if FMA isn't
33494 2017-08-17 DJ Delorie <dj@redhat.com>
33496 * bug17079.c: Update to new test harness.
33497 * test-digits-dots.c: Likewise.
33498 * test-netdb.c: Likewise.
33499 * tst-field.c: Likewise.
33500 * tst-nss-getpwent.c: Likewise.
33501 * tst-nss-static.c: Likewise.
33502 * tst-nss-test1.c: Likewise.
33503 * tst-nss-test2.c: Likewise.
33504 * tst-nss-test3.c: Likewise.
33505 * tst-nss-test4.c: Likewise.
33506 * tst-nss-test5.c: Likewise.
33508 2017-08-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33510 * sysdeps/generic/not-cancel.h (open_not_cancel): Remove macro.
33511 (open_not_cancel_2): Likewise.
33512 (open_nocancel): New macro.
33513 (open64_nocancel): Likewise.
33514 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Remove macro.
33515 (open_not_cancel_2): Likewise.
33516 (__open_nocancel): New prototype.
33517 (__open64_nocancel): Likewise.
33518 * sysdeps/unix/sysv/linux/Versions (libc) [GLIBC_PRIVATE]: Add
33520 * sysdeps/unix/sysv/linux/open.c (__open_nocancel): New function.
33521 * sysdeps/unix/sysv/linux/open64.c (__open64_nocancel): Likewise.
33522 * catgets/open_catalog.c (__open_catalog): Replace open_not_cancel{_2}
33523 with __open_nocancel.
33524 * csu/check_fds.c (check_one_fd): Likewise.
33525 * gmon/gmon.c (write_gmon): Likewise.
33526 * iconv/gconv_cache.c (__gconv_load_cached): Likewise.
33527 * intl/loadmsgcat.c (open): Likewise.
33528 * libio/fileops.c (_IO_file_open): Likewise.
33529 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
33530 * locale/loadlocale.c (_nl_load_locale): Likewise.
33531 * login/utmp_file.c (setutent_file): Likewise.
33532 * misc/daemon.c (daemon): Likewise.
33533 * nss/nss_db/db-open.c (internal_setent): Likewise.
33534 * sysdeps/mach/hurd/opendir.c (__opendirat): Likewise.
33535 * sysdeps/posix/libc_fatal.c (__libc_message): Likewise.
33536 * sysdeps/posix/opendir.c (tryopen_o_directory): Likewise.
33537 (__opendir): Likewise.
33538 * sysdeps/posix/spawni.c (__spawni_child): Likewise.
33539 * sysdeps/unix/sysv/linux/fips-private.h (fips_enable_p): Likewise.
33540 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Likewise.
33541 (gethostid): Likewise.
33542 * sysdeps/unix/sysv/linux/getloadavg.c (getloadavg): Likewise.
33543 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
33545 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
33546 * sysdeps/unix/sysv/linux/grantpt.c (__close_all_fds): Likewise.
33547 * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
33548 * sysdeps/unix/sysv/linux/ia64/has_cpuclock.c (has_cpuclock):
33550 * sysdeps/unix/sysv/linux/libc_fatal.c (backtrace_and_maps):
33552 * sysdeps/unix/sysv/linux/malloc-sysdep.h (check_may_shrink_heap):
33554 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
33556 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
33558 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
33560 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
33561 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Likewise.
33563 2017-08-17 Wilco Dijkstra <wdijkstr@arm.com>
33565 * benchtests/bench-skeleton.c (main): Add support for
33566 latency benchmarking.
33567 * benchtests/scripts/bench.py: Add support for latency benchmarking.
33569 2017-08-17 H.J. Lu <hongjiu.lu@intel.com>
33571 * Makeconfig (+link-pie-before-libc): Add CRT-* hook to override
33572 the startup object.
33574 2017-08-17 Florian Weimer <fweimer@redhat.com>
33576 * include/sys/socket.h (__opensock): Remove internal_function.
33577 * socket/opensock.c (__opensock): Likewise.
33578 * sysdeps/unix/sysv/linux/opensock.c (__opensock): Likewise.
33580 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33583 * signal/bits/types/__sigval_t.h: New file.
33584 * signal/Makefile (headers): Add bits/types/__sigval_t.h.
33585 * signal/bits/types/sigval_t.h: Include <bits/types/__sigval_t.h>
33586 and define sigval_t using __sigval_t.
33587 * include/bits/types/__sigval_t.h: New file.
33588 * bits/types/sigevent_t.h: Include <bits/types/__sigval_t.h>
33589 instead of <bits/types/__sigval_t.h>.
33590 (struct sigevent): Use __sigval_t instead of sigval_t.
33591 * bits/types/siginfo_t.h: Include <bits/types/__sigval_t.h>
33592 instead of <bits/types/__sigval_t.h>.
33593 (siginfo_t): Use __sigval_t instead of sigval_t.
33594 * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h: Include
33595 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33596 (struct sigevent): Use __sigval_t instead of sigval_t.
33597 * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h: Include
33598 <bits/types/__sigval_t.h> instead of <bits/types/__sigval_t.h>.
33599 (siginfo_t): Use __sigval_t instead of sigval_t.
33600 * signal/signal.h [__USE_MISC]: Include <bits/types/sigval_t.h>.
33602 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33604 * NEWS: Remove "[Add new features here]" for 2.27.
33606 2017-08-16 Joseph Myers <joseph@codesourcery.com>
33608 * sysdeps/unix/sysv/linux/sh/localplt.data: Allow abort in
33611 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33613 * NEWS: Mention x86-64 FMA optimization.
33615 2017-08-16 H.J. Lu <hongjiu.lu@intel.com>
33618 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
33620 * sysdeps/x86_64/fpu/multiarch/e_expf-fma.S: New file.
33621 * sysdeps/x86_64/fpu/multiarch/e_expf.c: Likewise.
33622 * sysdeps/x86_64/fpu/multiarch/ifunc-fma.h: Likewise.
33624 2017-08-16 Andreas Schwab <schwab@suse.de>
33628 * elf/ldd.bash.in: Never run file directly.
33630 2017-08-15 H.J. Lu <hongjiu.lu@intel.com>
33633 * sysdeps/x86_64/fpu/e_expf.S (L(SP_RANGE)): Aligned to 8 bytes.
33634 (L(SP_INF_0)): Likewise.
33636 2017-08-15 Florian Weimer <fweimer@redhat.com>
33638 * gmon/Makefile (tests-special): Add tst-gmon-prof only if
33641 2017-08-15 Florian Weimer <fweimer@redhat.com>
33643 Remove BROKEN_THREAD_SIGNALS support for LinuxThreads.
33644 * sysdeps/pthread/aio_misc.c (__aio_enqueue_request): Remove
33645 BROKEN_THREAD_SIGNALS code.
33646 * sysdeps/ppthread/aio_misc.h (struct waitlist, struct
33647 request_list): Remove caller_pid member used for
33648 BROKEN_THREAD_SIGNALS.
33649 [BROKEN_THREAD_SIGNALS] (__aio_notify_only): Remove declaration.
33650 * sysdeps/pthread/aio_notify.c (__aio_notify_only, __aio_notify):
33651 Remove BROKEN_THREAD_SIGNALS support.
33652 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
33653 * sysdeps/pthread/lio_listio.c (lio_listio_internal): Likewise.
33655 2017-08-15 Florian Weimer <fweimer@redhat.com>
33657 * gmon/Makefile (tests): Add tst-gmon.
33658 (CFLAGS-tst-gmon.c, LDFLAGS-tst-gmon, CRT-tst-gmon, tst-gmon-ENV):
33660 (tests-special): Add tst-gmon-prof.out.
33661 (tst-gmon.out): Depend on clean-tst-gmon-data.
33662 (clean-tst-gmon-data, tst-gmon-gprof.out): New targets.
33663 * gmon/tst-gmon.c, gmon/tst-gmon-gprof.sh: New files.
33664 * Makeconfig (+link-before-libc): Add CRT-* hook to override the
33666 * aclocal.m4 (GPROF): Set and substitute.
33667 * config.amke.in (GPROF): Set.
33668 * configure: Regenerate.
33670 2017-08-15 Gustavo Romero <gromero@linux.vnet.ibm.com>
33672 * elf/elf.h A (NT_PPC_TAR): New macro.
33673 (NT_PPC_PPR): Likewise.
33674 (NT_PPC_DSCR): Likewise.
33675 (NT_PPC_EBB): Likewise.
33676 (NT_PPC_PMU): Likewise.
33677 (NT_PPC_TM_CGPR): Likewise.
33678 (NT_PPC_TM_CFPR): Likewise.
33679 (NT_PPC_TM_CVMX): Likewise.
33680 (NT_PPC_TM_CVSX): Likewise.
33681 (NT_PPC_TM_SPR): Likewise.
33682 (NT_PPC_TM_CTAR): Likewise.
33683 (NT_PPC_TM_CPPR): Likewise.
33684 (NT_PPC_TM_CDSCR): Likewise.
33686 2017-08-15 Florian Weimer <fweimer@redhat.com>
33688 * sysdeps/i386/machine-gmon.h (mcount_internal): Declare with
33689 regparm (2) instead of internal_function.
33690 (_MCOUNT_DECL): Adjust.
33692 2017-08-15 Stefan Liebler <stli@linux.vnet.ibm.com>
33694 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z14.
33695 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
33697 2017-08-14 Joseph Myers <joseph@codesourcery.com>
33699 * conform/data/sys/wait.h-data (si_value): Do not expect for
33702 2017-08-14 Florian Weimer <fweimer@redhat.com>
33705 NSS: Create stubs for accidentally exported lookup functions.
33706 * grp/initgroups.c (__nss_group_lookup, __nss_lookup_function):
33707 Remove declaration.
33708 * inet/ether_hton.c (__nss_ethers_lookup): Likewise.
33709 (ether_hostton): Call __nss_ethers_lookup2 instead.
33710 * inet/ether_ntoh.c (__nss_ethers_lookup): Remove declaration.
33711 (ether_ntohost): Call __nss_ethers_lookup2 instead.
33712 * inet/getnetgrent_r.c (__nss_netgroup_lookup): Remove declaration.
33713 (setup): Call __nss_netgroup_lookup2 instead.
33714 * nss/Makefile (routines): Add compat-lookup.
33715 * nss/Versions (GLIBC_2.27): Add symbol version.
33716 * nss/XXX-lookup (DB_LOOKUP_FCT): Remove declaration. Now provided by <nsswitch.h>.
33717 (DB_COMPAT_FCT): Remove.
33718 * nss/compat-lookup.c: New file.
33719 * nss/nsswitch.h: Generate __nss_*_lookup2 function prototypes
33720 from databases.def.
33721 * nss/service-lookup.c (NO_COMPAT): Remove definition.
33722 * sunrpc/netname.c (__nss_publickey_lookup): Remove declaration.
33723 (netname2user): Call __nss_publickey_lookup2 instead.
33724 * sunrpc/publickey.c (__nss_publickey_lookup): Remove declaration.
33725 (getpublickey, getsecretkey): Call __nss_publickey_lookup2
33728 2017-08-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
33729 Sergei Trofimovich <slyfox@inbox.ru>
33732 * sysdeps/unix/sysv/linux/m68k/mmap_internal.h (MMAP2_PAGE_SHIFT):
33733 Rename to MMAP2_PAGE_UNIT.
33734 * sysdeps/unix/sysv/linux/mmap.c: Include mmap_internal iff
33735 __OFF_T_MATCHES_OFF64_T is not defined.
33736 * sysdeps/unix/sysv/linux/mmap_internal.h (page_unit): Declare as
33738 (MMAP2_PAGE_UNIT) [MMAP2_PAGE_UNIT == -1]: Redefine to page_unit.
33739 (page_unit) [MMAP2_PAGE_UNIT != -1]: Remove definition.
33741 2017-08-14 Florian Weimer <fweimer@redhat.com>
33743 i386: Do not set internal_function.
33744 * config.h.in (USE_REGPARMS, internal_function): Remove.
33745 * sysdeps/i386/configure.ac (USE_REGPARMS): Likewise.
33746 * sysdeps/i386/configure (USE_REGPARMS): Likewise.
33748 2017-08-14 Florian Weimer <fweimer@redhat.com>
33750 * elf/dl-init.c (_dl_init): Remove internal_function.
33751 * sysdeps/generic/ldsodefs.h (_dl_init): Likewise.
33752 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to _dl_init.
33754 2017-08-14 Florian Weimer <fweimer@redhat.com>
33756 * elf/rtld.c (_dl_start): Remove internal_function.
33757 * sysdeps/i386/dl-machine.h (RTLD_START): Adjust call to
33760 2017-08-14 Florian Weimer <fweimer@redhat.com>
33762 * elf/dl-fini.c (_dl_fini): Remove internal_function
33763 * sysdeps/generic/ldsodefs.h (_dl_fini): Likewise.
33765 2017-08-14 H.J. Lu <hongjiu.lu@intel.com>
33767 * sysdeps/x86/cpu-features.h (bit_cpu_IBT): New.
33768 (bit_cpu_SHSTK): Likewise.
33769 (index_cpu_IBT): Likewise.
33770 (index_cpu_SHSTK): Likewise.
33771 (reg_IBT): Likewise.
33772 (reg_SHSTK): Likewise.
33773 * sysdeps/x86/cpu-tunables.c (TUNABLE_CALLBACK (set_hwcaps)):
33774 Handle index_cpu_IBT and index_cpu_SHSTK.
33776 2017-08-14 Mike FABIAN <mfabian@redhat.com>
33779 * po/fr.po: Fix spelling mistake.
33781 2017-08-13 Florian Weimer <fweimer@redhat.com>
33783 * elf/dl-addr.c (_dl_addr): Remove internal_function.
33784 * elf/dl-error-skeleton.c (_dl_signal_error, _dl_signal_cerror)
33785 (_dl_catch_error, _dl_receive_error): Likewise.
33786 * elf/dl-open.c (_dl_find_dso_for_object): Likewise.
33787 * elf/dl-tls.c (_dl_allocate_tls_init, _dl_allocate_tls)
33788 (_dl_deallocate_tls): Likewise.
33789 * include/dlfcn.h (_dl_addr): Likewise.
33790 * sysdeps/generic/ldsodefs.h (_dl_signal_error, _dl_signal_cerror)
33791 (_dl_catch_error, _dl_receive_error, _dl_find_dso_for_object)
33792 (_dl_allocate_tls_init, _dl_allocate_tls, _dl_deallocate_tls):
33795 2017-08-13 Florian Weimer <fweimer@redhat.com>
33797 * include/stdlib.h: (__strtof_nan, __strtod_nan, __strtold_nan)
33798 (__wcstof_nan, __wcstod_nan, __wcstold_nan): Remove
33800 * stdlib/sttod_nan_main.c (STRTOD_NAN): Likewise.
33802 2017-08-13 Florian Weimer <fweimer@redhat.com>
33804 * elf/dl-support.c (_dl_make_stack_executable_hook): Remove
33806 * nptl/allocatestack.c (__make_stacks_executable): Likewise.
33807 * nptl/pthreadP.h (__make_stacks_executable): Likewise.
33808 * sysdeps/generic/ldsodefs.h (_rtld_global): Remove
33809 internal_function from _dl_make_stack_executable_hook member.
33810 (_dl_make_stack_executable): Remove internal_function.
33811 * sysdeps/mach/hurd/dl-execstack.c (_dl_make_stack_executable):
33813 * sysdeps/unix/sysv/linux/dl-execstack.c
33814 (_dl_make_stack_executable): Likewise.
33816 2017-08-13 Florian Weimer <fweimer@redhat.com>
33818 * sysdeps/unix/sysv/linux/netlinkaccess.h
33819 (__netlink_assert_response): Remove internal_function.
33820 * sysdeps/unix/sysv/linux/netlink_assert_response.c
33821 (__netlink_assert_response): Likewise.
33823 2017-08-13 Florian Weimer <fweimer@redhat.com>
33825 * include/rpc/pmap_clnt.h (__libc_rpc_getport): Remove
33827 * sunrpoc/pm_getport.c (__libc_rpc_getport): Likewise.
33829 2017-08-13 Florian Weimer <fweimer@redhat.com>
33831 * grp/grp-merge.h (__copy_grp, __merge_grp): Remove
33833 * grp/grp-merge.c (__copy_grp, __merge_grp): Likewise.
33834 * inet/netgroup.h (__internal_setnetgrent)
33835 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33836 * inet/getnetgrent_r.c (__internal_setnetgrent)
33837 (__internal_endnetgrent,__internal_getnetgrent_r): Likewise.
33838 * nss/XXX-lookup.c (DB_LOOKUP_FCT, DB_COMPAT_FCT): Likewise.
33839 * nss/getXXbyYY_r.c (DB_LOOKUP_FCT): Likewise.
33840 * nss/getXXent_r.c (DB_LOOKUP_FCT): Likewise.
33841 * nss/nsswitch.h (db_lookup_function): Likewise.
33843 2017-08-13 Florian Weimer <fweimer@redhat.com>
33845 * debug/fortify_fail.c (__fortify_fail, __fortify_fail_abort):
33846 Remove internal_function.
33847 * include/stdio.h (__fortify_fail, __fortify_fail_abort): Likewise.
33848 * sysdeps/mach/hurd/i386/____longjmp_chk.S (CALL_FAIL): Pass
33849 message argument on the stack.
33850 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S (CALL_FAIL):
33853 2017-08-12 Mike FABIAN <mfabian@redhat.com>
33855 Adapt test case data to the changes in the thousands
33859 * localedata/tst-langinfo.sh: Adapt test case data.
33860 * stdlib/tst-strfmon_l.c: Likewise.
33861 * stdlib/tst-strtod4.c: Likewise.
33862 * stdlib/tst-strtod5i.c: Likewise.
33864 2017-08-11 Florian Weimer <fweimer@redhat.com>
33867 * assert/assert.h [__GNUC__ && !__STRICT_ANSI__] (assert):
33868 Suppress pedantic warning resulting from statement expression.
33869 (__ASSERT_FUNCTION): Add missing __extension__.
33871 2017-08-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
33873 * benchtests/bench-memmove-large.c: Print output in JSON
33875 * benchtests/bench-memmove.c: Likewise.
33877 * benchtests/bench-memccpy.c (do_one_test): Remove checks.
33878 * benchtests/bench-memchr.c (do_one_test): Likewise.
33879 * benchtests/bench-memcpy-large.c (do_one_test): Likewise.
33880 * benchtests/bench-memcpy.c (do_one_test): Likewise.
33881 * benchtests/bench-memmove-large.c (do_one_test): Likewise.
33882 * benchtests/bench-memmove.c (do_one_test): Likewise.
33883 * benchtests/bench-memset-large.c (do_one_test): Likewise.
33884 * benchtests/bench-memset.c (do_one_test): Likewise.
33885 * benchtests/bench-string.h (test_init): Remove memsets.
33887 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33890 (Computing the Width of an Integer Data Type): Rename section to
33891 "Width of an Integer Type". Remove inaccurate statement regarding
33892 lack of C language facilities for determining width of integer
33893 types, and reorder content to improve flow and context of
33896 2017-08-10 Rical Jasan <ricaljasan@pacific.net>
33898 * lang.texi (va_copy): Change standard from ISO to C99.
33899 (__va_copy): Add standard and header annotation.
33900 Update description for clarity of origins and current use.
33902 2017-08-10 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
33905 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrtf128): Since
33906 xssqrtqp requires operands to be in Vector Registers
33907 (Altivec/VMX), replace the register constraint 'wq' with 'v'.
33908 * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c
33909 (__ieee754_sqrtf128): Likewise.
33911 2017-08-10 Wilco Dijkstra <wdijkstr@arm.com>
33913 * sysdeps/aarch64/memcmp.S (memcmp):
33914 Rewrite of optimized memcmp.
33916 2017-08-10 Florian Weimer <fweimer@redhat.com>
33918 Introduce ld.so exceptions.
33919 * sysdeps/generic/ldsodefs.h (struct dl_exception): Define.
33920 (_dl_exception_create, _dl_exception_create_format)
33921 (_dl_exception_free, _dl_signal_exception, _dl_signal_cexception)
33922 (_dl_catch_exception): Declare.
33923 (_dl_catch_error): Update comment.
33924 * elf/dl-error-skeleton.c (struct catch): Replace objname,
33925 errstring, malloced members with exception member.
33926 (_dl_out_of_memory): Remove.
33927 (fatal_error): New function, extracted from _dl_signal_error.
33928 (_dl_signal_exception, _dl_signal_cexception): New functions.
33929 (_dl_signal_error): Call _dl_exception_create to allocate an
33931 (_dl_catch_exception): New function, based on _dl_catch_error.
33932 (_dl_catch_error): Implement using _dl_catch_exception.
33933 * elf/dl-exception.c: New file.
33934 * elf/Makefile (dl-routines): Add dl-exception.
33935 (elide-routines.os): Likewise.
33936 * elf/Version (ld/GLIBC_PRIVATE): Add _dl_exception_create,
33937 _dl_exception_create_format, _dl_exception_free.
33938 * elf/dl-deps.c (_dl_map_object_deps): Use _dl_catch_exception and
33939 _dl_signal_exception.
33940 * elf/dl-lookup.c (make_string): Remove.
33941 (_dl_lookup_symbol_x): Use _dl_exception_create_format,
33942 _dl_signal_cexception, _dl_exception_free.
33943 * elf/dl-open.c (_dl_open): Use _dl_catch_exception and
33944 _dl_signal_exception.
33945 * elf/dl-sym.c (do_sym): Likewise.
33946 * elf/dl-version.c (make_string): Remove.
33947 (match_symbol): Use _dl_exception_create_format,
33948 _dl_signal_cexception, _dl_exception_free.
33949 (_dl_check_map_versions): Likewise.
33950 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_exception,
33951 _dl_catch_exception.
33952 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
33953 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
33954 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
33955 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
33956 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
33957 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
33958 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
33959 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
33961 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
33962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
33964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
33966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
33968 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
33969 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
33970 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
33972 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
33974 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
33976 2017-08-10 Florian Weimer <fweimer@redhat.com>
33978 * inet/net-internal.h (__inet6_scopeid_pton): Remove
33979 attribute_hidden, internal_function.
33980 * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Remove
33983 2017-08-10 Florian Weimer <fweimer@redhat.com>
33985 * malloc/malloc.c (get_max_fast): Reimplement as an inline
33986 function which calls __builtin_unreachable.
33988 2017-08-10 Mike FABIAN <mfabian@redhat.com>
33990 * stdlib/tst-strfmon_l.c: Fix test cases to agree with the changes in
33991 Indian monetary formatting
33992 * stdlib/Makefile: Adapt list of locales needed for the tst-strfmon_l.c
33995 2017-08-09 Dmitry V. Levin <ldv@altlinux.org>
33997 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (enum __ptrace_request):
33998 Fix typo in comment.
34001 * sysdeps/unix/sysv/linux/sys/ptrace.h (enum __ptrace_flags,
34002 PTRACE_SEIZE_DEVEL): Remove.
34003 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h: Likewise.
34004 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
34005 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
34006 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
34007 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
34009 2017-08-09 Joseph Myers <joseph@codesourcery.com>
34011 * posix/bits/types.h (__qaddr_t): Remove.
34014 * sysdeps/arm/sys/ucontext.h (__ctx): Move undefine further down.
34015 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34017 * sysdeps/generic/sys/ucontext.h (__ctx): New macro.
34018 (ucontext_t): Use __ctx with uc_flags.
34019 * sysdeps/i386/sys/ucontext.h (__ctx): Move undefine further down.
34020 (__ctxt): Likewise.
34021 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34023 * sysdeps/m68k/sys/ucontext.h (__ctx): Move undefine further down.
34024 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34026 * sysdeps/mips/sys/ucontext.h (__ctx): Move undefine further down.
34027 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34029 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (__ctx): New
34031 (ucontext_t): Use __ctx with uc_flags.
34032 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (__ctx): New macro.
34033 (ucontext_t): Use __ctx with uc_flags.
34034 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (__ctx): New macro.
34035 (ucontext_t): Use __ctx with uc_flags and uc_regspace.
34036 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (__ctx): New macro.
34037 (ucontext_t): Use __ctx with uc_flags.
34038 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (__ctx): Move
34039 undefine further down.
34040 (ucontext_t): Use __ctx with uc_flags. Rename uc_filler to
34042 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (__ctx): Move
34043 undefine further down.
34044 (ucontext_t): Use __ctx with uc_flags.
34045 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): Move
34046 undefine further down.
34047 (ucontext_t): Use __ctx with uc_flags.
34048 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (ucontext_t): Use
34049 __ctx with uc_flags, uc_regs_ptr, uc_regs and uc_reg_space.
34050 Rename uc_pad to __glibc_reserved1.
34051 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): Move
34052 undefine further down.
34053 (ucontext_t): Use __ctx with uc_flags.
34054 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (__ctx): Move undefine
34056 (ucontext_t): Use __ctx with uc_flags.
34057 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (ucontext_t): Use
34058 __ctx with uc_flags.
34059 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (__ctx): New macro.
34060 (ucontext_t): Use __ctx with uc_flags.
34061 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (ucontext_t): Use
34062 __ctx with uc_flags.
34064 2017-08-09 Florian Weimer <fweimer@redhat.com>
34067 * nss/getXXbyYY_r.c (REENTRANT_NAME): Call __resolv_context_put
34068 before early return.
34070 2017-08-09 Andreas Schwab <schwab@suse.de>
34073 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Update reference to
34077 * nptl/Makefile (tests) [$(build-shared) = yes]: Add
34078 tst-compat-forwarder.
34079 (modules-names): Add tst-compat-forwarder-mod.
34080 ($(objpfx)tst-compat-forwarder): Depend on
34081 $(objpfx)tst-compat-forwarder-mod.so.
34082 * nptl/tst-compat-forwarder.c: New file.
34083 * nptl/tst-compat-forwarder-mod.c: New file.
34085 2017-08-09 Siddhesh Poyarekar <siddhesh@sourceware.org>
34087 * sysdeps/aarch64/multiarch/memcpy_falkor.S: Fix code style in
34090 * manual/tunables.texi (Tunable glibc.tune.cpu): Add falkor.
34091 * sysdeps/aarch64/multiarch/Makefile (sysdep_routines): Add
34093 * sysdeps/aarch64/multiarch/ifunc-impl-list.c (MAX_IFUNC):
34095 (__libc_ifunc_impl_list): Add __memcpy_falkor.
34096 * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
34097 * sysdeps/aarch64/multiarch/memcpy_falkor.S: New file.
34098 * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (cpu_list):
34100 * sysdeps/unix/sysv/linux/aarch64/cpu-features.h (IS_FALKOR):
34103 2017-08-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34106 * manual/setjmp.texi (getcontex): Document uc_stack value
34107 compatibility differences.
34109 2017-08-08 Joseph Myers <joseph@codesourcery.com>
34111 * malloc/mcheck.c (old_free_hook): Use void * instead of __ptr_t.
34112 (old_malloc_hook): Likewise.
34113 (old_memalign_hook): Likewise.
34114 (old_realloc_hook): Likewise.
34115 (struct hdr): Likewise.
34117 (freehook): Likewise.
34118 (mallochook): Likewise.
34119 (memalignhook): Likewise.
34120 (reallochook): Likewise.
34121 (mprobe): Likewise.
34122 * malloc/mtrace.c (mallwatch): Likewise.
34123 (tr_old_free_hook): Likewise.
34124 (tr_old_malloc_hook): Likewise.
34125 (tr_old_realloc_hook): Likewise.
34126 (tr_old_memalign_hook): Likewise.
34127 (tr_where): Likewise.
34128 (lock_and_info): Likewise.
34129 (tr_freehook): Likewise.
34130 (tr_mallochook): Likewise.
34131 (tr_reallochook): Likewise.
34132 (tr_memalignhook): Likewise.
34133 * misc/err.h [!__GNUC_VA_LIST] (__gnuc_va_list): Likewise.
34134 * misc/mmap.c (__mmap): Likewise.
34135 * misc/mmap64.c (__mmap64): Likewise.
34136 * misc/mprotect.c (__mprotect): Likewise.
34137 * misc/msync.c (msync): Likewise.
34138 * misc/munmap.c (__munmap): Likewise.
34139 * posix/posix_madvise.c (posix_madvise): Likewise.
34140 * socket/send.c (__send): Likewise.
34141 * socket/sendto.c (__sendto): Likewise.
34142 * socket/setsockopt.c (__setsockopt): Likewise.
34143 * string/memcmp.c (__ptr_t): Remove macro.
34144 (MEMCMP): Use void * instead of ptr_t.
34145 * string/memrchr.c (__ptr_t): Remove macro.
34146 (__memrchr): Use void * instead of ptr_t.
34147 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Likewise.
34148 * sysdeps/mach/hurd/mmap.c (__mmap): Likewise.
34149 * sysdeps/mach/hurd/mmap64.c (__mmap64): Likewise.
34150 * sysdeps/mach/mprotect.c (__mprotect): Likewise.
34151 * sysdeps/mach/msync.c (msync): Likewise.
34152 * sysdeps/mach/munmap.c (__munmap): Likewise.
34153 * sysdeps/mips/bits/setjmp.h (struct __jmp_buf_internal_tag):
34155 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
34156 * sysdeps/powerpc/powerpc32/memset.S (memset): Likewise.
34157 * sysdeps/powerpc/powerpc32/power4/memcpy.S (memcpy): Likewise.
34158 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Likewise.
34159 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
34160 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34161 * sysdeps/powerpc/powerpc32/power7/memcpy.S (memcpy): Likewise.
34162 * sysdeps/powerpc/powerpc32/power7/mempcpy.S (__mempcpy):
34164 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34165 * sysdeps/powerpc/powerpc64/memcpy.S (memcpy): Likewise.
34166 * sysdeps/powerpc/powerpc64/memset.S (memset): Likewise.
34167 * sysdeps/powerpc/powerpc64/power4/memcpy.S (memcpy): Likewise.
34168 * sysdeps/powerpc/powerpc64/power4/memset.S (memset): Likewise.
34169 * sysdeps/powerpc/powerpc64/power6/memcpy.S (memcpy): Likewise.
34170 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Likewise.
34171 * sysdeps/powerpc/powerpc64/power7/memcpy.S (memcpy): Likewise.
34172 * sysdeps/powerpc/powerpc64/power7/mempcpy.S (__mempcpy):
34174 * sysdeps/powerpc/powerpc64/power7/memset.S (memset): Likewise.
34175 * sysdeps/powerpc/powerpc64/power8/memset.S (memset): Likewise.
34176 * sysdeps/tile/memcmp.c (__ptr_t): Remove macro.
34177 (MEMCMP): Use void * instead of ptr_t.
34178 * sysdeps/unix/sysv/linux/alpha/oldglob.c (old_glob_t): Likewise.
34179 * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
34181 2017-08-08 Florian Weimer <fweimer@redhat.com>
34183 * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove unreachable
34186 2017-08-08 H.J. Lu <hongjiu.lu@intel.com>
34189 * csu/libc-tls.c: Include <startup.h> first.
34190 (__libc_setup_tls): Call _startup_fatal instead of __libc_fatal.
34191 * elf/dl-tunables.c: Include <startup.h> first.
34192 * include/libc-symbols.h (BUILD_PIE_DEFAULT): New.
34193 * sysdeps/generic/startup.h: New file.
34194 * sysdeps/unix/sysv/linux/i386/startup.h: Likewise.
34195 * sysdeps/unix/sysv/linux/i386/brk.c [BUILD_PIE_DEFAULT != 0]
34196 (I386_USE_SYSENTER): New. Defined to 0.
34198 2017-08-08 Andreas Schwab <schwab@suse.de>
34201 * nptl/pt-longjmp.c (longjmp, siglongjmp): Don't use IFUNC resolver.
34202 * nptl/pt-system.c (system): Likewise.
34204 2017-08-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
34207 * sysdeps/posix/preadv2.c (preadv2): Use ENOTSUP instead of
34209 * sysdeps/posix/preadv64v2.c (preadv64v2): Likewise.
34210 * sysdeps/posix/pwritev2.c (pwritev2): Likewise.
34211 * sysdeps/posix/pwritev64v2.c (pwritev64v2): Likewise.
34212 * sysdeps/unix/sysv/linux/preadv2.c (preadv2): Likewise.
34213 * sysdeps/unix/sysv/linux/preadv64v2.c (preadv64v2): Likewise.
34214 * sysdeps/unix/sysv/linux/pwritev2.c (pwritev2): Likewise.
34215 * sysdeps/unix/sysv/linux/pwritev64v2.c (pwritev64v2): Likewise.
34217 2017-08-07 Joseph Myers <joseph@codesourcery.com>
34220 * bits/sigaction.h (struct sigaction): Define sa_handler and
34221 sa_sigaction using union also for [__USE_XOPEN_EXTENDED].
34222 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34223 [__USE_XOPEN_EXTENDED].
34224 (SA_RESTART): Likewise.
34225 (SA_NODEFER): Likewise.
34226 (SA_RESETHAND): Likewise.
34227 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h
34228 (struct sigaction): Define sa_handler and sa_sigaction using union
34229 also for [__USE_XOPEN_EXTENDED].
34230 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34231 [__USE_XOPEN_EXTENDED].
34232 (SA_RESTART): Likewise.
34233 (SA_NODEFER): Likewise.
34234 (SA_RESETHAND): Likewise.
34235 * sysdeps/unix/sysv/linux/bits/sigaction.h
34236 (struct sigaction): Define sa_handler and sa_sigaction using union
34237 also for [__USE_XOPEN_EXTENDED].
34238 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34239 [__USE_XOPEN_EXTENDED].
34240 (SA_RESTART): Likewise.
34241 (SA_NODEFER): Likewise.
34242 (SA_RESETHAND): Likewise.
34243 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h
34244 (struct sigaction): Define sa_handler and sa_sigaction using union
34245 also for [__USE_XOPEN_EXTENDED].
34246 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34247 [__USE_XOPEN_EXTENDED].
34248 (SA_RESTART): Likewise.
34249 (SA_NODEFER): Likewise.
34250 (SA_RESETHAND): Likewise.
34251 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h
34252 (struct sigaction): Define sa_handler and sa_sigaction using union
34253 also for [__USE_XOPEN_EXTENDED].
34254 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34255 [__USE_XOPEN_EXTENDED].
34256 (SA_RESTART): Likewise.
34257 (SA_NODEFER): Likewise.
34258 (SA_RESETHAND): Likewise.
34259 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
34260 (struct sigaction): Define sa_handler and sa_sigaction using union
34261 also for [__USE_XOPEN_EXTENDED].
34262 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34263 [__USE_XOPEN_EXTENDED].
34264 (SA_RESTART): Likewise.
34265 (SA_NODEFER): Likewise.
34266 (SA_RESETHAND): Likewise.
34267 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
34268 (struct sigaction): Define sa_handler and sa_sigaction using union
34269 also for [__USE_XOPEN_EXTENDED].
34270 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34271 [__USE_XOPEN_EXTENDED].
34272 (SA_RESTART): Likewise.
34273 (SA_NODEFER): Likewise.
34274 (SA_RESETHAND): Likewise.
34275 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
34276 (struct sigaction): Define sa_handler and sa_sigaction using union
34277 also for [__USE_XOPEN_EXTENDED].
34278 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34279 [__USE_XOPEN_EXTENDED].
34280 (SA_RESTART): Likewise.
34281 (SA_NODEFER): Likewise. Define directly rather than as alias.
34282 (SA_RESETHAND): Likewise.
34283 (SA_INTERRUPT): Define only for [__USE_MISC].
34284 (SA_NOMASK): Define as alias of SA_NODEFER, only for [__USE_MISC].
34285 (SA_ONESHOT): Define as alias of SA_RESETHAND, only for
34287 (SA_STACK): Define only for [__USE_MISC].
34288 * sysdeps/unix/sysv/linux/tile/bits/sigaction.h
34289 (struct sigaction): Define sa_handler and sa_sigaction using union
34290 also for [__USE_XOPEN_EXTENDED].
34291 (SA_ONSTACK): Change [__USE_UNIX98] condition to
34292 [__USE_XOPEN_EXTENDED].
34293 (SA_RESTART): Likewise.
34294 (SA_NODEFER): Likewise.
34295 (SA_RESETHAND): Likewise.
34296 (SA_NOPTRACE): Define only for [__USE_MISC].
34298 * catgets/catgets.c (catgets): Use uintN_t instead of u_intN_t.
34299 * catgets/catgetsinfo.h (struct catalog_obj): Likewise.
34300 (struct catalog_info): Likewise.
34301 * inet/htontest.c (lo): Likewise.
34303 * inet/inet_lnaof.c (inet_lnaof): Likewise.
34304 * inet/inet_net.c (inet_network): Likewise.
34305 * inet/inet_netof.c (inet_netof): Likewise.
34306 * inet/rcmd.c (__ivaliduser): Likewise.
34307 (iruserok): Likewise.
34308 * locale/loadlocale.c (_nl_intern_locale_data): Likewise.
34309 * locale/programs/locale-spec.c (locale_special): Likewise.
34310 * nis/nis_findserv.c (struct findserv_req): Likewise.
34311 (__nis_findfastest_with_timeout): Likewise.
34312 * nss/test-netdb.c (test_network): Likewise.
34313 * resolv/inet_neta.c (inet_neta): Likewise.
34314 * resolv/ns_date.c (ns_datetosecs): Likewise.
34315 (SECS_PER_DAY): Likewise.
34316 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyaddr_r):
34318 * resolv/res_comp.c (__putlong): Likewise.
34319 (__putshort): Likewise.
34320 (_getlong): Likewise.
34321 (_getshort): Likewise.
34322 * resolv/res_debug.c (p_time): Likewise.
34323 (precsize_ntoa): Likewise.
34324 (precsize_aton): Likewise.
34325 (latlon2ul): Likewise.
34326 (loc_aton): Likewise.
34327 (loc_ntoa): Likewise.
34328 * resolv/res_hconf.c (struct netaddr): Likewise.
34329 (_res_hconf_reorder_addrs): Likewise.
34330 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
34331 (clnttcp_control): Likewise.
34332 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
34333 (clntudp_control): Likewise.
34334 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
34335 (clntunix_control): Likewise.
34336 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
34337 * sunrpc/rpc/auth.h (union des_block): Likewise.
34338 * sunrpc/tst-udp-nonblocking.c (do_test): Likewise.
34339 * sunrpc/xdr_rec.c (struct rec_strm): Likewise.
34340 (xdrrec_create): Likewise.
34341 (xdrrec_endofrecord): Likewise.
34342 (flush_out): Likewise.
34343 * sunrpc/xdr_stdio.c (xdrstdio_getlong): Likewise.
34344 (xdrstdio_putlong): Likewise.
34345 * sysdeps/unix/sysv/linux/errqueue.h (struct sock_extended_err):
34348 * misc/sys/cdefs.h (__long_double_t): Remove.
34349 * stdio-common/printf_fp.c (__printf_fp_l): Use long double
34350 instead of __long_double_t,
34351 * stdlib/strfmon_l.c (__vstrfmon_l): Likewise.
34353 2017-08-07 Siddhesh Poyarekar <siddhesh@sourceware.org>
34355 * benchtests/scripts/compare_strings.py: Avoid display error when
34356 running on a text terminal.
34358 * benchtests/scripts/compare_strings.py (main): Add an
34359 optional -base option.
34360 (process_results): New argument base_func.
34362 * benchtests/bench-memcpy.c (test_main): Use TEST_NAME instead of
34364 * benchtests/bench-memcpy-large.c (test_name): Likewise.
34365 * benchtests/bench-memcpy-random.c (test_name): Likewise.
34367 2017-08-07 Andreas Schwab <schwab@suse.de>
34369 * elf/Makefile ($(objpfx)tst-pathopt.out): Redirect output to target.
34370 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
34371 * intl/Makefile ($(objpfx)tst-gettext.out)
34372 ($(objpfx)tst-translit.out, $(objpfx)tst-gettext2.out)
34373 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext6.out): Likewise.
34374 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
34375 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
34376 * nptl/Makefile ($(objpfx)tst-tls6.out): Likewise.
34377 * posix/Makefile ($(objpfx)globtest.out)
34378 ($(objpfx)wordexp-tst.out, $(objpfx)tst-getconf.out): Likewise.
34379 * stdio-common/Makefile ($(objpfx)tst-unbputc.out)
34380 ($(objpfx)tst-printf.out): Likewise.
34381 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out)
34382 ($(objpfx)tst-setcontext3.out): Likewise.
34384 2017-08-07 H.J. Lu <hongjiu.lu@intel.com>
34386 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34387 Add e_exp-fma, e_log-fma, e_pow-fma, s_atan-fma, e_asin-fma,
34388 e_atan2-fma, s_sin-fma, s_tan-fma, mplog-fma, mpa-fma,
34389 slowexp-fma, slowpow-fma, sincos32-fma, doasin-fma, dosincos-fma,
34390 halfulp-fma, mpexp-fma, mpatan2-fma, mpatan-fma, mpsqrt-fma,
34392 (CFLAGS-doasin-fma.c): New.
34393 (CFLAGS-dosincos-fma.c): Likewise.
34394 (CFLAGS-e_asin-fma.c): Likewise.
34395 (CFLAGS-e_atan2-fma.c): Likewise.
34396 (CFLAGS-e_exp-fma.c): Likewise.
34397 (CFLAGS-e_log-fma.c): Likewise.
34398 (CFLAGS-e_pow-fma.c): Likewise.
34399 (CFLAGS-halfulp-fma.c): Likewise.
34400 (CFLAGS-mpa-fma.c): Likewise.
34401 (CFLAGS-mpatan-fma.c): Likewise.
34402 (CFLAGS-mpatan2-fma.c): Likewise.
34403 (CFLAGS-mpexp-fma.c): Likewise.
34404 (CFLAGS-mplog-fma.c): Likewise.
34405 (CFLAGS-mpsqrt-fma.c): Likewise.
34406 (CFLAGS-mptan-fma.c): Likewise.
34407 (CFLAGS-s_atan-fma.c): Likewise.
34408 (CFLAGS-sincos32-fma.c): Likewise.
34409 (CFLAGS-slowexp-fma.c): Likewise.
34410 (CFLAGS-slowpow-fma.c): Likewise.
34411 (CFLAGS-s_sin-fma.c): Likewise.
34412 (CFLAGS-s_tan-fma.c): Likewise.
34413 * sysdeps/x86_64/fpu/multiarch/doasin-fma.c: New file.
34414 * sysdeps/x86_64/fpu/multiarch/dosincos-fma.c: Likewise.
34415 * sysdeps/x86_64/fpu/multiarch/e_asin-fma.c: Likewise.
34416 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma.c: Likewise.
34417 * sysdeps/x86_64/fpu/multiarch/e_exp-fma.c: Likewise.
34418 * sysdeps/x86_64/fpu/multiarch/e_log-fma.c: Likewise.
34419 * sysdeps/x86_64/fpu/multiarch/e_pow-fma.c: Likewise.
34420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma.c: Likewise.
34421 * sysdeps/x86_64/fpu/multiarch/ifunc-avx-fma4.h: Likewise.
34422 * sysdeps/x86_64/fpu/multiarch/ifunc-fma4.h: Likewise.
34423 * sysdeps/x86_64/fpu/multiarch/mpa-fma.c: Likewise.
34424 * sysdeps/x86_64/fpu/multiarch/mpatan-fma.c: Likewise.
34425 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma.c: Likewise.
34426 * sysdeps/x86_64/fpu/multiarch/mpexp-fma.c: Likewise.
34427 * sysdeps/x86_64/fpu/multiarch/mplog-fma.c: Likewise.
34428 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma.c: Likewise.
34429 * sysdeps/x86_64/fpu/multiarch/mptan-fma.c: Likewise.
34430 * sysdeps/x86_64/fpu/multiarch/s_atan-fma.c: Likewise.
34431 * sysdeps/x86_64/fpu/multiarch/s_sin-fma.c: Likewise.
34432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma.c: Likewise.
34433 * sysdeps/x86_64/fpu/multiarch/sincos32-fma.c: Likewise.
34434 * sysdeps/x86_64/fpu/multiarch/slowexp-fma.c: Likewise.
34435 * sysdeps/x86_64/fpu/multiarch/slowpow-fma.c: Likewise.
34436 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Rewrite.
34437 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
34438 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
34439 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
34440 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
34441 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
34442 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
34443 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
34445 2017-08-04 Joseph Myers <joseph@codesourcery.com>
34447 * sysdeps/generic/math_private.h (__EXPR_FLT128): Remove macro.
34448 (min_of_type_f): New macro.
34449 (min_of_type_): Likewise.
34450 (min_of_type_l): Likewise.
34451 (min_of_type_f128): Likewise.
34452 (min_of_type): Define using __MATH_TG and taking an expression
34454 (math_check_force_underflow): Pass expression instead of type to
34456 (math_check_force_underflow_nonneg): Likewise.
34458 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34460 * sysdeps/x86/cpu-features.h [__ASSEMBLER__]
34461 (LOAD_RTLD_GLOBAL_RO_RDX, HAS_FEATURE, LOAD_FUNC_GOT_EAX,
34462 HAS_CPU_FEATURE, HAS_ARCH_FEATURE): Removed.
34464 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34466 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
34467 bcopy-ia32, bzero-ia32, rawmemchr-ia32 memchr-ia32,
34468 memcmp-ia32, memcpy-ia32, memmove-ia32, mempcpy-ia32,
34469 memset-ia32, strcat-ia32, strchr-ia32, strrchr-ia32,
34470 strcpy-ia32, strcmp-ia32, strcspn-ia32, strpbrk-ia32,
34471 strspn-ia32, strlen-ia32, stpcpy-ia32, stpncpy-ia32,
34472 memcpy_chk-nonshared, mempcpy_chk-nonshared,
34473 memmove_chk-nonshared and memset_chk-nonshared
34474 * sysdeps/i386/i686/multiarch/bcopy-ia32.S: New file.
34475 * sysdeps/i386/i686/multiarch/bcopy.c: Likewise.
34476 * sysdeps/i386/i686/multiarch/bzero-ia32.S: Likewise.
34477 * sysdeps/i386/i686/multiarch/bzero.c: Likewise.
34478 * sysdeps/i386/i686/multiarch/ifunc-memmove.h: Likewise.
34479 * sysdeps/i386/i686/multiarch/ifunc-memset.h: Likewise.
34480 * sysdeps/i386/i686/multiarch/ifunc-sse2-bsf.h: Likewise.
34481 * sysdeps/i386/i686/multiarch/ifunc-sse2-ssse3.h: Likewise.
34482 * sysdeps/i386/i686/multiarch/ifunc-sse2.h: Likewise.
34483 * sysdeps/i386/i686/multiarch/ifunc-sse4_2.h: Likewise.
34484 * sysdeps/i386/i686/multiarch/ifunc-ssse3-sse4_2.h: Likewise.
34485 * sysdeps/i386/i686/multiarch/memchr-ia32.S: Likewise.
34486 * sysdeps/i386/i686/multiarch/memchr.c: Likewise.
34487 * sysdeps/i386/i686/multiarch/memcmp-ia32.S: Likewise.
34488 * sysdeps/i386/i686/multiarch/memcmp.c: Likewise.
34489 * sysdeps/i386/i686/multiarch/memcpy-ia32.S: Likewise.
34490 * sysdeps/i386/i686/multiarch/memcpy.c: Likewise.
34491 * sysdeps/i386/i686/multiarch/memcpy_chk-nonshared.S: Likewise.
34492 * sysdeps/i386/i686/multiarch/memcpy_chk.c: Likewise.
34493 * sysdeps/i386/i686/multiarch/memmove-ia32.S: Likewise.
34494 * sysdeps/i386/i686/multiarch/memmove.c: Likewise.
34495 * sysdeps/i386/i686/multiarch/memmove_chk-nonshared.S: Likewise.
34496 * sysdeps/i386/i686/multiarch/memmove_chk.c: Likewise.
34497 * sysdeps/i386/i686/multiarch/mempcpy-ia32.S: Likewise.
34498 * sysdeps/i386/i686/multiarch/mempcpy.c: Likewise.
34499 * sysdeps/i386/i686/multiarch/mempcpy_chk-nonshared.S: Likewise.
34500 * sysdeps/i386/i686/multiarch/mempcpy_chk.c: Likewise.
34501 * sysdeps/i386/i686/multiarch/memrchr.c: Likewise.
34502 * sysdeps/i386/i686/multiarch/memset-ia32.S: Likewise.
34503 * sysdeps/i386/i686/multiarch/memset.c: Likewise.
34504 * sysdeps/i386/i686/multiarch/memset_chk-nonshared.S: Likewise.
34505 * sysdeps/i386/i686/multiarch/rawmemchr-ia32.S: Likewise.
34506 * sysdeps/i386/i686/multiarch/rawmemchr.c: Likewise.
34507 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34508 * sysdeps/i386/i686/multiarch/stpcpy-ia32.S: Likewise.
34509 * sysdeps/i386/i686/multiarch/stpcpy.c: Likewise.
34510 * sysdeps/i386/i686/multiarch/stpncpy-ia32.S: Likewise.
34511 * sysdeps/i386/i686/multiarch/stpncpy.c: Likewise.
34512 * sysdeps/i386/i686/multiarch/strcasecmp.c: Likewise.
34513 * sysdeps/i386/i686/multiarch/strcasecmp_l.c: Likewise.
34514 * sysdeps/i386/i686/multiarch/strcat-ia32.S: Likewise.
34515 * sysdeps/i386/i686/multiarch/strcat.c: Likewise.
34516 * sysdeps/i386/i686/multiarch/strchr-ia32.S: Likewise.
34517 * sysdeps/i386/i686/multiarch/strchr.c: Likewise.
34518 * sysdeps/i386/i686/multiarch/strcmp-ia32.S: Likewise.
34519 * sysdeps/i386/i686/multiarch/strcmp.c: Likewise.
34520 * sysdeps/i386/i686/multiarch/strcpy-ia32.S: Likewise.
34521 * sysdeps/i386/i686/multiarch/strcpy.c: Likewise.
34522 * sysdeps/i386/i686/multiarch/strcspn-ia32.S: Likewise.
34523 * sysdeps/i386/i686/multiarch/strcspn.c: Likewise.
34524 * sysdeps/i386/i686/multiarch/strlen-ia32.S: Likewise.
34525 * sysdeps/i386/i686/multiarch/strlen.c: Likewise.
34526 * sysdeps/i386/i686/multiarch/strncase.c: Likewise.
34527 * sysdeps/i386/i686/multiarch/strncase_l.c: Likewise.
34528 * sysdeps/i386/i686/multiarch/strncat.c: Likewise.
34529 * sysdeps/i386/i686/multiarch/strncmp.c: Likewise.
34530 * sysdeps/i386/i686/multiarch/strncpy.c: Likewise.
34531 * sysdeps/i386/i686/multiarch/strnlen.c: Likewise.
34532 * sysdeps/i386/i686/multiarch/strpbrk-ia32.S: Likewise.
34533 * sysdeps/i386/i686/multiarch/strpbrk.c: Likewise.
34534 * sysdeps/i386/i686/multiarch/strrchr-ia32.S: Likewise.
34535 * sysdeps/i386/i686/multiarch/strrchr.c: Likewise.
34536 * sysdeps/i386/i686/multiarch/strspn-ia32.S: Likewise.
34537 * sysdeps/i386/i686/multiarch/strspn.c: Likewise.
34538 * sysdeps/i386/i686/multiarch/wcschr.c: Likewise.
34539 * sysdeps/i386/i686/multiarch/wcscmp.c: Likewise.
34540 * sysdeps/i386/i686/multiarch/wcscpy.c: Likewise.
34541 * sysdeps/i386/i686/multiarch/wcslen.c: Likewise.
34542 * sysdeps/i386/i686/multiarch/wcsrchr.c: Likewise.
34543 * sysdeps/i386/i686/multiarch/wmemcmp.c: Likewise.
34544 * sysdeps/i386/i686/multiarch/bcopy.S: Removed.
34545 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34546 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34547 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34548 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34549 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34550 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34551 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34552 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34553 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34554 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34555 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34556 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34557 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34558 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34559 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34560 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34561 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34562 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34563 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34564 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34565 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34566 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34567 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34568 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34569 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34570 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34571 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34572 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34573 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34574 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34575 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34576 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34577 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34578 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34579 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34580 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34581 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34583 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34585 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines)
34586 Add svml_d_cos2_core-sse2, svml_d_cos4_core-sse,
34587 svml_d_cos8_core-avx2, svml_d_exp2_core-sse2,
34588 svml_d_exp4_core-sse, svml_d_exp8_core-avx2,
34589 svml_d_log2_core-sse2, svml_d_log4_core-sse,
34590 svml_d_log8_core-avx2, svml_d_pow2_core-sse2,
34591 svml_d_pow4_core-sse, svml_d_pow8_core-avx2
34592 svml_d_sin2_core-sse2, svml_d_sin4_core-sse,
34593 svml_d_sin8_core-avx2, svml_d_sincos2_core-sse2,
34594 svml_d_sincos4_core-sse, svml_d_sincos8_core-avx2,
34595 svml_s_cosf16_core-avx2, svml_s_cosf4_core-sse2,
34596 svml_s_cosf8_core-sse, svml_s_expf16_core-avx2,
34597 svml_s_expf4_core-sse2, svml_s_expf8_core-sse,
34598 svml_s_logf16_core-avx2, svml_s_logf4_core-sse2,
34599 svml_s_logf8_core-sse, svml_s_powf16_core-avx2,
34600 svml_s_powf4_core-sse2, svml_s_powf8_core-sse,
34601 svml_s_sincosf16_core-avx2, svml_s_sincosf4_core-sse2,
34602 svml_s_sincosf8_core-sse, svml_s_sinf16_core-avx2,
34603 svml_s_sinf4_core-sse2 and svml_s_sinf8_core-sse.
34604 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx2.h: New file.
34605 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-avx512.h: Likewise.
34606 * sysdeps/x86_64/fpu/multiarch/ifunc-mathvec-sse4_1.h: Likewise.
34607 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.c: Likewise.
34608 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.c: Likewise.
34609 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.c: Likewise.
34610 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.c: Likewise.
34611 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.c: Likewise.
34612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.c: Likewise.
34613 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.c: Likewise.
34614 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.c: Likewise.
34615 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.c: Likewise.
34616 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.c: Likewise.
34617 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.c: Likewise.
34618 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.c: Likewise.
34619 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.c: Likewise.
34620 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.c: Likewise.
34621 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.c: Likewise.
34622 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.c: Likewise.
34623 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.c: Likewise.
34624 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.c: Likewise.
34625 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.c: Likewise.
34626 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.c: Likewise.
34627 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.c: Likewise.
34628 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.c: Likewise.
34629 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.c: Likewise.
34630 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.c: Likewise.
34631 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.c: Likewise.
34632 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.c: Likewise.
34633 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.c: Likewise.
34634 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.c: Likewise.
34635 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.c: Likewise.
34636 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.c: Likewise.
34637 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.c: Likewise.
34638 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.c: Likewise.
34639 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.c: Likewise.
34640 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.c: Likewise.
34641 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.c: Likewise.
34642 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.c: Likewise.
34643 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Renamed to
34645 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core-sse2.S: This.
34646 Don't include <sysdep.h> nor <init-arch.h>.
34647 (_ZGVbN2v_cos): Removed.
34648 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Renamed to
34650 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core-sse.S: This.
34651 Don't include <sysdep.h> nor <init-arch.h>.
34652 (_ZGVdN4v_cos): Removed.
34653 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Renamed to
34655 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core-avx2.S: This.
34656 Don't include <sysdep.h> nor <init-arch.h>.
34657 (_ZGVeN8v_cos): Removed.
34658 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Renamed to
34660 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core-sse2.S: This.
34661 Don't include <sysdep.h> nor <init-arch.h>.
34662 (_ZGVbN2v_exp): Removed.
34663 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Renamed to
34665 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core-sse.S: This.
34666 Don't include <sysdep.h> nor <init-arch.h>.
34667 (_ZGVdN4v_exp): Removed.
34668 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Renamed to
34670 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core-avx2.S: This.
34671 Don't include <sysdep.h> nor <init-arch.h>.
34672 (_ZGVeN8v_exp): Removed.
34673 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Renamed to
34675 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core-sse2.S: This.
34676 Don't include <sysdep.h> nor <init-arch.h>.
34677 (_ZGVbN2v_log): Removed.
34678 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Renamed to
34680 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core-sse.S: This.
34681 Don't include <sysdep.h> nor <init-arch.h>.
34682 (_ZGVdN4v_log): Removed.
34683 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Renamed to
34685 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core-avx2.S: This.
34686 Don't include <sysdep.h> nor <init-arch.h>.
34687 (_ZGVeN8v_log): Removed.
34688 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Renamed to
34690 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core-sse2.S: This.
34691 Don't include <sysdep.h> nor <init-arch.h>.
34692 (_ZGVbN2vv_pow): Removed.
34693 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Renamed to
34695 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core-sse.S: This.
34696 Don't include <sysdep.h> nor <init-arch.h>.
34697 (_ZGVdN4vv_pow): Removed.
34698 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Renamed to
34700 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core-avx2.S: This.
34701 Don't include <sysdep.h> nor <init-arch.h>.
34702 (_ZGVeN8vv_pow): Removed.
34703 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Renamed to
34705 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core-sse2.S: This.
34706 Don't include <sysdep.h> nor <init-arch.h>.
34707 (_ZGVbN2v_sin): Removed.
34708 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Renamed to
34710 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core-sse.S: This.
34711 Don't include <sysdep.h> nor <init-arch.h>.
34712 (_ZGVbN4v_sin): Removed.
34713 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Renamed to
34715 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core-avx2.S: This.
34716 Don't include <sysdep.h> nor <init-arch.h>.
34717 (_ZGVbN8v_sin): Removed.
34718 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Renamed to
34720 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core-sse2.S: This.
34721 Don't include <sysdep.h> nor <init-arch.h>.
34722 (_ZGVbN2vvv_sincos): Removed.
34723 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Renamed to
34725 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core-sse.S: This.
34726 Don't include <sysdep.h> nor <init-arch.h>.
34727 (_ZGVdN4vvv_sincos): Removed.
34728 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Renamed to
34730 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core-avx2.S: This.
34731 Don't include <sysdep.h> nor <init-arch.h>.
34732 (_ZGVeN8vvv_sincos): Removed.
34733 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core.S: Renamed to
34735 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf16_core-avx2.S: This.
34736 Don't include <sysdep.h> nor <init-arch.h>.
34737 (_ZGVeN16v_cosf): Removed.
34738 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core.S: Renamed to
34740 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf4_core-sse2.S: This.
34741 Don't include <sysdep.h> nor <init-arch.h>.
34742 (_ZGVbN4v_cosf): Removed.
34743 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core.S: Renamed to
34745 * sysdeps/x86_64/fpu/multiarch/svml_d_cosf8_core-sse.S: This.
34746 Don't include <sysdep.h> nor <init-arch.h>.
34747 (_ZGVdN8v_cosf): Removed.
34748 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core.S: Renamed to
34750 * sysdeps/x86_64/fpu/multiarch/svml_d_expf16_core-avx2.S: This.
34751 Don't include <sysdep.h> nor <init-arch.h>.
34752 (_ZGVeN16v_expf): Removed.
34753 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core.S: Renamed to
34755 * sysdeps/x86_64/fpu/multiarch/svml_d_expf4_core-sse2.S: This.
34756 Don't include <sysdep.h> nor <init-arch.h>.
34757 (_ZGVbN4v_expf): Removed.
34758 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core.S: Renamed to
34760 * sysdeps/x86_64/fpu/multiarch/svml_d_expf8_core-sse.S: This.
34761 Don't include <sysdep.h> nor <init-arch.h>.
34762 (_ZGVdN8v_expf): Removed.
34763 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core.S: Renamed to
34765 * sysdeps/x86_64/fpu/multiarch/svml_d_logf16_core-avx2.S: This.
34766 Don't include <sysdep.h> nor <init-arch.h>.
34767 (_ZGVeN16v_logf): Removed.
34768 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core.S: Renamed to
34770 * sysdeps/x86_64/fpu/multiarch/svml_d_logf4_core-sse2.S: This.
34771 Don't include <sysdep.h> nor <init-arch.h>.
34772 (_ZGVbN4v_logf): Removed.
34773 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core.S: Renamed to
34775 * sysdeps/x86_64/fpu/multiarch/svml_d_logf8_core-sse.S: This.
34776 Don't include <sysdep.h> nor <init-arch.h>.
34777 (_ZGVdN8v_logf): Removed.
34778 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core.S: Renamed to
34780 * sysdeps/x86_64/fpu/multiarch/svml_d_powf16_core-avx2.S: This.
34781 Don't include <sysdep.h> nor <init-arch.h>.
34782 (_ZGVeN16vv_powf): Removed.
34783 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core.S: Renamed to
34785 * sysdeps/x86_64/fpu/multiarch/svml_d_powf4_core-sse2.S: This.
34786 Don't include <sysdep.h> nor <init-arch.h>.
34787 (_ZGVbN4vv_powf): Removed.
34788 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core.S: Renamed to
34790 * sysdeps/x86_64/fpu/multiarch/svml_d_powf8_core-sse.S: This.
34791 Don't include <sysdep.h> nor <init-arch.h>.
34792 (_ZGVdN8vv_powf): Removed.
34793 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core.S: Renamed to
34795 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf16_core-avx2.S: This.
34796 Don't include <sysdep.h> nor <init-arch.h>.
34797 (_ZGVeN16vvv_sincosf): Removed.
34798 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core.S: Renamed to
34800 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf4_core-sse2.S: This.
34801 Don't include <sysdep.h> nor <init-arch.h>.
34802 (_ZGVbN4vvv_sincosf): Removed.
34803 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core.S: Renamed to
34805 * sysdeps/x86_64/fpu/multiarch/svml_d_sincosf8_core-sse.S: This.
34806 Don't include <sysdep.h> nor <init-arch.h>.
34807 (_ZGVdN8vvv_sincosf): Removed.
34808 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core.S: Renamed to
34810 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf16_core-avx2.S: This.
34811 Don't include <sysdep.h> nor <init-arch.h>.
34812 (_ZGVeN16v_sinf): Removed.
34813 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core.S: Renamed to
34815 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf4_core-sse2.S: This.
34816 Don't include <sysdep.h> nor <init-arch.h>.
34817 (_ZGVbN4v_sinf): Removed.
34818 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core.S: Renamed to
34820 * sysdeps/x86_64/fpu/multiarch/svml_d_sinf8_core-sse.S: This.
34821 Don't include <sysdep.h> nor <init-arch.h>.
34822 (_ZGVdN8v_sinf): Removed.
34824 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34826 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34827 Add s_ceil-sse4_1, s_ceilf-sse4_1, s_floor-sse4_1,
34828 s_floorf-sse4_1, s_nearbyint-sse4_1, s_nearbyintf-sse4_1,
34829 s_rint-sse4_1 and s_rintf-sse4_1.
34830 * sysdeps/x86_64/fpu/multiarch/ifunc-sse4_1.h: New file.
34831 * sysdeps/x86_64/fpu/multiarch/s_ceil.c: Likewise.
34832 * sysdeps/x86_64/fpu/multiarch/s_ceilf.c: Likewise.
34833 * sysdeps/x86_64/fpu/multiarch/s_floor.c: Likewise.
34834 * sysdeps/x86_64/fpu/multiarch/s_floorf.c: Likewise.
34835 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.c: Likewise.
34836 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.c: Likewise.
34837 * sysdeps/x86_64/fpu/multiarch/s_rint.c: Likewise.
34838 * sysdeps/x86_64/fpu/multiarch/s_rintf.c: Likewise.
34839 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Renamed to ...
34840 * sysdeps/x86_64/fpu/multiarch/s_ceil-sse4_1.S: This. Don't
34841 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34843 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Renamed to ...
34844 * sysdeps/x86_64/fpu/multiarch/s_ceilf-sse4_1.S: This. Don't
34845 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34846 (__ceilf): Removed.
34847 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Renamed to ...
34848 * sysdeps/x86_64/fpu/multiarch/s_floor-sse4_1.S: This. Don't
34849 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34850 (__floor): Removed.
34851 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Renamed to ...
34852 * sysdeps/x86_64/fpu/multiarch/s_floorf-sse4_1.S: This. Don't
34853 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34854 (__floorf): Removed.
34855 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: Renamed to ...
34856 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-sse4_1.S: This. Don't
34857 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34858 (__nearbyint): Removed.
34859 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Renamed to ...
34860 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-sse4_1.S: This. Don't
34861 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34862 (__nearbyintf): Removed.
34863 * sysdeps/x86_64/fpu/multiarch/s_rint.S: Renamed to ...
34864 * sysdeps/x86_64/fpu/multiarch/s_rint-sse4_1.S: This. Don't
34865 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34867 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Renamed to ...
34868 * sysdeps/x86_64/fpu/multiarch/s_rintf-sse4_1.S: This. Don't
34869 include <machine/asm.h> nor <init-arch.h>. Include <sysdep.h>.
34870 (__rintf): Removed.
34872 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34874 * sysdeps/i386/start.S (_start): Check Check PIC instead of
34875 SHARED. Avoid dynamic relocation against main in static PIE.
34877 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34880 * elf/Makefile (CFLAGS-tst-prelink.c): New.
34881 (LDFLAGS-tst-prelink): Likewise.
34883 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34885 * sysdeps/unix/sysv/linux/i386/sysdep.h (I386_USE_SYSENTER):
34886 Define to I386_USE_SYSENTER to 0 or 1 if not defined.
34887 (ENTER_KERNEL): Check if I386_USE_SYSENTER is 1 and check PIC.
34888 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
34889 (INTERNAL_SYSCALL_NCS): Likewise.
34890 (LOADARGS_1): Likewise.
34891 (LOADARGS_5): Likewise.
34892 (RESTOREARGS_1): Likewise.
34893 (RESTOREARGS_5): Likewise.
34895 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34897 * sysdeps/x86_64/memmove.S (MEMCPY_SYMBOL): Don't check SHARED.
34898 (MEMPCPY_SYMBOL): Likewise.
34899 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
34900 (__libc_ifunc_impl_list): Test memcpy and mempcpy in libc.a.
34901 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Also include
34903 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34904 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
34906 * sysdeps/x86_64/multiarch/memcpy.c: Also include in libc.a.
34907 (__hidden_ver1): Don't use in libc.a.
34908 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
34909 (__mempcpy): Don't create a weak alias in libc.a.
34910 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Support
34912 * sysdeps/x86_64/multiarch/mempcpy.c: Also include in libc.a.
34913 (__hidden_ver1): Don't use in libc.a.
34915 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34917 * config.make.in (have-insert): New.
34918 * configure.ac (libc_cv_insert): New. Set to yes if linker
34919 supports INSERT in linker script.
34920 (AC_SUBST(libc_cv_insert): New.
34921 * configure: Regenerated.
34922 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc only
34923 if $(have-insert) == yes.
34925 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34927 * elf/Makefile (tests): Add vismain only if
34928 $(have-protected-data) == yes.
34929 (tests-pie): Likewise.
34931 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34934 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
34935 bit_arch_Use_dl_runtime_resolve_opt only with AVX512F.
34937 2017-08-04 H.J. Lu <hongjiu.lu@intel.com>
34940 * sysdeps/i386/i586/memset.S
34941 (__memset_zero_constant_len_parameter): Removed.
34942 * sysdeps/i386/i686/memset.S
34943 (__memset_zero_constant_len_parameter): Likewise.
34944 * sysdeps/i386/i686/multiarch/memset_chk.S
34945 (__memset_zero_constant_len_parameter): Likewise.
34946 * sysdeps/x86_64/memset.S (__memset_zero_constant_len_parameter):
34949 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34951 * stdlib/getentropy.c (getentropy): Change return type to int.
34953 2017-08-03 Aurelien Jarno <aurelien@aurel32.net>
34955 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
34957 2017-08-03 Joseph Myers <joseph@codesourcery.com>
34959 * math/s_nextafter.c (__nextafter): Use uintN_t instead of
34961 * math/s_nexttowardf.c (__nexttowardf): Likewise.
34962 * sysdeps/generic/math_private.h (ieee_double_shape_type):
34964 (ieee_float_shape_type): Likewise.
34965 * sysdeps/i386/fpu/s_fpclassifyl.c (__fpclassifyl): Likewise.
34966 * sysdeps/i386/fpu/s_isnanl.c (__isnanl): Likewise.
34967 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
34968 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
34969 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
34970 * sysdeps/ieee754/dbl-64/e_acosh.c (__ieee754_acosh): Likewise.
34971 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Likewise.
34972 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
34973 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
34975 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
34976 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34977 (__ieee754_yn): Likewise.
34978 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
34979 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
34980 * sysdeps/ieee754/dbl-64/e_rem_pio2.c (__ieee754_rem_pio2):
34982 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
34983 * sysdeps/ieee754/dbl-64/s_ceil.c (__ceil): Likewise.
34984 * sysdeps/ieee754/dbl-64/s_copysign.c (__copysign): Likewise.
34985 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Likewise.
34986 (__erfc): Likewise.
34987 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
34988 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Likewise.
34989 * sysdeps/ieee754/dbl-64/s_floor.c (__floor): Likewise.
34990 * sysdeps/ieee754/dbl-64/s_fpclassify.c (__fpclassify): Likewise.
34991 * sysdeps/ieee754/dbl-64/s_isnan.c (__isnan): Likewise.
34992 * sysdeps/ieee754/dbl-64/s_issignaling.c (__issignaling):
34994 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
34995 * sysdeps/ieee754/dbl-64/s_llround.c (__llround): Likewise.
34996 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
34997 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Likewise.
34998 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
34999 * sysdeps/ieee754/dbl-64/s_nextup.c (__nextup): Likewise.
35000 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Likewise.
35001 * sysdeps/ieee754/dbl-64/s_round.c (__round): Likewise.
35002 * sysdeps/ieee754/dbl-64/s_trunc.c (__trunc): Likewise.
35003 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
35004 (__issignaling): Likewise.
35005 * sysdeps/ieee754/flt-32/e_atan2f.c (__ieee754_atan2f): Likewise.
35006 * sysdeps/ieee754/flt-32/e_fmodf.c (__ieee754_fmodf): Likewise.
35007 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
35009 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
35010 * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
35011 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Likewise.
35012 * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f):
35014 * sysdeps/ieee754/flt-32/e_remainderf.c (__ieee754_remainderf):
35016 * sysdeps/ieee754/flt-32/e_sqrtf.c (__ieee754_sqrtf): Likewise.
35017 * sysdeps/ieee754/flt-32/s_ceilf.c (__ceilf): Likewise.
35018 * sysdeps/ieee754/flt-32/s_copysignf.c (__copysignf): Likewise.
35019 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
35020 (__erfcf): Likewise.
35021 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
35022 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
35023 * sysdeps/ieee754/flt-32/s_floorf.c (__floorf): Likewise.
35024 * sysdeps/ieee754/flt-32/s_fpclassifyf.c (__fpclassifyf):
35026 * sysdeps/ieee754/flt-32/s_isnanf.c (__isnanf): Likewise.
35027 * sysdeps/ieee754/flt-32/s_issignalingf.c (__issignalingf):
35029 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
35030 * sysdeps/ieee754/flt-32/s_llroundf.c (__llroundf): Likewise.
35031 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
35032 * sysdeps/ieee754/flt-32/s_lroundf.c (__lroundf): Likewise.
35033 * sysdeps/ieee754/flt-32/s_modff.c (__modff): Likewise.
35034 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
35035 * sysdeps/ieee754/flt-32/s_roundf.c (__roundf): Likewise.
35036 * sysdeps/ieee754/ldbl-128/e_acoshl.c (__ieee754_acoshl):
35038 * sysdeps/ieee754/ldbl-128/e_atan2l.c (__ieee754_atan2l):
35040 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
35042 * sysdeps/ieee754/ldbl-128/e_fmodl.c (__ieee754_fmodl): Likewise.
35043 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
35045 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
35047 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
35048 (__ieee754_ynl): Likewise.
35049 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
35050 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (__ieee754_rem_pio2l):
35052 * sysdeps/ieee754/ldbl-128/e_remainderl.c (__ieee754_remainderl):
35054 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
35055 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Likewise.
35056 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
35058 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
35059 * sysdeps/ieee754/ldbl-128/s_ceill.c (__ceill): Likewise.
35060 * sysdeps/ieee754/ldbl-128/s_copysignl.c (__copysignl): Likewise.
35061 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Likewise.
35062 * sysdeps/ieee754/ldbl-128/s_fabsl.c (__fabsl): Likewise.
35063 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
35064 * sysdeps/ieee754/ldbl-128/s_floorl.c (__floorl): Likewise.
35065 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c (__fpclassifyl):
35067 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
35068 * sysdeps/ieee754/ldbl-128/s_isnanl.c (__isnanl): Likewise.
35069 * sysdeps/ieee754/ldbl-128/s_issignalingl.c (__issignalingl):
35071 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Likewise.
35072 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl): Likewise.
35073 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
35074 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
35075 * sysdeps/ieee754/ldbl-128/s_modfl.c (__modfl): Likewise.
35076 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
35078 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
35080 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
35082 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
35084 * sysdeps/ieee754/ldbl-128/s_nextupl.c (__nextupl): Likewise.
35085 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
35086 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
35087 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Likewise.
35088 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
35089 * sysdeps/ieee754/ldbl-128/s_truncl.c (__truncl): Likewise.
35090 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl):
35092 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
35094 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
35095 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
35097 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
35098 (__ieee754_remainderl): Likewise.
35099 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
35100 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
35101 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
35102 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
35104 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
35105 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
35107 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
35108 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Likewise.
35109 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
35110 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
35111 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
35112 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
35114 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
35115 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Likewise.
35116 (__ieee754_y0l): Likewise.
35119 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
35120 (__ieee754_y1l): Likewise.
35123 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
35124 (__ieee754_ynl): Likewise.
35125 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (sin_pi): Likewise.
35126 (__ieee754_lgammal_r): Likewise.
35127 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c (__ieee754_rem_pio2l):
35129 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
35130 * sysdeps/ieee754/ldbl-96/s_copysignl.c (__copysignl): Likewise.
35131 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
35132 (__erfcl): Likewise.
35133 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
35134 * sysdeps/ieee754/ldbl-96/s_issignalingl.c (__issignalingl):
35136 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Likewise.
35137 * sysdeps/ieee754/ldbl-96/s_llroundl.c (__llroundl): Likewise.
35138 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
35139 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Likewise.
35140 * sysdeps/ieee754/ldbl-96/s_modfl.c (__modfl): Likewise.
35141 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
35142 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
35144 * sysdeps/ieee754/ldbl-96/s_nextupl.c (__nextupl): Likewise.
35145 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
35146 * sysdeps/ieee754/ldbl-96/s_roundl.c (__roundl): Likewise.
35147 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Likewise.
35148 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
35150 * sysdeps/m68k/m680x0/fpu/e_pow.c (s(__ieee754_pow)): Likewise.
35151 * sysdeps/m68k/m680x0/fpu/s_fpclassifyl.c (__fpclassifyl):
35153 * sysdeps/m68k/m680x0/fpu/s_llrint.c (__llrint): Likewise.
35154 * sysdeps/m68k/m680x0/fpu/s_llrintf.c (__llrintf): Likewise.
35155 * sysdeps/m68k/m680x0/fpu/s_llrintl.c (__llrintl): Likewise.
35156 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
35157 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Likewise.
35159 2017-08-03 Florian Weimer <fweimer@redhat.com>
35162 * sysdeps/posix/getaddrinfo.c (gethosts): Release resolver context
35163 on memory allocation failure.
35165 2017-08-03 Alan Modra <amodra@gmail.com>
35167 * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
35168 tst-tlsopt-powerpc.c with function name change and no test harness.
35169 * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
35170 Call tls_get_addr_opt_test.
35171 * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
35172 (modules-names): Add mod-tlsopt-powerpc.
35173 (mod-tlsopt-powerpc.so-no-z-defs): Define.
35174 (tst-tlsopt-powerpc): Depend on .so.
35175 * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
35176 define. Expand use in TLS_GD and TLS_LD.
35178 2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
35180 * sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
35182 * sysdeps/posix/shm_open.c: Include <pthread.h>.
35184 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35187 * math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
35188 comparing size with that of double.
35189 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35190 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35191 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35192 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35193 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35194 * math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
35195 unsigned __int128 types.
35197 2017-08-02 Steve Ellcey <sellcey@cavium.com>
35199 * localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
35200 CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
35201 CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
35202 CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
35203 CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
35205 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35207 * sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
35209 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35211 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
35213 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
35214 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35215 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35217 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35218 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35219 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35221 2017-08-02 Joseph Myers <joseph@codesourcery.com>
35224 * math/tgmath.h (__tgmath_real_type): Use unary + on potentially
35225 bit-field expressions passed to sizeof or typeof.
35226 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35227 (__TGMATH_F128): Likewise.
35228 [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
35229 (__TGMATH_CF128): Likewise.
35230 (__TGMATH_UNARY_REAL_ONLY): Likewise.
35231 (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
35232 (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
35233 (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
35234 (__TGMATH_BINARY_REAL_ONLY): Likewise.
35235 (__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
35236 (__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
35237 (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
35238 (__TGMATH_TERNARY_REAL_ONLY): Likewise.
35239 (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
35240 (__TGMATH_UNARY_REAL_IMAG): Likewise.
35241 (__TGMATH_UNARY_IMAG): Likewise.
35242 (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
35243 (__TGMATH_BINARY_REAL_IMAG): Likewise.
35244 * math/gen-tgmath-tests.py (Type.init_types): Create bit_field
35246 (define_vars_for_type): Handle bit_field type specially.
35247 (Tests.__init__): Declare structure with bit-field element.
35249 2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
35252 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
35253 (MEMCPY_CHK): Define only if SHARED is defined.
35254 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
35256 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
35259 See ChangeLog.18 for earlier changes.